]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
New module to import and process benchmark output
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0994b9b6
SP
12015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/scripts/import_bench.py: New file.
4 * benchtests/scripts/validate_benchout.py: Import import_bench
5 instead of jsonschema.
6 (validate_bench): Remove function.
7 (main): Use import_bench.
8
2483fa85
SE
92015-06-01 Steve Ellcey <sellcey@imgtec.com>
10
11 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13
fd57d826
AZ
142015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15
16 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17
f2175470
RM
182015-05-28 Roland McGrath <roland@hack.frob.com>
19
3ed01512
RM
20 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21 set THREAD_SELF->tid to a magic value and futex-wake it.
22 Pass its address to the thread_exit system call.
23 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
24 bit is clear.
25 * sysdeps/nacl/lowlevellock.h: New file.
26 * sysdeps/nacl/lll_timedwait_tid.c: New file.
27
f2175470
RM
28 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29 Add TIMEOUT to current time, don't subtract it.
30
58007e9e
L
312015-05-28 H.J. Lu <hongjiu.lu@intel.com>
32
33 [BZ #18422]
34 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35 ($(objpfx)tst-audit2.out): Also depend on
36 $(objpfx)tst-auditmod9b.so.
37 * elf/tst-audit2.c: Include <dlfcn.h>.
38 (calloc_called): New.
39 (calloc): Allow to be called more than once.
40 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
41
be2e25bb
WD
422015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
43
44 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
45 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
46
d28311a1
MM
472015-05-27 Marko Myllynen <myllynen@redhat.com>
48
49 * stdlib/monetary.h: Fix comment.
50
18270599
CM
512015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
52
53 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
54 Avoid using variables in #defines that might cause shadowing.
55 (INTERNAL_VSYSCALL_CALL): Likewise.
56
68c97aef
RM
572015-05-26 Roland McGrath <roland@hack.frob.com>
58
1f3a37b1
RM
59 * sysdeps/nacl/lll_timedlock_wait.c: New file.
60
68c97aef
RM
61 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
62 * nptl/lll_timedlock_wait.c: ... to this new file.
63 * nptl/Makefile (libpthread-routines): Add it.
64 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
65 * nptl/lll_timedwait_tid.c: ... to this new file.
66 * nptl/Makefile (libpthread-routines): Add it.
67 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
68 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
69 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
70 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
71 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
72 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
73 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
74 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
75 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
76 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
77
97554e43
AZ
782015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
79
80 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
81 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
82 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
83 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
84 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
85 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
87 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
89 * sysdeps/unix/sysv/linux/tile/sysdep.h
90 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
91 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
92 using vDSO syscall macro.
93
6afb9c01
AR
942015-05-26 Andriy Rysin <arysin@gmail.com>
95
96 [BZ #17293]
97 * uk_UA: Fix sorting order for Ukrainian locale
98
f09b8615
SP
992015-05-26 Marko Myllynen <myllynen@redhat.com>
100
101 * stdlib/monetary.h: Fix comment.
102
a06b40cd
SN
1032015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
104
105 [BZ #18234]
106 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
107 st_mtim and st_ctim members.
108 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
109 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
110 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
111 (struct stat64): Likewise.
112 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
113 (struct stat64): Likewise.
114 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
115 (struct stat64): Likewise.
116
f534255e
AZ
1172015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
118
119 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
120 Define and include sysdep-vdso.h.
121 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
122 Likewise.
123 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
124 Likewise.
125 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
126 Define with VDSO_SYMBOL and use PTR_MANGLE.
127 (__vdso_clock_gettime): Likewise.
128 (__vdso_clock_getres): Likewise.
129 (_libc_vdso_platform_setup): Likewise.
130 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
131 Likewise.
132 (_libc_vdso_platform_setup): Likewise.
133 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
134 Likewise.
135 (__vdso_clock_gettime): Likewise.
136 (__vdso_clock_getres): Likewise.
137 (__vdso_get_tbfreq): Likewise.
138 (__vdso_getcpu): Likewise.
139 (__vdso_time): Likewise.
140 (__vdso_sigtramp_rt64): Likewise.
141 (__vdso_signtramp32): Likewise.
142 (__vdso_sigtramp_rt32): Likewise.
143 (_libc_vdso_platform_setup): Likewise.
144 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
145 Likewise.
146 (__vdso_clock_gettime): Likewise.
147 (__vdso_clock_getres): Likewise.
148 (_libc_vdso_platform_setup): Likewise.
149 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
150 Likewise.
151 (__vdso_clock_gettime): Likewise.
152 (_libc_vdso_platform_setup): Likewise.
153 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
154 Likewise.
155 (__vdso_getcpu): Likewise.
156 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
157 Use VDSO_SYMBOL macro to define.
158 (__vdso_clock_gettime): Likewise.
159 (__vdso_clock_getres): Likewise.
160 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
161 Likewise.
162 (__vdso_clock_gettime): Likewise.
163 (__vdso_clock_getres): Likewise.
164 (__vdso_get_tbfreq): Likewise.
165 (__vdso_getcpu): Likewise.
166 (__vdso_time): Likewise.
167 (__vdso_sigtramp_rt64): Likewise.
168 (__vdso_signtramp32): Likewise.
169 (__vdso_sigtramp_rt32): Likewise.
170 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
171 Likewise.
172 (__vdso_clock_gettime): Likewise.
173 (__vdso_clock_getres): Likewise.
174 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
175 Likewise.
176 (__vdso_clock_gettime): Likewise.
177 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
178 Likewise.
179 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
180 macro.
181 (INTERNAL_VSYSCALL): Likewise.
182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
183 Remove macro.
184 (INTERNAL_VSYSCALL): Likewise.
185 (INTERNAL_VSYSCALL_NCS): Likewise.
186 (INTERNAL_VSYSCALL_CALL): New macro.
187 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
188 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
189 Likewise.
190 (INTERNAL_VSYSCALL): Likewise.
191 (INTERNAL_VSYSCALL_NCS): Likewise.
192 (INTERNAL_VSYSCALL_CALL): New macro.
193 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
195 (INLINE_VSYSCALL): Remove macro.
196 (INTERNAL_VSYSCALL): Remove macro.
197 (INTERNAL_VSYSCALL_NCS): Remove macro.
198 (INTERNAL_VSYSCALL_CALL): New macro.
199 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
200 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
201 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
202 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
203 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
205 (INLINE_VSYSCALL): Remove macro.
206 (INTERNAL_VSYSCALL): Likewise.
207 (INTERNAL_VSYSCALL_NCS): Likewise.
208 (INTERNAL_VSYSCALL_CALL): New macro.
209 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
210 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
211 PTR_DEMANGLE on vDSO pointer.
212 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
213 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
214 macro.
215 (INTERNAL_SYSCALL): Likewise.
216 (INTERNAL_VSYSCALL_NCS): Remove macro.
217 (INTERNAL_VSYSCALL_CALL): New macro.
218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
219 Remove macro.
220 (INTERNAL_VSYSCALL): Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
222 sysdep-vdso.h instead of libc-vdso.h.
223 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
224 definition.
225 (INLINE_VSYSCALL): Likewise.
226 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
227 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
228 definition.
229 (INLINE_VSYSCALL): Likewise.
230 (INTERNAL_VSYSCALL): Likewise.
231 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
232 * sysdeps/unix/sysv/linux/timespec_get.c
233 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
234 (timespec_get): Use ANSI prototype.
235 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
236 and definition for Linux.
237
829a679f
AS
2382015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
239
240 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
241 * include/libc-symbols.h: libmvec_hidden_* macro series added.
242
3e058c9d
L
2432015-05-22 H.J. Lu <hongjiu.lu@intel.com>
244
245 [BZ #18410]
246 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
247 for missing DT_PLTRELSZ.
248
333e1ba4
PE
2492015-05-22 Paul Eggert <eggert@cs.ucla.edu>
250
251 Remove obsolete aliases that broke 'locale -a'
252 [BZ #18412]
253 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
254 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
255 breaking some applications that use 'locale -a' output.
256 Change the encoding of this file from Latin-1 to ASCII to avoid
257 other potential problems with people grepping this file.
258
60dce8b9
AZ
2592015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
260
261 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
262 -fasynchronous-unwind-tables.
263 (CFLAGS-sendto.c): Likewise.
264 (CFLAGS-sendmsg.c): Likewise.
265 (CFLAGS-connect.c): Likewise.
266 (CFLAGS-recvmsg.c): Likewise.
267 (CFLAGS-recvfrom.c): Likewise.
268 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
269 (SOCKETCALL): New macro: non-cancellable socketcall.
270 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
271 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
272 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
273 * sysdeps/unix/sysv/linux/accept.c: New file.
274 * sysdeps/unix/sysv/linux/bind.c: Likewise.
275 * sysdeps/unix/sysv/linux/connect.c: Likewise.
276 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
277 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
278 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
279 * sysdeps/unix/sysv/linux/listen.c: Likewise.
280 * sysdeps/unix/sysv/linux/recv.c: Likewise.
281 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
282 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
283 * sysdeps/unix/sysv/linux/send.c: Likewise.
284 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
285 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
286 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
287 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
288 * sysdeps/unix/sysv/linux/socket.c: Likewise.
289 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
290 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
291 prototype.
292 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
293 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
294 instead of __internal_xxx function.
295 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
296 prototype.
297 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
298 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
299 instead of __internal_xxx function.
300 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
301 prototype.
302 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
303 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
304 instead of __internal_xxx function.
305 * sysdeps/unix/sysv/linux/accept.S: Remove file.
306 * sysdeps/unix/sysv/linux/bind.S: Likewise.
307 * sysdeps/unix/sysv/linux/connect.S: Likewise.
308 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
309 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
310 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
311 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
312 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
313 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
314 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
315 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
316 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
317 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
318 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
319 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
320 * sysdeps/unix/sysv/linux/listen.S: Likewise.
321 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
322 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
323 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
324 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
327 * sysdeps/unix/sysv/linux/recv.S: Likewise.
328 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
329 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
330 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
331 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
332 * sysdeps/unix/sysv/linux/send.S: Likewise.
333 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
334 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
335 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
336 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
337 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
338 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
339 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
341 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
342 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
343 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
344 socketcall is implemented in GLIBC.
345
fded7ed6
JM
3462015-05-22 Joseph Myers <joseph@codesourcery.com>
347
dc6b5aed
JM
348 * soft-fp/fmadf4.c: Include <libc-internal.h>.
349 (__fma): Ignore uninitialized warnings around packing.
350 * soft-fp/fmasf4.c: Include <libc-internal.h>.
351 (__fmaf): Ignore uninitialized warnings around packing.
352 * soft-fp/fmatf4.c: Include <libc-internal.h>.
353 (__fmal): Ignore uninitialized warnings around packing.
354
0c3717e7
JM
355 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
356 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
357 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
358 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
359
31a8780d
JM
360 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
361 switch statement into default case.
362 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
363
fded7ed6
JM
364 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
365 a conditional in forcing "inexact".
366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
367 Likewise.
368
992328e5
RM
3692015-05-22 Roland McGrath <roland@hack.frob.com>
370
371 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
372 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
373 for each INTERNAL_SYSCALL use.
374
cf06a4e3
JM
3752015-05-22 Joseph Myers <joseph@codesourcery.com>
376
4e5f9259
JM
377 [BZ #438]
378 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
379 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
380 variable.
381
cf06a4e3
JM
382 [BZ #18444]
383 * string/basename.c (basename): Rename to __basename and define as
384 weak alias of __basename. Use libc_hidden_weak.
385 * include/string.h (__basename): Declare. Use libc_hidden_proto.
386 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
387 __basename instead of basename.
388 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
389 Remove variable.
390 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
391
e69dcccb
FW
3922015-05-18 Florian Weimer <fweimer@redhat.com>
393
394 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
395 (_IO_JUMPS_FILE_plus): New.
396 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
397 _IO_CAST_FIELD_ACCESS.
398 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
399 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
400 * libio/freopen.c (freopen): Likewise.
401 * libio/freopen64.c (freopen64): Likewise.
402 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
403 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
404 * libio/iofwide.c (_IO_fwide): Likewise.
405 * libio/memstream.c (open_memstream): Likewise.
406 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
407 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
408 * libio/oldiopopen.c (_IO_old_popen): Likewise.
409
9d12d765
JM
4102015-05-21 Joseph Myers <joseph@codesourcery.com>
411
9124ccf7
JM
412 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
413 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
414 NADJ.
415 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
416 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
417 NADJ.
418 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
419 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
420 NADJ.
421
89f3b6e1
JM
422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
423 (p == 4) case.
424
9d12d765
JM
425 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
426 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
427 Remove variable.
428 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
429 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
430 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
431
0f87de79
FW
4322015-05-21 Florian Weimer <fweimer@redhat.com>
433
434 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
435 Adjust jump table label generation macros.
436
f8194fa6
FW
4372015-05-21 Florian Weimer <fweimer@redhat.com>
438
439 * stdio-common/vfprintf.c (vfprintf): Move local variables
440 args_malloced, specs, specs_malloced, and the code after
441 do_positional to the printf_positional function.
442 (printf_positional): New function.
443
f0f98189
FW
4442015-05-21 Florian Weimer <fweimer@redhat.com>
445
446 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
447 function.
448 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
449 STEP4_TABLE, process_arg): Move macro definitions
450 out of the vfprintf function. (Cosmetic change only.)
451
608f8971
CD
4522015-05-21 Carlos O'Donell <carlos@redhat.com>
453
454 * benchtests/Makefile (stdio-common-bench): Define.
455 (benchset): Add stdio-common-bench.
456 * sprintf-inputs: New file.
457 * sprintf-source.c: New file.
458
2212c142
AS
4592015-05-21 Andreas Schwab <schwab@suse.de>
460
461 [BZ #13028]
462 [BZ #17053]
463 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
464 of struct __res_state.
465 * resolv/res_send.c (__libc_res_nsend): Likewise.
466 (get_nsaddr): New function.
467 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
468 statp directly.
469
be8b8f17
JM
4702015-05-20 Joseph Myers <joseph@codesourcery.com>
471
f5857378
JM
472 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
473 -D_POSIX_C_SOURCE=199506L.
474
38d3d5b7
JM
475 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
476
be8b8f17
JM
477 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
478 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
479 Do not mention otherwise.
480 [POSIX] (_XOPEN_VERSION): Do not expect.
481 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
482 [POSIX] (_POSIX2_C_BIND): Likewise.
483 [POSIX] (_POSIX2_VERSION): Likewise.
484 [POSIX] (_XOPEN_XPG2): Likewise.
485 [POSIX] (_XOPEN_XPG3): Likewise.
486 [POSIX] (_XOPEN_XPG4): Likewise.
487 [POSIX] (_XOPEN_UNIX): Likewise.
488 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
489 [POSIX] (_POSIX_BARRIERS): Likewise.
490 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
491 [POSIX] (_POSIX_CPUTIME): Likewise.
492 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
493 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
494 [POSIX] (_POSIX_SHELL): Likewise.
495 [POSIX] (_POSIX_SPAWN): Likewise.
496 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
497 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
498 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
499 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
500 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
501 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
502 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
503 [POSIX] (_XBS5_LP64_OFF64): Likewise.
504 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
505 [POSIX] (_POSIX_TIMEOUTS): Likewise.
506 [POSIX] (_POSIX2_PBS): Likewise.
507 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
508 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
509 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
510 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
511 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
512 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
513 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
514 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
515 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
516 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
517 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
518 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
519 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
520 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
521 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
522 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
523 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
524 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
525 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
526 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
527 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
528 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
529 [POSIX] (_SC_2_C_BIND): Likewise.
530 [POSIX] (_SC_2_C_VERSION): Likewise.
531 [POSIX] (_SC_2_PBS): Likewise.
532 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
533 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
534 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
535 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
536 [POSIX] (_SC_2_PBS_TRACK): Likewise.
537 [POSIX] (_SC_ATEXIT_MAX): Likewise.
538 [POSIX] (_SC_BARRIERS): Likewise.
539 [POSIX] (_SC_BASE): Likewise.
540 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
541 [POSIX] (_SC_DEVICE_IO): Likewise.
542 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
543 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
544 [POSIX] (_SC_FD_MGMT): Likewise.
545 [POSIX] (_SC_FIFO): Likewise.
546 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
547 [POSIX] (_SC_FILE_LOCKING): Likewise.
548 [POSIX] (_SC_FILE_SYSTEM): Likewise.
549 [POSIX] (_SC_IOV_MAX): Likewise.
550 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
551 [POSIX] (_SC_NETWORKING): Likewise.
552 [POSIX] (_SC_PAGE_SIZE): Likewise.
553 [POSIX] (_SC_PASS_MAX): Likewise.
554 [POSIX] (_SC_PIPE): Likewise.
555 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
556 [POSIX] (_SC_REGEXP): Likewise.
557 [POSIX] (_SC_SHELL): Likewise.
558 [POSIX] (_SC_SIGNALS): Likewise.
559 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
560 [POSIX] (_SC_SPIN_LOCKS): Likewise.
561 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
562 [POSIX] (_SC_USER_GROUPS): Likewise.
563 [POSIX] (_SC_USER_GROUPS_R): Likewise.
564 [POSIX] (_SC_STREAMS): Likewise.
565 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
566 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
567 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
568 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
569 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
570 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
571 [POSIX] (_PC_FILESIZEBITS): Likewise.
572 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
573 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
574 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
575 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
576 [POSIX] (uid_t): Likewise.
577 [POSIX] (gid_t): Likewise.
578 [POSIX] (off_t): Likewise.
579 [POSIX] (pid_t): Likewise.
580 [POSIX] (cuserid): Allow.
581 (_SC_2_CHAR_TERM): Require constant.
582 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
583 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
584 variable.
585
5e2aa9a4
RM
5862015-05-20 Roland McGrath <roland@hack.frob.com>
587
7cea6212
RM
588 * sysdeps/nacl/pthread-pids.h: New file.
589 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
590 (create_thread): Use __nacl_get_tid to initialize PD->tid.
591
592 * nptl/pthread-pids.h: New file.
593 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
594 * nptl/nptl-init.c: Include <pthread-pids.h>.
595 (__pthread_initialize_minimal_internal):
596 Call __pthread_initialize_pids instead of set_tid_address syscall.
597
5e2aa9a4
RM
598 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
599 * sysdeps/posix/usleep.c: ... here.
600
96dffc26
AZ
6012015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
602
603 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
604 call_pselect6 object.
605 [$(subdir) = io]: Remove call_sync_file_range object.
606 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
607 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
608 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
609 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
610
5be91118
WD
6112015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
612
613 * math/s_cproj.c: Add include "math_private.h".
614 * math/s_cprojf.c: Likewise.
615 * math/s_cprojl.c: Likewise.
616
526af541
JM
6172015-05-19 Joseph Myers <joseph@codesourcery.com>
618
3ce2232e
JM
619 [BZ #18244]
620 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
621 high mantissa bit when testing whether P is a NaN.
622 * math/libm-test.inc (remainder_test_data): Add more tests.
623 (remquo_test_data): Likewise.
624
526af541
JM
625 [BZ #18049]
626 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
627 below -32, return the argument, with underflow if subnormal.
628 * math/auto-libm-test-in: Add more tests of atanh.
629 * math/auto-libm-test-out: Regenerated.
630
88ed594f
RM
6312015-05-19 Roland McGrath <roland@hack.frob.com>
632
633 [BZ #18434]
634 * nptl/tst-sem15.c: New file.
635 * nptl/Makefile (tests): Add it.
636 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
637 s/<</>>/ to fix typo in EOVERFLOW check.
638 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
639
654055e0
SP
6402015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
641
642 * manual/strings.texi (envz_remove): Fix typo in safety
643 annotations.
644
eb286115
SE
6452015-05-19 Paul Eggert <eggert@cs.ucla.edu>
646 Steve Ellcey <sellcey@imgtec.com>
647
648 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
649 in order to avoid strict alias warnings.
650 (iruserok_af): Ditto for ra.
651
265cbed8
JL
6522015-05-19 James Lemke <jwlemke@codesourcery.com>
653
654 [BZ #17581]
655 * malloc/hooks.c
656 (magicbyte): Convert to a function and avoid returning 0x01.
657 (mem2mem_check): Avoid using a length byte equal to the magic byte.
658 (mem2chunk_check): Fix unsigned comparisons to zero.
659 Hoist defs of sz and magic.
660
1c5df816
RH
6612015-05-19 Richard Henderson <rth@redhat.com>
662
85bae5a1
RH
663 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
664
1c5df816
RH
665 * sysdeps/alpha/fpu/libm-test-ulps: Update.
666
920d7012
SP
6672015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
668
fff94fa2
SP
669 [BZ #16159]
670 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
671 * malloc/arena.c (arena_lock): Check if arena is corrupt.
672 (reused_arena): Find a non-corrupt arena.
673 (heap_trim): Pass arena to unlink.
674 * malloc/hooks.c (malloc_check_get_size): Pass arena to
675 malloc_printerr.
676 (top_check): Likewise.
677 (free_check): Likewise.
678 (realloc_check): Likewise.
679 * malloc/malloc.c (malloc_printerr): Add arena argument.
680 (unlink): Likewise.
681 (munmap_chunk): Adjust.
682 (ARENA_CORRUPTION_BIT): New macro.
683 (arena_is_corrupt): Likewise.
684 (set_arena_corrupt): Likewise.
685 (sysmalloc): Use mmap if there are no usable arenas.
686 (_int_malloc): Likewise.
687 (__libc_malloc): Don't fail if arena_get returns NULL.
688 (_mid_memalign): Likewise.
689 (__libc_calloc): Likewise.
690 (__libc_realloc): Adjust for additional argument to
691 malloc_printerr.
692 (_int_free): Likewise.
693 (malloc_consolidate): Likewise.
694 (_int_realloc): Likewise.
695 (_int_memalign): Don't touch corrupt arenas.
696 * malloc/tst-malloc-backtrace.c: New test case.
697
99db95db
SP
698 * Makefile (summarize-tests): Fix return value on success.
699
920d7012
SP
700 * manual/string.texi (Envz Functions): Add envz_remove.
701
46f894d8
RM
7022015-05-18 Roland McGrath <roland@hack.frob.com>
703
704 * sysdeps/posix/opendir.c: Include <stdbool.h>.
705 (invalid_name): New function, broken out of ...
706 (__opendirat): ... here. Call it.
707 (need_isdir_precheck): New function, broken out of ...
708 (__opendirat): ... here. Call it.
709 Use __fxstatat64, not __xstatat64.
710 (opendir_oflags): New function, broken out of ...
711 (__opendirat): ... here. Call it.
712 (opendir_tail): New function, broken out of ...
713 (__opendirat): ... here. Call it.
714 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
715 opendir_tail, rather than punting to __opendirat.
716 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
717
eefe64b9
SP
7182015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
719
720 * .gitignore: Ignore generated *.pyc.
721
330fadfc
AS
7222015-05-18 Arjun Shankar <arjun.is@lostca.se>
723
724 * include/stdio.h: Define __need_wint_t.
725 * test-skeleton.c: Avoid `for' loop initial declaration.
726 * nptl/tst-initializers1.c: Use test-skeleton.c.
727
b40a4e1a
AZ
7282015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
729
730 [BZ #18418]
731 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
732
ff069f02
JM
7332015-05-15 Joseph Myers <joseph@codesourcery.com>
734
8020a808
JM
735 [BZ #16352]
736 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
737 (__ieee754_atanh): Force underflow exception for results with
738 small absolute value.
739 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
740 (__ieee754_atanhf): Force underflow exception for results with
741 small absolute value.
742 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
743 (__ieee754_atanh): Force underflow exception for results with
744 small absolute value.
745 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
746 (__ieee754_atanhf): Force underflow exception for results with
747 small absolute value.
748 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
749 (__ieee754_atanhl): Force underflow exception for results with
750 small absolute value.
751 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
752 (__ieee754_atanhl): Force underflow exception for results with
753 small absolute value.
754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
755 (__ieee754_atanhl): Force underflow exception for results with
756 small absolute value.
757 * math/auto-libm-test-in: Do not allow missing underflow
758 exceptions from atanh.
759 * math/auto-libm-test-out: Regenerated.
760
5a608ccc
JM
761 [BZ #18221]
762 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
763 2**-28 as threshold for returning x or +/- 1/x.
764 * math/auto-libm-test-in: Add more tests of tan.
765 * math/auto-libm-test-out: Regenerated.
766
ff069f02
JM
767 [BZ #18220]
768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
769 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
770 * math/auto-libm-test-in: Add another test of lgamma.
771 * math/auto-libm-test-out: Regenerated.
772
0e9be4db
WD
7732015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
774
775 * stdio-common/printf_fp.c (___printf_fp): Use abs.
776 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
777 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
778 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
779 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
780 (ADD2A): Use fabs. (SUB2A): Use fabs.
781 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
784 (log1): Use fabs. (my_log2): Use fabs.
785 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
786 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
788 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
789 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
790 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
791 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
792 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
793 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
794 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
795 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
796
fbc68f03
JM
7972015-05-15 Joseph Myers <joseph@codesourcery.com>
798
799 [BZ #18217]
800 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
801 as threshold for returning 1 - x.
802 * math/auto-libm-test-in: Add more tests of erfc.
803 * math/auto-libm-test-out: Regenerated.
804
0b7a5f92
JM
8052015-05-14 Joseph Myers <joseph@codesourcery.com>
806
9a71f1fc
JM
807 [BZ #18196]
808 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
809 threshold for large arguments.
810 * math/auto-libm-test-in: Add another test of atan.
811 * math/auto-libm-test-out: Regenerated.
812
0b7a5f92
JM
813 [BZ #16339]
814 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
815 (__log1p): Force underflow exception for results with small
816 absolute value.
817 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
818 (__log1pf): Force underflow exception for results with small
819 absolute value.
820 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
821 (__log1p): Force underflow exception for results with small
822 absolute value.
823 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
824 (__log1pf): Force underflow exception for results with small
825 absolute value.
826 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
827 (__log1pl): Force underflow exception for results with small
828 absolute value.
829 * math/auto-libm-test-in: Do not allow missing underflow
830 exceptions from log1p.
831 * math/auto-libm-test-out: Regenerated.
832
95b07fbc
AZ
8332015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
834 Adhemerval Zanella <adhemerval.zanella@linaro.org>
835
b2fb2524 836 [BZ #16704]
95b07fbc
AZ
837 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
838
ee971601
AS
8392015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
840
5695d46f
AS
841 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
842 (libmvec): New variable.
843 * configure.ac: Added option for mathvec build.
844 * configure: Regenerated.
845 * mathvec/Depend: New file.
846 * mathvec/Makefile: New file.
847 * shlib-versions: Added libmvec.
848 * math/Makefile: Added rule for libm.so installation.
849
202d48da
AS
850 * bits/math-vector.h: New file.
851 * bits/libm-simd-decl-stubs.h: New header.
852 * math/Makefile (headers): Added new header
853 libm-simd-decl-stubs.h.
854 * math/math.h (__MATHCALL_VEC): New macro.
855
58c50f06
AS
856 * math/gen-libm-have-vector-test.sh: Script generates series of macros
857 for conditions in testing functions.
858 * math/Makefile: Added call of libm-have-vector-test.sh.
859 * math/libm-test.inc (HAVE_VECTOR): New macros.
860
a6cdcd75
AS
861 * math/libm-test.inc: START refactored.
862 * math/test-double.c (TEST_MATHVEC): Add define.
863 * math/test-float.c: Likewise.
864 * math/test-idouble.c: Likewise.
865 * math/test-ifloat.c: Likewise.
866 * math/test-ildoubl.c: Likewise.
867 * math/test-ldouble.c: Likewise.
868 * sysdeps/generic/math-tests-arch.h
869 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
870 architecture check.
871
ee971601
AS
872 * math/test-double.c (FUNC_TEST): New macro.
873 * math/test-float.c: Likewise.
874 * math/test-idouble.c: Likewise.
875 * math/test-ifloat.c: Likewise.
876 * math/test-ildoubl.c: Likewise.
877 * math/test-ldouble.c: Likewise.
878 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
879
b88a18e1
RM
8802015-05-13 Roland McGrath <roland@hack.frob.com>
881
9e4ec74f
RM
882 * sysdeps/nacl/fdopendir.c: New file.
883
95341673 884 * dirent/scandir-tail.c: New file.
d2ee815a
RM
885 * dirent/scandir64-tail.c: New file.
886 * dirent/Makefile (routines): Add them.
95341673 887 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
888 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
889 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
890 [!SCANDIR] (SCANDIR_TAIL): New macro.
891 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
892 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
893 (SCANDIRAT): Macro removed.
894 (SCANDIR_TAIL): New macro.
895 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
896 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
897 (SCANDIRAT): Just call __opendirat and __scandir_tail.
898 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
899 (READDIR): Macro removed.
900 (SCANDIR_TAIL): New macro.
901 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
902 (SCANDIR_TAIL): New macro.
903
83c10893
RM
904 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
905 * dirent/scandir-cancel.c: ... to this new file.
906 * dirent/Makefile (routines): Add it.
907 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
908 * sysdeps/unix/sysv/linux/i386/scandir64.c
909 (SKIP_SCANDIR_CANCEL): Macro removed.
910 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
911
b88a18e1
RM
912 * dirent/tst-scandir.c: New file.
913 * dirent/tst-scandir64.c: New file.
914 * dirent/Makefile (tests): Add them.
915
d9efd775
L
9162015-05-13 H.J. Lu <hongjiu.lu@intel.com>
917
918 [BZ #18409]
919 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
920
265a9b73
SN
9212015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
922
923 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
924 list.
925
60ccaf75
LH
9262015-05-13 Leonhard Holz <leonhard.holz@web.de>
927
928 * benchtests/bench-strcoll.c: New benchmark.
929 * benchtests/Makefile: Generate locales and run benchmark.
930 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
931 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
932 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
933 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
934 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
935 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
936 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
937 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
938 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
939 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
940 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
941 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
942 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
943 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
944 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
945 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
946 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
947 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
948 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
949 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
950 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
951 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
952 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
953 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
954
0f4840be
OB
9552015-05-12 Ondřej Bílka <neleai@seznam.cz>
956
957 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
958 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
959
7327b333
RM
9602015-05-12 Roland McGrath <roland@hack.frob.com>
961
962 * posix/uname-values.h: New file.
963 * posix/uname.c: Include that instead of <config-name.h>.
964 * sysdeps/nacl/uname-values.h: New file.
965 * sysdeps/arm/nacl/uname-values.h: New file.
966
8e65ea4d
JM
9672015-05-12 Joseph Myers <joseph@codesourcery.com>
968
969 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
970 splitting into fields.
971
a964c6e4 9722015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
973
974 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
975 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
976 * locale/localeinfo.h: Add enum collation_encoding_type.
977 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
978 * programs/ld-collate.c (collate_output): Add encoding type info.
979 * string/strcoll_l.c (STRDIFF): New function.
980 * (STRCOLL): Use STRDIFF to skip over equal prefix.
981 * wcsmbs/wcscoll_l.c: Define STRDIFF.
982
34cb304e
JM
9832015-05-11 Joseph Myers <joseph@codesourcery.com>
984
985 [BZ #18397]
986 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
987 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
988 <fpu_control.h> instead of <math/fpu_control.c>.
989 * sysdeps/mips/mips32/fpu/Makefile: New file.
990
b13b96ca
AS
9912015-05-11 Andreas Schwab <schwab@suse.de>
992
993 [BZ #18007]
994 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
995 nss_endgrent.
996 (_nss_compat_endgrent): Call nss_endgrent.
997 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
998 nss_endpwent.
999 (_nss_compat_endpwent): Call nss_endpwent.
1000 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1001 needent, call nss_setspent only if non-zero.
1002 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1003 (internal_endspent): Don't call nss_endspent.
1004 (_nss_compat_endspent): Call nss_endspent.
1005 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1006 Remove. All uses removed.
1007 (internal_setent): Remove parameter stayopen, add parameter
1008 stream. Use it instead of global variable.
1009 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1010 (internal_endent, internal_getent): Add parameter stream. Use it
1011 instead of global variable.
1012 (CONCAT(_nss_files_end,ENTNAME))
1013 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1014 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1015 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1016 uses removed.
1017 (internal_setent, internal_endent): Add parameter stream. Use it
1018 instead of global variable.
1019 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1020 stream.
1021 (get_next_alias): Add parameter stream.
1022 (_nss_files_getaliasent_r): Pass global stream.
1023 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1024 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1025 (_nss_files_gethostbyname4_r): Pass local stream to
1026 internal_setent, internal_getent and internal_endent. Remove
1027 locking.
1028
e1b6cb04
SL
10292015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1030
1031 * tst-strfmon1.c (tests): Update expected currency symbol.
1032
c4c977c6
RM
10332015-05-08 Roland McGrath <roland@hack.frob.com>
1034
1035 * sysdeps/nacl/gethostname.c: New file.
1036
14f36098
JM
10372015-05-08 Joseph Myers <joseph@codesourcery.com>
1038
1039 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1040 and sinh.
1041 * math/auto-libm-test-out: Regenerated.
1042 * sysdeps/i386/fpu/libm-test-ulps: Update.
1043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1044
c92d40c0
CD
10452015-05-08 Carlos O'Donell <carlos@redhat.com>
1046
1047 [BZ #18125]
1048 * stdlib/tst-setcontext3.c: New file.
1049 * stdlib/tst-setcontext3.sh: New file.
1050 * stdlib/Makefile (tests): Add tst-setcontext3.
1051 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1052 to verify test program created output file.
1053 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1054 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1055 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1056 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1057
48276b67
RM
10582015-05-06 Roland McGrath <roland@hack.frob.com>
1059
b5fe8ec8
RM
1060 [BZ #18383]
1061 * elf/tst-tlsalign.c: New file.
1062 * elf/tst-tlsalign-static.c: New file.
1063 * elf/tst-tlsalign-lib.c: New file.
1064 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1065 (tests-static): Add tst-tlsalign-static.
1066 (modules-names): Add tst-tlsalign-lib.
1067 (test-xfail-tst-tlsalign): New variable.
1068 (test-xfail-tst-tlsalign-static): New variable.
1069
48276b67
RM
1070 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1071 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1072
471dffa1
JM
10732015-05-06 Joseph Myers <joseph@codesourcery.com>
1074
1075 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1076 csqrt, erfc, sin and sincos.
1077 * math/auto-libm-test-out: Regenerated.
1078 * sysdeps/i386/fpu/libm-test-ulps: Update.
1079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1080
eda361c8
WD
10812015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1082
1083 * sysdeps/aarch64/libm-test-ulps: Update.
1084
31450d9a
JM
10852015-05-05 Joseph Myers <joseph@codesourcery.com>
1086
1087 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1088 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1089 * math/auto-libm-test-out: Regenerated.
1090 * sysdeps/i386/fpu/libm-test-ulps: Update.
1091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1092
a6ab6ccd
DM
10932015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1094
1095 [BZ #18265]
1096 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1097 (wcsncpy): Likewise.
1098
d0ccd0d9
FW
10992015-05-05 Florian Weimer <fweimer@redhat.com>
1100
1101 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1102 Assume __ASSUME_FALLOCATE is always true.
1103 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1104 (__posix_fallocate64_l64): Likweise.
1105 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1106 (posix_fallocate): Likewise.
1107 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1108 (__posix_fallocate64_l64): Likewise.
1109 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1110 [!__ASSUME_FALLOCATE]: Add comment.
1111
4bd40bcf
FW
11122015-05-05 Florian Weimer <fweimer@redhat.com>
1113
1114 * sysdeps/unix/sysv/linux/i386/Makefile
1115 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1116 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1117 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1118 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1119 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1120 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1121 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1122
305392ea
JM
11232015-05-02 Joseph Myers <joseph@codesourcery.com>
1124
1125 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1126 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1127 tgamma.
1128 * math/auto-libm-test-out: Regenerated.
1129 * sysdeps/i386/fpu/libm-test-ulps: Update.
1130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1131
a0d31f36
JM
11322015-05-01 Joseph Myers <joseph@codesourcery.com>
1133
51e15247
JM
1134 * math/auto-libm-test-in: Add more tests of tgamma.
1135 * math/auto-libm-test-out: Regenerated.
1136 * sysdeps/i386/fpu/libm-test-ulps: Update.
1137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1138
5ffb9a53
JM
1139 * math/auto-libm-test-in: Add more tests of tanh.
1140 * math/auto-libm-test-out: Regenerated.
1141 * sysdeps/i386/fpu/libm-test-ulps: Update.
1142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1143
0957e15d
JM
1144 * math/auto-libm-test-in: Add more tests of tan.
1145 * math/auto-libm-test-out: Regenerated.
1146 * sysdeps/i386/fpu/libm-test-ulps: Update.
1147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1148
827bb585
JM
1149 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1150 * math/auto-libm-test-out: Regenerated.
1151 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1153
86793ae7
JM
1154 * math/auto-libm-test-in: Add another test of pow.
1155 * math/auto-libm-test-out: Regenerated.
1156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1157
038e4be9
JM
1158 * math/auto-libm-test-in: Add more tests of lgamma.
1159 * math/auto-libm-test-out: Regenerated.
1160 * sysdeps/i386/fpu/libm-test-ulps: Update.
1161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1162
a0d31f36
JM
1163 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1164 log1p.
1165 * math/auto-libm-test-out: Regenerated.
1166 * sysdeps/i386/fpu/libm-test-ulps: Update.
1167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1168
b4336ba4
MW
11692015-05-01 Mark Wielaard <mjw@redhat.com>
1170
1171 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1172 Elf64_Chdr structs and ELFCOMPRESS constants.
1173
c5a3a509
JM
11742015-05-01 Joseph Myers <joseph@codesourcery.com>
1175
e1483b36
JM
1176 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1177 expm1.
1178 * math/auto-libm-test-out: Regenerated.
1179 * sysdeps/i386/fpu/libm-test-ulps: Update.
1180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1181
c5a3a509
JM
1182 * math/auto-libm-test-in: Add more tests of erf and erfc.
1183 * math/auto-libm-test-out: Regenerated.
1184 * sysdeps/i386/fpu/libm-test-ulps: Update.
1185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1186
44cb254f
SN
11872015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1188
1189 * config.h.in (HAVE_AARCH64_BE): Add.
1190
0833cecd
JM
11912015-04-30 Joseph Myers <joseph@codesourcery.com>
1192
9862ab1f
JM
1193 * math/auto-libm-test-in: Add more tests of csqrt.
1194 * math/auto-libm-test-out: Regenerated.
1195 * sysdeps/i386/fpu/libm-test-ulps: Update.
1196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1197
094fca83
JM
1198 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1199 * math/auto-libm-test-out: Regenerated.
1200 * sysdeps/i386/fpu/libm-test-ulps: Update.
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202
0833cecd
JM
1203 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1204
314647f7
RM
12052015-04-29 Roland McGrath <roland@hack.frob.com>
1206
45c2c564
RM
1207 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1208 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1209
3600cf1e
RM
1210 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1211 (euidaccess, eaccess): Define as weak aliases.
1212
314647f7
RM
1213 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1214 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1215 but __suseconds_t is often 'long int' so some sources assume that
1216 type is being used (e.g. they use %ld to print tv_usec).
1217
03d2730b
FW
12182015-04-29 Florian Weimer <fweimer@redhat.com>
1219
1220 [BZ #18007]
1221 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1222 (CVE-2014-8121)
1223 * nss/tst-nss-getpwent.c: New file.
1224 * nss/Makefile (tests): Add new test.
1225
7d0b2575
JM
12262015-04-28 Joseph Myers <joseph@codesourcery.com>
1227
1228 [BZ #18346]
1229 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1230 exponents less than 48 as cases where high part of mantissa needs
1231 examining to determine whether argument is integral.
1232 * math/libm-test.inc (round_test_data): Add more tests.
1233
fb4041ae
MW
12342015-04-28 Mark Wielaard <mjw@redhat.com>
1235
1236 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1237
3f2e21e9
DM
12382015-04-27 David S. Miller <davem@davemloft.net>
1239
1240 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1241 __tls_get_addr.
1242 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1243
5cffc05e
L
12442015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 [BZ#18333]
1247 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1248
cc8dcf96
FW
12492015-04-27 Florian Weimer <fweimer@redhat.com>
1250
1251 [BZ#18333]
1252 * time/tzset.c (parse_tzname): Return error on memory allocation
1253 failure.
1254 * test-skeleton.c (struct temp_name_list): Change type of name
1255 member to non-const.
1256 (add_temp_file): Create a copy of the file name.
1257 (delete_temp_files): Deallocate memory.
1258 (create_temp_file): Add comment.
1259
2dd6ee79
FW
12602015-04-24 Florian Weimer <fweimer@redhat.com>
1261
1262 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1263 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1264
c25fec6f
RM
12652015-04-24 Roland McGrath <roland@hack.frob.com>
1266
1267 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1268 * sysdeps/arm/configure: Regenerated.
1269
42261ad7
FW
12702015-04-24 Florian Weimer <fweimer@redhat.com>
1271
1272 [BZ #17715]
1273 * time/tzfile.c (__tzfile_read): Check for large values of
1274 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1275 * time/tzset.c (__tzstring_len): New function, based on the old
1276 __tzstring function.
1277 (__tzstring): Call __tzstring_len.
1278 (parse_tzname): New helper function extracted from
1279 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1280 the input string.
1281 (parse_offset): New helper function extracted from
1282 __tzset_parse_tz. Replace switch with fallthrough with
1283 initialization before sscanf.
1284 (parse_rule): Likewise.
1285 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1286 new-style function definition.
1287 * timezone/Makefile (tests): Add tst-tzset.
1288 (tst-tzset.out): Dependencies on time zone files.
1289 (tst-tzset-ENV): Set TZDIR.
1290 (testdata/XT%): Copy crafted time zone files.
1291 * timezone/README: Mention crafted time zone files.
1292 * timezone/testdata/XT1, timezone/testdata/XT2,
1293 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1294 files.
1295 * timezone/tst-tzset.c: New test.
1296
ed159672
FW
12972015-04-24 Florian Weimer <fweimer@redhat.com>
1298
1299 * Makeconfig (+gccwarn): Remove -Winline.
1300
8666ab5c
SL
13012015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1302
1303 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1304
f7fba805
SL
13052015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1306
1307 * NEWS: Mention sysconf() cache information support for s390.
1308 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1309
92f28979
WD
13102015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1311
1312 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1313 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1314 (__nearbyint): Likewise.
1315 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1316 (copysignl): Likewise.
1317
2959eda9
AS
13182015-04-21 Arjun Shankar <arjun.is@lostca.se>
1319
1320 [BZ #18287]
1321 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1322 based on padding. (CVE-2015-1781)
1323
7bf8fb10
AZ
13242015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1325
1326 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1327 libc-vdso.h.
1328 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1329 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1330 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1331 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1332 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1333 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1334 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1337 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1338 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1339 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1340 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1341 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1342 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1343 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1344 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1346 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1347 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1348 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1349 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1350 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1351
03c1e456
PE
13522015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1353
1354 * stdlib/setenv.c (__add_to_environ):
1355 Dump core quickly if setenv (..., NULL, ...) is called.
1356 This time, do it the right way, and pacify GCC with a pragma.
1357
328c44c3
RM
13582015-04-17 Roland McGrath <roland@hack.frob.com>
1359
2bd2cad9
RM
1360 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1361 IMAP->l_prev cannot be null, and #if out the code for the contrary
1362 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1363 believe that NS (&_dl_ns[NSID]) could point outside the array.
1364
328c44c3
RM
1365 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1366 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1367 before using NSID as an index.
1368
aa4980fc
DM
13692015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1370
1371 [BZ #17825]
1372 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1373 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1374 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1375
d1e44df1
RM
13762015-04-17 Roland McGrath <roland@hack.frob.com>
1377
1378 Add preliminary port to Google Native Client on ARM.
1379 * abi-tags (.*-.*-nacl.*): New entry.
1380 * sysdeps/arm/nacl: New directory.
1381 * sysdeps/nacl: New directory.
1382
f7092599
DM
13832015-04-16 David S. Miller <davem@davemloft.net>
1384
1385 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1386 lowlevellock-futex.h
1387
da6989f9
CM
13882015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1389
1390 * sysdeps/tile/configure.ac: New file.
1391 * sysdeps/tile/configure: Regenerated.
1392
fb78612a
AZ
13932015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1394
1395 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1396 conditionals for weak_alias and libc_hidden_weak.
1397 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1398 libc_hidden_weak and weak_alias.
1399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1400 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1401 and weak_alias for static one.
1402
a8b6a3a6
DM
14032015-04-15 David S. Miller <davem@davemloft.net>
1404
1405 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1406
920a0395
SL
14072015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1408
1409 [BZ #18206]
1410 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1411 Use signed comparision instead of substraction to avoid
1412 overflow bug.
1413 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1414 Take the sign of ret.
1415 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1416 Do not expect precise return values. Only the sign matters.
1417 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1418 * wcsmbs/test-wcsncmp.c: New File.
1419 * string/test-strncmp.c: Add wcsncmp support.
1420
de8aadd5
SL
14212015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1422
1423 [BZ #6792]
1424 * math/w_log1p.c: New file.
1425 * math/w_log1pf.c: Likewise.
1426 * math/w_log1pl.c: Likewise.
1427 * math/Makefile (libm-calls): Add w_log1p.
1428 * math/s_log1pl.c (log1pl): Remove weak_alias.
1429 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1430 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1431 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1432 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1433 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1434 [NO_LONG_DOUBLE] (log1pl): Likewise.
1435 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1436 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1437 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1438 (log1p): Remove long_double_symbol.
1439 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1440 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1441 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1442 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1443 remove weak_alias for corresponding log1p function.
1444 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1445 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1446 * sysdeps/ia64/fpu/w_log1p.c: New file.
1447 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1448 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1449 * math/libm-test.inc (log1p_test_data): Add errno expectations.
1450
5556d30c
JM
14512015-04-10 Joseph Myers <joseph@codesourcery.com>
1452
1453 [BZ #18247]
1454 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1455 decimal exponent by 1.
1456 * stdlib/tst-strtod-round-data: Add more tests.
1457 * stdlib/tst-strtod-round.c (tests): Regenerated.
1458
b3c66c53
JM
14592015-04-09 Joseph Myers <joseph@codesourcery.com>
1460
1461 * math/auto-libm-test-in: Add more tests of clog and clog10.
1462 * math/auto-libm-test-out: Regenerated.
1463 * sysdeps/i386/fpu/libm-test-ulps: Update.
1464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1465
b0b88abc
RM
14662015-04-09 Roland McGrath <roland@hack.frob.com>
1467
8a257e2c
RM
1468 * Makeconfig (module-cppflags): Exclude all .v.i files.
1469 (skip-module-cppflags): Variable removed.
1470
05439291
RM
1471 * configure.ac (libc_config_ok): Initialize before reading
1472 preconfigure scripts, not after.
1473 * configure: Regenerated.
1474
b0b88abc
RM
1475 * test-skeleton.c (TIMEOUT): Move #define to top level.
1476 (main): Grok environment variable TEST_DIRECT. If set, print
1477 test expectation details into that file and then behave as if
1478 given --direct.
1479
2902af16
FW
14802015-04-09 Florian Weimer <fweimer@redhat.com>
1481
1482 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1483 warning on 32-bit.
1484
23ebf743
DM
14852015-04-08 David S. Miller <davem@davemloft.net>
1486
1487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1488
024bcc51
JM
14892015-04-08 Joseph Myers <joseph@codesourcery.com>
1490
787d22bc
JM
1491 * math/auto-libm-test-in: Add more tests of atanh.
1492 * math/auto-libm-test-out: Regenerated.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1495
024bcc51
JM
1496 * math/auto-libm-test-in: Add more tests of atan.
1497 * math/auto-libm-test-out: Regenerated.
1498 * sysdeps/i386/fpu/libm-test-ulps: Update.
1499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1500
7b8399f4
FW
15012015-04-08 Florian Weimer <fweimer@redhat.com>
1502
1503 * elf/pldd.c (main): Rewrite to use struct
1504 scratch_buffer instead of extend_alloca.
1505 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
1506 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1507 <alloca.h>.
1508 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1509 scratch_buffer instead of extend_alloca.
1510 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1511 grp/compat-initgroups.c.
794a74af
FW
1512 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1513 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 1514 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 1515 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 1516
ae63c7eb
JM
15172015-04-08 Joseph Myers <joseph@codesourcery.com>
1518
da0cf658
JM
1519 * math/auto-libm-test-in: Add more tests of cbrt.
1520 * math/auto-libm-test-out: Regenerated.
1521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1522
80352c01
JM
1523 * math/auto-libm-test-in: Add more tests of cabs.
1524 * math/auto-libm-test-out: Regenerated.
1525 * sysdeps/i386/fpu/libm-test-ulps: Update.
1526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1527
8431838d
JM
1528 [BZ #18210]
1529 [BZ #18211]
1530 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1531 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1532 computations.
1533 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1534 clog10.
1535 * math/auto-libm-test-out: Regenerated.
1536 * sysdeps/i386/fpu/libm-test-ulps: Update.
1537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1538
ae63c7eb
JM
1539 [BZ #18197]
1540 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1541 (atan): Set FE_TONEAREST mode for internal computations.
1542 * math/auto-libm-test-in: Add more tests of atan.
1543 * math/auto-libm-test-out: Regenerated.
1544
d5856d06
JC
15452015-04-07 James Cowgill <james410@cowgill.org.uk>
1546
1547 [BZ #17930]
1548 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1549
72301304
FW
15502015-04-07 Florian Weimer <fweimer@redhat.com>
1551
1552 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1553
cfcfd461
FW
15542015-04-07 Florian Weimer <fweimer@redhat.com>
1555
1556 * include/scratch_buffer.h: New file.
1557 * malloc/scratch_buffer_grow.c: Likewise.
1558 * malloc/scratch_buffer_grow_preserve.c: Likewise.
1559 * malloc/scratch_buffer_set_array_size.c: Likewise.
1560 * malloc/tst-scratch_buffer.c: Likewise.
1561 * malloc/Makefile (routines): Add scratch_buffer_grow.
1562 (tests): Add test case.
1563 * malloc/Versions (GLIBC_PRIVATE): Export
1564 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1565 __libc_scratch_buffer_set_array_size.
1566
cc47c824
RH
15672015-04-06 Richard Henderson <rth@redhat.com>
1568
1569 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 1570 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 1571
9e8c0381
RH
1572 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1573 unsigned int before printing.
1574
9781a370
OB
15752015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1576
1577 [BZ #17596]
1578 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1579 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1580
37d60d97
FW
15812015-04-02 Florian Weimer <fweimer@redhat.com>
1582
1583 * include/libc-internal.h (libc_max_align_t): Define.
1584
b763f6ae
AS
15852015-04-02 Andreas Schwab <schwab@suse.de>
1586
1587 [BZ #16850]
1588 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1589
c26efef9
MG
15902015-04-02 Mel Gorman <mgorman@suse.de>
1591
1592 [BZ #17195]
1593 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1594 as well as the main arena.
1595
a3d9ab50
L
15962015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1597
1598 [BZ #18185]
1599 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1600 sharing L2 cache to 2 for Silvermont/Knights Landing.
1601
83569fb8
L
16022015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 [BZ #17711]
1605 * config.make.in (have-protected-data): New.
1606 * configure.ac: Check linker support for protected data symbol.
1607 * configure: Regenerated.
1608 * elf/Makefile (modules-names): Add tst-protected1moda and
1609 tst-protected1modb if $(have-protected-data) is yes.
1610 (tests): Add tst-protected1a and tst-protected1b if
1611 $(have-protected-data) is yes.
1612 ($(objpfx)tst-protected1a): New.
1613 ($(objpfx)tst-protected1b): Likewise.
1614 (tst-protected1modb.so-no-z-defs): Likewise.
1615 * elf/tst-protected1a.c: New file.
1616 * elf/tst-protected1b.c: Likewise.
1617 * elf/tst-protected1mod.h: Likewise.
1618 * elf/tst-protected1moda.c: Likewise.
1619 * elf/tst-protected1modb.c: Likewise.
1620
62da1e3b
L
16212015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 [BZ #17711]
1624 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1625 indicates it is called from do_lookup_x on relocation against
1626 protected data, skip the data definion in the executable from
1627 copy reloc.
1628 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1629 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1630 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1631 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1632 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1633 otherwise to 0.
1634 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1635 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1636 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1637 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1638 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1639 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1640
675ddb71
MG
16412015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
1642
1643 * sysdeps/nptl/pthread.h: Remove duplicate definition of
1644 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1645
4d611e12
MG
16462015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
1647
1648 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1649 THREAD_SETMEM_NC.
1650 * sysdeps/x86_64/nptl/tls.h: Ditto.
1651
7285eb53
RM
16522015-03-27 Roland McGrath <roland@hack.frob.com>
1653
1654 * dlfcn/tststatic.c (main): Converted to ...
1655 (do_test): ... this.
1656 (TEST_FUNCTION): New macro.
1657 Include test-skeleton.c.
1658
19a6a3ac
AM
16592015-03-26 Alan Modra <amodra@gmail.com>
1660
1661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1662 Don't segfault if ifunc resolver returns a NULL. Do set plt to
1663 zero for undefined weak.
1664 (elf_machine_plt_conflict): Similarly.
1665
a9fe4c5a
JM
16662015-03-25 Joseph Myers <joseph@codesourcery.com>
1667
efd5b641
JM
1668 * math/auto-libm-test-in: Add more tests of acosh, asinh and
1669 atanh.
1670 * math/auto-libm-test-out: Regenerated.
1671 * sysdeps/i386/fpu/libm-test-ulps: Update.
1672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1673
e9b10151
JM
1674 * math/auto-libm-test-in: Add another test of asin.
1675 * math/auto-libm-test-out: Regenerated.
1676 * sysdeps/i386/fpu/libm-test-ulps: Update.
1677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1678
9fa55373
JM
1679 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1680 Remove macro.
1681 (LLL_EBX_REG): Likewise.
1682 (LLL_ENTER_KERNEL): Likewise.
1683
38755f14
JM
1684 * math/auto-libm-test-in: Add more tests of asin.
1685 * math/auto-libm-test-out: Regenerated.
1686 * sysdeps/i386/fpu/libm-test-ulps: Update.
1687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1688
a9fe4c5a
JM
1689 [BZ #18138]
1690 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1691 libc_do_syscall_args): New structure.
1692 (INTERNAL_SYSCALL_MAIN_0): New macro.
1693 (INTERNAL_SYSCALL_MAIN_1): Likewise.
1694 (INTERNAL_SYSCALL_MAIN_2): Likewise.
1695 (INTERNAL_SYSCALL_MAIN_3): Likewise.
1696 (INTERNAL_SYSCALL_MAIN_4): Likewise.
1697 (INTERNAL_SYSCALL_MAIN_5): Likewise.
1698 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
1699 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1700 Replace conditional definitions by conditional definitions of ....
1701 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
1702 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1703 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1704 (libpthread-sysdep_routines): Add libc-do-syscall.
1705 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1706 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1707 to __NR_futex not 240.
1708
afcd9480
AM
17092015-03-25 Alan Modra <amodra@gmail.com>
1710
1711 * NEWS: Advertise TLS optimization.
1712 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1713 (DT_PPC_NUM): Increment.
1714 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1715 (CHECK_STATIC_TLS): Use here.
1716 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1717 TLS descriptors.
1718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1719 * sysdeps/powerpc/dl-tls.c: New file.
1720 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1721 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1722 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1723 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1727
da9f3334
AM
17282015-03-25 Alan Modra <amodra@gmail.com>
1729
1730 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1731 for overlapping .opd entries" to "support...".
1732 * sysdeps/powerpc/powerpc64/configure: Regenerate
1733
bc899ea0
JM
17342015-03-25 Joseph Myers <joseph@codesourcery.com>
1735
8d643971
JM
1736 * math/auto-libm-test-in: Add more tests of acos.
1737 * math/auto-libm-test-out: Regenerated.
1738 * sysdeps/i386/fpu/libm-test-ulps: Update.
1739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1740
bc899ea0
JM
1741 * math/auto-libm-test-in: Add more tests of expm1.
1742 * math/auto-libm-test-out: Regenerated.
1743 * sysdeps/i386/fpu/libm-test-ulps: Update.
1744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1745
7c84a504
JM
17462015-03-24 Joseph Myers <joseph@codesourcery.com>
1747
239ed6f3
JM
1748 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1749 * math/auto-libm-test-out: Regenerated.
1750 * sysdeps/i386/fpu/libm-test-ulps: Update.
1751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752
a737e826
JM
1753 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1755
7c84a504
JM
1756 * math/auto-libm-test-in: Add more tests of log2.
1757 * math/auto-libm-test-out: Regenerated.
1758 * sysdeps/i386/fpu/libm-test-ulps: Update.
1759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1760
7e9c7b9b
RM
17612015-03-23 Roland McGrath <roland@hack.frob.com>
1762
1763 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1764 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
1765 _IO_IS_APPENDING bit in READ_WRITE instead.
1766
98734cc5
FW
17672015-03-23 Florian Weimer <fweimer@redhat.com>
1768
1769 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1770 (__determine_cpumask_size): Replace extend_alloca with a
1771 variable-length array. Do not treat res == 0 as an error.
1772
2b028564
FW
17732015-03-23 Florian Weimer <fweimer@redhat.com>
1774
1775 [BZ #18100]
1776 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1777 and integer overflow.
1778 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1779 (main): Add integer overflow tests.
1780 * manual/pattern.texi (Calling Wordexp): Document additional use
1781 for WRDE_SYNTAX.
1782
59261ad3
AM
17832015-03-23 Alan Modra <amodra@gmail.com>
1784
1785 * config.h.in: Remove HAVE_ASM_PPC_REL16.
1786 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1787 and false branch of conditional.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1789 Likewise.
1790
d583531a
ST
17912015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
1792
1793 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1794 libc-modules.h
868df0f9
ST
1795 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1796 unused declaration of _hurd_intr_rpc_msg_in_trap.
1797 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1798 defined instead of whether it is non-zero.
1799 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1800 input constraint instead of both input and output constraint. Use ecx
1801 clobber instead of %ecx.
1802 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1803 mutex_unlock): Use a statement expression instead of an expression list.
1804 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1805 type to vm_size_t instead of vm_address_t.
1806 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1807 defined instead of whether it is non-zero.
1808 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1809 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1810 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1811 comparisons with mapaddr.
1812 * nscd/nscd-client.h: Include <time.h>.
1813 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1814 9th parameter to __vm_region instead of int.
661a7dba 1815 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
1816 * scripts/check-local-headers.sh (exclude): Add device/,
1817 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1818 cthreads.h.
d583531a 1819
298e5d56
RM
18202015-03-19 Roland McGrath <roland@hack.frob.com>
1821
1822 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1823 to account for alignment padding.
1824 * sysdeps/arm/memmove.S: Likewise.
1825
becb26b8
CM
18262015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
1827
1828 * sysdeps/unix/sysv/linux/generic/README: New file.
1829
c2f5813a
JM
18302015-03-18 Joseph Myers <joseph@codesourcery.com>
1831
1832 [BZ #18138]
1833 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1834 (futex_abstimed_wait)
1835 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1836 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1837 of lll_futex_timed_wait.
1838
ed6b0fe7
BH
18392015-03-18 Brad Hubbard <bhubbard@redhat.com>
1840
1841 [BZ #17542]
1842 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1843
f8aeae34
AO
18442015-03-17 Alexandre Oliva <aoliva@redhat.com>
1845
1846 [BZ #17090]
1847 [BZ #17620]
1848 [BZ #17621]
1849 [BZ #17628]
1850 * NEWS: Update.
1851 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1852 entries with Static TLS too. Skip entries past the end of the
1853 allocated DTV, from Alan Modra.
1854 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
1855 Static TLS DTV entry set up from...
1856 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1857 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1858 * nptl/allocatestack.c (init_one_static_tls): ... and here...
1859 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1860 for Static TLS.
1861 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
1862 that the slot we find is associated with the given map before
1863 using its generation count.
1864 * nptl_db/db_info.c: Include ldsodefs.h.
1865 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1866 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1867 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1868 (link_map::l_tls_offset): New struct field.
1869 (dtv_t::counter): Likewise.
1870 (rtld_global): New struct.
1871 (_rtld_global): New rtld variable.
1872 (dl_tls_dtv_slotinfo_list): New rtld global field.
1873 (dtv_slotinfo_list): New struct.
1874 (dtv_slotinfo): Likewise.
1875 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1876 (td_lookup): Rename to...
1877 (td_mod_lookup): ... this. Use new mod parameter instead of
1878 LIBPTHREAD_SO.
1879 * nptl_db/td_thr_tlsbase.c: Include link.h.
1880 (dtv_slotinfo_list, dtv_slotinfo): New functions.
1881 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
1882 addresses even if the DTV is out of date or missing them.
1883 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1884 index zero-length arrays.
1885 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1886 (td_lookup): Make it a macro implemented in terms of...
1887 (td_mod_lookup): ... this declaration.
1888 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1889 (DB_MAIN_VARIABLE): Likewise.
1890
b97eb2bd
L
18912015-03-16 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 [BZ #18134]
1894 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1895
cb219290
PE
18962015-03-15 Paul Eggert <eggert@cs.ucla.edu>
1897
1898 * stdlib/setenv.c (__add_to_environ): Revert previous change.
1899
a3905fd9
AS
19002015-03-14 Andreas Schwab <schwab@linux-m68k.org>
1901
1902 [BZ #18128]
1903 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1904 (atomic_add, atomic_increment_and_test)
1905 (atomic_decrement_and_test): Fix 64-bit arithmetic.
1906
2ecccaed
PE
19072015-03-13 Paul Eggert <eggert@cs.ucla.edu>
1908
1909 * stdlib/setenv.c (__add_to_environ):
1910 Dump core quickly if setenv (..., NULL, ...) is called.
1911
cdaf79d0
RM
19122015-03-13 Roland McGrath <roland@hack.frob.com>
1913
1914 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1915 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1916 all the necessary asm magic in one place.
1917 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1918 using those.
1919
cf9313e7
CD
19202015-03-13 Carlos O'Donell <carlos@redhat.com>
1921
1922 [BZ #14906]
1923 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1924 traced file mtime. Use consistent log message.
1925 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1926 (register_traced_file): Call install_watches. Always set mtime.
1927 (invalidate_cache): Iterate over all trace files. Call install_watches.
1928 (inotify_check_files): Don't inline. Handle watching parent
1929 directories and configuration file movement in and out.
1930 (handle_inotify_events): New function.
1931 (main_loop_poll): Call handle_inotify_events.
1932 (main_loop_epoll): Likewise.
1933 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1934 (struct traced_file): Use array of inotify fds. Add parent directory,
1935 and basename.
1936 (struct database_dyn): Remove unused file_mtime.
1937 (init_traced_file): New inline function.
1938 (define_traced_file): New macro.
1939 * nss/nss_db/db-init.c: Use define_traced_file.
1940 (_nss_db_init): Use init_traced_file.
1941 * nss/nss_files/files-init.c: Use define_traced_file.
1942 (_nss_files_init): Use init_traced_file.
1943
7d67a196
JM
19442015-03-12 Joseph Myers <joseph@codesourcery.com>
1945
1946 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1947 [_LIBC]: Do not include <stdlib.h>.
1948 [!_LIBC] (abort): Remove declaration.
1949 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1950 _FP_STATIC_ASSERT instead of conditionally calling abort.
1951 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1952 (_FP_EXTEND_CNAN): Likewise.
1953 (FP_TRUNC): Likewise.
1954 (__FP_CLZ): Likewise.
1955 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1956
af85ebcd
YS
19572015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1958
1959 * manual/string.texi (XPG basename): Fix prototype.
1960
2e807f29
SL
19612015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1962
1963 [BZ #18080]
1964 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1965 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1966 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1967 (__setcontext): Likewise.
1968 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1969 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1970 Call rt_sigprocmask syscall one time to set new signal mask
1971 and retrieve the current signal mask instead of two calls.
1972 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1973 (__swapcontext): Likewise.
1974 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1975 * stdlib/tst-setcontext2.c: New file.
1976
1b2bebe6
SL
19772015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1978
1979 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1980
6a1cf708
AJ
19812015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1982
1983 [BZ #18093]
1984 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1985 the wrong size.
1986
a2d4cf72
PP
19872015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1988
1989 [BZ #18043]
1990 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1991
5ca10a0c
AZ
19922015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1993
1994 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1995 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1996 Remove define.
1997 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1998 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1999 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2000 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2001 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2002 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2003 define.
2004 * nptl_db/td_symbol_list.c (td_lookup): Remove
2005 HAVE_ASM_GLOBAL_DOT_NAME code.
2006 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2007 HAVE_ASM_GLOBAL_DOT_NAME check.
2008 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2009 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2010 (DOT_LABEL): Remove define.
2011 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2012 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2013 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2014 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2015 (__TLS_GET_ADDR): Likewise.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2017 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2018
e4363cfb
CD
20192015-03-11 Carlos O'Donell <carlos@redhat.com>
2020
2021 [BZ #18111]
2022 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2023 (_FPU_SETCW): Initialize cw from fpsr before storing.
2024 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2025 (fesetexceptflag): Rewrite using fpu_control.h.
2026 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2027
fae1aa8d
JDA
20282015-03-11 John David Anglin <danglin@gcc.gnu.org>
2029
2030 [BZ #18110]
2031 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2032 asms.
2033 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2034
068a6274
JM
20352015-03-11 Joseph Myers <joseph@codesourcery.com>
2036
2037 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2038 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2039 abort.
2040 (_FP_FMA): Likewise.
2041 (_FP_DIV): Likewise.
2042
d3821ab0
RM
20432015-03-10 Roland McGrath <roland@hack.frob.com>
2044
44a6213c
RM
2045 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2046 with 0 in that case.
2047 * Makefile (summarize-tests): New canned sequence, factored out of
2048 commands for targets tests and xtests. Display summary lines that
2049 don't start with PASS: or XFAIL: rather than ones that do start with
2050 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2051 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2052 do start with ERROR: or FAIL:.
2053 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2054 (except for [$(build-shared) = yes]).
2055 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2056 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2057 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2058 * nptl/Makefile: Revert 2015-03-04 changes.
2059 [$(CXX) empty] (tests-unsupported): New variable.
2060 * debug/Makefile: Likewise.
2061
d3821ab0
RM
2062 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2063 gnulib file. Replace __attribute with __attribute__ throughout.
2064
85ca85ae
CD
20652015-03-10 Carlos O'Donell <carlos@redhat.com>
2066
2067 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2068
6411f81d
JM
20692015-03-10 Joseph Myers <joseph@codesourcery.com>
2070
2071 [BZ #18104]
2072 * math/auto-libm-test-in: Add another test of pow.
2073 * math/auto-libm-test-out: Regenerated.
2074
d421868b
AZ
20752015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2076
2077 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2078 $(config-cflags-nofma).
2079
a2f8be9c
JM
20802015-03-10 Joseph Myers <joseph@codesourcery.com>
2081
2082 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2083 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2084 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2085 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2086 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2087 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2088 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2089 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2090 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2091 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2092 Add comment on closing #endif.
2093
01d032e0
PP
20942015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2095
2096 * posix/wordexp.c (CHAR_IN_SET): New macro.
2097 (parse_param): Use it.
2098
d439bc56
AZ
20992015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100
2101 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2102
5f85a4bf
PP
21032015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2104
2105 [BZ #18043]
2106 * posix/wordexp.c (parse_param): Fix buffer overflow.
2107 * posix/wordexp-test.c (test_case): Add test case.
2108
f8ba70e9
PP
21092015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2110
2111 [BZ #18042]
2112 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2113 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2114
36103ba2
PP
21152015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2116
2117 [BZ #18043]
2118 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2119 (do_bz18043): Delete.
2120 (at_page_end): New.
2121 (testit): Refactor to have words at the edge of unreadable page.
2122
18d26750
PP
21232015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2124
2125 [BZ #16734]
2126 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2127 Cleanup read-only streams as well.
2128 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2129
9f95dc5d
ST
21302015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2131
2132 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2133 <bits/libc-lockP.h>
2134
b838844b
JM
21352015-03-07 Joseph Myers <joseph@codesourcery.com>
2136
2137 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2138 on [__KERNEL__].
2139 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2140 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2141 * soft-fp/op-common.h (_FP_DECL): Likewise.
2142
e0ed2fb4
L
21432015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * elf/ifuncdep2.c (global): Replace
2146 __attribute__((visibility("protected"))) with
2147 asm (".protected global").
2148 * elf/ifuncmod1.c (global): Likewise.
2149 * elf/ifuncmod5.c (global): Likewise.
2150
fa9dda64
JM
21512015-03-06 Joseph Myers <joseph@codesourcery.com>
2152
2153 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2154 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2155
4acc27ed
RM
21562015-03-06 Roland McGrath <roland@hack.frob.com>
2157
2158 * manual/install.texi (Configuring and compiling):
2159 Document test-wrapper-env-only.
2160 * INSTALL: Regenerated.
2161
895c30cb
PP
21622015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2163
2164 [BZ #18043]
2165 * posix/wordexp.c (parse_param): Fix buffer overflow.
2166 * posix/wordexp-test.c (do_bz18043): Add test case.
2167
5df56c7e
VB
21682015-03-06 Vincent Bernat <vincent@bernat.im>
2169
2170 * time/tst-strptime2.c (do_test): Ensure failing tests are
2171 reported correctly.
2172 * time/tst-strptime3.c (do_test): Likewise.
2173
1cdf2ea1
ST
21742015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2175
2176 Fix aio_error thread-safety.
1cdf2ea1
ST
2177 * sysdeps/pthread/aio_error.c: New file
2178 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2179 synchronization.
2180
d176a41a
FW
21812015-03-06 Florian Weimer <fweimer@redhat.com>
2182
2183 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2184 (group_number, vfprintf): Use it.
1597b744
FW
2185 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2186 (JUMP, REF): Use it.
2187 (WORK_BUFFER_SIZE): New enum constant.
2188 (process_arg, vfprintf): Use it.
d176a41a 2189
7e7af349
RJ
21902015-03-06 Rical Jasan <ricaljasan@pacific.net>
2191
2192 * manual/errno.texi (Error Messages): Complete example function
2193 by adding missing #define.
2194 (program_invocation_name): Add statement indicating GNU
2195 extension and reference which header file declares the variable.
2196 (program_invocation_short_name): Likewise.
2197
4ca8ddfb
MF
21982015-03-06 Mike Frysinger <vapier@gentoo.org>
2199
2200 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2201 compatibility note.
2202
9162c01d
RM
22032015-03-05 Roland McGrath <roland@hack.frob.com>
2204
2205 * Makeconfig (test-wrapper-env-only): New variable.
2206 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2207 then use that with $(test-wrapper-env-only) rather than using
2208 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2209
209826bc
L
22102015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2211
2212 [BZ #18082]
2213 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2214 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2215 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2216 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2217 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2218 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2219 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2220 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2221 Likewise.
2222 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2223 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2224 Likewise.
2225 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2226 Likewise.
2227 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2228 Likewise.
2229 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2230 Likewise.
2231 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2233 Likewise.
2234 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2235 Likewise.
2236 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2237 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2238
2cfe32bc
RM
22392015-03-04 Roland McGrath <roland@hack.frob.com>
2240
8bff5aab
RM
2241 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2242 (ETH_ALEN): New macro.
2243 (struct ether_addr): Use it for length of ether_addr_octet.
2244
2752f338
RM
2245 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2246 (setdb): Don't call __nss_configure_lookup for "rpc".
2247 (do_test): Don't call test_rpc.
2248 (output_rpcent, test_rpc): Functions moved ...
2249 * sunrpc/test-rpcent.c: ... to this new file.
2250 * sunrpc/Makefile (tests): Add it.
2251
2cfe32bc
RM
2252 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2253 __xpg_sigpause.
2254 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2255 * nptl/tst-signal6.c: Likewise.
2256 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2257 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2258
e4693aa7
RM
2259 * configure.ac (libc_cv_cxx_link_ok): New check.
2260 Reset CXX to empty if it fails to link.
2261 * configure: Regenerated.
2262 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2263 bug-atexit3-lib only if $(CXX) is nonempty.
2264 * nptl/Makefile (tests): Likewise for tst-cancel24.
2265 (tests, tests-static): Likewise for tst-cancel24-static.
2266 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2267 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
2268 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2269 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 2270
8e2e833a
AS
22712015-03-04 Andreas Schwab <schwab@suse.de>
2272
2273 [BZ #17631]
2274 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2275 for non-GCC compilers.
2276 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2277 Likewise.
2278
85b29045
AZ
22792015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2280
2281 [BZ #17776]
2282 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2283 integer before bitwise and assembly operations.
2284 (feclearexcept): Likewise.
2285 * math/test-fenvinline.c: New file.
2286 * math/Makefile: Add test-fenvinline test.
2287
a0af371c
AM
22882015-03-03 Alan Modra <amodra@gmail.com>
2289
2290 [BZ #16512]
2291 * scripts/localplt.awk: Strip off symbol version.
2292 * NEWS: Mention bug fix.
2293
47465629
RM
22942015-03-02 Roland McGrath <roland@hack.frob.com>
2295
2296 * sysdeps/pthread/timer_routines.c
2297 (timer_free_list, thread_free_list, thread_active_list): Make static.
2298
6d08b022
JM
22992015-03-02 Joseph Myers <joseph@codesourcery.com>
2300
2301 [BZ #17779]
2302 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2303 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2304 Undefine.
2305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2306 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2307 Likewise.
2308 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2309 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2310 Likewise.
2311
c2c6d39f
PP
23122015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2313
2314 [BZ #18036]
2315 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2316 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2317
e8b6be00
AS
23182015-03-02 Andreas Schwab <schwab@suse.de>
2319
2320 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2321 variable name.
2322
1a2d98af
FW
23232015-03-02 Florian Weimer <fweimer@redhat.com>
2324
2325 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2326 Return error status.
2327
e7f07af5
AO
23282015-02-27 Alexandre Oliva <aoliva@redhat.com>
2329
2330 [BZ #15969]
2331 * locale/findlocale.c (_nl_find_locale): Introduce const
2332 version of loc_name and drop unsafe type casts.
2333
c7b19ca9
RM
23342015-02-27 Roland McGrath <roland@hack.frob.com>
2335
2336 * dlfcn/tststatic2.c (main): Converted to ...
2337 (do_test): ... this.
2338 (TEST_FUNCTION): New macro.
2339 Include test-skeleton.c.
2340
ef4ad06f
L
23412015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2342
2343 [BZ #17711]
2344 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2345 (tests-pie): Add vismain.
2346 (CFLAGS-vismain.c): New.
2347 * elf/vismain.c: Add comments for PIE requirement.
2348
2ca725c5
JM
23492015-02-27 Joseph Myers <joseph@codesourcery.com>
2350
2351 [BZ #18046]
2352 [BZ #18047]
2353 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2354 0x1p-56L as threshold for just returning the argument.
2355 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2356 0x1p-32L as threshold for just returning the argument.
2357 * math/auto-libm-test-in: Add more tests of atanh.
2358 * math/auto-libm-test-out: Regenerated.
2359 * sysdeps/i386/fpu/libm-test-ulps: Update.
2360 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2361
af96be34
WD
23622015-02-27 Wilco Dijkstra wdijkstr@arm.com
2363
2364 * string/bcopy.c (bcopy): Call memmove for performance.
2365
ddcf6798
WD
23662015-02-27 Wilco Dijkstra wdijkstr@arm.com
2367
2368 * string/bzero.c (__bzero): Call memset for performance.
2369
49f476f4
JDA
23702015-02-27 John David Anglin <dave.anglin@bell.net>
2371
b42e14ff 2372 [BZ #18068]
49f476f4
JDA
2373 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2374 to 00100000.
2375
f8ab5d38
JM
23762015-02-27 Joseph Myers <joseph@codesourcery.com>
2377
2378 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2379
380bd0fd
JM
23802015-02-26 Joseph Myers <joseph@codesourcery.com>
2381
31331a07
JM
2382 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2383 (__kernel_standard): Use CSTR macro when setting exc.name.
2384 * sysdeps/ieee754/Makefile [$(subdir) = math]
2385 (CFLAGS-k_standard.c): Remove variable.
2386
09220e66
JM
2387 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2388 setting p and q from "else if" to "else".
2389 (qzero): Likewise.
2390 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2391 (qone): Likewise.
2392 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2393 (qzerof): Likewise.
2394 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2395 (qonef): Likewise.
2396 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2397 (qzero): Likewise.
2398 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2399 (qone): Likewise.
2400
1d9ab20c
JM
2401 [BZ #18038]
2402 [BZ #18039]
2403 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2404 return pi/2 for arguments below 0x1p-113L.
2405 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2406 return pi/2 for arguments below 0x1p-106L.
2407 * math/auto-libm-test-in: Add more tests of acos.
2408 * math/auto-libm-test-out: Regenerated.
2409
ec0ce0d3
JM
2410 [BZ #16351]
2411 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2412 (MO): New macro.
2413 (__ieee754_asin): Force underflow exception for results with small
2414 absolute value.
2415 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2416 (MO): New macro.
2417 (__ieee754_asinf): Force underflow exception for results with
2418 small absolute value.
2419 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2420 (__ieee754_asin): Force underflow exception for results with small
2421 absolute value.
2422 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2423 (__ieee754_asinf): Force underflow exception for results with
2424 small absolute value.
2425 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2426 (__ieee754_asinl): Force underflow exception for results with
2427 small absolute value.
2428 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2429 (__ieee754_asinl): Force underflow exception for results with
2430 small absolute value.
2431 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2432 (__ieee754_asinl): Force underflow exception for results with
2433 small absolute value.
2434 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2435 Include <math.h>.
2436 * math/auto-libm-test-in: Do not mark underflow exceptions as
2437 possibly missing for bug 16351.
2438 * math/auto-libm-test-out: Regenerated.
2439
380bd0fd
JM
2440 [BZ #18030]
2441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2442 of power of 2 down when low part has opposite sign.
2443 * math/libm-test.inc (logb_test_data): Add more tests.
2444
4a28f4d5
AS
24452015-02-26 Andreas Schwab <schwab@suse.de>
2446
2447 [BZ #18032]
2448 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2449 over collating symbol inside a bracket expression. Minor cleanup.
2450 * posix/tst-fnmatch3.c (do_test): Add test case.
2451
524ae9ea
JM
24522015-02-26 Joseph Myers <joseph@codesourcery.com>
2453
2454 [BZ #18029]
2455 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2456 Adjust exponent of power of 2 down when low part has opposite
2457 sign.
2458 * math/libm-test.inc (ilogb_test_data): Add more tests.
2459
23d43090
AO
24602015-02-26 Alexandre Oliva <aoliva@redhat.com>
2461
2462 [BZ #15969]
2463 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2464 the previous change.
0d822a01
AO
2465
2466 [BZ #15969]
2467 * locale/findlocale.c (_nl_find_locale): Retry archive search
2468 after alias expansion.
2469
d19df6ac
RM
24702015-02-25 Roland McGrath <roland@hack.frob.com>
2471
ca681b7b
RM
2472 * iconv/tst-iconv3.c (main): Converted to ...
2473 (do_test): ... this.
2474 (TEST_FUNCTION): New macro.
2475 Include test-skeleton.c.
2476
fd1f2f1c
RM
2477 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2478 (convert): Make function static.
2479 (test_unalign): Likewise. Add const to argument pointee types.
2480 (main): Replace with static function do_test.
2481 Print "Succeeded." only if RET is zero.
2482 (TEST_FUNCTION): New macro.
2483 Include test-skeleton.c.
2484
d19df6ac
RM
2485 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2486 returns a null pointer.
2487
115e0de7
AZ
24882015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2489
2490 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2491 to __memcpy_ppc only for static builds.
2492
137cef7d
JM
24932015-02-25 Joseph Myers <joseph@codesourcery.com>
2494
2495 [BZ #18020]
2496 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2497 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2498 * math/auto-libm-test-in: Add more tests of asinh.
2499 * math/auto-libm-test-out: Regenerated.
2500 * sysdeps/i386/fpu/libm-test-ulps: Update.
2501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2502
cb43bb0d
CW
25032015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2504
2505 [BZ #15850]
2506 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2507 and ip6_mtuinfo definitions here.
2508 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2509 in this define too. Update comment.
2510
9be1052b
BS
25112015-02-24 Benno Schulenberg <bensberg@justemail.net>
2512
2513 * elf/sprof.c (load_shobj): Tweak error message to match others.
2514
6807b1db
KE
25152015-02-24 Kevin Easton <kevin@guarana.org>
2516
2517 [BZ #16145] (partial fix)
2518 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2519 to reduce lock contention.
2520
b433df00
ML
25212015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2522
2523 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2524 (struct timex): Update time comment.
2525 (ADJ_SETOFFSET): Define.
2526
440169d6
JM
25272015-02-24 Joseph Myers <joseph@codesourcery.com>
2528
2529 [BZ #18019]
2530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2531 2**56 not 2**28 as threshold for log (2x) formula.
2532 * math/auto-libm-test-in: Add more tests of acosh.
2533 * math/auto-libm-test-out: Regenerated.
2534 * sysdeps/i386/fpu/libm-test-ulps: Update.
2535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2536
ba7d2c54
MF
25372015-02-24 Mike Frysinger <vapier@gentoo.org>
2538
2539 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2540 parenthesis around the buf assignment.
2541 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2542
9438b237
JM
25432015-02-24 Joseph Myers <joseph@codesourcery.com>
2544
2545 [BZ #16783]
2546 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2547 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2548 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2549 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2550 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2551 * math/libm-test.inc (scalb_test_data): Add more tests.
2552
6909d276
PP
25532015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2554
2555 [BZ #17916]
2556 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2557 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2558
65f6f938
ER
25592015-02-24 Eric Rannaud <e@nanocritical.com>
2560
2561 [BZ #17523]
2562 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2563 * io/bits/fcntl2.h (open): Use it.
2564 (openat): Likewise.
2565 * io/open.c (__libc_open): Likewise.
2566 * io/open64.c (__libc_open64): Likewise.
2567 * io/open64_2.c (__open64_2): Likewise.
2568 * io/open_2.c (__open_2): Likewise.
2569 * io/openat.c (__openat): Likewise.
2570 * io/openat64.c (__openat64): Likewise.
2571 * io/openat64_2.c (__openat64_2): Likewise.
2572 * io/openat_2.c (__openat_2): Likewise.
2573 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2574 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2575 * sysdeps/posix/open64.c (__libc_open64): Likewise.
2576 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2577 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2578 (__open_nocancel): Likewise.
2579 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2580 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2581 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2582
3e3002ff
SP
25832015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2584
2585 [BZ #14841]
2586 * resolv/gethnamaddr.c (getanswer): Skip logging if
2587 RES_USE_DNSSEC is set.
2588 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2589
9813dd58
MF
25902015-02-24 Mike Frysinger <vapier@gentoo.org>
2591
2592 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2593
7b1ec6a0
AO
25942015-02-23 Alexandre Oliva <aoliva@redhat.com>
2595
2596 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2597 201304L, for Unicode 7.
2598
d49499c1
L
25992015-02-23 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 [BZ #17836]
2602 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2603 shared library. Add gmon-start.os otherwise.
2604 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2605 $(objpfx)gmon-start.os if builing shared library.
2606 ($(objpfx)g$(static-start-installed-name)): Likewise.
2607
51225803
AS
26082015-02-23 Andreas Schwab <schwab@suse.de>
2609
2610 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2611
bdf1ff05
PP
26122015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2613
2614 [BZ #17269]
2615 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2616 (enlarge_userbuf): Likewise.
2617
95296112
CLT
26182015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
2619
2620 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2621 * math/atest-exp.c (TIMEOUT): Adjust to 200.
2622 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2623 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2624
e4a399dc
JM
26252015-02-20 Joseph Myers <joseph@codesourcery.com>
2626
2627 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2628 expression inside statement expression.
2629
7133957f
SL
26302015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2631
2632 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2633 <sysdeps/nptl/lowlevellock.h> and remove macros and
2634 functions that are now defined there.
2635 (SYS_futex): Remove.
2636 (lll_compare_and_swap): Remove.
2637 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2638
40176158
JM
26392015-02-19 Joseph Myers <joseph@codesourcery.com>
2640
2641 [BZ #17999]
2642 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2643 instead of scandirat.
2644 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2645 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2646 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2647 __scandirat.
2648 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2649 (__scandirat): Declare. Use libc_hidden_proto.
2650 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2651 Remove variable.
2652 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2653
4629c866
JM
26542015-02-18 Joseph Myers <joseph@codesourcery.com>
2655
2656 [BZ #15319]
2657 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2658 (MO): New macro.
2659 (__ieee754_atan2): For results with small absolute value, force
2660 underflow exception and remove excess range and precision from
2661 return value.
2662 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2663 (MO): New macro.
2664 (__ieee754_atan2f): For results with small absolute value, force
2665 underflow exception and remove excess range and precision from
2666 return value.
2667 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2668 (MO): New macro.
2669 (__atan): For results with small absolute value, force underflow
2670 exception and remove excess range and precision from return value.
2671 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2672 (MO): New macro.
2673 (__atanf): For results with small absolute value, force underflow
2674 exception and remove excess range and precision from return value.
2675 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2676 <math.h>.
2677 (__ieee754_atan2): Force underflow exception for results with
2678 small absolute value.
2679 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2680 <math_private.h>.
2681 (atan): Force underflow exception for results with small absolute
2682 value.
2683 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2684 (__atanf): Force underflow exception for results with small
2685 absolute value.
2686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2687 <math.h>.
2688 (__atanl): Force underflow exception for results with small
2689 absolute value.
2690 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2691 (__atanl): Force underflow exception for results with small
2692 absolute value.
2693 * sysdeps/x86/fpu/bits/mathinline.h
2694 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2695 (__ieee754_atan2): Only define inline for long double.
2696 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2697 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2698 * math/auto-libm-test-in: Do not mark underflow exceptions as
2699 possibly missing for bug 15319. Add more tests of atan2.
2700 * math/auto-libm-test-out: Regenerated.
2701 * math/libm-test.inc (casin_test_data): Do not mark underflow
2702 exceptions as possibly missing for bug 15319.
2703 (casinh_test_data): Likewise.
2704 * sysdeps/i386/fpu/libm-test-ulps: Update.
2705
9ee16d8b
SE
27062015-02-18 Steve Ellcey <sellcey@imgtec.com>
2707
2708 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2709 * sysdeps/mips/bits/endian.h: Fix comments.
2710
4ffb1771
JM
27112015-02-18 Joseph Myers <joseph@codesourcery.com>
2712
2713 [BZ #17996]
2714 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2715 (hdestroy_r): Likewise.
2716 (hsearch_r): Likewise.
2717 (__hcreate_r): Declare and use libc_hidden_proto.
2718 (__hdestroy_r): Likewise.
2719 (__hsearch_r): Likewise.
2720 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2721 (hcreate): Call __hcreate_r instead of hcreate_r.
2722 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2723 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2724 as weak alias of __hcreate_r.
2725 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2726 __hdestroy_r.
2727 (hsearch_r): Rename to __hsearch_r and define as weak alias of
2728 __hsearch_r.
2729 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2730 Remove variable.
2731 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2732 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2733 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2734 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2735
94c5a52a
SP
27362015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2737
2738 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2739 arena_lock into a single arena_get.
2740
8a35c3fe
CD
27412015-02-17 Carlos O'Donell <carlos@redhat.com>
2742
2743 * dl-reloc.c: Inlucde libc-internal.h.
2744 (_dl_try_allocate_static_tls): Call ALIGN_UP.
2745 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2746 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2747 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2748 (grow_heap): Likewise.
2749 * malloc/malloc.c: Include libc-internal.h.
2750 (do_check_malloc): Call powerof2.
2751 (sysmalloc): Use pagesize. Call ALIGN_UP.
2752 (systrim): Use pagesize.
2753 (mremap_chunk): Use pagesize. Call ALIGN_UP.
2754 (__libc_valloc): Use pagesize.
2755 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2756
1a2325c0
JM
27572015-02-17 Joseph Myers <joseph@codesourcery.com>
2758
2759 [BZ #17991]
2760 * include/sys/resource.h (__getrlimit64): Declare. Use
2761 libc_hidden_proto.
2762 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2763 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
2764 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2765 getrlimit64.
2766 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2767 __getrlimit64.
2768 [!getrlimit64] (getrlimit64): Define as weak alias of
2769 __getrlimit64. Use libc_hidden_weak.
2770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2771 using __getrlimit64 not __new_getrlimit64.
2772 (__GI_getrlimit64): Likewise.
2773 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2774 Likewise.
2775 (__GI_getrlimit64): Likewise.
2776 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2778 (getrlimit): Add __getrlimit64 alias.
2779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2780 Likewise.
2781 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2782 Remove variable.
2783 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2784 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2785
8ae4bb5a
PP
27862015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2787
2788 * libio/fileops.c: Add missing sys/mman.h
2789 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2790
18a218b7
JM
27912015-02-17 Joseph Myers <joseph@codesourcery.com>
2792
2793 * manual/math.texi (Errors in Math Functions): Clarify goals
2794 regarding inexact and underflow exceptions.
2795
e72ad0ef
SE
27962015-02-17 Steve Ellcey <sellcey@imgtec.com>
2797
2798 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2799 * sysdeps/mips/memset.S: Ditto.
2800
2caa4099
SE
28012015-02-17 Steve Ellcey <sellcey@imgtec.com>
2802
2803 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2804
f20bfc9b
SL
28052015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2806
2807 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2808 (__v1longjmp): Remove versioned symbol.
2809 (__v1siglongjmp): Remove alias and versioned symbol.
2810 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2811 (__v2siglongjmp): Likewise.
2812
71c06b69
TR
28132015-02-16 Torvald Riegel <triegel@redhat.com>
2814
2815 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2816
a9a05adb
MF
28172015-02-16 Mike Frysinger <vapier@gentoo.org>
2818
2819 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2820
ce8fc784
JM
28212015-02-16 Joseph Myers <joseph@codesourcery.com>
2822
2823 [BZ #17987]
2824 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2825 zero result does not depend on the sign resulting from
2826 subtraction.
2827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2828 Likewise.
2829 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2830 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2832 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2833 * math/libm-test.inc (remquo_test_data): Add more tests.
2834
0d7036bd
PE
28352015-02-16 Paul Eggert <eggert@cs.ucla.edu>
2836
2837 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2838 Problem reported by J William Piggott.
2839
86c56b16
JM
28402015-02-16 Joseph Myers <joseph@codesourcery.com>
2841
a820f9b3
JM
2842 [BZ #17978]
2843 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2844 products 4 * y and 2 * y where those would overflow.
2845 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2846 Likewise.
2847 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2848 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2849 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2850 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2851 * math/libm-test.inc (remquo_test_data): Add more tests.
2852
be802953
JM
2853 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2854
e5e72fe9
JM
2855 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2856 [defined _COMPILING_NEWLIB].
2857 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2858 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2859
86c56b16
JM
2860 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2861 [!defined __mips_isa_rev || __mips_isa_rev < 6].
2862
35264d14
TR
28632015-02-16 Torvald Riegel <triegel@redhat.com>
2864
2865 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2866 acquired.
2867
6f49e32a
MF
28682015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
2869
2870 [BZ #17792]
2871 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2872 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2873 HOST_STACK_END_ADDR): Likewise.
2874
e525154e
SE
28752015-02-13 Steve Ellcey <sellcey@imgtec.com>
2876
2877 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2878 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2879 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2880
4ab770b7
RM
28812015-02-13 Roland McGrath <roland@hack.frob.com>
2882
2883 * sysdeps/generic/c++-types.data: New file.
2884 * sysdeps/generic/ld.abilist: New file.
2885 * sysdeps/generic/libBrokenLocale.abilist: New file.
2886 * sysdeps/generic/libanl.abilist: New file.
2887 * sysdeps/generic/libc.abilist: New file.
2888 * sysdeps/generic/libcrypt.abilist: New file.
2889 * sysdeps/generic/libdl.abilist: New file.
2890 * sysdeps/generic/libm.abilist: New file.
2891 * sysdeps/generic/libpthread.abilist: New file.
2892 * sysdeps/generic/libresolv.abilist: New file.
2893 * sysdeps/generic/librt.abilist: New file.
2894
d9afe48d
JM
28952015-02-13 Joseph Myers <joseph@codesourcery.com>
2896
2897 [BZ #17569]
2898 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2899 Compute absolute value of x as modified by fmod, not original
2900 value of x.
2901 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2902 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
2903 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
2904 RUN_TEST_ffI_f1_mod8.
2905 (remquo_test_data): Add more tests.
2906
3846188b
RM
29072015-02-13 Roland McGrath <roland@hack.frob.com>
2908
2909 * sysdeps/init_array/pt-crti.S: New file.
2910
95c26233
JM
29112015-02-13 Joseph Myers <joseph@codesourcery.com>
2912
2913 [BZ #17967]
2914 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2915 __builtin_fmaf instead of relying on contraction of a * b + c.
2916
3f293d61
WP
29172015-02-12 J William Piggott <elseifthen@gmx.com>
2918
2919 [BZ #17969]
2920 * manual/time.texi: correct the zoneinfo path in the TZ Variable
2921 node.
2922
e8bd5286
JM
29232015-02-12 Joseph Myers <joseph@codesourcery.com>
2924
2925 [BZ #17964]
2926 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2927 __builtin_fma instead of relying on contraction of a * b + c.
2928
04f5a636
RM
29292015-02-12 Roland McGrath <roland@hack.frob.com>
2930
96a15749
RM
2931 * Makeconfig (ASFLAGS): Add -Werror=undef.
2932 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2933 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2934 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2935
04f5a636
RM
2936 * Makeconfig (after-link): New variable.
2937 (+link-pie, +link-pie-tests): Use it.
2938 (+link-static, +link-static-tests): Likewise.
2939 (+link, +link-tests): Likewise.
2940 * Makerules (build-module, build-module-asneeded): Likewise.
2941 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2942 Likewise.
2943 * elf/Makefile ($(objpfx)ld.so): Likewise.
2944
87a629c5
RS
29452015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2946
2947 [BZ #17965]
2948 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2949 both struct timeval and struct timespec.
2950
03d95bd4
JM
29512015-02-12 Joseph Myers <joseph@codesourcery.com>
2952
2953 [BZ #16560]
2954 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2955 and redefine.
2956 (__ieee754_exp2l): Do not multiply small fractional parts by
2957 M_LN2l.
2958 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2959 small argument.
2960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2961 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2962 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2963 * math/auto-libm-test-in: Add more tests of exp2.
2964 * math/auto-libm-test-out: Regenerated.
2965
98408b95
RS
29662015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2967
2968 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2969 unaligned path.
2970
6f741503
AZ
29712015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2972
2973 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2974 little endian.
2975
2868e070
AS
29762015-02-12 Andreas Schwab <schwab@suse.de>
2977
2978 [BZ #15790]
2979 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2980 Filter out elision flags from value returned in kind.
2981 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2982 * nptl/tst-pthread-mutexattr.c: New file.
2983
ebf27d12
ST
29842015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2985
2986 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2987 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2988 into gnu-gnu, and update comment to refer to abi-tags.
2989
d435569c
JM
29902015-02-11 Joseph Myers <joseph@codesourcery.com>
2991
2992 [BZ #15467]
2993 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2994 (__sincos): Set errno to EDOM for infinite argument.
2995 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2996 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2997 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2998 (__sincosl): Set errno to EDOM for infinite argument.
2999 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3000 (__sincosl): Set errno to EDOM for infinite argument.
3001 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3002 (__sincosl): Set errno to EDOM for infinite argument.
3003 * math/libm-test.inc (sincos_test_data): Test errno setting.
3004
d35273f2
LH
30052015-02-11 Leonhard Holz <leonhard.holz@web.de>
3006
3007 * string/strxfrm_l.c: Remove #define STRCMP.
3008 * string/strcoll_l.c: Remove #define STRLEN.
3009 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3010 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3011
306bc0d1
JM
30122015-02-10 Joseph Myers <joseph@codesourcery.com>
3013
3014 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3015 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3016 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3017 * sysdeps/mips/mips64/Makefile: ... here.
3018 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3019 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3020 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3021 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3022 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3023 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3024 * sysdeps/mips/mips64/n64/Implies: Likewise.
3025
92b67e8d
RM
30262015-02-10 Roland McGrath <roland@hack.frob.com>
3027
3028 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3029 <sys/time.h>, <string.h>, and <errno.h>.
3030 (dest_offset, dest_address, value, zero): Remove unused variables.
3031 (ldouble): Remove typedef.
3032 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3033 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3034 1). Fix code style.
3035 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3036 (check): Function removed.
3037 (CHECK): New macro.
3038 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3039 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3040 Don't call set_sigaction_FP and remove_sigaction_FP here.
3041 (ldouble_test): Just use 'long double' as macro argument, no need for
3042 the 'ldouble' typedef.
3043 (do_test): Set up SIGFPE handler at start, using plain signal rather
3044 than sigaction. Fix code style.
3045
132a1328
EF
30462015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3047
3048 [BZ #17949]
3049 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3050 jump label.
3051
3001e54c
AZ
30522015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3053
bc0cdc49
AZ
3054 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3055 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3056
83658961
AZ
3057 * sysdeps/powerpc/configure.ac: Remove file.
3058 * sysdeps/powerpc/configure: Likewise.
3059
10169938
AZ
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3061 [sysdep_routines]: Remove wordcopy-power6 object.
3062 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3063 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3064 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3065 (__memmove_ppc32): Likewise.
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3067 file.
3068 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3069 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3070 Remove preprocessor.
3071
8548a53d
AZ
3072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3073 [sysdep_routines]: Remove wide chars objects.
3074 [wcsmbs]: New rule for wide char objects.
3075
b2692114
AZ
3076 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3077 Remove wordcopy-power6 obejct.
3078 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3079 Use local call for wordcopy and memcpy symbols.
3080 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3081 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3082 implementation for loader.
3083 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3084
18e270aa
AZ
3085 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3086 Remove wordcopy-power7 object.
3087 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3088 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3089 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3090 (_wordcopy_fwd_dest_aligned): Likewise.
3091 (_wordcopy_bwd_aligned): Likewise.
3092 (_wordcopy_bwd_dest_aligned): Likewise.
3093
6f0993a6
AZ
3094 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3095 Rewrite to call __memmove_ppc instead of include default
3096 implementation.
3097
3001e54c
AZ
3098 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3099 Remove wide chars objects.
3100 [wcsmbs]: New rule for wide char objects.
3101
59b61c82
AS
31022015-02-09 Andreas Schwab <schwab@suse.de>
3103
3104 [BZ #17912]
3105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3106 in terms of __O_DIRECTORY.
3107
ebd7aede
ST
31082015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3109
3110 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
3111 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3112 call PTR_MANGLE.
3113 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3114 PTR_DEMANGLE.
ebd7aede 3115
3999d26e
PE
31162015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3117
3118 Add ersatz _Static_assert on older C hosts
3119 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3120 pre-C11 C platform that is not known to support _Static_assert.
3121
e9a5bc1c
ST
31222015-02-07 Richard Braun <rbraun@sceen.net>
3123
3124 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3125 sigstate.
e86c5b64 3126 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 3127
e2049d17
ST
31282015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3129
3130 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3131 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
3132 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3133 instead of int.
3134 * misc/fchflags.c (fchflags): Likewise.
3135 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3136 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3137 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3138 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3139 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3140 Declare macros.
3141 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
3142 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3143 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
3144 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3145 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3146 45.
a9a002fb
ST
3147 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3148 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
3149 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3150 MACH_RCV_TIMED_OUT.
f96ec27a
ST
3151 * hurd/hurd/signal.h (_hurd_self_sigstate,
3152 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3153 Explicit casts from void *.
4fc81a77 3154 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 3155 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 3156
f05826f0
ST
3157 [BZ #4719]
3158 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3159 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3160 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3161 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3162 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3163 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3164
a5eb23de
ST
3165 [BZ #17944]
3166 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3167 duplicates ADDR->sun_path with sockaddr LEN limitation.
3168 * sysdeps/mach/hurd/connect.c: Include <string.h>
3169 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3170 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3171 * sysdeps/mach/hurd/sendto.c: Likewise.
3172 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3173 implementing it by hand.
3174
ac9e0e5e
RM
31752015-02-06 Roland McGrath <roland@hack.frob.com>
3176
f8d1bb4c
RM
3177 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3178 Use sfi_breg on ldr.
3179 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3180 Likewise.
3181
022f4812
RM
3182 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3183 it's defined.
3184 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3185 Test SIGSETXID only if it's defined.
3186
1ac074e6
RM
3187 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3188
f50ad78b
RM
3189 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3190 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3191
9e7265f4
RM
3192 * nptl/tst-align2.c: Moved ...
3193 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3194 * nptl/Makefile (tests): Remove tst-align2.
3195 * sysdeps/unix/sysv/linux/Makefile
3196 [$(subdir) = nptl] (tests): Add tst-align-clone.
3197 * nptl/tst-getpid1.c: Moved ...
3198 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3199 * nptl/tst-getpid2.c: Moved ...
3200 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3201 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3202 * sysdeps/unix/sysv/linux/Makefile
3203 [$(subdir) = nptl] (tests): ... here.
3204 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3205 * sysdeps/unix/sysv/linux/Makefile
3206 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3207
62ad2abc
RM
3208 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3209 Drop trailing \n from perror argument. Use return rather than exit.
3210
cfa69b0b
RM
3211 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3212 on [SA_SIGINFO].
3213 * nptl/tst-cancel21.c (do_test): Likewise.
3214 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3215 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3216 [!SA_SIGINFO]: Make it a stub test.
3217
82727806
RM
3218 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3219 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3220
da3a1594
RM
3221 * posix/tst-getlogin.c: Move to ...
3222 * login/tst-getlogin.c: ... here.
3223 * posix/Makefile (tests): Move tst-getlogin to ...
3224 * login/Makefile (tests): ... here.
3225
b65c0ff9
RM
3226 * libio/tst-atime.c (do_test): Move local variables SV and E
3227 inside [ST_NOATIME] conditional.
3228
56606ab3
RM
3229 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3230
ebf7d6ee
RM
3231 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3232
ca0e0675
RM
3233 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3234 (wait_code): New function replaces macro.
3235 Call nanosleep rather than syscall.
3236
8c28bbc6
RM
3237 * nptl/pt-system.c: Rewritten. Put everything under
3238 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3239 Use IFUNC to redirect when possible.
3240
ec2a88b3
RM
3241 * nptl/pt-longjmp.c: Rewritten. Put everything under
3242 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3243 Use IFUNC to redirect when possible.
3244
beff1d13
RM
3245 * nptl/pt-fork.c: Rewritten. Put everything under
3246 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3247 Use IFUNC to redirect when possible.
3248 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3249
ea02c6b8
RM
3250 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3251 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3252 unconditionally nowadays. This included the only reference to
3253 __vdso_clock_gettime that appears outside libc proper.
3254 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3255 Remove version set (containing only __vdso_clock_gettime).
3256 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3257 Add attribute_hidden.
3258 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3259 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3260 libc_hidden_data_def.
3261 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3262 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3263
a1309c2b
RM
3264 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3265 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3266 setrpcent, and getrpcport to ...
3267 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3268 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3269 getrpcbynumber_r, and getrpcent_r to ...
3270 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3271 * inet/getrpcbyname.c: Moved ...
3272 * sunrpc/getrpcbyname.c: ... here.
3273 * inet/getrpcbyname_r.c: Moved ...
3274 * sunrpc/getrpcbyname_r.c: ... here.
3275 * inet/getrpcbynumber.c: Moved ...
3276 * sunrpc/getrpcbynumber.c: ... here.
3277 * inet/getrpcbynumber_r.c: Moved ...
3278 * sunrpc/getrpcbynumber_r.c: ... here.
3279 * inet/getrpcent.c: Moved ...
3280 * sunrpc/getrpcent.c: ... here.
3281 * inet/getrpcent_r.c: Moved ...
3282 * sunrpc/getrpcent_r.c: ... here.
3283 * inet/Makefile (routines): Move those to ...
3284 * sunrpc/Makefile (routines): ... here.
3285 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3286 the $(subdirs) list.
3287 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3288 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3289 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3290 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3291
ac9e0e5e
RM
3292 * elf/Makefile (routines): Include $(all-dl-routines), not just
3293 $(dl-routines).
3294 (rtld-routines): Likewise. Use = rather than :=.
3295 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3296 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3297 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3298 * sysdeps/arm/Makefile: Likewise.
3299 * sysdeps/i386/Makefile: Likewise.
3300 * sysdeps/x86_64/Makefile: Likewise.
3301 * sysdeps/hppa/Makefile [$(subdir) = elf]
3302 (sysdep_routines, sysdep-rtld-routines): Don't add
3303 $(sysdep-dl-routines) to these.
3304 * sysdeps/ia64/Makefile: Likewise.
3305 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3306 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3307 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3308 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3309 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3310 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3312 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3313 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3314 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3315 these; sysdep-dl-routines alone is enough.
3316
639e42eb
JM
33172015-02-06 Joseph Myers <joseph@codesourcery.com>
3318
1c7a4a51
JM
3319 [BZ #17932]
3320 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3321 where multiplication results in zero and third argument is finite
3322 and nonzero.
3323 * math/auto-libm-test-in: Add more tests of fma.
3324 * math/auto-libm-test-out: Regenerated.
3325
61f006c1
JM
3326 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3327 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3328 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3329 (_FP_CMP_EQ): Likewise.
3330 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3331
639e42eb
JM
3332 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3333 extra argument CHECK_NAN. Redefine as wrapper around
3334 _FP_EXTEND_CNAN.
3335
3c0c543b
CD
33362015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3337
4e42b5b8
CD
3338 * version.h (RELEASE): Set to "stable".
3339 (VERSION): Set to "2.21"
3340 * include/features.h (__GLIBC_MINOR__): Set to 21.
3341
3c0c543b
CD
3342 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3343
5bd80bfe 33442015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 3345 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
3346
3347 [BZ #16618]
3348 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3349 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3350 size in bytes. Store needed elements in wpmax. Use needed size
3351 in bytes for extend_alloca.
3352
3f823f48
CD
33532015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3354
04cb913d
CD
3355 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3356 binutls 2.25, and texinfo 5.2.
3357 * INSTALL: Regenerate.
3358 * sysdeps/nios2/configure: Regenerate.
3359 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3360 * manual/contrib.texi: Update.
3361 * po/be.po: Update.
3362 * po/bg.po: Update.
3363 * po/ca.po: Update.
3364 * po/cs.po: Update.
3365 * po/da.po: Update.
3366 * po/de.po: Update.
3367 * po/el.po: Update.
3368 * po/eo.po: Update.
3369 * po/es.po: Update.
3370 * po/fi.po: Update.
3371 * po/fr.po: Update.
3372 * po/gl.po: Update.
3373 * po/hr.po: Update.
3374 * po/hu.po: Update.
3375 * po/ia.po: Update.
3376 * po/id.po: Update.
3377 * po/it.po: Update.
3378 * po/ja.po: Update.
3379 * po/ko.po: Update.
3380 * po/lt.po: Update.
3381 * po/nb.po: Update.
3382 * po/nl.po: Update.
3383 * po/pl.po: Update.
3384 * po/pt_BR.po: Update.
3385 * po/ru.po: Update.
3386 * po/rw.po: Update.
3387 * po/sk.po: Update.
3388 * po/sl.po: Update.
3389 * po/sv.po: Update.
3390 * po/tr.po: Update.
3391 * po/uk.po: Update.
3392 * po/vi.po: Update.
3393 * po/zh_CN.po: Update.
3394 * po/zh_TW.po: Update.
3395
3f823f48
CD
3396 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3397 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3398 * sysdeps/hppa/dl-irel.h: Remove #warning.
3399 * sysdeps/hppa/entry.h: Provide prototype for
3400 __canonicalize_funcptr_for_compare and cast argument.
3401 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3402 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3403 * sysdeps/hppa/sotruss-lib.c: New file.
3404 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3405 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3406 (atomic_compare_and_exchange_bool_acq): Likewise.
3407 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3408 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3409
3410 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3411 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3412 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3413
34c56048
CLT
34142015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3415
3416 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3417 called function in non-PIC case.
3418
d4abeca5
DM
34192015-01-31 David S. Miller <davem@davemloft.net>
3420
edac0a60
DM
3421 * sysdeps/sparc/sparc32/bits/atomic.h
3422 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3423 unlock not after it.
3424 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3425 volatile register usage warnings from the compiler.
3426
d4abeca5
DM
3427 * sysdeps/sparc/nptl/sem_init.c: Delete.
3428 * sysdeps/sparc/nptl/sem_post.c: Delete.
3429 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3430 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3431 * sysdeps/sparc/sparc32/sem_init.c: New file.
3432 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3433 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3434 padding explicitly initialized.
3435 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3436 padding for in-semaphore spinlock.
3437 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3438 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3439 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3440 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3441 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3442 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3443 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3444 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3445 version.
3446 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3447 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3448
5f3d0b78
L
34492015-01-30 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 [BZ #17801]
3452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3453 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3454 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3455 New.
3456 (index_AVX_Fast_Unaligned_Load): Likewise.
3457 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3458 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3459 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3460 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3461 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3462 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3463 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3464 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3465 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3466
b658fdd8
AS
34672015-01-29 Andreas Schwab <schwab@suse.de>
3468
3469 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3470
3cb26316
SP
34712015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3472
3473 [BZ #17892]
3474 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3475
527de9e4
MS
34762015-01-28 Martin Sebor <msebor@redhat.com>
3477
3478 * math/README.libm-test: Clarify. Add "How to read the test output."
3479
06991eb8
CM
34802015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3481
3482 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3483 Define to 0.
3484
df341342
JM
34852015-01-28 Joseph Myers <joseph@codesourcery.com>
3486
3487 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3488 (__HAVE_64B_ATOMICS): Define to 0.
3489
08cee2a4
AZ
34902015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3491
d4d0ecb2
AZ
3492 [BZ #17885]
3493 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3494 value to set as new flag.
3495
08cee2a4
AZ
3496 [BZ #16576]
3497 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3498 and use _ARCH_PPCSQ instead.
3499 (__ieee754_sqrt): Likewise.
3500 (__ieee754_sqrtf): Likewise.
3501 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3502 _ARCH_PPCSQ is defined.
3503 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3504 fsqrt instruction.
3505 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3506 _ARCH_PPCSQ is defined.
3507 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3508 fsqrts instruction.
3509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3510
5fe8e359
AK
35112015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3512
3513 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3514 bug (GCC BZ #64739).
3515
24bb7432
AS
35162015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3517
fa20da31
AS
3518 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3519 Mark _retval as used.
3520 (lll_futex_wake_unlock): Likewise.
3521 (lll_futex_timed_wait_requeue_pi): Likewise.
3522
45819cbc
AS
3523 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3524 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3525 register variables.
3526
403cc231
AS
3527 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3528 libm_hidden_def.
3529
24bb7432
AS
3530 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3531 (__bswap_64): Mark as __always_inline.
3532
9317ea65
B
35332015-01-25 Bram <bug_rh@spam.wizbit.be>
3534
3535 [BZ #15378]
3536 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3537 when none of the search directories exist.
3538
0e87343e
AZ
35392015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3540
bea58013
AZ
3541 [BZ #17869]
3542 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3543 power8 in .machine directive.
3544
0e87343e
AZ
3545 [BZ #17868]
3546 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3547 set dependency from opd value.
3548
ede0236c
L
35492015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3550
3551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
3552 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3553 architecture.
ede0236c 3554
22971c35
L
35552015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3556
3557 [BZ #17870]
3558 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3559 with uint64_t.
3560 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3561 (uint64_t) 1.
e0da28a1 3562 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
3563 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3564 Replace 1UL with (uint64_t) 1.
3565 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3566 int with uint64_t.
3567
da5bf245
RM
35682015-01-23 Roland McGrath <roland@hack.frob.com>
3569
2ec2d703
RM
3570 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3571 (if_freenameindex): Likewise.
3572
da5bf245
RM
3573 * resource/getrlimit64.c: Add missing libc_hidden_def.
3574
d7423856
JM
35752015-01-22 Joseph Myers <joseph@codesourcery.com>
3576
3577 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3578 __label__.
3579 (_FP_FMA): Likewise.
3580 (_FP_TO_INT_ROUND): Likewise.
3581 (_FP_FROM_INT): Likewise.
3582
6b2ba95b
AZ
35832015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3584
3585 [BZ #16418]
3586 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3587 Make code racy and cancel safe.
3588
ccdb048d
CD
35892015-01-21 Carlos O'Donell <carlos@redhat.com>
3590
191220b3
CD
3591 * sysdeps/arm/unwind-resume.h: Fix copyright year.
3592 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3593 attribution.
3594
0897c551
CD
3595 * pwd/tst-getpw.c: Rewrite.
3596
ccdb048d
CD
3597 [BZ #17702]
3598 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3599 (modules-names): Add moddummy1 and moddummy2.
3600 ($(objpfx)tst-rec-dlopen): Define.
3601 * dlfcn/moddummy1.c: New file.
3602 * dlfcn/moddummy2.c: New file.
3603 * dlfcn/tst-rec-dlopen.c: New file.
3604 * elf/dl-cache.c (_dl_load_cache_lookup):
3605 Return char*. Copy result with alloca/strcpy/strdup.
3606 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3607 returns char*. Free cached. If not saving realname
3608 free cached.
3609 * elf/dl-open.c (dl_open_worker): Do not assert that
3610 _r_debug->r_state is RT_CONSISTENT.
3611 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3612 returns char*.
3613
042e1521
CD
36142015-01-21 Torvald Riegel <triegel@redhat.com>
3615 Carlos O'Donell <carlos@redhat.com>
3616
3617 [BZ #12674]
3618 * nptl/sem_waitcommon.c: New file.
3619 * nptl/sem_wait.c: Include sem_waitcommon.c.
3620 (__sem_wait_cleanup, do_futex_wait): Remove.
3621 (__new_sem_wait): Adapt.
3622 (__new_sem_trywait): New function.
3623 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3624 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3625 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3626 (sem_timedwait): Adapt.
3627 * nptl/sem_post.c (__new_sem_post): Adapt.
3628 (futex_wake): New function.
3629 (__old_sem_post): Add release MO fence.
3630 * nptl/sem_open.c (sem_open): Adapt.
3631 * nptl/sem_init.c (__new_sem_init): Adapt.
3632 (futex_private_if_supported): New function.
3633 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3634 (__old_sem_getvalue): Add using previous code.
3635 * sysdeps/nptl/internaltypes.h: Adapt.
3636 * nptl/tst-sem13.c (do_test): Adapt.
3637 * nptl/tst-sem11.c (main): Adapt.
3638 * nptl/sem_trywait.c: Remove.
3639 * nptl/DESIGN-sem.txt: Remove.
3640 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3641 (gen-as-const-headers): Remove structsem.sym.
3642 * nptl/structsem.sym: Remove.
3643 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3644 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3645 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3646 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3647 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3648 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3649 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3650 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3651 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3652 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3653 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3654 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3655 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3656 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3657 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3658 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3659 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3660 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3661 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3662 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3663 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3664 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3665
fe0e85af
CD
36662015-01-20 Carlos O'Donell <carlos@redhat.com>
3667
a8db092e
CD
3668 * INSTALL: Regenerated.
3669
fe0e85af
CD
3670 * po/libc.pot: Regenerated.
3671
522e6ee3
CLT
36722015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
3673 Sandra Loosemore <sandra@codesourcery.com>
3674 Andrew Jenner <andrew@codesourcery.com>
3675 Joseph Myers <joseph@codesourcery.com>
3676 Nathan Sidwell <nathan@codesourcery.com>
3677
3678 * NEWS: Mention new Nios II port.
3679 * sysdeps/nios2/Implies: New file.
3680 * sysdeps/nios2/Makefile: New file.
3681 * sysdeps/nios2/Subdirs: New file.
3682 * sysdeps/nios2/Versions: New file.
3683 * sysdeps/nios2/__longjmp.S: New file.
3684 * sysdeps/nios2/abort-instr.h: New file.
3685 * sysdeps/nios2/backtrace.c: New file.
3686 * sysdeps/nios2/bits/endian.h: New file.
3687 * sysdeps/nios2/bits/fenv.h: New file.
3688 * sysdeps/nios2/bits/link.h: New file.
3689 * sysdeps/nios2/bits/setjmp.h: New file.
3690 * sysdeps/nios2/bsd-_setjmp.S: New file.
3691 * sysdeps/nios2/bsd-setjmp.S: New file.
3692 * sysdeps/nios2/configure: New generated file.
3693 * sysdeps/nios2/configure.ac: New file.
3694 * sysdeps/nios2/crti.S: New file.
3695 * sysdeps/nios2/crtn.S: New file.
3696 * sysdeps/nios2/dl-init.c: New file.
3697 * sysdeps/nios2/dl-machine.h: New file.
3698 * sysdeps/nios2/dl-sysdep.h: New file.
3699 * sysdeps/nios2/dl-tls.h: New file.
3700 * sysdeps/nios2/dl-trampoline.S: New file.
3701 * sysdeps/nios2/gccframe.h: New file.
3702 * sysdeps/nios2/gmp-mparam.h: New file.
3703 * sysdeps/nios2/jmpbuf-offsets.h: New file.
3704 * sysdeps/nios2/jmpbuf-unwind.h: New file.
3705 * sysdeps/nios2/ldsodefs.h: New file.
3706 * sysdeps/nios2/libc-tls.c: New file.
3707 * sysdeps/nios2/libm-test-ulps: New file.
3708 * sysdeps/nios2/machine-gmon.h: New file.
3709 * sysdeps/nios2/math-tests.h: New file.
3710 * sysdeps/nios2/math_private.h: New file.
3711 * sysdeps/nios2/memusage.h: New file.
3712 * sysdeps/nios2/nptl/Makefile: New file.
3713 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3714 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3715 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3716 * sysdeps/nios2/nptl/pthreaddef.h: New file.
3717 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3718 * sysdeps/nios2/nptl/tls.h: New file.
3719 * sysdeps/nios2/preconfigure: New file.
3720 * sysdeps/nios2/s_fma.c: New file.
3721 * sysdeps/nios2/s_fmaf.c: New file.
3722 * sysdeps/nios2/setjmp.S: New file.
3723 * sysdeps/nios2/sfp-machine.h: New file.
3724 * sysdeps/nios2/sotruss-lib.c: New file.
3725 * sysdeps/nios2/stackguard-macros.h: New file.
3726 * sysdeps/nios2/stackinfo.h: New file.
3727 * sysdeps/nios2/start.S: New file.
3728 * sysdeps/nios2/sysdep.h: New file.
3729 * sysdeps/nios2/tls-macros.h: New file.
3730 * sysdeps/nios2/tst-audit.h: New file.
3731 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3732 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3733 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3734 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3735 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3736 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3737 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3738 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3739 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3740 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3741 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3742 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3743 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3744 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3745 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3746 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3747 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3748 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3749 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3750 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3751 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3752 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3753 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3754 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3755 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3756 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3757 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3758 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3759 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3760 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3761 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3762 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3763 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3764 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3765 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3766 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3767 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3768 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3769 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3770 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3771 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3772 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3773 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3774 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3775
026eb207
SL
37762015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3777
3778 [BZ #17844]
3779 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3780 (getutent): Use weak_alias in non SHARED case
3781 and default_symbol_version in SHARED case.
3782 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3783 (getutent_r, pututline): Likewise.
3784 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3785 (getutid): Likewise.
3786 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3787 (getutid_r): Likewise.
3788 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3789 (getutline): Likewise.
3790 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3791 (getutline_r): Likewise.
3792 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3793 (updwtmp): Likewise.
3794
1d532483
SL
37952015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3796
3797 [BZ #17848]
3798 * sysdeps/s390/s390-32/memcmp.S
3799 (memcmp_g5): Rename to __memcmp_g5.
3800 * sysdeps/s390/s390-32/memcpy.S
3801 (memcpy_g5): Rename to __memcpy_g5.
3802 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3803 (memcpy_mvcle) Rename to __memcpy_mvcle.
3804 * sysdeps/s390/s390-32/memset.S
3805 (memset_g5): Rename to __memset_g5.
3806 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3807 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3808 and use prefixed functions.
3809 * sysdeps/s390/s390-32/multiarch/memcmp.S
3810 (memcmp_z196): Rename to __memcmp_z196.
3811 (memcmp_z10): Rename to __memcmp_z10.
3812 (memcmp): Set alias to __memcmp_g5.
3813 (bcmp): Set alias to __memcmp_g5.
3814 * sysdeps/s390/s390-32/multiarch/memcpy.S
3815 (memcpy_z196): Rename to __memcpy_z196.
3816 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3817 (memcpy_z10): Rename to __memcpy_z10.
3818 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3819 (memcpy): Set alias to __memcpy_g5.
3820 * sysdeps/s390/s390-32/multiarch/memset.S
3821 (memset_z196): Rename to __memset_z196.
3822 Jump to __memset_mvcle instead of memset_mvcle.
3823 (memset_z10): Rename to __memset_z10.
3824 Jump to __memset_mvcle instead of memset_mvcle.
3825 (memset_mvcle) Rename to __memset_mvcle.
3826 (memset): Set alias to __memset_g5.
3827 * sysdeps/s390/s390-64/memcmp.S
3828 (memcmp_z900): Rename to __memcmp_z900.
3829 * sysdeps/s390/s390-64/memcpy.S
3830 (memcpy_z900): Rename to __memcpy_z900.
3831 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3832 (memcpy_mvcle) Rename to __memcpy_mvcle.
3833 * sysdeps/s390/s390-64/memset.S
3834 (memset_z900): Rename to __memset_z900.
3835 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3836 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3837 and use prefixed functions.
3838 * sysdeps/s390/s390-64/multiarch/memcmp.S
3839 (memcmp_z196): Rename to __memcmp_z196.
3840 (memcmp_z10): Rename to __memcmp_z10.
3841 (memcmp): Set alias to __memcmp_z900.
3842 (bcmp): Set alias to __memcmp_z900.
3843 * sysdeps/s390/s390-64/multiarch/memcpy.S
3844 (memcpy_z196): Rename to __memcpy_z196.
3845 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3846 (memcpy_z10): Rename to __memcpy_z10.
3847 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3848 (memcpy): Set alias to __memcpy_z900.
3849 * sysdeps/s390/s390-64/multiarch/memset.S
3850 (memset_z196): Rename to __memset_z196.
3851 Jump to __memset_mvcle instead of memset_mvcle.
3852 (memset_z10): Rename to __memset_z10.
3853 Jump to __memset_mvcle instead of memset_mvcle.
3854 (memset_mvcle) Rename to __memset_mvcle.
3855 (memset): Set alias to __memset_z900.
3856
53fbd169
JM
38572015-01-14 Joseph Myers <joseph@codesourcery.com>
3858
3859 [BZ #17748]
3860 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3861 __fesetenv instead of fesetenv.
3862
d639a363
SP
38632015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3864
3865 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3866 macro.
3867
d3b00f46
AZ
38682015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3869
ce6615c9
AZ
3870 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3871 regression on LE.
3872
d3b00f46
AZ
3873 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3874 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3875 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3876 strncmp-power8 object.
3877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3878 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3879 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3880 * NEWS: Update.
3881
72607db0
RS
38822015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3883 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3884
3885 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3886 trailing byte check.
3887
54dc5461
DM
38882015-01-13 David S. Miller <davem@davemloft.net>
3889
3890 * include/signal.h (__sigreturn): Guard with __USE_MISC.
3891
1c6e6f23
RM
38922015-01-13 Roland McGrath <roland@hack.frob.com>
3893
3894 * login/logout.c (logout): Use memset rather than bzero.
3895 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3896 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3897 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3898 (_gethtbyaddr): Likewise.
3899 * locale/programs/simple-hash.c (bcopy): Macro removed.
3900
96d6fd6c
AZ
39012015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3902
8bedcb5f
AZ
3903 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3904 Add strcmp-power8 object.
3905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3906 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3907 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3908 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3909 __strcmp_power8 implementation.
3910 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3911 * NEWS: Update.
3912
f06a4faf
AZ
3913 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3914 Add strncpy-power8 and stpncpy-power8 objects.
3915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3916 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3917 implementations.
3918 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3919 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3920 __stpncpy_power8 implementation.
3921 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3922 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3923 __strncpy_power8 implementation.
3924 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3925 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3926 * NEWS: Update.
3927
9f2f36e5
AZ
3928 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3929 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3930 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3931
96d6fd6c 3932 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
3933 strncat-power8 object.
3934 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3935 __strcat_power8 implementation.
3936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3937 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3938 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3939 optimized strcat for power8.
3940
3941 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
3942 strcpy-power8 and stpcpy-power8 objects.
3943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3944 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3945 implementations.
3946 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3947 multiarch stpcpy implementation for POWER8.
3948 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3949 multiarch strcpy implementation for POWER8.
3950 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3951 __strcpy_power8 function.
3952 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3953 stpcpy for POWER8.
3954 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3955 strcpy for POWER8.
3956 * NEWS: Update.
3957
0f9e5854
LH
39582015-01-13 Leonhard Holz <leonhard.holz@web.de>
3959
3960 [BZ #16009]
3961 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3962 weights and rules. Use do_xfrm_cached if data fits in cache,
3963 do_xfrm otherwise. Moved former main loop to...
3964 * (do_xfrm_cached): New function.
3965 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3966 find_idx, find_position and stack_push.
3967 * (find_idx): New function.
3968 * (find_position): Likewise.
3969 * localedata/sort-test.sh: Added test run for do_xfrm.
3970 * localedata/xfrm-test.c (main): Added command line option
3971 -nocache to run the test with strings that are too large for
3972 the STRXFRM cache.
3973
c60ec0e0
TR
39742015-01-13 Torvald Riegel <triegel@redhat.com>
3975
3976 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3977 variable to lll_futex_wake call, not the value itself.
3978
34e93d6c
JM
39792015-01-12 Joseph Myers <joseph@codesourcery.com>
3980
5a9e4c09
JM
3981 [BZ #17803]
3982 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3983 twom64. Adjust value to 0x1p-64L.
3984 (__scalblnl): Only return standard underflowing result for K <=
3985 -64 not K <= -63; adjust exponent for underflowing result by 64
3986 not 63.
3987 * math/libm-test.inc (scalbn_test_data): Add more tests.
3988 (scalbln_test_data): Likewise.
3989
34e93d6c
JM
3990 [BZ #17834]
3991 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3992 0x1p63L.
3993 (__scalblnl): Get new exponent of adjusted subnormal value from ES
3994 not HX.
3995 * math/libm-test.inc (scalbn_test_data): Add more tests.
3996 (scalbln_test_data): Likewise.
3997
ca677d3c
AZ
39982015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3999 Stefani Seibold <stefani@seibold.net>
4000
4001 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4002 (sysdep_routines): Add dl-vdso here, ...
4003 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4004 (sysdep_routines): ... not here.
4005 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4006 fallback when vDSO is not presented.
4007 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4008 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4009 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4010 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4011 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4012 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4013 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4014 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4015 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4017 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4018 fallback configurable symbol when vDSO is not available.
4019 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4020 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4021 be able to redefine fallback symbol when vDSO is not available.
4022 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4023 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4024
49a9f6ab 40252015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 4026
56cf2763
AZ
4027 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4028 (TLS_INIT_TP): Add tm_capable initialization.
4029 (TLS_DEFINE_INIT_TP): Likewise.
4030 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4031 TCB.
4032 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4033 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4034 calculation.
4035 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4036 transactoion is lock elision is built and TCB tm_capable is set.
4037 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4039 (INTERNAL_SYSCALL_NCS): Likewise.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4041 (INTERNAL_SYSCALL_NCS): Likewise.
4042 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4043
4b45943a
AZ
4044 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4045 for powerpc.
4046 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4047 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4048 and remove it for 32 bits case.
4049 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4051 initialization.
4052 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4053 Disable lock elision with rdlocks if elision is not available.
4054
8d2c0a59
AZ
4055 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4056 (sysdep_routines): Add lock elision objects.
4057 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4058 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4059 [pthread_mutex_t] (__elision): Add field.
4060 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4061 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4062 elision definitions for powerpc.
4063 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4064 implementation of lock elision for powerpc.
4065 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4066 implementation of timed lock elision for powerpc.
4067 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4068 implementation of trylock with lock elision for powerpc.
4069 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4070 implementaion of unlock for lock elision for powerpc.
4071 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4072 automatic enable lock elision for mutexes.
4073 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4074 transaction execution definitions for powerpc.
4075 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4076 definitions.
4077 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4078 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4079 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4080 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4081 * NEWS: Update.
4082
bc0ed9f7
RM
40832015-01-09 Roland McGrath <roland@hack.frob.com>
4084
4085 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4086 for #include of <shm-directory.h>.
4087
585d9c18
CLT
40882015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4089
4090 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4091 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4092
aee6626c
MF
40932015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4094
4095 [BZ #17791]
4096 * NEWS: Mention bug fix.
4097 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4098 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4099 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4100
9e560f48
TR
41012015-01-09 Torvald Riegel <triegel@redhat.com>
4102
4103 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4104
e1cfbd0c
TR
41052015-01-09 Torvald Riegel <triegel@redhat.com>
4106
4107 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4108
cf71e44f
DH
41092015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4110
4111 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4112 pointer and cast to uintptr_t.
4113
b360ee62
DH
41142015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4115
4116 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4117 removed.
4118 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4119
caff764e
DH
41202015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4121
4122 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4123 of 0.
4124
59ff172f
RM
41252015-01-08 Roland McGrath <roland@hack.frob.com>
4126
c97d27f1
RM
4127 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4128 <nptl/pthreadP.h> instead.
4129 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4130
08734ccd
RM
4131 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4132 already defined.
4133 [__SIGRTMIN] (init): Function removed.
4134 [__SIGRTMIN] (initialized): Variable removed.
4135 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4136 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4137 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4138 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4139 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4140 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4141 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4142 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4143 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4144 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4145 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4146 * sysdeps/nptl/allocrtsig.c: New file.
4147 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4148 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4149 * sysdeps/generic/testrtsig.h: File removed.
4150
7b052e33
RM
4151 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4152 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4153
cc40d25e
RM
4154 * nptl/nptl-init.c (pthread_functions): Conditionalize
4155 .ptr__nptl_setxid initialization on [SIGSETXID].
4156
9287adf0
RM
4157 * sysdeps/nptl/sys/procfs.h: New file.
4158 * nptl_db/Makefile (headers): Add it.
4159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4160
59ff172f
RM
4161 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4162 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4163 * nptl/pthread_attr_setaffinity.c: Include it.
4164 * nptl/pthread_setattr_default_np.c: Likewise.
4165 * nptl/check-cpuset.h: New file.
4166
b9205857
RH
41672015-01-08 Richard Henderson <rth@redhat.com>
4168
4169 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4170 (CFLAGS-tst-execstack-prog.c): Likewise.
4171 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4172
1a0a8d15
CLT
41732015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4174 Sandra Loosemore <sandra@codesourcery.com>
4175 Andrew Jenner <andrew@codesourcery.com>
4176 Joseph Myers <joseph@codesourcery.com>
4177 Nathan Sidwell <nathan@codesourcery.com>
4178
4179 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4180 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4181 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4182 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4183 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4184 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4185 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
4186 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4187 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4188 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4189 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4190 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4191 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
4192 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4193 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4194 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4195 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4196
dd6e8af6
AZ
41972015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198
4199 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4200 timespec struct member in syscall macro.
4201 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4202 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4203 first timeval struct member in syscall macro.
4204 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4205
8116321f
JM
42062015-01-07 Joseph Myers <joseph@codesourcery.com>
4207
4208 [BZ #17748]
4209 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4210 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4211 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4212 __feupdateenv and define as weak alias of __feupdateenv. Use
4213 libm_hidden_weak.
4214 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4215 libm_hidden_def.
4216 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4217 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4218 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4219 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4220 libm_hidden_def.
4221 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4222 __feupdateenv and define as weak alias of __feupdateenv. Use
4223 libm_hidden_weak.
4224 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4225 libm_hidden_def.
4226 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4227 __feupdateenv and define as weak alias of __feupdateenv. Use
4228 libm_hidden_weak.
4229 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4230 libm_hidden_def.
4231 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4232 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4233 (__feupdateenv): Likewise.
4234 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4235 __feupdateenv and define as weak alias of __feupdateenv. Use
4236 libm_hidden_weak.
4237 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4238 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4239 libm_hidden_def.
4240 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4241 function.
4242 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4243 libm_hidden_def.
4244 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4245 __feupdateenv instead of feupdateenv.
4246 (default_libc_feupdateenv_test): Likewise.
4247 (libc_feresetround_ctx): Likewise.
4248
882dfe18
AZ
42492015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4250
4251 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4252 prototype.
4253
39a12f8d
CM
42542015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4255
4256 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4257 COLL_SYM in a couple of places to avoid uninitialized variable
4258 wanings on tilegx gcc 4.8.2.
4259
dc400d7b
RE
42602015-01-07 Richard Earnshaw <rearnsha@arm.com>
4261
4262 * sysdeps/aarch64/strcpy.S: New file.
4263 * sysdeps/aarch64/stpcpy.S: New file.
4264 * NEWS: Updated.
4265
ec582ca0
RE
42662015-01-07 Richard Earnshaw <rearnsha@arm.com>
4267
4268 * sysdeps/aarch64/strrchr.S: New file.
4269 * NEWS: Updated.
4270
d5b1c5ed
EB
42712015-01-07 Eric Biggers <ebiggers3@gmail.com>
4272
4273 [BZ #17658]
4274 * stdlib/setenv.c: Fix memory leak when setting large,
4275 duplicate string.
4276
fb87ee96
VN
42772015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4278
60f046a8 4279 [BZ #17273]
fb87ee96
VN
4280 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4281 and tabs from buffer before parsing fstab entry.
4282 * misc/tst-mntent.c (main): Add test for mount entry with
4283 trailing spaces and tabs.
4284
cd42798a
JM
42852015-01-06 Joseph Myers <joseph@codesourcery.com>
4286
01238691
JM
4287 [BZ #17748]
4288 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4289 * math/fesetround.c (fesetround): Rename to __fesetround and
4290 define as weak alias of __fesetround. Use libm_hidden_weak.
4291 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4292 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4293 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4294 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4295 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4296 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4297 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4298 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4299 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4300 __fesetround_inline.
4301 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4302 __fesetround_inline instead of __fesetround.
4303 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4304 __fesetround and define as weak alias of __fesetround. Use
4305 libm_hidden_weak. Call __fesetround_inline instead of
4306 __fesetround.
4307 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4308 __fesetround and define as weak alias of __fesetround. Use
4309 libm_hidden_weak.
4310 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4311 Likewise.
4312 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4314 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4315 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4316 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4317 __fesetround and define as weak alias of __fesetround. Use
4318 libm_hidden_weak.
4319 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4320 __fesetround instead of fesetround.
4321 (default_libc_feholdexcept_setround): Likewise.
4322 (libc_feholdsetround_ctx): Likewise.
4323 (libc_feholdsetround_noex_ctx): Likewise.
4324
cd42798a
JM
4325 [BZ #17748]
4326 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4327 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4328 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4329 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4330 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4331 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4332 define as weak alias of __fesetenv. Use libm_hidden_weak.
4333 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4334 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4335 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4336 define as weak alias of __fesetenv. Use libm_hidden_weak.
4337 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4338 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4339 define as weak alias of __fesetenv. Use libm_hidden_weak.
4340 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4341 libm_hidden_def.
4342 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4343 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4344 Likewise.
4345 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4346 define as weak alias of __fesetenv. Use libm_hidden_weak.
4347 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4348 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4349 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4350 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4351 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4352 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4353 __fesetenv instead of fesetenv.
4354 (libc_feresetround_noex_ctx): Likewise.
4355 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4356 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4357 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4358 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4359 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4360 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4361 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4362 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4363 (__feupdateenv): Likewise.
4364 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4365 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4366 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4367 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4368
38949026
AJ
43692015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4370
1cf98e27 4371 [BZ #17806]
38949026
AJ
4372 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4373 addresses have been freed.
4374
5fe55e9c
AJ
43752015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4376
4377 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4378 and nservall.
4379
dc8ab018
OB
43802015-01-06 Ondřej Bílka <neleai@seznam.cz>
4381
4382 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4383 Clean up check_pf allocation pattern. addresses
4384
14bb4e57
AZ
43852015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386
4387 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4388 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4389 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4390 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4391 * nptl/pthread_join.c (pthread_join): Likewise.
4392 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4393 * sysdeps/posix/waitid.c (__waitid): Likewise.
4394 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4395 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4396 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4397 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4398 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4399 Likewise.
4400 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4401 (__libc_pread64): Likewise.
4402 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4403 (__libc_pwrite): Likewise.
4404 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4405 (__libc_pwrite64): Likewsie.
4406 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4407 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4408 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4409 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4410 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4411 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4412 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4414 Likewise.
4415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4416 (__libc_pread64): Likewise.
4417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4418 Likewise.
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4420 (__libc_pwrite64): Likewise.
4421 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4422 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4423 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4424 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4425 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4426 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4427 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4428 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4429 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4430 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4431 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4432 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4433 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4434 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4435 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4436 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4437 Likewise.
4438
10a5e112
AS
44392015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4440
4441 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4442 (CFLAGS-test-double.c): Likewise.
4443 (CFLAGS-test-ldouble.c): Likewise.
4444 (CPPFLAGS-test-ifloat.c): Likewise.
4445 (CPPFLAGS-test-idouble.c): Likewise.
4446 (CPPFLAGS-test-ildoubl.c): Likewise.
4447 (CFLAGS-test-test-fenv.c): Remove variable.
4448 (CFLAGS-test-misc.c): Likewise.
4449
57ada0e7
L
44502015-01-06 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 [BZ #17797]
4453 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4454 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4455 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4456 CLOCKS_PER_SEC == 1000000.
4457 * time/clocktest.c (main): Replace %ld with %jd and cast to
4458 intmax_t.
4459
46abb64d
RM
44602015-01-05 Roland McGrath <roland@hack.frob.com>
4461
4462 * sysdeps/generic/unwind-resume.h: New file.
4463 * sysdeps/gnu/unwind-resume.c: Include it.
4464 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4465 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4466 argument list.
4467 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4468 global rather than static.
4469 (_Unwind_Resume): Update user.
4470 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4471 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4472 rather than static. Add __attribute__ ((cold)).
4473 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4474 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4475 * sysdeps/arm/arm-unwind-resume.S: New file.
4476 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4477 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4478 * sysdeps/arm/Makefile [$(subdir) = csu]
4479 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4480 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4481 Add rt-arm-unwind-resume.
4482 [$(subdir) = nptl]
4483 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4484 Add pt-arm-unwind-resume.
4485 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4486 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4487
ef9faf13
JM
44882015-01-05 Joseph Myers <joseph@codesourcery.com>
4489
4490 [BZ #17748]
4491 * include/fenv.h (__feholdexcept): Declare. Use
4492 libm_hidden_proto.
4493 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4494 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4495 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4496 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4497 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4498 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4499 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4500 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4501 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4502 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4503 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4504 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4505 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4506 (feholdexcept): Likewise.
4507 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4508 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4509 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4510 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4511 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4512 __feholdexcept instead of feholdexcept.
4513 (default_libc_feholdexcept_setround): Likewise.
4514
295a453e
SE
45152015-01-05 Steve Ellcey <sellcey@imgtec.com>
4516
4517 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4518 to avoid using stl/str to align destination.
4519
882c4b9f
SE
45202015-01-05 Steve Ellcey <sellcey@imgtec.com>
4521
4522 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4523
ac4c11f5
JM
45242015-01-05 Joseph Myers <joseph@codesourcery.com>
4525
4526 [BZ #17796]
4527 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4528 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4529 Define as weak alias not strong alias.
4530
03403e30
SE
45312015-01-05 Steve Ellcey <sellcey@imgtec.com>
4532
4533 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4534 bltzal with addiupc.
4535 (RTLD_START): Ditto.
4536
1dca195e
CM
45372015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4538
00b8b9ba
SP
4539 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4540 for __vdso_* functions in declarations.
4541 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4542 definitions.
4543 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4544 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 4545
1dca195e
CM
4546 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4547 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4548 function with cast from llround().
4549 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4550 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4551 Define.
4552
a287953a
JM
45532015-01-05 Joseph Myers <joseph@codesourcery.com>
4554
ab70da77
JM
4555 [BZ #17793]
4556 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4557 Define as weak alias not strong alias.
4558
b8986484
JM
4559 [BZ #17635]
4560 * ctype/ctype-c99.c: New file. isblank implementation moved from
4561 ...
4562 * ctype/ctype-extn.c: ... here.
4563 (__isblank_l): Move to ...
4564 * ctype/ctype-c99_l.c: ... here. New file.
4565 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4566 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4567 Remove variable.
4568 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4569 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4570 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4571 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4572 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4573
a287953a
JM
4574 [BZ #17777]
4575 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4576 (posix_fadvise64): Define as weak alias not strong alias.
4577 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4578 (posix_fallocate64): Likewise.
4579 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4580 Remove variable.
4581 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4582 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4583 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4584 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4585 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4586
b1efe3bb
MF
45872015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
4588
4589 [BZ #16191]
4590 * NEWS: Mention bug fix.
4591 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4592 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4593 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4594 (HOST_STACK_END_ADDR): Likewise.
4595
9706dc5f
JM
45962015-01-02 Joseph Myers <joseph@codesourcery.com>
4597
b93c2205
JM
4598 [BZ #17748]
4599 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
4600 * math/fegetround.c (fegetround): Rename to __fegetround and
4601 define as weak alias of __fegetround. Use libm_hidden_weak.
4602 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4603 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4604 * sysdeps/arm/fegetround.c (fegetround): Likewise.
4605 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4606 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4607 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4608 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4609 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4610 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4611 Undefine after rather than before function definition; use
4612 parentheses around function name in definition.
4613 (__fegetround): Also undefine macro after function definition.
4614 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4615 __fegetround and define as weak alias of __fegetround. Use
4616 libm_hidden_weak. Do not undefine as macro.
4617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4618 Likewise.
4619 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4620 __fegetround and define as weak alias of __fegetround. Use
4621 libm_hidden_weak.
4622 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4623 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4624 * sysdeps/tile/math_private.h (__fegetround): New inline function.
4625 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4626 __fegetround and define as weak alias of __fegetround. Use
4627 libm_hidden_weak.
4628 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4629 __fegetround instead of fegetround.
4630
253a59cc
JM
4631 [BZ #17782]
4632 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4633 Condition macro definition on [__USE_MISC].
4634
27dae011
JM
4635 [BZ #17781]
4636 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4637 (struct sigaction): Change type of sa_flags field to int.
4638
172019c0
JM
4639 [BZ #17780]
4640 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4641 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4642 __glibc_reserved0.
4643
522ad1d6
JM
4644 * nptl/version.c (banner): Use single year in copyright notice.
4645
9706dc5f
JM
4646 * NEWS: Update copyright dates.
4647 * catgets/gencat.c (print_version): Likewise.
4648 * csu/version.c (banner): Likewise.
4649 * debug/catchsegv.sh: Likewise.
4650 * debug/pcprofiledump.c (print_version): Likewise.
4651 * debug/xtrace.sh (do_version): Likewise.
4652 * elf/ldconfig.c (print_version): Likewise.
4653 * elf/ldd.bash.in: Likewise.
4654 * elf/pldd.c (print_version): Likewise.
4655 * elf/sotruss.sh: Likewise.
4656 * elf/sprof.c (print_version): Likewise.
4657 * iconv/iconv_prog.c (print_version): Likewise.
4658 * iconv/iconvconfig.c (print_version): Likewise.
4659 * locale/programs/locale.c (print_version): Likewise.
4660 * locale/programs/localedef.c (print_version): Likewise.
4661 * login/programs/pt_chown.c (print_version): Likewise.
4662 * malloc/memusage.sh (do_version): Likewise.
4663 * malloc/memusagestat.c (print_version): Likewise.
4664 * malloc/mtrace.pl: Likewise.
4665 * manual/libc.texinfo: Likewise.
4666 * nptl/version.c (banner): Likewise.
4667 * nscd/nscd.c (print_version): Likewise.
4668 * nss/getent.c (print_version): Likewise.
4669 * nss/makedb.c (print_version): Likewise.
4670 * posix/getconf.c (main): Likewise.
4671 * scripts/test-installation.pl: Likewise.
4672 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4673
b8607aac
WN
46742015-01-02 Will Newton <will.newton@linaro.org>
4675
4676 * sysdeps/arm/armv7/configure: Removed.
4677 * sysdeps/arm/armv7/configure.ac: Likewise.
4678
b168057a
JM
46792015-01-02 Joseph Myers <joseph@codesourcery.com>
4680
4681 * All files with FSF copyright notices: Update copyright dates
4682 using scripts/update-copyrights.
4683 * intl/plural.c: Regenerated.
4684 * locale/programs/charmap-kw.h: Likewise.
4685 * locale/programs/locfile-kw.h: Likewise.
4686
b217c15f
SP
46872015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4688
4689 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4690
73a268c7
JM
46912014-12-31 Joseph Myers <joseph@codesourcery.com>
4692
4693 [BZ #17748]
4694 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4695 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4696 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4697 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4698 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4699 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4700 define as weak alias of __fegetenv. Use libm_hidden_weak.
4701 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4702 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4703 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4704 define as weak alias of __fegetenv. Use libm_hidden_weak.
4705 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4706 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4707 define as weak alias of __fegetenv. Use libm_hidden_weak.
4708 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4709 libm_hidden_def.
4710 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4712 Likewise.
4713 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4714 define as weak alias of __fegetenv. Use libm_hidden_weak.
4715 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4716 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4717 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4718 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4719 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4720 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4721 __fegetenv instead of fegetenv.
4722 (libc_feholdsetround_noex_ctx): Likewise.
4723
0bd95672
MF
47242014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
4725
4726 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4727 (Elf_MIPS_ABIFlags_v0): New structure.
4728 (EF_MIPS_FP64): Define.
4729 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4730 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4731 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4732 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4733 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4734 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4735 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4736 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4737 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4738 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4739 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4740 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4741 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4742 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4743 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4744 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4745 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4746 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4747 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4748 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4749 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4750 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4751 field.
4752 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4753 EF_MIPS_FP64.
4754 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4755 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4756 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4757 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4758 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4759 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4760 * sysdeps/mips/tst-abi-interlink.c: Likewise.
4761 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4762 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4763 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4764 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4765 record the current FP ABI extension.
4766 (mips-mode-switch): Define to show if kernel headers support mode
4767 switching.
4768 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4769 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4770 supported SYSV ABI version to 3.
4771 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4772 feature.
4773
f59ad976
RS
47742014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4775 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4776
4777 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4778 path.
4779 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4780
4a3d3999
JM
47812014-12-31 Joseph Myers <joseph@codesourcery.com>
4782
4783 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4784 __fegetround and redefine to call __fegetround. Remove condition
4785 on [!__NO_MATH_INLINES].
4786 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4787 function.
4788 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4789 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4790 Remove macro.
4791 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4792 instead of <fenv_libc.h>.
4793 (__llrintl): Call fegetround instead of __fegetround.
4794 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4795 instead of <fenv_libc.h>.
4796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4797 (__lrintl): Call fegetround instead of __fegetround.
4798 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4799 instead of <fenv_libc.h>.
4800 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4801 (__rintl): Call fegetround instead of __fegetround.
4802
195f3afc
SP
48032014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4804
4805 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4806 arrays.
4807
7062bd42
L
48082014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4809
4810 [BZ #17775]
4811 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4812 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4813 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4814
07256e18
AS
48152014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4816
4817 * sysdeps/i386/tls-macros.h: Include <features.h>.
4818 (TLS_LE): Use non-PIC version for GCC >= 5.0.
4819 (TLS_IE): Likewise.
4820 (TLS_LD): Likewise.
4821 (TLS_GD): Likewise.
4822 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4823 define for GCC >= 5.0.
4824
1ff950ad
CM
48252014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
4826
4827 * math/test-fenv.c (test_single_exception, set_single_exc,
4828 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4829 feexcp_mask_test, feenable_test, fe_single_test): Add
4830 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4831 case where they are not used.
4832 * math/libm-test.inc: Likewise.
4833 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4834 unused in the absence of FP rounding/exception support.
4835 * stdio-common/tst-printf-round.c: Likewise.
4836 * stdlib/tst-strtod-round.c: Likewise.
4837 * stdlib/tst-strtod-underflow.c: Likewise.
4838
0747f818
JM
48392014-12-30 Joseph Myers <joseph@codesourcery.com>
4840
4841 [BZ #17723]
4842 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4843 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4844 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4845 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4846 libm_hidden_weak.
4847 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4848 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4849 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4850 libm_hidden_def.
4851 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4852 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4853 libm_hidden_weak.
4854 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4855 Likewise.
4856 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4857 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4858 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4859 libm_hidden_weak.
4860 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4861 libm_hidden_def.
4862 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4863 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4864 (__feraiseexcept): Likewise.
4865 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4866 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4867 libm_hidden_weak.
4868 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4869 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4870 libm_hidden_def.
4871 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4872 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4873 Use libm_hidden_def.
4874 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4875 libm_hidden_def.
4876 (feraiseexcept): Define as weak not strong alias. Use
4877 libm_hidden_weak.
4878 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4879 New inline function. Factored out of ...
4880 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
4881 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4882 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4883 feraiseexcept.
4884 * math/w_acos.c (__acos): Likewise.
4885 * math/w_asin.c (__asin): Likewise.
4886 * math/w_ilogb.c (__ilogb): Likewise.
4887 * math/w_j0.c (y0): Likewise.
4888 * math/w_j1.c (y1): Likewise.
4889 * math/w_jn.c (yn): Likewise.
4890 * math/w_log.c (__log): Likewise.
4891 * math/w_log10.c (__log10): Likewise.
4892 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4893 * sysdeps/aarch64/fpu/math_private.h
4894 (libc_feupdateenv_test_aarch64): Likewise.
4895 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4896 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4897 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4898 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4899 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4900 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4901 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4902 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4903 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4904 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4905
8d2b2763
L
49062014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4907
4908 [BZ #17732]
4909 * io/test-utime.c (main): Replace %ld with %jd and cast to
4910 intmax_t.
41fad830 4911 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
4912 * nptl/tst-mutex5.c: Include <stdint.h>.
4913 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
4914 * posix/tst-regex.c (run_test): Likewise.
4915 (run_test_backwards): Likewise.
5d619de4
L
4916 * rt/tst-clock.c: Include <stdint.h>.
4917 (clock_test): Replace %ld with %jd and cast to intmax_t.
4918 * rt/tst-cpuclock1.c: Include <stdint.h>.
4919 (do_test): Replace %lu with %ju and cast to uintmax_t.
4920 * rt/tst-cpuclock2.c: Include <stdint.h>.
4921 (do_test): Replace %lu with %ju and cast to uintmax_t.
4922 * rt/tst-mqueue1.c: Include <stdint.h>.
4923 (check_attrs): Replace %ld with %jd and cast to intmax_t.
4924 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4925 intmax_t.
4926 * rt/tst-mqueue4.c (do_test): Likewise.
4927 * rt/tst-timer4.c: Include <stdint.h>.
4928 (check_ts): Replace %ld with %jd and cast to intmax_t.
4929 (do_test): Likewise.
ad86fbc3
L
4930 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4931 and cast to intmax_t.
37f46900 4932 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
4933 * time/clocktest.c (main): Likewise.
4934 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 4935 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 4936
8b4416d8
AS
49372014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4938 H.J. Lu <hongjiu.lu@intel.com>
4939
4940 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4941 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4945 version if bit_Fast_Unaligned_Load is set.
4946 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4953 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4954 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4955 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4956 to 4.
4957 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4958 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4959 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4960 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4961
e47b8d3b
CM
49622014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4963
6d6d7fde
CM
4964 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4965 instead of #if to avoid a Wundef warning.
4966 * stdlib/tst-limits.c (do_test): Likewise.
4967
cd2c37c9
CM
4968 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4969 parallel other exception macros.
4970 (fegetenv): Convert from macro to extern inline so that it applies
4971 retroactively to inline functions already seen by the compiler.
4972 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4973
e47b8d3b
CM
4974 * posix/Makefile (before-compile): Use $(objpfx) for
4975 posix-conf-vars-def.h.
4976
4a6aca7b
SP
49772014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4978
7910c2ae
SP
4979 * posix/getconf.c (main): Use size_t for type of I.
4980 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4981 NSPEC.
4982
50cbbaa9
SP
4983 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4984 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4985 * posix/posix-envs.def: Likewise.
4986 * sysdeps/posix/sysconf.c: Likewise.
4987 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4988 (specs): Remove array.
4989 * scripts/gen-posix-conf-vars.awk: Support generation of specs
4990 array.
4991
3b566046
SP
4992 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4993 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4994 (__sysconf): Use CONF_IS_* macros.
4995
4a6aca7b
SP
4996 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4997 ($(objpfx)posix-conf-vars-def.h): New target.
4998 * posix/posix-conf-vars.list: New file.
4999 * posix/posix-conf-vars.h: New file.
5000 * posix/confstr.c: Include posix-conf-vars.h.
5001 (confstr): Use CONF_IS_* macros.
5002 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5003 CONF_IS_* macros.
5004 * scripts/gen-posix-conf-vars.awk: New file.
5005
7c1395a7
CM
50062014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5007
0025b4cc
CM
5008 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5009 fegetround): Add no-op macros to avoid linknamespace issues.
5010
d8aaf74b
CM
5011 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5012 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5013
5d24aa60
CM
5014 * sysdeps/unix/sysv/linux/tile/sysdep.h
5015 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5016 assembly-specific section to avoid a redefinition warning.
5017
7c1395a7
CM
5018 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5019 long before casting to pointer to avoid a cast warning.
5020
3c87c616
CM
50212014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5022
5023 * sysdeps/tile/tilegx/Implies: New file.
5024
f559d8cf
RE
50252014-12-23 Richard Earnshaw <rearnsha@arm.com>
5026
5027 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5028
7d81e8d6
FW
50292014-12-23 Florian Weimer <fweimer@redhat.com>
5030
5031 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5032
90aa3d09
JM
50332014-12-22 Joseph Myers <joseph@codesourcery.com>
5034
5035 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5036 not define.
5037 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5038 <kernel-features.h>.
5039 (__utimes) [__NR_utimes]: Make code unconditional.
5040 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5041 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5042 (__ASSUME_UTIMES): Do not undefine.
5043 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5044 (__ASSUME_UTIMES): Likewise.
5045 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5046 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5047 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5048 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5049
4c0c0e2a
SE
50502014-12-22 Steve Ellcey <sellcey@imgtec.com>
5051
5052 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5053
0dacd7a3
CM
50542014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5055
b638f96a
CM
5056 [BZ #17747]
5057 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5058 alias to weak alias for j0l, y0l.
5059 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5060 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5061
0dacd7a3
CM
5062 [BZ #17746]
5063 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5064 conversion.
5065
528479c4
SE
50662014-12-22 Steve Ellcey <sellcey@imgtec.com>
5067
5068 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5069 to zero if not already defined.
5070
f56f9124
JM
50712014-12-22 Joseph Myers <joseph@codesourcery.com>
5072
5073 [BZ #17724]
5074 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5075 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5076 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5077 (char *) casts added.
5078 * sysdeps/ieee754/k_standardf.c: New file.
5079 * sysdeps/ieee754/k_standardl.c: Likewise.
5080 * math/Makefile (libm-support): Remove k_standard.
5081 (libm-calls): Add k_standard.
5082
8622d556
WD
50832014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5084
5085 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5086 Optimize to avoid an unnecessary FPCR read.
5087
f3806bdb
WD
50882014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5089
5090 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5091 Optimize to reduce FPCR/FPSR accesses.
5092
9b47df58
WD
50932014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5094
5095 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5096 Call libc_fetestexcept_aarch64.
5097
97be3cac
WD
50982014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5099
5100 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5101 Call libc_fesetround_aarch64.
5102
935ab817
JM
51032014-12-22 Joseph Myers <joseph@codesourcery.com>
5104
5105 [BZ #17733]
5106 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5107 (__bind): Do not define as weak alias.
5108 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5109 define.
5110 (__getsockname): Do not define as weak alias.
5111
cc8623f1
WN
51122014-12-22 Will Newton <will.newton@linaro.org>
5113
5114 * manual/install.texi: Document that we require bison 2.7
5115 or above.
5116 * INSTALL: Regenerate.
5117 * configure.ac: Use AC_CHECK_PROG_VER instead of
5118 AC_PATH_PROG when checking for bison and check for
5119 version 2.7 or above.
5120 * configure: Regenerate.
5121
a19ca65a
CM
51222014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5123
92901170 5124 [BZ #17745]
e969965a
CM
5125 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5126 * sysdeps/tile/ffsll.c (ffsll): To here.
5127
a19ca65a
CM
5128 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5129
050f7298
L
51302014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5131
5132 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5133 if not defined.
5134 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5135 definition.
5136 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5137 hidden ___tls_get_addr.
5138 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5139 hidden __tls_get_addr.
5140 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5141 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5142 Likewise.
5143
6df5547e
AS
51442014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5147 _dl_init call.
5148
7432d613
L
51492014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5150
5151 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5152 from "call _dl_init@PLT".
5153 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 5154
98fe149e
AK
51552014-12-21 Anders Kaseorg <andersk@mit.edu>
5156
5157 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5158 guarantees.
5159
d12455f5
CM
51602014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5161
5162 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5163
95dee05f
CM
51642014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5165
92901170 5166 [BZ #17744]
95dee05f
CM
5167 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5168 strnlen.
5169
2ef4b74a
SE
51702014-12-19 Steve Ellcey <sellcey@imgtec.com>
5171
5172 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5173 of multu on MIPSr6.
5174 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5175 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5176 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5177 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5178 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5179
51802014-12-19 Steve Ellcey <sellcey@imgtec.com>
5181
5182 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5183 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5184 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5185 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 5186 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
5187 mips32r6/mips64r6.
5188 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5189
3eb38795
OB
51902014-12-19 Ondřej Bílka <neleai@seznam.cz>
5191
5192 * string/strncat.c (STRNCAT): Simplify implementation.
5193
6d4188dd
DM
51942014-12-19 David S. Miller <davem@davemloft.net>
5195
0d4ba8be
DM
5196 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5197 access the quad as both a long double and as a series of 4 words.
5198
6d4188dd
DM
5199 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5200 link_map->l_info array access.
5201
4ef91cdc
CM
52022014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5203
804c54f7
CM
5204 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5205
4ef91cdc
CM
5206 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5207 * math/atest-exp2.c (TIMEOUT): Likewise.
5208 * math/atest-sincos.c (TIMEOUT): Likewise.
5209
afd176d6
L
52102014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5211
5212 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5213 -Wno-error with -fno-builtin-lround.
5214
a4a43a90
TR
52152014-12-19 Torvald Riegel <triegel@redhat.com>
5216
5217 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5218 Contains futex constants and functions moved over from ...
5219 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5220 <lowlevellock-futex.h>.
5221 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5222 (lll_timedwait_tid): Add comments and parentheses around macro
5223 arguments.
5224
76f71081
TR
52252014-12-19 Torvald Riegel <triegel@redhat.com>
5226
5227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5228 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5229 (__lll_private_flag): Remove.
5230 (lll_futex_wait): Likewise.
5231 (lll_futex_timed_wait): Likewise.
5232 (lll_futex_wake): Likewise.
5233 (lll_futex_requeue): Likewise.
5234 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5235 (__lll_timedwait_tid): Spell out argument names.
5236 (lll_timedwait_tid): Add comments and parentheses around macro
5237 arguments.
5238 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5239 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5240
6b814909
TR
52412014-12-19 Torvald Riegel <triegel@redhat.com>
5242
5243 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5244 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5245 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5246 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5247 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5248 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5249 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5250 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5251 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5252 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5253 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5254 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5255 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5256 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5257 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5258 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5259 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5260 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5261 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5262
9cd4d4ab
L
52632014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5264
5265 * sysdeps/x86_64/x32/Makefile: New file.
5266
c9c1a2d0
L
52672014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5268
5269 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5270 1L with (mp_limb_t) 1.
5271
af102d95
RM
52722014-12-17 Roland McGrath <roland@hack.frob.com>
5273
dd690454
RM
5274 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5275 * nptl/libc_pthread_init.c: ... here.
5276 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5277 * nptl/register-atfork.c: ... here.
5278
74eb826c
RM
5279 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5280 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5281 Use assert_perror to check its return value.
5282 (__gai_create_helper_thread): Likewise.
5283
c9ce306b
RM
5284 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5285
af102d95
RM
5286 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5287
8ac5a76a
JM
52882014-12-17 Joseph Myers <joseph@codesourcery.com>
5289
ea41469b
JM
5290 [BZ #17725]
5291 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5292 __profil_counter.
5293 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5294 Likewise.
5295 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5296 Likewise.
5297 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5298 Likewise.
5299 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5300 (profil_counter): Likewise.
5301 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5302 (profil_counter): Likewise.
5303 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5304 Likewise.
5305 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5306 Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5308 (profil_counter): Likewise.
5309 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5310 Likewise.
5311 [!__profil_counter] (profil_counter): Define as weak alias of
5312 __profil_counter.
5313 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5314 (profil_counter): Rename to __profil_counter.
5315 [!__profil_counter] (profil_counter): Define as weak alias of
5316 __profil_counter.
5317 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5318 (profil_counter): Rename to __profil_counter.
5319 [!__profil_counter] (profil_counter): Define as weak alias of
5320 __profil_counter.
5321 * sysdeps/posix/profil.c: Update comment referring to
5322 profil_counter.
5323 (__profil): Use __profil_counter instead of profil_counter.
5324 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5325 __profil_counter. Use __profil_counter_ushort and
5326 __profil_counter_uint in definitions.
5327 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5328 instead of profil_counter_uint and profil_counter_ushort.
5329
8ac5a76a
JM
5330 [BZ #17722]
5331 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5332 define as weak alias of __inet_makeaddr.
5333 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5334 as weak alias of __inet_addr.
5335 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5336 as weak alias of __inet_pton. Use libc_hidden_weak.
5337 * include/arpa/inet.h (__inet_pton): Declare. Use
5338 libc_hidden_proto.
5339 (inet_makeaddr): Don't use libc_hidden_proto.
5340 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5341 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5342 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5343 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5344 Remove variable.
5345 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5346 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5347
66ce3cb1
SE
53482014-12-17 Steve Ellcey <sellcey@imgtec.com>
5349
5350 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5351
d22ce01b
SL
53522014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5353
5354 * stdio-common/bug-vfprintf-nargs.c (do_test):
5355 Cast value to intptr_t to avoid format warning
5356 for usage with PRIdPTR printing macro.
5357
eca2772b
SL
53582014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5359
5360 * libio/tst-widetext.c (do_test):
5361 Use format type %td instead of %Zd for ptrdiff_t
5362 in order to avoid format warning.
5363
bdf079da
AS
53642014-12-17 Andreas Schwab <schwab@suse.de>
5365
5366 * nscd/mem.c (gc): Add size_t cast to match printf format.
5367
3eb5d2fc
RM
53682014-12-16 Roland McGrath <roland@hack.frob.com>
5369
5370 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5371 (init): Apply PTR_MANGLE to pointers before storing them.
5372 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5373 before using them.
5374
d003ada2
JM
53752014-12-16 Joseph Myers <joseph@codesourcery.com>
5376
380292ba
JM
5377 [BZ #17719]
5378 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5379 define as weak alias of __memrchr.
5380 (__memrchr): Do not define as strong alias of memrchr.
5381 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5382 Remove variable.
5383 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5384 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5385 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5386
9a44d530
JM
5387 [BZ #17717]
5388 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5389 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5390 (if_indextoname): Rename to __if_indextoname and define as weak
5391 alias of __if_indextoname. Use libc_hidden_weak.
5392 (if_freenameindex): Rename to __if_freenameindex and define as
5393 weak alias of __if_freenameindex.
5394 (if_nameindex): Rename to __if_nameindex and define as weak alias
5395 of __if_nameindex.
5396 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5397 __if_nametoindex and define as weak alias of __if_nametoindex.
5398 Use libc_hidden_weak.
5399 (if_freenameindex): Rename to __if_freenameindex and define as
5400 weak alias of __if_freenameindex.
5401 (if_nameindex): Rename to __if_nameindex and define as weak alias
5402 of __if_nameindex.
5403 (if_indextoname): Rename to __if_indextoname and define as weak
5404 alias of __if_indextoname. Use libc_hidden_weak.
5405 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5406 __if_nametoindex and define as weak alias of __if_nametoindex.
5407 Use libc_hidden_weak.
5408 (if_freenameindex): Rename to __if_freenameindex and define as
5409 weak alias of __if_freenameindex. Use libc_hidden_weak.
5410 (if_nameindex_netlink): Use __if_freenameindex instead of
5411 if_freenameindex.
5412 (if_nameindex): Rename to __if_nameindex and define as weak alias
5413 of __if_nameindex. Use libc_hidden_weak.
5414 (if_indextoname): Rename to __if_indextoname and define as weak
5415 alias of __if_indextoname. Use libc_hidden_weak.
5416 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5417 libc_hidden_proto.
5418 [!_ISOMAC] (__if_freenameindex): Likewise.
5419 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5420 if_nametoindex.
5421 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5422 variable.
5423 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5424 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5425 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5426 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5427 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5428 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5429 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5430
d003ada2
JM
5431 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5432 Remove variable.
5433 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5434 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5435
a0d424ef
SP
54362014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5437
0cd85520
SP
5438 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5439 subscript above bounds'
5440
a0d424ef
SP
5441 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5442 bounds.
5443
0e426475
AS
54442014-12-16 Arjun Shankar <arjun.is@lostca.se>
5445
8b460906
AS
5446 * libio/tst-fopenloc.c: Use test-skeleton.c.
5447
fa13e15b
AS
5448 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5449 (entry): Rename to ITEM.
5450 (do_test, comp): Adjust.
5451
0e426475
AS
5452 * stdio-common/tst-fseek.c: Use test-skeleton.c.
5453
4f646bce
TR
54542014-12-16 Torvald Riegel <triegel@redhat.com>
5455
5456 * string/tester.c: Include <libc-internal.h>.
5457 (test_memset): Ignore -Wmemset-transposed-args.
5458
a07c4427
TR
54592014-12-16 Torvald Riegel <triegel@redhat.com>
5460
5461 * misc/tst-mntent2.c (do_test): Fix warning.
5462
1469f466
TR
54632014-12-16 Torvald Riegel <triegel@redhat.com>
5464
5465 * elf/tst-unique4lib.cc(a): Mark as used.
5466
11e3417a
FW
54672014-12-16 Florian Weimer <fweimer@redhat.com>
5468
5469 [BZ #17630]
5470 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5471 names.
5472
ae61fc7b
AM
54732014-12-16 Allan McRae <allan@archlinux.org>
5474
5475 * stdio-common/Makefile (tests): Re-add bug26.
5476
363a9899
OB
54772014-12-15 Ondřej Bílka <neleai@seznam.cz>
5478
5479 [BZ #17657]
5480 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5481 static array.
5482
d52c62df
TR
54832014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5484
5485 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5486 (__lll_lock_wait): Likewise.
5487 (__lll_timedlock_wait): Likewise.
5488 (__lll_timedwait_tid): Likewise.
5489 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5490 (__lll_robust_timedlock_wait): Likewise.
5491 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5492 (lll_cond_trylock): Likewise.
5493 (__lll_lock): Likewise.
5494 (__lll_robust_lock): Likewise.
5495 (__lll_cond_lock): Likewise.
5496 (lll_robust_cond_lock): Likewise.
5497 (__lll_timedlock): Likewise.
5498 (__lll_robust_timedlock): Likewise.
5499 (__lll_unlock): Likewise.
5500 (__lll_robust_unlock): Likewise.
5501 (lll_wait_tid): Likewise.
5502 (lll_timedwait_tid): Likewise.
5503
045a6bcd
TR
55042014-12-15 Torvald Riegel <triegel@redhat.com>
5505
5506 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5507
7f786dc1
TR
55082014-12-15 Torvald Riegel <triegel@redhat.com>
5509
5510 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5511
e7e21cba
AZ
55122014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5513
5514 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5515 * stdio-common/tst-sprintf.c: Likewise.
5516
bc89c0fc
TR
55172014-12-15 Torvald Riegel <triegel@redhat.com>
5518
5519 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5520
a5357b7c
JL
55212014-12-15 Jeff Law <law@redhat.com>
5522
5523 [BZ #16617]
5524 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5525 on the heap. (CVE-2012-3406)
5526 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5527 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5528 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5529
3a12c70f
WN
55302014-12-15 Will Newton <will.newton@linaro.org>
5531
5532 * manual/install.texi: Bump required version of texinfo
5533 to 4.7 from 4.5.
5534 * INSTALL: Regenerated.
5535 * configure.ac: Check for makeinfo version 4.7 and above.
5536 * configure: Regenerated.
5537
e4f639e4
RM
55382014-12-12 Roland McGrath <roland@hack.frob.com>
5539
5540 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5541 PREFIX, string constant to insert between directory and name.
5542 * sysdeps/posix/shm_open.c: Update caller.
5543 * sysdeps/posix/shm_unlink.c: Likewise.
5544 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5545 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5546 (SEM_SHM_PREFIX): New macro.
5547 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5548 [$(have-thread-library) = no].
5549 * nptl/Makefile (libpthread-routines): Add shm-directory.
5550 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5551 * sysdeps/nptl/shm-directory.h: New file.
5552 * sysdeps/posix/shm-directory.c
5553 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5554 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5555 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5556 INTERNAL_SYSCALL.
5557 (__where_is_shmfs): Function removed.
5558 (mountpoint, defaultmount, defaultdir, __namedsem_once):
5559 Variables removed.
5560 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5561 Use SHM_GET_NAME.
5562 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
5563
5564 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5565 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5566 unconditional for use inside libpthread.
5567 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5568
439c43f6
RM
55692014-12-12 Roland McGrath <roland@hack.frob.com>
5570
c76d1ff5
RM
5571 * nptl/pthread_getaffinity.c: New file.
5572 * nptl/pthread_setaffinity.c: New file.
5573 * nptl/pthread_getname.c: New file.
5574 * nptl/pthread_setname.c: New file.
5575
439c43f6
RM
5576 * nptl/pthread_create.c (START_THREAD_DEFN)
5577 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5578
48e435cd
SL
55792014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5580 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581
5582 * resolv/res_send.c (send_vc): Disable warning resplen may
5583 be used uninitialized.
5584
9d9c0019
SL
55852014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5586
5587 * nptl/tst-mutex6.c
5588 (ATTR_NULL): New define checks ATTR against NULL.
5589 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5590 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5591
9173840b
JL
55922014-12-11 James Lemke <jwlemke@codesourcery.com>
5593
5594 [BZ #17581]
5595 * malloc/hooks.c
5596 (mem2mem_check): Revert my previous change.
5597 (malloc_check_get_size): Revert my previous change.
5598 (mem2chunk_check): Revert my previous change.
5599
78e21c5d
RM
56002014-12-11 Roland McGrath <roland@hack.frob.com>
5601
5602 * sysdeps/posix/shm-directory.c: New file.
5603 * sysdeps/posix/shm-directory.h: New file.
5604 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5605 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5606 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
5607 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5608 Transmute EPERM to EACCES.
5609 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5610 from ...
5611 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
5612 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5613
f82c43af
KK
56142014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5615
5616 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5617 pointer and cast to uintptr_t.
5618 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5619 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5620 Add cast to avoid warning.
5621 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5622
fc00cf7b
JM
56232014-12-11 Joseph Myers <joseph@codesourcery.com>
5624
5625 * nptl/semaphore.h: Move to ...
5626 * sysdeps/pthread/semaphore.h: ... here.
5627 * Makefile (installed-headers): Change nptl/semaphore.h to
5628 sysdeps/pthread/semaphore.h.
5629
1c4053db
RM
56302014-12-11 Roland McGrath <roland@hack.frob.com>
5631
73b0c1a1
RM
5632 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5633 generated error format strings.
5634
1c4053db
RM
5635 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5636 -Wformat-extra-args warnings for scanf formats.
5637 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5638 test of zero-length format (duh).
5639 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5640 corner-case scanf format test.
5641 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5642 generated fprintf format string.
5643 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5644 corner-case sprintf format tests.
5645 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5646 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5647 -Wformat-extra-args warnings throughout.
5648 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5649 (CFLAGS-scanf4.c): Likewise.
5650 (CFLAGS-scanf7.c): Likewise.
5651 (CFLAGS-tst-sprintf.c): Likewise.
5652 (CFLAGS-tst-printf.c): Likewise.
5653 (CFLAGS-tst-printfsz.c): Likewise.
5654
47d51f4f
JM
56552014-12-11 Joseph Myers <joseph@codesourcery.com>
5656
a1edbf3c
JM
5657 * include/cpio.h: New file.
5658 * include/fmtmsg.h: Likewise.
5659
47d51f4f
JM
5660 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
5661 corresponding format argument to size_t.
5662 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
5663 arguments.
5664 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
5665 corresponding format argument to size_t.
5666 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
5667 arguments.
5668 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
5669 corresponding format argument to size_t.
5670 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5671 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5672 (CFLAGS-tst-mbswcs2.c): Likewise.
5673 (CFLAGS-tst-mbswcs3.c): Likewise.
5674 (CFLAGS-tst-mbswcs4.c): Likewise.
5675 (CFLAGS-tst-mbswcs5.c): Likewise.
5676 (CFLAGS-tst-trans.c): Likewise
5677
e9813cfb
RM
56782014-12-11 Roland McGrath <roland@hack.frob.com>
5679
5680 * posix/regexbug1.c (main): Use "%s" format with regerror results,
5681 rather than assuming they won't contain any '%'s.
5682
f627ca82
CM
56832014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
5684
5685 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5686 inhibit_loop_to_libcall to avoid recursive calls.
5687 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5688 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5689
7f296942
AZ
56902014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5691
5692 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5693 prototype.
5694
d0276e18
SE
56952014-12-11 Steve Ellcey <sellcey@imgtec.com>
5696
5697 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5698 integer value instead of boolean.
5699
fc56e970
SE
57002014-12-11 Steve Ellcey <sellcey@imgtec.com>
5701
5702 * malloc/malloc.c: Fix powerof2 check.
5703
40e53917
SL
57042014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5705
5706 * locale/programs/locfile.h (maybe_swap_uint32):
5707 Remove inline and add unused attribute.
5708
1ea166df
SL
57092014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5710
9d9c0019 5711 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
5712 Truncating assembler expression to a .long expression.
5713
acf869f4
AS
57142014-12-11 Andreas Schwab <schwab@suse.de>
5715
5716 * elf/rtld.c (struct map_args): Constify str member.
5717 (do_preload): Constify fname argument.
5718
9d969099
AZ
57192014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5720
5721 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5722 constants definition.
5723
da5bcaa4
AS
57242014-12-11 Andreas Schwab <schwab@suse.de>
5725
b0a3c164
AS
5726 [BZ #16657]
5727 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5728 FORCE_ELISION instead of DO_ELISION.
5729 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5730 Remove.
5731 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5732 Likewise.
5733
da5bcaa4
AS
5734 * iconvdata/gconv-modules: Remove duplicate entry.
5735
6d248857
WN
57362014-12-11 Will Newton <will.newton@linaro.org>
5737
5738 Merge gettext 0.19.3 into intl/.
5739
5740 This involves a number of cosmetic changes to comments
5741 and ANSI function definitions and prototypes throughout
5742 all the files. The gettext copyright header is used but
5743 with the date ranges taken from the glibc copy.
5744
5745 * NEWS: Add gettext merge to 2.21.
5746 * intl/bindtextdom.c: Switch to gettext copyright.
5747 Use ANSI definitions and prototypes.
5748 Use gl_* locking primitives rather than __libc_* ones.
5749 Use __builtin_expect rather than __glibc_likely/unlikely.
5750 * intl/dcgettext.c: Switch to gettext copyright.
5751 Use ANSI definitions and prototypes.
5752 * intl/dcigettext.c: Switch to gettext copyright.
5753 Use ANSI definitions and prototypes.
5754 (INTDIV0_RAISES_SIGFPE): New define.
5755 Use gl_* locking primitives rather than __libc_* ones.
5756 Include eval-plural.h instead of plural-eval.c.
5757 Use __builtin_expect rather than __glibc_likely/unlikely.
5758 * intl/dcngettext.c: Switch to gettext copyright.
5759 Use ANSI definitions and prototypes.
5760 * intl/dgettext.c: Likewise.
5761 * intl/dngettext.c: Likewise.
5762 * intl/plural-eval.c: Renamed to...
5763 * intl/eval-plural.h: ...this.
5764 * intl/explodename.c: Switch to gettext copyright.
5765 Use ANSI definitions and prototypes.
5766 (_nl_explode_name): Use strchr instead of __rawmemchr.
5767 * intl/finddomain.c: Switch to gettext copyright.
5768 Use ANSI definitions and prototypes.
5769 Use gl_* locking primitives rather than __libc_* ones.
5770 (_nl_find_domain): Use malloc rather than alloca for
5771 allocation of temporary locale name.
5772 * intl/gettext.c: Switch to gettext copyright.
5773 Use ANSI definitions and prototypes.
5774 * intl/gettextP.h: Switch to gettext copyright.
5775 Use ANSI definitions and prototypes.
5776 Use gl_* locking primitives rather than __libc_* ones.
5777 * intl/gmo.h: Switch to gettext copyright.
5778 (struct sysdep_string): Move struct segment_pair outside of
5779 struct definition.
5780 * intl/hash-string.c: Use ANSI definitions and prototypes.
5781 * intl/hash-string.h: Switch to gettext copyright.
5782 Use ANSI definitions and prototypes.
5783 * intl/l10nflist.c: Switch to gettext copyright.
5784 Use ANSI definitions and prototypes.
5785 (_nl_normalize_codeset): Avoid integer overflow.
5786 * intl/loadinfo.h: Switch to gettext copyright.
5787 Use ANSI definitions and prototypes.
5788 (LIBINTL_DLL_EXPORTED): New define.
5789 (PATH_SEPARATOR): New define.
5790 * intl/loadmsgcat.c: Switch to gettext copyright.
5791 * intl/localealias.c: Switch to gettext copyright.
5792 Use ANSI definitions and prototypes.
5793 (_nl_expand_alias): Use PATH_SEPARATOR.
5794 * intl/ngettext.c: Switch to gettext copyright.
5795 Use ANSI definitions and prototypes.
5796 * intl/plural-exp.c: Likewise.
5797 * intl/plural-exp.h: Switch to gettext copyright.
5798 Use ANSI definitions and prototypes.
5799 (struct expression): Move definition of enum operator outside
5800 of struct definition.
5801 * intl/plural.c: Regenerate.
5802 * intl/plural.y: Switch to gettext copyright.
5803 Use ANSI definitions and prototypes.
5804 Port to bison 3.0.
5805 * intl/textdomain.c: Switch to gettext copyright.
5806 Use ANSI definitions and prototypes.
5807 Use gl_* locking primitives rather than __libc_* ones.
5808
48c43298
SE
58092014-12-10 Steve Ellcey <sellcey@imgtec.com>
5810
5811 * debug/warning-nop.c: Add used atrribute.
5812
2b89bce9
JM
58132014-12-10 Joseph Myers <joseph@codesourcery.com>
5814
c153ac9f
JM
5815 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5816
2b89bce9
JM
5817 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5818 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5819 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5820
2cfbdb9a
JM
58212014-12-10 Joseph Myers <joseph@codesourcery.com>
5822 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5823
5824 [BZ #17634]
5825 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5826 Undefine after defining function. Define as weak alias of
5827 __wcschr. Use libc_hidden_weak.
5828 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
5829 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5830 (libc_hidden_def): Also define __GI___wcschr alias.
5831 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5832 __wcschr and define as weak alias of __wcschr.
5833 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5834 __wcschr.
5835 [!WCSCHR] (DEFAULT_WCSCHR): Define.
5836 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5837 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
5838 libc_hidden_weak. Do not use libc_hidden_def.
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5840 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5841 __GI___wcschr alias.
5842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5843 [IS_IN (libc)] (wcschr): Define as macro expanding to
5844 __redirect_wcschr.
5845 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5846 [IS_IN (libc)] (__wcschr_power6): Likewise.
5847 [IS_IN (libc)] (__wcschr_power7): Likewise.
5848 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
5849 instead of wcschr.
5850 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5851 __libc_wcschr.
5852 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5853 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5854 __wcschr and define as weak alias of __wcschr. Use
5855 libc_hidden_builtin_def.
5856 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5857 as weak alias of __wcschr. Use libc_hidden_weak.
5858 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5859 wcschr.
5860 * time/era.c (_nl_init_era_entries): Likewise.
5861 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5862 variable.
5863 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5864 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5865
1b8bf351
JM
58662014-12-10 Joseph Myers <joseph@codesourcery.com>
5867
5868 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5869 format for long int variable.
5870
f5f46d51
AK
58712014-12-10 Anders Kaseorg <andersk@MIT.EDU>
5872
5873 [BZ #10672]
07008f7d 5874 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
5875 qsort stable.
5876
217a74a8
AS
58772014-12-10 Andreas Schwab <schwab@suse.de>
5878
5879 [BZ #12847]
5880 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5881 user-controlled locks.
5882
aa76a5c7
RE
58832014-12-10 Richard Earnshaw <rearnsha@arm.com>
5884
5885 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5886 register.
5887
2084e7ca
JM
58882014-12-10 Joseph Myers <joseph@codesourcery.com>
5889
a4ecc9eb
JM
5890 * configure.ac (--disable-werror): New configure option.
5891 (enable_werror): New AC_SUBST.
5892 * configure: Regenerated.
5893 * config.make.in (enable-werror): New variable.
5894 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5895 -Wno-error=undef.
5896 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5897 * manual/install.texi (Configuring and compiling): Document
5898 --disable-werror.
5899 * INSTALL: Regenerated.
5900 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5901 (CFLAGS-tst-chk2.c): Likewise.
5902 (CFLAGS-tst-chk3.c): Likewise.
5903 (CFLAGS-tst-chk4.cc): Likewise.
5904 (CFLAGS-tst-chk5.cc): Likewise.
5905 (CFLAGS-tst-chk6.cc): Likewise.
5906 (CFLAGS-tst-lfschk1.c): Likewise.
5907 (CFLAGS-tst-lfschk2.c): Likewise.
5908 (CFLAGS-tst-lfschk3.c): Likewise.
5909 (CFLAGS-tst-lfschk4.cc): Likewise.
5910 (CFLAGS-tst-lfschk5.cc): Likewise.
5911 (CFLAGS-tst-lfschk6.cc): Likewise.
5912
0f88636c
JM
5913 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5914 (main): Disable -Wdeprecated-declarations around calls to
5915 register_printf_function.
5916
c81e9deb
JM
5917 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5918 (do_test): Disable -Wdiv-by-zero around some calls to
5919 fwrite_unlocked and fread_unlocked.
5920
2084e7ca
JM
5921 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5922 (DIAG_POP_NEEDS_COMMENT): Likewise.
5923 (_DIAG_STR1): Likewise.
5924 (_DIAG_STR): Likewise.
5925 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5926 * stdio-common/bug21.c: Include <libc-internal.h>.
5927 (do_test): Disable -Wformat around call to sscanf.
5928 * stdio-common/scanf14.c: Include <libc-internal.h>.
5929 (main): Disable -Wformat around some calls to scanf functions.
5930
df7ecc6b
TR
59312014-12-09 Torvald Riegel <triegel@redhat.com>
5932
5933 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5934
2aa3862e
AZ
59352014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5936
5937 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5938 stack variable alignment.
5939
c5c2b7c3
JM
59402014-12-06 Joseph Myers <joseph@codesourcery.com>
5941
5942 [BZ #17682]
5943 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5944 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5945 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5946 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5947 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5948 __getrlimit instead of getrlimit.
5949 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5950 __gettimeofday instead of gettimeofday.
5951 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5952 Likewise.
5953 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5954 Likewise.
5955 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5956 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5957 Remove variable.
5958 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5959 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5960
9752c3cd
AZ
59612014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5962
5963 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5964 for wide-character tests.
5965
4bee4cd9
RM
59662014-12-04 Roland McGrath <roland@hack.frob.com>
5967
5968 * io/openat64.c: #include <libc-internal.h>
5969 (__openat64): Prototypify. Use ignore_value on MODE.
5970 * io/openat.c: Likewise.
5971 * misc/reboot.c: #include <libc-internal.h>
5972 (reboot): Prototypify. Use ignore_value on HOWTO.
5973 * misc/ptrace.c: #include <libc-internal.h>
5974 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5975
84dbedb6
JM
59762014-12-04 Joseph Myers <joseph@codesourcery.com>
5977
5978 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5979 XPG4, UNIX98 and XOPEN2K.
5980 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5981 Remove variable.
5982 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5983
b7a3e1c4 59842014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 5985
af50dfc1 5986 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
5987 * libio/iofopen.c: Likewise.
5988 * libio/wfileops.c: Likewise.
5989
fe8b4d98
SP
5990 [BZ #17653]
5991 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5992 offset on EOF.
5993 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5994 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5995 (fgets_func): Function pointer to fgets and fgetws.
5996 (do_ftell_test): Add test to verify ftell value after read
5997 EOF.
5998 (do_test): Set fgets_func.
5999
61b4f792
SP
6000 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6001 O_TRUNC flag for w and w+ modes.
6002 (do_rewind_test): Likewise.
6003 (do_ftell_test): Likewise.
6004 (do_write_test): Likewise.
6005
be349d70
SP
6006 [BZ #17647]
6007 * libio/fileops.c (do_ftell): Seek only when there are
6008 unflushed writes.
6009 * libio/wfileops.c (do_ftell_wide): Likewise.
6010 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6011 test case.
6012 (do_one_test): Call it.
6013
e3d6dba5
JM
60142014-12-03 Joseph Myers <joseph@codesourcery.com>
6015
6016 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6017 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6018 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6019 Remove variable.
6020 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6021 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6022 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6023
7f994279
JM
60242014-12-02 Joseph Myers <joseph@codesourcery.com>
6025
28a91e8f
JM
6026 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6027 Remove variable.
6028 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6029
7f994279
JM
6030 [BZ #17668]
6031 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6032 as weak alias of __getifaddrs. Use libc_hidden_weak.
6033 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6034 __freeifaddrs. Use libc_hidden_weak.
6035 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6036 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6037 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6038 __freeifaddrs. Use libc_hidden_weak.
6039 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6040 __getifaddrs and define as weak alias of __getifaddrs. Use
6041 libc_hidden_weak.
6042 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6043 __freeifaddrs. Use libc_hidden_weak.
6044 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6045 Remove variable.
6046 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6047 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6048
bbe4c142
PJ
60492014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6050
6051 [BZ #17601]
6052 * sysdeps/mips/start.S (__start): Use indirect jump to call
6053 __libc_start_main.
6054
66cadc05
JM
60552014-12-02 Joseph Myers <joseph@codesourcery.com>
6056
909e16d9
JM
6057 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6058
4e0b9016
JM
6059 * nptl/tst-mutex1.c: Include <stdbool.h>.
6060 [!ATTR] (ATTR_NULL): New macro.
6061 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6062 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6063 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6064
b1aff6a4
JM
6065 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6066 to char *.
6067
266865c0
JM
6068 [BZ #17665]
6069 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6070 Change conditional to [__USE_MISC].
6071
84e5e756
JM
6072 [BZ #17664]
6073 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6074 fgets_unlocked.
6075 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6076 __fgets_unlocked.
6077 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6078 fgets_unlocked.
6079 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6080 Remove variable.
6081 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6082 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6083 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6084 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6085 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6086 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6087 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6088 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6089 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6090
66cadc05
JM
6091 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6092
2e8a2de2 60932014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
6094
6095 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6096 Remove strpbrk objects.
6097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6098 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6099 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6100 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6101 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6102 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6103
bb2542e0
AZ
6104 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6105 Remove strcspn objects.
6106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6107 (__libc_ifunc_impl_list): Remove strcspn implementation.
6108 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6109 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6110 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6111 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
6112
6113 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6114 Remove strspn objetcs.
6115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6116 (__libc_ifunc_impl_list): Remove strspn implementation.
6117 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6118 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6119 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6120 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6121
08f1e1d2
JL
61222014-12-01 James Lemke <jwlemke@codesourcery.com>
6123
6124 [BZ #17581]
6125 * malloc/hooks.c
6126 (mem2mem_check): Add a terminator to the chain of checking blocks.
6127 (malloc_check_get_size): Use it here.
6128 (mem2chunk_check): Ditto.
6129
a8a7d7d2
RS
61302014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6131
6132 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6133 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6134
97114a38
CD
61352014-11-29 Carlos O'Donell <carlos@redhat.com>
6136
c8dc1727
CD
6137 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6138
6d03458e
CD
6139 * nptl/nptl-init.c: Include libc-internal.h.
6140 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6141
97114a38
CD
6142 * elf/ldconfig.c (search_dir): Expand comment.
6143
0e7e69ba
JM
61442014-11-29 Joseph Myers <joseph@codesourcery.com>
6145
6146 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6147 variable.
6148 (linknamespace-symlist-stdlibs-tests): Likewise.
6149 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6150 instead of $(objpfx)symlist-stdlibs.
6151 (linknamespace-libs-isoc): New variable.
6152 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6153 (linknamespace-libs-ISO): New variable.
6154 (linknamespace-libs-ISO99): Likewise.
6155 (linknamespace-libs-ISO11): Likewise.
6156 (linknamespace-libs-XPG3): Likewise.
6157 (linknamespace-libs-XPG4): Likewise.
6158 (linknamespace-libs-POSIX): Likewise.
6159 (linknamespace-libs-UNIX98): Likewise.
6160 (linknamespace-libs-XOPEN2K): Likewise.
6161 (linknamespace-libs-POSIX2008): Likewise.
6162 (linknamespace-libs-XOPEN2K8): Likewise.
6163 ($(objpfx)symlist-stdlibs): Replace by
6164 $(linknamespace-symlist-stdlibs-tests). Use
6165 $(linknamespace-libs-$*) as set of libraries.
6166 ($(linknamespace-header-tests)): Update dependencies. Use
6167 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6168 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6169 * conform/linknamespace.pl: Remove comment about considering
6170 definitions of symbols from irrelevant libraries.
6171
d8dd0080
L
61722014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6173
6174 [BZ #13862]
6175 * elf/dl-tls.c: Include <atomic.h>.
6176 (oom): Remove #ifdef SHARED/#endif.
6177 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6178 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6179 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6180 big enough.
6181 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6182 * nptl/Makefile (tests): Add tst-stack4.
6183 (modules-names): Add tst-stack4mod.
6184 ($(objpfx)tst-stack4): New.
6185 (tst-stack4mod.sos): Likewise.
6186 ($(objpfx)tst-stack4.out): Likewise.
6187 ($(tst-stack4mod.sos)): Likewise.
6188 (clean): Likewise.
6189 * nptl/tst-stack4.c: New file.
6190 * nptl/tst-stack4mod.c: Likewise.
6191
167da422
B
61922014-11-27 J. Brown <jb999@gmx.de>
6193
6194 * sysdeps/x86/bits/string.h: Add recent CPUs.
6195
9114625b
JM
61962014-11-27 Joseph Myers <joseph@codesourcery.com>
6197
6b5189eb
JM
6198 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6199 sigblock.
6200
49051f8e
JM
6201 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6202 feof.
6203
9114625b
JM
6204 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6205 variable.
6206
e7300fef
SL
62072014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6208
6209 * nscd/connections.c: Include libc-internal.h because of macro
6210 usage ignore_value.
6211
1721f0a4
SP
62122014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6213
6214 * string/bits/string3.h (__warn_memset_zero_len): Don't
6215 declare for gcc newer than 5.0.
6216 (memset): Don't test for zero-length __LEN for gcc newer than
6217 5.0.
6218
be970916
JM
62192014-11-27 Joseph Myers <joseph@codesourcery.com>
6220
d88548f4
JM
6221 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6222 size_t for %zu format.
6223
be970916
JM
6224 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6225 difference, not %ju.
6226
3b20fd5c
JM
62272014-11-26 Joseph Myers <joseph@codesourcery.com>
6228
8915eace
JM
6229 * include/libc-internal.h (ignore_value): New macro.
6230 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6231 with ignore_value.
6232
f1a5a0e3
JM
6233 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6234 definition.
6235
59ef1715
JM
6236 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6237 pthread_cleanup_push to void *.
6238
a6f3079b
JM
6239 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6240 Undefine.
6241
706688aa
JM
6242 [BZ #16619]
6243 [BZ #16740]
6244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6245 instead of 1L << 52.
6246
12da14a5
JM
6247 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6248 * libio/bug-rewind2.c (do_test): Likewise.
6249
bd5dadac
JM
6250 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6251 * debug/test-strcpy_chk-ifunc.c: Likewise.
6252 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6253 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6254 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6255 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6256 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6257 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6258 * Rules [$(multi-arch) = no] (tests): Do not filter out
6259 $(tests-ifunc).
6260 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6261 * debug/Makefile (tests-ifunc): Remove variable.
6262 (tests): Do not add $(tests-ifunc).
6263 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6264 (tests): Do not add $(tests-ifunc).
6265 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6266 [TEST_IFUNC]: Remove conditionals.
6267 * string/test-string.h (TEST_IFUNC): Remove macro.
6268 [TEST_IFUNC]: Remove conditionals.
6269
3b20fd5c
JM
6270 * string/test-strchr.c [!WIDE] (L): New macro.
6271 [WIDE] (L): Likewise.
6272 (check1): Use CHAR instead of char. Use L on string and character
6273 constants.
6274
704f7947
AZ
62752014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6276
6277 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6278 tests.
6279 * sysdeps/powerpc/bits/atomic.h
6280 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6281 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6282 (atomic_exchange_and_add_acq): Likewise.
6283 (atomic_exchange_and_add_rel): Likewise.
6284 * sysdeps/powerpc/powerpc32/bits/atomic.h
6285 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6286 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6287 * sysdeps/powerpc/powerpc64/bits/atomic.h
6288 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6289 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6290
cdcb42d7
TR
62912014-11-26 Torvald Riegel <triegel@redhat.com>
6292
6293 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6294 Change synchronization of __sched_fifo_min_prio and
6295 __sched_fifo_max_prio.
6296 * nptl/pthread_mutexattr_getprioceiling.c
6297 (pthread_mutexattr_getprioceiling): Likewise.
6298 * nptl/pthread_mutexattr_setprioceiling.c
6299 (pthread_mutexattr_setprioceiling): Likewise.
6300 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6301 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6302 Likewise.
6303
c82f5c0c
JM
63042014-11-26 Joseph Myers <joseph@codesourcery.com>
6305
6306 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6307 void.
6308
439e1ad6
JM
63092014-11-25 Joseph Myers <joseph@codesourcery.com>
6310
6311 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6312 third argument const.
6313
b1eda10e
PE
63142014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6315
6316 fnmatch: work around GCC compiler warning bug with uninit var
6317 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6318 This works around a bug with x86-64 GCC 4.9.2 and earlier
6319 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6320 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6321 used uninitialized in this function [-Wmaybe-uninitialized]".
6322
bde2667a
JM
63232014-11-25 Joseph Myers <joseph@codesourcery.com>
6324
6325 * posix/bug-regex31.c (main): Return RES not 0.
6326
5fbb5691
AB
63272014-11-25 Anton Blanchard <anton@samba.org>
6328
6329 * sysdeps/powerpc/bits/atomic.h
6330 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6331
467fec0b
BM
63322014-11-24 Sterling Augustine <saugustine@google.com>
6333
6334 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6335
e9ff8efb
RC
63362014-11-24 Ryan Cumming <etaoins@gmail.com>
6337
6338 [BZ #17608]
6339 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6340
9744496f
JM
63412014-11-24 Joseph Myers <joseph@codesourcery.com>
6342
6343 [BZ #17633]
6344 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6345 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6346 variable.
6347 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6348 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6349
6423d475
WD
63502014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6351
6352 * string/strncpy.c (strncpy): Improve performance by using memset.
6353
63542014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
6355
6356 * string/strcpy.c (strcpy):
6357 Improve performance by using strlen and memcpy.
6358
5d178c37
LH
63592014-11-24 Leonhard Holz <leonhard.holz@web.de>
6360
6361 * string/strcoll_l.c (get_next_seq): __always_inline.
6362 * string/strcoll_l.c (do_compare): __always_inline.
6363
279bc5b3
SP
63642014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6365
7a9ebfa1
SP
6366 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6367 defined.
6368 * include/mqueue.h: Likewise.
6369 * include/stdlib.h: Likewise.
6370
4f41c682
SP
6371 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6372 (get_null_defines): Adjust.
6373 * sunrpc/Makefile: Adjust comment.
6374 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6375 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6376 (CFLAGS-interp.c): Likewise.
6377 (CFLAGS-ldconfig.c): Likewise.
6378 (CPPFLAGS-.os): Likewise.
6379 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6380 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6381 * extra-modules.mk (extra-modules.mk): Likewise.
6382 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6383 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6384 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6385 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6386 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6387 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6388 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6389 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6390 * iconvdata/Makefile (CPPFLAGS): Likewise.
6391 (cpp-srcs-left): Add libof for all iconvdata routines.
6392 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6393 * include/assert.h: Likewise.
6394 * include/ctype.h: Likewise.
6395 * include/errno.h: Likewise.
6396 * include/libc-symbols.h: Likewise.
6397 * include/math.h: Likewise.
6398 * include/netdb.h: Likewise.
6399 * include/resolv.h: Likewise.
6400 * include/stdio.h: Likewise.
6401 * include/stdlib.h: Likewise.
6402 * include/string.h: Likewise.
6403 * include/sys/stat.h: Likewise.
6404 * include/wctype.h: Likewise.
6405 * intl/l10nflist.c: Likewise.
6406 * libidn/idn-stub.c: Likewise.
6407 * libio/libioP.h: Likewise.
6408 * nptl/libc_multiple_threads.c: Likewise.
6409 * nptl/pthreadP.h: Likewise.
6410 * posix/regex_internal.h: Likewise.
6411 * resolv/res_hconf.c: Likewise.
6412 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6413 * sysdeps/arm/memmove.S: Likewise.
6414 * sysdeps/arm/sysdep.h: Likewise.
6415 * sysdeps/generic/_itoa.h: Likewise.
6416 * sysdeps/generic/symbol-hacks.h: Likewise.
6417 * sysdeps/gnu/errlist.awk: Likewise.
6418 * sysdeps/gnu/errlist.c: Likewise.
6419 * sysdeps/i386/i586/memcpy.S: Likewise.
6420 * sysdeps/i386/i586/memset.S: Likewise.
6421 * sysdeps/i386/i686/memcpy.S: Likewise.
6422 * sysdeps/i386/i686/memmove.S: Likewise.
6423 * sysdeps/i386/i686/mempcpy.S: Likewise.
6424 * sysdeps/i386/i686/memset.S: Likewise.
6425 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6426 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6427 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6428 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6429 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6430 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6431 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6432 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6433 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6435 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6436 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6437 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6438 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6439 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6440 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6441 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6442 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6443 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6444 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6445 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6446 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6447 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6470 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6472 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6473 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6474 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6475 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6476 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6477 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6478 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6479 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6480 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6481 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6482 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6483 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6485 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6486 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6487 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6488 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6489 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6490 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6491 * sysdeps/posix/closedir.c: Likewise.
6492 * sysdeps/posix/opendir.c: Likewise.
6493 * sysdeps/posix/readdir.c: Likewise.
6494 * sysdeps/posix/rewinddir.c: Likewise.
6495 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6496 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6497 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6498 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6499 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6500 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6501 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6502 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6504 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6506 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6509 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6510 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6511 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6513 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6514 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6515 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6516 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6517 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6518 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6520 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6521 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6522 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6523 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6528 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6530 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6531 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6532 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6533 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6534 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6535 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6536 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6537 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6538 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6539 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6540 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6541 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6542 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6543 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6544 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6545 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6546 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6547 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6548 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6549 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6550 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6552 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6553 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6556 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6557 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6558 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6559 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6560 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6561 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6562 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6563 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6564 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6566 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6567 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6568 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6569 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6570 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6571 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6572 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6573 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6574 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6575 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6578 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6579 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6581 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6582 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6583 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6584 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6585 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6586 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6587 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6590 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6591 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6593 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6594 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6595 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6596 * sysdeps/unix/alpha/sysdep.S: Likewise.
6597 * sysdeps/unix/alpha/sysdep.h: Likewise.
6598 * sysdeps/unix/make-syscalls.sh: Likewise.
6599 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6600 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6601 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6602 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6603 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6604 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6605 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6606 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6607 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6608 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6609 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6610 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6612 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6613 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6614 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6615 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6616 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6617 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6618 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6619 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6620 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6621 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6622 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6623 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6624 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6628 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6629 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6633 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6638 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6639 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6640 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6641 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6642 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6643 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6649 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6650 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6651 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6652 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6653 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6654 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6655 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6657 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6658 * sysdeps/x86_64/memcpy.S: Likewise.
6659 * sysdeps/x86_64/memmove.c: Likewise.
6660 * sysdeps/x86_64/memset.S: Likewise.
6661 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6663 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6664 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6665 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6668 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6669 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6670 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6671 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6672 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6673 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6674 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6675 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6676 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6677 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6678 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6679 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6680 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6681 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6682 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6683 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6685 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6686 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6687 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6688 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6689 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6690 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6691 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6692 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6693 * sysdeps/x86_64/strcmp.S: Likewise.
6694
76ca86a5
SP
6695 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6696
a3848485
SP
6697 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6698 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6699 * elf/rtld-Rules: Likewise.
6700 * elf/setup-vdso.h: Likewise.
6701 * include/assert.h: Likewise.
6702 * include/bits/stdlib-float.h: Likewise.
6703 * include/errno.h: Likewise.
6704 * include/sys/stat.h: Likewise.
6705 * include/unistd.h: Likewise.
6706 * sysdeps/aarch64/setjmp.S: Likewise.
6707 * sysdeps/alpha/setjmp.S: Likewise.
6708 * sysdeps/arm/__longjmp.S: Likewise.
6709 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6710 * sysdeps/arm/setjmp.S: Likewise.
6711 * sysdeps/arm/sysdep.h: Likewise.
6712 * sysdeps/generic/_itoa.h: Likewise.
6713 * sysdeps/generic/dl-sysdep.h: Likewise.
6714 * sysdeps/generic/ldsodefs.h: Likewise.
6715 * sysdeps/i386/dl-tls.h: Likewise.
6716 * sysdeps/i386/setjmp.S: Likewise.
6717 * sysdeps/m68k/setjmp.c: Likewise.
6718 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6719 * sysdeps/mach/hurd/opendir.c: Likewise.
6720 * sysdeps/posix/getcwd.c: Likewise.
6721 * sysdeps/posix/opendir.c: Likewise.
6722 * sysdeps/posix/profil.c: Likewise.
6723 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6724 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6725 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6726 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6727 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6728 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6729 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6730 * sysdeps/s390/dl-tls.h: Likewise.
6731 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6732 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6733 * sysdeps/sh/sh3/setjmp.S: Likewise.
6734 * sysdeps/sh/sh4/setjmp.S: Likewise.
6735 * sysdeps/unix/alpha/sysdep.h: Likewise.
6736 * sysdeps/unix/arm/sysdep.S: Likewise.
6737 * sysdeps/unix/i386/sysdep.S: Likewise.
6738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6739 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6740 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6741 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6742 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6743 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6744 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6745 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6746 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6747 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6748 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6749 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6750 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6753 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6756 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6757 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6758 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6759 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6761 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6762 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6763 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6765 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6766 * sysdeps/x86_64/setjmp.S: Likewise.
6767
a109996e
SP
6768 * include/math.h: Use IS_IN instead of IS_IN_libm.
6769 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6781 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6789 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6790 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6791 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6792 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6793 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6794 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6796 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6797 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6798 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6799 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6800 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6801 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6803 Likewise.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6805 Likewise.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6807 Likewise.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6809 Likewise.
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6811 Likewise.
6812 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6814 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6815 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6816 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6817 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6823 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6824 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6825 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6826 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6827 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6828 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6830 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6831 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6832 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6833 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6835 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6836 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6838 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6839
ce9f10f7
SP
6840 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6841 * nptl/pthreadP.h: Likewise.
6842 * nptl_db/structs.def: Likewise.
6843 * sysdeps/arm/sysdep.h: Likewise.
6844 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6845 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6846 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6847 * sysdeps/unix/alpha/sysdep.h: Likewise.
6848 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6849 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6850 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6851 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6852 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6853 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6855 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6856 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6857 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6858 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6859 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6860 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6861 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6865 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6866 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6869 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6870 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6871 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6872 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6873 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6874
016afc75
SP
6875 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6876 * nptl/pthreadP.h: Likewise.
6877 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6878 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6879 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6880 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6881 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6882 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6883 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6884 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6885 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6886 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6887 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6888 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6890 Likewise.
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6892 Likewise.
6893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6894 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6895 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6898 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6899 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6900 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6901
9b42a0b3
SP
6902 * dlfcn/dladdr.c: Use IS_IN.
6903 * dlfcn/dladdr1.c: Likewise.
6904 * dlfcn/dlclose.c: Likewise.
6905 * dlfcn/dlerror.c: Likewise.
6906 * dlfcn/dlinfo.c: Likewise.
6907 * dlfcn/dlmopen.c: Likewise.
6908 * dlfcn/dlopen.c: Likewise.
6909 * dlfcn/dlsym.c: Likewise.
6910 * dlfcn/dlvsym.c: Likewise.
6911
85f36372
SP
6912 * include/ifaddrs.h: Use IS_IN.
6913 * inet/check_pf.c: Likewise.
6914 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6915 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6916
fb6784e3
SP
6917 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6918 IS_IN_ldconfig.
6919 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6920 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6921
2886d2d1
SP
6922 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6923 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6924 IS_IN (libc).
6925
9a484857
SP
6926 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6927
a10178bd
SP
6928 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6929 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6930 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6931 * include/libc-symbols.h (IS_IN_LIB): New macro.
6932 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6933 * include/netdb.h: Likewise.
6934 * include/stap-probe.h: Remove all uses of IN_LIB.
6935
279bc5b3
SP
6936 * Makeconfig (module-cppflags-real): Define MODULE_NAME
6937 instead of IN_MODULE.
6938 * include/libc-symbols.h (IN_MODULE): Define using
6939 MODULE_NAME.
6940 (PASTE_NAME, PASTE_NAME1): New macros.
6941 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6942 of IN_LIB.
6943 (STAP_PROBE_ASM): Likewise.
6944
e0cfa510
ST
69452014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
6946
6947 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6948 __mach_init in dlopened libc.
6949
34d97d87
MF
69502014-11-22 Mike Frysinger <vapier@gentoo.org>
6951
6952 * sysdeps/arm/preconfigure.ac: Delete EABI check.
6953 * sysdeps/arm/preconfigure: Regenerate.
6954
33cd1f74
RM
69552014-11-21 Roland McGrath <roland@hack.frob.com>
6956
6957 * nptl/pthread_create.c (__pthread_create_2_1): Set
6958 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6959 when copying values from IATTR into PD.
6960
8c230039
WN
69612014-11-21 Will Newton <will.newton@linaro.org>
6962 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6963
6d3db89b
AP
6964 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6965 Refactor inline-asm. Also add comment.
6966
01194ba1
WN
6967 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6968 ElfW macro instead of hardcoded Elf64 types.
6969 (la_aarch64_gnu_pltenter): Likewise.
6970 * sysdeps/aarch64/dl-machine.h
6971 (elf_machine_runtime_setup): Use ElfW(Addr).
6972
8c230039
WN
6973 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6974 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6975 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6976 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6977 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6978 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6979 (R_AARCH64_TLS_DTPMOD): This.
6980 (R_AARCH64_TLS_DTPREL64): Rename to ...
6981 (R_AARCH64_TLS_DTPREL): This.
6982 (R_AARCH64_TLS_TPREL64): Rename to ...
6983 (R_AARCH64_TLS_TPREL): This.
6984 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6985 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6986 R_AARCH64_TLS_TPREL64.
6987 (elf_machine_rela): Likewise.
6988
0d79fa53
TR
69892014-11-21 Torvald Riegel <triegel@redhat.com>
6990
6991 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6992 by setting it to 0. 64b atomics are not supported currently.
6993
b59d114b
AO
69942014-11-21 Alexandre Oliva <aoliva@redhat.com>
6995
6996 [BZ #16469]
6997 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6998 search domain names.
6999
f3d945d5
AO
70002014-11-21 Alexandre Oliva <aoliva@redhat.com>
7001
7002 [BZ #16469]
7003 * NEWS: Update.
7004 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7005 trailing dot.
7006 * posix/tst-getaddrinfo5.c: New.
7007 * posix/Makefile (tests): Add it.
7008
49698902
AO
70092014-11-21 Alexandre Oliva <aoliva@redhat.com>
7010
7011 [BZ #14498]
7012 * NEWS: Fixed.
7013 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7014 after parsing line but before break_if_match.
7015 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7016 if there is a protocol mismatch.
7017
81959214
MS
70182014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7019
7020 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7021 because the potential race is on the user-supplied stream.
7022
7729e0e9
AO
70232014-11-21 Alexandre Oliva <aoliva@redhat.com>
7024
7025 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7026 string literal if not passed a buffer.
7027 * manual/job.texi (ctermid): Update reasoning, note deviation
7028 from posix, suggest mtasurace when not passed a buffer, for
7029 future non-preliminary safety notes.
7030
a4ea5e28
AO
70312014-11-21 Alexandre Oliva <aoliva@redhat.com>
7032
7033 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7034 of not passing it a buffer.
7035 Reported by Peng Haitao.
7036
a2b581cb
AO
70372014-11-21 Alexandre Oliva <aoliva@redhat.com>
7038
7039 * manual/Makefile ($(objpfx)stamp-summary): Require
7040 check-safety.sh to pass.
7041 * manual/check-safety.sh: Wish for verification that every
7042 @deftypefn and @deftypefun is followed by a @safety remark.
7043
f214ff74
RM
70442014-11-20 Roland McGrath <roland@hack.frob.com>
7045
7f0dfae0
RM
7046 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7047
2f531bbb
RM
7048 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7049 PTHREAD_CANCEL_ASYNCHRONOUS.
7050 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7051 send SIGCANCEL.
7052
f214ff74
RM
7053 * nptl/default-sched.h: New file.
7054 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7055 * nptl/pthread_create.c: Include it.
7056 (__pthread_create_2_1): Use collect_default_sched instead of making
7057 Linux syscalls here directly.
7058
e37c91d4
TR
70592014-11-20 Torvald Riegel <triegel@redhat.com>
7060
7061 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7062 __pthread_once): Use C11 atomics.
7063
1eccfecd
TR
70642014-11-20 Torvald Riegel <triegel@redhat.com>
7065
7066 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7067
ff871426
TR
70682014-11-20 Torvald Riegel <triegel@redhat.com>
7069
7070 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7071 atomic_thread_fence_acquire, atomic_thread_fence_release,
7072 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7073 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7074 atomic_compare_exchange_weak_relaxed,
7075 atomic_compare_exchange_weak_acquire,
7076 atomic_compare_exchange_weak_release,
7077 atomic_exchange_acquire, atomic_exchange_release,
7078 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7079 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7080 atomic_fetch_and_acquire,
7081 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7082
1ea339b6
TR
70832014-11-20 Torvald Riegel <triegel@redhat.com>
7084
7085 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7086 USE_ATOMIC_COMPILER_BUILTINS): Define.
7087 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7088 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7089 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7090 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7091 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7092 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7093 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7094 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7095 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7096 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7097 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7098 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7099 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7100 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7101 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7103 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7104 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7105 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7106 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7107 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7108 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7109 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7111 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7113 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7115 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7117 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7119 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7121 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7122 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7123 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7124 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7125 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7126 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7127
cbd463e2
RM
71282014-11-19 Roland McGrath <roland@hack.frob.com>
7129
d960211f
RM
7130 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7131 the sched_priority value here. It was already checked when the user
7132 called pthread_attr_setschedparam.
7133
cbd463e2
RM
7134 * nptl/tst-bad-schedattr.c: New file.
7135 * nptl/Makefile (tests): Add it.
7136
a39208bd
CD
71372014-11-19 Carlos O'Donell <carlos@redhat.com>
7138 Florian Weimer <fweimer@redhat.com>
7139 Joseph Myers <joseph@codesourcery.com>
7140 Adam Conrad <adconrad@0c3.net>
7141 Andreas Schwab <schwab@suse.de>
7142 Brooks <bmoses@google.com>
7143
7144 [BZ #17625]
7145 * wordexp-test.c (__dso_handle): Add prototype.
7146 (__register_atfork): Likewise.
7147 (__app_register_atfork): New function.
7148 (registered_forks): New global.
7149 (register_fork): New function.
7150 (test_case): Add 3 new tests for WRDE_CMDSUB.
7151 (main): Call __app_register_atfork.
7152 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7153 fork count is non-zero fail the test.
7154 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7155 is set.
7156 (parse_dollars): Remove check for WRDE_NOCMD.
7157 (parse_dquote): Likewise.
7158
9cd47470
SP
71592014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7160
130ac68c
SP
7161 * Makeconfig (built-modules): List non-library modules to be
7162 built.
7163 (module-cppflags): Include libc-modules.h for
7164 everything except shlib-versions.v.i.
7165 (CPPFLAGS): Use it.
7166 (before-compile): Add libc-modules.h.
7167 ($(common-objpfx)libc-modules.h,
7168 $(common-objpfx)libc-modules.stmp): New targets.
7169 (common-generated): Add libc-modules.h and libc-modules.stmp.
7170 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7171 * include/libc-symbols.h: Don't include libc-modules.h.
7172 * include/libc-modules.h: Remove file.
7173 * scripts/gen-libc-modules.awk: New script to generate
7174 libc-modules.h.
7175 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7176 Depend on libc-modules.stmp.
7177
286663c3
SP
7178 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7179
9cd47470
SP
7180 * Makeconfig (in-module): Get value of libof set for the
7181 translation unit.
7182 (CPPFLAGS): Use $(in-module).
7183 * Makerules: Don't suffix routine names for nonlib.
7184 * include/libc-modules.h: New file.
7185 * include/libc-symbols.h: Include libc-modules.h
7186 (IS_IN): New macro to replace IS_IN_* macros.
7187 * elf/Makefile: Set libof-* for each routine.
7188 * elf/rtld-Rules: Likewise.
7189 * extra-modules.mk: Likewise.
7190 * iconv/Makefile: Likewise.
7191 * iconvdata/Makefile: Likewise.
7192 * locale/Makefile: Likewise.
7193 * malloc/Makefile: Likewise.
7194 * nss/Makefile: Likewise.
7195 * sysdeps/gnu/Makefile: Likewise.
7196 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7197 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7198 * sysdeps/s390/s390-64/Makefile: Likewise.
7199 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7200 CPPFLAGS for nscd instead of nonlib.
7201
32fed10f
RM
72022014-11-18 Roland McGrath <roland@hack.frob.com>
7203
d71035bd
RM
7204 * nptl/createthread.c: New file.
7205
6540b991
RM
7206 * nptl/createthread.c: Moved ...
7207 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7208
32fed10f
RM
7209 * nptl/createthread.c: Add proper top-line comment.
7210 (do_clone): Folded into ...
7211 (create_thread): ... here. Take new arguments STOPPED_START and
7212 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7213 increment __nptl_threads, do event-reporting logic, do
7214 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7215 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7216 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7217 just send SIGCANCEL.
7218 * nptl/pthread_create.c: Forward-declare create_thread before
7219 including createthread.c.
7220 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7221 declaration, and new macro START_THREAD_SELF to replace argument.
7222 Remove return statement.
7223 (report_thread_creation): New function.
7224 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7225 synchronization logic, and __nptl_nthreads increment here, around
7226 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7227 PD->parent_cancelhandling here, before create_thread. When
7228 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7229 __deallocate_stack, and ENOMEM translation here.
7230
107a5bf0
JM
72312014-11-18 Joseph Myers <joseph@codesourcery.com>
7232
7233 [BZ #17616]
7234 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7235 (mptwo): Rename to __mptwo.
7236 (__inv): Use __mptwo instead of mptwo.
7237 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7238 (mptwo): Rename to __mptwo.
7239 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7240 of mpone and __mptwo instead of mptwo.
7241 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7242 instead of mpone.
7243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7244 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7245 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7246 of mpone and __mptwo instead of mptwo.
7247 (__mpranred): Use __mpone instead of mpone.
7248 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7249 variable.
7250 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7251 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7252 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7253 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7254 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7255 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7256 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7257 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7258 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7259 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7260 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7261 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7262 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7263 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7264 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7265 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7266 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7267 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7268 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7269
3b679ab3
TV
72702014-11-18 Tom de Vries <tom@codesoucery.com>
7271
7272 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7273 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
7274
72752014-11-17 Richard Henderson <rth@redhat.com>
7276
7277 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7278 (_FP_PACK_RAW_2): Remove.
7279 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7280 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7281 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7282 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7283 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7284 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7285 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7286 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7287 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7288 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7289 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7290 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7291 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7292 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7293 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7294 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7295
0781a777
RM
72962014-11-14 Roland McGrath <roland@hack.frob.com>
7297
7298 * signal/signal.h [__USE_MISC]
7299 (struct sigvec): Remove type.
7300 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7301 (sigvec): Remove declaration.
7302 * sysdeps/posix/sigvec.c: Moved ...
7303 * signal/sigvec.c: ... here, replacing old file.
7304 (struct sigvec): New type, copied from old signal.h definition.
7305 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7306 (__sigvec): Convert definition to prototype.
7307 (sigvec): Replace weak_alias with compat_symbol.
7308 * signal/Versions (libc: GLIBC_2.21): New version set.
7309 * include/signal.h: Remove __sigvec declaration.
7310 * sysdeps/unix/bsd/sigvec.c: Remove file.
7311 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7312 * manual/signal.texi (BSD Handler): Remove subsection.
7313 Move siginterrupt up to ...
7314 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7315 (Blocking in BSD): Fold subsection into its parent.
7316 * NEWS: Mention sigvec removal.
7317
a4733812
JM
73182014-11-14 Joseph Myers <joseph@codesourcery.com>
7319
5ae4fe60
JM
7320 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7321 (DLA_FMS): Make definition conditional only on [__FMA4__].
7322 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7323 definition.
7324
6a0dd472
JM
7325 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7326 Make definition conditional only on [PROF].
7327 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7328 definition.
7329 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7330 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7331
a4733812
JM
7332 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7333 !__GNUC__].
7334 * include/signal.h (__sigpause): Move declaration above call to
7335 libc_hidden_proto.
7336 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7337 variable.
7338 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7339 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7340
cf7246dd
DM
73412014-11-14 David S. Miller <davem@davemloft.net>
7342
7343 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7344 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7345
c1b0aadc
JM
73462014-11-14 Joseph Myers <joseph@codesourcery.com>
7347
4863355a
JM
7348 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7349 * configure: Regenerated.
7350 * manual/install.texi (Tools for Compilation): Document a
7351 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7352 compiler verified to work.
7353 * INSTALL: Regenerated.
7354
c1b0aadc
JM
7355 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7356 redeclare with asm name.
7357 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7358 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7359 including <string.h>.
7360 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7361 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7362 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7363 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7364 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7365 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7366 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7367
2a1cfd94
JM
73682014-11-13 Joseph Myers <joseph@codesourcery.com>
7369
bf438382
JM
7370 * stdlib/strtol.c (__strtol): Use prototype definition.
7371
2a1cfd94
JM
7372 [BZ #17594]
7373 * stdlib/strtol.c (SYM__): New macro.
7374 (SYM__1): Likewise.
7375 (__strtol): Likewise.
7376 (strtol): Rename to __strtol and define as weak alias of
7377 __strtol. Use libc_hidden_weak.
7378
20ed0d26
SL
73792014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7380
7381 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7382 Use numbered labels in inline assembly.
7383
53244a4e
SL
73842014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7385
7386 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7387 Add setjmp LIBC_PROBE.
7388 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7389 Likewise.
7390 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7391 Add longjmp, longjmp_target LIBC_PROBE.
7392 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7393 Likewise.
7394
47df8251
SL
73952014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7396
7397 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7398 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7399 to get rid of unused variable warning.
7400
618cebef
SL
74012014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7402
7403 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7404 Check for unwind_backtrace == NULL only in SHARED case.
7405 (__backchain_backtrace): Compile only in SHARED case.
7406 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7407 Likewise.
7408 (__backchain_backtrace): Declare as static.
7409
c6aab2cb
RM
74102014-11-12 Roland McGrath <roland@hack.frob.com>
7411
7412 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7413 (__libc_multiple_threads_ptr): Variable moved ...
7414 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7415
5a6fa4d7
JM
74162014-11-12 Joseph Myers <joseph@codesourcery.com>
7417
24f4f825
JM
7418 * conform/GlibcConform.pm: New file.
7419 * conform/conformtest.pl: Use GlibcConform module.
7420 * conform/linknamespace.pl: New file.
7421 * conform/list-header-symbols.pl: Likewise.
7422 * conform/Makefile (linknamespace-symlists-base): New variable.
7423 (linknamespace-symlists-tests): Likewise.
7424 (linknamespace-header-base): Likewise.
7425 (linknamespace-header-tests): Likewise.
7426 (tests-special): Add new tests.
7427 ($(linknamespace-symlists-tests)): New rule.
7428 (linknamespace-libs): New variable.
7429 ($(objpfx)symlist-stdlibs): New rule.
7430 ($(linknamespace-header-tests)): Likewise.
7431 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7432 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7433 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7434 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7435 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7436 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7437 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7438 (test-xfail-ISO/math.h/linknamespace): Likewise.
7439 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7440 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7441 (test-xfail-ISO/time.h/linknamespace): Likewise.
7442 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7443 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7444 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7445 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7446 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7447 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7448 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7449 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7450 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7451 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7452 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7453 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7454 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7455 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7456 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7457 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7458 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7459 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7460 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7461 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7462 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7463 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7464 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7465 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7466 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7467 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7468 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7469 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7470 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7471 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7472 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7473 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7474 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7475 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7476 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7477 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7478 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7479 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7480 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7481 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7482 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7483 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7484 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7485 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7486 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7487 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7488 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7489 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7490 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7491 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7492 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7493 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7494 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7495 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7496 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7497 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7498 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7499 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7500 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7501 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7502 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7503 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7504 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7505 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7506 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7507 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7508 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7509 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7510 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7511 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7512 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7513 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7514 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7515 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7516 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7517 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7518 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7519 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7520 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7521 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7522 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7523 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7524 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7525 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7526 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7527 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7528 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7529 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7530 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7531 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7532 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7533 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7534 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7535 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7536 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7537 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7538 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7539 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7540 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7541 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7542 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7543 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7544 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7545 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7546 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7547 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7548 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7549 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7550 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7551 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7552 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7553 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7554 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7555 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7556 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7557 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7558 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7559 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7560 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7561 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7562 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7563 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7564 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7565 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7566 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7567 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7568 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7569 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7570 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7571 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7572 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7573 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7574 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7575 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7576 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7577 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7578 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7579 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7580 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7581 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7582 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7583 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7584 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7585 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7586 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7587 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7588 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7589 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7590 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7591 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7592
cc67478e
JM
7593 [BZ #17589]
7594 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7595 of fgets_unlocked.
7596
9975e3d3
JM
7597 [BZ #17585]
7598 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7599 (memmem): Rename to __memmem and define as weak alias of
7600 __memmem. Use libc_hidden_weak.
7601 (__memmem): Use libc_hidden_def.
7602 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
7603 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7604 memmem.
7605
c4eae752
JM
7606 [BZ #17582]
7607 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7608 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
7609 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7610 and define as weak alias of __fgets_unlocked. Use
7611 libc_hidden_weak.
7612 (__fgets_unlocked): Use libc_hidden_def.
7613 * include/stdio.h (__fgets_unlocked): Declare. Use
7614 libc_hidden_proto.
7615 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7616 __fgets_unlocked instead of fgets_unlocked.
7617 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7618 (GET_NPROCS_CONF_PARSER): Likewise.
7619 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7620 (GET_NPROCS_CONF_PARSER): Likewise.
7621
01cad84e
JM
7622 [BZ #17574]
7623 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7624 weak alias of __wmemset. Use libc_hidden_weak.
7625 (__wmemset): Use libc_hidden_def.
7626 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
7627 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7628 of wmemset.
7629
939da411
JM
7630 [BZ #17573]
7631 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7632 with asm name __mempcpy.
7633 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7634
293d9a41
JM
7635 [BZ #17572]
7636 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7637 and define as weak alias of __rawmemchr.
7638 (__rawmemchr): Do not define as strong alias of rawmemchr.
7639
bef8fd60
JM
7640 [BZ #17571]
7641 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7642 alias of __qsort_r.
7643 (qsort): Call __qsort_r instead of qsort_r.
7644 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7645 (__qsort_r): Declare. Call libc_hidden_proto.
7646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7647 instead of qsort_r.
7648 * nscd/gai.c (__qsort_r): Define to qsort_r.
7649 * posix/tst-rfc3484.c (__qsort_r): Likewise.
7650 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7651 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7652
c52ff39e
JM
7653 [BZ #17570]
7654 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7655 define as weak alias of __malloc_info.
7656
2f5c1b00
JM
7657 [BZ #17584]
7658 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7659 as weak alias of __rewinddir. Don't use libc_hidden_def.
7660 (__rewinddir): Use libc_hidden_def.
7661 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7662 as weak alias of __rewinddir. Don't use libc_hidden_def.
7663 (__rewinddir): Use libc_hidden_def.
7664 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7665 weak alias of __rewinddir. Don't use libc_hidden_def.
7666 (__rewinddir): Use libc_hidden_def.
7667 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7668 (__rewinddir): Use libc_hidden_proto.
7669 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7670 rewinddir.
7671 (__getcwd): Use __rewinddir instead of rewinddir.
7672
5a6fa4d7
JM
7673 [BZ #17583]
7674 * libio/fileno.c (fileno): Rename to __fileno and define as weak
7675 alias of __fileno. Use libc_hidden_weak.
7676 (__fileno): Use libc_hidden_def.
7677 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7678 * libio/ftello.c (ftello): Rename to __ftello and define as weak
7679 alias of __ftello.
7680 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7681 __ftello.
7682 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7683 (__fread_unlocked): Define as strong alias of _IO_fread. Use
7684 libc_hidden_def.
7685 (fread_unlocked): Don't use libc_hidden_ver.
7686 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7687 and define as weak alias of __fread_unlocked. Don't use
7688 libc_hidden_def.
7689 (__fread_unlocked): Use libc_hidden_def.
7690 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
7691 (ftello): Don't use libc_hidden_proto.
7692 (__ftello): Declare. Use libc_hidden_proto.
7693 (fread_unlocked): Don't use libc_hidden_proto.
7694 (__fread_unlocked): Declare. Use libc_hidden_proto.
7695 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7696 and __ftello instead of fileno, fread_unlocked and ftello.
7697
2581b98e
SP
76982012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7699
7700 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7701 GOT12.
7702 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7703 Likewise.
7704 (_dl_start_user): Likewise.
7705 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7706
533bb7c2
SP
77072014-11-12 Carlos O'Donell <carlos@redhat.com>
7708 Siddhesh Poyarekar <siddhesh@redhat.com>
7709
7710 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7711 Move argv and envp down instead of moving argc up.
7712 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7713
fffa1cf8
LH
77142014-11-12 Leonhard Holz <leonhard.holz@web.de>
7715
7716 [BZ #17506]
7717 * test-skeleton.c (main): Return successful if one of
7718 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7719 * string/tst-strcoll-overflow.c: Define expected status.
7720
fb89b46d
TU
77212014-11-12 Tatiana Udalova <t.udalova@samsung.com>
7722
7723 [BZ #17475]
7724 * locale/iso-639.def: Define Bhili and Tulu language codes.
7725
5c40c3ba
AH
77262014-11-11 Alan Hayward <alan.hayward@arm.com>
7727
7728 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7729
b17fe01b 77302014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
7731
7732 [BZ #17555]
7733 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7734
bd805071
AS
77352014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7736
7737 * configure.ac: Updated check of minimal required version to
7738 2.22.
7739 * manual/install.texi (Tools for Compilation): Updated version
7740 number.
7741 * configure: Regenerated.
7742 * INSTALL: Likewise.
7743
1400983e
AS
77442014-11-07 Andreas Schwab <schwab@linux-m68k.org>
7745
7746 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7747 __tls_get_addr.
7748
2c46a66a
JM
77492014-11-07 Joseph Myers <joseph@codesourcery.com>
7750
7751 * include/sys/wait.h (__libc_waitpid): Remove declaration.
7752 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7753 (__waitpid): Don't define as alias. Use libc_hidden_def not
7754 libc_hidden_weak.
7755 (waitpid): Define as alias of __waitpid.
7756 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7757 __waitpid.
7758 (__waitpid): Don't define as alias. Use libc_hidden_def not
7759 libc_hidden_weak.
7760 (waitpid): Define as alias of __waitpid.
7761 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7762 __libc_waitpid alias.
7763 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7764 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7765 Likewise.
7766 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7767 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7768 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7769 alias.
7770 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7771 __waitpid.
7772 (__waitpid): Don't define as alias. Use libc_hidden_def not
7773 libc_hidden_weak.
7774 (waitpid): Define as alias of __waitpid.
7775
da53d6db
CD
77762014-11-06 Carlos O'Donell <carlos@redhat.com>
7777
a2887bdb
CD
7778 * manual/llio.texi: Add comment that write safety has been
7779 fixed in Linux.
7780
da53d6db
CD
7781 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7782 (localplt-build-dso): Add elf/ld.so.
7783 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7784 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7785 and free for ld.so.
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7787 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7789 Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7791 Likewise.
7792 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7793 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7794 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7795 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7796 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7797 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7798 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7799 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7800 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7801 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7802 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7803
9cf27b8d
JM
78042014-11-05 Joseph Myers <joseph@codesourcery.com>
7805
7806 [BZ #14132]
7807 * include/libc-symbols.h (INTUSE): Remove macro.
7808 (INTDEF): Likewise.
7809 (INTVARDEF): Likewise.
7810 (_INTVARDEF): Likewise.
7811 (INTDEF2): Likewise.
7812 (INTVARDEF2): Likewise.
7813 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7814 rtld_hidden_def instead of INTVARDEF.
7815 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7816 (_dl_starting_up_internal): Remove declaration.
7817 (_dl_starting_up): Use rtld_hidden_proto.
7818 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7819 declaration.
7820 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7821 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7822 _dl_starting_up.
7823 * elf/dl-writev.h (_dl_writev): Likewise.
7824 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7825 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7826 _dl_starting_up_internal.
7827
af83568d
AZ
78282014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7829
7830 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7831 test-skeleton.c.
7832
b01ee67c
WN
78332014-11-05 Will Newton <will.newton@linaro.org>
7834
7835 * benchtests/Makefile: (bench-malloc): Add malloc thread
7836 scalability benchmark.
7837 * benchtests/bench-malloc-threads.c: New file.
7838
be9d4ccc
RE
78392014-11-05 Richard Earnshaw <rearnsha@arm.com>
7840
7841 * sysdeps/aarch64/strchrnul.S: New file.
7842
7110166d
AZ
78432014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844
7845 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7846 definition.
7847 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7848 Likwise.
7849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7850 Likewise.
7851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7852 Likewise.
7853 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7854 Likewise.
7855 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7856 Likewise.
7857
78582014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
7859
7860 * catgets/test-gencat.c: Use test-skeleton.c.
7861 * catgets/tst-catgets.c: Likewise.
7862 * csu/tst-empty.c: Likewise.
7863 * elf/tst-audit2.c: Likewise.
7864 * elf/tst-global1.c: Likewise.
7865 * elf/tst-pathopt.c: Likewise.
7866 * elf/tst-piemod1.c: Likewise.
7867 * elf/tst-tls10.c: Likewise.
7868 * elf/tst-tls11.c: Likewise.
7869 * elf/tst-tls12.c: Likewise.
7870 * gnulib/tst-gcc.c: Likewise.
7871 * iconvdata/tst-e2big.c: Likewise.
7872 * iconvdata/tst-loading.c: Likewise.
7873 * iconv/tst-iconv1.c: Likewise.
7874 * iconv/tst-iconv2.c: Likewise.
7875 * inet/test-inet6_opt.c: Likewise.
7876 * inet/tst-gethnm.c: Likewise.
7877 * inet/tst-network.c: Likewise.
7878 * inet/tst-ntoa.c: Likewise.
7879 * intl/tst-codeset.c: Likewise.
7880 * intl/tst-gettext2.c: Likewise.
7881 * intl/tst-gettext3.c: Likewise.
7882 * intl/tst-ngettext.c: Likewise.
7883 * intl/tst-translit.c: Likewise.
7884 * io/test-stat.c: Likewise.
7885 * libio/test-fmemopen.c: Likewise.
7886 * libio/tst-freopen.c: Likewise.
7887 * libio/tst-sscanf.c: Likewise.
7888 * libio/tst-ungetwc1.c: Likewise.
7889 * libio/tst-ungetwc2.c: Likewise.
7890 * libio/tst-widetext.c: Likewise.
7891 * localedata/tst-ctype.c: Likewise.
7892 * localedata/tst-digits.c: Likewise.
7893 * localedata/tst-leaks.c: Likewise.
7894 * localedata/tst-mbswcs1.c: Likewise.
7895 * localedata/tst-mbswcs2.c: Likewise.
7896 * localedata/tst-mbswcs3.c: Likewise.
7897 * localedata/tst-mbswcs4.c: Likewise.
7898 * localedata/tst-mbswcs5.c: Likewise.
7899 * localedata/tst-setlocale.c: Likewise.
7900 * localedata/tst-trans.c: Likewise.
7901 * localedata/tst-wctype.c: Likewise.
7902 * localedata/tst-xlocale1.c: Likewise.
7903 * login/tst-grantpt.c: Likewise.
7904 * malloc/tst-calloc.c: Likewise.
7905 * malloc/tst-malloc.c: Likewise.
7906 * malloc/tst-mallocstate.c: Likewise.
7907 * malloc/tst-mcheck.c: Likewise.
7908 * malloc/tst-mtrace.c: Likewise.
7909 * malloc/tst-obstack.c: Likewise.
7910 * math/atest-exp2.c: Likewise.
7911 * math/atest-exp.c: Likewise.
7912 * math/atest-sincos.c: Likewise.
7913 * math/test-matherr.c: Likewise.
7914 * math/test-misc.c: Likewise.
7915 * math/test-powl.c: Likewise.
7916 * math/tst-definitions.c: Likewise.
7917 * misc/tst-dirname.c: Likewise.
7918 * misc/tst-efgcvt.c: Likewise.
7919 * misc/tst-fdset.c: Likewise.
7920 * misc/tst-hsearch.c: Likewise.
7921 * misc/tst-mntent2.c: Likewise.
7922 * nptl/tst-sem7.c: Likewise.
7923 * nptl/tst-sem8.c: Likewise.
7924 * nptl/tst-sem9.c: Likewise.
7925 * nss/test-netdb.c: Likewise.
7926 * posix/tst-fnmatch.c: Likewise.
7927 * posix/tst-getlogin.c: Likewise.
7928 * posix/tst-gnuglob.c: Likewise.
7929 * posix/tst-mmap.c: Likewise.
7930 * pwd/tst-getpw.c: Likewise.
7931 * resolv/tst-inet_ntop.c: Likewise.
7932 * rt/tst-timer.c: Likewise.
7933 * stdio-common/test-fseek.c: Likewise.
7934 * stdio-common/test-popen.c: Likewise.
7935 * stdio-common/test-vfprintf.c: Likewise.
7936 * stdio-common/tst-cookie.c: Likewise.
7937 * stdio-common/tst-fileno.c: Likewise.
7938 * stdio-common/tst-gets.c: Likewise.
7939 * stdio-common/tst-obprintf.c: Likewise.
7940 * stdio-common/tst-perror.c: Likewise.
7941 * stdio-common/tst-sprintf2.c: Likewise.
7942 * stdio-common/tst-sprintf3.c: Likewise.
7943 * stdio-common/tst-sprintf.c: Likewise.
7944 * stdio-common/tst-swprintf.c: Likewise.
7945 * stdio-common/tst-tmpnam.c: Likewise.
7946 * stdio-common/tst-unbputc.c: Likewise.
7947 * stdio-common/tst-wc-printf.c: Likewise.
7948 * stdlib/tst-environ.c: Likewise.
7949 * stdlib/tst-fmtmsg.c: Likewise.
7950 * stdlib/tst-limits.c: Likewise.
7951 * stdlib/tst-rand48-2.c: Likewise.
7952 * stdlib/tst-rand48.c: Likewise.
7953 * stdlib/tst-random2.c: Likewise.
7954 * stdlib/tst-random.c: Likewise.
7955 * stdlib/tst-strtol.c: Likewise.
7956 * stdlib/tst-strtoll.c: Likewise.
7957 * stdlib/tst-tls-atexit.c: Likewise.
7958 * stdlib/tst-xpg-basename.c: Likewise.
7959 * string/test-ffs.c: Likewise.
7960 * string/tst-bswap.c: Likewise.
7961 * string/tst-inlcall.c: Likewise.
7962 * string/tst-strtok.c: Likewise.
7963 * string/tst-strxfrm.c: Likewise.
7964 * sysdeps/x86_64/tst-audit10.c: Likewise.
7965 * sysdeps/x86_64/tst-audit3.c: Likewise.
7966 * sysdeps/x86_64/tst-audit4.c: Likewise.
7967 * sysdeps/x86_64/tst-audit5.c: Likewise.
7968 * time/tst-ftime_l.c: Likewise.
7969 * time/tst-getdate.c: Likewise.
7970 * time/tst-mktime3.c: Likewise.
7971 * time/tst-mktime.c: Likewise.
7972 * time/tst-posixtz.c: Likewise.
7973 * time/tst-strptime2.c: Likewise.
7974 * time/tst-strptime3.c: Likewise.
7975 * wcsmbs/tst-btowc.c: Likewise.
7976 * wcsmbs/tst-mbrtowc.c: Likewise.
7977 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7978 * wcsmbs/tst-wchar-h.c: Likewise.
7979 * wcsmbs/tst-wcpncpy.c: Likewise.
7980 * wcsmbs/tst-wcrtomb.c: Likewise.
7981 * wcsmbs/tst-wcsnlen.c: Likewise.
7982 * wcsmbs/tst-wcstof.c: Likewise.
7983
2004e7fb
JM
79842014-11-04 Joseph Myers <joseph@codesourcery.com>
7985
ab97ee8f
JM
7986 [BZ #14132]
7987 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7988 INTDEF.
7989 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7990 declaration.
7991 (_dl_mcount): Use rtld_hidden_proto.
7992 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7993 _dl_mcount.
7994 * elf/rtld.c (_rtld_global_ro): Likewise.
7995
c5684fdb
JM
7996 [BZ #14132]
7997 * elf/dl-init.c (_dl_init): Don't use INTDEF.
7998 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7999 of _dl_init_internal.
8000 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8001 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8002 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8003 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8004 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8005 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8006 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8007 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8008 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8009 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8010 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8011 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8012 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8013 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8014 * sysdeps/tile/dl-start.S (_start): Likewise.
8015 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8016 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8017
4243cbea
JM
8018 [BZ #14132]
8019 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8020 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8021 (rtld_progname): Make macro definition unconditional.
8022 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8023 INTDEF.
8024 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8025 (dl_main): Likewise.
8026 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8027 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8028 instead of _dl_argv_internal.
8029 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8030 __GI__dl_argv instead of INTUSE(_dl_argv).
8031 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8032 __GI__dl_argv instead of _dl_argv_internal.
8033
2004e7fb
JM
8034 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8035 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8036 macro.
8037 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8038 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8039 New macro.
8040 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8041 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8042 macro.
8043 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8044 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8045
97827bfc
AS
80462014-11-04 Andreas Schwab <schwab@suse.de>
8047
8048 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8049
5e4df284
AZ
80502014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8051
8052 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8053 mtvsrd instruction in binary form.
8054
04b76b5a
AS
80552014-11-03 Andreas Schwab <schwab@suse.de>
8056
8057 [BZ #17522]
8058 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8059 for less than MB_LEN_MAX use a local buffer of that size.
8060 * libio/tst-fputws.c: New file.
8061 * libio/Makefile (tests): Add tst-fputws.
8062
4c6da7da
JM
80632014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8064
8065 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8066 the size of the fpu_fr.fpu_dregs[] array.
8067
1679ba8e
JM
80682014-11-01 Joseph Myers <joseph@codesourcery.com>
8069
8070 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8071 (__nanosleep): Do not define as alias.
8072 (nanosleep): Define as alias of __nanosleep.
8073 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8074 __libc_nanosleep name.
8075
2626c183
JM
80762014-10-31 Joseph Myers <joseph@codesourcery.com>
8077
8078 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8079 install.texi in comment.
8080
7f981fc2
TR
80812014-10-31 Torvald Riegel <triegel@redhat.com>
8082
8083 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8084 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8085 ... add here and use lwsync or sync ...
8086 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8087 ... and add here using lwsync.
8088
d6f373d2
MF
80892014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8090
8091 * elf/dl-machine-reject-phdr.h: New file.
8092 * elf/dl-load.c: #include that.
8093 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8094 if that returned true.
8095
67c37987
RM
80962014-10-31 Roland McGrath <roland@hack.frob.com>
8097
8098 [BZ #17496]
8099 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8100 gen-as-const-headers chunk. Add a big scare comment after the last
8101 safe place to touch before-compile.
8102
94a42455 81032014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 8104
f3f5d895
JM
8105 * manual/install.texi (Tools for Compilation): Update autoconf
8106 version requirements.
8107 * INSTALL: Regenerated.
8108
f62ff286
JM
8109 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8110 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8111 (__libc_pselect): Likewise.
94a42455
JM
8112
8113 [BZ #14138]
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8118
ff9dbdc0
TR
81192014-10-31 Torvald Riegel <triegel@redhat.com>
8120
8121 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8122 correct barrier instruction.
8123 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8124 Likewise.
8125 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8126 Likewise.
8127
b4f66884
RM
81282014-10-30 Roland McGrath <roland@hack.frob.com>
8129
8130 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8131 after defining inlines. Instead, just use parens to defeat macro
8132 expansion of __isctype in its declaration.
8133
e19c95fd
JM
81342014-10-30 Joseph Myers <joseph@codesourcery.com>
8135
8136 * include/sys/uio.h (__libc_readv): Remove declaration.
8137 (__libc_writev): Likewise.
8138 * misc/readv.c (__libc_readv): Rename to __readv.
8139 (__readv): Do not define as alias.
8140 (readv): Define as alias of __readv.
8141 * misc/writev.c (__libc_writev): Rename to __writev.
8142 (__writev): Do not define as alias.
8143 (writev): Define as alias of __writev.
8144 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8145 (__readv): Do not define as alias.
8146 (readv): Define unconditionally as alias of __readv.
8147 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8148 (__writev): Do not define as alias.
8149 (writev): Define unconditionally as alias of __writev.
8150 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8151 name.
8152 (writev): Do not define __libc_writev name.
8153
65b00b6c
RM
81542014-10-30 Roland McGrath <roland@hack.frob.com>
8155
8156 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8157 (convert_charseq): New function, broken out of ...
8158 (use_from_charmap): ... here. Call it.
8159 (use_to_charmap): Use convert_charseq and free instead of duplicating
8160 its code with a variable-length stack struct.
8161
d4e157aa
JM
81622014-10-30 Joseph Myers <joseph@codesourcery.com>
8163
8164 * include/fcntl.h (__libc_creat): Remove declaration.
8165 * io/creat.c (__libc_creat): Rename to creat.
8166 (creat): Do not define as alias.
8167 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8168 of creat instead of __libc_creat.
8169 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8170 to creat.
8171 (creat): Do not define as alias.
8172 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8173 __libc_creat.
8174 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8175 __libc_creat name.
8176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8177 Likewise.
8178
0c6891a0
CD
81792014-10-29 Carlos O'Donell <carlos@redhat.com>
8180
8181 * manual/llio.texi: Add comments discussing why write() may be
8182 considered MT-unsafe on Linux.
8183
cc00cece
CD
81842014-10-28 Carlos O'Donell <carlos@redhat.com>
8185
8186 * dl-load.c (local_strdup): Remove.
8187 (expand_dynamic_string_token): Use __strdup.
8188 (decompose_rpath): Likewise.
8189 (_dl_map_object): Likewise.
8190
51e623f2
JM
81912014-10-28 Joseph Myers <joseph@codesourcery.com>
8192
8193 [BZ #14132]
8194 * sysdeps/generic/unwind-dw2-fde.c
8195 (__register_frame_info_bases_internal): Do not declare.
8196 (__register_frame_info_table_bases_internal): Likewise.
8197 (__deregister_frame_info_bases_internal): Likewise.
8198 (__register_frame_info_bases): Declare and use hidden_proto before
8199 definition. Use hidden_def instead of INTDEF.
8200 (__register_frame_info_table_bases): Likewise.
8201 (__deregister_frame_info_bases): Likewise.
8202 (__register_frame_info): Do not use INTUSE.
8203 (__register_frame): Likewise.
8204 (__register_frame_info_table): Likewise.
8205 (__register_frame_table): Likewise.
8206 (__deregister_frame_info): Likewise.
8207 (__deregister_frame): Likewise.
8208
03d41216
GC
82092014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8210
8211 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8212 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8213 not undefine.
8214 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8215 Likewise.
8216 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8217 Likewise.
8218
a4b3624d
JM
82192014-10-27 Joseph Myers <joseph@codesourcery.com>
8220
8221 [BZ #14138]
8222 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8223 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8224 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8225 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8226 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8227 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8228 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8229 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8230 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8231 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8232 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8233 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8234 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8235 syscall.
8236 (setfsuid): Likewise.
8237 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8238 (setfsuid): Likewise.
8239 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8240 (setfsuid): Likewise.
8241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8242 Likewise.
8243 (setfsuid): Likewise.
8244 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8245 (setfsuid): Likewise.
8246 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8247 Likewise.
8248 (setfsuid): Likewise.
8249
3574f2fd
AS
82502014-10-27 Andreas Schwab <schwab@suse.de>
8251
8252 [BZ #17501]
8253 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8254 check for Slow_SSE4_2 feature bit.
8255 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8256 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8257 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8258 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8259
70996a37
RM
82602014-10-24 Roland McGrath <roland@hack.frob.com>
8261
461a7b1e
RM
8262 * configure.ac: Validate compiler version with a empirical test of
8263 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8264 $CC -v output.
8265 * configure: Regenerated.
8266
70996a37
RM
8267 * inet/htons.c (htons): Prototypify.
8268 * inet/htonl.c (htonl): Likewise.
8269
e80514b5
WD
82702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8271
8272 * string/strncat.c (strncat): Improve performance by using strlen.
8273
6e46de42
WD
82742014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8275
8276 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8277
6a9ad2fa
WD
82782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8279
8280 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8281 Call libc_fetestexcept_aarch64.
8282
1c8810ed
WD
82832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8284
8285 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8286 Call libc_feholdexcept_aarch64.
8287
8b1af712
WD
82882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8289
8290 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8291 Call get_rounding_mode.
8292
a7b00c11
WD
82932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8294
8295 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8296 Simplify logic.
8297
3a84f1a6
WD
82982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8299
8300 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8301 Simplify logic.
8302
48eb7a94
JM
83032014-10-24 Joseph Myers <joseph@codesourcery.com>
8304
c8bc4038
JM
8305 [BZ #14138]
8306 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8307 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8308 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8309 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8310 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8311 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8312 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8313 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8314 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8315 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8316 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8317 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8318 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8319 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8320 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8321 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8322 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8323 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8324 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8325 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8326 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8327 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8328 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8329 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8330 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8331 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8332 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8333 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8334 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8335 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8336 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8337 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8338 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8339 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8340 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8341 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8342 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8343 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8344 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8345 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8346 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8347 syscall.
8348 (geteuid): Likewise.
8349 (getgid): Likewise.
8350 (getuid): Likewise.
8351 (getresgid): Likewise.
8352 (getresuid): Likewise.
8353 (getgroups): Likewise.
8354 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8355 (geteuid): Likewise.
8356 (getgid): Likewise.
8357 (getuid): Likewise.
8358 (getresgid): Likewise.
8359 (getresuid): Likewise.
8360 (getgroups): Likewise.
8361 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8362 (geteuid): Likewise.
8363 (getgid): Likewise.
8364 (getuid): Likewise.
8365 (getresgid): Likewise.
8366 (getresuid): Likewise.
8367 (getgroups): Likewise.
8368 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8369 Likewise.
8370 (geteuid): Likewise.
8371 (getgid): Likewise.
8372 (getuid): Likewise.
8373 (getresgid): Likewise.
8374 (getresuid): Likewise.
8375 (getgroups): Likewise.
8376 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8377 (geteuid): Likewise.
8378 (getgid): Likewise.
8379 (getuid): Likewise.
8380 (getresgid): Likewise.
8381 (getresuid): Likewise.
8382 (getgroups): Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8384 Likewise.
8385 (geteuid): Likewise.
8386 (getgid): Likewise.
8387 (getuid): Likewise.
8388 (getgroups): Likewise.
8389
48eb7a94
JM
8390 [BZ #14138]
8391 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8392 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8393 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8394 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8395 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8396 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8397 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8398 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8399 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8400 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8401 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8402 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8403 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8404 __chown.
8405 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8406 (lchown): Likewise.
8407 (fchown): Likewise.
8408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8409 Likewise.
8410 (lchown): Likewise.
8411 (fchown): Likewise.
8412 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8413 (lchown): Likewise.
8414 (fchown): Likewise.
8415 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8416 Likewise.
8417 (lchown): Likewise.
8418 (fchown): Likewise.
8419
ea9a7c8b
WD
84202014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8421
8422 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8423 Simplify logic.
8424
e226de33
WD
84252014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8426
8427 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8428 Cleanup logic.
8429
6e3d8ed3
WD
84302014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8431
8432 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8433 Remove unused include.
8434
eb04247d
WD
84352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8436
8437 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8438 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8439 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8440 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8441
13d84554
CD
84422014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8443 Helge Deller <deller@gmx.de>
8444
8445 [BZ #17508]
8446 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8447 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8448 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8449
15f9c5df
JM
84502014-10-23 Joseph Myers <joseph@codesourcery.com>
8451
8452 [BZ #14132]
8453 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8454 Remove macro definition.
8455 (__ashrdi3_v_glibc20): Likewise.
8456 (__lshrdi3_v_glibc20): Likewise.
8457 (__cmpdi2_v_glibc20): Likewise.
8458 (__ucmpdi2_v_glibc20): Likewise.
8459 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8460 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8461 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8462 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8463 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8464 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8465
c6dfed24
RM
84662014-10-22 Roland McGrath <roland@hack.frob.com>
8467
8468 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8469 old GNU extension [0] syntax.
8470 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8471 alloca rather than an array member with variable length.
8472 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8473 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8474 (parse_opt): ... here. Likewise use alloca there.
8475 Validate the -i argument before checking for rootness.
8476 (send_shutdown): New function, broken out of ...
8477 (parse_opt): ... here.
8478
8c2b1ed8
RM
84792014-10-22 Roland McGrath <roland@hack.frob.com>
8480
8481 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8482 macro to get at the _rt_local_ro field.
8483 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8484 ([PIC] case) or _dl_hwcap ([!PIC] case).
8485 * sysdeps/arm/setjmp.S: Likewise.
8486
8487 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8488 * sysdeps/arm/configure.ac: New check to define it.
8489 * sysdeps/arm/configure: Regenerated.
8490 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8491 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8492 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8493 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8494 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8495 Use move/movt pair instead of a load.
8496 (LDST_GLOBAL): Macro removed.
8497 (LDR_GLOBAL): New macro replaces it.
8498 (LDR_HIDDEN): New macro.
8499 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8500 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8501
8502 * setjmp/tst-setjmp-static.c: New file.
8503 * setjmp/Makefile (tests): Add it.
8504 (tests-static): New variable.
8505
b5af9297
MR
85062014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8507
8508 [BZ #17485]
8509 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8510
a13d0d74
JM
85112014-10-21 Joseph Myers <joseph@codesourcery.com>
8512
8513 [BZ #14132]
8514 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8515
f05e73f6
RM
85162014-10-21 Roland McGrath <roland@hack.frob.com>
8517
8518 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8519
6ab1d1ea
RM
85202014-10-20 Roland McGrath <roland@hack.frob.com>
8521
8522 * io/fts.c (dirent_not_directory): New function.
8523 (fts_build): Call it.
8524
ab49e763
RM
85252014-10-20 Roland McGrath <roland@hack.frob.com>
8526
e436eb79
RM
8527 * nptl/version.c (__nptl_main): Use normal __write rather than
8528 INTERNAL_SYSCALL.
8529 (banner): Update copyright years.
8530
6af246cf
RM
8531 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8532 gettimeofday.
8533 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8534 * nptl/pthread_cond_timedwait.c: Likewise.
8535 * nptl/pthread_mutex_timedlock.c: Likewise.
8536 * nptl/sem_timedwait.c: Likewise.
8537
ab49e763
RM
8538 * sysdeps/nptl/bits/libc-lock.h
8539 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8540 (__libc_lock_init_recursive): Return void, not 0.
8541 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8542 (__libc_rwlock_init): Likewise.
8543 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8544
f50277c1
TR
85452014-10-20 Torvald Riegel <triegel@redhat.com>
8546
8547 [BZ #15215]
8548 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8549 (__pthread_once_slow): ... here.
8550 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8551 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8552
63668b70
TR
85532014-10-20 Torvald Riegel <triegel@redhat.com>
8554
8555 [BZ #15215]
8556 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8557 __PTHREAD_ONCE_FORK_GEN_INCR): New.
8558 * sysdeps/nptl/fork.c (__libc_fork): Use them.
8559 * nptl/pthread_once.c (__pthread_once): Likewise.
8560 Update comments.
8561
42b7f5d4
JM
85622014-10-20 Joseph Myers <joseph@codesourcery.com>
8563
8564 [BZ #14138]
8565 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8566 name.
8567 (writev): Use __libc_writev as strong name.
8568 * sysdeps/unix/sysv/linux/readv.c: Remove file.
8569 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8570
b0643088
RM
85712014-10-17 Roland McGrath <roland@hack.frob.com>
8572
114c4e09
RM
8573 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8574
674b8978
RM
8575 * sysdeps/i386/nptl/tls.h
8576 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8577 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8578 New macros.
8579 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8580 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8581 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8582 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8583 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8584 Call CHECK_THREAD_SYSINFO instead of doing an assert.
8585
184ee940
RM
8586 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8587 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8588 on [__NR_futex].
8589 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8590 broken out of ...
8591 (__pthread_mutex_init): ... here. Call it.
8592 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8593 Conditionalize PI cases on [__NR_futex].
8594 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8595 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8596 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8597
327ae257
RM
8598 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8599 conditional on [SIGSETXID].
8600 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8601 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8602 is defined. Likewise for SIGSETXID.
8603 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8604 Conditionalize definitions on [SIGSETXID].
8605 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8606 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8607 unblocking on [SIGCANCEL].
8608
b0643088
RM
8609 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8610 [__NR_set_robust_list].
8611
33cc770b
SP
86122014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8613
8614 * string/strcoll_l.c (get_next_seq): Fix up formatting.
8615 (do_compare): Likewise.
8616
0742aef6
LH
86172014-10-17 Leonhard Holz <leonhard.holz@web.de>
8618
8619 [BZ #15884]
8620 * string/strcoll_l.c: Don't include stdio.h.
8621 (coll_seq): Remove members idxarr and rulearr.
8622 (get_next_seq_cached): Remove function.
8623 (get_next_seq): Likewise.
8624 (get_next_seq_nocache): Rename to get_next_seq.
8625 (do_compare): Remove function.
8626 (do_compare_nocache): Rename to do_compare.
8627 (STRCOLL): Remove weight and rules cache.
8628
ee54ce44
RM
86292014-10-16 Roland McGrath <roland@hack.frob.com>
8630
8631 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8632 * sysdeps/arm/sfp-machine.h: ... to here.
8633 * sysdeps/arm/Implies: Remove arm/soft-fp.
8634
a75d3b02
JM
86352014-10-14 Joseph Myers <joseph@codesourcery.com>
8636
8637 * conform/data/sys/utsname.h-data (*_t): Allow.
8638 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8639 [POSIX] (WEXITED): Do not expect constant.
8640 [POSIX] (WSTOPPED): Likewise.
8641 [POSIX] (WNOHANG): Likewise.
8642 [POSIX] (WNOWAIT): Likewise.
8643 [POSIX] (siginfo_t): Do not expect type or elements.
8644 [POSIX] (pid_t): Do not expect type.
8645 [POSIX] (signal.h): Do not allow header.
8646 [POSIX] (sys/resource.h): Likewise.
8647 [POSIX] (si_*): Do not allow pattern.
8648 [POSIX] (W*): Likewise.
8649 [POSIX] (P_*): Likewise.
8650 [POSIX] (BUS_*): Likewise.
8651 [POSIX] (CLD_*): Likewise.
8652 [POSIX] (FPE_*): Likewise.
8653 [POSIX] (ILL_*): Likewise.
8654 [POSIX] (POLL_*): Likewise.
8655 [POSIX] (SEGV_*): Likewise.
8656 [POSIX] (SI_*): Likewise.
8657 [POSIX] (TRAP_*): Likewise.
8658 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8659 variable.
8660
fda389c8
SP
86612014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8662
8663 [BZ #12926]
8664 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8665 infinite loop when __recvmsg returns 0.
8666
6bc6bd3b
JM
86672014-10-10 Joseph Myers <joseph@codesourcery.com>
8668
fcb32af1
JM
8669 * CANCEL-FCT-WAIVE: Remove file.
8670 * CANCEL-FILE-WAIVE: Likewise.
8671
6bc6bd3b
JM
8672 [BZ #14132]
8673 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8674 instead of INTVARDEF.
8675 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8676 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8677 rtld_hidden_data_def instead of INTVARDEF.
8678 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8679 * elf/dl-deps.c (expand_dst): Likewise.
8680 * elf/dl-load.c (_dl_dst_count): Likewise.
8681 (_dl_dst_substitute): Likewise.
8682 (decompose_rpath): Likewise.
8683 (_dl_init_paths): Likewise.
8684 (open_path): Likewise.
8685 (_dl_map_object): Likewise.
8686 * elf/rtld.c (dl_main): Likewise.
8687 (process_dl_audit): Likewise.
8688 (process_envvars): Likewise.
8689 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8690 Remove declaration.
8691 (__libc_enable_secure): Use rtld_hidden_proto.
8692
b8c80a7e
KS
86932014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8694
8695 * elf/dl-load.c
8696 (add_path): New function broken out of _dl_rtld_di_serinfo.
8697 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
8698
ff12c11f
JM
86992014-10-09 Joseph Myers <joseph@codesourcery.com>
8700
5c0508a3
JM
8701 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8702 parentheses around macro arguments.
8703 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8704 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8705 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8706 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8707 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8708 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8709 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8710 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8711 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8712 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8713 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8714 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8715 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8716 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8717 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8718 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8719 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8720 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8721 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8722 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8723 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8724 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8725 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8726 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8727 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8728 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8729 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8730 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8731 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8732 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8733 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8734 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8735 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8736 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8737 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8738 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8739 Likewise.
8740 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8741 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8742 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8743 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8744 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8745 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8746 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8747 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8748 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8749 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8750 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8751 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8752 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8753 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8754 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8755 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8756 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8757 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8758 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8759 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8760 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8761 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8762 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8763 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8764 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8765 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8766 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8767 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8768 (_FP_FRAC_SRS_1): Likewise.
8769 (_FP_FRAC_CLZ_1): Likewise.
8770 (_FP_MUL_MEAT_1_imm): Likewise.
8771 (_FP_MUL_MEAT_1_wide): Likewise.
8772 (_FP_MUL_MEAT_1_hard): Likewise.
8773 (_FP_SQRT_MEAT_1): Likewise.
8774 (_FP_FRAC_ASSEMBLE_1): Likewise.
8775 (_FP_FRAC_DISASSEMBLE_1): Likewise.
8776 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8777 (__FP_CLZ_2): Likewise.
8778 (_FP_MUL_MEAT_2_wide): Likewise.
8779 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8780 (_FP_MUL_MEAT_2_gmp): Likewise.
8781 (_FP_MUL_MEAT_2_120_240_double): Likewise.
8782 (_FP_SQRT_MEAT_2): Likewise.
8783 (_FP_FRAC_ASSEMBLE_2): Likewise.
8784 (_FP_FRAC_DISASSEMBLE_2): Likewise.
8785 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8786 (_FP_FRAC_CLZ_4): Likewise.
8787 (_FP_MUL_MEAT_4_wide): Likewise.
8788 (_FP_MUL_MEAT_4_gmp): Likewise.
8789 (_FP_SQRT_MEAT_4): Likewise.
8790 (_FP_FRAC_ASSEMBLE_4): Likewise.
8791 (_FP_FRAC_DISASSEMBLE_4): Likewise.
8792 * soft-fp/op-common.h (_FP_CMP): Likewise.
8793 (_FP_CMP_EQ): Likewise.
8794 (_FP_CMP_UNORD): Likewise.
8795 (_FP_TO_INT): Likewise.
8796 (_FP_FROM_INT): Likewise.
8797 [!__FP_CLZ] (__FP_CLZ): Likewise.
8798 (_FP_DIV_HELP_imm): Likewise.
8799 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8800 Likewise.
8801 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8804 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8805 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8806 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8808 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8809 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8812 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8813 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8814 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8815 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8816 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8817 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8823 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8824 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8826 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8827 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8828 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8830 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8831 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8832 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8833 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8834 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8835 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8836 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8837 (FP_UNPACK_RAW_SP): Likewise.
8838 (FP_PACK_RAW_S): Likewise.
8839 (FP_PACK_RAW_SP): Likewise.
8840 (FP_UNPACK_S): Likewise.
8841 (FP_UNPACK_SP): Likewise.
8842 (FP_UNPACK_SEMIRAW_S): Likewise.
8843 (FP_UNPACK_SEMIRAW_SP): Likewise.
8844 (FP_PACK_S): Likewise.
8845 (FP_PACK_SP): Likewise.
8846 (FP_PACK_SEMIRAW_S): Likewise.
8847 (FP_PACK_SEMIRAW_SP): Likewise.
8848 (_FP_SQRT_MEAT_S): Likewise.
8849 (FP_CMP_S): Likewise.
8850 (FP_CMP_EQ_S): Likewise.
8851 (FP_CMP_UNORD_S): Likewise.
8852 (FP_TO_INT_S): Likewise.
8853 (FP_FROM_INT_S): Likewise.
8854
a736ec37
JM
8855 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8856
ff12c11f
JM
8857 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8858 (FP_EX_INVALID_IMZ): Likewise.
8859 (FP_EX_INVALID_IMZ_FMA): Likewise.
8860 (FP_EX_INVALID_ISI): Likewise.
8861 (FP_EX_INVALID_ZDZ): Likewise.
8862 (FP_EX_INVALID_IDI): Likewise.
8863 (FP_EX_INVALID_SQRT): Likewise.
8864 (FP_EX_INVALID_CVI): Likewise.
8865 (FP_EX_INVALID_VC): Likewise.
8866 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8867 "invalid" exceptions.
8868 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8869 (_FP_ADD_INTERNAL): Likewise.
8870 (_FP_MUL): Likewise.
8871 (_FP_FMA): Likewise.
8872 (_FP_DIV): Likewise.
8873 (_FP_CMP_CHECK_NAN): Likewise.
8874 (_FP_SQRT): Likewise.
8875 (_FP_TO_INT): Likewise.
8876 (FP_EXTEND): Likewise.
8877
b6dcfe8c
AM
88782014-10-09 Allan McRae <allan@archlinux.org>
8879
8880 * po/fr.po: Update French translation from translation project.
8881
2d6a47ba
JM
88822014-10-09 Joseph Myers <joseph@codesourcery.com>
8883
cb831245
JM
8884 [BZ #14132]
8885 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8886 of INTDEF.
8887 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8888 (__cxa_atexit): Use libc_hidden_proto.
8889 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8890
5deeb190
JM
8891 [BZ #14132]
8892 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8893 declaration.
8894 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8895 [!_ISOMAC] (__iswspace_l_internal): Likewise.
8896 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8897 [!_ISOMAC] (__iswctype_internal): Likewise.
8898 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8899 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8900 alias.
8901 (fcntl): Remove __fcntl_internal alias.
8902 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8903 __connect_internal alias.
8904 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8905 Likewise.
8906
454ac701
JM
8907 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8908 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8909 FP_DENORM_ZERO.
8910 (_FP_CHECK_FLUSH_ZERO): New macro.
8911 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8912 (_FP_CMP): Likewise.
8913 (_FP_CMP_EQ): Likewise.
8914 (_FP_TO_INT): Do not set inexact for subnormal arguments if
8915 FP_DENORM_ZERO.
8916 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8917 (FP_TRUNC): Likewise.
8918
0022e688
JM
8919 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8920 treated as invalid conversion, not as normal exponent.
8921
73e28d9c
JM
8922 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8923 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
8924 (_FP_CMP_EQ): Likewise.
8925 (_FP_CMP_UNORD): Likewise.
8926 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8927 (FP_CMP_EQ_D): Likewise.
8928 (FP_CMP_UNORD_D): Likewise.
8929 * soft-fp/extended.h (FP_CMP_E): Likewise.
8930 (FP_CMP_EQ_E): Likewise.
8931 (FP_CMP_UNORD_E): Likewise.
8932 * soft-fp/quad.h (FP_CMP_Q): Likewise.
8933 (FP_CMP_EQ_Q): Likewise.
8934 (FP_CMP_UNORD_Q): Likewise.
8935 * soft-fp/single.h (FP_CMP_S): Likewise.
8936 (FP_CMP_EQ_S): Likewise.
8937 (FP_CMP_UNORD_S): Likewise.
8938 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8939 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8940 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8941 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8942 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8943 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8944 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8945 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8946 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8947 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8948 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8949 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8950 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8951 to FP_CMP_Q.
8952 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8953 FP_CMP_Q.
8954 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8955 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8956 FP_CMP_EQ_Q.
8957 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8958 FP_CMP_Q.
8959 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8960 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8961 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8962 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8963 FP_CMP_EQ_Q.
8964 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8965 FP_CMP_Q.
8966 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8967 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8968 FP_CMP_EQ_Q.
8969 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8970 FP_CMP_Q.
8971 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8972 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8973 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8974 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8975 FP_CMP_EQ_Q.
8976
43059f42
JM
8977 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8978 a subnormal result, set the underflow exception if trapping on
8979 underflow is enabled.
8980 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8981 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8982 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8983 redefine to 0.
8984 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8985 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8986 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8987 * soft-fp/extendxftf2.c (__extendxftf2): Use
8988 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8989
2d6a47ba
JM
8990 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8991 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8992 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8993 FP_HANDLE_EXCEPTIONS.
8994 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8995 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8996 FP_HANDLE_EXCEPTIONS.
8997 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8998 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8999 FP_HANDLE_EXCEPTIONS.
9000 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9001 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9002 FP_HANDLE_EXCEPTIONS.
9003
620f462e
JM
90042014-10-08 Joseph Myers <joseph@codesourcery.com>
9005
9006 [BZ #14132]
9007 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9008 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9009 use INTUSE.
9010 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9011 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9012 Remove alias.
9013 (__adjtimex): Define using libc_hidden_ver.
9014 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9015 Remove declaration.
9016 (ntp_gettime): Call __adjtimex directly.
9017 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9018 Remove declaration.
9019 (ntp_gettimex): Call __adjtimex directly.
9020 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9021 __adjtimex_internal alias.
9022
c763c5d2
RM
90232014-10-08 Roland McGrath <roland@hack.frob.com>
9024
9025 [BZ #17460]
9026 * nscd/nscd.c (more_help): Rewrite list of tables collection
9027 using xstrdup and asprintf.
9028
9029 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9030
7b8fb2b8
RM
90312014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9032 Roland McGrath <roland@hack.frob.com>
9033
9034 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9035 (do_lookup_unique): ... local function 'enter' here; update callers.
9036
abb280f7
JM
90372014-10-06 Joseph Myers <joseph@codesourcery.com>
9038
f7b42517
JM
9039 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9040 compat_symbol calls on [SHARED].
9041 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9042 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9043 Remove.
9044 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9045 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9046 (oldsetrlimit): Remove.
9047 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9049 (lchown): New syscall entry.
9050 (oldsetrlimit): Remove.
9051 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9052 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9053 (oldsetrlimit): Remove.
9054 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9055
abb280f7
JM
9056 [BZ #14138]
9057 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9058 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9059 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9060 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9061 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9062 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9063 (fchown): Likewise.
9064 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9065 (fchown): Likewise.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9067 Likewise.
9068
47d46237
AZ
90692014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9070
9071 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9072 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9073 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9074 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9075 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9076 Likewise.
9077 (__old_sem_post): Likewise.
9078
90792014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 9080
845a7343
CM
9081 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9082 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9083 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9084 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9085 Use INLINE_VSYSCALL macro.
9086 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9087 __vdso_clock_gettime.
9088 * sysdeps/unix/sysv/linux/tile/init-first.c
9089 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9090 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9091 __vdso_clock_gettime.
9092
83d641ef
CM
9093 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9094 to set up frame more cleanly.
9095
d9cd52e6
CM
9096 * sysdeps/tile/memcmp.c: New file.
9097
4b68ea11
CM
9098 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9099
c86f7b80
CM
9100 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9101 * sysdeps/tile/tilegx/strcasestr.c: New file.
9102 * sysdeps/tile/tilegx/strnlen.c: New file.
9103 * sysdeps/tile/tilegx/strstr.c: New file.
9104
1c4c1a6f
CM
9105 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9106
99d86ea3
AS
91072014-10-06 Arjun Shankar <arjun.is@lostca.se>
9108
9109 * nptl/tst-setuid3.c: Write errors to stdout.
9110
06210a44
KS
91112014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9112
9113 * elf/dl-deps.c
9114 (preload): New functions broken out of _dl_map_object_deps.
9115 (_dl_map_object_deps): Remove a nested function. Update call sites.
9116
6268f532
JM
91172014-10-01 Joseph Myers <joseph@codesourcery.com>
9118
9119 [BZ #14138]
9120 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9121 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9122
b925285f
SE
91232014-10-01 Steve Ellcey <sellcey@mips.com>
9124
9125 * sysdeps/mips/strcmp.S: New.
9126
754a15c6
JM
91272014-09-30 Joseph Myers <joseph@codesourcery.com>
9128
9129 [BZ #14138]
9130 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9131 (linkat): Likewise.
9132 (mkdirat): Likewise.
9133 (readlinkat): Likewise.
9134 (renameat): Likewise.
9135 (symlinkat): Likewise.
9136 (unlinkat): Likewise.
9137 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9138 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9139 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9140 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9141 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9142 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9143 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9144
85bb81c9
WN
91452014-09-30 Will Newton <will.newton@linaro.org>
9146
dc6fe23b
WN
9147 * math/math.h: Define long double math functions if
9148 _LIBC_TEST is defined.
9149 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9150
85bb81c9
WN
9151 * localedata/Makefile: Move assignment to tests-special
9152 into an ifdef testing run-built-tests.
9153 * timezone/Makefile: Likewise.
9154
b7e02da4
JM
91552014-09-29 Joseph Myers <joseph@codesourcery.com>
9156
9157 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9158 with $(BASH) not $(SHELL).
9159
62058ce6
CD
91602014-09-29 Carlos O'Donell <carlos@redhat.com>
9161 Matthew LeGendre <legendre1@llnl.gov>
9162
9163 [BZ #17411]
9164 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9165 l_reloc_result.
9166
8e257a29
KS
91672014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9168
9169 * stdio-common/printf_fp.c
9170 (hack_digit): New function, broken out of ...
9171 (__printf_fp): ... local function here. Update call sites.
9172 hack_digit now takes an additional parameter that is a pointer
9173 to a struct of the referenced locals. Those locals moved inside
9174 the struct and references updated.
9175
f4a58f0d
L
91762014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9177
9178 * aclocal.m4: Require autoconf 2.69.
9179 * configure: Regenerated.
9180 * sysdeps/aarch64/configure: Likewise.
9181 * sysdeps/alpha/configure: Likewise.
9182 * sysdeps/arm/armv7/configure: Likewise.
9183 * sysdeps/arm/configure: Likewise.
9184 * sysdeps/ia64/configure: Likewise.
9185 * sysdeps/mach/configure: Likewise.
9186 * sysdeps/mips/configure: Likewise.
9187 * sysdeps/s390/configure: Likewise.
9188 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9190
9191 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9192 file.
9193 * sysdeps/ia64/configure.ac: Likewise.
9194
93ae1eba
JM
91952014-09-26 Joseph Myers <joseph@codesourcery.com>
9196
1810d3ab
JM
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9198 specify symbol version for ld.so. Do not include entry for
9199 libpthread.
9200 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9201 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9202 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9203
93ae1eba
JM
9204 [BZ #14171]
9205 * Makeconfig [$(build-shared) = yes]
9206 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9207 makefiles.
9208 [$(build-shared) = yes && $(soversions.mk-done) = t]
9209 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9210 [$(build-shared) = yes && $(soversions.mk-done) = t]
9211 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9212 to Makerules.
9213 [$(build-shared) = yes && $(soversions.mk-done) = t]
9214 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9215 here.
9216 [$(build-shared) = yes && $(soversions.mk-done) = t]
9217 (common-generated): Don't append gnu/lib-names.h and
9218 gnu/lib-names.stmp here.
9219 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9220 (lib-names-h-abi): New variable.
9221 [$(build-shared) = yes && $(soversions.mk-done) = t]
9222 (lib-names-stmp-abi): Likewise.
9223 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9224 abi-variants] (before-compile): Append
9225 $(common-objpfx)$(lib-names-h-abi).
9226 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9227 abi-variants] (common-generated): Append gnu/lib-names.h.
9228 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9229 abi-variants] (install-others-nosubdir): Depend on
9230 $(inst_includedir)/$(lib-names-h-abi).
9231 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9232 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9233 [$(build-shared) = yes && $(soversions.mk-done) = t]
9234 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9235 [$(build-shared) = yes && $(soversions.mk-done) = t]
9236 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9237 [$(build-shared) = yes && $(soversions.mk-done) = t]
9238 (common-generated): Append $(lib-names-h-abi) and
9239 $(lib-names-stmp-abi).
9240 * scripts/lib-names.awk: Do not handle multi being set.
9241 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9242 Remove variable.
9243 (abi-lp64_be-ld-soname): Likewise.
9244 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9245 Likewise.
9246 (abi-hard-ld-soname): Likewise.
9247 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9248 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9249 Remove variable.
9250 (abi-o32_hard-ld-soname): Likewise.
9251 (abi-o32_soft_2008-ld-soname): Likewise.
9252 (abi-o32_hard_2008-ld-soname): Likewise.
9253 (abi-n32_soft-ld-soname): Likewise.
9254 (abi-n32_hard-ld-soname): Likewise.
9255 (abi-n32_soft_2008-ld-soname): Likewise.
9256 (abi-n32_hard_2008-ld-soname): Likewise.
9257 (abi-n64_soft-ld-soname): Likewise.
9258 (abi-n64_hard-ld-soname): Likewise.
9259 (abi-n64_soft_2008-ld-soname): Likewise.
9260 (abi-n64_hard_2008-ld-soname): Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9262 Likewise.
9263 (abi-64-v2-ld-soname): Likewise.
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9265 ld.so entries.
9266 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9267 variable.
9268 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9269 entry.
9270 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9271 variable.
9272 (abi-64-ld-soname): Likewise.
9273 (abi-x32-ld-soname): Likewise.
9274 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9275 entry.
9276 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9277
68870f12
JM
92782014-09-23 Joseph Myers <joseph@codesourcery.com>
9279
9280 [BZ #14138]
9281 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9282 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9283 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9284 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9285 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9286 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9287 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9288 syscall entry for GLIBC_2.2 symbol version.
9289 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9290 Likewise.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9292 (setrlimit): Likewise.
9293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9294 Likewise.
9295
ea58f202
WN
92962014-09-23 Will Newton <will.newton@linaro.org>
9297
9298 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9299 _LINUX_ARM_SYSDEP_H include guard too.
9300 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9301 define.
9302
69eb9a18
RV
93032014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9304
9305 * sysdeps/unix/sysv/linux/eventfd.c:
9306 Make first argument unsigned.
9307 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9308 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9309
20e5a5f7
OB
93102014-09-20 Ondřej Bílka <neleai@seznam.cz>
9311
9312 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9313 * socket/sys/socket.h: Likewise
9314 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9315
d3c827e7
AK
93162014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9317
9318 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9319
fe1cc35a
AS
93202014-09-17 Arjun Shankar <arjun.is@lostca.se>
9321
9322 * time/tst-ftime.c: New test.
9323 * time/Makefile (tests): Add tst-ftime.
9324
4e8afe69
JM
93252014-09-17 Joseph Myers <joseph@codesourcery.com>
9326
c4fe3ea7
JM
9327 * soft-fp/extended.h: Fix comment formatting.
9328 * soft-fp/op-1.h: Likewise.
9329 * soft-fp/op-2.h: Likewise.
9330 * soft-fp/op-4.h: Likewise.
9331 * soft-fp/op-8.h: Likewise.
9332 * soft-fp/op-common.h: Likewise.
9333 * soft-fp/soft-fp.h: Likewise.
9334
4e8afe69
JM
9335 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9336
af296fcd
JM
93372014-09-16 Joseph Myers <joseph@codesourcery.com>
9338
9339 [BZ #6652]
9340 * Makeconfig (soversions-default-setname): Remove variable.
9341 ($(common-objpfx)soversions.i): Don't pass default_setname to
9342 soversions.awk.
9343 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9344 oldest_abi to abi-versions.awk.
9345 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9346 * config.make.in (oldest-abi): Remove variable.
9347 * configure.ac (--enable-oldest-abi): Remove configure option.
9348 * configure: Regenerated.
9349 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9350 text.
9351 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9352 * scripts/soversions.awk: Do not handle default_setname variable.
9353 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9354 variable.
9355 * sysdeps/mach/hurd/configure: Regenerated.
9356 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9357 variable.
9358 * sysdeps/unix/sysv/linux/configure: Regenerated.
9359
545583d6
SP
93602014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9361
d330b980
SP
9362 * elf/Makefile (CFLAGS-interp.c): Remove.
9363 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9364 path string.
9365 * elf/interp.c: Include generated runtime-linker.h
9366
02657da2
SP
9367 * Makerules (lib%.so): Don't include $(+interp) in
9368 prerequisites.
9369 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9370 * dlfcn/eval.c: Remove file.
9371
653b1080
SP
9372 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9373 macros.
9374
602f80ec
SP
9375 [BZ #17266]
9376 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9377 4.2 and newer.
9378
545583d6
SP
9379 [BZ #17370]
9380 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9381
884ddc50
SP
93822014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9383 Jakub Jelinek <jakub@redhat.com>
9384
9385 [BZ #17266]
9386 * libio/stdio.h: Check definition of __fortify_function
9387 instead of __extern_always_inline to include bits/stdio2.h.
9388 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9389 check if __extern_always_inline is defined.
9390 [__USE_MISC || __USE_XOPEN]: Likewise.
9391 [__USE_ISOC99] Likewise.
9392 * misc/sys/cdefs.h (__fortify_function): Define only if
9393 __extern_always_inline is defined.
9394 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9395 __extern_always_inline and __extern_inline only for g++-4.3
9396 and newer or a compatible gcc.
9397
a7b87268
AS
93982014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9399
9400 [BZ #17371]
9401 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9402 last change to handle zero prefix length.
9403
3f41521d
SP
94042014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9405
61fe374a
SP
9406 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9407 _SC_REGEX_VERSION.
9408
3f41521d
SP
9409 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9410 _POSIX_RAW_SOCKETS.
9411
d8f879ee
AM
94122014-09-13 Allan McRae <allan@archlinux.org>
9413
9414 * po/ru.po: Update Russian translation from translation project.
9415
c079afb7
RM
94162014-09-12 Roland McGrath <roland@hack.frob.com>
9417
a62b3c15
RM
9418 * locale/programs/locale.c (show_locale_vars): Inline local function
9419 into its sole call site. Clean up some style nits.
9420 (print_item): New function, broken out of ...
9421 (show_info): ... local function here. Clean up style nits.
9422
d7e49b19
RM
9423 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9424 out of ...
9425 (set_class_defaults): ... local function set_default here.
9426 Define set_default as a macro locally to pass constant parameters.
9427 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9428 rather than a shared local.
9429
c079afb7
RM
9430 * stdlib/rpmatch.c (try): New function, broken out of ...
9431 (rpmatch): ... local function here. Also, prototypify definition.
9432
0bd72468
JM
94332014-09-12 Joseph Myers <joseph@codesourcery.com>
9434
ba90e050
JM
9435 * scripts/soversions.awk: Do not handle configuration names.
9436 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9437 vendor and os variables to soversions.awk.
9438 * configure.ac: Do not modify gnu-* host_os.
9439 * configure: Regenerated
9440 * shlib-versions: Remove first column with configuration names.
9441 * nptl/shlib-versions: Likewise.
9442 * nptl_db/shlib-versions: Likewise.
9443 * sysdeps/hppa/shlib-versions: Likewise.
9444 * sysdeps/m68k/shlib-versions: Likewise.
9445 * sysdeps/mach/hurd/shlib-versions: Likewise.
9446 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9447 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9448 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9449 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9450 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9451 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9452 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9453 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9455 Likewise.
9456 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9457 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9458 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9459 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9460 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9461 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9462 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9463 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9464
73a39112
JM
9465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9466 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9468 Regenerated.
9469 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9471 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9472
c729e7c1
JM
9473 * shlib-versions: Remove OS-specific entries. Moved to files in
9474 sysdeps.
9475 * sysdeps/mach/hurd/shlib-versions: New file.
9476 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9477
dc932a24
JM
9478 * nptl/shlib-versions: Remove architecture-specific entries.
9479 Moved to files in sysdeps.
9480 * shlib-versions: Likewise.
9481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9482 file.
9483 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9484 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9485 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9486 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9487
0bd72468
JM
9488 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9489 (UDP_NO_CHECK6_RX): Likewise.
9490
920238e0
SP
94912014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9492
9493 * sysdeps/posix/sysconf.c (__sysconf): Spell
9494 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9495
ba7b4d29
FW
94962014-08-12 Florian Weimer <fweimer@redhat.com>
9497
9498 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9499 loading.
9500 * iconv/Versions (__gconv_transliterate): Export for use from
9501 gconv modules.
9502 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9503 (struct __gconv_trans_data, __gconv_trans_fct,
9504 __gconv_trans_context_fct, __gconv_trans_query_fct,
9505 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9506 definitions.
9507 (struct __gconv_step_data): Remove __trans member.
9508 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9509 longer hidden. Remove unused trans_data argument.
9510 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9511 (__gconv_translit_find): Remove declaration.
9512 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9513 prototype.
9514 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9515 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9516 trans_data argument. Add hidden definition.
9517 (__gconv_translit_find): Remove.
9518 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9519 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9520 * iconv/skeleton.c: Remove transliteration initialization.
9521 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9522 __gconv_step_data initialization.
9523 * libio/iofwide.c (__libio_translit_): Remove.
9524 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9525 * wcsmbs/btowc.c (__btowc): Likewise.
9526 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9527 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9528 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9529 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9530 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9531 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9532 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9533 * wcsmbs/wctob.c (wctob): Likewise.
9534
5379aebd
SP
95352014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9536
9537 [BZ #16194]
9538 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9539 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9540 register usage.
9541 * sysdeps/x86/Makefile: Adjust.
9542
8c0ab919
RM
95432014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9544 Roland McGrath <roland@hack.frob.com>
9545
9546 * locale/weight.h: Add include guard.
9547 (findidx): Make static rather than auto; take new parameters
9548 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9549 * locale/weightwc.h: Likewise.
9550 * posix/fnmatch_loop.c
9551 (FCT): Change type of EXTRA from int32_t to wint_t.
9552 Don't include either header inside the function.
9553 Call FINDIDX rather than findidx, and pass new arguments.
9554 #undef FINDIDX at the end of the file.
9555 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9556 FINDIDX before including fnmatch_loop.c for the non-wide version.
9557 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9558 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9559 for the wide version.
9560 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9561 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9562 Pass new arguments to findidx.
9563 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9564 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9565 Don't #include it inside the function. Pass new arguments to findidx.
9566 * posix/regex_internal.h
9567 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9568 (re_string_elem_size_at): Don't #include it inside the function.
9569 Pass new arguments to findidx.
9570 * string/strcoll_l.c: #include WEIGHT_H at top level.
9571 (get_next_seq): Don't #include it inside the function.
9572 Pass new arguments to findidx.
9573 (get_next_seq_nocache): Likewise.
9574 * string/strxfrm_l.c: #include WEIGHT_H at top level.
9575 (STRXFRM): Don't #include it inside the function.
9576 Pass new arguments to findidx.
9577
52ffbdf2
FW
95782014-09-11 Florian Weimer <fweimer@redhat.com>
9579
9580 [BZ #17344]
9581 * malloc/malloc.c (unlink): Turn asserts into a call to
9582 malloc_printerr.
9583
984c0ea9
TL
95842014-09-11 Tim Lammens <tim.lammens@gmail.com>
9585
9586 [BZ #17370]
9587 * libio/wfileops (do_ftell_wide): Free OUT.
9588
3daee107
CM
95892014-09-10 Chris Metcalf <cmetcalf@tilera.com>
9590
9591 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9592
58b930ae
SP
95932014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9594
9595 [BZ #17363]
9596 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9597 group if the current group is empty.
9598
3b473fec
AZ
95992014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9600
71ae8647
AZ
9601 * benchtests/bench-memset.c (test_main): Add more test from size
9602 from 32 to 512 bytes.
9603 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9604 Add POWER8 memset object.
9605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9606 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9607 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9608 implementation.
9609 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9610 Likewise.
9611 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9612 multiarch POWER8 memset optimization.
9613 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9614 POWER8 memset optimization.
9615
3b473fec
AZ
9616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9617 Remove bzero multiarch objects.
9618 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9619 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9620 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9621 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9622 Remove define.
9623 [__bzero]: Redefine to specific name.
9624 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9625 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9626 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9627 define.
9628 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9629 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9630
e6fb9587
FW
96312014-09-10 Florian Weimer <fweimer@redhat.com>
9632
9633 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9634 warnings into errors.
9635
9636 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9637 __cxa_thread_atexit_impl prototype.
9638
9d3a350b
SE
96392014-09-09 Steve Ellcey <sellcey@mips.com>
9640
9641 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9642 Fix capitalization of error message.
9643
0febba23
SE
96442014-09-09 Steve Ellcey <sellcey@mips.com>
9645
9646 * sysdeps/mips/preconfigure: Modify ABI tests.
9647
645a0e9c
CD
96482014-09-07 Carlos O'Donell <carlos@systemhalted.org>
9649
9650 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9651
d83f0734
CD
96522014-09-07 Roland McGrath <roland@hack.frob.com>
9653 Carlos O'Donell <carlos@systemhalted.org>
9654
9655 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9656 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9657 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9658 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9659 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9660 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9661 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9662 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9663 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9664 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9665 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9666 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9667 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9668 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9669 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9670 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9671 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9672 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9673 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9674 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9675 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9676 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9677 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9678 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9679 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9680 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9681 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9682 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9683 Deconditionalize the code that was previously under [RESET_PID].
9684 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9685 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9686 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9687 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9688 include sysdep.h.
9689
21c83793
AM
96902014-09-08 Allan McRae <allan@archlinux.org>
9691
9692 * version.h (RELEASE): Set to "development".
9693 (VERSION): Set to "2.20.90"
9694
1cd9b65c
AM
96952014-09-07 Allan McRae <allan@archlinux.org
9696
b8079dd0
AM
9697 * version.h (RELEASE): Set to "stable".
9698 (VERSION): Set to "2.20"
9699 * include/features.h (__GLIBC_MINOR__): Set to 20.
9700
c46303ef
AM
9701 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9702 Liebler.
9703
1cd9b65c
AM
9704 * po/ko.po: Update Korean translation from translation project.
9705
8622092d
CM
97062014-09-06 Chris Metcalf <cmetcalf@tilera.com>
9707
9708 [BZ #17354]
9709 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9710 macro for handling signed relocations.
9711
41488498
FW
97122014-09-03 Florian Weimer <fweimer@redhat.com>
9713
9714 [BZ #17325]
9715 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9716 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9717 assert.
9718 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9719 * iconvdata/ibm935.c (BODY): Likewise.
9720 * iconvdata/ibm937.c (BODY): Likewise.
9721 * iconvdata/ibm939.c (BODY): Likewise.
9722 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9723 assert.
9724 * iconvdata/Makefile (iconv-test.out): Pass module list to test
9725 script.
9726 * iconvdata/run-iconv-test.sh: New test loop for checking for
9727 decoder crashers.
9728
a78b712d
KR
97292014-09-02 Khem Raj <raj.khem@gmail.com>
9730
9731 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9732 libm_hidden_ver.
9733
cb08abc6
AM
97342014-09-01 Allan McRae <allan@archlinux.org>
9735
2c31e102
AM
9736 * po/eo.po: Update Esperanto translation from translation project.
9737
cb08abc6
AM
9738 * po/ca.po: Update Catalan translation from translation project.
9739
17a62de1
ST
97402014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9741
9742 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9743 __proc_dostop call.
9744
9570bc53
MW
97452014-08-27 Mark Wielaard <mjw@redhat.com>
9746
9747 [BZ #17319]
9748 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9749 to call set_thread_area instead of hand written asm.
9750 (__NR_set_thread_area): Removed define.
9751 (TLS_FLAG_WRITABLE): Likewise.
9752 (__ASSUME_SET_THREAD_AREA): Remove check.
9753 (TLS_EBX_ARG): Remove define.
9754 (TLS_LOAD_EBX): Likewise.
9755
b0f955c9
ST
97562014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9757
9758 Simplify atomicity of socket creation in bind.
9759
9760 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9761 looking up the name after linking the file.
9762
529bf515
AM
97632014-08-27 Allan McRae <allan@archlinux.org>
9764
9765 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9766
a1a6a401
FW
97672014-08-26 Florian Weimer <fweimer@redhat.com>
9768
9769 [BZ #17187]
9770 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9771 trans_compare, open_translit, __gconv_translit_find):
9772 Remove module loading code.
9773
686ab290
AM
97742014-08-26 Allan McRae <allan@archlinux.org>
9775
e4e7cfd2
AM
9776 * po/vi.po: Update Vietnamese translation from translation project.
9777
6aa09f71
AM
9778 * po/uk.po: Update Ukrainian translation from translation project.
9779
edc0660e
AM
9780 * po/fr.po: Update French translation from translation project.
9781
7eea72ac
AM
9782 * po/ru.po: Update Russian translation from translation project.
9783
93c49eff
AM
9784 * po/pl.po: Update Polish translation from translation project.
9785
46acaf63
AM
9786 * po/cs.po: Update Czech translation from translation project.
9787
a9f5ce98
AM
9788 * po/de.po: Update German translation from translation project.
9789
373f2b78
AM
9790 * po/bg.po: Update Bulgarian translation from translation project.
9791
e7548bd8
AM
9792 * po/sv.po: Update Sweedish translation from translation project.
9793
c526bf4d
AM
9794 * po/nl.po: Update Dutch translation from translation project.
9795
686ab290
AM
9796 * po/es.po: Update Spanish translation from translation project.
9797
eb72478a
SP
97982014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9799
dd763fdb
SP
9800 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9801
318c7a58
SP
9802 * catgets/Makefile (CPPFLAGS-gencat): Remove.
9803 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9804 (CPPFLAGS-iconvconfig): Likewise.
9805 * timezone/Makefile (CPPFLAGS-zic): Likewise.
9806
eb72478a
SP
9807 * include/libc-symbols.h: Remove unnecessary check for
9808 NOT_IN_libc.
9809 * nptl/pthreadP.h: Likewise.
9810 * sysdeps/aarch64/setjmp.S: Likewise.
9811 * sysdeps/alpha/setjmp.S: Likewise.
9812 * sysdeps/arm/sysdep.h: Likewise.
9813 * sysdeps/i386/setjmp.S: Likewise.
9814 * sysdeps/m68k/setjmp.c: Likewise.
9815 * sysdeps/posix/getcwd.c: Likewise.
9816 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9817 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9818 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9819 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9820 * sysdeps/sh/sh3/setjmp.S: Likewise.
9821 * sysdeps/sh/sh4/setjmp.S: Likewise.
9822 * sysdeps/unix/alpha/sysdep.h: Likewise.
9823 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9824 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9825 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9826 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9831 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9832 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9834 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9836 * sysdeps/x86_64/setjmp.S: Likewise.
9837
d44a052c
JM
98382014-08-13 Joseph Myers <joseph@codesourcery.com>
9839
9840 [BZ #17263]
9841 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9842 <stdint.h>.
9843 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9844 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9845
508ce3ac
SP
98462014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9847
e44c8b0e
SP
9848 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9849
508ce3ac
SP
9850 [BZ #17262]
9851 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9852 and __x86_64__ when disabling x87 inline functions.
9853
b4acef1f
L
98542014-08-12 H.J. Lu <hongjiu.lu@intel.com>
9855
9856 [BZ #17259]
9857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9858 asm statement with __cpuid_count.
9859
61b1ef6e
MF
98602014-08-12 Mike Frysinger <vapier@gentoo.org>
9861
9862 * configure.ac: Change __ehdr_start code to dereference the struct.
9863 Run readelf on the output to look for relocations.
9864 * configure: Regenerated.
9865
898c62f4
JM
98662014-08-12 Joseph Myers <joseph@codesourcery.com>
9867
9868 [BZ #17261]
9869 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9870 value to 0.
9871 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9872
9a8a5720
RM
98732014-08-12 Roland McGrath <roland@hack.frob.com>
9874
9875 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9876
4e75751c
BO
98772014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
9878
9879 [BZ #16892]
9880 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9881 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9882
bb2ce416
SA
98832014-08-12 Sean Anderson <seanga2@gmail.com>
9884
9885 * malloc/malloc.c: Fix typo in comment.
9886
7950a4ee
AM
98872014-08-09 Allan McRae <allan@archlinux.org>
9888
9889 * Regenerate libc.po.
9890
f469c49f
MF
98912014-08-08 Mike Frysinger <vapier@gentoo.org>
9892
9893 * intl/tst-gettext2.sh: Check every lang file for creation.
9894
656b84c2
WD
98952014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9896
9897 * sysdeps/aarch64/fpu/math_private.h
9898 (libc_feholdsetround_noex_aarch64_ctx): New function.
9899
538e9e45
W
99002014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9901
9902 * sysdeps/arm/armv6/strcpy.S (strcpy):
9903 Fix performance issue in misaligned cases.
9904
d4795e4a
AZ
99052014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9906
9907 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9908 Move definition from termios.h.
9909 (struct termio): Likewise.
9910 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9911 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9912 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9913 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9914 Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9916 Move definition to ioctl-types.h
9917 (struct termio): Likewise.
9918 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9919 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9920 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9921 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9922 Likewise.
9923
64accb62
RH
99242014-08-05 Richard Henderson <rth@redhat.com>
9925
27bb6dc0
RH
9926 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9927 exceptions.
9928 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9929 Add fraiseexcpt.
9930 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9931 Use __feraiseexcept.
9932 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9933 Protect libm symbols with IS_IN_libm.
9934
64accb62
RH
9935 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9936
e5292691
BO
99372014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
9938
9939 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9940
5b4bd2d4
WN
99412014-08-04 Will Newton <will.newton@linaro.org>
9942
9943 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9944 file.
9945
fcadaeef
MF
99462014-08-04 Mike Frysinger <vapier@gentoo.org>
9947
9948 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9949 variants for each function.
9950
43a94c64
RM
99512014-08-04 Roland McGrath <roland@hack.frob.com>
9952
9953 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9954 appended ...
9955 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9956 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9957 appended ...
9958 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9959 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9960 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9961 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9962 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9963 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9964 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9965 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9966 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9967 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9977 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9978 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9979 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9980 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9982 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9986 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9987 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9988 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9989 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9990 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9991 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9992 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9993 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9994 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9995 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9996 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9997 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9998 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9999 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10000 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10001 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10002 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10003 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10004 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10005 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10006 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10007 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10008 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10009 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10010 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10011 Update #include.
10012 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10013 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10014
8f3c1fa4
RM
100152014-08-04 Roland McGrath <roland@hack.frob.com>
10016
10017 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10018 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10019 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10020 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10021 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10022 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10023
ca08746f
RM
100242014-08-04 Roland McGrath <roland@hack.frob.com>
10025
10026 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10027 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10028 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10029 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10030
9c925ff9
RM
100312014-08-04 Roland McGrath <roland@hack.frob.com>
10032
10033 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10034 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10035 (__libc_vfork): Define function under this name.
10036 (__vfork): Define as an alias.
10037 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10038 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10039
e641054c
RM
100402014-08-04 Roland McGrath <roland@hack.frob.com>
10041
10042 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10043 that was previously under [RESET_PID].
10044 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10045
dacdc867
AS
100462014-08-04 Andreas Schwab <schwab@suse.de>
10047
10048 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10049
41f725ff
MF
100502014-08-03 Mike Frysinger <vapier@gentoo.org>
10051
10052 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10053 (main): Likewise.
10054
277cfb31
RM
100552014-08-01 Roland McGrath <roland@hack.frob.com>
10056
10057 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10058
4896f049
RH
100592014-08-01 Richard Henderon <rth@redhat.com>
10060
10061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10062 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10063 typo in exact zero test.
10064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10067
6f64e7d7
RM
100682014-08-01 Roland McGrath <roland@hack.frob.com>
10069
10070 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10071 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10072 * sysdeps/arm/sysdep.h: ... here.
10073 [!__ASSEMBLER__]: Include <stdint.h>.
10074
3f3dd810
SP
100752014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10076
a476ac4b
SP
10077 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10078 (HAVE_WCTYPE_H): Likewise.
10079 (HAVE_ISWCTYPE): Likewise.
10080 (ENABLE_NLS): Likewise.
10081 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10082 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10083
78dd658a
SP
10084 * posix/regex_internal.c: Check if DEBUG is defined and is
10085 set.
10086
3f3dd810
SP
10087 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10088 (HAVE_MBSRTOWCS): Likewise.
10089 * posix/fnmatch.c: Include string.h unconditionally.
10090
95ee7fb1
SL
100912014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10092
10093 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10094 reversal.
10095
23fe486b
RM
100962014-07-31 Roland McGrath <roland@hack.frob.com>
10097
f61a113f
RM
10098 * sysdeps/generic/safe-fatal.h: New file.
10099 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10100 * nptl/forward.c: Include it.
10101 (__pthread_unwind): Use __safe_fatal as default action, rather
10102 than a bogus use of INTERNAL_SYSCALL that could never work.
10103
9fe7e787
RM
10104 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10105 * configure.ac (libc_cv_builtin_trap): New test.
10106 * configure: Regenerated.
10107 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10108 (ABORT_INSTRUCTION): Define using __builtin_trap.
10109
23fe486b
RM
10110 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10111 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10112 * sysdeps/nptl/nptl-signals.h: New file.
10113 * nptl/pthreadP.h: Include <nptl-signals.h>.
10114
f349489e
SL
101152014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10116
10117 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10118 (ONE_DIRECTION): Define.
10119 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10120 (ONE_DIRECTION): Define.
10121 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10122 (ONE_DIRECTION): Define.
10123
2f438e20
SL
101242014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10125
10126 * sysdeps/s390/Makefile: Delete file.
10127 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10128 * sysdeps/s390/__longjmp.c: Delete file.
10129 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10130 Remove fields __flags and __reserved.
10131 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10132 and add versioning.
10133 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10134 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10135 * sysdeps/s390/rtld-setjmp.S: Likewise.
10136 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10137 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10138 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10139 * sysdeps/s390/s390-32/setjmp.S: ... here.
10140 Add versioning.
10141 (__sigsetjmp): Remove setting __flags field.
10142 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10143 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10144 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10145 * sysdeps/s390/s390-64/setjmp.S: ... here.
10146 Add versioning.
10147 (__sigsetjmp): Remove setting __flags field.
10148 * sysdeps/s390/setjmp.S: Delete file.
10149 * sysdeps/s390/sigjmp.c: Likewise.
10150 * sysdeps/s390/v1-longjmp.c: Likewise.
10151 * sysdeps/s390/v1-setjmp.h: Likewise.
10152 * sysdeps/s390/v1-sigjmp.c: Likewise.
10153 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10154 Remove v1-longjmp_chk.
10155 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10156 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10157 Include debug/longjmp_chk.c and add versioning.
10158 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10159 Include nptl/pt-longjmp.c and add versioning.
10160 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10161 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10162 Include __longjmp.c.
10163 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10164 Move to ...
10165 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10166 (__getcontext): Remove setting __flags field.
10167 Add versioning.
10168 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10169 Don't restore upper high grps.
10170 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10171 Likewise.
10172 (__swapcontext): Remove setting uc_flags field.
10173 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10174 Delete file.
10175 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10176 Include __longjmp.c.
10177 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10178 Move to ...
10179 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10180 (__getcontext): Remove setting __flags field.
10181 Add versioning.
10182 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10183 (__swapcontext): Remove setting uc_flags field.
10184 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10185 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10186 Remove fields uc_high_gprs and __reserved.
10187 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10188 New file with reverted content.
10189 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10190 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10191 Regenerated.
10192 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10193 Regenerated.
10194
6c9578a2
AS
101952014-07-31 Andreas Schwab <schwab@suse.de>
10196
10197 * config.h.in (HAVE_IFUNC): Define to 0.
10198 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10199 definedness.
10200
05f3633d
LM
102012014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10202
10203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10204 memmove-avx-unaligned, memcpy-avx-unaligned and
10205 mempcpy-avx-unaligned.
10206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10207 Add tests for AVX memcpy functions.
10208 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10209 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10210 memcpy_chk.
10211 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10212 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10213 memmove_chk.
10214 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10215 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10216 mempcpy_chk.
10217 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10218 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10219 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10220
a53fbd8e
AZ
102212013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10222
10223 [BZ #17213]
10224 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10225 powerpc64le.
10226
0961f7e1
JL
102272014-07-29 Jeff Layton <jlayton@poochiereds.net>
10228
10229 [BZ #16839]
10230 * manual/llio.texi: Add section about open file description locks.
10231 * manual/examples/ofdlocks.c: Example of open file description
10232 lock usage.
10233 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10234 F_OFD_SETLK, and F_OFD_SETLKW.
10235
cc5fb300
AM
102362014-07-23 Allan McRae <allan@archlinux.org>
10237
10238 * po/es.po: Update Spanish translation from translation project.
10239
23329dca
AS
102402014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10241
10242 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10243
9c82da17
MR
102442014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10245
10246 [BZ #17078]
10247 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10248 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10249 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10250
29c4f53e
JM
102512014-07-17 Joseph Myers <joseph@codesourcery.com>
10252
831b9896
JM
10253 [BZ #17088]
10254 * math/fesetenv.c (__fesetenv)
10255 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10256 * math/feupdateenv.c (__feupdateenv)
10257 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10258
b21c2d50
JM
10259 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10260 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10261 (__ASSUME_SOCKETCALL): Do not define.
10262
067764ef
JM
10263 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10264 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10265 (__ASSUME_SOCKETCALL): Do not define.
10266 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10267 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10268 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10269 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10270 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10271 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10272 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10273 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10274
642530c1
JM
10275 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10276 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10277 (__ASSUME_SOCKETCALL): Do not define.
10278 (__ASSUME_IPC64): Define unconditionally.
10279 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10280 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10281 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10282 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10283 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10284 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10285 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10286 Likewise.
10287
03f77315
JM
10288 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10289 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10290 (__ASSUME_SOCKETCALL): Do not define.
10291 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10292 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10293 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10294 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10295 (__ASSUME_REQUEUE_PI): Define unconditionally.
10296 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10297 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10298 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10299 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10300 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10301 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10302
083b1f7c
JM
10303 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10304 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10305 (__ASSUME_SOCKETCALL): Do not define.
10306 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10307 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10308 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10309 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10310 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10311 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10312
5be44ea6
JM
10313 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10314 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10315 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10316 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10317 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10318 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10319 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10320 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10321 (__ASSUME_GETCPU_SYSCALL): Likewise.
10322
d95ffd4c
JM
10323 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10324 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10325 cases for individual architectures.
10326 * sysdeps/gnu/configure: Regenerated.
10327 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10328 LIBC_SLIBDIR_RTLDDIR.
10329 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10330 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10331 LIBC_SLIBDIR_RTLDDIR.
10332 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10334 LIBC_SLIBDIR_RTLDDIR.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10336 Regenerated.
10337 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10338 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10339 file.
10340 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10341 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10342 file.
10343 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10344 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10345 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10346 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10347
29c4f53e
JM
10348 * sysdeps/aarch64/shlib-versions: Move to ...
10349 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10350 * sysdeps/alpha/shlib-versions: Move to ...
10351 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10352 * sysdeps/arm/shlib-versions: Move to ...
10353 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10354 * sysdeps/hppa/shlib-versions: Move all contents except for
10355 libgcc_s entry to ...
10356 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10357 entry from ...
10358 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10359 * sysdeps/ia64/shlib-versions: Move to ...
10360 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10361 entry from ...
10362 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10363 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10364 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10365 * sysdeps/microblaze/shlib-versions: Move to ...
10366 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10367 * sysdeps/mips/shlib-versions: Move to ...
10368 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10369 entry from ...
10370 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10371 * sysdeps/tile/shlib-versions: Move to ...
10372 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10373 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10374 from ...
10375 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10376 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10377 entry from ...
10378 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10379
32bead5b
WN
103802014-07-17 Will Newton <will.newton@linaro.org>
10381
57977c4b
WN
10382 * sysdeps/arm/bits/atomic.h
10383 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10384 (__arch_compare_and_exchange_bool_16_int): Likewise.
10385 (__arch_compare_and_exchange_bool_64_int): Likewise.
10386
32bead5b
WN
10387 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10388 into an #else block.
10389
37fccd41
RM
103902014-07-16 Roland McGrath <roland@hack.frob.com>
10391
10392 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10393 just Linux configurations. Test empirically that the compiler sets
10394 __ARM_EABI__, rather than using the tuple to decide.
10395 * sysdeps/arm/preconfigure: Regenerated.
10396 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10397 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10398 contents appended ...
10399 * sysdeps/arm/configure.ac: ... here.
10400 * sysdeps/arm/configure: Regenerated.
10401
b365f3ec
RM
104022014-07-15 Roland McGrath <roland@hack.frob.com>
10403
8badf496
RM
10404 * nptl/pthread_kill.c: New file.
10405 * nptl/pthread_sigmask.c: New file.
10406 * nptl/pthread_sigqueue.c: New file.
10407
3df6f22e
RM
10408 * sysdeps/nptl/lowlevellock.h: New file.
10409 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10410 * sysdeps/nptl/lowlevellock-futex.h: New file.
10411
b365f3ec
RM
10412 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10413 Remove dead declarations.
10414
f2fef657
L
104152014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10416
10417 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10418 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10419 config-cflags-avx2.
10420 * sysdeps/x86_64/configure.ac: Likewise.
10421 * sysdeps/i386/configure: Regenerated.
10422 * sysdeps/x86_64/configure: Likewise.
10423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10424 memset-avx2 only if config-cflags-avx2 is yes.
10425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10426 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10427 defined.
10428 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10429 only if HAVE_AVX2_SUPPORT is defined.
10430 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10431
f6c44d47
AM
104322014-07-14 Alan Modra <amodra@gmail.com>
10433
10434 [BZ #17153]
10435 * elf/elf.h (DT_PPC64_NUM): Correct value.
10436 * NEWS: Add to fixed bug list.
10437
7ee03f00
JM
104382014-07-13 Jim Meyering <meyering@fb.com>
10439
10440 [BZ 17150]
10441 regex: don't deref NULL upon heap allocation failure
10442 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10443 failure in one more place.
10444 To trigger the segfault, configure grep -with-included-regex,
10445 build it, and run these commands:
10446 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10447
9d39d517
AS
104482014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10449
10450 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10451
a75b89b7
RH
104522014-07-11 Richard Henderson <rth@redhat.com>
10453
10454 * sysdeps/aarch64/libm-test-ulps: Update.
10455
771eb141
FW
104562014-07-10 Florian Weimer <fweimer@redhat.com>
10457
10458 [BZ #17135]
10459 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10460 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10461 (__nptl_setxid): Initialize error member. Call
10462 __nptl_setxid_error.
10463 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10464 * nptl/descr.h (struct xid_command): Add error member.
10465 * nptl/tst-setuid3.c: New file.
10466 * nptl/Makefile (tests): Add it.
10467
bc1da176
AZ
104682014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10469
10470 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10471 New define.
10472 (__lll_trylock): Use __lll_base_trylock.
10473 (__lll_cond_trylock): Likewise.
10474
887865fc
RM
104752014-07-10 Roland McGrath <roland@hack.frob.com>
10476
c0c6bac9
RM
10477 * nptl/pthread_create.c (start_thread): Use atomic_or and
10478 lll_futex_wake directly rather than lll_robust_dead.
10479 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10480 (lll_robust_dead): Macro removed.
6a42be57 10481 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
10482 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10483 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10484 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10485 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10486 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10487 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10488 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10489 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10490 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10491 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10492 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10493 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10494 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10495 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10496
887865fc
RM
10497 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10498 Use atomic_compare_and_exchange_val_acq directly rather than
10499 lll_robust_trylock.
10500 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10501 (__lll_robust_trylock, lll_robust_trylock): Removed.
10502 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10503 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10504 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10505 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10506 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10507 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10508 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10509 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10510 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10511 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10512 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10513 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10514 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10515 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10516
58536726
FW
105172014-07-02 Florian Weimer <fweimer@redhat.com>
10518
10519 * manual/locale.texi (Locale Names): New section documenting
10520 locale name syntax. Adjust menu and node chaining accordingly.
10521 (Choosing Locale): Reference Locale Names, Locale Categories.
10522 Mention setting LC_ALL=C. Reflect that name syntax is now
10523 documented.
10524 (Locale Categories): New section title. Reference Locale Names.
10525 LC_ALL is an environment variable, but not a category.
10526 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10527 description, now in Locale Name. Reference that section. Locale
10528 name syntax is now documented.
10529
4e8f95a0
FW
105302014-07-02 Florian Weimer <fweimer@redhat.com>
10531
10532 [BZ #17137]
10533 * locale/findlocale.c (name_present, valid_locale_name): New
10534 functions.
10535 (_nl_find_locale): Use the loc_name variable to store name
10536 candidates. Call name_present and valid_locale_name to check and
10537 validate locale names. Return an error if the locale is invalid.
10538
d1836456
FW
105392014-07-02 Florian Weimer <fweimer@redhat.com>
10540
10541 * locale/setlocale.c (setlocale): Use strdup for allocating
10542 composite name copy.
10543
d69b7f5a
SP
105442014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10545
888c679b
SP
10546 Sync up with gnulib.
10547 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10548 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10549 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10550 and _GL_ARG_NONNULL.
10551 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10552 [!_LIBC]: Include code for Windows and Cygwin.
10553 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10554 Include prototype for int strerror_r.
10555 [!_LIBC] (is_open): New function.
10556 (flush_stdout): New function.
10557 (print_errno_message): Use it.
10558 (error): Likewise.
10559 (error_at_line): Likewise.
10560 (error_tail) Add function attribute macros. Use
10561 __builtin_expect.
10562
180e0e4b
SP
10563 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10564
d22f1fe2
SP
10565 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10566
12f2254b
SP
10567 * io/ftw.c: Include sys/param.h unconditionally.
10568
c3c7c360
SP
10569 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10570
d62aa75a
SP
10571 [BZ #17125]
10572 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10573 libc_freeres_ptr.
10574 (freecache): New function to free CACHE on exit.
10575
d69b7f5a
SP
10576 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10577 initialization.
10578
5efe06a1
DM
105792014-07-09 David S. Miller <davem@davemloft.net>
10580
10581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10582
7000d82e
DM
10583 * sysdeps/sparc/nptl/internaltypes.h: Delete.
10584 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10585 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10586 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10587 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10588 * sysdeps/sparc/nptl/sem_init.c: Likewise.
10589 * sysdeps/sparc/nptl/sem_post.c: Likewise.
10590 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10591 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10592 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10593 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10594 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10595 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10596
c213442d
AS
105972014-07-09 Andreas Schwab <schwab@suse.de>
10598
4a2552c3
AS
10599 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10600 output.
10601 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10602 (do_test): Likewise.
10603
c213442d
AS
10604 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10605
82374e65
WN
106062014-07-09 Will Newton <will.newton@linaro.org>
10607
10608 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10609 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10610 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10611 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10612 * sysdeps/hppa/start.S (_start): Likewise.
10613
6680738a
SP
106142014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10615
6ee3eab4
SP
10616 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10617
6680738a
SP
10618 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10619 defined.
10620
80b5c505
SP
106212014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10622
e35c53e3
SP
10623 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10624 after checking that it is non-NULL.
10625
80b5c505
SP
10626 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10627
91f4b564
AZ
106282014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10629
27b75f56
AZ
10630 * sysdeps/powerpc/memmove.c: Remove file.
10631 * sysdeps/powerpc/powerpc32/power4/memcopy.h
10632 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10633 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10634 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10635 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10636 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10637 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10638 string memmove instead of removed powerpc one.
10639
e7f95bb5
AZ
10640 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10641 [weak_alias]: Fix compiler warning due trailing data.
10642 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10643 [weak_alias]: Likewise.
10644 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10645 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10646
91f4b564
AZ
10647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10648 (__libc_ifunc_impl_list): Add memmove functions.
10649
7c33f1e5
SP
106502014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10651
10652 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10653 Remove code.
10654 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10655 Likewise
10656 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10657 Likewise
10658 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10659 Likewise
10660 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10661 Likewise
10662 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10663 Likewise
10664 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10665 Likewise
10666 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10667 Likewise
10668 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10669 Likewise
10670 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10671 Likewise
10672 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10673 Likewise
10674 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10675 Likewise
10676 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10677 Likewise
10678 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10679 Likewise
10680 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10681 Likewise
10682 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10683 Likewise
10684 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10685 Likewise
10686
3f17b03b
AZ
106872014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10688
87868c24
AZ
10689 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10690 to avoid alignment traps in non-cacheable memory.
10691 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10692
07aedd78
AZ
10693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10694 multiarch objects.
10695 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10696 file: multiarch power7 memmove.
10697 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10698 multiarch default memmove.
10699 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10700 multiarch memove for powerpc32/power4.
10701
17762f66
AZ
10702 * string/bcopy.c: Use full path to include memmove.c.
10703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10704 multiarch objects.
10705 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10706 bcopy for powerpc64.
10707 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10708 bcopy for powerpc64.
10709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10710 and memmove implementations.
10711 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10712 optimized multiarch memmove for POWER7/powerpc64.
10713 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10714 default multiarch memmove for powerpc64.
10715 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10716 multiarch for powerpc64.
10717 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10718 for POWER7/powerpc64.
10719 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10720 memmove for POWER7/powerpc64.
10721
d6f68bbe
AZ
10722 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10723 glibc default one.
10724
3f17b03b
AZ
10725 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10726 __ELF_NATIVE_CLASS equal to 64.
10727
08192659
RM
107282014-07-07 Roland McGrath <roland@hack.frob.com>
10729
f4c4021b
RM
10730 * sysdeps/nptl/lowlevellock.h: File removed.
10731
f083450f
RM
10732 * NEWS: NPTL is no longer an add-on!
10733 * nptl/internaltypes.h: Moved ...
10734 * sysdeps/nptl/internaltypes.h: ... here.
10735 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10736 * sysdeps/nptl/fork.c: Likewise.
10737 * sysdeps/nptl/gai_misc.h: Likewise.
10738 * sysdeps/nptl/librt-cancellation.c: Likewise.
10739 * sysdeps/nptl/jmp-unwind.c: Likewise.
10740 * sysdeps/nptl/setxid.h: Likewise.
10741 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10742 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10743 * sysdeps/unix/sysv/linux/arm/Implies: New file.
10744 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10745 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10746 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10747 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10748 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10749 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10750 * sysdeps/unix/sysv/linux/mips/Implies: New file.
10751 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10752 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10753 * sysdeps/unix/sysv/linux/sh/Implies: New file.
10754 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10755 * sysdeps/unix/sysv/linux/tile/Implies: New file.
10756 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10757 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10758 * nptl/Makeconfig: Moved ...
10759 * sysdeps/nptl/Makeconfig: ... here.
10760 * nptl/configure: File removed.
10761 * nptl/ANNOUNCE: File removed.
10762 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10763 * sysdeps/unix/sysv/linux/configure: Regenerated.
10764
08192659
RM
10765 * nptl/Makefile (routines): Add libc_pthread_init,
10766 libc_multiple_threads, register-atfork and unregister-atfork.
10767 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10768 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10769 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10770 pthread-pi-defines.sym, structsem.sym.
10771 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10772 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10773 [$(subdir) = nptl] (tests): Add tst-setgetname.
10774 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10775 * sysdeps/unix/sysv/linux/sigaction.c: Just include
10776 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10777 [!LIBC_SIGACTION]: Remove aliases.
10778 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10779 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10780 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10781 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10782 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10783 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10784 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10785 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10786 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10787 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10788 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10789 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10790 __libc_allocate_rtsig_private.
10791 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10792 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10793 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10794 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10795 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10796 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10797 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10798 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10799 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10800 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10801 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10802 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10803 * nptl/internaltypes.h: ... here.
10804 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10805 * sysdeps/nptl/jmp-unwind.c: ... here.
10806 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10807 * nptl/libc-lowlevellock.c: ... here.
10808 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10809 * nptl/libc_multiple_threads.c: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10811 * nptl/libc_pthread_init.c: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10813 * nptl/lowlevelbarrier.sym: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10815 * nptl/lowlevelcond.sym: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10817 * nptl/lowlevellock.c: ... here.
10818 * nptl/lowlevellock.h: Moved ...
10819 * sysdeps/nptl/lowlevellock.h: ... here.
10820 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10821 * nptl/lowlevelrobustlock.c: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10823 * nptl/lowlevelrobustlock.sym: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10825 * nptl/lowlevelrwlock.sym: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10827 * nptl/pt-fork.c: ... here.
10828 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10829 * nptl/pthread-pi-defines.sym: ... here.
10830 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10831 * nptl/pthread_attr_getaffinity.c: ... here.
10832 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10833 * nptl/pthread_attr_setaffinity.c: ... here.
10834 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10835 * nptl/pthread_mutex_cond_lock.c: ... here.
10836 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10837 Update #include.
10838 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10839 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10840 * nptl/pthread_once.c: ... here, replacing old file.
10841 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10842 * nptl/pthread_yield.c: ... here.
10843 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10844 * nptl/register-atfork.c: ... here.
10845 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10846 * nptl/sem_post.c: ... here.
10847 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10848 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10849 * nptl/sem_timedwait.c: ... here.
10850 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10851 * nptl/sem_trywait.c: ... here.
10852 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10853 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10854 * nptl/sem_wait.c: ... here.
10855 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10856 * nptl/structsem.sym: ... here.
10857 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10858 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10859 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10860 * nptl/unregister-atfork.c: ... here.
10861 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10862 * nptl/unwindbuf.sym: ... here.
10863 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10864 * sysdeps/nptl/fork.c: ... here.
10865 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10866 * sysdeps/nptl/fork.h: ... here.
10867 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10868 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10869 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10871 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10873 * sysdeps/unix/sysv/linux/getpid.c: ... here.
10874 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10875 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10876 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10877 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10878 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10879 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10880 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10881 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10882 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10883 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10884 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10885 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10886 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10887 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10888 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10889 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10890 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10891 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10892 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10893 * sysdeps/unix/sysv/linux/raise.c: ... here.
10894 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10895 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10896 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10897 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10898 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10899 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10900 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10901 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10902 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10903 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10904 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10905 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10906 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10907 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10908 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10909
96baf6ff
SP
109102014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10911
10912 * sysdeps/generic/memcopy.h: Add comment for
10913 MEMCPY_OK_FOR_FWD_MEMMOVE.
10914
6b7b14b2
WN
109152014-07-04 Will Newton <will.newton@linaro.org>
10916
1570a72b
WN
10917 * string/memchr.c: Merge from gnulib.
10918 [_LIBC]: Remove conditionals.
10919 (__ptr_t): Remove define.
10920 (LONG_MAX_32_BITS): Likewise.
10921 (LONG_MAX): Likewise.
10922 (MEMCHR): Use ANSI prototype and optimize algorithm.
10923
6b7b14b2
WN
10924 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10925
38851324
SP
109262014-07-03 Roland McGrath <roland@hack.frob.com>
10927
3d9eb57c
RM
10928 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10929 (lll_futex_timed_wait_bitset): Fix syscall argument count.
10930
78b984ae
RM
10931 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10932 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10933 in a bare environment with no <stdlib.h> installed.
10934 * sysdeps/nptl/configure: Regenerated.
10935
2d5976a5
RM
10936 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10937
c1f5acd4
RM
10938 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10939 AC_EGREP_CPP for kernel header checks, so they only succeed if
10940 including <linux/version.h> actually works right.
10941 * sysdeps/unix/sysv/linux/configure: Regenerated.
10942
4d614fe5
RM
10943 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10944 value so it's not diagnosed as unused.
10945
38851324
SP
10946 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10947 thing) with "ifeq ($(subdir),rt)".
10948
b3ec00e5
RH
109492014-07-03 Richard Henderson <rth@redhat.com>
10950
69862e25
RH
10951 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10952 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10953 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10954
d5e16ade
RH
10955 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10956 (math_force_eval): New.
10957
ca7b945c
RH
10958 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10959 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10960
cd1175a3
RH
10961 * sysdeps/alpha/fpu/s_round.c: Remove file.
10962 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10963
b3ec00e5
RH
10964 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10965 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10966 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10967 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10968 (_dl_start, print_statistics): Likewise.
10969 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10970 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10971
10972 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10973 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10974 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10975 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10976 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10977 (HP_SMALL_TIMING_AVAIL): Define.
10978 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10979 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10980 (HP_SMALL_TIMING_AVAIL): Define.
10981 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10982 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10983
10984 * sysdeps/aarch64/hp-timing.h: New file.
10985
10986 * sysdeps/generic/hp-timing.h: Remove dead comment.
10987 * sysdeps/generic/hp-timing-common.h: New file.
10988 * sysdeps/alpha/hp-timing.h: Include it.
10989 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10990 * sysdeps/i386/i686/hp-timing.h: Likewise.
10991 * sysdeps/ia64/hp-timing.h: Likewise.
10992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10993 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10995 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10996 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10997 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10998 (hp_timing_t): New.
10999
11000 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11001 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11002 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11003 * elf/rtld.c (_dl_start_final): Likewise.
11004 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11005 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11006 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11007 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11008 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11009 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11010 (HP_TIMING_DIFF_INIT): Remove.
11011 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11012 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11013 (HP_TIMING_DIFF_INIT): Remove.
11014 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11015 * sysdeps/i386/i686/hp-timing.c: Remove file.
11016 * sysdeps/x86_64/hp-timing.c: Remove file.
11017 * sysdeps/ia64/hp-timing.c: Remove file.
11018 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11019 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11020 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11021 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11022
11023 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11024 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11025 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11026 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11027 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11028 (HP_TIMING_ACCUM): Remove.
11029 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11030 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11031 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11032
11033 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11034 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11035 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11036 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11037 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11038 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11039 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11040 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11041
11042 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11043
225f410f
MR
110442014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11045
11046 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11047
3247f285
SP
110482014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11049
11050 Sync up with gettext.
11051 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11052 [_MSC_VER]: Include malloc.h
11053 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11054 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11055 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11056 TEMP_FAILURE_RETRY. Cast return of alloca.
11057 [!_LIBC] Call gl_rwlock_init.
11058 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11059
d12704c7
SP
110602014-07-02 Roland McGrath <roland@hack.frob.com>
11061
11062 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11063 before checking its value.
11064
99f8dc92
SP
110652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11066
05fdac77
SP
11067 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11068
99f8dc92
SP
11069 * debug/memcpy_chk.c: Don't include pagecopy.h.
11070 * debug/mempcpy_chk.c: Likewise.
11071 * string/memcpy.c: Likewise.
11072 * string/memmove.c: Likewise.
11073 * sysdeps/powerpc/memmove.c: Likewise.
11074 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11075 definition of PAGE_COPY_FWD_MAYBE here...
11076 * sysdeps/generic/pagecopy.h: ... from here.
11077 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11078
bc8ea385
VR
110792014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11080 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11081
11082 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11084 optimizations.
11085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11086 (__libc_ifunc_impl_list): Likewise.
11087 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11088 multiarch strcat for PPC64.
11089 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11090 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11091
fe5f34e4
RM
110922014-07-02 Roland McGrath <roland@hack.frob.com>
11093
11094 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11095
256aa665
SP
110962014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11097
d4eb8195
SP
11098 * intl/loadmsgcat.c: Remove declaration of
11099 get_sysdep_segment_value.
11100 (get_sysdep_segment_value): Use ISO C style.
11101 (_nl_load_domain): Use ISO C style. Get rid of redundant
11102 semicolon. Fix typo and formatting in comment.
11103 (_nl_unload_domain): Use ISO C style.
11104
256aa665
SP
11105 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11106
b100f9aa
WN
111072014-07-02 Will Newton <will.newton@linaro.org>
11108
11109 * malloc/obstack.c: Merge from gnulib master.
11110 [HAVE_CONFIG_H]: Remove conditional code.
11111 [!_LIBC]: Include config.h.
11112 [!ELIDE_CODE]: Don't include inttypes.h, include
11113 stdint.h unconditionally.
11114 (print_and_abort): Mark as _Noreturn.
11115 (_obstack_allocated_p): Mark as __attribute_pure__.
11116 (obstack_free): Rename to __obstack_free.
11117 [!__attribute__]: Remove conditional code.
11118 * malloc/obstack.h: Merge from gnulib master.
11119 [__cplusplus]: Move conditional down.
11120 [!__attribute_pure__]: Define __attribute_pure__ here
11121 if it is not already defined.
11122 (_obstack_memory_used): Mark as __attribute_pure__.
11123 [!__obstack_free]: Define as obstack_free.
11124 [__GNUC__]: Remove check for ancient NeXT gcc.
11125
c4c41244
PE
111262014-07-02 Will Newton <will.newton@linaro.org>
11127 Paul Eggert <eggert@cs.ucla.edu>
11128
11129 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11130
e1e041c4
SP
111312014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11132
11133 * resolv/gethnamaddr.c: Add comment warning that the file is
11134 not maintained.
11135
ccf431ff
CD
111362014-07-01 Carlos O'Donell <carlos@redhat.com>
11137
d34570a6
CD
11138 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11139 entries.
11140
ccf431ff
CD
11141 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11142 entry for aio_cancel and aio_cancel64.
11143 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11144 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11145 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11146 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11147 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11148 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11149 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11150 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11151 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11152 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11153 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11154 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11155 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11156
ca06321d
RM
111572014-07-01 Roland McGrath <roland@hack.frob.com>
11158
11159 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11160 * nptl/pthread_mutex_lock.c: Likewise.
11161 * nptl/pthread_mutex_timedlock.c: Likewise.
11162 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11163
a1ac3184
RH
111642014-07-01 Richard henderson <rth@redhat.com>
11165
631021e0
RH
11166 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11167 (__isnan, __isnanl): Remove.
11168 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11169
a1ac3184
RH
11170 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11171
0c1d731f
SL
111722014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11173
11174 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11175
76985d3e
SP
111762014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11177
11178 * resolv/nss_dns/dns-host.c (getanswer_r)
11179 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11180
b0cb3096
JM
111812014-07-01 Joseph Myers <joseph@codesourcery.com>
11182
11183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11184 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11185 undefine.
11186 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11187 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11188
4d76cb39
RM
111892014-07-01 Roland McGrath <roland@hack.frob.com>
11190
11191 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11192 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11193
11194 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11195 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11196
11197 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11198 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11199 ... here.
11200 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11201 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11202
11203 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11204 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11205 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11206 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11207
11208 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11209 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11210 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11211 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11212 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11213 Moved ...
11214 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11215 ... here.
11216 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11217 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11220 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11221 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11223 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11225 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11226 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11227 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11228 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11229 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11230 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11231 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11232 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11233 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11234 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11235 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11236 ... here.
11237 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11238 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11239 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11240 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11241 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11242 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11243 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11244 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11245
0cdcad17
DH
112462014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11247
11248 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11249 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11250 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11251 Add sysdep.
11252
9b71d0e3
AZ
112532014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11254
11255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11256
665390c2
JM
112572014-06-30 Joseph Myers <joseph@codesourcery.com>
11258
ae05a9d7
JM
11259 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11260 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11261
a7672a2f
JM
11262 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11263
665390c2
JM
11264 * sysdeps/arm/libm-test-ulps: Regenerated.
11265
d7a05d07
MR
112662014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11267 Roland McGrath <roland@hack.frob.com>
11268
11269 * test-skeleton.c (signal_handler): Kill the whole process group
11270 before killing the child individually.
11271 (main): Report any failure on `setpgid'.
11272
46f1d8a6
RM
112732014-06-30 Roland McGrath <roland@hack.frob.com>
11274
11275 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11276 from _TLS_H to _ARM_NPTL_TLS_H.
11277 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11278 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11279
9c37ec0b
JM
112802014-06-30 Joseph Myers <joseph@codesourcery.com>
11281
ce9c5b3e
JM
11282 [BZ #16539]
11283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11284 (__expm1l): Return argument unchanged when small but not
11285 subnormal.
11286
3a6e9887
JM
11287 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11288 include macro name.
11289 (_FP_UNPACK_RAW_1_P): Likewise.
11290 (_FP_PACK_RAW_1): Likewise.
11291 (_FP_PACK_RAW_1_P): Likewise.
11292 (_FP_MUL_MEAT_1_wide): Likewise.
11293 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11294 (_FP_MUL_MEAT_1_hard): Likewise.
11295 (_FP_DIV_MEAT_1_imm): Likewise.
11296 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11297 (_FP_DIV_MEAT_1_udiv): Likewise.
11298 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11299 (_FP_UNPACK_RAW_2): Likewise.
11300 (_FP_UNPACK_RAW_2_P): Likewise.
11301 (_FP_PACK_RAW_2): Likewise.
11302 (_FP_PACK_RAW_2_P): Likewise.
11303 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11304 (_FP_MUL_MEAT_2_wide): Likewise.
11305 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11306 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11307 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11308 (_FP_MUL_MEAT_2_gmp): Likewise.
11309 (_FP_DIV_MEAT_2_udiv): Likewise.
11310 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11311 (_FP_FRAC_SRL_4): Likewise.
11312 (_FP_FRAC_SRST_4): Likewise.
11313 (_FP_FRAC_SRS_4): Likewise.
11314 (_FP_UNPACK_RAW_4): Likewise.
11315 (_FP_UNPACK_RAW_4_P): Likewise.
11316 (_FP_PACK_RAW_4): Likewise.
11317 (_FP_PACK_RAW_4_P): Likewise.
11318 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11319 (_FP_MUL_MEAT_4_wide): Likewise.
11320 (_FP_MUL_MEAT_4_gmp): Likewise.
11321 (umul_ppppmnnn): Likewise.
11322 (_FP_DIV_MEAT_4_udiv): Likewise.
11323 (__FP_FRAC_ADD_4): Likewise.
11324 (__FP_FRAC_SUB_3): Likewise.
11325 (__FP_FRAC_SUB_4): Likewise.
11326 (__FP_FRAC_DEC_3): Likewise.
11327 (__FP_FRAC_DEC_4): Likewise.
11328 (__FP_FRAC_ADDI_4): Likewise.
11329 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11330 (_FP_FRAC_SRL_8): Likewise.
11331 (_FP_FRAC_SRS_8): Likewise.
11332
9c37ec0b
JM
11333 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11334 include macro name.
11335 (FP_UNPACK_RAW_EP): Likewise.
11336 (FP_PACK_RAW_E): Likewise.
11337 (FP_PACK_RAW_EP): Likewise.
11338 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11339 (_FP_ISSIGNAN): Likewise.
11340 (_FP_ADD_INTERNAL): Likewise.
11341 (_FP_FMA): Likewise.
11342 (_FP_CMP): Likewise.
11343 (_FP_SQRT): Likewise.
11344 (_FP_TO_INT): Likewise.
11345 (_FP_FROM_INT): Likewise.
11346 (FP_EXTEND): Likewise.
11347 (_FP_DIV_MEAT_N_loop): Likewise.
11348
2125f674
MR
113492014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11350
11351 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11352 throughout.
11353
edea4028
JM
113542014-06-29 Joseph Myers <joseph@codesourcery.com>
11355
11356 [BZ #17097]
11357 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11358 result with correct sign in case of exponents that produce
11359 overflow except for X very close to 1.
11360
dd0ba018
PE
113612014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11362
11363 mktime: merge #if/#ifdef usage from glibc
11364 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11365 as that works with both Glibc's and Gnulib's style.
11366 See thread starting at Siddhesh Poyarekar's bug report at:
11367 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11368
64df73c2
SP
113692014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11370
11371 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11372 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11373 * sysdeps/tile/tilegx/memmove.c: Remove file.
11374
f1eafb41
JM
113752014-06-27 Joseph Myers <joseph@codesourcery.com>
11376
11377 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11378 abi-name definition.
11379 * scripts/soversions.awk: Do not handle or generate ABI lines.
11380 * shlib-versions: Remove ABI entries.
11381 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11382 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11383
58eb0862
RM
113842014-06-27 Roland McGrath <roland@hack.frob.com>
11385
37caf178
RM
11386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11387 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11388 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11389 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11391 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11393 Moved ...
11394 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11395 ... here.
11396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11397 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11398 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11399 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11401 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11403 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11405 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11407 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11409 Moved ...
11410 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11412 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11414 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11416 Moved ...
11417 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11419 Moved ...
11420 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11422 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11423 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11424 Moved ...
11425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11427 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11429 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11431 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11433 Moved ...
11434 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11436 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11437 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11438 Moved ...
11439 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11440 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11441 Moved ...
11442 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11443 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11444 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11445 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11446 Moved ...
11447 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11448 ... here.
11449 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11450 Identical file removed.
11451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11452 Moved ...
11453 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11454 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11455 Identical file removed.
11456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11457 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11459 Moved ...
11460 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11461 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11462 Identical file removed.
11463 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11464 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11466 Identical file removed.
11467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11468 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11470 Identical file removed.
11471 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11472 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11473 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11474 Identical file removed.
11475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11476 Moved ...
11477 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11479 Identical file removed.
11480 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11481 Moved ...
11482 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11483 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11484 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11485 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11486 Identical file removed.
11487 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11488 Moved ...
11489 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11490 ... here.
11491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11492 Identical file removed.
11493 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11494 Moved ...
11495 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11497 Identical file removed.
11498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11499 Moved ...
11500 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11501 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11502 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11503 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11504 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11506 Moved ...
11507 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11508 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11509 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11510
58eb0862
RM
11511 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11512 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11513 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11514 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11515 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11516
6f12d062
AS
115172014-06-27 Arjun Shankar <arjun.is@lostca.se>
11518
11519 [BZ #17092]
11520 * nscd/nscd.c (monitor_child): Return exit status of child
11521 instead of return value from wait syscall.
11522
be254932
JM
115232014-06-27 Joseph Myers <joseph@codesourcery.com>
11524
cb403c34
JM
11525 * configure.ac (libc_commonpagesize): Remove variable.
11526 (libc_relro_required): Likewise.
11527 (libc_cv_z_relro): Remove configure test.
11528 * configure: Regenerated.
11529 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11530 variable.
11531 (libc_relro_required): Likewise.
11532 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11533 (libc_relro_required): Likewise.
11534 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11535 (libc_relro_required): Likewise.
11536 * sysdeps/arm/preconfigure: Regenerated.
11537 * sysdeps/ia64/preconfigure: Remove file.
11538 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11539 variable.
11540 (libc_relro_required): Likewise.
11541
be254932
JM
11542 [BZ #16561]
11543 [BZ #16562]
11544 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11545 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11546 recompute overflowing results in original rounding mode.
11547 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11548 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11549 recompute overflowing results in original rounding mode.
11550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11551 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11552 recompute overflowing results in original rounding mode.
11553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11554 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11555 recompute overflowing results in original rounding mode.
11556 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11557 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11558 recompute overflowing results in original rounding mode.
11559 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11560 (libc_feholdsetround_ctx): New macro.
11561 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11562 * sysdeps/i386/fpu/libm-test-ulps: Update.
11563 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11564
b351d85a
JM
115652014-06-26 Joseph Myers <joseph@codesourcery.com>
11566
11567 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11568 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11569 corresponding .cpsetup call.
11570
3cb4de47
RM
115712014-06-26 Roland McGrath <roland@hack.frob.com>
11572
11573 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11574 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11575 * sysdeps/arm/Makefile [$(subdir) = csu]
11576 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11577 (static-only-routines): Add aeabi_read_tp here.
11578 (shared-only-routines): Add libc-aeabi_read_tp here.
11579 (CFLAGS-libc-start.c): Add -fexceptions here.
11580 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11581 (sysdep_routines, static-only-routines, shared-only-routines):
11582 Don't add to these here.
11583 (CFLAGS-libc-start.c): Likewise.
11584
11585 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11586 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11587 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11588 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11589 * sysdeps/arm/Makefile [$(subdir) = rt]
11590 (librt-sysdep_routines, librt-shared-only-routines):
11591 Append rt-aeabi_unwind_cpp_pr1 here.
11592 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11593 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11594 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11595 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11596 Append nptl-aeabi_unwind_cpp_pr1 here.
11597 (tests): Filter out tst-cleanupx4 here.
11598 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11599 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11600 Don't do those here.
11601
354426bb
JM
116022014-06-26 Joseph Myers <joseph@codesourcery.com>
11603
11604 * scripts/list-sources.sh: Do not handle ports specially.
11605
28b0a8c9
RM
116062014-06-26 Roland McGrath <roland@hack.frob.com>
11607
a3dd035d
RM
11608 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11609 * sysdeps/arm/feupdateenv.c: Likewise.
11610
28b0a8c9
RM
11611 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11612
e66a8203
JM
116132014-06-26 Joseph Myers <joseph@codesourcery.com>
11614
11615 * manual/texinfo.tex: Update to version 2014-05-05.10 with
11616 trailing whitespace removed.
11617 * scripts/config.guess: Update to version 2014-03-23.
11618 * scripts/config.sub: Update to version 2014-05-01
11619 * scripts/install-sh: Update to version 2013-12-25.23.
11620 * scripts/move-if-change: Update from gnulib.
11621
74171115
SP
116222014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11623
b97c9ce5
SP
11624 * debug/memmove_chk.c: Remove pagecopy.h include.
11625
4000f892
SP
116262014-06-26 Paul Eggert <eggert@cs.ucla.edu>
11627
74171115
SP
11628 * time/mktime.c (leapyear): Remove inline keyword. The code is now
11629 identical to gnulib mktime.
11630
a8779c28
JM
116312014-06-26 Joseph Myers <joseph@codesourcery.com>
11632
e64708de
JM
11633 * configure.ac: Do not test for machine being rs6000. Do not test
11634 for powerpc*-*soft.
11635 * configure: Regenerated.
11636
6a9350c8 11637 [BZ #11505]
a8779c28
JM
11638 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11639 test.
11640 * configure: Regenerated.
11641 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11642 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11643 Remove configure test.
11644 * sysdeps/arm/configure: Regenerated.
11645 * sysdeps/nptl/configure.ac: Do not check
11646 libc_cv_asm_cfi_directives.
11647 * sysdeps/nptl/configure: Regenerated.
11648 * sysdeps/x86_64/nptl/configure.ac: Remove file.
11649 * sysdeps/x86_64/nptl/configure: Remove generated file.
11650 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11651 unconditional.
11652 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11653
2aac0a86
SP
116542014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11655
059bf913
SP
11656 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11657 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11658 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11659 it is defined.
11660
4cf5b6d0
SP
11661 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11662 instead of whether it is defined.
11663 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11664 * sysdeps/hppa/dl-machine.h: Likewise.
11665 * sysdeps/ia64/dl-machine.h: Likewise.
11666 * sysdeps/m68k/dl-machine.h: Likewise.
11667 * sysdeps/microblaze/dl-machine.h: Likewise.
11668 * sysdeps/mips/dl-machine.: Likewise.
11669 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11670 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11671 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11672 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11673 * sysdeps/sh/dl-machine.h: Likewise.
11674 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11675 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11676 * sysdeps/tile/dl-machine.h: Likewise.
11677 * sysdeps/x86_64/dl-machine.h: Likewise.
11678
2aac0a86
SP
11679 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11680 code.
11681 (verify_persistent_db): Likewise.
11682
6ad2df0b
RM
116832014-06-26 Roland McGrath <roland@hack.frob.com>
11684
d8a483f3
RM
11685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11686 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11688 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11690 Moved ...
11691 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11692 ... here.
11693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11694 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11696 Identical file removed.
11697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11698 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11700 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11702 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11706 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11708 Moved ...
11709 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11711 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11713 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11715 Moved ...
11716 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11718 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11720 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11722 Identical file removed.
11723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11724 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11726 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11728 Moved ...
11729 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11730 ... here.
11731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11732 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11734 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11736 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11738 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11740 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11742 Moved ...
11743 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11745 Moved ...
11746 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11748 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11750 Moved ...
11751 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11753 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11754
52ae23b4
RM
11755 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11756 folded into ...
11757 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11758 * sysdeps/unix/sysv/linux/s390/Versions
11759 (libpthread: GLIBC_2.19): New version set.
11760 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11761 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11762 (librt: GLIBC_2.3.3): New version set.
11763 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11764 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11765 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11766 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11767 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11768 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11769 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11770 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11771 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11772 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11773 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11774 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11775 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11776 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11777 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11778 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11779 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11780 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11781 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11782 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11783 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11784 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11785 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11786 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11787 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11788 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11789 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11790 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11791 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11792 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11793 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11794 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11796 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11799 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11801 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11803 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11804 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11805 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11807 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11808
39507e4a
RM
11809 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11810 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11811 (__libc_vfork): Define the function under this name.
11812 [!NOT_IN_libc] (__vfork): Make this an alias.
11813 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11815 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11816 (__libc_vfork): Define the function under this name.
11817 [!NOT_IN_libc] (__vfork): Make this an alias.
11818 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11819 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11820 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11821 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11823 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11824
e549ee56
RM
11825 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11826 code that was previously under [RESET_PID].
11827 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11828 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11830
6ad2df0b
RM
11831 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11832 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11833 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11834 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11835 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11836 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11837 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11838 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11839 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11840 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11841 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11842 Moved ...
11843 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11844 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11845 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11846 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11847 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11849 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11850 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11851 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11852 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11853 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11854 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11855 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11856 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11857 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11858 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11859 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11860 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11861 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11862 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11863 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11864 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11865 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11866 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11867 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11868 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11869 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11870 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11871 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11872
7c1c1d8e
RM
118732014-06-25 Roland McGrath <roland@hack.frob.com>
11874
11875 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11876 that was previously under [RESET_PID].
11877 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11878
3e239be6
JM
118792014-06-25 Joseph Myers <joseph@codesourcery.com>
11880
74385da5
JM
11881 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11882 not undefine and redefine.
11883 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11884 [O_CLOEXEC]: Make code unconditional.
11885 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11886 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11887 <kernel-features.h>.
11888 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11889 conditional variable definition.
11890 (shm_open) [O_CLOEXEC]: Make code unconditional.
11891 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11892 code.
11893
c2570a0b
JM
11894 * configure.ac (USE_REGPARMS): Don't define here.
11895 * configure: Regenerated.
11896 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11897 * sysdeps/i386/configure: Regenerated.
11898
11b076bb
JM
11899 * nptl/createthread.c: Don't include kernel-features.h.
11900 * nptl/pthread_cancel.c: Likewise.
11901 * nptl/pthread_condattr_setclock.c: Likewise.
11902 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11903 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11904 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11905 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11906 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11907 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11908 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11911 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11912 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11913 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11914 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11915 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11916 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11917 * nscd/gai.c: Likewise.
11918 * nss/nss_db/db-open.c: Likewise.
11919 * sysdeps/generic/ldsodefs.h: Likewise.
11920 * sysdeps/sh/nptl/tls.h: Likewise.
11921 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11922 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11923 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11924 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11925 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11926 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11927 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11928 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11929 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11930 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11931 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11932 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11933 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11934 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11935 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11936 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11937 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11938 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11939 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11940 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11941 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11942 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11943 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11944 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11945 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11946 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11947 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11948 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11949 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11950 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11951 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11952 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11953 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11954 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11955 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11956 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11957 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11958 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11959 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11960 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11961 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11962 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11963 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11964 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11965 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11966 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11967 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11968 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11969 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11970 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11971 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11972 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11973 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11974 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11975 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11976 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11977 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11978 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12001 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12002 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12003 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12004 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12005 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12006 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12007 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12008 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12009 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12010 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12011 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12012 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12013 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12014 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12015 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12016 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12017 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12018 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12019 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12020 * sysdeps/unix/sysv/linux/system.c: Likewise.
12021 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12022 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12023 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12024 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12025 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12026 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12027 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12028
92072d57
JM
12029 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12030 * configure: Regenerated.
12031 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12032
3e239be6
JM
12033 * configure.ac (base_machine): Do not set specially for particular
12034 machines here.
12035 * configure: Regenerated.
12036 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12037 settings from configure.ac.
12038 * sysdeps/i386/preconfigure: New file.
12039 * sysdeps/s390/preconfigure: Likewise.
12040 * sysdeps/sh/preconfigure: Likewise.
12041 * sysdeps/sparc/preconfigure: Likewise.
12042
06d50baa
RM
120432014-06-25 Roland McGrath <roland@hack.frob.com>
12044
74836003
RM
12045 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12046 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12047 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12048 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12049 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12050 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12051 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12052 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12053 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12054 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12055 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12056 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12057 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12058 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12059 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12060 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12061 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12062 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12063 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12064
12065 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12066 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12067 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12068 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12069 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12070 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12071 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12072 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12073 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12074 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12075 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12076 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12077 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12078 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12079 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12080 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12081 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12082 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12083 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12084 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12085 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12086 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12087 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12088 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12089 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12090 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12091 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12092 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12093 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12094 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12095 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12096 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12097 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12098 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12099 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12100 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12101 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12102 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12103
06d50baa
RM
12104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12105 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12107 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12109 Moved ...
12110 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12111 ... here.
12112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12113 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12115 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12117 Moved ...
12118 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12120 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12122 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12124 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12126 Moved ...
12127 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12129 Moved ...
12130 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12132 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12134 Moved ...
12135 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12137 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12139 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12141 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12143 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12145 Moved ...
12146 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12147 ... here.
12148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12151 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12153 Moved ...
12154 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12156 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12158 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12160 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12162 Moved ...
12163 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12165 Moved ...
12166 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12170 Moved ...
12171 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12175 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12176
a4ccbc9b
JM
121772014-06-25 Joseph Myers <joseph@codesourcery.com>
12178
0828edbf
JM
12179 * timezone/checktab.awk: Update from tzcode 2014e.
12180 * timezone/private.h: Likewise.
12181 * timezone/tzfile.h: Likewise.
12182 * timezone/zdump.c: Likewise.
12183 * timezone/zic.c: Likewise.
12184
a4ccbc9b
JM
12185 * sysdeps/unix/sysv/linux/kernel-features.h
12186 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12187 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12188 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12189 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12190 Remove conditional code.
12191
9aea0cb8
WN
121922014-06-25 Will Newton <will.newton@linaro.org>
12193
12194 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12195 (_dl_arm_cap_flags): Add HWCAP2 values.
12196 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12197 (_DL_HWCAP_COUNT): Increase to 37.
12198 (_DL_HWCAP_LAST): New define.
12199 (_DL_HWCAP2_LAST): New define.
12200 (_dl_procinfo): Add support for printing
12201 AT_HWCAP2 entries.
12202 (_dl_string_hwcap): Use _dl_hwcap_string.
12203
6eaa65ce
AZ
122042014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12205
12206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12207
0f5b7185
JM
122082014-06-25 Joseph Myers <joseph@codesourcery.com>
12209
cfd2ea50
JM
12210 * README: Do not mention ports directory.
12211
cecf2ed4
JM
12212 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12213 Remove macro.
12214 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12215 <kernel-features.h>.
12216 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12217 conditional variable definition.
12218 (__futimes): Update comment.
12219 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12220 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12221
a638de82
JM
12222 [BZ #16560]
12223 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12224 arguments close to 0.
12225 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12226 Likewise.
12227 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12228 Likewise.
12229 * math/auto-libm-test-in: Add more tests of exp10.
12230 * math/auto-libm-test-out: Regenerated.
12231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12232
0f5b7185
JM
12233 * sysdeps/unix/sysv/linux/kernel-features.h
12234 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12235 * sysdeps/unix/sysv/linux/readv.c: Do not include
12236 <kernel-features.h>.
12237 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12238 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12239 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12240 unconditional.
12241 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12242 conditional code.
12243 * sysdeps/unix/sysv/linux/writev.c: Do not include
12244 <kernel-features.h>.
12245 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12246 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12247 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12248 unconditional.
12249 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12250 conditional code.
12251
c7aec4be
WN
122522014-06-25 Will Newton <will.newton@linaro.org>
12253
12254 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12255 comment changes throughout the file. Remove checks
12256 for HAVE_*_H definitions that are not required.
12257 (__gen_tempname): Call abort if an unknown kind value is
12258 passed.
12259
c5241f95
AS
122602014-06-25 Andreas Schwab <schwab@suse.de>
12261
12262 [BZ #17086]
12263 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12264 scalbln, scalblnf, scalblnl in libc.
12265
911422da
SP
122662014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12267
12268 [BZ #17086]
12269 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12270 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12271 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12272
0d749bbe
RM
122732014-06-24 Roland McGrath <roland@hack.frob.com>
12274
12275 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12276 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12277 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12278 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12279 Update #include.
12280 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12281 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12282 Update #include.
12283 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12284 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12285 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12286 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12287 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12288 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12289 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12290 * sysdeps/x86/bits/semaphore.h: ... here.
12291 * sysdeps/x86/nptl/elide.h: Moved ...
12292 * sysdeps/x86/elide.h: ... here.
12293 * sysdeps/x86_64/nptl/Implies: File removed.
12294 * sysdeps/i386/nptl/Implies: File removed.
12295
0ea5d373
JM
122962014-06-24 Joseph Myers <joseph@codesourcery.com>
12297
4060283d
JM
12298 [BZ #16539]
12299 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12300 return the argument for normal arguments with exponent below -64.
12301 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12302 Likewise.
12303 * math/auto-libm-test-in: Add another test of expm1.
12304 * math/auto-libm-test-out: Regenerated.
12305
e7dd3c8c
JM
12306 [BZ #16287]
12307 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12308 calling __erfcl for arguments at least 16.
12309 * math/auto-libm-test-in: Add more tests of erf.
12310 * math/auto-libm-test-out: Regenerated.
12311
0ea5d373
JM
12312 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12313 individual architectures.
12314 * sysdeps/unix/sysv/linux/configure: Regenerated.
12315 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12316 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12317 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12318 (ldd_rewrite_script): Define variable.
12319 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12321 file.
12322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12323 generated file.
12324 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12325 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12326 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12327 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12328 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12329 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12330 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12331 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12332
2307e126
SP
123332014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12334
12335 [BZ #17084]
12336 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12337 Rename member __data.d to __data.__elision_data.
12338
c0a4ed77
W
123392014-06-24 Wilco <wdijkstr@arm.com>
12340
12341 * NEWS: Add 16918 to fixed bug list.
12342
b8c00573
W
123432014-06-24 Wilco <wdijkstr@arm.com>
12344
12345 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12346
b5570d92
W
123472014-06-24 Wilco <wdijkstr@arm.com>
12348
12349 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12350 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12351 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12352 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12353 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12354 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12355 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12356 Use _FPU_MASK_RM.
12357
947bdca2
W
123582014-06-24 Wilco <wdijkstr@arm.com>
12359
12360 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12361
00f669ed
W
123622014-06-24 Wilco <wdijkstr@arm.com>
12363
12364 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12365 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12366 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12367 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12368
db59bad3
W
123692014-06-24 Wilco <wdijkstr@arm.com>
12370
12371 [BZ #16918]
12372 * sysdeps/arm/feupdateenv.c (feupdateenv):
12373 Rewrite to reduce FPSCR accesses and fix return value.
12374
001f7b77
W
123752014-06-24 Wilco <wdijkstr@arm.com>
12376
12377 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12378 Optimize to avoid unnecessary FPSCR writes.
12379 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12380 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12381 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12382 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12383
4841e6a6
W
123842014-06-24 Wilco <wdijkstr@arm.com>
12385
12386 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12387 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12388 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12389 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12390 Call libc_fetestexcept_vfp.
12391 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12392 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12393 __SOFTFP__ ifdef so that they can be built for softfp.
12394
0813022c
SP
123952014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12396
08e5862f
SP
12397 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12398 argument type signed char.
12399
0813022c
SP
12400 * Makerules (check-abi): Dump diff of symlist if the test
12401 fails.
12402
3fc7236a
RM
124032014-06-23 Roland McGrath <roland@hack.frob.com>
12404
aba8ef95
RM
12405 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12406 using abort.
12407
3fc7236a
RM
12408 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12409 Remove unused variable ST.
12410
4da6db51
JM
124112014-06-23 Joseph Myers <joseph@codesourcery.com>
12412
4648909d
JM
12413 [BZ #16354]
12414 [BZ #17061]
12415 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12416 small arguments before calling __expm1.
12417 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12418 small arguments before calling __expm1f.
12419 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12420 small arguments before calling __expm1l.
12421 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12422 Likewise.
12423 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12424 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12425 spurious underflow for some cosh tests.
12426 * math/auto-libm-test-out: Regenerated.
12427 * sysdeps/i386/fpu/libm-test-ulps: Update.
12428
46a3d3c7
JM
12429 [BZ #17050]
12430 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12431 (__ieee754_y1): Set errno if return value overflows.
12432 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12433 (__ieee754_y1f): Set errno if return value overflows.
12434 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12435 (__ieee754_y1l): Set errno if return value overflows.
12436 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12437 (__ieee754_y1l): Set errno if return value overflows.
12438 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12439 * math/auto-libm-test-out: Regenerated.
12440
863893ec
JM
12441 * math/gen-auto-libm-tests.c: Document use of
12442 ignore-zero-inf-sign.
12443 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12444 (input_flags): Add ignore-zero-inf-sign.
12445 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12446 * math/gen-libm-test.pl (generate_testfile): Handle
12447 ignore-zero-inf-sign.
12448 * math/auto-libm-test-in: Mark some cpow tests with
12449 ignore-zero-inf-sign and some with xfail-rounding.
12450 * math/auto-libm-test-out: Regenerated.
12451 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12452 * sysdeps/i386/fpu/libm-test-ulps: Update.
12453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12454
4da6db51
JM
12455 [BZ #16315]
12456 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12457 overflowing or underflowing operations take place with sign of
12458 result.
12459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12460 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12461 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12462 (__ieee754_pow): Recompute overflowing and underflowing results in
12463 original rounding mode.
12464 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12465 (__powl_helper): Allow negative argument X and scale negated value
12466 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12467 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12468 overflowing or underflowing operations take place with sign of
12469 result.
12470 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12471 Include <math.h>.
12472 * math/auto-libm-test-in: Add more tests of pow.
12473 * math/auto-libm-test-out: Regenerated.
12474 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12475 (pow_tonearest_test_data): Remove.
12476 (pow_test_tonearest): Likewise.
12477 (pow_towardzero_test_data): Likewise.
12478 (pow_test_towardzero): Likewise.
12479 (pow_downward_test_data): Likewise.
12480 (pow_test_downward): Likewise.
12481 (pow_upward_test_data): Likewise.
12482 (pow_test_upward): Likewise.
12483 (main): Don't call removed functions.
12484 * sysdeps/i386/fpu/libm-test-ulps: Update.
12485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12486
5686b236
RM
124872014-06-23 Roland McGrath <roland@hack.frob.com>
12488
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12490 Moved ...
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12493 Moved ...
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12496 Moved ...
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12499 Moved ...
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12502 File removed.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12504 File removed.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12506 File removed.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12508 File removed.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12510 File removed.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12512 File removed.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12514 File removed.
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12516 File removed.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12518 File removed.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12520 File removed.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12522 File removed.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12524 File removed.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12526 Moved ...
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12529 Moved ...
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12531 ... here.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12533 Moved ...
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12536 Moved ...
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12539 Moved ...
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12542 Moved ...
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12545 Moved ...
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12548 Moved ...
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12551 Moved ...
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12555 ... here.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12557 Moved ...
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12560 Moved ...
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12562 ... here.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12564 Moved ...
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12566 ... here.
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12568 Moved ...
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12570 ... here.
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12572 Moved ...
12573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12575 Moved ...
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12580 Moved ...
12581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12582 ... here.
12583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12584 Moved ...
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12586 ... here.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12588 Moved ...
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12591 Moved ...
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12594 Moved ...
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12597 Moved ...
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12600 Moved ...
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12602 ... here.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12604 Moved ...
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12607 Moved ...
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12610 Moved ...
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12613 Moved ...
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12618 Moved ...
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12621 Moved ...
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12624 Moved ...
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12626 ... here.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12628 Moved ...
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12630 ... here.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12632 Moved ...
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12634 ... here.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12636 Moved ...
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12639 Moved ...
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12642 Moved ...
12643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12645 Moved ...
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12647 ... here.
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12649 Moved ...
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12651 ... here.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12653 Moved ...
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12655 ... here.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12657 Moved ...
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12660 Moved ...
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12662
e6d90d67
WD
126632014-06-23 Will Newton <will.newton@linaro.org>
12664 Wilco <wdijkstr@arm.com>
12665
12666 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12667 implementation. Include get-rounding-mode.h.
12668 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12669 [!libc_feholdsetround_noex_ctx]: Define
12670 libc_feholdsetround_noex_ctx.
12671 [!libc_feholdsetround_noexf_ctx]: Define
12672 libc_feholdsetround_noexf_ctx.
12673 [!libc_feholdsetround_noexl_ctx]: Define
12674 libc_feholdsetround_noexl_ctx.
12675 (libc_feholdsetround_ctx): New function.
12676 (libc_feresetround_ctx): New function.
12677 (libc_feholdsetround_noex_ctx): New function.
12678 (libc_feresetround_noex_ctx): New function.
12679
d42df555
RM
126802014-06-23 Roland McGrath <roland@hack.frob.com>
12681
88a46474
RM
12682 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12683 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12684 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12685 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12686 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12687 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12688
15bed472
RM
12689 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12690 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12691 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12692 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12693 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12694 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12695 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12696 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12697 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12698 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12699 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12700 Moved ...
12701 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12702 ... here.
12703 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12704 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12705 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12706 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12708 Moved ...
12709 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12710 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12711 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12712 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12713 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12714 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12715 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12717 Moved ...
12718 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12720 Moved ...
12721 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12723 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12725 Moved ...
12726 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12727 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12728 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12729 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12730 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12731 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12732 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12733 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12734 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12735 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12736 Moved ...
12737 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12738 ... here.
12739 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12740 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12741 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12742 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12743 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12744 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12746 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12747 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12748 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12750 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12752 Moved ...
12753 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12754 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12755 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12757 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12758 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12759 Moved ...
12760 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12762 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12763 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12764 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12765
d42df555
RM
12766 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12767 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12768 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12769 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12770 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12771 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12772 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12773 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12775 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12776 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12777 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12778 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12779 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12780 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12781 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12782 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12783 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12784 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12785 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12786 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12787 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12788 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12789 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12790 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12791 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12792 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12793 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12794
76e5216e
JM
127952014-06-23 Joseph Myers <joseph@codesourcery.com>
12796
12797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12798 (FALLOC_FL_COLLAPSE_RANGE): New macro.
12799 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12800 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12801 (IPV6_PMTUDISC_INTERFACE): Likewise.
12802 (IPV6_PMTUDISC_OMIT): Likewise.
12803
7a81cbcc
AS
128042014-06-23 Andreas Schwab <schwab@suse.de>
12805
12806 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12807 Remove unused errout label.
12808
db224009
AZ
128092014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12810
12811 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12812 macro: hardware supports Vector Crypto instructions.
12813
f393b4aa
WN
128142014-06-23 Will Newton <will.newton@linaro.org>
12815
cc7d0447
WN
12816 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12817 rather than __builtin_expect.
12818
d6d06225
WN
12819 * elf/dl-lookup.c (undefined_msg): Remove variable.
12820 (_dl_lookup_symbol_x): Replace undefined_msg with string
12821 literal.
12822
f393b4aa
WN
12823 * elf/dl-lookup.c (do_lookup_unique): New function.
12824 (do_lookup_x): Move STB_GNU_UNIQUE handling code
12825 to a separate function.
12826
ac60763e
AS
128272014-06-23 Andreas Schwab <schwab@suse.de>
12828
12829 [BZ #17079]
12830 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12831 before reading the next line.
12832
c5c13355
WN
128332014-06-23 Will Newton <will.newton@linaro.org>
12834
12835 * test-skeleton.c (signal_handler): Use printf and %m
12836 rather than perror. Use printf rather than fprintf to
12837 stderr. Use puts rather than fputs to stderr.
12838 (main): Likewise.
12839
bd3675f9
LC
128402014-06-22 Ludovic Courtès <ludo@gnu.org>
12841
12842 * nscd/nscd.c (thread_info_t): Remove typedef.
12843 (thread_info): Remove variable.
12844
d03efb2f
AM
128452014-06-21 Allan McRae <allan@archlinux.org>
12846
12847 * NEWS: Mention CVE-2014-4043.
12848
bc4a86fa
RM
128492014-06-20 Roland McGrath <roland@hack.frob.com>
12850
dc9a54f8
RM
12851 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12852 * nptl/smp.h: ... here.
12853
bd7022c4
RM
12854 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12855
26ffd5e6
RM
12856 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12857 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12858 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12859 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12860
93a6d082
RM
12861 * nptl/allocatestack.c: Include <stack-aliasing.h>.
12862 * nptl/stack-aliasing.h: New file.
12863 * sysdeps/i386/i686/stack-aliasing.h: New file.
12864 * sysdeps/i386/i686/nptl/Makefile: File removed.
12865 * sysdeps/x86_64/stack-aliasing.h: New file.
12866 * sysdeps/x86_64/nptl/Makefile
12867 (CFLAGS-pthread_create.c): Variable removed.
12868
bc4a86fa
RM
12869 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12870 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12871 old file.
12872 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12873 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12874 old file.
12875
2272ffc1
JM
128762014-06-21 Joseph Myers <joseph@codesourcery.com>
12877
12878 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12879 (__ASSUME_SIGFRAME_V2): Remove macro.
12880 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12881 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12882 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12883 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12884 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12885 Declare as function. Remove conditional macro definitions.
12886 (__default_rt_sa_restorer): Likewise.
12887 (__default_sa_restorer_v1): Remove declaration.
12888 (__default_sa_restorer_v2): Likewise.
12889 (__default_rt_sa_restorer_v1): Likewise.
12890 (__default_rt_sa_restorer_v2): Likewise.
12891 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12892 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12893 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12894
4b88139b
RM
128952014-06-20 Roland McGrath <roland@hack.frob.com>
12896
12897 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12898 (libpthread-routines): Add sysdep.
12899 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12900 * sysdeps/unix/sysv/linux/sparc/Versions
12901 (libpthread: GLIBC_2.3.3): New version set.
12902 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12903 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12904 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12905 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12906 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
12907 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12908 Moved ...
12909 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12911 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12912 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12913 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12914 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12915 * sysdeps/sparc/nptl/sem_init.c: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12917 * sysdeps/sparc/nptl/sem_post.c: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12919 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12921 * sysdeps/sparc/nptl/sem_wait.c: ... here.
12922 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12923 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12924 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12925 (libpthread-routines): Add cpu_relax.
12926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12927 File removed.
12928 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12929 (librt: GLIBC_2.3.3): New version set.
12930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12931 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12932 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12933 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12936 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12938 Moved ...
12939 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12941 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12943 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12945 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12947 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12949 Moved ...
12950 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12951 Update #include.
12952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12953 Moved ...
12954 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12955 Update #include.
12956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12957 Moved ...
12958 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12959 Update #include.
12960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12961 Moved ...
12962 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12963 Update #include.
12964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12965 Moved ...
12966 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12967 Update #include.
12968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12969 Moved ...
12970 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12971 Update #include.
12972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12973 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12977 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12979 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12981 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12983 Moved ...
12984 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12986 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12988 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12989
d7109027
JM
129902014-06-20 Joseph Myers <joseph@codesourcery.com>
12991
9bc6103d
JM
12992 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12993 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12994 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12995 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12996 * nscd/nscd.c: Likewise.
12997 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12998 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12999 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13000 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13001
d7109027
JM
13002 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13003 <kernel-features.h>.
13004 (init_mq_netlink): Remove conditional have_sock_cloexec
13005 definitions. Remove code conditional on have_sock_cloexec < 0.
13006 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13007 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13008 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13009 <kernel-features.h>.
13010 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13011 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13012
d92d8f8a
L
130132014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13014
13015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13016 Add tests for memset_chk and memset.
13017
13018 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13019 with AVX2_Usable.
13020
4e6d2347
MR
130212014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13022
257ce712
MR
13023 [BZ #16046]
13024 * elf/tst-dl-iter-static.c: New file.
13025 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13026
4e6d2347
MR
13027 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13028 error.
13029
a2a76afe
JM
130302014-06-20 Joseph Myers <joseph@codesourcery.com>
13031
7fd00f99
JM
13032 * sysdeps/unix/sysv/linux/kernel-features.h
13033 (__ASSUME_F_GETOWN_EX): Remove macro.
13034 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13035 <kernel-features.h>.
13036 (miss_F_GETOWN_EX): Remove variable or macro.
13037 (do_fcntl): Do not check miss_F_GETOWN_EX.
13038 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13039
4a103975
JM
13040 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13041 Remove macro.
13042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13043 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13044 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13045
a2a76afe
JM
13046 * sysdeps/unix/sysv/linux/kernel-features.h
13047 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13048 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13049 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13050 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13051
90e5dd48
MR
130522014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13053
13054 [BZ #17075]
13055 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13056 Fix calculation of the symbol's value.
13057 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13058 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13059 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13060 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13061 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13062 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13063 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13064 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13065 (modules-names): Add `tst-armtlsdescmod',
13066 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13067 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13068 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13069 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13070 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13071 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13072 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13073 ($(objpfx)tst-armtlsdescloc): New dependency.
13074 ($(objpfx)tst-armtlsdescextnow): Likewise.
13075 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13076 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13077 TLS scheme support.
13078 * sysdeps/arm/configure: Regenerate.
13079
809fdf0d
JM
130802014-06-20 Joseph Myers <joseph@codesourcery.com>
13081
13082 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13083 (__atfct_seterrno_2): Likewise.
13084 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13085 <kernel-features.h>.
13086 (__ASSUME_ATFCTS): Do not undefine and redefine.
13087 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13088 (__have_atfcts): Remove conditional definition.
13089 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13090 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13091 unreachable if [__ASSUME_ATFCTS].
13092 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13093 not undefine and redefine.
13094 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13095 <kernel-features.h>.
13096 (faccessat) [__NR_faccessat]: Make code unconditional.
13097 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13098 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13099 <kernel-features.h>.
13100 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13101 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13102 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13103 <kernel-features.h>.
13104 (fchownat) [__NR_fchownat]: Make code unconditional.
13105 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13106 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13107 <kernel-features.h>.
13108 (futimesat) [__NR_futimesat]: Make code unconditional.
13109 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13110 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13111 <kernel-features.h>.
13112 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13113 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13114 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13115 <kernel-features.h>.
13116 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13117 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13118 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13119 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13120 <kernel-features.h>.
13121 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13122 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13123 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13124 <kernel-features.h>.
13125 (linkat) [__NR_linkat]: Make code unconditional.
13126 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13127 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13128 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13129 <kernel-features.h>.
13130 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13131 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13132 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13133 <kernel-features.h>.
13134 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13135 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13136 * sysdeps/unix/sysv/linux/openat.c: Do not include
13137 <kernel-features.h>.
13138 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13139 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13140 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13141 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13142 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13143 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13144 <kernel-features.h>.
13145 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13146 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13147 result of INLINE_SYSCALL directly, not via int variable.
13148 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13149 <kernel-features.h>.
13150 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13151 (renameat) [__NR_renameat]: Make code unconditional.
13152 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13153 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13154 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13155 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13156 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13157 (__ASSUME_ATFCTS): Do not undefine and redefine.
13158 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13159 <kernel-features.h>.
13160 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13161 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13162 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13163 <kernel-features.h>.
13164 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13165 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13166 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13167 (__ASSUME_ATFCTS): Do not undefine and redefine.
13168 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13169 <kernel-features.h>.
13170 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13171 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13172 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13173 <kernel-features.h>.
13174 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13175 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13176
224c6c51
L
131772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13178
13179 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13180
aa6ec754
AS
131812014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13182
13183 [BZ #17069]
13184 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13185 constructed tree before returning error.
13186 * posix/bug-regexp36.c: Expand test case.
13187
d8c2869d
SL
131882014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13189
3ef6b850
SL
13190 [BZ #6803]
13191 * math/libm-test.inc (scalbln_test_date):
13192 Add errno expectations.
13193 * math/w_scalblnf.c: New File.
13194 Add wrapper which checks for setting errno to ERANGE.
13195 Add weak_alias for corresponding scalbln function.
13196 * math/w_scalbln.c: Likewise.
13197 * math/w_scalblnl.c: Likewise.
13198 * math/Makefile (libm-calls): Add w_scalbln.
13199 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13200 Remove weak_alias for corresponding scalbln function.
13201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13205 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13206 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13207 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13208 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13209 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13210 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13211 Remove long_double_symbol for scalblnl function in libm, libc.
13212 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13213 Add wrapper which checks for setting errno to ERANGE.
13214 Add long_double_symbol for scalblnl function in libm, libc.
13215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13216 Remove long_double_symbol for scalblnl in libm.
13217 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13218 Add wrapper which checks for setting errno to ERANGE.
13219 Add long_double_symbol for scalblnl function in libm.
13220 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13221 Do not use wrapper because of own implementation.
13222
c8daec5c
L
132232014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13224
13225 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13226 3 bytes for __pad1 for x32.
13227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13228
5c74e47c
LM
132292014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13230 H.J. Lu <hongjiu.lu@intel.com>
13231
13232 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13233 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13234 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13235 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13236 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13237
4d43ef1e
AS
132382014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13239
13240 [BZ #17069]
13241 * posix/regcomp.c (parse_expression): Deallocate partially
13242 constructed tree before returning error.
13243 * posix/Makefile.c (tests): Add bug-regex36.
13244 (generated): Add bug-regex36.mtrace.
13245 (tests-special): Add $(objpfx)bug-regex36-mem.out
13246 (bug-regex36-ENV): New variable.
13247 ($(objpfx)bug-regex36-mem.out): New rule.
13248 * posix/bug-regex36.c: New file.
13249
51a7380b
WN
132502014-06-19 Will Newton <will.newton@linaro.org>
13251
13252 * malloc/malloc.c (systrim): If extra is zero then return
13253 early.
13254
91b84fe5
SP
132552014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13256
13257 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13258
f940b965
RE
132592014-06-19 Richard Earnshaw <rearnsha@arm.com>
13260
13261 * sysdeps/aarch64/strchr.S: New file.
13262
4ba7a00f
JM
132632014-06-18 Joseph Myers <joseph@codesourcery.com>
13264
13265 [BZ #17022]
13266 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13267 from arguments -2 or below.
13268 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13269 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13270
b3a9f56b
AS
132712014-06-18 Andreas Schwab <schwab@suse.de>
13272
13273 [BZ #17062]
13274 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13275 of a bracket expr not to run off the end of the string.
13276 * posix/Makefile (tests): Add tst-fnmatch3.
13277 * posix/tst-fnmatch3.c: New file.
13278
85d89278
JM
132792014-06-18 Joseph Myers <joseph@codesourcery.com>
13280
13281 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13282 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13283 [$(cross-compiling) = no]: Likewise.
13284 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13285 [$(cross-compiling) = no]: Likewise.
13286
754c5a08
RS
132872014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13288
13289 [BZ #17031]
13290 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13291 double, adjusted for any remainder from the high double.
13292 * math/libm-test.inc (nearbyint): Add tests.
13293 (rint): Likewise.
13294
556f529d
AZ
132952014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13296
13297 * nptl/sysdeps/powerpc/Makefile: Moved ...
13298 * sysdeps/powerpc/nptl/Makefile: ... here.
13299 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13300 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13301 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13302 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13303 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13304 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13305 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13306 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13307 * nptl/sysdeps/powerpc/tls.h: Moved ...
13308 * sysdeps/powerpc/nptl/tls.h: ... here.
13309
91c03c53
JM
133102014-06-16 Joseph Myers <joseph@codesourcery.com>
13311
13312 [BZ #16681]
13313 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13314 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13315 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13316 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13317 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13318 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13319 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13320 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13321 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13322
a76e63c5
AS
133232014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13324
13325 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13326
f2f6d82f
AS
133272014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13328
ea8a15f6
AS
13329 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13330 defined operator.
13331
f2f6d82f
AS
13332 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13333 $TIMEOUTFACTOR.
13334
a7291117
FW
133352014-06-16 Florian Weimer <fweimer@redhat.com>
13336
13337 [BZ #17058]
13338 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13339 non-executed part of the test.
13340
3d7c00e3
AS
133412014-06-16 Andreas Schwab <schwab@suse.de>
13342
13343 * string/bits/string2.h (strdup, strndup): Update feature guard.
13344
6957fb31
DM
133452014-06-14 David S. Miller <davem@davemloft.net>
13346
13347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13348
11b9e55b
AS
133492014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13350
1d2a0492
AS
13351 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13352 that was previously under [RESET_PID].
13353 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13354
11b9e55b
AS
13355 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13356 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13357 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13358 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13359 (__libc_vfork): New strong alias.
13360 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13361
0f6901d0
AK
133622014-06-14 Andi Kleen <ak@linux.intel.com>
13363
13364 * sysdeps/generic/elide.h: New file.
13365
38bbbb9f
SL
133662014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13367
13368 * Makefile (installed-headers): Adjust path of pthread.h header.
13369
45193bb8
RM
133702014-06-13 Roland McGrath <roland@hack.frob.com>
13371
9a25fd1e
RM
13372 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13373 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13374 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13375 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13376
4004f7e4
RM
13377 * nptl/sysdeps/s390/Makefile: Moved ...
13378 * sysdeps/s390/nptl/Makefile: ... here.
13379 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13380 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13381 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13382 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13383 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13384 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13385 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13386 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13387 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13388 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13389 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13390 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13391 * nptl/sysdeps/s390/tls.h: Moved ...
13392 * sysdeps/s390/nptl/tls.h: ... here.
13393
45193bb8
RM
13394 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13395 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13396
f6fdf533
DM
133972014-06-13 David S. Miller <davem@davemloft.net>
13398
13399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13402 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13406 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13407 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13408 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13409 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13410 Remove RESET_PID cpp guards.
13411 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13412 Remove RESET_PID cpp guards.
13413 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13414
f5d71e14
AS
134152014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13416
13417 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13418 __sp to uintptr_t.
13419
b7aa8caa
AK
134202014-06-13 Andi Kleen <ak@linux.intel.com>
13421
4b266200
AZ
13422 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13423 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13425 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13426 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13427 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13428 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13429 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13430 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13432 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13433 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13434 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13435 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13436 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13437 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13438 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13439 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13440 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13441 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
13442
13443 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
13444 (pthread_rwlock_rdlock): Add elision.
13445 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13446 (pthread_rwlock_wrlock): Add elision.
13447 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13448 (pthread_rwlock_trywrlock): Add elision.
13449 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13450 (pthread_rwlock_tryrdlock): Add elision.
13451 * nptl/pthread_rwlock_unlock.c: Include elide.h.
13452 (pthread_rwlock_tryrdlock): Add elision unlock.
13453 * nptl/sysdeps/pthread/pthread.h:
13454 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13455 (PTHREAD_RWLOCK_INITIALIZER,
13456 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13457 Handle new elision field.
13458 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13459 * sysdeps/arm/nptl/bits/pthreadtypes.h
13460 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13461 * sysdeps/sh/nptl/bits/pthreadtypes.h
13462 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13463 * sysdeps/tile/nptl/bits/pthreadtypes.h
13464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13465 * sysdeps/a/nptl/bits/pthreadtypes.h
13466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13467 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13468 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13471 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13473 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13475 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13477 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13479 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13481 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13483 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13484 (elision_init): Set try_xbegin to zero when no RTM.
13485 * sysdeps/x86/nptl/bits/pthreadtypes.h
13486 (pthread_rwlock_t): Change __pad1 to __rwelision.
13487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 13488
a832bdd3
AK
134892014-06-13 Andi Kleen <ak@linux.intel.com>
13490
13491 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13492 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13493 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13494 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13495
995a46bb
MI
134962014-06-13 Meador Inge <meadori@codesourcery.com>
13497
13498 [BZ #16996]
03ed7738 13499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
13500 that the cached result has been set before returning it.
13501
45262aee
RM
135022014-06-12 Roland McGrath <roland@hack.frob.com>
13503
febf6cc5
RM
13504 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13505 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13506 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13507 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13508 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13509 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13510
e2682246
RM
13511 * nptl/sysdeps/sparc/Makefile: Moved ...
13512 * sysdeps/sparc/nptl/Makefile: ... here.
13513 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13514 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13515 * nptl/sysdeps/sparc/tls.h: Moved ...
13516 * sysdeps/sparc/nptl/tls.h: ... here.
13517 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13518 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13519 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13520 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13521 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13522 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13523 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13524 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13525 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13526 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13527 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13528 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13529 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13530 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13531 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13532 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13533 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13534 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13535 Update #include.
13536 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13537 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13538 Update #include.
13539 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13540 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13541 Update #include.
13542 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13543 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13544 Update #include.
13545
b0725f43
RM
13546 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13547
b14368b8
RM
13548 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13549 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13550
c5620eb3
RM
13551 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13552 (struct list_links): Type removed.
13553 (struct thread_node, struct timer_node): Replace struct list_links
13554 with struct list_head.
13555 (list_unlink_ip): Likewise.
13556 * sysdeps/pthread/timer_routines.c
13557 (timer_free_list, thread_free_list, thread_active_list): Likewise.
13558 (list_append, list_insbefore): Likewise.
13559 (list_init): Function removed.
13560 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
13561 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13562 * sysdeps/pthread/Makefile: ... here, new file.
13563
13564 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13565 * sysdeps/nptl/Implies: ... here.
13566 * sysdeps/unix/sysv/linux/Implies: Add nptl.
13567 * nptl/sysdeps/pthread/list.h: Moved ...
13568 * include/list.h: ... here.
13569 * nptl/sysdeps/pthread/createthread.c: Moved ...
13570 * nptl/createthread.c: ... here.
13571 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13572 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13573 * nptl/pt-longjmp.c: ... here.
13574 * nptl/sysdeps/pthread/Makefile: Moved ...
13575 * sysdeps/nptl/Makefile: ... here.
13576 * nptl/sysdeps/pthread/Subdirs: Moved ...
13577 * sysdeps/nptl/Subdirs: ... here.
13578 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13579 * sysdeps/nptl/aio_misc.h: ... here.
13580 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13581 * sysdeps/nptl/bits/libc-lock.h: ... here.
13582 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13583 * sysdeps/nptl/bits/libc-lockP.h: ... here.
13584 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13585 * sysdeps/nptl/bits/stdio-lock.h: ... here.
13586 * nptl/sysdeps/pthread/configure: Moved ...
13587 * sysdeps/nptl/configure: ... here.
13588 * nptl/sysdeps/pthread/configure.ac: Moved ...
13589 * sysdeps/nptl/configure.ac: ... here.
13590 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13591 * sysdeps/nptl/gai_misc.h: ... here.
13592 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13593 * sysdeps/nptl/librt-cancellation.c: ... here.
13594 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13595 * sysdeps/nptl/malloc-machine.h: ... here.
13596 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13597 * sysdeps/nptl/pthread-functions.h: ... here.
13598 * nptl/sysdeps/pthread/pthread.h: Moved ...
13599 * sysdeps/nptl/pthread.h: ... here.
13600 * nptl/sysdeps/pthread/setxid.h: Moved ...
13601 * sysdeps/nptl/setxid.h: ... here.
13602 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13603 * sysdeps/nptl/sigfillset.c: ... here.
13604 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13605 * sysdeps/nptl/tcb-offsets.h: ... here.
13606 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13607 * sysdeps/nptl/tst-mqueue8x.c: ... here.
13608 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13609 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13610 * nptl/sysdeps/pthread/allocalim.h: Moved ...
13611 * sysdeps/pthread/allocalim.h: ... here.
13612 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13613 * sysdeps/pthread/bits/sigthread.h: ... here.
13614 * nptl/sysdeps/pthread/flockfile.c: Moved ...
13615 * sysdeps/pthread/flockfile.c: ... here.
13616 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13617 * sysdeps/pthread/ftrylockfile.c: ... here.
13618 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13619 * sysdeps/pthread/funlockfile.c: ... here.
13620 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13621 * sysdeps/pthread/posix-timer.h: ... here.
13622 * nptl/sysdeps/pthread/timer_create.c: Moved ...
13623 * sysdeps/pthread/timer_create.c: ... here.
13624 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13625 * sysdeps/pthread/timer_delete.c: ... here.
13626 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13627 * sysdeps/pthread/timer_getoverr.c: ... here.
13628 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13629 * sysdeps/pthread/timer_gettime.c: ... here.
13630 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13631 * sysdeps/pthread/timer_routines.c: ... here.
13632 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13633 * sysdeps/pthread/timer_settime.c: ... here.
13634 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13635 * sysdeps/pthread/tst-timer.c: ... here.
13636 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13637 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13638
e876b090
RM
13639 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13640 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13641
f6b07b3d
RM
13642 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13643 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13644 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13645 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13646 Update #include target.
13647 * nptl/sysdeps/i386/i686/Makefile: Moved ...
13648 * sysdeps/i386/i686/nptl/Makefile: ... here.
13649 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13650 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13651 Update #include target.
13652 * nptl/sysdeps/i386/i686/tls.h: Moved ...
13653 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
13654 * nptl/sysdeps/i386/Makefile: Moved ...
13655 * sysdeps/i386/nptl/Makefile: ... here.
13656 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13657 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13658 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13659 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13660 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13661 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13662 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13663 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13664 * sysdeps/i386/nptl/pthreaddef.h: ... here.
13665 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13666 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13667 * nptl/sysdeps/i386/tls.h: Moved ...
13668 * sysdeps/i386/nptl/tls.h: ... here.
13669
45262aee
RM
13670 * sysdeps/sh/Makefile [$(subdir) = csu]
13671 (gen-as-const-headers): Add tcb-offsets.sym.
13672 * nptl/sysdeps/sh/Makefile: File removed.
13673 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13674 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13675 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13676 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13677 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13678 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13679 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13680 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13681 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13682 * sysdeps/sh/nptl/pthreaddef.h: ... here.
13683 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13684 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13685 * nptl/sysdeps/sh/tls.h: Moved ...
13686 * sysdeps/sh/nptl/tls.h: ... here.
13687 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13688 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13689 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13690 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13691 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13692 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13693 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13694 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13695 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13696 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13697 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13698 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13699 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13700 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13701 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13702 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13703 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13704 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13705 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13706 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13707 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13708 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13710 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13712 Moved ...
13713 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13714 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13715 Moved ...
13716 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13718 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13720 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13721 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13722 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13723 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13724 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13725 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13726 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13727 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13728 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13729 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13730 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13731 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13732 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13733 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13734 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13735
35a5e3e3
SL
137362014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13737
13738 * posix/spawn_faction_addopen.c: Include string.h.
13739
14642b85
RM
137402014-06-11 Roland McGrath <roland@hack.frob.com>
13741
13742 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13743 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13744 * nptl/sysdeps/x86_64/Makefile: Moved ...
13745 * sysdeps/x86_64/nptl/Makefile: ... here.
13746 * nptl/sysdeps/x86_64/configure: Moved ...
13747 * sysdeps/x86_64/nptl/configure: ... here.
13748 * nptl/sysdeps/x86_64/configure.ac: Moved ...
13749 * sysdeps/x86_64/nptl/configure.ac: ... here.
13750 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13751 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13752 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13753 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13754 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13755 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13756 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13757 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13758 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13759 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13760 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13761 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13762 * nptl/sysdeps/x86_64/tls.h: Moved ...
13763 * sysdeps/x86_64/nptl/tls.h: ... here.
13764 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13765 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13766 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13767 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13768
13769 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13770
31c44fea
AZ
137712014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13772
13773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13774
e81a4f9a
JM
137752014-06-11 Joseph Myers <joseph@codesourcery.com>
13776
13777 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13778 type.
13779 [POSIX] (off_t): Likewise.
13780 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13781 [POSIX] (S_ISBLK): Require macro.
13782 [POSIX] (S_ISCHR): Likewise.
13783 [POSIX] (S_ISDIR): Likewise.
13784 [POSIX] (S_ISFIFO): Likewise.
13785 [POSIX] (S_ISREG): Likewise.
13786 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13787 optional-macro.
13788 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13789 type.
13790 [POSIX] (time_t): Likewise.
13791 [POSIX] (timer_t): Likewise.
13792
89e435f3
FW
137932014-06-11 Florian Weimer <fweimer@redhat.com>
13794
13795 [BZ #17048]
13796 * posix/spawn_int.h (struct __spawn_action): Make the path string
13797 non-const to support deallocation.
13798 * posix/spawn_faction_addopen.c
13799 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13800 * posix/spawn_faction_destroy.c
13801 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
13802 path in all spawn_do_open actions.
13803 * posix/tst-spawn.c (do_test): Exercise the copy operation in
13804 posix_spawn_file_actions_addopen.
13805
c3a2ebe1
CM
138062014-06-11 Chris Metcalf <cmetcalf@tilera.com>
13807
13808 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13809 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13810 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13811 conditional code always true.
13812 (__libc_vfork): New alias.
13813
9503784a
RM
138142014-06-11 Roland McGrath <roland@hack.frob.com>
13815
c9cab3d2
RM
13816 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13817 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13818
d3996c79
RM
13819 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13820
ba5ec611
RM
13821 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13822 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13823
f12b4814
RM
13824 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13825 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13826
9503784a
RM
13827 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13828 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13829
e23d3d26
VR
138302014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13831
13832 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13833 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13834 multiarch strcmp for PPC64.
13835 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13836 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13838 multiarch optimizations.
13839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13840 (__libc_ifunc_impl_list): Likewise.
13841
42b1161e
SP
138422014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13843
13844 * benchtests/scripts/validate_benchout.py: New script.
13845 * benchtests/Makefile (bench-func): Call it.
13846 * benchtests/scripts/benchout.schema.json: New file.
13847
2d0fc4dc
CM
138482014-06-10 Chris Metcalf <cmetcalf@tilera.com>
13849
4a594c34
AZ
13850 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13851 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13852 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13853 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13854 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13855 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13856 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13857 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13858 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13859 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13860 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13861 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13862 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13863 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13864 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13865 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 13867 Moved ...
4a594c34 13868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 13869 ... here.
4a594c34 13870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 13871 Moved ...
4a594c34
AZ
13872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 13874 Moved ...
4a594c34 13875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 13876 ... here.
4a594c34 13877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 13878 Moved ...
4a594c34 13879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 13880 ... here.
4a594c34 13881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 13882 Moved ...
4a594c34
AZ
13883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 13885 Moved ...
4a594c34 13886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 13887 ... here.
4a594c34 13888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 13889 Moved ...
4a594c34 13890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 13891 ... here.
4a594c34 13892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 13893 Moved ...
4a594c34
AZ
13894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 13896 Moved ...
4a594c34 13897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 13898 ... here.
4a594c34 13899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 13900 Moved ...
4a594c34 13901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 13902 ... here.
4a594c34 13903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 13904 Moved ...
4a594c34 13905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 13906 ... here.
4a594c34 13907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 13908 Moved ...
4a594c34
AZ
13909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 13911 Moved ...
4a594c34 13912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 13913 ... here.
4a594c34 13914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 13915 Moved ...
4a594c34 13916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 13917 ... here.
4a594c34 13918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 13919 Moved ...
4a594c34 13920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 13921 ... here.
4a594c34 13922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 13923 Moved ...
4a594c34
AZ
13924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 13926 Moved ...
4a594c34 13927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 13928 ... here.
4a594c34 13929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 13930 Moved ...
4a594c34 13931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 13932 ... here.
4a594c34 13933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 13934 Moved ...
4a594c34
AZ
13935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 13937 Moved ...
4a594c34 13938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 13939 ... here.
4a594c34 13940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 13941 Moved ...
4a594c34
AZ
13942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 13944 Moved ...
4a594c34
AZ
13945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 13947 Moved ...
4a594c34 13948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 13949 ... here.
4a594c34 13950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 13951 Moved ...
4a594c34 13952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 13953 ... here.
4a594c34 13954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 13955 Moved ...
4a594c34 13956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 13957 ... here.
4a594c34 13958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 13959 Moved ...
4a594c34
AZ
13960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 13962 Moved ...
4a594c34 13963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 13964 ... here.
4a594c34 13965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 13966 Moved ...
4a594c34 13967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 13968 ... here.
4a594c34
AZ
13969 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13970 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13971 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13972 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13973 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 13974 Moved ...
4a594c34 13975 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 13976 ... here.
4a594c34
AZ
13977 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13978 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13979 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13980 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13981 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13982 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13984 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13986 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13987 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13988 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 13990 Moved ...
4a594c34
AZ
13991 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13992 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 13993 Moved ...
4a594c34
AZ
13994 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13996 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 13998 Moved ...
4a594c34
AZ
13999 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14003 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14004 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14005 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 14006
0570cfed
W
140072014-06-10 Wilco <wdijkstr@arm.com>
14008
14009 * math/test-fenv-return.c: New file.
14010 * math/Makefile: Add new test test-fenv-return.
14011
f8ba1b56
JM
140122014-06-10 Joseph Myers <joseph@codesourcery.com>
14013
14014 [BZ #17042]
14015 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14016 when x - 1 is zero.
14017 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14018 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14019 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14020 0.0L for an argument of 1.0L.
14021 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14022 Likewise.
14023 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14024 value when x - 1 is zero.
14025 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14026 * sysdeps/i386/fpu/libm-test-ulps: Update.
14027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14028
2c3520d9
BO
140292014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14030
14031 [BZ #15119]
14032 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14033
acaa4d24
RM
140342014-06-09 Roland McGrath <roland@hack.frob.com>
14035
14036 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14037 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14038
962b744d
RM
140392014-06-09 Roland McGrath <roland@hack.frob.com>
14040
d752f0cc
RM
14041 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14042 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14043
34eda6d1
RM
14044 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14045 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14046
50f0a637
RM
14047 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14048 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14049
08f41f04
RM
14050 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14051 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14052
962b744d
RM
14053 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14054 if not already defined.
14055 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14056 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14057 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14058 (TLS_INIT_TP): Use it.
14059 (TLS_DEFINE_INIT_TP): New macro.
14060 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14061
09f19b05
JM
140622014-06-09 Joseph Myers <joseph@codesourcery.com>
14063
14064 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14065 constant.
14066 [POSIX] (IXANY): Likewise.
14067 [POSIX] (OLCUC): Likewise.
14068 [POSIX || POSIX2008] (CBAUD): Do not allow.
14069 [POSIX || POSIX2008] (DEFECHO): Likewise.
14070 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14071 [POSIX || POSIX2008] (ECHOKE): Likewise.
14072 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14073 [POSIX || POSIX2008] (EXTA): Likewise.
14074 [POSIX || POSIX2008] (EXTB): Likewise.
14075 [POSIX || POSIX2008] (FLUSHO): Likewise.
14076 [POSIX || POSIX2008] (LOBLK): Likewise.
14077 [POSIX || POSIX2008] (PENDIN): Likewise.
14078 [POSIX || POSIX2008] (SWTCH): Likewise.
14079 [POSIX || POSIX2008] (VDISCARD): Likewise.
14080 [POSIX || POSIX2008] (VDSUSP): Likewise.
14081 [POSIX || POSIX2008] (VLNEXT): Likewise.
14082 [POSIX || POSIX2008] (VREPRINT): Likewise.
14083 [POSIX || POSIX2008] (VSTATUS): Likewise.
14084 [POSIX || POSIX2008] (VWERASE): Likewise.
14085 (B*): Change to B[0123456789]*.
14086 * conform/data/time.h-data [POSIX || UNIX98]
14087 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14088 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14089 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14090 [POSIX] (tm_*): Do not allow.
14091
686554bf
JM
140922014-06-07 Joseph Myers <joseph@codesourcery.com>
14093
14094 * Makefile (install): Don't set LANGUAGE.
14095 * Makefile.in (install): Likewise.
14096 * assert/Makefile (test-assert-ENV): Remove variable.
14097 (test-assert-perr-ENV): Likewise.
14098 * elf/Makefile (neededtest4-ENV): Likewise.
14099 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14100 [$(cross-compiling) = no]: Don't set LANGUAGE.
14101 * io/ftwtest-sh (LANG): Remove variable.
14102 * libio/Makefile (tst-widetext-ENV): Likewise.
14103 * manual/install.texi (Running make install): Don't refer to
14104 environment settings for make install.
14105 * INSTALL: Regenerated.
14106 * nptl/tst-tls6.sh: Don't set LANG.
14107 * posix/globtest.sh (LANG): Remove variable.
14108 * string/Makefile (tester-ENV): Likewise.
14109 (inl-tester-ENV): Likewise.
14110 (noinl-tester-ENV): Likewise.
14111 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14112 [$(cross-compiling) = no]: Don't set LANGUAGE.
14113 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14114 without explicit environment settings.
14115
68e6b6b1
RM
141162014-06-06 Roland McGrath <roland@hack.frob.com>
14117
14118 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14119 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14120 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14121 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14122
4d3ae034
CM
141232014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14124
14125 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14126 other files in the crypt directory.
14127 * crypt/crypt.c: Remove duplicate includes.
14128 * crypt/crypt-entry.c: Likewise.
14129 * crypt/crypt_util.c: Likewise.
14130
8540f6d2
JM
141312014-06-06 Joseph Myers <joseph@codesourcery.com>
14132
14133 * Makeconfig (run-program-env): New variable.
14134 (run-program-prefix-before-env): Likewise.
14135 (run-program-prefix-after-env): Likewise.
14136 (run-program-prefix): Define in terms of new variables.
14137 (built-program-cmd-before-env): New variable.
14138 (built-program-cmd-after-env): Likewise.
14139 (built-program-cmd): Define in terms of new variables.
14140 (test-program-prefix-before-env): New variable.
14141 (test-program-prefix-after-env): Likewise.
14142 (test-program-prefix): Define in terms of new variables.
14143 (test-program-cmd-before-env): New variable.
14144 (test-program-cmd-after-env): Likewise.
14145 (test-program-cmd): Define in terms of new variables.
14146 * Rules (make-test-out): Use $(run-program-env).
14147 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14148 (help): Do not mention environment variables. Mention
14149 --timeoutfactor option.
14150 (timeoutfactor): New variable.
14151 (blacklist_exports): Remove function.
14152 (exports): Remove variable.
14153 (command): Do not include ${exports}.
14154 * manual/install.texi (Configuring and compiling): Do not mention
14155 test wrappers preserving environment variables. Mention that last
14156 assignment to a variable must take precedence.
14157 * INSTALL: Regenerated.
14158 * benchtests/Makefile (run-bench): Use $(run-program-env).
14159 * catgets/Makefile ($(objpfx)test1.cat): Use
14160 $(built-program-cmd-before-env), $(run-program-env) and
14161 $(built-program-cmd-after-env).
14162 ($(objpfx)test2.cat): Do not specify environment variables
14163 explicitly.
14164 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14165 $(run-program-env) and $(built-program-cmd-after-env).
14166 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14167 $(run-program-env) and $(test-program-cmd-after-env).
14168 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14169 explicitly.
14170 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14171 run_program_env and test_program_cmd_after_env arguments.
14172 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14173 * elf/tst-pathopt.sh: Use run_program_env argument.
14174 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14175 $(test-wrapper-env) and $(run-program-env).
14176 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14177 run_program_env arguments.
14178 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14179 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14180 $(test-program-prefix-before-env), $(run-program-env) and
14181 $(test-program-prefix-after-env).
14182 ($(objpfx)tst-gettext2.out): Likewise.
14183 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14184 run_program_env and test_program_prefix_after_env arguments.
14185 * intl/tst-gettext2.sh: Likewise.
14186 * intl/tst-gettext4.sh: Do not set environment variables
14187 explicitly.
14188 * intl/tst-gettext6.sh: Likewise.
14189 * intl/tst-translit.sh: Likewise.
14190 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14191 $(test-program-prefix-before-env), $(run-program-env) and
14192 $(test-program-prefix-after-env).
14193 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14194 run_program_env and test_program_prefix_after_env arguments.
14195 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14196 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14197 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14198 explicitly with each use of ${test_wrapper_env}.
14199 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14200 $(test-program-prefix-before-env), $(run-program-env) and
14201 $(test-program-prefix-after-env).
14202 * posix/tst-getconf.sh: Do not set environment variables
14203 explicitly.
14204 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14205 run_program_env and test_program_prefix_after_env arguments.
14206 * stdio-common/tst-printf.sh: Do not set environment variables
14207 explicitly.
14208 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14209 $(test-program-prefix-before-env), $(run-program-env) and
14210 $(test-program-prefix-after-env).
14211 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14212 run_program_env and test_program_prefix_after_env arguments.
14213 Split $test calls into $test_pre and $test.
14214 * timezone/Makefile (build-testdata): Use
14215 $(built-program-cmd-before-env), $(run-program-env) and
14216 $(built-program-cmd-after-env).
14217
ed36bfa1
AZ
142182014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14219
14220 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14221 strlen for non SHARED builds.
14222
fc75bf46
SP
142232014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14224
14225 * nptl/allocatestack.c (check_list): Inlined function...
14226 (__reclaim_stacks): ... here.
14227
d89b3d80
OB
142282014-06-05 Ondřej Bílka <neleai@seznam.cz>
14229
14230 [BZ #15698]
14231 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14232 memory overrun.
14233
2bf18041
JM
142342014-06-05 Joseph Myers <joseph@codesourcery.com>
14235
14236 * Rules (make-test-out): Include
14237 LOCPATH=$(common-objpfx)localedata in default environment.
14238 * debug/Makefile (tst-chk1-ENV): Remove variable.
14239 (tst-chk2-ENV): Likewise.
14240 (tst-chk3-ENV): Likewise.
14241 (tst-chk4-ENV): Likewise.
14242 (tst-chk5-ENV): Likewise.
14243 (tst-chk6-ENV): Likewise.
14244 (tst-lfschk1-ENV): Likewise.
14245 (tst-lfschk2-ENV): Likewise.
14246 (tst-lfschk3-ENV): Likewise.
14247 (tst-lfschk4-ENV): Likewise.
14248 (tst-lfschk5-ENV): Likewise.
14249 (tst-lfschk6-ENV): Likewise.
14250 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14251 (tst-iconv7-ENV): Likewise.
14252 * intl/Makefile (LOCPATH-ENV): Likewise.
14253 (tst-codeset-ENV): Likewise.
14254 (tst-gettext3-ENV): Likewise.
14255 (tst-gettext5-ENV): Likewise.
14256 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14257 (tst-fopenloc-ENV): Likewise.
14258 (tst-fgetws-ENV): Remove variable.
14259 (tst-ungetwc1-ENV): Likewise.
14260 (tst-ungetwc2-ENV): Likewise.
14261 (bug-ungetwc2-ENV): Likewise.
14262 (tst-swscanf-ENV): Likewise.
14263 (bug-ftell-ENV): Likewise.
14264 (tst-fgetwc-ENV): Likewise.
14265 (tst-fseek-ENV): Likewise.
14266 (tst-ftell-partial-wide-ENV): Likewise.
14267 (tst-ftell-active-handler-ENV): Likewise.
14268 (tst-ftell-append-ENV): Likewise.
14269 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14270 (tst-regexloc-ENV): Likewise.
14271 (bug-regex1-ENV): Likewise.
14272 (tst-regex-ENV): Likewise.
14273 (tst-regex2-ENV): Likewise.
14274 (bug-regex5-ENV): Likewise.
14275 (bug-regex6-ENV): Likewise.
14276 (bug-regex17-ENV): Likewise.
14277 (bug-regex18-ENV): Likewise.
14278 (bug-regex19-ENV): Likewise.
14279 (bug-regex20-ENV): Likewise.
14280 (bug-regex22-ENV): Likewise.
14281 (bug-regex23-ENV): Likewise.
14282 (bug-regex25-ENV): Likewise.
14283 (bug-regex26-ENV): Likewise.
14284 (bug-regex30-ENV): Likewise.
14285 (bug-regex32-ENV): Likewise.
14286 (bug-regex33-ENV): Likewise.
14287 (bug-regex34-ENV): Likewise.
14288 (bug-regex35-ENV): Likewise.
14289 (tst-rxspencer-ENV): Likewise.
14290 (tst-rxspencer-no-utf8-ENV): Likewise.
14291 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14292 (tst-sscanf-ENV): Likewise.
14293 (tst-swprintf-ENV): Likewise.
14294 (tst-swscanf-ENV): Likewise.
14295 (test-vfprintf-ENV): Likewise.
14296 (scanf13-ENV): Likewise.
14297 (bug14-ENV): Likewise.
14298 (tst-grouping-ENV): Likewise.
14299 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14300 (tst-strtod3-ENV): Likewise.
14301 (tst-strtod4-ENV): Likewise.
14302 (tst-strtod5-ENV): Likewise.
14303 (testmb2-ENV): Likewise./
14304 * string/Makefile (tst-strxfrm-ENV): Likewise.
14305 (tst-strxfrm2-ENV): Likewise.
14306 (bug-strcoll1-ENV): Likewise.
14307 (test-strcasecmp-ENV): Likewise.
14308 (test-strncasecmp-ENV): Likewise.
14309 * time/Makefile (tst-strptime-ENV): Likewise.
14310 (tst-ftime_l-ENV): Likewise.
14311 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14312 (tst-mbrtowc-ENV): Likewise.
14313 (tst-wcrtomb-ENV): Likewise.
14314 (tst-mbrtowc2-ENV): Likewise.
14315 (tst-c16c32-1-ENV): Likewise.
14316 (tst-mbsnrtowcs-ENV): Likewise.
14317
cd1fb604
OB
143182014-06-05 Ondřej Bílka <neleai@seznam.cz>
14319
14320 * manual/resource.texi (How to get information about the memory
14321 subsystem?): Fix typo.
14322 Reported by Peon de la Parra Ivan <peon@keba.com>
14323
b42eca7d
GY
143242014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14325
14326 [BZ #16882]
14327 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14328 (pthread_spin_lock): Branch out of spin loop to proper location.
14329 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14330 (pthread_spin_lock): Likewise.
14331
902b71f9
DM
14332 * nptl/tst-spin4.c: New test.
14333 * nptl/Makefile (tests): Add tst-spin4.
14334
f9d2d032
AS
143352014-06-03 Andreas Schwab <schwab@suse.de>
14336
14337 [BZ #15946]
14338 * resolv/res_send.c (send_dg): Reload file descriptor after
14339 calling reopen.
14340
cf7bfd28
SL
143412014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14342
14343 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14344
111cc714
RH
143452014-06-03 Richard Henderson <rth@redhat.com>
14346
89b4bd6b
RH
14347 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14348 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14349 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14350 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14351 in the SAVE_PID block.
14352 (__libc_vfork): New alias.
71840409 14353 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 14354
111cc714
RH
14355 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14356 child in registers, not on the stack. Remove RESET_PID conditionals.
14357 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14358
ccc39911
MS
143592014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14360
14361 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14362
693096cc
W
143632014-06-03 Wilco <wdijkstr@arm.com>
14364
14365 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14366 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14367 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14368 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14369 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14370 Likewise.
14371
0b4366bc
W
143722014-06-03 Wilco <wdijkstr@arm.com>
14373
14374 * sysdeps/aarch64/fpu/math_private.h
14375 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14376 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14377 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14378 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14379 Fix declarations.
14380
8747cd03
KS
143812014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14382
14383 * crypt/crypt-private.h: Include ufc-crypt.h.
14384 (__b64_from_24bit): Declare extern.
14385 * crypt/crypt_util.c(__b64_from_24bit): New function.
14386 (b64t): New static const variable.
14387 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14388 (b64t): Remove variable.
14389 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14390 * crypt/sha256-crypt.c: Include crypt-private.h.
14391 (b64t): Remove variable.
14392 (__sha256_crypt_r): Remove b64_from_24bit and replace
14393 with __b64_from_24bit.
14394 * crypt/sha512-crypt.c: Likewise.
14395
d936d379
RM
143962014-06-02 Roland McGrath <roland@hack.frob.com>
14397
14398 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14399 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14400 Label the code __libc_vfork rather than __vfork.
14401 [!NOT_IN_libc] (vfork): Define as weak alias.
14402 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14403 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14404 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14405
9fa76613
SP
144062014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14407
14408 * malloc/malloc.c (malloc_info): Fix format specifier for
14409 n_mmaps.
14410
a88dadbe
W
144112014-06-02 Wilco <wdijkstr@arm.com>
14412
14413 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14414 FPCR write.
14415
c95b3011
W
144162014-06-02 Wilco <wdijkstr@arm.com>
14417
14418 [BZ #17009]
14419 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14420 Rewrite to reduce FPCR/FPSR accesses.
14421
6b4d7a90
DM
144222014-06-01 David S. Miller <davem@davemloft.net>
14423
14424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14425
30f3d07c
DM
144262014-05-31 David S. Miller <davem@davemloft.net>
14427
14428 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14429 to occur in round to nearest mode when |x| >= 2.0
14430
74f31c18
RH
144312014-05-30 Richard Henderson <rth@twiddle.net>
14432
f0712b54
RH
14433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14434 (PSEUDO_RET_NOERRNO): Remove.
14435 (ret): Don't redefine.
14436 (ret_NOERRNO): Define in terms of ret.
14437 (ret_ERRVAL): Likewise.
14438
74f31c18
RH
14439 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14440 use of PSEUDO_RET; perform the error check directly.
14441
30477995
MM
144422014-05-30 Marko Myllynen <myllynen@redhat.com>
14443
14444 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14445 with __int128_t.
14446
62a58816
SP
144472014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14448
14449 * malloc/malloc (malloc_info): Fix formatting.
14450
4d653a59
SP
144512014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14452 Roland McGrath <roland@hack.frob.com>
14453
14454 * malloc/malloc (malloc_info): Also print mmapped statistics.
14455
5190c17f
RM
144562014-05-30 Roland McGrath <roland@hack.frob.com>
14457
14458 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14459 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14460
987c0269
OB
144612014-05-30 Ondřej Bílka <neleai@seznam.cz>
14462
14463 * malloc/malloc.c (malloc_info): Inline mi_arena.
14464
af4e8ef9
RH
144652014-05-29 Richard Henderson <rth@twiddle.net>
14466
1670e207
RH
14467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14468 Remove comma before expanding ASM_ARGS_##nr.
14469 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14470 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14471 of ASM_ARGS_##nr.
14472 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14473 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14474 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14475 (ASM_ARGS_1): Add leading comma.
14476
11a28aee
RH
14477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14478 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14479 to __errno_location.
14480 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14481 Remove the expected plt for __errno_location.
14482
a17e5ffb 14483 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 14484 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
14485 call to __read_tp.
14486
b5be4597
RH
14487 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14488 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14489 it and break it down.
14490 (DOCARGS_0, DOCARGS_1): Do nothing.
14491 (DOCARGS_2): Update to store into the new stack frame.
14492 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14493 (UNDOCARGS_1): Update to restore from the new stack frame.
14494 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14495 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14496
645d44ab
RH
14497 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14498 (SINGLE_THREAD_P): New parameter for result regno.
14499 (PSEUDO): Update to match; use cbz instead of beq.
14500
a8b4f04a
RH
14501 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14502 Use ENTRY to define the _nocancel entry point. Share the syscall
14503 and syscall error check paths with the cancel path.
14504 (PSEUDO_END): New.
14505
af4e8ef9
RH
14506 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14507 whitespace; tabs before and after asm mnemonics.
14508
26b0d2e1
EW
145092014-05-29 Eric Wong <normalperson@yhbt.net>
14510
14511 [BZ #15132]
14512 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14513 Call fstat64 or stat64 internally, depending on arguments passed.
14514 Replace stat buffer argument with file descriptor argument.
14515 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14516 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14517 Pass fd to __internal_statvfs instead of calling fstat64.
14518 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14519 Pass fd to __internal_statvfs64 instead of calling fstat64.
14520 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14521 Pass -1 to __internal_statvfs instead of calling stat64.
14522 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14523 Pass -1 to __internal_statvfs64 instead of calling stat64.
14524
1efe2bd9
RM
145252014-05-28 Roland McGrath <roland@hack.frob.com>
14526
0d3b7a19
RM
14527 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14528 that was previously under [RESET_PID].
14529 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14530
1efe2bd9
RM
14531 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14532 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14533
a6bea3ca
RM
145342014-05-27 Roland McGrath <roland@hack.frob.com>
14535
30b6629e
RM
14536 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14537
a6bea3ca
RM
14538 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14539 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14540
3dfb9a5c
OB
145412014-05-27 Ondřej Bílka <neleai@seznam.cz>
14542
14543 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14544
774f9285
AS
145452014-05-27 Andreas Schwab <schwab@suse.de>
14546
14547 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14548 TLS_INIT_TP macro.
14549 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14550 * elf/rtld.c (init_tls, dl_main): Likewise.
14551 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14552 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14553 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14554 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14555 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14556 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14557 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14558 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14559 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14560 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14561 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14562 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14563 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14564 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14565 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14566 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14567 * sysdeps/generic/tls.h: Update description.
14568
36ffe739
WN
145692014-05-27 Will Newton <will.newton@linaro.org>
14570
14571 [BZ #16990]
14572 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14573 and restore r2 rather than just restoring.
14574
2482ae43
SP
145752014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14576
14577 [BZ #16724]
14578 * libio/tst-ftell-append.c: New test case.
14579 * libio/Makefile (tests): Add test case.
14580 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14581 append mode.
14582 * libio/wfileops.c (do_ftell_wide): Likewise.
14583
3d1024e8
AZ
145842014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14585
bab90016
AZ
14586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14587
c7a8d667
AZ
14588 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14589 ...
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14592 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14593 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14594 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14595 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14596 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14597 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14599 Moved ...
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14602 Moved ...
14603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14604 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14605 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14606 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14607 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14608 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14609 ...
14610 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14611 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14612 Moved ...
14613 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14614 here.
14615 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14616 ...
14617 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14618 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14619 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14620
daee7851
AZ
14621 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14622 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14623 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14624 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14625
50a40819
AZ
14626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14627 merge into ...
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14629 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14630 ...
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14633 ...
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14636 Moved ...
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14638 here.
14639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14640 Moved ...
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14642 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14643 Moved ...
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14645
8464c2a1
AZ
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14647 conditional [RESET_PID].
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14650 removed.
14651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14652 removed.
14653
3d1024e8
AZ
14654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14655 <tcb-offsets.h>.
14656 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14657 (__libc_vfork): New strong alias.
14658 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14659 removed.
14660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14661 Removed.
14662
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14664 <tcb-offsets.h>.
14665 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14666 (__libc_vfork): New strong alias.
14667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14668 removed.
14669 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14670 removed.
14671
fdfd175d
CD
146722014-05-26 Carlos O'Donell <carlos@redhat.com>
14673
14674 * malloc/malloc.c (mi_arena): New function.
14675 (malloc_info): Remove nested function mi_arena. Call non-nosted
14676 function mi_arena.
14677
d298c416
AZ
146782014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14679
14680 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14681 by insrwi.
14682 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14683 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14684 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14685 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14686 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14687 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14688 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14689
b60ea6ff
AS
146902014-05-26 Andreas Schwab <schwab@suse.de>
14691
14692 [BZ #16984]
14693 * locale/programs/repertoire.c (repertoire_read): Add slash
14694 between I18NPATH element and file name.
14695 * locale/programs/locfile.c (locfile_read): Likewise.
14696
67365926
SL
146972014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14698
14699 * nptl/pthread_mutexattr_settype.c
14700 (__pthread_mutexattr_settype):
14701 Disable lock elision for PTHREAD_MUTEX_NORMAL.
14702
f8bdf1f0
SL
147032014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14704
14705 * nptl/tst-mutex5 (do_test):
14706 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14707
15eaf6ff
SP
147082014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14709
14710 * benchtests/README: Document 'init' directive.
14711 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14712 BENCH_INIT.
14713 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14714 (parse_file): Recognize 'init' directive.
14715
75f11331
KM
147162014-05-26 Kyle McMartin <kyle@redhat.com>
14717
14718 [BZ #16796]
14719 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14720 alignment of struct pthread.
14721
c3ec475c
SP
147222014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14723
14724 [BZ #16878]
14725 * nscd/netgroupcache.c (addgetnetgrentX): Look for
14726 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14727 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14728 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14729
82aab97c
RH
147302014-05-25 Richard Henderson <rth@twiddle.net>
14731
aa2f176d
RH
14732 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14733 (SINGLE_THREAD_P_PIC): Remove.
14734 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14735 (SINGLE_THREAD_P_PIC): Remove.
14736
ca3cfa40
RH
14737 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14738 branch to syscall error ...
14739 (PSEUDO): ... here.
14740 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14741 from __local_syscall_error to .Lsyscall_error.
14742 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14743 (SYSCALL_ERROR): Update label name.
14744
6e6c2d01
RH
14745 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14746 Do not use DOARGS/UNDOARGS.
14747 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14748 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14749 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14750 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14751 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14752
c69abcee
RH
14753 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14754 block comment.
14755
82aab97c
RH
14756 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14757 define if !NOT_IN_libc.
14758 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14759 define with non-default symbol versions.
14760
8820e3ac
RH
147612014-05-23 Richard Henderson <rth@twiddle.net>
14762
900e445f
RH
14763 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14764 (vfork, __vfork): Define via compat_symbol.
14765
8820e3ac
RH
14766 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14767 [!HAVE_IFUNC] (vfork_compat): Remove.
14768 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14769
e59252a5
JM
147702014-05-23 Joseph Myers <joseph@codesourcery.com>
14771
14772 [BZ #16978]
14773 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14774 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14775 variable.
14776
132c7f5f
RH
147772014-05-23 Richard Henderson <rth@twiddle.net>
14778
bc89e962
RH
14779 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14780 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14781 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14782 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14783
14784 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14785 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14786 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14787 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14788 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14789 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14790 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14791 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14792 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14793 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14794 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14795 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14796 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14797 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14798 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14799 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14800 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14801 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14803 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14804 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14805 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14806 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14807 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14808 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14809 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14810 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14811 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14812 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14813 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14814 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14815 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14816 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14817 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14818 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14819 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14820 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14821 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14822 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14823 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14824 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14825 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14826 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14827 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14828 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14829 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14830 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14831 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14832 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14833 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14834 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14835 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14836 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14837 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14838 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14839 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14840
e2fa4bc2
RH
14841 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14842 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14843 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
14844 before exiting on error.
14845 (__libc_vfork): New strong alias.
14846 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14847 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14848
279b24e2
RH
14849 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14850 that was previously under [RESET_PID].
14851 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14852
132c7f5f
RH
14853 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14854
b72592e7
JM
148552014-05-23 Joseph Myers <joseph@codesourcery.com>
14856
14857 [BZ #16977]
14858 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14859 value when x - 1 is zero.
14860 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14861 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14862 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14863 0.0L for an argument of 1.0L.
14864 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14865 Likewise.
14866 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14867 value when x - 1 is zero.
14868 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14869 * sysdeps/i386/fpu/libm-test-ulps: Update.
14870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14871
2302d679
RV
148722014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14873
14874 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14875 alphasort and versionsort.
14876
32999d63
AZ
148772014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14878
14879 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14880 macro.
14881 [copysignf]: Likewise.
14882
019324d0
SP
148832014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14884
14885 * crypt/md5-crypt.c: Fix formatting.
14886
34fff5c2
KS
148872014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14888
14889 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14890 (b64_from_24bit): New function.
14891
3d2badac
AZ
148922014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893
14894 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14895 libc_hidden_builtin_def to ifunc.
14896 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14897 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14898
f7bb179f 148992014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
14900
14901 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14902 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14903
4134b50d
JM
149042014-05-21 Joseph Myers <joseph@codesourcery.com>
14905
bb7d0337
JM
14906 * nscd/Depend (linuxthreads): Remove.
14907 (nptl): Add.
14908 * resolv/Depend (linuxthreads): Remove.
14909 * rt/Depend (linuxthreads): Remove.
14910
4134b50d
JM
14911 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14912 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14913 $(common-objpfx)elf/.
14914 (link-libc-before-gnulib): Likewise.
14915 (elfobjdir): Remove variable.
14916 * Makefile (install): Use $(elf-objpfx) instead of
14917 $(common-objpfx)elf/.
14918 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14919 $(elfobjdir)/.
14920 (link-libc-deps): Likewise.
14921 ($(common-objpfx)libc.so): Likewise.
14922 ($(common-objpfx)linkobj/libc.so): Likewise.
14923 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14924 instead of $(common-objpfx)elf/.
14925 (symbolic-link-list): Likewise.
14926 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14927 [$(cross-compiling) = no]: Likewise.
14928 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14929 $(elfobjdir)/.
14930 (static-gnulib-arch): Likewise.
14931 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14932 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14933 $(common-objpfx)elf/.
14934
3612eb8f
RH
149352014-05-21 Richard Henderson <rth@redhat.com>
14936
a6b3657b
RH
14937 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14938 (SINGLE_THREAD_P): Use the correct width load. Fold
14939 into the ldr offset.
14940
3612eb8f
RH
14941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14942 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14943
175cef41
JM
149442014-05-20 Joseph Myers <joseph@codesourcery.com>
14945
14946 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14947 (libgcc_s_resume): Use __attribute_used__.
14948 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14949 Likewise.
14950
e13bccd3
AZ
149512014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14952
14953 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14954 optimization when used with float constants.
14955
7c112a38
AZ
14956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14957
ae75a883
AJ
149582014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14959
14960 [BZ #16915]
14961 * locale/nl_langinfo_l.c: Make direct reference to every
14962 _nl_current_CATEGORY symbol.
14963 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14964 (tests-static): Add tst-langinfo-static.
14965 (tests-special): Add tst-langinfo-static.out.
14966 ($(objpfx)tst-langinfo.out): Redirect output.
14967 ($(objpfx)tst-langinfo-static.out): New.
14968 * localedata/tst-langinfo.sh: Send output to stdout.
14969 * localedata/tst-langinfo-static.c: New file.
14970
4406c41c
AJ
14971 [BZ #16965]
14972 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14973 when the shift amount is modulo the limb size.
14974
4c0a1e63
RH
149752014-05-20 Richard Henderson <rth@redhat.com>
14976
de9d8f20
RH
14977 [BZ #16967]
14978 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14979 Change type of sa_flags from unsigned int to int.
14980
4c0a1e63
RH
14981 [BZ #16966]
14982 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
14983
14984 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14985
a60339aa
WN
149862014-05-20 Will Newton <will.newton@linaro.org>
14987
14988 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14989 Test the return value of the system call in the nocancel case.
14990
7d05a816
YR
149912014-05-20 Will Newton <will.newton@linaro.org>
14992 Yvan Roux <yvan.roux@linaro.org>
14993
14994 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14995 #include of asm/ptrace.h.
14996 (PTRACE_GET_THREAD_AREA): Remove #undef.
14997 (PTRACE_GETHBPREGS): Likewise.
14998 (PTRACE_SETHBPREGS): Likewise.
14999 (struct user_regs_struct): New structure.
15000 (struct user_fpsimd_struct): New structure.
15001 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15002 #include of asm/ptrace.h and second #include of sys/user.h.
15003 (PTRACE_GET_THREAD_AREA): Remove #undef.
15004 (PTRACE_GETHBPREGS): Likewise.
15005 (PTRACE_SETHBPREGS): Likewise.
15006 (ELF_NGREG): Use new struct user_regs_struct.
15007 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15008
af121e37
AZ
150092014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010
15011 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15012 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15013
834caf06
JM
150142014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15015
15016 [BZ #16958]
15017 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15018 membar to avoid block loads/stores to overlap previous stores.
15019
e184a918
RH
150202014-05-17 Richard Henderson <rth@redhat.com>
15021
15022 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15023 Create the __##syscall_name##_nocancel entry point.
15024 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15025 Remove; let the sysdep-cancel.h code create it.
15026
f56c7a6a
DM
150272014-05-17 David S. Miller <davem@davemloft.net>
15028
15029 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15030 Protect with __USE_GNU.
15031 (TIOCSET_TEMPT): Likewise.
15032 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15033 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15034 these are already provided in bits/ioctl-types.h
15035
f75616b2
RM
150362014-05-16 Roland McGrath <roland@hack.frob.com>
15037
3edeca86
RM
15038 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15039 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15040
f75616b2
RM
15041 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15042 Use wait4 regardless of [__NR_waitpid].
15043
deb0f7f6
MR
150442014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15045
15046 PR libgcc/60166
15047 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15048 (_FP_NANSIGN_Q): Set the quiet bit.
15049
79520f4b
JM
150502014-05-16 Joseph Myers <joseph@codesourcery.com>
15051
15052 * benchtests/Makefile
15053 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15054 not $(common-objpfx)math/libm.so.
15055 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15056 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15057 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15058 $(common-objpfx)dlfcn/libdl.so.
15059 ($(objpfx)tst-audit8): Depend on $(libm), not
15060 $(common-objpfx)math/libm.so.
15061 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15062 not $(common-objpfx)dlfcn/libdl.so.
15063 * math/Makefile
15064 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15065 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15066 [$(build-shared) = yes].
15067 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15068 $(common-objpfx)nptl/libpthread.so.
15069 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15070 $(common-objpfx)math/libm.so$(libm.so-version) or
15071 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15072 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15073 $(common-objpfx)dlfcn/libdl.so.
15074 * setjmp/Makefile (link-libm): Remove variable.
15075 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15076 * stdio-common/Makefile (link-libm): Remove variable.
15077 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15078 * stdlib/Makefile (link-libm): Remove variable.
15079 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15080 ($(objpfx)tst-strtod-round): Likewise.
15081 ($(objpfx)tst-tininess): Likewise.
15082 ($(objpfx)tst-strtod-underflow): Likewise.
15083 ($(objpfx)tst-strtod6): Likewise.
15084 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15085 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15086 $(common-objpfx)dlfcn/libdl.so.
15087
026b0fe4
AZ
150882014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15089
15090 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15091 BSD terminal modes definitions.
15092
def4bcb2
RM
150932014-05-16 Roland McGrath <roland@hack.frob.com>
15094
fe39b021
RM
15095 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15096 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15097
1d1fc46e 15098 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
15099 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15100 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15101 Don't do #include_next.
15102 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15103 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15104 Don't do #include_next.
15105 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15106 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15107 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15108 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15109
c72399fb
AM
151102014-05-16 Allan McRae <allan@archlinux.org>
15111
d51d659d
AM
15112 * po/sv.po: Update Swedish translation from translation project.
15113
c72399fb
AM
15114 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15115 in sed expression.
15116
d0583c40
AJ
151172014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15118
15119 [BZ #16917]
15120 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15121 errno if the TIOCGPTN ioctl fails with an error different than
15122 EINVAL.
15123 * login/tst-ptsname.c: New file.
15124 * login/Makefile (tests): Add tst-ptsname.
15125
d16e6ec7
AJ
15126 [BZ #16943]
15127 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15128 and prlimit64.
15129
cf26a0cb
SP
151302014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15131
15132 [BZ #16849]
15133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15134 herrno to return EAI_AGAIN.
15135
5675da1e
RM
151362014-05-14 Roland McGrath <roland@hack.frob.com>
15137
a5d87b3d
RM
15138 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15139 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15140 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15141 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15142 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15143 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15144 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15145 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15146 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15147 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15148 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15149 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15150 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15151 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15152 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15153 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15154 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15155 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15156 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15157 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15158 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15159 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15160 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15161 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15162 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15163 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15164 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15165 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15166 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15167 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15169 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15171 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15173 Moved ...
15174 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15176 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15178 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15180 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15182 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15184 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15186 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15188 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15190 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15192 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15194 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15196 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15198 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15200 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15202 Moved ...
15203 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15205 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15207 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15209 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15211 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15213 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15215 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15217 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15219 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15221 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15223 Moved ...
15224 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15226 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15227
039890a6
RM
15228 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15229 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15230 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15231 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15232 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15233 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15234 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15235 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15236 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15237 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15238 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15239 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15240 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15241 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15242 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15243 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15244 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15245 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15246 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15247 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15248 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15249 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15250 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15251 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15252 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15253 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15254 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15255 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15256 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15257 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15258 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15259
65c89320
RM
15260 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15261 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15262
348f8e8c
RM
15263 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15264 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15265 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15266 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15267 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15268 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15269 Moved ...
15270 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15271 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15272 Moved ...
15273 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15274 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15275 Moved ...
15276 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15277 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15278 Moved ...
15279 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15280 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15281 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15282 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15283 Moved ...
15284 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15285 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15286 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15287 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15288 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15289 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15290 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15291 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15292 Moved ...
15293 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15294 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15295 Moved ...
15296 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15297 ... here.
15298 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15299 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15300 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15301 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15302 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15303 Moved ...
15304 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15305 ... here.
15306 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15307 Moved ...
15308 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15309 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15310 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15311 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15312 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15313 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15314 Moved ...
15315 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15316 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15317 Moved ...
15318 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15319 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15320 Moved ...
15321 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15322 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15323 Moved ...
15324 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15325 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15326 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15327 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15328 Moved ...
15329 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15330 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15331 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15332 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15333 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15334 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15335 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15336 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15337 Moved ...
15338 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15339 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15340 Moved ...
15341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15342 ... here.
15343 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15344 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15345 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15346 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15347 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15348 Moved ...
15349 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15350 ... here.
15351 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15352 Moved ...
15353 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15354 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15355 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15356 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15357 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15358 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15359 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15360 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15361 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15362 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15363 Moved ...
15364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15365 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15366 Moved ...
15367 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15368 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15369 Moved ...
15370 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15371 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15372 Moved ...
15373 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15374 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15375 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15376 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15377 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15379 Moved ...
15380 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15381 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15382 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15384 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15385 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15386 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15387 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15388 Moved ...
15389 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15391 Moved ...
15392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15393 ... here.
15394 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15395 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15396 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15397 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15398 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15399 Moved ...
15400 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15401 ... here.
15402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15403 Moved ...
15404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15405 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15406 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15407 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15408 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15409 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15410 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15411 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15412 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15413 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15414 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15415
5085af05
RM
15416 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15417 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15418
708f0813
RM
15419 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15420 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15421
c96067bc
RM
15422 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15423 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15424 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15425 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15426 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15427 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15428 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15429 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15430 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15431 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15432 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15433 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15434 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15435 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15436 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15438 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15439 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15440 Moved ...
15441 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15442 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15443 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15445 Moved ...
15446 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15448 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15450 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15454 Moved ...
15455 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15457 Moved ...
15458 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15460 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15462 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15464 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15465 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15466 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15467 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15468 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15469 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15470 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15471 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15472 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15473 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15474 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15475
ec136444
RM
15476 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15477 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15478 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15479 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15480 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15481
2fbdf533
RM
15482 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15483 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15484 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15485 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15486 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15487 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15488 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15489 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15490 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15491 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15492
4c68138b
RM
15493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15494 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15495
4eaae765
RM
15496 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15497 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
15498 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15499 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15500 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15501 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15502 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15503 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15504 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15505 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15506 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15507 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15508 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15509 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15511 Update #include.
15512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15513 Likewise.
15514 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15515 Likewise.
15516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15517 Likewise.
15518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15519 Likewise.
15520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15521 Likewise.
15522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15523 Likewise.
15524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15525 Likewise.
15526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15527 Likewise.
15528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15529 Likewise.
4ef6befa
RM
15530 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15531 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15532 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15533 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
15535 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15536 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15537 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15538 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15539 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15540 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15541 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15542 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15543 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15544 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 15545
941d7dfd
RM
15546 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15547 that was previously under [RESET_PID].
15548 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15549 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15550 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15551
1b731c35
RM
15552 * sysdeps/i386/nptl/Implies: New file.
15553 * sysdeps/x86_64/nptl/Implies: New file.
15554 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15555 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15556 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15557 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15558
e2787137
RM
15559 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15560 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15561 (__libc_vfork): New strong alias.
15562 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15563 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15564
15565 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15566 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15567 (__libc_vfork): New strong alias.
15568 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15569 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15570
5675da1e
RM
15571 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15572 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15573 (__libc_vfork): New strong alias.
15574 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15575 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15576 * nptl/pt-vfork.c: New file.
15577 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15578 (libpthread: GLIBC_2.20): New version set (empty).
15579
4f02e2b8
WN
155802014-05-14 Will Newton <will.newton@linaro.org>
15581
15582 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15583 rather than #if.
15584
0bf061d3
JM
155852014-05-14 Joseph Myers <joseph@codesourcery.com>
15586
1a84c3d6
JM
15587 [BZ #16564]
15588 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15589 arguments with exponent 65 or above.
15590 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15591 arguments 0x1p113L or above.
15592 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15593 to arguments 0x1p107L or above.
15594 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15595 positive arguments with exponent 65 or above.
15596 * math/auto-libm-test-in: Add more tests of log1p.
15597 * math/auto-libm-test-out: Regenerated.
15598
01dbacd2
JM
15599 [BZ #16928]
15600 * math/s_cacos.c (__cacos): Ensure zero real part of result from
15601 non-finite arguments is +0.
15602 * math/s_cacosf.c (__cacosf): Likewise.
15603 * math/s_cacosl.c (__cacosl): Likewise.
15604 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15605 * sysdeps/i386/fpu/libm-test-ulps: Update.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607
913d03c8
JM
15608 [BZ #16927]
15609 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15610 value.
15611 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15612 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15613 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15614 for explicit high bit of mantissa when testing for argument equal
15615 to 1.
15616 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15617 * sysdeps/i386/fpu/libm-test-ulps: Update.
15618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15619
0bf061d3
JM
15620 [BZ #16516]
15621 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15622 (__erf): Scale by 16 instead of 8 in potentially underflowing
15623 case. Ensure exception if result actually underflows.
15624 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15625 (__erff): Scale by 16 instead of 8 in potentially underflowing
15626 case. Ensure exception if result actually underflows.
15627 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15628 (efx8): Remove variable.
15629 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15630 case. Ensure exception if result actually underflows.
15631 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15632 (efx8): Remove variable.
15633 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15634 case. Ensure exception if result actually underflows.
15635 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15636 (efx8): Remove variable.
15637 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15638 case. Ensure exception if result actually underflows.
15639 * math/auto-libm-test-in: Add more tests of erf.
15640 * math/auto-libm-test-out: Regenerated.
15641
73ba67cb
AS
156422014-05-14 Andreas Schwab <schwab@suse.de>
15643
3d8c8bff
AS
15644 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15645 Remove code conditionalized on USE___THREAD.
15646
73ba67cb
AS
15647 * config.h.in (HAVE_PT_CHOWN): Define as 0.
15648 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15649 not definedness.
15650
5c521ecd
JM
156512014-05-14 Joseph Myers <joseph@codesourcery.com>
15652
5e7698c6
JM
15653 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15654 Define unconditionally.
15655 (__ASSUME_O_CLOEXEC): Likewise.
15656 (__ASSUME_SOCK_CLOEXEC): Likewise.
15657 (__ASSUME_IN_NONBLOCK): Likewise.
15658 (__ASSUME_PIPE2): Likewise.
15659 (__ASSUME_EVENTFD2): Likewise.
15660 (__ASSUME_SIGNALFD4): Likewise.
15661 (__ASSUME_DUP3): Likewise.
15662 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15663 (__ASSUME_DUP3): Do not define.
15664 (__ASSUME_EVENTFD2): Likewise.
15665 (__ASSUME_IN_NONBLOCK): Likewise.
15666 (__ASSUME_O_CLOEXEC): Likewise.
15667 (__ASSUME_PIPE2): Likewise.
15668 (__ASSUME_SIGNALFD4): Likewise.
15669 (__ASSUME_SOCK_CLOEXEC): Likewise.
15670 (__ASSUME_UTIMES): Undefine.
15671 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15672 (__ASSUME_UTIMES): Do not define.
15673 (__ASSUME_O_CLOEXEC): Likewise.
15674 (__ASSUME_SOCK_CLOEXEC): Likewise.
15675 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15676 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15677 0x020621].
15678 (__ASSUME_PIPE2): Likewise.
15679 (__ASSUME_EVENTFD2): Likewise.
15680 (__ASSUME_SIGNALFD4): Likewise.
15681 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15682 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15683 Do not define.
15684 (__ASSUME_EVENTFD2): Likewise.
15685 (__ASSUME_SIGNALFD4): Likewise.
15686 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15687 (__ASSUME_32BITUIDS): Likewise.
15688 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15689 (__ASSUME_IPC64): Likewise.
15690 (__ASSUME_ST_INO_64_BIT): Likewise.
15691 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15692 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15693 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15694 (__ASSUME_UTIMES): Do not define.
15695 (__ASSUME_PSELECT): Likewise.
15696 (__ASSUME_PPOLL): Likewise.
15697 (__ASSUME_O_CLOEXEC): Likewise.
15698 (__ASSUME_SOCK_CLOEXEC): Likewise.
15699 (__ASSUME_IN_NONBLOCK): Likewise.
15700 (__ASSUME_PIPE2): Likewise.
15701 (__ASSUME_EVENTFD2): Likewise.
15702 (__ASSUME_SIGNALFD4): Likewise.
15703 (__ASSUME_DUP3): Likewise.
15704 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15705 (__ASSUME_UTIMES): Likewise.
15706 (__ASSUME_O_CLOEXEC): Likewise.
15707 (__ASSUME_SOCK_CLOEXEC): Likewise.
15708 (__ASSUME_IN_NONBLOCK): Likewise.
15709 (__ASSUME_PIPE2): Likewise.
15710 (__ASSUME_EVENTFD2): Likewise.
15711 (__ASSUME_SIGNALFD4): Likewise.
15712 (__ASSUME_DUP3): Likewise.
15713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15714 (__ASSUME_UTIMES): Likewise.
15715 (__ASSUME_O_CLOEXEC): Likewise.
15716 (__ASSUME_SOCK_CLOEXEC): Likewise.
15717 (__ASSUME_IN_NONBLOCK): Likewise.
15718 (__ASSUME_PIPE2): Likewise.
15719 (__ASSUME_EVENTFD2): Likewise.
15720 (__ASSUME_SIGNALFD4): Likewise.
15721 (__ASSUME_DUP3): Likewise.
15722 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15723 Likewise.
15724 (__ASSUME_UTIMES): Likewise.
15725 (__ASSUME_EVENTFD2): Likewise.
15726 (__ASSUME_SIGNALFD4): Likewise.
15727 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15728 (__ASSUME_O_CLOEXEC): Likewise.
15729 (__ASSUME_SOCK_CLOEXEC): Likewise.
15730 (__ASSUME_IN_NONBLOCK): Likewise.
15731 (__ASSUME_PIPE2): Likewise.
15732 (__ASSUME_EVENTFD2): Likewise.
15733 (__ASSUME_SIGNALFD4): Likewise.
15734 (__ASSUME_DUP3): Likewise.
15735 (__ASSUME_UTIMES): Undefine.
15736
5c521ecd
JM
15737 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15738 feclearexcept. Remove symbol versioning code.
15739 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
15740 symbol versioning code.
15741 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
15742 symbol versioning code.
15743 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15744 feupdateenv. Remove symbol versioning code.
15745 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15746 fegetexceptflag. Remove symbol versioning code.
15747 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15748 fesetexceptflag. Remove symbol versioning code.
15749 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15750 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
15751 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15752 (__posix_fadvise64_l32): Remove prototype.
15753 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15754 code.
15755
5da9dfad
RM
157562014-05-13 Roland McGrath <roland@hack.frob.com>
15757
15758 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15759 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15760 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15761 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15762
893b4f37
SK
157632014-05-13 Sami Kerola <kerolasa@iki.fi>
15764
15765 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15766 current working directory
15767
e0db6517
RM
157682014-05-13 Roland McGrath <roland@hack.frob.com>
15769
58aa195d
RM
15770 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15771 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15772 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15773 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15774 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15775 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15776 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15777 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15778 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15779 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15780 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15781 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15782 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15783 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15784 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15785 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15786 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15787 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15788 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15789 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15790 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15791 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15792 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15793 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15794 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15795 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15796 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15797 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15798 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15799 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15800 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15801 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15802 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15803 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15804 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15805 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15806 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15807 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15808 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15809 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15810 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15811 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15812
8c6d01f0
RM
15813 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15814 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15815
15816 * sysdeps/unix/sysv/linux/arm/Makefile
15817 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15818 Add rt-aeabi_unwind_cpp_pr1.
15819 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15820 Add nptl-aeabi_unwind_cpp_pr1.
15821 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15822 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15823 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15824 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15825 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15826 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15827
15828 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15829 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15830 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15831 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15832
bba6da4e
RM
15833 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15834 Deconditionalize the code that was previously under [RESET_PID].
15835 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15836
e0db6517
RM
15837 * sysdeps/generic/exit-thread.h: New file.
15838 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15839 * include/unistd.h (__exit_thread): Remove declaration.
15840 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15841 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15842 * csu/libc-start.c: Include <exit-thread.h>.
15843 (LIBC_START_MAIN): Pass no argument to __exit_thread.
15844 * nptl/pthread_create.c: Include <exit-thread.h>.
15845 (start_thread): Call __exit_thread in place of __exit_thread_inline.
15846 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15847 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15848 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15849 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15850 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15851 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15852 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15853 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15854 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15855 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15856 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15857 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15858 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15859 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15860 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15861 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15862
01eb16fd
AS
158632014-05-13 Andreas Schwab <schwab@suse.de>
15864
15865 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15866
637461d9
JM
158672014-05-12 Joseph Myers <joseph@codesourcery.com>
15868
15869 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15870 (__ASSUME_UTIMES): Do not condition on kernel version.
15871 (__ASSUME_PSELECT): Define unconditionally.
15872 (__ASSUME_PPOLL): Likewise.
15873 (__ASSUME_ATFCTS): Likewise.
15874 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15875 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15876 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15877 (__ASSUME_UTIMENSAT): Define unconditionally.
15878 (__ASSUME_PRIVATE_FUTEX): Likewise.
15879 (__ASSUME_FALLOCATE): Likewise.
15880 (__ASSUME_O_CLOEXEC): Likewise.
15881 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15882 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15883 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15884 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15885 (__ASSUME_IN_NONBLOCK): Likewise.
15886 (__ASSUME_PIPE2): Likewise.
15887 (__ASSUME_EVENTFD2): Likewise.
15888 (__ASSUME_SIGNALFD4): Likewise.
15889 (__ASSUME_DUP3): Likewise.
15890 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15891 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15892 (__ASSUME_AT_RANDOM): Likewise.
15893 (__ASSUME_PREADV): Likewise.
15894 (__ASSUME_PWRITEV): Likewise.
15895 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15896 (__ASSUME_F_GETOWN_EX): Define unconditionally.
15897 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15898 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15899 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15900 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15901 (__ASSUME_O_CLOEXEC): Define unconditionally.
15902 (__ASSUME_PSELECT): Do not undefine conditionally.
15903 (__ASSUME_PPOLL): Likewise.
15904 (__ASSUME_ATFCTS): Likewise.
15905 (__ASSUME_SET_ROBUST_LIST): Likewise.
15906 (__ASSUME_UTIMENSAT): Likewise.
15907 (__ASSUME_FDATASYNC): Define unconditionally.
15908 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15909 (__ASSUME_SIGFRAME_V2): Likewise.
15910 )__ASSUME_EVENTFD2): Likewise.
15911 (__ASSUME_SIGNALFD4): Likewise.
15912 (__ASSUME_PSELECT): Do not undefine conditionally.
15913 (__ASSUME_PPOLL): Likewise.
15914 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15915 (__ASSUME_PSELECT): Define unconditionally.
15916 (__ASSUME_PPOLL): Likewise.
15917 (__ASSUME_O_CLOEXEC): Likewise.
15918 (__ASSUME_SOCK_CLOEXEC): Likewise.
15919 (__ASSUME_IN_NONBLOCK): Likewise.
15920 (__ASSUME_PIPE2): Likewise.
15921 (__ASSUME_EVENTFD2): Likewise.
15922 (__ASSUME_SIGNALFD4): Likewise.
15923 (__ASSUME_DUP3): Likewise.
15924 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15925 (__ASSUME_O_CLOEXEC): Likewise.
15926 (__ASSUME_SOCK_CLOEXEC): Likewise.
15927 (__ASSUME_IN_NONBLOCK): Likewise.
15928 (__ASSUME_PIPE2): Likewise.
15929 (__ASSUME_EVENTFD2): Likewise.
15930 (__ASSUME_SIGNALFD4): Likewise.
15931 (__ASSUME_DUP3): Likewise.
15932 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15933 (__ASSUME_EVENTFD2): Likewise.
15934 (__ASSUME_SIGNALFD4): Likewise.
15935 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15936
315eb1d8
AS
159372014-05-12 Andreas Schwab <schwab@suse.de>
15938
15939 [BZ #16932]
15940 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15941 (_nss_nis_gethostbyname4_r): Return error if item length is larger
15942 than maximum RPC packet size.
15943 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15944 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15945 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15946 (_nss_nis_getservbyport_r): Likewise.
15947
91df99f7
WN
159482014-05-12 Will Newton <will.newton@linaro.org>
15949
15950 * malloc/Makefile (tests): Add tst-mallopt.
15951 * malloc/tst-mallopt.c: New file.
15952
0a982a29
RM
159532014-05-09 Roland McGrath <roland@hack.frob.com>
15954
15955 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15956 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15957
0ded08a5
AZ
159582014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15959
15960 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15961 (tst-tlsmod6.so): Likewise.
15962
55d4d550
RM
159632014-05-09 Roland McGrath <roland@hack.frob.com>
15964
15965 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15966
77d08aca
JM
159672014-05-09 Joseph Myers <joseph@codesourcery.com>
15968
15969 [BZ #16064]
15970 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15971 and <dl-procinfo.h>.
15972 (__fegetenv): Save SSE state in envp->__eip if supported.
15973 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15974 envp->__eip if supported.
15975 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15976 and <dl-procinfo.h>.
15977 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15978 __data_offset and __data_selector in environment to 0. Set SSE
15979 state if supported.
15980 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15981 test-fenv-sse.
15982 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15983 -mfpmath=sse.
15984 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15985
28162f4d
WN
159862014-05-09 Will Newton <will.newton@linaro.org>
15987
15988 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15989 and libc_relro_required for ARM.
15990 * sysdeps/arm/preconfigure: Regenerate.
15991
5a414ff7
DV
159922014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
15993 Stefan Liebler <stli@linux.vnet.ibm.com>
15994
15995 * config.make.in (enable-lock-elision): New Makefile variable.
15996 * configure.ac: Likewise.
15997 * configure: Regenerate.
15998 * sysdeps/s390/configure.ac:
15999 Add check for gcc transactions support.
16000 * sysdeps/s390/configure: Regenerate.
16001 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16002 Build elision files if enabled.
16003 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16004 Add lock elision support for s390.
16005 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16006 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16007 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16008 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16009 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16010 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16011 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16012 Likewise.
16013 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16014 Likewise.
16015 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16016 Likewise.
16017 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16018 Likewise.
16019 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16020 (__lll_timedlock_elision, __lll_lock_elision)
16021 (__lll_unlock_elision, __lll_trylock_elision)
16022 (lll_timedlock_elision, lll_lock_elision)
16023 (lll_unlock_elision, lll_trylock_elision): Add.
16024 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16025 (pthread_mutex_t): Add lock elision support for s390.
16026
1a2f40e5
W
160272014-05-14 Wilco <wdijkstr@arm.com>
16028
16029 * sysdeps/arm/fclrexcpt.c: Cleanup.
16030 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16031 * sysdeps/arm/feenablxcpt.c: Cleanup.
16032 * sysdeps/arm/fegetenv.c: Cleanup.
16033 * sysdeps/arm/fegetexcept.c: Cleanup.
16034 * sysdeps/arm/fegetround.c: Cleanup.
16035 * sysdeps/arm/feholdexcpt.c: Cleanup.
16036 * sysdeps/arm/fesetenv.c: Cleanup.
16037 * sysdeps/arm/fesetround.c: Cleanup.
16038 * sysdeps/arm/feupdateenv.c: Cleanup.
16039 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16040 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16041 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16042 * sysdeps/arm/ftestexcept.c: Cleanup.
16043 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16044 * sysdeps/arm/setfpucw.c: Cleanup.
16045
f63c86fe
WN
160462014-05-09 Will Newton <will.newton@linaro.org>
16047
16048 * sysdeps/arm/armv7/strcmp.S: New file.
16049 * NEWS: Mention addition of ARMv7 optimized strcmp.
16050
7a1a51b5
RM
160512014-05-08 Roland McGrath <roland@hack.frob.com>
16052
95afbbe5
RM
16053 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16054 look for %.ac rather than %.in.
16055
16056 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16057 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16058 * sysdeps/mach/hurd/configure: Regenerated.
16059 * sysdeps/unix/sysv/linux/configure: Regenerated.
16060
7a1a51b5
RM
16061 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16062
5057ad3b
SE
160632014-05-07 Steve Ellcey <sellcey@mips.com>
16064
16065 [BZ# 16922]
16066 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16067 (LONG_SUB): Ditto.
16068 (PTR_SUB): Ditto.
16069
8dc97517
AS
160702014-05-07 Andreas Schwab <schwab@suse.de>
16071
16072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16073 when skipping over non-matching result from nscd.
16074
ce0c5b8f
OB
160752014-05-07 Ondřej Bílka <neleai@seznam.cz>
16076
16077 [BZ #16876]
16078 * nptl/sockperf.c (client): Check socket return value.
8dc97517 16079
a1189263
OB
16080 [BZ #16877]
16081 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16082 nscd security class.
ce0c5b8f 16083
0f58d252
RM
160842014-05-06 Roland McGrath <roland@hack.frob.com>
16085
16086 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16087 * sysdeps/arm/unwind.h: ... here.
16088
83df9ad0
AJ
160892014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16090
ce0c5b8f
OB
16091 [BZ# 16916]
16092 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16093 Define.
83df9ad0 16094
f360f94a
VR
160952014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16096
16097 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16098 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16099 multiarch strncpy for PPC64.
16100 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16101 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16103 multiarch optimizations.
16104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16105 (__libc_ifunc_impl_list): Likewise.
16106 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16107 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16108 multiarch stpncpy for PPC64.
16109 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16110 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16111
978a41c3
AS
161122014-05-06 Andreas Schwab <schwab@suse.de>
16113
16114 [BZ #16912]
16115 * gmon/mcount.c (_MCOUNT_DECL): Use
16116 atomic_compare_and_exchange_bool_acq instead of
16117 catomic_compare_and_exchange_bool_acq.
16118
eb1ed03d
RM
161192014-05-05 Roland McGrath <roland@hack.frob.com>
16120
fe658845
RM
16121 * elf/Makefile (others, install-bin): Remove pldd.
16122 (pldd-modules): Variable removed.
16123 ($(objpfx)pldd): Target removed.
16124 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16125 (others, install-bin): Append pldd here.
16126 ($(objpfx)pldd): New target.
16127
eb1ed03d
RM
16128 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16129 to 0, so the first #if test emitted later doesn't see it undefined.
16130 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16131 * sysdeps/gnu/errlist.c: Regenerated.
16132
19c4bec0
AZ
161332014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16134
16135 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16136 [libc_hidden_builtin_def]: Define to empty value.
16137 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16138 [libc_hidden_builtin_def]: Likewise.
16139 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16140 [libc_hidden_builtin_def]: Likewise.
16141 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16142 [libc_hidden_builtin_def]: Likewise.
16143 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16144 __redirect_memcpy and define ifunc as default hidden symbol.
16145 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16146 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16147
7776e669
AC
161482014-05-04 Adam Conrad <adconrad@0c3.net>
16149
16150 * locale/iso-4217.def: Reintroduce XDR currency.
16151
d69aeb12
AM
161522014-05-04 Allan McRae <allan@archlinux.org>
16153
16154 * po/eo.po: Update Esperanto translation from translation project.
16155
8f1df5cf
CD
161562014-05-02 Carlos O'Donell <carlos@redhat.com>
16157
16158 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16159 and FEATURE_INDEX_MAX to 1.
16160 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16161
13e402e7
SE
161622014-05-01 Steve Ellcey <sellcey@mips.com>
16163
16164 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16165 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16166 * iconvdata/big5.c (ONE_DIRECTION): Define.
16167 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16168 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16169 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16170 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16171 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16172 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16173 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16174 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16175 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16176 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16177 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16178 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16179 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16180 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16181 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16182 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16183 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16184 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16185 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16186 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16187 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16188 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16189 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16190 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16191 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16192 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16193 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16194 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16195 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16196 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16197 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16198 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16199 * iconvdata/johab.c (ONE_DIRECTION): Define.
16200 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16201 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16202 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16203 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16204 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16205 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16206 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16207 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16208 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16209 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16210
c727f032
RM
162112014-05-01 Roland McGrath <roland@hack.frob.com>
16212
8f2f08d0
RM
16213 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16214 (_IO_JUMPS_OFFSET): Define to 0.
16215
c727f032
RM
16216 * nptl/sysdeps/pthread/bits/libc-lock.h
16217 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16218 (__libc_lock_define_initialized_recursive): Always define using
16219 initializer. Modern compilers treat uninitialized (implicit zero) and
16220 explicit zero initializers the same (i.e. put the datum in bss).
16221
a849e800
AS
162222014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16223
16224 * nscd/nscd-client.h: Include <string.h>.
16225
5331255b
DM
162262014-05-01 David S. Miller <davem@davemloft.net>
16227
16228 [BZ #16885]
16229 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16230 multiple zero bytes exist at the end of a string.
16231 Reported by Aurelien Jarno <aurelien@aurel32.net>
16232
16233 * string/test-strcmp.c (check): Add explicit test for situations where
16234 there are multiple zero bytes after the first.
16235
4fdfe821
AS
162362014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16237
16238 [BZ #16890]
16239 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16240 when compiling wprintf.
16241 * stdio-common/tstdiomisc.c (t3): New function.
16242 (main): Call it.
16243
0cdddc25
SE
162442014-05-01 Steve Ellcey <sellcey@mips.com>
16245
16246 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16247 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16248 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16249 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16250
6426d77e
SE
162512014-05-01 Steve Ellcey <sellcey@mips.com>
16252
16253 * stdlib/longlong.h: Updated from GCC.
16254
6d96f5e4
WN
162552014-05-01 Will Newton <will.newton@linaro.org>
16256 Bernard Ogden <bernie.ogden@linaro.org>
16257
7470db0c
WN
16258 * NEWS: Update fixed bug list.
16259
6d96f5e4
WN
16260 [BZ #15119]
16261 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16262
211d653c
DM
162632014-04-30 David S. Miller <davem@davemloft.net>
16264
4fa262fa
DM
16265 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16266 (libc_feholdexcept_setround_sparc_ctx): New function.
16267 (libc_fesetenv_sparc_ctx): Likewise.
16268 (libc_feupdateenv_sparc_ctx): Likewise.
16269 (libc_feholdsetround_sparc_ctx): Likewise.
16270 (libc_feholdexcept_setround_ctx): Define.
16271 (libc_feholdexcept_setroundf_ctx): Likewise.
16272 (libc_feholdexcept_setroundl_ctx): Likewise.
16273 (libc_fesetenv_ctx): Likewise.
16274 (libc_fesetenvf_ctx): Likewise.
16275 (libc_fesetenvl_ctx): Likewise.
16276 (libc_feupdateenv_ctx): Likewise.
16277 (libc_feupdateenvf_ctx): Likewise.
16278 (libc_feupdateenvl_ctx): Likewise.
16279 (libc_feresetround_ctx): Likewise.
16280 (libc_feresetroundf_ctx): Likewise.
16281 (libc_feresetroundl_ctx): Likewise.
16282 (libc_feholdsetround_ctx): Likewise.
16283 (libc_feholdsetroundf_ctx): Likewise.
16284 (libc_feholdsetroundl_ctx): Likewise.
16285
1d3d93ef
DM
16286 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16287 with __USE_GNU instead of XOPEN cpp guards.
16288
8aa583c3
DM
16289 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16290 0.
16291
211d653c
DM
16292 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16293 with XOPEN cpp guards.
16294
60c8f1f6
JB
162952014-04-30 Julian Brown <julian@codesourcery.com>
16296
16297 [BZ #16888]
16298 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16299 handling.
16300
9a461d46
JM
163012014-04-30 Joseph Myers <joseph@codesourcery.com>
16302
d0f5b3f8
JM
16303 [BZ #9894]
16304 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16305 Change to 2.6.32.
16306 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16307 * sysdeps/unix/sysv/linux/configure: Regenerated.
16308 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16309 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16310 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16311 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16312 * README: Update reference to required Linux kernel version.
16313 * manual/install.texi (Linux): Update reference to required Linux
16314 kernel headers version.
16315 * INSTALL: Regenerated.
16316
9a461d46
JM
16317 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16318 header inclusion.
16319 [POSIX] (limits.h): Likewise.
16320 [POSIX] (math.h): Likewise.
16321 [POSIX] (sys/wait.h): Likewise.
16322 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16323 function.
16324 [POSIX] (stddef.h): Do not allow header inclusion.
16325
1775babf
AZ
163262014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16327
57f41c40 16328 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 16329
8f630cca
YY
163302014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16331
16332 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16333 Return immediately after lll_futex_wake.
16334
1cdeb237
SP
163352014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16336
bc8f194c
SP
16337 [BZ #16791]
16338 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16339 structure.
16340 (datahead_init_pos): Call datahead_init_common early.
16341 (datahead_init_neg): Likewise.
16342
1cdeb237
SP
16343 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16344 datahead_init_neg): New functions.
16345 * nscd/aicache.c (addhstaiX): Use them.
16346 * nscd/grpcache.c (cache_addgr): Likewise.
16347 * nscd/hstcache.c (cache_addhst): Likewise.
16348 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16349 * nscd/netgroupcache.c (do_notfound): Likewise.
16350 (addgetnetgrentX): Likewise.
16351 (addinnetgrX): Likewise.
16352 * nscd/pwdcache.c (cache_addpw): Likewise.
16353 * nscd/servicescache.c (cache_addserv): Likewise.
16354
16b293a7
SP
163552014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16356 Atsushi Onoe <atsushi@onoe.org>
16357
16358 [BZ #14308]
16359 [BZ #12994]
16360 [BZ #13651]
16361 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16362 one response is valid.
16363 * resolv/res_send.c (send_dg): Check for validity of other
16364 response if the current response is a referral.
16365
a28a9b94
SE
163662014-04-29 Steve Ellcey <sellcey@mips.com>
16367
16368 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16369
2ca180e9
SL
163702014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16371
16372 [BZ #16823]
16373 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16374 Always divide by positive zero when computing -Inf result.
16375 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16376 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16377
18f2945a
AZ
163782014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16379
16380 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16381 FPSCR if value do not change.
16382 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16383 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16384 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16385 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16386 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16387 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16388 function.
16389
5abebba4
CD
163902014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16391
16392 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16393 * sysdeps/unix/sysv/linux/hppa: Move directory from
16394 ports/systeps/unix/sysv/linux/hppa.
16395 * README: Update listing for hppa-*-linux-gnu.
16396
f7ed60c2
OB
163972014-04-28 Ondřej Bílka <neleai@seznam.cz>
16398
fff763a5
OB
16399 [BZ #16754]
16400 * manual/stdio.texi (Hook functions): Fix types of stream hook
16401 functions.
f7ed60c2
OB
16402 [BZ #16854]
16403 * socket/sys/socket.h: Fix typo in comment.
16404
df639d73
WD
164052014-04-28 Wilco <wdijkstr@arm.com>
16406
f7ed60c2 16407 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
16408 * sysdeps/arm/math_private.h: New file.
16409 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16410
48332d82
L
164112014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16412
16413 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16414 with __int128_t.
16415 (La_x86_64_retval): Likewise.
16416
e5e0d9a4
IB
164172014-04-24 Ian Bolton <ian.bolton@arm.com>
16418
16419 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16420 fpsr if value didn't change.
16421 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16422 to fpcr if value didn't change.
16423 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16424 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16425 fpsr or fpcr if value didn't change.
16426 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16427 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16428 fpcr if value didn't change.
16429 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16430 to fpsr if value didn't change.
16431
bacc75f7
SP
164322014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16433
16434 * nptl/tst-sem3.c: Use test-skeleton.c
16435 (main): Rename to do_test. Use return instead of
16436 exit.
16437 * nptl/tst-sem4.c: Use test-skeleton.c
16438 (main): Rename to do_test.
16439
a059d359
DM
164402014-04-22 David S. Miller <davem@davemloft.net>
16441
16442 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16443 (struct sigaction): New struct member __glibc_reserved0, change
16444 type of sa_flags to int.
16445
ea6c92f3
YZ
164462014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16447
16448 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16449 (COUNT_LEADING_ZEROS_0): Define for AArch64.
16450
766c4a36
SP
164512014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16452
16453 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16454 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16455
140cc7ab
VK
164562014-04-22 Will Newton <will.newton@linaro.org>
16457 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16458
16459 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16460 (__longjmp): Add longjmp and longjmp_target SystemTap
16461 probes.
16462 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16463 (__sigsetjmp): Add setjmp SystemTap probe.
16464
c54e5cf7
CD
164652014-04-17 Carlos O'Donell <carlos@redhat.com>
16466
16467 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16468 match manual order.
16469
75ffb047
AZ
164702014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16471
16472 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16473
2cd925f7
AZ
16474 * sysdeps/powerpc/fpu/fenv_private.h
16475 (libc_feholdexcept_setroundl_ctx): Define to
16476 libc_feholdexcept_setround_ppc_ctx.
16477 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16478 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16479 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16480 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16481
39e6cd8d
IB
164822014-04-17 Ian Bolton <ian.bolton@arm.com>
16483
16484 * sysdeps/aarch64/math-tests.h: New file.
16485
f9281df9
SY
164862014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16487
16488 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16489 New.
16490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16491 Check and set bit_AVX2_Usable.
16492 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16493 macro.
16494 (bit_AVX2): Likewise.
16495 (index_AVX2_Usable): Likewise.
16496 (CPUID_AVX2): Likewise.
16497 (HAS_AVX2): Likewise.
16498
37d35007
WN
164992014-04-17 Will Newton <will.newton@linaro.org>
16500
7c677662
WN
16501 * manual/setjmp.texi (System V contexts): Add note that
16502 calling setcontext on a context created by a call to a
16503 signal handler is undefined. Update text to note that
16504 setcontext from a signal handler is possible but not
16505 recommended.
16506
37d35007 16507 [BZ #16629]
e04a4e9d
WN
16508 * stdlib/tst-setcontext.c: Include signal.h.
16509 (main): Check that the signal stack before and
16510 after swapcontext is the same.
16511
37d35007
WN
16512 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16513 Re-implement to restore registers in user code and avoid
16514 rt_sigreturn system call.
16515
423a7160
W
165162014-04-17 Wilco <wdijkstr@arm.com>
16517
16518 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16519 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16520 * math/test-fenv.c: Skip exception trap tests on targets which only
16521 support non-stop mode.
16522
bc93ab29
IB
165232014-04-17 Ian Bolton <ian.bolton@arm.com>
16524 Wilco Dijkstra <wilco.dijkstra@arm.com>
16525
16526 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16527 (libc_feholdsetround_aarch64_ctx)
16528 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16529 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16530 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16531 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16532 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16533 (libc_feresetround_noexl_ctx): Define.
16534
95fc5fa3
RH
165352014-04-16 Richard Henderson <rth@redhat.com>
16536
ddb04724
RH
16537 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16538
d77c0899
RH
16539 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16540 unwind tables.
16541
a3df56fc
RH
16542 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16543 const from the non-libc, non-ldso copy.
16544
95fc5fa3
RH
16545 * sysdeps/alpha/libm-test-ulps: Regenerate.
16546
7e0b6763
IB
165472014-04-16 Ian Bolton <ian.bolton@arm.com>
16548 Wilco Dijkstra <wilco.dijkstra@arm.com>
16549
16550 * sysdeps/aarch64/fpu/math_private.h: New file.
16551
a9ea2e0c
MS
165522014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16553
16554 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16555
ea8ba7cd
IZ
165562014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16557
7e54fd04 16558 [BZ #16275]
ea8ba7cd
IZ
16559 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16560 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16562 Intel MPX bound registers before _dl_profile_fixup.
16563 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16564 registers after _dl_profile_fixup. Save and restore bound
16565 registers bnd0/bnd1 when calling _dl_call_pltexit.
16566 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16567 (LR_BND_OFFSET): Likewise.
16568 (LRV_BND0_OFFSET): Likewise.
16569 (LRV_BND1_OFFSET): Likewise.
16570
9f2a4fbc
ST
165712014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16572
16573 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16574 to...
16575 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
16576 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16577 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16578 fields.
9f2a4fbc 16579
fd15a59b
ST
165802014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16581
16582 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16583
f19dfa0a
SL
165842014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16585
16586 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16587
4fa8bc3b
SL
165882014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16589
16590 [BZ #14770]
16591 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16592 * sysdeps/s390/configure: Regenerate.
16593
8ea587db
SL
16594 [BZ #16824]
16595 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16596 Set round-to-nearest internally to reduce error accumulation.
16597
aa5f0ff1
AM
165982014-04-16 Alan Modra <amodra@gmail.com>
16599
16600 [BZ #16740]
16601 [BZ #16619]
16602 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16603 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 16604 * NEWS: Update fixed bug list.
aa5f0ff1 16605
bb9c256f
SP
166062014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16607
16608 * benchtests/Makefile: Depend on libraries in build directory.
16609 (bench-math): Separate out math tests.
16610 (bench-pthread): Separate out pthread tests.
16611 (bench): Include math and pthread tests.
16612
f737dfd0
CD
166132014-04-14 Carlos O'Donell <carlos@redhat.com>
16614
16615 [BZ #16831]
16616 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16617 _dl_debug_initialize.
16618
0699f766
CD
16619 * configure.ac: Remove SELinux header check.
16620 * configure: Regenerate.
16621 * nscd/selinux.c (perms): Array of const char* to permission names.
16622 (nscd_request_avc_has_perm): Call security_deny_unknown to find
16623 default policy. Call string_to_security_class and string_to_av_perm to
16624 translate strings. Enforce default policy and call avs_has_perm with
16625 results of translated strings.
16626
809bd45f
DM
166272014-04-13 David S. Miller <davem@davemloft.net>
16628
16629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16630
89e691f2
AM
166312014-04-12 Allan McRae <allan@archlinux.org>
16632
16633 [BZ #16838]
16634 * manual/string.texi (Collation Functions): Fix qsort argument
16635 order in example.
16636 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16637
9c9daaeb
CM
166382014-04-11 Chris Metcalf <cmetcalf@tilera.com>
16639
16640 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16641 Make the test a no-op if there are no exceptions defined.
16642
95561fb9
PP
166432014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16644
fe8d072c 16645 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
16646 enable-hardcoded-path-in-tests
16647
970c602a
WN
166482014-04-11 Will Newton <will.newton@linaro.org>
16649
16650 * benchtests/Makefile (extra-objs): Add json-lib.o.
16651 (bench-func): Tidy up JSON output.
16652 * benchtests/bench-skeleton.c: Include json-lib.h.
16653 (main): Use JSON library functions to do output of
16654 benchmark results.
16655 * benchtests/bench-timing-type.c (main): Output the
16656 timing type simply, leaving formatting to the user.
16657 * benchtests/json-lib.c: New file.
16658 * benchtests/json-lib.h: Likewise.
16659
36875b06
TR
166602014-04-11 Torvald Riegel <triegel@redhat.com>
16661
16662 [BZ #15215]
16663 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16664 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
16665 memory barriers. Add comments.
16666 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16667 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16668 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16669 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16670 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16671 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16672
579db35a
SL
166732014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16674
16675 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16676 * sysdeps/s390/s390-64/configure.ac: ... this ...
16677 * sysdeps/s390/configure.ac: ... to here.
16678 * sysdeps/s390/s390-32/configure: Delete file.
16679 * sysdeps/s390/s390-64/configure: Delete file.
16680 * sysdeps/s390/configure: Regenerate.
16681
c12e9f37
JAPH
166822014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
16683
16684 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16685
439bda32
WN
166862014-04-11 Will Newton <will.newton@linaro.org>
16687
16688 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16689 to zero if it is not defined elsewhere. (mtrim): Test
16690 the value of MALLOC_DEBUG with #if rather than #ifdef.
16691
6a5d6ea1
TR
166922014-04-10 Torvald Riegel <triegel@redhat.com>
16693
16694 * benchtests/pthread_once-inputs: New file.
16695 * benchtests/pthread_once-source.c: New file.
16696 * benchtests/README: Update documentation.
16697
a4c75cfd
IZ
166982014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
16699 H.J. Lu <hongjiu.lu@intel.com>
16700
7e54fd04 16701 [BZ #16275]
a4c75cfd
IZ
16702 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16703 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16704 * sysdeps/x86_64/configure: Regenerated.
16705 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16706 macro.
16707 (REGISTER_SAVE_RAX): Likewise.
16708 (REGISTER_SAVE_RCX): Likewise.
16709 (REGISTER_SAVE_RDX): Likewise.
16710 (REGISTER_SAVE_RSI): Likewise.
16711 (REGISTER_SAVE_RDI): Likewise.
16712 (REGISTER_SAVE_R8): Likewise.
16713 (REGISTER_SAVE_R9): Likewise.
16714 (REGISTER_SAVE_BND0): Likewise.
16715 (REGISTER_SAVE_BND1): Likewise.
16716 (REGISTER_SAVE_BND2): Likewise.
16717 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
16718 bound registers when calling _dl_fixup.
16719
27822ce6
AZ
167202014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16721
16722 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
16723 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16724 of its definition.
27822ce6
AZ
16725 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16726 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16727 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16728 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16729 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16730 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16731 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16732
a88ddc90
PTB
167332014-04-09 Peter Brett <peter@peter-b.co.uk>
16734
16735 [BZ #15514]
16736 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16737 pathconf(_PC_NAME_MAX).
16738
01f8eac2
AZ
167392014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16740
16741 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16742 Remove macro usage.
16743 (__PTHREAD_SPINS): Move definition to ...
16744 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16745 (__PTHREAD_SPINS): ... here.
16746 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16747 (__PTHREAD_SPIN): Likewise.
16748 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16749 (__PTHREAD_SPIN): Likewise.
16750 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16751 (__PTHREAD_SPIN): Likewise.
16752 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16753 (__PTHREAD_SPIN): Likewise.
16754 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16755 (__PTHREAD_SPIN): Likewise.
16756 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16757 (__PTHREAD_SPIN): Likewise.
16758 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16759 (__PTHREAD_SPIN): Likewise.
16760 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16761 (__PTHREAD_SPIN): Likewise.
16762 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16763 (__PTHREAD_SPIN): Likewise.
16764 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16765 (__PTHREAD_SPIN): Likewise.
16766 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16767 (__PTHREAD_SPIN): Likewise.
16768 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16769 (__PTHREAD_SPIN): Likewise.
16770
de21c33c
AZ
16771 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16772 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16773 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16774 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16775 imply folder.
16776 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16777 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16778 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16779 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16780 correct imply path.
16781 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16782 strlen symbol for non multi-arch builds.
16783 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16784 missing hidden_def and weak_alias.
16785
862c472e
CD
167862014-04-08 Carlos O'Donell <carlos@redhat.com>
16787
16788 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16789
8667f90e
WN
167902014-04-07 Will Newton <will.newton@linaro.org>
16791
16792 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16793 and contents. [!_LIBC] Remove #ifndef and contents.
16794 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
16795 * string/memccpy.c (__memccpy): Use ANSI prototype.
16796 * string/memfrob.c (memfrob): Likewise.
16797 * string/strcoll.c (STRCOLL): Likewise.
16798 * string/strlen.c (strlen): Likewise.
16799 * string/strtok.c (STRTOK): Likewise.
16800 * string/strcat.c: Remove unused #include of memcopy.h.
16801 (strcat): Use ANSI prototype.
16802 * string/strchr.c: Remove unused #include of memcopy.h.
16803 (strchr): Use ANSI prototype.
16804 * string/strcmp.c: Remove unused #include of memcopy.h.
16805 (strcmp): Use ANSI prototype.
16806 * string/strcpy.c: Remove unused #include of memcopy.h.
16807 (strcpy): Use ANSI prototype.
16808
7ffa9423
AZ
168092014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16810
16811 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16812 * config.make.in (config-extra-cppflags): Set it from
16813 libc_extra_cppflags.
16814 * configure.ac (libc_extra_cflags): Make it accumulate over
16815 configure fragments.
16816 (libc_extra_cppflags): New flag.
16817 * configure. Regenerate.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
16819 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16820 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
16821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16822
8bd70862
AZ
16823 [BZ #16815]
16824 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16825 result for FE_DOWNWARD rounding mode.
16826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16827 Likewise.
16828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16829
d42f3448
CM
168302014-04-04 Chris Metcalf <cmetcalf@tilera.com>
16831
16832 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16833 in function argument name.
16834
1c21d115
DS
168352014-04-03 David Svoboda <svoboda@cert.org>
16836
16837 [BZ #5666]
16838 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16839 explicitly.
16840
fcccd512
RM
168412014-04-03 Roland McGrath <roland@hack.frob.com>
16842
16843 * elf/dl-unmap-segments.h: New file.
16844 * sysdeps/generic/ldsodefs.h
16845 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16846 * elf/dl-close.c: Include <dl-unmap-segments.h>.
16847 * elf/dl-fptr.c: Likewise.
16848 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16849 * sysdeps/aarch64/tlsdesc.c: Likewise.
16850 * sysdeps/arm/tlsdesc.c: Likewise.
16851 * sysdeps/i386/tlsdesc.c: Likewise.
16852 * sysdeps/tile/dl-runtime.c: Likewise.
16853 * sysdeps/x86_64/tlsdesc.c: Likewise.
16854 * elf/dl-load.h: New file.
16855 * elf/dl-load.c: Include it.
16856 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16857 Macros moved to dl-load.h.
16858 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16859 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16860 Use _dl_unmap_segments in place of __munmap.
16861 Break out segment-mapping loop into ...
16862 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16863
f6488e2b
WN
168642014-04-03 Will Newton <will.newton@linaro.org>
16865
16866 * elf/dl-lookup.c (do_lookup_x): Remove comment
16867 referring to nested function and move variable
16868 declarations down to before first use.
16869
6f05bafe
JM
168702014-04-02 Joseph Myers <joseph@codesourcery.com>
16871
a84e78c8
JM
16872 [BZ #16799]
16873 [BZ #16800]
16874 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16875 with 0 numerator.
16876 * math/s_catanf.c (__catanf): Likewise.
16877 * math/s_catanh.c (__catanh): Likewise.
16878 * math/s_catanhf.c (__catanhf): Likewise.
16879 * math/s_catanhl.c (__catanhl): Likewise.
16880 * math/s_catanl.c (__catanl): Likewise.
16881 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16882 by positive zero when computing -Inf result.
16883 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16884 (catanh_test): Likewise.
16885 * sysdeps/i386/fpu/libm-test-ulps: Update.
16886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16887
6f05bafe
JM
16888 [BZ #16789]
16889 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16890 instead of using underflowing value in computing result.
16891 * math/s_clog10.c (__clog10): Likewise.
16892 * math/s_clog10f.c (__clog10f): Likewise.
16893 * math/s_clog10l.c (__clog10l): Likewise.
16894 * math/s_clogf.c (__clogf): Likewise.
16895 * math/s_clogl.c (__clogl): Likewise.
16896 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16897 (clog10_test): Likewise.
16898 * sysdeps/i386/fpu/libm-test-ulps: Update.
16899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16900
b0abbc21
AM
169012014-04-02 Alan Modra <amodra@gmail.com>
16902
16903 [BZ #16739]
16904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16905 output when value is near a power of two. Use int64_t for lx and
16906 remove casts. Use decimal rather than hex exponent constants.
16907 Don't use long double multiplication when double will suffice.
16908 * math/libm-test.inc (nextafter_test_data): Add tests.
16909 * NEWS: Add 16739 and 16786 to bug list.
16910
af6b1797
AM
16911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16912
483818d7
AM
16913 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16914
f6c55796
WN
169152014-04-01 Will Newton <will.newton@linaro.org>
16916
16917 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16918 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
16919
13f7fe35
FW
169202014-04-01 Florian Weimer <fweimer@redhat.com>
16921
16922 [BZ #13347]
16923 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16924 * nptl/tst-setuid2.c: New file.
16925 * nptl/Makefile (xtests): Add tst-setuid2.
16926
c859b32e
AM
169272014-04-01 Alan Modra <amodra@gmail.com>
16928
16929 [BZ #16786]
16930 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16931
54fa2475
JM
169322014-03-31 Joseph Myers <joseph@codesourcery.com>
16933
8795b4a4
JM
16934 [BZ #6803]
16935 [BZ #6804]
16936 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16937 set errno as appropriate.
16938 * math/w_scalbf.c (__scalbf): Likewise.
16939 * math/w_scalbl.c (__scalbl): Likewise.
16940 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16941 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16942 * math/libm-test.inc (scalb_test_data): Add errno expectations.
16943 Add more NaN tests.
16944
54fa2475
JM
16945 [BZ #16349]
16946 * math/w_atan2.c: Include <errno.h>.
16947 (__atan2): Set errno for result underflowing to zero.
16948 * math/w_atan2f.c: Include <errno.h>.
16949 (__atan2f): Set errno for result underflowing to zero.
16950 * math/w_atan2l.c: Include <errno.h>.
16951 (__atan2l): Set errno for result underflowing to zero.
16952 * math/auto-libm-test-in: Don't allow missing errno for some atan2
16953 tests.
16954 * math/auto-libm-test-out: Regenerated.
16955
757d9dd5
AZ
169562014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16957
16958 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16959 Encode instruction correctly in little endian.
16960 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16961 Likewise.
16962 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16963 Likewise.
16964 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16965 Likewise.
16966 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16967 Likewise.
16968
d7a68734
JM
169692014-03-31 Joseph Myers <joseph@codesourcery.com>
16970
47c5adeb
JM
16971 [BZ #9894]
16972 * sysdeps/unix/sysv/linux/kernel-features.h
16973 [__sparc__ && !__arch64__ && !__sparc_v9__]
16974 (__ASSUME_SET_ROBUST_LIST): Do not define.
16975 [__sparc__ && !__arch64__ && !__sparc_v9__]
16976 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16977 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16978 Likewise.
16979 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16980 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16981 (__ASSUME_REQUEUE_PI): Likewise.
16982 (__ASSUME_SET_ROBUST_LIST): Likewise.
16983 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16984 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16985 Undefine.
16986 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16987 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16988 Likewise.
16989 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16990 Likewise.
16991 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16992 Likewise.
16993 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16994 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16995 Undefine.
16996 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16997 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16998 Likewise.
16999
d7a68734
JM
17000 [BZ #16648]
17001 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17002 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17003 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17004
c760f5c2
WN
170052014-03-31 Will Newton <will.newton@linaro.org>
17006
17007 * benchtests/Makefile (bench): Add ffs and ffsll to list
17008 of tests.
17009 * benchtests/ffs-inputs: New file.
17010 * benchtests/ffsll-inputs: Likewise.
17011
ea6029b1
JM
170122014-03-29 Joseph Myers <joseph@codesourcery.com>
17013
17014 [BZ #16770]
17015 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17016 too large before casting to int.
17017 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17018 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17019 * math/libm-test.inc (scalb_test_data): Add more tests.
17020
cf806aff
SP
170212014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17022
56737508
SP
17023 * benchtests/Makefile (DETAILED_OPT): New make option.
17024 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17025 set.
17026 * benchtests/bench-skeleton.c: Include stdbool.h.
17027 (main): Store and print timings per input.
17028 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17029 member to each argument value.
17030 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17031 (_print_arg_data): Initialize per-input timing to 0.
17032
cb5e4aad
SP
17033 * benchtests/Makefile (timing-type): New binary.
17034 (bench-clean): Also remove bench-timing-type.
17035 (bench): New target for timing-type.
17036 (bench-func): Print output in JSON format.
17037 * benchtests/bench-skeleton.c (main): Print output in JSON
17038 format.
17039 * benchtests/bench-timing-type.c: New file.
17040 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17041 (TIMING_PRINT_STATS): Remove.
17042 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17043 name separately.
17044
cf806aff
SP
17045 * benchtests/bench-modf.c: Remove.
17046 * benchtests/modf-inputs: New inputs file.
17047
289e0779
JM
170482014-03-28 Joseph Myers <joseph@codesourcery.com>
17049
17050 [BZ #16362]
17051 * math/s_clog10.c (M_PI_LOG10E): New macro.
17052 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17053 imaginary parts are 0.
17054 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17055 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17056 imaginary parts are 0.
17057 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17058 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17059 imaginary parts are 0.
17060 * math/libm-test.inc (clog10_test_data): Update expected results
17061 for when real and imaginary parts are 0.
17062
277ae3f1
PP
170632014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17064
17065 * elf/dl-load.c: Finish conversion of __builtin_expect into
17066 __glibc_{un}likely.
17067
03a7091f
JM
170682014-03-27 Joseph Myers <joseph@codesourcery.com>
17069
17070 [BZ #16348]
17071 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17072 1+x for argument with exponent below -67.
17073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17074 Likewise.
17075 * math/auto-libm-test-in: Add more tests of exp.
17076 * math/auto-libm-test-out: Regenerated.
17077
ea7d8b95
SP
170782014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17079
dd3022d7
SP
17080 [BZ #16759]
17081 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17082 (nscd_getnetgrent): Use it.
17083
ea7d8b95
SP
17084 [BZ #16760]
17085 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17086 of stpcpy.
17087
df5b85da
AK
170882014-03-27 Andi Kleen <ak@linux.intel.com>
17089
57f41c40
AS
17090 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17091 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17092 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17093 (lll_robust_unlock): Remove out of line section. Use cfi
17094 intrinsics.
df5b85da 17095 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
17096 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17097 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17098 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17099 (lll_robust_unlock): Remove out of line section. Use cfi
17100 intrinsics.
df5b85da
AK
17101 (LLL_STUB_UNWIND_INFO*): Remove.
17102
fbd6b5a4
SP
171032014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17104
17105 [BZ #16758]
17106 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17107 blank values.
17108
1b26b855
PP
171092014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17110
17111 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17112
9be36fb8
JM
171132014-03-26 Joseph Myers <joseph@codesourcery.com>
17114
17115 [BZ #16198]
17116 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17117 fnstenv.
17118 * math/test-fenv-preserve.c: New file.
17119 * math/Makefile (tests): Add test-fenv-preserve.
17120
60a2f3c1
WN
171212014-03-26 Will Newton <will.newton@linaro.org>
17122
17123 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17124
a5e5f1e2
RM
171252014-03-25 Roland McGrath <roland@hack.frob.com>
17126
17127 * scripts/versionlist.awk: Partition the version sets and emit all
17128 GLIBC_* (sorted) before all others (sorted).
17129
00f4012a
JM
171302014-03-25 Joseph Myers <joseph@codesourcery.com>
17131
17132 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17133 GLIBC_2.2.5 version.
17134
7bc5a741
AZ
171352014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17136
17137 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17138 calls.
17139
7578473b
AZ
17140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17141 previous change.
17142
f3f1dab3
AZ
17143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17144
6da36183
AS
171452014-03-25 Andreas Schwab <schwab@suse.de>
17146
17147 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17148 label to be used after in6ailist is initialized.
17149
f3f1dab3 171502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 17151
7578473b 17152 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
17153 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17154
046651c1
JM
171552014-03-25 Joseph Myers <joseph@codesourcery.com>
17156
17157 [BZ #16357]
17158 [BZ #16599]
17159 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17160 min_plus_half.
17161 (fp_formats): Update initializers.
17162 (init_fp_formats): Initialize new field.
17163 (output_for_one_input_case): Allow underflow for results up to
17164 min_plus_half.
17165 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17166 * math/auto-libm-test-in: Don't mark some underflows from asin and
17167 atanh as spurious.
17168 * math/auto-libm-test-out: Regenerated.
17169 * sysdeps/i386/fpu/libm-test-ulps: Update.
17170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17171
003e49ed
AS
171722014-03-25 Andreas Schwab <schwab@suse.de>
17173
17174 * libio/Makefile (tst-ftell-partial-wide-ENV)
17175 (tst-ftell-active-handler-ENV): Define.
17176
de031874
SL
171772014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17178
17179 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17180
55a81e3b
PP
171812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17182
17183 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17184
f3426898
JM
171852014-03-24 Joseph Myers <joseph@codesourcery.com>
17186
17187 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17188 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17189 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17190
a42faf59
PP
171912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17192
17193 [BZ #16634]
a42faf59 17194 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
17195 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17196 (open_path): Change from boolean 'secure' to complete flag 'mode'
17197 (_dl_map_object): Adjust.
a42faf59
PP
17198 * elf/Makefile (tests): Add tst-dlopen-aout.
17199 * elf/tst-dlopen-aout.c: New test.
17200
50936127
SL
172012014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17202
17203 [BZ #16714]
17204 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17205 (struct stat): Rename member pad0 to __glibc_reserved0.
17206
26011b5c
SL
17207 [BZ #16712]
17208 * sysdeps/s390/s390-32/bits/wordsize.h
17209 (__WORDSIZE32_SIZE_ULONG): New define.
17210 * sysdeps/s390/s390-64/bits/wordsize.h
17211 (__WORDSIZE32_SIZE_ULONG): Likewise.
17212 * sysdeps/generic/stdint.h (SIZE_MAX):
17213 Define as UL if __WORDSIZE32_SIZE_ULONG.
17214
a2d86bf1
SL
17215 [BZ #16713]
17216 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17217 (__glibc_reserved0): New variable.
17218 (sa_flags): Change type to int.
17219
78b6eebc
SL
17220 * posix/Makefile (before-compile): Use += before-compile instead
17221 of a :=.
17222
f1399b5a
SL
17223 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17224 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17225
a071766e
AS
172262014-03-20 Andreas Schwab <schwab@suse.de>
17227
17228 [BZ #16743]
17229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17230 non-matching result from nscd.
17231
27c673b8
SP
172322014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17233
17234 * scripts/bench.py: Moved to ...
17235 * benchtests/scripts/bench.py: ... here.
17236 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17237
44152e4b
AS
172382014-03-24 Andreas Schwab <schwab@suse.de>
17239
17240 [BZ #16002]
17241 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17242 alloca_account and account alloca use for struct in6ailist.
17243
b376a11a
JM
172442014-03-24 Joseph Myers <joseph@codesourcery.com>
17245
17246 [BZ #16284]
17247 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17248 rounding mode to recompute results that overflow to infinity or
17249 underflow to zero.
17250 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17251 bug 16284.
17252 * math/auto-libm-test-out: Regenerated.
17253 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17254 (ccosh_test): Likewise.
17255 (csin_test_data): Use plus_oflow.
17256 (csin_test): Use ALL_RM_TEST.
17257 (csinh_test_data): Use plus_oflow.
17258 (csinh_test): Use ALL_RM_TEST.
17259 * sysdeps/i386/fpu/libm-test-ulps: Update.
17260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17261
f7be7376
JM
172622014-03-21 Joseph Myers <joseph@codesourcery.com>
17263
1ca2d03e
JM
17264 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17265 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17266 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17267
f7be7376
JM
17268 [BZ #16731]
17269 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17270 when x - 1 is zero.
17271 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17272 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17273 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17274 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17275 argument is 1.
17276 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17277 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17278 zero.
17279 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17280 * sysdeps/i386/fpu/libm-test-ulps: Update.
17281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17282
fdf4534d
SP
172832014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17284
df26ea53
SP
17285 * scripts/bench.pl: Remove file.
17286 * scripts/bench.py: New benchmark script.
17287 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17288 * benchtests/README: Mention python dependency.
17289 * scripts/pylintrc: New file.
17290 * scripts/pylint: New file.
17291
fdf4534d
SP
17292 * bits/mathdef.h: Use #ifdef instead of #if.
17293 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17294 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17295 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17296 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17297 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17298 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17299
6f23d093
AZ
173002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17301 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17302
17303 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17305 and strpbrk-ppc64 objects.
17306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17307 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17308 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17309 multiarch strpbrk for POWER7.
17310 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17311 multiarch strpbrk for PPC64.
17312 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17313 ifunc selector.
17314 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17315 strpbrk for POWER7.
17316
8c92dfff
JM
173172014-03-20 Joseph Myers <joseph@codesourcery.com>
17318
17319 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17320 (atan_test): Likewise.
17321 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17322 (atanh_test): Use ALL_RM_TEST.
17323 (atan2_test_data): Likewise.
17324 (cabs_test): Likewise.
17325 (cacosh_test): Likewise.
17326 (carg_test): Likewise.
17327 (casin_test): Likewise.
17328 (casinh_test): Likewise.
17329 (cbrt_test): Likewise.
17330 (csqrt_test): Likewise.
17331 (erf_test): Likewise.
17332 (erfc_test): Likewise.
17333 (pow10_test): Likewise.
17334 (exp2_test): Likewise.
17335 (hypot_test): Likewise.
17336 (j0_test): Likewise.
17337 (j1_test): Likewise.
17338 (lgamma_test): Likewise.
17339 (gamma_test): Likewise.
17340 (sincos_test): Likewise.
17341 (tanh_test): Likewise.
17342 (y0_test): Likewise.
17343 (y1_test): Likewise.
17344 * sysdeps/i386/fpu/libm-test-ulps: Update.
17345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17346
6eaf95cb
AZ
173472014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17348
a387428c
SP
17349 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
17351 and strcspn-ppc64 objects.
17352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17353 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17354 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17355 multiarch strcspn for POWER7.
17356 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17357 multiarch strcspn for PPC64.
17358 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17359 ifunc selector.
17360 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17361 strcspn for POWER7.
17362
ae3a5dff
JM
173632014-03-20 Joseph Myers <joseph@codesourcery.com>
17364
17365 * math/gen-libm-test.pl (generate_testfile): Expect only function
17366 name as argument to AUTO_TESTS_* and pass results for all rounding
17367 modes to parse_args.
17368 (parse_auto_input): Separate inputs of automatic tests from
17369 outputs before storing in %auto_tests.
17370 * math/libm-test.inc (acos_test_data): Update call to
17371 AUTO_TESTS_f_f.
17372 (acos_test): Use ALL_RM_TEST.
17373 (acos_tonearest_test_data): Remove.
17374 (acos_test_tonearest): Likewise.
17375 (acos_towardzero_test_data): Likewise.
17376 (acos_test_towardzero): Likewise.
17377 (acos_downward_test_data): Likewise.
17378 (acos_test_downward): Likewise.
17379 (acos_upward_test_data): Likewise.
17380 (acos_test_upward): Likewise.
17381 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17382 (asin_test_data): Likewise.
17383 (asin_test): Use ALL_RM_TEST.
17384 (asin_tonearest_test_data): Remove.
17385 (asin_test_tonearest): Likewise.
17386 (asin_towardzero_test_data): Likewise.
17387 (asin_test_towardzero): Likewise.
17388 (asin_downward_test_data): Likewise.
17389 (asin_test_downward): Likewise.
17390 (asin_upward_test_data): Likewise.
17391 (asin_test_upward): Likewise.
17392 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17393 (atan_test_data): Likewise.
17394 (atanh_test_data): Likewise.
17395 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17396 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17397 (carg_test_data): Likewise.
17398 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17399 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17400 (ccosh_test_data): Likewise.
17401 (cexp_test_data): Likewise.
17402 (clog_test_data): Likewise.
17403 (clog10_test_data): Likewise.
17404 (cos_test_data): Update call to AUTO_TESTS_f_f.
17405 (cos_test): Use ALL_RM_TEST.
17406 (cos_tonearest_test_data): Remove.
17407 (cos_test_tonearest): Likewise.
17408 (cos_towardzero_test_data): Likewise.
17409 (cos_test_towardzero): Likewise.
17410 (cos_downward_test_data): Likewise.
17411 (cos_test_downward): Likewise.
17412 (cos_upward_test_data): Likewise.
17413 (cos_test_upward): Likewise.
17414 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17415 (cosh_test): Use ALL_RM_TEST.
17416 (cosh_tonearest_test_data): Remove.
17417 (cosh_test_tonearest): Likewise.
17418 (cosh_towardzero_test_data): Likewise.
17419 (cosh_test_towardzero): Likewise.
17420 (cosh_downward_test_data): Likewise.
17421 (cosh_test_downward): Likewise.
17422 (cosh_upward_test_data): Likewise.
17423 (cosh_test_upward): Likewise.
17424 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17425 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17426 (ctan_test_data): Likewise.
17427 (ctan_test): Use ALL_RM_TEST.
17428 (ctan_tonearest_test_data): Remove.
17429 (ctan_test_tonearest): Likewise.
17430 (ctan_towardzero_test_data): Likewise.
17431 (ctan_test_towardzero): Likewise.
17432 (ctan_downward_test_data): Likewise.
17433 (ctan_test_downward): Likewise.
17434 (ctan_upward_test_data): Likewise.
17435 (ctan_test_upward): Likewise.
17436 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17437 (ctanh_test): Use ALL_RM_TEST.
17438 (ctanh_tonearest_test_data): Remove.
17439 (ctanh_test_tonearest): Likewise.
17440 (ctanh_towardzero_test_data): Likewise.
17441 (ctanh_test_towardzero): Likewise.
17442 (ctanh_downward_test_data): Likewise.
17443 (ctanh_test_downward): Likewise.
17444 (ctanh_upward_test_data): Likewise.
17445 (ctanh_test_upward): Likewise.
17446 (erf_test_data): Update call to AUTO_TESTS_f_f.
17447 (erfc_test_data): Likewise.
17448 (exp_test_data): Likewise.
17449 (exp_test): Use ALL_RM_TEST.
17450 (exp_tonearest_test_data): Remove.
17451 (exp_test_tonearest): Likewise.
17452 (exp_towardzero_test_data): Likewise.
17453 (exp_test_towardzero): Likewise.
17454 (exp_downward_test_data): Likewise.
17455 (exp_test_downward): Likewise.
17456 (exp_upward_test_data): Likewise.
17457 (exp_test_upward): Likewise.
17458 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17459 (exp10_test): Use ALL_RM_TEST.
17460 (exp10_tonearest_test_data): Remove.
17461 (exp10_test_tonearest): Likewise.
17462 (exp10_towardzero_test_data): Likewise.
17463 (exp10_test_towardzero): Likewise.
17464 (exp10_downward_test_data): Likewise.
17465 (exp10_test_downward): Likewise.
17466 (exp10_upward_test_data): Likewise.
17467 (exp10_test_upward): Likewise.
17468 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17469 (expm1_test_data): Likewise.
17470 (expm1_test): Use ALL_RM_TEST.
17471 (expm1_tonearest_test_data): Remove.
17472 (expm1_test_tonearest): Likewise.
17473 (expm1_towardzero_test_data): Likewise.
17474 (expm1_test_towardzero): Likewise.
17475 (expm1_downward_test_data): Likewise.
17476 (expm1_test_downward): Likewise.
17477 (expm1_upward_test_data): Likewise.
17478 (expm1_test_upward): Likewise.
17479 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17480 (fma_test): Use ALL_RM_TEST.
17481 (fma_towardzero_test_data): Remove.
17482 (fma_test_towardzero): Likewise.
17483 (fma_downward_test_data): Likewise.
17484 (fma_test_downward): Likewise.
17485 (fma_upward_test_data): Likewise.
17486 (fma_test_upward): Likewise.
17487 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17488 (j0_test_data): Update call to AUTO_TESTS_f_f.
17489 (j1_test_data): Likewise.
17490 (jn_test_data): Update call to AUTO_TESTS_if_f.
17491 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17492 (log_test_data): Update call to AUTO_TESTS_f_f.
17493 (log10_test_data): Likewise.
17494 (log1p_test_data): Likewise.
17495 (log2_test_data): Likewise.
17496 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17497 (pow_tonearest_test_data): Likewise.
17498 (sin_test_data): Update call to AUTO_TESTS_f_f.
17499 (sin_test): Use ALL_RM_TEST.
17500 (sin_tonearest_test_data): Remove.
17501 (sin_test_tonearest): Likewise.
17502 (sin_towardzero_test_data): Likewise.
17503 (sin_test_towardzero): Likewise.
17504 (sin_downward_test_data): Likewise.
17505 (sin_test_downward): Likewise.
17506 (sin_upward_test_data): Likewise.
17507 (sin_test_upward): Likewise.
17508 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17509 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17510 (sinh_test): Use ALL_RM_TEST.
17511 (sinh_tonearest_test_data): Remove.
17512 (sinh_test_tonearest): Likewise.
17513 (sinh_towardzero_test_data): Likewise.
17514 (sinh_test_towardzero): Likewise.
17515 (sinh_downward_test_data): Likewise.
17516 (sinh_test_downward): Likewise.
17517 (sinh_upward_test_data): Likewise.
17518 (sinh_test_upward): Likewise.
17519 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17520 (sqrt_test): Use ALL_RM_TEST.
17521 (sqrt_tonearest_test_data): Remove.
17522 (sqrt_test_tonearest): Likewise.
17523 (sqrt_towardzero_test_data): Likewise.
17524 (sqrt_test_towardzero): Likewise.
17525 (sqrt_downward_test_data): Likewise.
17526 (sqrt_test_downward): Likewise.
17527 (sqrt_upward_test_data): Likewise.
17528 (sqrt_test_upward): Likewise.
17529 (tan_test_data): Update call to AUTO_TESTS_f_f.
17530 (tan_test): Use ALL_RM_TEST.
17531 (tan_tonearest_test_data): Remove.
17532 (tan_test_tonearest): Likewise.
17533 (tan_towardzero_test_data): Likewise.
17534 (tan_test_towardzero): Likewise.
17535 (tan_downward_test_data): Likewise.
17536 (tan_test_downward): Likewise.
17537 (tan_upward_test_data): Likewise.
17538 (tan_test_upward): Likewise.
17539 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17540 (tgamma_test_data): Likewise.
17541 (y0_test_data): Likewise.
17542 (y1_test_data): Likewise.
17543 (yn_test_data): Update call to AUTO_TESTS_if_f.
17544 (main): Do not call removed functions.
17545
d71aeee8
JM
175462014-03-19 Joseph Myers <joseph@codesourcery.com>
17547
17548 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17549 (ldexp_test_data): Remove.
17550 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17551 scalbn_test_data.
17552 (scalb_test): Use ALL_RM_TEST.
17553
baaf1ded
AS
175542014-03-19 Andreas Schwab <schwab@suse.de>
17555
17556 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17557
b1115e91
JM
175582014-03-19 Joseph Myers <joseph@codesourcery.com>
17559
17560 [BZ #16649]
17561 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17562 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17563 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17565 (__ASSUME_PREADV): Undefine.
17566 (__ASSUME_PWRITEV): Likewise.
17567
0283ecca
RM
175682014-03-18 Roland McGrath <roland@hack.frob.com>
17569
7d375303
RM
17570 * bits/mman-linux.h: Add comment about non-Linux use.
17571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17572 bits/mman-linux.h resting place.
17573
0283ecca
RM
17574 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17575 * bits/mman-linux.h: ... here.
17576
aebe1003
AZ
175772014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17578
17579 * conform/conformtest.pl: Add standard definition when calling C
17580 preprocessor on data files.
17581 (checknamespace): Remove unused variable.
17582
b29b6bb8
JM
175832014-03-18 Joseph Myers <joseph@codesourcery.com>
17584
17585 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17586 minus_oflow, plus_uflow and minus_uflow in expected results.
17587 * math/libm-test.inc (scalbn_test_data): Add more tests of
17588 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
17589 minus_uflow.
17590 (scalbn_test): Use ALL_RM_TEST.
17591 (scalbln_test_data): Add more tests of negative arguments. Use
17592 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17593 (scalbln_test): Use ALL_RM_TEST.
17594
c8f8fa15
RM
175952014-03-18 Roland McGrath <roland@hack.frob.com>
17596
17597 * scripts/abilist.awk: Ignore symbols marked with .hidden.
17598
fede7a5f
WN
175992014-03-18 Will Newton <will.newton@linaro.org>
17600
17601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17602 inaccurate comment.
17603
80cf0a58
JM
176042014-03-18 Joseph Myers <joseph@codesourcery.com>
17605
17606 * Makerules [!subdir] (check-abi): Exit with error status if a
17607 test failed.
17608
b3620862
JM
176092014-03-17 Joseph Myers <joseph@codesourcery.com>
17610
17611 * math/libm-test.inc (nearbyint_test_data): Include all tests used
17612 for rint. Include results for all rounding modes.
17613 (nearbyint_test): Use ALL_RM_TEST.
17614 (rint_test_data): Include all tests used for nearbyint.
17615
788bba36
WN
176162014-03-17 Will Newton <will.newton@linaro.org>
17617
04ec140a
WN
17618 * nptl/sysdeps/pthread/pthread.h: Revert previous
17619 change.
17620
7579d8d5
WN
17621 * sysdeps/generic/ldsodefs.h: Revert previous
17622 change.
17623
c15cf13a
WN
17624 * libio/genops.c: Revert previous change.
17625 * libio/libioP.h: Likewise.
17626 * stdio-common/vfprintf.c: Likewise.
17627
d0ac1324
WN
17628 * sysdeps/generic/math_private.h: Revert previous
17629 change.
17630
9290130a
WN
17631 * sysdeps/generic/math_private.h: Check whether
17632 HAVE_RM_CTX is defined with #ifdef rather
17633 than #if.
17634
afb466fc
WN
17635 * argp/argp-fmtstream.h: Check whether
17636 __STRICT_ANSI__ is defined with #ifdef rather
17637 than #if.
17638 * argp/argp.h: Likewise.
17639
f7efd7c3
WN
17640 * libio/genops.c: Check whether
17641 _IO_JUMPS_OFFSET is defined with #ifdef rather
17642 than #if.
17643 * libio/libioP.h: Likewise.
17644 * stdio-common/vfprintf.c: Likewise.
17645
53f1bed3
WN
17646 * sysdeps/generic/ldsodefs.h: Check whether
17647 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17648 than #if.
17649
788bba36
WN
17650 * nptl/sysdeps/pthread/pthread.h: Check
17651 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17652 its value.
17653
fcd89ebe
SP
176542014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17655
ae42bbc5
SP
17656 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17657 setting O_APPEND.
17658 * libio/tst-ftell-active-handler.c (do_append_test): Add a
17659 test case.
17660
ea33158c
SP
17661 [BZ #16680]
17662 * libio/fileops.c (_IO_file_open): Seek to end of file but
17663 don't cache the offset.
17664 (get_file_offset): Remove function.
17665 (do_ftell): Use cached offset when available.
17666 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17667 don't cache the offset.
17668 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17669 case.
17670 (do_one_test): Call it.
17671 (do_ftell_test): Fix up expected old offset for a+ mode.
17672 * libio/wfileops.c (do_ftell_wide): Used cached offset when
17673 available.
17674
b1dbb426
SP
17675 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17676 up test status with function return status.
17677 (do_write_test): Likewise.
17678 (do_append_test): Likewise.
17679
fcd89ebe
SP
17680 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17681 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17682 Remove.
17683
9962a2d3
JM
176842014-03-17 Joseph Myers <joseph@codesourcery.com>
17685
17686 * math/gen-libm-test.pl (parse_args): Handle results specified for
17687 each rounding mode separately.
17688 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17689 tests and results from lrint_tonearest_test_data,
17690 lrint_towardzero_test_data, lrint_downward_test_data and
17691 lrint_upward_test_data.
17692 (lrint_test): Use ALL_RM_TEST.
17693 (lrint_tonearest_test_data): Remove.
17694 (lrint_test_tonearest): Likewise.
17695 (lrint_towardzero_test_data): Likewise.
17696 (lrint_test_towardzero): Likewise.
17697 (lrint_downward_test_data): Likewise.
17698 (lrint_test_downward): Likewise.
17699 (lrint_upward_test_data): Likewise.
17700 (lrint_test_upward): Likewise.
17701 (llrint_test_data): Merge in per-rounding-mode tests and results
17702 from llrint_tonearest_test_data, llrint_towardzero_test_data,
17703 llrint_downward_test_data and llrint_upward_test_data.
17704 (llrint_test): Use ALL_RM_TEST.
17705 (llrint_tonearest_test_data): Remove.
17706 (llrint_test_tonearest): Likewise.
17707 (llrint_towardzero_test_data): Likewise.
17708 (llrint_test_towardzero): Likewise.
17709 (llrint_downward_test_data): Likewise.
17710 (llrint_test_downward): Likewise.
17711 (llrint_upward_test_data): Likewise.
17712 (llrint_test_upward): Likewise.
17713 (rint_test_data): Merge in per-rounding-mode tests and results
17714 from rint_tonearest_test_data, rint_towardzero_test_data,
17715 rint_downward_test_data and rint_upward_test_data. Add
17716 per-rounding-mode results for tests not in those arrays.
17717 (rint_test): Use ALL_RM_TEST.
17718 (rint_tonearest_test_data): Remove.
17719 (rint_test_tonearest): Likewise.
17720 (rint_towardzero_test_data): Likewise.
17721 (rint_test_towardzero): Likewise.
17722 (rint_downward_test_data): Likewise.
17723 (rint_test_downward): Likewise.
17724 (rint_upward_test_data): Likewise.
17725 (rint_test_upward): Likewise.
17726 (main): Don't call removed functions.
17727
5006148e
RM
177282014-03-14 Roland McGrath <roland@hack.frob.com>
17729
17730 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17731 "Compiled on ..." crapola. It is anti-useful.
17732
d6fe5e58
JM
177332014-03-14 Joseph Myers <joseph@codesourcery.com>
17734
17735 * scripts/evaluate-test.sh: Handle fourth argument to determine
17736 whether test run should stop on failure.
17737 * Makeconfig (stop-on-test-failure): New variable.
17738 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17739 $(stop-on-test-failure).
17740 * Makefile (tests): Give a summary of results from testing and
17741 exit with failure status if they include an ERROR or FAIL.
17742 (xtests): Likewise.
17743 * manual/install.texi (Configuring and compiling): Mention
17744 stop-on-test-failure=y.
17745 * INSTALL: Regenerated.
17746
498a2233
RM
177472014-03-14 Roland McGrath <roland@hack.frob.com>
17748
22dbc19d
RM
17749 * scripts/versionlist.awk: New file.
17750 * Makerules [$(build-shared) = yes]
17751 (postclean-generated): Add Versions.def, not Versions.def.v and
17752 Versions.def.v.i.
17753 ($(common-objpfx)Versions.def.v.i): Target removed.
17754 ($(common-objpfx)Versions.def): New target.
17755 ($(common-objpfx)Versions.all): Depend on that rather that
17756 $(common-objpfx)Versions.def.v.
17757 * Versions.def: File removed.
17758
498a2233
RM
17759 * Makeconfig (+gccwarn): Add -Wundef.
17760 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17761 a dl-sysdep.h breaking its contract.
17762 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17763 * include/stackinfo.h: New file.
17764 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17765 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17766 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17767 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17768 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17769 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17770 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17771 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17772 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17773 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17774 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17775 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17776 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17777 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17778 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17779
c7de5025
AZ
177802014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17781
17782 [BZ #16707]
17783 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17784 implementation.
17785 * math/libm-test.inc (round_test_data): Add more tests.
17786
98fb27a3
AZ
17787 [BZ #16706]
17788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17789 implementation.
17790 * math/libm-test.inc (nearbyint_test_data): Add more tests.
17791
374f7f61
AZ
17792 [BZ #16701]
17793 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17794 implementation.
17795 * math/libm-test.inc (ceil_test_data): Add more tests.
17796
4655c291
AZ
17797 * math/libm-test.inc (trunc_test_data): Add more tests related to
17798 BZ#16414.
17799
d7329d4b
RM
178002014-03-14 Roland McGrath <roland@hack.frob.com>
17801
17802 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17803 with #if rather than #ifdef.
17804 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17805
aa4de9ce
L
178062014-03-14 H.J. Lu <hongjiu.lu@intel.com>
17807
17808 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17809 first. Disable AVX-512 GCC support if assembler doesn't support
17810 it.
17811 * sysdeps/x86_64/configure: Regenerated.
17812
2e03fae7
CD
178132014-03-13 Carlos O'Donell <carlos@redhat.com>
17814
17815 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17816 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17817 (__old_pthread_attr_setstack): Likewise.
17818 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17819 [!_STACK_GROWS_DOWN]: Likewise.
17820
43ca83ec
MF
178212014-03-13 Mike Frysinger <vapier@gentoo.org>
17822
17823 * config.make.in (have-bash2): Delete.
17824 * configure.ac (libc_cv_have_bash2): Delete.
17825 * configure: Regenerate.
17826 * elf/Makefile (common-ldd-rewrite): Rename to ...
17827 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
17828 (sh-ldd-rewrite): Delete.
17829 (bash-ldd-rewrite): Delete.
17830 (have-bash2): Delete checks.
57f41c40
AS
17831 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17832 ldd-rewrite.
c66e48b4
MF
17833
17834 * config.make.in (have-ksh): Delete.
17835 (KSH): Delete.
17836 * configure.ac (libc_cv_have_ksh): Delete.
17837 * configure: Regenerate.
17838
b93834ef
MF
17839 * elf/Makefile: Delete $(have-ksh) check.
17840 ($(objpfx)sotruss): Change KSH to BASH.
17841 * elf/sotruss.ksh: Rename to ...
17842 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
17843 function style to match POSIX. Drop ksh vim mode setting.
17844
f3a4632a
MF
17845 * manual/time.texi (Specifying the Time Zone with TZ): Change
17846 Tuesday to Thursday.
17847
5896c8bd
MF
17848 * debug/tst-longjmp_chk2.c: Update header comment.
17849 (stackoverflow_handler): Add comment. Call assert on pass value.
17850
2d63a517
IZ
178512014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
17852
7e54fd04 17853 [BZ #16194]
2d63a517
IZ
17854 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17855 (HAVE_AVX512_ASM_SUPPORT): Likewise.
17856 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17857 (La_x86_64_vector): Add zmm.
17858 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17859 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17860 ($(objpfx)tst-audit10): New target.
17861 ($(objpfx)tst-audit10.out): Likewise.
17862 (tst-audit10-ENV): New.
17863 (AVX512-CFLAGS): Likewise.
17864 (CFLAGS-tst-audit10.c): Likewise.
17865 (CFLAGS-tst-auditmod10a.c): Likewise.
17866 (CFLAGS-tst-auditmod10b.c): Likewise.
17867 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17868 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17869 * sysdeps/x86_64/configure: Regenerated.
17870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17871 AVX-512 zmm register support.
17872 (_dl_x86_64_save_sse): Likewise.
17873 (_dl_x86_64_restore_sse): Likewise.
17874 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17875 size vector registers.
17876 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17877 (ZMM_SIZE): Likewise.
17878 * sysdeps/x86_64/tst-audit10.c: New file.
17879 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17880 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17881
44c4e5d5
RM
178822014-03-13 Roland McGrath <roland@hack.frob.com>
17883
17884 * configure.ac (HAVE_EHDR_START): New check.
17885 * configure: Regenerated.
17886 * config.h.in (HAVE_EHDR_START): New #undef.
17887 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17888 assuming the lowest-addressed segment maps the start of the file.
17889
acd6e389
JM
178902014-03-13 Joseph Myers <joseph@codesourcery.com>
17891
17892 * INSTALL: Regenerated.
17893
6f918f36
WN
178942014-03-13 Will Newton <will.newton@linaro.org>
17895
17896 * manual/setjmp.texi (System V contexts): Improve
17897 clarity and grammar of documentation.
17898
798212a0
PP
178992014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17900
17901 [BZ #16381]
798212a0 17902 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 17903 (tests-pie): Add tst-pie2.
798212a0
PP
17904 * elf/tst-pie2.c: New file.
17905 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17906 for ET_EXEC.
17907 * elf/rtld.c (map_doit): Load executable as lt_executable.
17908 (dl_main): Likewise.
17909
abe6d90c
JM
179102014-03-12 Joseph Myers <joseph@codesourcery.com>
17911
17912 [BZ #16642]
17913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17914 (__ASSUME_PSELECT): Undefine.
17915
dd3946c6
AZ
179162014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17917
17918 [BZ #16689]
17919 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17920 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17921 static build.
17922 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17923 selector for static builds.
17924
c44496df
SP
179252014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17926
17927 [BZ #16695]
17928 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17929 key in the buffer.
17930
27c7220a
AZ
179312014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932
57f41c40
AS
17933 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17934 IFUNC selector for static builds.
27c7220a 17935
600fa361
JM
179362014-03-11 Joseph Myers <joseph@codesourcery.com>
17937
76c96cf7
JM
17938 * sysdeps/mips/math_private.h [__mips_hard_float]
17939 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17940 libc_feresetround_mips_ctx.
17941 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17942 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17943 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17944
600fa361
JM
17945 [BZ #16677]
17946 * math/s_nextafter.c (__nextafter): Do not return value from
17947 overflowing computation.
17948 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17949 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17950 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17951 Likewise.
17952 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17953 Likewise.
17954 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17955 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17956
d7706c32
RM
179572014-03-11 Roland McGrath <roland@hack.frob.com>
17958
17959 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17960 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17961 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17962 the new mov targetting sp.
17963
4facea47
AZ
179642014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17965
17966 [BZ #16683]
17967 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17968 Define it for static builds as well.
17969 (NO_BZERO_IMPL): Likewise.
17970
e65caf1f
VR
179712014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17972
17973 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17974 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17975 multiarch strspn for PPC64.
17976 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17977 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17979 (__libc_ifunc_impl_list): Likewise.
17980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17981 multiarch optimizations
17982 * string/strspn.c (strspn): Using macro to redefine symbol name.
17983
ba9cc071
AZ
179842014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17985 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17986
17987 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17988 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17989 multiarch strncat for PPC64.
17990 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17991 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17993 (__libc_ifunc_impl_list): Likewise.
17994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17995 multiarch optimizations
17996
8b4ff974
SP
179972014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17998
17999 [BZ #16639]
18000 * nscd/nscd.service: Make service type forking.
18001
54b46a4b
AZ
180022014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18003
18004 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18005 sign in non default rounding modes.
18006 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18007
e9996ef7
JM
180082014-03-08 Joseph Myers <joseph@codesourcery.com>
18009
18010 * math/libm-test.inc (ALL_RM_TEST): New macro.
18011 (ceil_test): Use ALL_RM_TEST.
18012 (cimag_test): Likewise.
18013 (conj_test): Likewise.
18014 (copysign_test): Likewise.
18015 (cproj_test): Likewise.
18016 (creal_test): Likewise.
18017 (fabs_test): Likewise.
18018 (floor_test): Likewise.
18019 (fmax_test): Likewise.
18020 (fmin_test): Likewise.
18021 (fmod_test): Likewise.
18022 (fpclassify_test): Likewise.
18023 (frexp_test): Likewise.
18024 (ilogb_test): Likewise.
18025 (isfinite_test): Likewise.
18026 (finite_test): Likewise.
18027 (isgreater_test): Likewise.
18028 (isgreaterequal_test): Likewise.
18029 (isinf_test): Likewise.
18030 (isless_test): Likewise.
18031 (islessequal_test): Likewise.
18032 (islessgreater_test): Likewise.
18033 (isnan_test): Likewise.
18034 (isnormal_test): Likewise.
18035 (issignaling_test): Likewise.
18036 (isunordered_test): Likewise.
18037 (logb_test): Likewise.
18038 (logb_downward_test_data): Remove.
18039 (logb_test_downward): Likewise.
18040 (lround_test): Use ALL_RM_TEST.
18041 (llround_test): Likewise.
18042 (modf_test): Likewise.
18043 (nexttoward_test): Likewise.
18044 (remainder_test): Likewise.
18045 (drem_test): Likewise.
18046 (remainder_tonearest_test_data): Likewise.
18047 (remainder_test_tonearest): Likewise.
18048 (drem_test_tonearest): Likewise.
18049 (remainder_towardzero_test_data): Likewise.
18050 (remainder_test_towardzero): Likewise.
18051 (drem_test_towardzero): Likewise.
18052 (remainder_downward_test_data): Likewise.
18053 (remainder_test_downward): Likewise.
18054 (drem_test_downward): Likewise.
18055 (remainder_upward_test_data): Likewise.
18056 (remainder_test_upward): Likewise.
18057 (drem_test_upward): Likewise.
18058 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18059 (round_test): Use ALL_RM_TEST.
18060 (signbit_test): Likewise.
18061 (trunc_test): Likewise.
18062 (significand_test): Likewise.
18063 (main): Don't call removed functions.
18064
bc61d27c
JM
180652014-03-07 Joseph Myers <joseph@codesourcery.com>
18066
5c780849
JM
18067 [BZ #16674]
18068 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18069 || __USE_XOPEN2K8].
18070 (ILL_ILLOPN): Likewise.
18071 (ILL_ILLADR): Likewise.
18072 (ILL_ILLTRP): Likewise.
18073 (ILL_PRVOPC): Likewise.
18074 (ILL_PRVREG): Likewise.
18075 (ILL_COPROC): Likewise.
18076 (ILL_BADSTK): Likewise.
18077 (FPE_INTDIV): Likewise.
18078 (FPE_INTOVF): Likewise.
18079 (FPE_FLTDIV): Likewise.
18080 (FPE_FLTOVF): Likewise.
18081 (FPE_FLTUND): Likewise.
18082 (FPE_FLTRES): Likewise.
18083 (FPE_FLTINV): Likewise.
18084 (FPE_FLTSUB): Likewise.
18085 (SEGV_MAPERR): Likewise.
18086 (SEGV_ACCERR): Likewise.
18087 (BUS_ADRALN): Likewise.
18088 (BUS_ADRERR): Likewise.
18089 (BUS_OBJERR): Likewise.
18090 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18091 (TRAP_TRACE): Likewise.
18092 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18093 __USE_XOPEN2K8].
18094 (CLD_KILLED): Likewise.
18095 (CLD_DUMPED): Likewise.
18096 (CLD_TRAPPED): Likewise.
18097 (CLD_STOPPED): Likewise.
18098 (CLD_CONTINUED): Likewise.
18099 (POLL_IN): Likewise.
18100 (POLL_OUT): Likewise.
18101 (POLL_MSG): Likewise.
18102 (POLL_ERR): Likewise.
18103 (POLL_PRI): Likewise.
18104 (POLL_HUP): Likewise.
18105 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18106 Likewise.
18107 (ILL_ILLOPN): Likewise.
18108 (ILL_ILLADR): Likewise.
18109 (ILL_ILLTRP): Likewise.
18110 (ILL_PRVOPC): Likewise.
18111 (ILL_PRVREG): Likewise.
18112 (ILL_COPROC): Likewise.
18113 (ILL_BADSTK): Likewise.
18114 (FPE_INTDIV): Likewise.
18115 (FPE_INTOVF): Likewise.
18116 (FPE_FLTDIV): Likewise.
18117 (FPE_FLTOVF): Likewise.
18118 (FPE_FLTUND): Likewise.
18119 (FPE_FLTRES): Likewise.
18120 (FPE_FLTINV): Likewise.
18121 (FPE_FLTSUB): Likewise.
18122 (SEGV_MAPERR): Likewise.
18123 (SEGV_ACCERR): Likewise.
18124 (BUS_ADRALN): Likewise.
18125 (BUS_ADRERR): Likewise.
18126 (BUS_OBJERR): Likewise.
18127 (BUS_MCEERR_AR): Likewise.
18128 (BUS_MCEERR_AO): Likewise.
18129 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18130 (TRAP_TRACE): Likewise.
18131 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18132 __USE_XOPEN2K8].
18133 (CLD_KILLED): Likewise.
18134 (CLD_DUMPED): Likewise.
18135 (CLD_TRAPPED): Likewise.
18136 (CLD_STOPPED): Likewise.
18137 (CLD_CONTINUED): Likewise.
18138 (POLL_IN): Likewise.
18139 (POLL_OUT): Likewise.
18140 (POLL_MSG): Likewise.
18141 (POLL_ERR): Likewise.
18142 (POLL_PRI): Likewise.
18143 (POLL_HUP): Likewise.
18144 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18145 (ILL_ILLOPN): Likewise.
18146 (ILL_ILLADR): Likewise.
18147 (ILL_ILLTRP): Likewise.
18148 (ILL_PRVOPC): Likewise.
18149 (ILL_PRVREG): Likewise.
18150 (ILL_COPROC): Likewise.
18151 (ILL_BADSTK): Likewise.
18152 (FPE_INTDIV): Likewise.
18153 (FPE_INTOVF): Likewise.
18154 (FPE_FLTDIV): Likewise.
18155 (FPE_FLTOVF): Likewise.
18156 (FPE_FLTUND): Likewise.
18157 (FPE_FLTRES): Likewise.
18158 (FPE_FLTINV): Likewise.
18159 (FPE_FLTSUB): Likewise.
18160 (SEGV_MAPERR): Likewise.
18161 (SEGV_ACCERR): Likewise.
18162 (BUS_ADRALN): Likewise.
18163 (BUS_ADRERR): Likewise.
18164 (BUS_OBJERR): Likewise.
18165 (BUS_MCEERR_AR): Likewise.
18166 (BUS_MCEERR_AO): Likewise.
18167 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18168 (TRAP_TRACE): Likewise.
18169 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18170 __USE_XOPEN2K8].
18171 (CLD_KILLED): Likewise.
18172 (CLD_DUMPED): Likewise.
18173 (CLD_TRAPPED): Likewise.
18174 (CLD_STOPPED): Likewise.
18175 (CLD_CONTINUED): Likewise.
18176 (POLL_IN): Likewise.
18177 (POLL_OUT): Likewise.
18178 (POLL_MSG): Likewise.
18179 (POLL_ERR): Likewise.
18180 (POLL_PRI): Likewise.
18181 (POLL_HUP): Likewise.
18182 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18183 Likewise.
18184 (ILL_ILLOPN): Likewise.
18185 (ILL_ILLADR): Likewise.
18186 (ILL_ILLTRP): Likewise.
18187 (ILL_PRVOPC): Likewise.
18188 (ILL_PRVREG): Likewise.
18189 (ILL_COPROC): Likewise.
18190 (ILL_BADSTK): Likewise.
18191 (ILL_BADIADDR): Likewise.
18192 (ILL_BREAK): Likewise.
18193 (FPE_INTDIV): Likewise.
18194 (FPE_INTOVF): Likewise.
18195 (FPE_FLTDIV): Likewise.
18196 (FPE_FLTOVF): Likewise.
18197 (FPE_FLTUND): Likewise.
18198 (FPE_FLTRES): Likewise.
18199 (FPE_FLTINV): Likewise.
18200 (FPE_FLTSUB): Likewise.
18201 (FPE_DECOVF): Likewise.
18202 (FPE_DECDIV): Likewise.
18203 (FPE_DECERR): Likewise.
18204 (FPE_INVASC): Likewise.
18205 (FPE_INVDEC): Likewise.
18206 (SEGV_MAPERR): Likewise.
18207 (SEGV_ACCERR): Likewise.
18208 (SEGV_PSTKOVF): Likewise.
18209 (BUS_ADRALN): Likewise.
18210 (BUS_ADRERR): Likewise.
18211 (BUS_OBJERR): Likewise.
18212 (BUS_MCEERR_AR): Likewise.
18213 (BUS_MCEERR_AO): Likewise.
18214 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18215 (TRAP_TRACE): Likewise.
18216 (TRAP_BRANCH): Likewise.
18217 (TRAP_HWBKPT): Likewise.
18218 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18219 __USE_XOPEN2K8].
18220 (CLD_KILLED): Likewise.
18221 (CLD_DUMPED): Likewise.
18222 (CLD_TRAPPED): Likewise.
18223 (CLD_STOPPED): Likewise.
18224 (CLD_CONTINUED): Likewise.
18225 (POLL_IN): Likewise.
18226 (POLL_OUT): Likewise.
18227 (POLL_MSG): Likewise.
18228 (POLL_ERR): Likewise.
18229 (POLL_PRI): Likewise.
18230 (POLL_HUP): Likewise.
18231 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18232 (ILL_ILLOPN): Likewise.
18233 (ILL_ILLADR): Likewise.
18234 (ILL_ILLTRP): Likewise.
18235 (ILL_PRVOPC): Likewise.
18236 (ILL_PRVREG): Likewise.
18237 (ILL_COPROC): Likewise.
18238 (ILL_BADSTK): Likewise.
18239 (FPE_INTDIV): Likewise.
18240 (FPE_INTOVF): Likewise.
18241 (FPE_FLTDIV): Likewise.
18242 (FPE_FLTOVF): Likewise.
18243 (FPE_FLTUND): Likewise.
18244 (FPE_FLTRES): Likewise.
18245 (FPE_FLTINV): Likewise.
18246 (FPE_FLTSUB): Likewise.
18247 (SEGV_MAPERR): Likewise.
18248 (SEGV_ACCERR): Likewise.
18249 (BUS_ADRALN): Likewise.
18250 (BUS_ADRERR): Likewise.
18251 (BUS_OBJERR): Likewise.
18252 (BUS_MCEERR_AR): Likewise.
18253 (BUS_MCEERR_AO): Likewise.
18254 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18255 (TRAP_TRACE): Likewise.
18256 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18257 __USE_XOPEN2K8].
18258 (CLD_KILLED): Likewise.
18259 (CLD_DUMPED): Likewise.
18260 (CLD_TRAPPED): Likewise.
18261 (CLD_STOPPED): Likewise.
18262 (CLD_CONTINUED): Likewise.
18263 (POLL_IN): Likewise.
18264 (POLL_OUT): Likewise.
18265 (POLL_MSG): Likewise.
18266 (POLL_ERR): Likewise.
18267 (POLL_PRI): Likewise.
18268 (POLL_HUP): Likewise.
18269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18270 (ILL_ILLOPN): Likewise.
18271 (ILL_ILLADR): Likewise.
18272 (ILL_ILLTRP): Likewise.
18273 (ILL_PRVOPC): Likewise.
18274 (ILL_PRVREG): Likewise.
18275 (ILL_COPROC): Likewise.
18276 (ILL_BADSTK): Likewise.
18277 (FPE_INTDIV): Likewise.
18278 (FPE_INTOVF): Likewise.
18279 (FPE_FLTDIV): Likewise.
18280 (FPE_FLTOVF): Likewise.
18281 (FPE_FLTUND): Likewise.
18282 (FPE_FLTRES): Likewise.
18283 (FPE_FLTINV): Likewise.
18284 (FPE_FLTSUB): Likewise.
18285 (SEGV_MAPERR): Likewise.
18286 (SEGV_ACCERR): Likewise.
18287 (BUS_ADRALN): Likewise.
18288 (BUS_ADRERR): Likewise.
18289 (BUS_OBJERR): Likewise.
18290 (BUS_MCEERR_AR): Likewise.
18291 (BUS_MCEERR_AO): Likewise.
18292 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18293 (TRAP_TRACE): Likewise.
18294 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18295 __USE_XOPEN2K8].
18296 (CLD_KILLED): Likewise.
18297 (CLD_DUMPED): Likewise.
18298 (CLD_TRAPPED): Likewise.
18299 (CLD_STOPPED): Likewise.
18300 (CLD_CONTINUED): Likewise.
18301 (POLL_IN): Likewise.
18302 (POLL_OUT): Likewise.
18303 (POLL_MSG): Likewise.
18304 (POLL_ERR): Likewise.
18305 (POLL_PRI): Likewise.
18306 (POLL_HUP): Likewise.
18307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18308 (ILL_ILLOPN): Likewise.
18309 (ILL_ILLADR): Likewise.
18310 (ILL_ILLTRP): Likewise.
18311 (ILL_PRVOPC): Likewise.
18312 (ILL_PRVREG): Likewise.
18313 (ILL_COPROC): Likewise.
18314 (ILL_BADSTK): Likewise.
18315 (FPE_INTDIV): Likewise.
18316 (FPE_INTOVF): Likewise.
18317 (FPE_FLTDIV): Likewise.
18318 (FPE_FLTOVF): Likewise.
18319 (FPE_FLTUND): Likewise.
18320 (FPE_FLTRES): Likewise.
18321 (FPE_FLTINV): Likewise.
18322 (FPE_FLTSUB): Likewise.
18323 (SEGV_MAPERR): Likewise.
18324 (SEGV_ACCERR): Likewise.
18325 (BUS_ADRALN): Likewise.
18326 (BUS_ADRERR): Likewise.
18327 (BUS_OBJERR): Likewise.
18328 (BUS_MCEERR_AR): Likewise.
18329 (BUS_MCEERR_AO): Likewise.
18330 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18331 (TRAP_TRACE): Likewise.
18332 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18333 __USE_XOPEN2K8].
18334 (CLD_KILLED): Likewise.
18335 (CLD_DUMPED): Likewise.
18336 (CLD_TRAPPED): Likewise.
18337 (CLD_STOPPED): Likewise.
18338 (CLD_CONTINUED): Likewise.
18339 (POLL_IN): Likewise.
18340 (POLL_OUT): Likewise.
18341 (POLL_MSG): Likewise.
18342 (POLL_ERR): Likewise.
18343 (POLL_PRI): Likewise.
18344 (POLL_HUP): Likewise.
18345 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18346 (ILL_ILLOPN): Likewise.
18347 (ILL_ILLADR): Likewise.
18348 (ILL_ILLTRP): Likewise.
18349 (ILL_PRVOPC): Likewise.
18350 (ILL_PRVREG): Likewise.
18351 (ILL_COPROC): Likewise.
18352 (ILL_BADSTK): Likewise.
18353 (ILL_DBLFLT): Likewise.
18354 (ILL_HARDWALL): Likewise.
18355 (FPE_INTDIV): Likewise.
18356 (FPE_INTOVF): Likewise.
18357 (FPE_FLTDIV): Likewise.
18358 (FPE_FLTOVF): Likewise.
18359 (FPE_FLTUND): Likewise.
18360 (FPE_FLTRES): Likewise.
18361 (FPE_FLTINV): Likewise.
18362 (FPE_FLTSUB): Likewise.
18363 (SEGV_MAPERR): Likewise.
18364 (SEGV_ACCERR): Likewise.
18365 (BUS_ADRALN): Likewise.
18366 (BUS_ADRERR): Likewise.
18367 (BUS_OBJERR): Likewise.
18368 (BUS_MCEERR_AR): Likewise.
18369 (BUS_MCEERR_AO): Likewise.
18370 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18371 (TRAP_TRACE): Likewise.
18372 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18373 __USE_XOPEN2K8].
18374 (CLD_KILLED): Likewise.
18375 (CLD_DUMPED): Likewise.
18376 (CLD_TRAPPED): Likewise.
18377 (CLD_STOPPED): Likewise.
18378 (CLD_CONTINUED): Likewise.
18379 (POLL_IN): Likewise.
18380 (POLL_OUT): Likewise.
18381 (POLL_MSG): Likewise.
18382 (POLL_ERR): Likewise.
18383 (POLL_PRI): Likewise.
18384 (POLL_HUP): Likewise.
18385 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18386 (ILL_ILLOPN): Likewise.
18387 (ILL_ILLADR): Likewise.
18388 (ILL_ILLTRP): Likewise.
18389 (ILL_PRVOPC): Likewise.
18390 (ILL_PRVREG): Likewise.
18391 (ILL_COPROC): Likewise.
18392 (ILL_BADSTK): Likewise.
18393 (FPE_INTDIV): Likewise.
18394 (FPE_INTOVF): Likewise.
18395 (FPE_FLTDIV): Likewise.
18396 (FPE_FLTOVF): Likewise.
18397 (FPE_FLTUND): Likewise.
18398 (FPE_FLTRES): Likewise.
18399 (FPE_FLTINV): Likewise.
18400 (FPE_FLTSUB): Likewise.
18401 (SEGV_MAPERR): Likewise.
18402 (SEGV_ACCERR): Likewise.
18403 (BUS_ADRALN): Likewise.
18404 (BUS_ADRERR): Likewise.
18405 (BUS_OBJERR): Likewise.
18406 (BUS_MCEERR_AR): Likewise.
18407 (BUS_MCEERR_AO): Likewise.
18408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18409 (TRAP_TRACE): Likewise.
18410 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18411 __USE_XOPEN2K8].
18412 (CLD_KILLED): Likewise.
18413 (CLD_DUMPED): Likewise.
18414 (CLD_TRAPPED): Likewise.
18415 (CLD_STOPPED): Likewise.
18416 (CLD_CONTINUED): Likewise.
18417 (POLL_IN): Likewise.
18418 (POLL_OUT): Likewise.
18419 (POLL_MSG): Likewise.
18420 (POLL_ERR): Likewise.
18421 (POLL_PRI): Likewise.
18422 (POLL_HUP): Likewise.
18423 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18424 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18425
bc61d27c
JM
18426 [BZ #16670]
18427 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18428 before #include of <time.h>.
18429 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18430 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18431 (test-xfail-UNIX98/sched.h/conform): Likewise.
18432
302949e2
MS
184332014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18434
18435 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18436 error absence of trapping exception support.
18437 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18438
a00f522a
JM
184392014-03-07 Joseph Myers <joseph@codesourcery.com>
18440
6f99f280
JM
18441 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18442 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18443 * timezone/Makefile (testdata): Move definition above include of
18444 Rules.
18445 (test-zones): New variable.
18446 (tests-special): Add zone files.
18447 (build-testdata): Use $(evaluate-test).
18448
0b20a9e8
JM
18449 * elf/Makefile (tests-special): Rename tests to end with .out.
18450 ($(objpfx)noload-mem): Likewise.
18451 ($(objpfx)tst-leaks1-mem): Likewise.
18452 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18453 * iconv/Makefile (xtests-special): Change test-iconvconfig to
18454 $(objpfx)test-iconvconfig.out.
18455 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
18456 set -e inside subshell and redirect output to file.
18457 * iconvdata/Makefile (generated): Rename tests to end with .out.
18458 Correct type.
18459 (tests-special): Rename tests to end with .out.
18460 ($(objpfx)mtrace-tst-loading): Likewise.
18461 * intl/Makefile (generated): Likewise.
18462 (tests-special): Likewise.
18463 ($(objpfx)mtrace-tst-gettext): Likewise.
18464 * misc/Makefile (generated): Likewise.
18465 (tests-special): Likewise.
18466 ($(objpfx)tst-error1-mem): Likewise.
18467 * nptl/Makefile (tests-special): Likewise.
18468 ($(objpfx)tst-stack3-mem): Likewise.
18469 (generated): Likewise.
18470 * posix/Makefile (generated): Likewise.
18471 (tests-special): Likewise.
18472 (xtests-special): Likewise.
18473 ($(objpfx)tst-fnmatch-mem): Likewise.
18474 ($(objpfx)bug-regex2-mem): Likewise.
18475 ($(objpfx)bug-regex14-mem): Likewise.
18476 ($(objpfx)bug-regex21-mem): Likewise.
18477 ($(objpfx)bug-regex31-mem): Likewise.
18478 ($(objpfx)tst-vfork3-mem): Likewise.
18479 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18480 ($(objpfx)tst-pcre-mem): Likewise.
18481 ($(objpfx)tst-boost-mem): Likewise.
18482 ($(objpfx)bug-ga2-mem): Likewise.
18483 ($(objpfx)bug-glob2-mem): Likewise.
18484 * resolv/Makefile (generate): Likewise.
18485 (tests-special): Likewise.
18486 (xtests-special): Likewise.
18487 (generated): Likewise.
18488 ($(objpfx)mtrace-tst-leaks): Likewise.
18489 ($(objpfx)mtrace-tst-leaks2): Likewise.
18490
265d52ab
JM
18491 * scripts/merge-test-results.sh: New file.
18492 * Makefile (tests-special-notdir): New variable.
18493 (tests): Run merge-test-results.sh.
18494 (xtests): Likewise.
18495 * Rules (tests-special-notdir): New variable.
18496 (xtests-special-notdir): Likewise.
18497 (tests): Run merge-test-results.sh
18498 (xtests): Likewise.
18499
54ee292d
JM
18500 * Makeconfig (test-xfail-name): New variable.
18501 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18502 compute variable name for expected failures.
18503 * conform/Makefile (conformtest-headers-data): New variable.
18504 (conformtest-standards): Likewise.
18505 (conformtest-headers-ISO): Likewise.
18506 (conformtest-headers-ISO99): Likewise.
18507 (conformtest-headers-ISO11): Likewise.
18508 (conformtest-headers-POSIX): Likewise.
18509 (conformtest-headers-XPG3): Likewise.
18510 (conformtest-headers-XPG4): Likewise.
18511 (conformtest-headers-UNIX98): Likewise.
18512 (conformtest-headers-XOPEN2K): Likewise.
18513 (conformtest-headers-POSIX2008): Likewise.
18514 (conformtest-headers-XOPEN2K8): Likewise.
18515 (conformtest-header-list-base): Likewise.
18516 (conformtest-header-list-tests): Likewise.
18517 (conformtest-header-base): Likewise.
18518 (conformtest-header-tests): Likewise.
18519 (tests-special): Add $(conformtest-header-list-tests). If
18520 [$(fast-check) && !$(cross-compiling)], add
18521 $(conformtest-header-tests) instead of
18522 $(objpfx)run-conformtest.out.
18523 (generated): Add $(conformtest-header-list-base). If
18524 [$(fast-check) && !$(cross-compiling)], add
18525 $(conformtest-header-base). Remove previous setting.
18526 ($(conformtest-header-list-tests)): New target.
18527 (test-xfail-run-conformtest): Remove variable.
18528 ($(objpfx)run-conformtest.out): Remove target.
18529 (test-xfail-ISO11/complex.h/conform): New variable.
18530 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18531 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18532 (test-xfail-XPG3/varargs.h/conform): Likewise.
18533 (test-xfail-XPG4/varargs.h/conform): Likewise.
18534 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18535 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18536 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18537 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18538 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18539 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18540 (test-xfail-XPG3/ftw.h/conform): Likewise.
18541 (test-xfail-XPG3/grp.h/conform): Likewise.
18542 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18543 (test-xfail-XPG3/limits.h/conform): Likewise.
18544 (test-xfail-XPG3/pwd.h/conform): Likewise.
18545 (test-xfail-XPG3/search.h/conform): Likewise.
18546 (test-xfail-XPG3/signal.h/conform): Likewise.
18547 (test-xfail-XPG3/stdio.h/conform): Likewise.
18548 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18549 (test-xfail-XPG3/string.h/conform): Likewise.
18550 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18551 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18552 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18553 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18554 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18555 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18556 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18557 (test-xfail-XPG3/termios.h/conform): Likewise.
18558 (test-xfail-XPG3/time.h/conform): Likewise.
18559 (test-xfail-XPG3/unistd.h/conform): Likewise.
18560 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18561 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18562 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18563 (test-xfail-XPG4/netdb.h/conform): Likewise.
18564 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18565 (test-xfail-XPG4/signal.h/conform): Likewise.
18566 (test-xfail-XPG4/stdio.h/conform): Likewise.
18567 (test-xfail-XPG4/stdlib.h/conform): Likewise.
18568 (test-xfail-XPG4/stropts.h/conform): Likewise.
18569 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18570 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18571 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18572 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18573 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18574 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18575 (test-xfail-XPG4/sys/time.h/conform): Likewise.
18576 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18577 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18578 (test-xfail-XPG4/termios.h/conform): Likewise.
18579 (test-xfail-XPG4/ucontext.h/conform): Likewise.
18580 (test-xfail-XPG4/unistd.h/conform): Likewise.
18581 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18582 (test-xfail-POSIX/sched.h/conform): Likewise.
18583 (test-xfail-POSIX/signal.h/conform): Likewise.
18584 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18585 (test-xfail-POSIX/tar.h/conform): Likewise.
18586 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18587 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18588 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18589 (test-xfail-UNIX98/netdb.h/conform): Likewise.
18590 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18591 (test-xfail-UNIX98/sched.h/conform): Likewise.
18592 (test-xfail-UNIX98/signal.h/conform): Likewise.
18593 (test-xfail-UNIX98/stdio.h/conform): Likewise.
18594 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18595 (test-xfail-UNIX98/stropts.h/conform): Likewise.
18596 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18597 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18598 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18599 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18600 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18601 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18602 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18603 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18604 (test-xfail-UNIX98/unistd.h/conform): Likewise.
18605 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18606 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18607 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18608 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18609 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18610 (test-xfail-XOPEN2K/math.h/conform): Likewise.
18611 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18612 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18613 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18614 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18615 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18616 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18617 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18618 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18619 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18620 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18621 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18622 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18623 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18624 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18625 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18626 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18627 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18628 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18629 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18630 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18631 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18632 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18633 (test-xfail-POSIX2008/signal.h/conform): Likewise.
18634 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18635 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18636 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18637 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18638 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18639 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18640 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18641 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18642 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18643 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18644 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18645 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18646 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18647 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18648 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18649 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18650 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18651 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18652 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18653 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18654 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18655 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18656 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18657 (conformtest-cc-flags): Likewise.
18658 ($(conformtest-header-tests): New target.
18659 * conform/check-header-lists.sh: New file.
18660 * conform/run-conformtest.sh: Remove.
18661
a00f522a
JM
18662 * conform/conformtest.pl: Allow ' and \ in values given for
18663 constants.
18664 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18665 inclusion.
18666 [POSIX] (sys/types.h): Likewise.
18667 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18668 inclusion.
18669 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18670 inclusion.
18671 * conform/data/signal.h-data (SIGIO): Remove expectation.
18672 [XPG3] (SIGBUS): Do not expect.
18673 [POSIX || XPG3] (SIGPOLL): Likewise.
18674 [POSIX || XPG3] (SIGPROF): Likewise.
18675 [POSIX || XPG3] (SIGSYS): Likewise.
18676 [XPG3] (SIGTRAP): Likewise.
18677 [POSIX || XPG3] (SIGURG): Likewise.
18678 [POSIX || XPG3] (SIGVTALRM): Likewise.
18679 [POSIX || XPG3] (SIGXCPU): Likewise.
18680 [POSIX || XPG3] (SIGXFSZ): Likewise.
18681 [POSIX] (SA_SIGINFO): Expect.
18682 [XPG3] (siginfo_t): Do not expect type or contents.
18683 [POSIX] (si_pid): Do not expect element.
18684 [POSIX] (si_uid): Likewise.
18685 [POSIX] (si_addr): Likewise.
18686 [POSIX] (si_status): Likewise.
18687 [POSIX] (si_band): Likewise.
18688 [XPG4] (si_value): Likewise.
18689 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18690 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18691 [POSIX || XPG3] (ILL_ILLADR): Likewise.
18692 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18693 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18694 [POSIX || XPG3] (ILL_PRVREG): Likewise.
18695 [POSIX || XPG3] (ILL_COPROC): Likewise.
18696 [POSIX || XPG3] (ILL_BADSTK): Likewise.
18697 [POSIX || XPG3] (FPE_INTDIV): Likewise.
18698 [POSIX || XPG3] (FPE_INTOVF): Likewise.
18699 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18700 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18701 [POSIX || XPG3] (FPE_FLTUND): Likewise.
18702 [POSIX || XPG3] (FPE_FLTRES): Likewise.
18703 [POSIX || XPG3] (FPE_FLTINV): Likewise.
18704 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18705 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18706 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18707 [POSIX || XPG3] (BUS_ADRALN): Likewise.
18708 [POSIX || XPG3] (BUS_ADRERR): Likewise.
18709 [POSIX || XPG3] (BUS_OBJERR): Likewise.
18710 [POSIX || XPG3] (CLD_EXITED): Likewise.
18711 [POSIX || XPG3] (CLD_KILLED): Likewise.
18712 [POSIX || XPG3] (CLD_DUMPED): Likewise.
18713 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18714 [POSIX || XPG3] (CLD_STOPPED): Likewise.
18715 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18716 [POSIX || XPG3] (POLL_IN): Likewise.
18717 [POSIX || XPG3] (POLL_OUT): Likewise.
18718 [POSIX || XPG3] (POLL_MSG): Likewise.
18719 [POSIX || XPG3] (POLL_ERR): Likewise.
18720 [POSIX || XPG3] (POLL_PRI): Likewise.
18721 [POSIX || XPG3] (POLL_HUP): Likewise.
18722 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18723 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18724 (SIG*): Do not allow.
18725 [XPG3] (si_*): Likewise.
18726 [XPG3] (SI_*): Likewise.
18727 [XPG3 || XPG4] (sigev_*): Likewise.
18728 [XPG3 || XPG4] (SIGEV_*): Likewise.
18729 [XPG3 || XPG4] (sival_*): Likewise.
18730 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18731 [POSIX || XPG3] (BUS_*): Likewise.
18732 [POSIX || XPG3] (CLD_*): Likewise.
18733 [POSIX || XPG3] (FPE_*): Likewise.
18734 [POSIX || XPG3] (ILL_*): Likewise.
18735 [POSIX || XPG3] (POLL_*): Likewise.
18736 [POSIX || XPG3] (SEGV_*): Likewise.
18737 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18738 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18739 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18740 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18741 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18742 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18743 Specify type and value.
18744 (TVERSLEN): Likewise.
18745 (REGTYPE): Likewise.
18746 (AREGTYPE): Likewise.
18747 (LNKTYPE): Likewise.
18748 (SYMTYPE): Likewise.
18749 (CHRTYPE): Likewise.
18750 (BLKTYPE): Likewise.
18751 (DIRTYPE): Likewise.
18752 (FIFOTYPE): Likewise.
18753 (CONTTYPE): Likewise.
18754 (TSUID): Likewise.
18755 (TSGID): Likewise.
18756 (TSVTX): Likewise.
18757 (TUREAD): Likewise.
18758 (TUWRITE): Likewise.
18759 (TUEXEC): Likewise.
18760 (TGREAD): Likewise.
18761 (TGWRITE): Likewise.
18762 (TGEXEC): Likewise.
18763 (TOREAD): Likewise.
18764 (TOWRITE): Likewise.
18765 (TOEXEC): Likewise.
18766 [POSIX] (TSVTX): Expect constant.
18767
aa97dee1
JM
187682014-03-06 Joseph Myers <joseph@codesourcery.com>
18769
f214606a
JM
18770 * Makefile (tests): Change dependencies to ....
18771 (tests-special): ... additions to this variable.
18772 (tests): Depend on $(tests-special).
18773 * Makerules (check-abi-list): New variable.
18774 (check-abi): Depend on $(check-abi-list).
18775 [$(subdir) = elf] (tests-special): Add
18776 $(objpfx)check-abi-libc.out.
18777 [$(build-shared) = yes && subdir] (tests-special): Add
18778 $(check-abi-list).
18779 [$(build-shared) = yes && subdir] (tests): Do not depend on
18780 check-abi.
18781 * Rules (tests): Depend on $(tests-special).
18782 (xtests): Depend on $(xtests-special).
18783 * catgets/Makefile (tests): Change dependencies to ....
18784 (tests-special): ... additions to this variable.
18785 * conform/Makefile (tests): Change dependencies to ....
18786 (tests-special): ... additions to this variable.
18787 * elf/Makefile (tests): Change dependencies to ....
18788 (tests-special): ... additions to this variable.
18789 * grp/Makefile (tests): Change dependencies to ....
18790 (tests-special): ... additions to this variable.
18791 * iconv/Makefile (xtests): Change dependencies to ....
18792 (xtests-special): ... additions to this variable.
18793 * iconvdata/Makefile (tests): Change dependencies to ....
18794 (tests-special): ... additions to this variable.
18795 * intl/Makefile (tests): Change dependencies to ....
18796 (tests-special): ... additions to this variable. Also add
18797 $(objpfx)tst-gettext.out.
18798 * io/Makefile (tests): Change dependencies to ....
18799 (tests-special): ... additions to this variable.
18800 * libio/Makefile (tests): Change dependencies to ....
18801 (tests-special): ... additions to this variable.
18802 * malloc/Makefile (tests): Change dependencies to ....
18803 (tests-special): ... additions to this variable.
18804 * misc/Makefile (tests): Change dependencies to ....
18805 (tests-special): ... additions to this variable.
18806 * nptl/Makefile (tests): Change dependencies to ....
18807 (tests-special): ... additions to this variable.
18808 * nptl_db/Makefile (tests): Change dependencies to ....
18809 (tests-special): ... additions to this variable.
18810 * posix/Makefile (tests): Change dependencies to ....
18811 (tests-special): ... additions to this variable.
18812 (xtests): Change dependencies to ....
18813 (xtests-special): ... additions to this variable.
18814 * resolv/Makefile (tests): Change dependencies to ....
18815 (tests-special): ... additions to this variable.
18816 (xtests): Change dependencies to ....
18817 (xtests-special): ... additions to this variable.
18818 * stdio-common/Makefile (tests): Change dependencies to ....
18819 (tests-special): ... additions to this variable.
18820 (do-tst-unbputc): Remove target.
18821 (do-tst-printf): Likewise.
18822 * stdlib/Makefile (tests): Change dependencies to ....
18823 (tests-special): ... additions to this variable.
18824 * string/Makefile (tests): Change dependencies to ....
18825 (tests-special): ... additions to this variable.
18826 * sysdeps/x86/Makefile (tests): Change dependencies to ....
18827 (tests-special): ... additions to this variable.
18828
81700b53
JM
18829 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18830 whole file.
18831 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18832 whole file.
18833 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18834 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18835
2ea18461
JM
18836 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18837 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18838 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18839 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18840 * conform/data/libgen.h-data [XPG3]: Likewise.
18841 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18842 * conform/data/ndbm.h-data [XPG3]: Likewise.
18843 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18844 * conform/data/netdb.h-data [XPG3]: Likewise.
18845 * conform/data/netinet/in.h-data [XPG3]: Likewise.
18846 * conform/data/poll.h-data [XPG3]: Likewise.
18847 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18848 * conform/data/strings.h-data [XPG3]: Likewise.
18849 * conform/data/stropts.h-data [XPG3]: Likewise.
18850 * conform/data/sys/mman.h-data [XPG3]: Likewise.
18851 * conform/data/sys/resource.h-data [XPG3]: Likewise.
18852 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18853 Likewise.
18854 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18855 * conform/data/sys/time.h-data [XPG3]: Likewise.
18856 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18857 * conform/data/sys/uio.h-data [XPG3]: Likewise.
18858 * conform/data/sys/un.h-data [XPG3]: Likewise.
18859 * conform/data/syslog.h-data [XPG3]: Likewise.
18860 * conform/data/ucontext.h-data [XPG3]: Likewise.
18861 * conform/data/utmpx.h-data [XPG3]: Likewise.
18862 * conform/data/varargs.h-data [UNIX98]: Enable file.
18863
355bc986
JM
18864 * manual/Makefile (INSTALL_INFO): Remove variable setting.
18865
215db402
JM
18866 * math/libm-test.inc (struct test_f_f_data): Move expected results
18867 into structure for each rounding mode.
18868 (struct test_ff_f_data): Likewise.
18869 (struct test_ff_f_data_nexttoward): Likewise.
18870 (struct test_fi_f_data): Likewise.
18871 (struct test_fl_f_data): Likewise.
18872 (struct test_if_f_data): Likewise.
18873 (struct test_fff_f_data): Likewise.
18874 (struct test_c_f_data): Likewise.
18875 (struct test_f_f1_data): Likewise.
18876 (struct test_fF_f1_data): Likewise.
18877 (struct test_ffI_f1_data): Likewise.
18878 (struct test_c_c_data): Likewise.
18879 (struct test_cc_c_data): Likewise.
18880 (struct test_f_i_data): Likewise.
18881 (struct test_ff_i_data): Likewise.
18882 (struct test_f_l_data): Likewise.
18883 (struct test_f_L_data): Likewise.
18884 (struct test_fFF_11_data): Likewise.
18885 (RM_): New macro.
18886 (RM_FE_DOWNWARD): Likewise.
18887 (RM_FE_TONEAREST): Likewise.
18888 (RM_FE_TOWARDZERO): Likewise.
18889 (RM_FE_UPWARD): Likewise.
18890 (RUN_TEST_LOOP_f_f): Update references to expected results.
18891 (RUN_TEST_LOOP_2_f): Likewise.
18892 (RUN_TEST_LOOP_fff_f): Likewise.
18893 (RUN_TEST_LOOP_c_f): Likewise.
18894 (RUN_TEST_LOOP_f_f1): Likewise.
18895 (RUN_TEST_LOOP_fF_f1): Likewise.
18896 (RUN_TEST_LOOP_fI_f1): Likewise.
18897 (RUN_TEST_LOOP_ffI_f1): Likewise.
18898 (RUN_TEST_LOOP_c_c): Likewise.
18899 (RUN_TEST_LOOP_cc_c): Likewise.
18900 (RUN_TEST_LOOP_f_i): Likewise.
18901 (RUN_TEST_LOOP_f_i_tg): Likewise.
18902 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18903 (RUN_TEST_LOOP_f_b): Likewise.
18904 (RUN_TEST_LOOP_f_b_tg): Likewise.
18905 (RUN_TEST_LOOP_f_l): Likewise.
18906 (RUN_TEST_LOOP_f_L): Likewise.
18907 (RUN_TEST_LOOP_fFF_11): Likewise.
18908 * math/gen-libm-test.pl (parse_args): Output four copies of
18909 expected results for each test.
18910
67737b8f
JM
18911 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18912 (__ASSUME_UTIMES): Remove.
18913 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18914 (__ASSUME_UTIMES): Likewise.
18915
aa97dee1
JM
18916 * math/gen-auto-libm-tests.c: Update comment on output format.
18917 (output_for_one_input_case): Generate before-rounding and
18918 after-rounding information as conditions on output flags not
18919 floating-point format.
18920 * math/auto-libm-test-out: Regenerated.
18921 * math/gen-libm-test.pl (cond_value): New function.
18922 (or_cond_value): Use cond_value.
18923 (generate_testfile): Handle conditional exceptions.
18924
e6b6a857
JM
189252014-03-05 Joseph Myers <joseph@codesourcery.com>
18926
2f0a0f44
JM
18927 * math/libm-test.inc (max_valid_error): New variable.
18928 (init_max_error): Take new argument specifying whether function
18929 results are exactly determined. Set max_valid_error and bound
18930 other variables for errors based on this argument.
18931 (set_max_error): Do not record results above max_valid_error.
18932 (check_float_internal): Only accept errors of up to 0.5ulps if
18933 also at most max_valid_error.
18934 (START): Take new argument EXACT and pass it to init_max_error.
18935 (acos_test): Update call to START.
18936 (acos_test_tonearest): Likewise.
18937 (acos_test_towardzero): Likewise.
18938 (acos_test_downward): Likewise.
18939 (acos_test_upward): Likewise.
18940 (acosh_test): Likewise.
18941 (asin_test): Likewise.
18942 (asin_test_tonearest): Likewise.
18943 (asin_test_towardzero): Likewise.
18944 (asin_test_downward): Likewise.
18945 (asin_test_upward): Likewise.
18946 (asinh_test): Likewise.
18947 (atan_test): Likewise.
18948 (atanh_test): Likewise.
18949 (atan2_test): Likewise.
18950 (cabs_test): Likewise.
18951 (cacos_test): Likewise.
18952 (cacosh_test): Likewise.
18953 (carg_test): Likewise.
18954 (casin_test): Likewise.
18955 (casinh_test): Likewise.
18956 (catan_test): Likewise.
18957 (catanh_test): Likewise.
18958 (cbrt_test): Likewise.
18959 (ccos_test): Likewise.
18960 (ccosh_test): Likewise.
18961 (ceil_test): Likewise.
18962 (cexp_test): Likewise.
18963 (cimag_test): Likewise.
18964 (clog_test): Likewise.
18965 (clog10_test): Likewise.
18966 (conj_test): Likewise.
18967 (copysign_test): Likewise.
18968 (cos_test): Likewise.
18969 (cos_test_tonearest): Likewise.
18970 (cos_test_towardzero): Likewise.
18971 (cos_test_downward): Likewise.
18972 (cos_test_upward): Likewise.
18973 (cosh_test): Likewise.
18974 (cosh_test_tonearest): Likewise.
18975 (cosh_test_towardzero): Likewise.
18976 (cosh_test_downward): Likewise.
18977 (cosh_test_upward): Likewise.
18978 (cpow_test): Likewise.
18979 (cproj_test): Likewise.
18980 (creal_test): Likewise.
18981 (csin_test): Likewise.
18982 (csinh_test): Likewise.
18983 (csqrt_test): Likewise.
18984 (ctan_test): Likewise.
18985 (ctan_test_tonearest): Likewise.
18986 (ctan_test_towardzero): Likewise.
18987 (ctan_test_downward): Likewise.
18988 (ctan_test_upward): Likewise.
18989 (ctanh_test): Likewise.
18990 (ctanh_test_tonearest): Likewise.
18991 (ctanh_test_towardzero): Likewise.
18992 (ctanh_test_downward): Likewise.
18993 (ctanh_test_upward): Likewise.
18994 (erf_test): Likewise.
18995 (erfc_test): Likewise.
18996 (exp_test): Likewise.
18997 (exp_test_tonearest): Likewise.
18998 (exp_test_towardzero): Likewise.
18999 (exp_test_downward): Likewise.
19000 (exp_test_upward): Likewise.
19001 (exp10_test): Likewise.
19002 (exp10_test_tonearest): Likewise.
19003 (exp10_test_towardzero): Likewise.
19004 (exp10_test_downward): Likewise.
19005 (exp10_test_upward): Likewise.
19006 (pow10_test): Likewise.
19007 (exp2_test): Likewise.
19008 (expm1_test): Likewise.
19009 (expm1_test_tonearest): Likewise.
19010 (expm1_test_towardzero): Likewise.
19011 (expm1_test_downward): Likewise.
19012 (expm1_test_upward): Likewise.
19013 (fabs_test): Likewise.
19014 (fdim_test): Likewise.
19015 (floor_test): Likewise.
19016 (fma_test): Likewise.
19017 (fma_test_towardzero): Likewise.
19018 (fma_test_downward): Likewise.
19019 (fma_test_upward): Likewise.
19020 (fmax_test): Likewise.
19021 (fmin_test): Likewise.
19022 (fmod_test): Likewise.
19023 (fpclassify_test): Likewise.
19024 (frexp_test): Likewise.
19025 (hypot_test): Likewise.
19026 (ilogb_test): Likewise.
19027 (isfinite_test): Likewise.
19028 (finite_test): Likewise.
19029 (isgreater_test): Likewise.
19030 (isgreaterequal_test): Likewise.
19031 (isinf_test): Likewise.
19032 (isless_test): Likewise.
19033 (islessequal_test): Likewise.
19034 (islessgreater_test): Likewise.
19035 (isnan_test): Likewise.
19036 (isnormal_test): Likewise.
19037 (issignaling_test): Likewise.
19038 (isunordered_test): Likewise.
19039 (j0_test): Likewise.
19040 (j1_test): Likewise.
19041 (jn_test): Likewise.
19042 (ldexp_test): Likewise.
19043 (lgamma_test): Likewise.
19044 (gamma_test): Likewise.
19045 (lrint_test): Likewise.
19046 (lrint_test_tonearest): Likewise.
19047 (lrint_test_towardzero): Likewise.
19048 (lrint_test_downward): Likewise.
19049 (lrint_test_upward): Likewise.
19050 (llrint_test): Likewise.
19051 (llrint_test_tonearest): Likewise.
19052 (llrint_test_towardzero): Likewise.
19053 (llrint_test_downward): Likewise.
19054 (llrint_test_upward): Likewise.
19055 (log_test): Likewise.
19056 (log10_test): Likewise.
19057 (log1p_test): Likewise.
19058 (log2_test): Likewise.
19059 (logb_test): Likewise.
19060 (logb_test_downward): Likewise.
19061 (lround_test): Likewise.
19062 (llround_test): Likewise.
19063 (modf_test): Likewise.
19064 (nearbyint_test): Likewise.
19065 (nextafter_test): Likewise.
19066 (nexttoward_test): Likewise.
19067 (pow_test): Likewise.
19068 (pow_test_tonearest): Likewise.
19069 (pow_test_towardzero): Likewise.
19070 (pow_test_downward): Likewise.
19071 (pow_test_upward): Likewise.
19072 (remainder_test): Likewise.
19073 (drem_test): Likewise.
19074 (remainder_test_tonearest): Likewise.
19075 (drem_test_tonearest): Likewise.
19076 (remainder_test_towardzero): Likewise.
19077 (drem_test_towardzero): Likewise.
19078 (remainder_test_downward): Likewise.
19079 (drem_test_downward): Likewise.
19080 (remainder_test_upward): Likewise.
19081 (drem_test_upward): Likewise.
19082 (remquo_test): Likewise.
19083 (rint_test): Likewise.
19084 (rint_test_tonearest): Likewise.
19085 (rint_test_towardzero): Likewise.
19086 (rint_test_downward): Likewise.
19087 (rint_test_upward): Likewise.
19088 (round_test): Likewise.
19089 (scalb_test): Likewise.
19090 (scalbn_test): Likewise.
19091 (scalbln_test): Likewise.
19092 (signbit_test): Likewise.
19093 (sin_test): Likewise.
19094 (sin_test_tonearest): Likewise.
19095 (sin_test_towardzero): Likewise.
19096 (sin_test_downward): Likewise.
19097 (sin_test_upward): Likewise.
19098 (sincos_test): Likewise.
19099 (sinh_test): Likewise.
19100 (sinh_test_tonearest): Likewise.
19101 (sinh_test_towardzero): Likewise.
19102 (sinh_test_downward): Likewise.
19103 (sinh_test_upward): Likewise.
19104 (sqrt_test): Likewise.
19105 (sqrt_test_tonearest): Likewise.
19106 (sqrt_test_towardzero): Likewise.
19107 (sqrt_test_downward): Likewise.
19108 (sqrt_test_upward): Likewise.
19109 (tan_test): Likewise.
19110 (tan_test_tonearest): Likewise.
19111 (tan_test_towardzero): Likewise.
19112 (tan_test_downward): Likewise.
19113 (tan_test_upward): Likewise.
19114 (tanh_test): Likewise.
19115 (tgamma_test): Likewise.
19116 (trunc_test): Likewise.
19117 (y0_test): Likewise.
19118 (y1_test): Likewise.
19119 (yn_test): Likewise.
19120 (significand_test): Likewise.
19121
e6b6a857
JM
19122 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19123 individual tests in comment.
19124 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19125 (prev_max_error): New variable.
19126 (prev_real_max_error): Likewise.
19127 (prev_imag_max_error): Likewise.
19128 (compare_ulp_data): Don't refer to test names in comment.
19129 (find_test_ulps): Remove function.
19130 (find_function_ulps): Likewise.
19131 (find_complex_function_ulps): Likewise.
19132 (init_max_error): Take function name as argument. Look up ulps
19133 for that function.
19134 (print_ulps): Remove function.
19135 (print_max_error): Use prev_max_error instead of calling
19136 find_function_ulps.
19137 (print_complex_max_error): Use prev_real_max_error and
19138 prev_imag_max_error instead of calling find_complex_function_ulps.
19139 (check_float_internal): Take max_ulp parameter instead of calling
19140 find_test_ulps. Don't call print_ulps.
19141 (check_float): Update call to check_float_internal.
19142 (check_complex): Update calls to check_float_internal.
19143 (START): Pass argument to init_max_error.
19144 * math/gen-libm-test.pl (%results): Don't include "kind"
19145 information.
19146 (parse_ulps): Don't handle ulps of individual tests.
19147 (print_ulps_file): Likewise.
19148 (output_ulps): Likewise.
19149 * math/README.libm-test: Update.
19150 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19151 individual tests.
19152 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19153 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19154 * sysdeps/arm/libm-test-ulps: Likewise.
19155 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19156 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19157 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19158 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19159 * sysdeps/microblaze/libm-test-ulps: Likewise.
19160 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19161 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19163 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19164 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19165 * sysdeps/sh/libm-test-ulps: Likewise.
19166 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19167 * sysdeps/tile/libm-test-ulps: Likewise.
19168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19169
45adef3c
JM
191702014-03-04 Joseph Myers <joseph@codesourcery.com>
19171
19172 * math/libm-test.inc (print_complex_max_error): Check separately
19173 whether real and imaginary errors are within allowed range and
19174 pass 0 to print_complex_function_ulps instead of value within
19175 allowed range.
19176
000232b9
SP
191772014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19178
d4b17258
SP
19179 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19180 formatting.
19181 (get_handles_fopen): Likewise.
19182 (do_write_test): Likewise.
19183
091eff71
SP
19184 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19185
fa3cd248
SP
19186 * libio/fileops.c (do_ftell): Use cached offset when
19187 available.
19188 * libio/iofwide.c (do_ftell_wide): Likewise.
19189 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19190 _IO_file_attach.
19191 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19192
000232b9
SP
19193 [BZ #16532]
19194 * libio/libioP.h (get_file_offset): New function.
19195 * libio/fileops.c (get_file_offset): Likewise.
19196 (do_ftell): Likewise.
19197 (_IO_new_file_seekoff): Split out ftell logic.
19198 * libio/wfileops.c (do_ftell_wide): Likewise.
19199 (_IO_wfile_seekoff): Split out ftell logic.
19200 * libio/tst-ftell-active-handler.c: New test case.
19201 * libio/Makefile (tests): Add it.
19202
116f4d1a
RM
192032014-03-03 Roland McGrath <roland@hack.frob.com>
19204
19205 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19206 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19207
532a6035
SP
192082014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19209
19210 [BZ #16639]
19211 * nscd/connections.c (nscd_init): Call do_exit.
19212 (start_threads): Call do_exit and notify_parent.
19213 (begin_drop_privileges): Call do_exit.
19214 (finish_drop_privileges): Likewise.
19215 * nscd/selinux.c (preserve_capabilities): Likewise.
19216 (install_real_capabilities): Likewise.
19217 (nscd_selinux_enabled): Likewise.
19218 (avc_create_thread): Likewise.
19219 (avc_alloc_lock): Likewise.
19220 (nscd_avc_init): Likewise.
19221 * nscd/nscd.c (parent_fd): New static variable.
19222 (main): Create a pipe between parent and child processes.
19223 Skip closing parent_fd.
19224 (monitor_child): New function.
19225 (do_exit): Likewise.
19226 (notify_parent): Likewise.
19227 * nscd/nscd.h (notify_parent): Likewise.
19228 (do_exit): Likewise.
19229
d6285c9f
CD
192302014-03-03 Carlos O'Donell <carlos@redhat.com>
19231
19232 * malloc/malloc.c (__libc_calloc): Revert last change.
19233
2b85d2a0
AZ
192342014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19235
19236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19237
c7debbdf
RS
192382014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19239
19240 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19242 implementation.
19243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19244 (__libc_ifunc_impl_list): Likewise.
19245 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19246 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19247 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19248 * string/strrchr.c: Define STRRCHR.
19249
235eed86
OB
192502014-02-28 Ondřej Bílka <neleai@seznam.cz>
19251
19252 * benchtest/bench-strtok.c (simple_strtok): Delete.
19253 (strtok_string): Use as benchmark.
19254 * string/strtok (STRTOK): New macro.
19255
8e25d1e7
CD
192562014-02-28 Carlos O'Donell <carlos@redhat.com>
19257
ef563f92
CD
19258 * manual/threads.texi: Add header and standard comments to all
19259 functions.
19260
8e25d1e7
CD
19261 * elf/dl-lookup.c (check_match): New function.
19262 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19263 (do_lookup_x): Remove nested function check_match. Use non-nested
19264 function check_match.
19265
ff71cc37
RM
192662014-02-28 Roland McGrath <roland@hack.frob.com>
19267
f08e9a26
RM
19268 * csu/Makefile (generated, before-compile): Use += rather than =.
19269 * catgets/Makefile (generated, generated-dirs): Likewise.
19270 * debug/Makefile (generated): Likewise.
19271 * dlfcn/Makefile (generated): Likewise.
19272 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19273 * iconvdata/Makefile (before-compile, generated): Likewise.
19274 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19275 * libio/Makefile (generated): Likewise.
19276 * malloc/Makefile (generated): Likewise.
19277 * manual/Makefile (generated, generated-dirs): Likewise.
19278 * misc/Makefile (generated): Likewise.
19279 * posix/Makefile (generated): Likewise.
19280 * resolv/Makefile (generated): Likewise.
19281 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19282 * timezone/Makefile (generated, generated-dirs): Likewise.
19283
ff71cc37
RM
19284 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19285
fe13a20c
AZ
192862014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19287
57f41c40
AS
19288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19289 power8 implementation.
19290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19291 file: POWER8 llround ifunc implementation.
19292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19293 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
19294 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19295 POWER8 llround implementation.
19296
57f41c40
AS
19297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19298 power8 implementation.
19299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19300 file: POWER8 llrint ifunc implementation.
19301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19302 Add POWER8 implementation.
1ad8950a
AZ
19303 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19304 POWER8 llrint implementation.
19305
57f41c40
AS
19306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19307 power8 implementation.
19308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19309 file: POWER8 finite ifunc implementation.
19310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19311 Add POWER8 implementation.
cac626d6
AZ
19312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19313 Likewise.
19314 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19315 POWER8 finite implementation.
19316 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19317
57f41c40
AS
19318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19319 power8 implementation.
19320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19321 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
19322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19323 POWER8 implementation.
19324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19325 Likewise.
57f41c40
AS
19326 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19327 isinf implementation.
4393fc11
AZ
19328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19329
57f41c40
AS
19330 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19331 (INIT_ARCH): Add hwcap2 initialization.
19332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19333 power8 implementation.
19334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19335 file: POWER8 isnan ifunc implementation.
487972ae
AZ
19336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19337 POWER8 implementation.
19338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19339 Likewise.
57f41c40
AS
19340 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19341 isnan implementation.
487972ae
AZ
19342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19343
7d92b787
JY
193442014-02-27 Joey Ye <joey.ye@arm.com>
19345
19346 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19347 (_FP_NANFRAC_Q): Set to zero.
19348
1cadc858
SP
193492014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19350
19351 [BZ #16623]
19352 * math/auto-libm-test-in: New test inputs.
19353 * math/auto-libm-test-out: Regenerate.
19354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19355 and DA.
19356 (__cos): Likewise.
19357 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19358
f8c17e79
JM
193592014-02-27 Joseph Myers <joseph@codesourcery.com>
19360
19361 * scripts/evaluate-test.sh: Take new argument indicating whether
19362 failure is expected.
19363 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19364 indicating whether failure is expected.
19365 * conform/Makefile (test-xfail-run-conformtest): New variable.
19366 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19367 level.
19368 * posix/Makefile (test-xfail-annexc): New variable.
19369 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19370
a5f891ac
JM
193712014-02-26 Joseph Myers <joseph@codesourcery.com>
19372
19373 * argp/Makefile: Include Makeconfig immediately after defining
19374 subdir.
19375 * assert/Makefile: Likewise.
19376 * benchtests/Makefile: Likewise.
19377 * catgets/Makefile: Likewise.
19378 * conform/Makefile: Likewise.
19379 * crypt/Makefile: Likewise.
19380 * csu/Makefile: Likewise.
19381 (all): Remove target.
19382 * ctype/Makefile: Include Makeconfig immediately after defining
19383 subdir.
19384 * debug/Makefile: Likewise.
19385 * dirent/Makefile: Likewise.
19386 * dlfcn/Makefile: Likewise.
19387 * gmon/Makefile: Likewise.
19388 * gnulib/Makefile: Likewise.
19389 * grp/Makefile: Likewise.
19390 * gshadow/Makefile: Likewise.
19391 * hesiod/Makefile: Likewise.
19392 * hurd/Makefile: Likewise.
19393 (all): Remove target.
19394 * iconvdata/Makefile: Include Makeconfig immediately after
19395 defining subdir.
19396 * inet/Makefile: Likewise.
19397 * intl/Makefile: Likewise.
19398 * io/Makefile: Likewise.
19399 * libio/Makefile: Likewise.
19400 (all): Remove target.
19401 * locale/Makefile: Include Makeconfig immediately after defining
19402 subdir.
19403 * login/Makefile: Likewise.
19404 * mach/Makefile: Likewise.
19405 (all): Remove target.
19406 * malloc/Makefile: Include Makeconfig immediately after defining
19407 subdir.
19408 (all): Remove target.
19409 * manual/Makefile: Include Makeconfig immediately after defining
19410 subdir.
19411 * math/Makefile: Likewise.
19412 * misc/Makefile: Likewise.
19413 * nis/Makefile: Likewise.
19414 * nss/Makefile: Likewise.
19415 * po/Makefile: Likewise.
19416 (all): Remove target.
19417 * posix/Makefile: Include Makeconfig immediately after defining
19418 subdir.
19419 * pwd/Makefile: Likewise.
19420 * resolv/Makefile: Likewise.
19421 * resource/Makefile: Likewise.
19422 * rt/Makefile: Likewise.
19423 * setjmp/Makefile: Likewise.
19424 * shadow/Makefile: Likewise.
19425 * signal/Makefile: Likewise.
19426 * socket/Makefile: Likewise.
19427 * soft-fp/Makefile: Likewise.
19428 * stdio-common/Makefile: Likewise.
19429 * stdlib/Makefile: Likewise.
19430 * streams/Makefile: Likewise.
19431 * string/Makefile: Likewise.
19432 * sunrpc/Makefile: Likewise.
19433 (all): Remove target.
19434 * sysvipc/Makefile: Include Makeconfig immediately after defining
19435 subdir.
19436 * termios/Makefile: Likewise.
19437 * time/Makefile: Likewise.
19438 * timezone/Makefile: Likewise.
19439 (all): Remove target.
19440 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19441 subdir.
19442 * wctype/Makefile: Likewise.
19443
5b456e9d
SE
194442014-02-26 Steve Ellcey <sellcey@mips.com>
19445
19446 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19447 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19448 (libc_feholdexcept_setround_mips): Ditto.
19449 (libc_feholdsetround): New.
19450 (libc_feholdsetroundf): New.
19451 (libc_feholdsetroundl): New.
19452 (libc_feupdateenv_test_mips): New.
19453 (libc_feupdateenv_test): New.
19454 (libc_feupdateenv_testf): New.
19455 (libc_feupdateenv_testl): New.
19456 (libc_feresetround): New.
19457 (libc_feresetroundf): New.
19458 (libc_feresetroundl): New.
19459 (libc_fetestexcept_mips): New.
19460 (libc_fetestexcept): New.
19461 (libc_fetestexceptf): New.
19462 (libc_fetestexceptl): New.
19463 (HAVE_RM_CTX): New.
19464 (libc_feholdexcept_setround_mips_ctx): New.
19465 (libc_feholdexcept_setround_ctx): New.
19466 (libc_feholdexcept_setroundf_ctx): New.
19467 (libc_feholdexcept_setroundl_ctx): New.
19468 (libc_fesetenv_mips_ctx): New.
19469 (libc_fesetenv_ctx): New.
19470 (libc_fesetenv_ctxf): New.
19471 (libc_fesetenv_ctxl): New.
19472 (libc_feupdateenv_mips_ctx): New.
19473 (libc_feupdateenv_ctx): New.
19474 (libc_feupdateenvf_ctx): New.
19475 (libc_feupdateenvl_ctx): New.
19476 (libc_feholdsetround_mips_ctx): New.
19477 (libc_feholdsetround_ctx): New.
19478 (libc_feholdsetroundf_ctx): New.
19479 (libc_feholdsetroundl_ctx): New.
19480 (libc_feresetround_mips_ctx): New.
19481 (libc_feresetround_ctx): New.
19482 (libc_feresetroundf_ctx): New.
19483 (libc_feresetroundl_ctx): New.
19484
085d0e35
CD
194852014-02-26 Carlos O'Donell <carlos@redhat.com>
19486
f067bf1f
CD
19487 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19488
085d0e35
CD
19489 * manual/ipc.texi: New file.
19490 * manual/Makefile (chapters): Add ipc.
19491 * manual/job.texi: Add "Inter-Process Communication" to next.
19492 * manual/process.texi: Add "Inter-Process Communication" to prev.
19493
86e58c08
AZ
194942014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19495
19496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19497
4248f0da
OB
194982014-02-26 Ondřej Bílka <neleai@seznam.cz>
19499
19500 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19501
cf822e3c
OB
19502 * manual/arith.texi: Fix spaces after sentences.
19503 * manual/charset.texi: Likewise.
19504 * manual/errno.texi: Likewise.
19505 * manual/install.texi: Likewise.
19506 * manual/llio.texi: Likewise.
19507 * manual/locale.texi: Likewise.
19508 * manual/maint.texi: Likewise.
19509 * manual/math.texi: Likewise.
19510 * manual/memory.texi: Likewise.
19511 * manual/message.texi: Likewise.
19512 * manual/probes.texi: Likewise.
19513 * manual/resource.texi: Likewise.
19514 * manual/signal.texi: Likewise.
19515 * manual/socket.texi: Likewise.
19516 * manual/stdio.texi: Likewise.
19517 * manual/string.texi: Likewise.
19518 * manual/time.texi: Likewise.
19519 * manual/users.texi: Likewise.
19520
ade40b10
CD
195212014-02-25 Carlos O'Donell <carlos@redhat.com>
19522
19523 [BZ #16632]
19524 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19525 _DEFAULT_SOURCE is defined.
19526
d0503676
CD
195272014-02-25 Ulrich Drepper <drepper@gmail.com>
19528 Carlos O'Donell <carlos@redhat.com>
19529
19530 [BZ #16613]
19531 * elf/dl-tls.c (_dl_count_modids): New function.
19532 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19533 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19534 audit library and increment generation counter.
19535 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19536 * elf/tst-audit9.c: New file.
19537 * elf/tst-auditmod9a.c: New file.
19538 * elf/tst-auditmod9b.c: New file.
19539 * elf/Makefile: Add rules to build and run tst-audit9.
19540
4cbf380c
FW
195412014-02-25 Florian Weimer <fweimer@redhat.com>
19542
19543 [BZ #15347]
19544 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19545
80a56cc3
WN
195462014-02-25 Will Newton <will.newton@linaro.org>
19547
19548 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19549 (__longjmp): Restore sp and lr before restoring callee
19550 saved registers. Add longjmp and longjmp_target
19551 SystemTap probe point.
19552 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19553 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19554 Define to zero to match jmpbuf layout.
19555 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19556 (__sigsetjmp): Save sp and lr before saving callee
19557 saved registers. Add setjmp SystemTap probe point.
19558
3ea0f74e
SL
195592014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19560
19561 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19562
b04acb26
AS
195632014-02-24 Andreas Schwab <schwab@suse.de>
19564
19565 [BZ #15804]
19566 * elf/pldd.c (wait_for_ptrace_stop): New function.
19567 (main): Call it after attaching.
19568
098ad55c
RM
195692014-02-22 Roland McGrath <roland@hack.frob.com>
19570
d4ec6ae1
RM
19571 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19572 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19573 Versions files is now verboten.
19574 * hurd/Versions (libc: GLIBC_2.0):
19575 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19576 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19577 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19578 * mach/Versions: Likewise.
19579
098ad55c
RM
19580 * csu/Versions: Remove unused %include.
19581 * resolv/Versions: Likewise.
19582
acd7f096
JM
195832014-02-21 Joseph Myers <joseph@codesourcery.com>
19584
f0881698
JM
19585 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19586 ($(objpfx)check-local-headers.out): Likewise.
19587 ($(objpfx)begin-end-check.out): Likewise.
19588 * Makerules (check-abi-%.out): Likewise.
19589 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19590 ($(objpfx)test2.cat): Likewise.
19591 ($(objpfx)de/libc.cat): Likewise.
19592 ($(objpfx)test-gencat.out): Likewise.
19593 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19594 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19595 ($(objpfx)noload-mem): Likewise.
19596 ($(objpfx)tst-pathopt.out): Likewise.
19597 ($(objpfx)tst-rtld-load-self.out): Likewise.
19598 ($(objpfx)tst-array1-cmp.out): Likewise.
19599 ($(objpfx)tst-array1-static-cmp.out): Likewise.
19600 ($(objpfx)tst-array2-cmp.out): Likewise.
19601 ($(objpfx)tst-array3-cmp.out): Likewise.
19602 ($(objpfx)tst-array4-cmp.out): Likewise.
19603 ($(objpfx)tst-array5-cmp.out): Likewise.
19604 ($(objpfx)tst-array5-static-cmp.out): Likewise.
19605 ($(objpfx)check-textrel.out): Likewise.
19606 ($(objpfx)check-execstack.out): Likewise.
19607 ($(objpfx)check-localplt.out): Likewise.
19608 ($(objpfx)order2-cmp.out): Likewise.
19609 ($(objpfx)tst-leaks1-mem): Likewise.
19610 ($(objpfx)tst-leaks1-static-mem): Likewise.
19611 ($(objpfx)tst-initorder-cmp.out): Likewise.
19612 ($(objpfx)tst-initorder2-cmp.out): Likewise.
19613 ($(objpfx)tst-unused-dep.out): Likewise.
19614 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19615 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19616 * iconv/Makefile (test-iconvconfig): Likewise.
19617 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19618 ($(objpfx)iconv-test.out): Likewise.
19619 ($(objpfx)tst-tables.out): Likewise.
19620 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19621 ($(objpfx)tst-gettext.out): Likewise.
19622 ($(objpfx)tst-translit.out): Likewise.
19623 ($(objpfx)tst-gettext2.out): Likewise.
19624 ($(objpfx)tst-gettext4.out): Likewise.
19625 ($(objpfx)tst-gettext6.out): Likewise.
19626 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19627 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19628 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19629 ($(objpfx)tst-fopenloc-mem.out): Likewise.
19630 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19631 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19632 * posix/Makefile ($(objpfx)globtest.out): Likewise.
19633 ($(objpfx)wordexp-tst.out): Likewise.
19634 ($(objpfx)annexc.out): Likewise.
19635 ($(objpfx)tst-fnmatch-mem): Likewise.
19636 ($(objpfx)bug-regex2-mem): Likewise.
19637 ($(objpfx)bug-regex14-mem): Likewise.
19638 ($(objpfx)bug-regex21-mem): Likewise.
19639 ($(objpfx)bug-regex31-mem): Likewise.
19640 ($(objpfx)tst-vfork3-mem): Likewise.
19641 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19642 ($(objpfx)tst-pcre-mem): Likewise.
19643 ($(objpfx)tst-boost-mem): Likewise.
19644 ($(objpfx)tst-getconf.out): Likewise.
19645 ($(objpfx)bug-ga2-mem): Likewise.
19646 ($(objpfx)bug-glob2-mem): Likewise.
19647 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19648 ($(objpfx)mtrace-tst-leaks2): Likewise.
19649 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19650 ($(objpfx)tst-printf.out): Likewise.
19651 ($(objpfx)tst-setvbuf1.out): Likewise.
19652 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19653 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19654 ($(objpfx)tst-fmtmsg.out): Likewise.
19655 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19656 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19657
acd7f096
JM
19658 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19659 * bits/sigaction.h [__USE_MISC]: Likewise.
19660 * bits/waitstatus.h: Update #endif comments.
19661 * ctype/ctype.h: Likewise.
19662 * dirent/dirent.h: Likewise.
19663 [__USE_MISC]: Remove redundant conditionals.
19664 * grp/grp.h: Update #endif comments.
19665 [__USE_GNU]: Remove redundant conditionals.
19666 [__USE_MISC]: Likewise.
19667 * inet/netinet/in.h [__USE_GNU]: Likewise.
19668 * io/sys/stat.h [__USE_MISC]: Likewise.
19669 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19670 * libio/bits/stdio.h: Update #endif comments.
19671 [__USE_MISC]: Remove redundant conditionals.
19672 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19673 * libio/stdio.h: Update #endif comments.
19674 [__USE_MISC]: Remove redundant conditionals.
19675 * math/bits/math-finite.h [__USE_MISC]: Likewise.
19676 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19677 * math/math.h: Update #else and #endif comments.
19678 [__USE_MISC]: Remove redundant conditionals.
19679 * misc/sys/uio.h: Update #endif comments.
19680 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19681 * posix/glob.h [__USE_MISC]: Likewise.
19682 * posix/sys/types.h: Update #endif comments.
19683 [__USE_MISC]: Remove redundant conditionals.
19684 * posix/sys/wait.h: Update #endif comments.
19685 [__USE_MISC]: Remove redundant conditionals.
19686 * posix/unistd.h: Update #endif comments.
19687 [__USE_MISC]: Remove redundant conditionals.
19688 * pwd/pwd.h [__USE_GNU]: Likewise.
19689 [__USE_MISC]: Likewise.
19690 * resolv/netdb.h [__USE_GNU]: Likewise.
19691 * signal/signal.h: Update #endif comments.
19692 [__USE_MISC]: Remove redundant conditionals.
19693 * stdlib/stdlib.h: Update #else and #endif comments.
19694 [__USE_MISC]: Remove redundant conditionals.
19695 [__USE_GNU]: Likewise.
19696 * string/bits/string2.h [__USE_MISC]: Likewise.
19697 * string/string.h: Update #endif comments.
19698 [__USE_MISC]: Remove redundant conditionals.
19699 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19700 Likewise.
19701 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19702 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19703 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19704 Likewise.
19705 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19706 Likewise.
19707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19708 comments.
19709 [__USE_MISC]: Remove redundant conditionals.
19710 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19711 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19712 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19713 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19714 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19715 Likewise.
19716 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19717 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19718 Likewise.
19719 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19720 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19721 Likewise.
19722 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19723 Likewise.
19724 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19725 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19726 Likewise.
19727 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19728 Likewise.
19729 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19730 * sysdeps/x86/bits/string.h: Update #endif comments.
19731 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19732 conditionals.
19733 * time/sys/time.h: Update #endif comments.
19734 * time/time.h: Likewise.
19735 [__USE_MISC]: Remove redundant conditionals.
19736
a5d82e4e
YG
197372014-02-21 Yury Gribov <y.gribov@samsung.com>
19738
19739 [BZ #16600]
19740 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19741
9a80491d
AS
197422014-02-21 Andreas Schwab <schwab@linux-m68k.org>
19743
19744 * Versions.def (librt): Add GLIBC_2.17.
19745
105fa381
AC
197462014-02-21 Adam Conrad <adconrad@0c3.net>
19747
19748 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19749 synonym for _SYS_AUXV_H to allow direct inclusion.
19750 * sysdeps/sparc/bits/hwcap.h: Likewise.
19751 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19752 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19753 * sysdeps/sparc/sysdep.h: Likewise.
19754
b8cd1c4e
SP
197552014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19756
19757 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19758
bd939d23
RS
197592014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19760
19761 * benchtests/bench-strrchr.c: Print length instead of position.
19762
5d7b57ca
JM
197632014-02-20 Joseph Myers <joseph@codesourcery.com>
19764
bc688c10
JM
19765 [BZ #16611]
19766 * sysdeps/unix/sysv/linux/kernel-features.h
19767 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19768 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19769 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19770 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19771 Likewise.
19772 [__i386__ || __powerpc__ || __sh__ || __sparc__]
19773 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19774 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19775 (__ASSUME_SENDMMSG): Define instead of using previous
19776 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19777 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19778 (__ASSUME_SENDMMSG_SYSCALL): Define.
19779 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19780 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19781 Likewise.
19782 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19783 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19784 Likewise.
19785 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19786 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19787 Likewise.
19788 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19789 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19790 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19791 [__ASSUME_SENDMMSG]: Change conditionals to
19792 [__ASSUME_SENDMMSG_SOCKETCALL].
19793 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19794 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19795 Define.
19796 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19797 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19798 Likewise.
19799 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19800 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19801 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19802 [!__ASSUME_SENDMMSG]: Change conditional to
19803 [!__ASSUME_SENDMMSG_SOCKETCALL].
19804 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19805 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19806 Define.
19807
0e31b18c
JM
19808 [BZ #16610]
19809 * sysdeps/unix/sysv/linux/kernel-features.h
19810 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19811 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19812 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19813 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19814 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19815 [__i386__ || __sparc__]
19816 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19817 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19818 (__ASSUME_RECVMMSG): Define instead of using previous
19819 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19820 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19821 (__ASSUME_RECVMMSG_SYSCALL): Define.
19822 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19823 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19824 Likewise.
19825 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19826 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19827 Likewise.
19828 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19829 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19830 Likewise.
19831 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19832 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19833 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19834 [__ASSUME_RECVMMSG]: Change condition to
19835 [__ASSUME_RECVMMSG_SOCKETCALL].
19836 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19837 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19838 Define.
19839 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19840 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19842 Likewise.
19843 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19844 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19845 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19846 [!__ASSUME_RECVMMSG]: Change condition to
19847 [!__ASSUME_RECVMMSG_SOCKETCALL].
19848 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19849 (__ASSUME_RECVMMSG_SYSCALL): Define.
19850
dd481ccf
JM
19851 [BZ #16609]
19852 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19853 __powerpc__ || __s390__ || __sh__ || __sparc__]
19854 (__ASSUME_SOCKETCALL): Define.
19855 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19856 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19857 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19858 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19859 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19860 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19861 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19862 (__ASSUME_ACCEPT4): Define instead of using previous
19863 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19864 __powerpc__ || __sparc__ || __s390__)] condition.
19865 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19866 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19867 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19868 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19869 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19870 [!__ASSUME_ACCEPT4]: Change condition to
19871 [!__ASSUME_ACCEPT4_SOCKETCALL].
19872 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19873 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
19874 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19875 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19876 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19877 __ASSUME_ACCEPT4_SYSCALL.
19878 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19879 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19880 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19881 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19882 __ASSUME_ACCEPT4_SYSCALL.
19883 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19884 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19885 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19886 [__ASSUME_ACCEPT4]: Change condition to
19887 [__ASSUME_ACCEPT4_SOCKETCALL].
19888 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19889 (__ASSUME_SOCKETCALL): Define.
19890 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19892 (__ASSUME_SOCKETCALL): Define.
19893 (__ASSUME_ACCEPT4): Remove.
19894 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19895 Define.
19896 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19897 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19898 Likewise.
19899 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19900 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19901
5d7b57ca
JM
19902 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19903 macro.
19904 (HWCAP_ARM_LPAE): Likewise.
19905 (HWCAP_ARM_EVTSTRM): Likewise.
19906 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19907 Add vpfd32, lpae and evtstrm.
19908 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19909 Increase to 22.
19910
63689d61
JM
199112014-02-19 Joseph Myers <joseph@codesourcery.com>
19912
19913 * math/auto-libm-test-in: Add tests of clog10.
19914 * math/auto-libm-test-out: Regenerated.
19915 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19916 * sysdeps/i386/fpu/libm-test-ulps: Update.
19917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19918
ab09bf61
AS
199192014-02-18 Andreas Schwab <schwab@suse.de>
19920
19921 [BZ #16574]
19922 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19923 Store non-zero if the second buffer was newly allocated.
19924 (send_dg): Likewise.
19925 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19926 to send_vc and send_dg.
19927 (res_nsend): Pass NULL for ansp2_malloced.
19928 * resolv/res_query.c (__libc_res_nquery): Add parameter
19929 answerp2_malloced and pass it down to __libc_res_nsend.
19930 (res_nquery): Pass additional NULL to __libc_res_nquery.
19931 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19932 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
19933 second answer buffer if answerp2_malloced was set.
19934 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19935 (__libc_res_nquerydomain): Add parameter
19936 answerp2_malloced and pass it down to __libc_res_nquery.
19937 (res_nquerydomain): Pass additional NULL to
19938 __libc_res_nquerydomain.
19939 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19940 additional NULL to __libc_res_nsend and __libc_res_nquery.
19941 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19942 additional NULL to __libc_res_nsearch.
19943 (_nss_dns_gethostbyname4_r): Revert last change. Use new
19944 parameter of __libc_res_nsearch to check for separately allocated
19945 second buffer.
19946 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19947 __libc_res_nquery.
19948 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19949 additional NULL to __libc_res_nquery.
19950 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19951 __libc_res_nsearch.
19952 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19953 * include/resolv.h: Update prototypes of __libc_res_nquery,
19954 __libc_res_nsearch, __libc_res_nsend.
19955
a4fb7861
JM
199562014-02-18 Joseph Myers <joseph@codesourcery.com>
19957
c6af2d89
JM
19958 * math/auto-libm-test-in: Add tests of fma.
19959 * math/auto-libm-test-out: Regenerated.
19960 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19961 (fma_towardzero_test_data): Likewise.
19962 (fma_downward_test_data): Likewise.
19963 (fma_upward_test_data): Likewise.
19964 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19965 mpc_mode.
19966 (rounding_modes): Add values for new field.
19967 (func_calc_method): Add value mpfr_fff_f.
19968 (func_calc_desc): Add mpfr_fff_f union field.
19969 (test_function): Add field exact_args.
19970 (FUNC): Add macro argument EXACT_ARGS.
19971 (FUNC_mpfr_f_f): Update call to FUNC.
19972 (FUNC_mpfr_f_f): Likewise.
19973 (FUNC_mpfr_ff_f): Likewise.
19974 (FUNC_mpfr_if_f): Likewise.
19975 (FUNC_mpc_c_f): Likewise.
19976 (FUNC_mpc_c_c): Likewise.
19977 (test_functions): Add fma. Update calls to FUNC.
19978 (handle_input_arg): Add argument exact_args.
19979 (add_test): Update call to handle_input_arg.
19980 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19981 (output_for_one_input_case): Update call to calc_generic_results.
19982 Recalculate exact zero results in each rounding mode.
19983
a4fb7861
JM
19984 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19985 non-negative before setting low bit.
19986 * math/auto-libm-test-in: Mark one asin test possibly having
19987 spurious underflow.
19988 * math/auto-libm-test-out: Regenerated.
19989 * sysdeps/i386/fpu/libm-test-ulps: Update.
19990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19991
ef114eaf
DH
199922014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
19993
2b7f4f2c
SP
19994 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19995 * sysdeps/unix/sysv/linux/microblaze: Move directory from
19996 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
19997 * README: Add missing listing for microblaze*-*-linux-gnu.
19998
8125aedc
AM
199992014-02-16 Ondřej Bílka <neleai@seznam.cz>
20000
20001 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20002 duplicate code
20003
c70a4b1d
MF
200042014-02-16 Mike Frysinger <vapier@gentoo.org>
20005
20006 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20007 * sysdeps/unix/sysv/linux/ia64: Move directory from
20008 ports/sysdeps/unix/sysv/linux/ia64.
20009 * README: Update listing for ia64-*-linux-gnu.
20010
591aeaf7
TD
200112014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20012 Joseph Myers <joseph@codesourcery.com>
20013
20014 * Makeconfig (test-name): New variable.
20015 (evaluate-test): Likewise.
20016 * Makerules (do-test-clean): Remove .test-result files.
20017 (common-mostlyclean): Likewise.
20018 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20019 * scripts/evaluate-test.sh: New file.
20020
6e89caf1
JM
200212014-02-14 Joseph Myers <joseph@codesourcery.com>
20022
7f98f180
JM
20023 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20024 separate $(objpfx)tst-fopenloc-cmp.out and
20025 $(objpfx)tst-fopenloc-mem.out targets.
20026 (tests): Update dependencies.
20027 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20028 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20029 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20030 (tst-rxspencer-no-utf8-ARGS): New variable.
20031 (tst-rxspencer-no-utf8-ENV): Likewise.
20032 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20033 instead of $(objpfx)tst-rxspencer-mem.
20034 ($(objpfx)tst-rxspencer-mem): Change target to
20035 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20036 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20037 * posix/tst-rxspencer-no-utf8.c: New file.
20038
6e89caf1
JM
20039 * elf/Makefile ($(objpfx)order.out): Remove rule.
20040 [$(run-built-tests) = yes] (tests): Depend on
20041 $(objpfx)order-cmp.out.
20042 ($(objpfx)order-cmp.out): New rule.
20043 [$(run-built-tests) = yes] (tests): Depend on
20044 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20045 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20046 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20047 $(objpfx)tst-array5-static-cmp.out.
20048 ($(objpfx)tst-array1.out): Remove rule.
20049 ($(objpfx)tst-array1-cmp.out): New rule.
20050 ($(objpfx)tst-array1-static.out): Remove rule.
20051 ($(objpfx)tst-array1-static-cmp.out): New rule.
20052 ($(objpfx)tst-array2.out): Remove rule.
20053 ($(objpfx)tst-array2-cmp.out): New rule.
20054 ($(objpfx)tst-array3.out): Remove rule.
20055 ($(objpfx)tst-array3-cmp.out): New rule.
20056 ($(objpfx)tst-array4.out): Remove rule.
20057 ($(objpfx)tst-array4-cmp.out): New rule.
20058 ($(objpfx)tst-array5.out): Remove rule.
20059 ($(objpfx)tst-array5-cmp.out): New rule.
20060 ($(objpfx)tst-array5-static.out): Remove rule.
20061 ($(objpfx)tst-array5-static-cmp.out): New rule.
20062 [$(run-built-tests) = yes] (tests): Depend on
20063 $(objpfx)order2-cmp.out.
20064 ($(objpfx)order2.out): Remove rule.
20065 ($(objpfx)order2-cmp.out): New rule.
20066 ($(objpfx)tst-initorder.out): Remove rule.
20067 [$(run-built-tests) = yes] (tests): Depend on
20068 $(objpfx)tst-initorder-cmp.out.
20069 ($(objpfx)tst-initorder-cmp.out): New rule.
20070 ($(objpfx)tst-initorder2.out): Remove rule.
20071 [$(run-built-tests) = yes] (tests): Depend on
20072 $(objpfx)tst-initorder2-cmp.out.
20073 ($(objpfx)tst-initorder2-cmp.out): New rule.
20074 [$(run-built-tests) = yes] (tests): Depend on
20075 $(objpfx)tst-unused-dep-cmp.out.
20076 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20077 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20078 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20079 on $(objpfx)tst-setvbuf1-cmp.out.
20080 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20081 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20082 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20083 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20084 ($(objpfx)tst-svc.out): Remove rule.
20085 ($(objpfx)tst-svc-cmp.out): New rule.
20086
ed9a38e2
JM
200872014-02-13 Joseph Myers <joseph@codesourcery.com>
20088
20089 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20090 * ctype/ctype.h [__USE_MISC]: Likewise.
20091 * dirent/dirent.h [__USE_MISC]: Likewise.
20092 * grp/grp.h [__USE_MISC]: Likewise.
20093 * io/fcntl.h [__USE_MISC]: Likewise.
20094 * io/sys/stat.h [__USE_MISC]: Likewise.
20095 * libio/stdio.h [__USE_MISC]: Likewise.
20096 * posix/unistd.h [__USE_MISC]: Likewise.
20097 * pwd/pwd.h [__USE_MISC]: Likewise.
20098 * stdlib.h [__USE_MISC]: Likewise.
20099 * string/bits/string2.h [__USE_MISC]: Likewise.
20100 * string/string.h [__USE_MISC]: Likewise.
20101 * time/time.h [__USE_MISC]: Likewise.
20102
d6680619
AS
201032014-02-13 Andreas Schwab <schwab@suse.de>
20104
20105 [BZ #16574]
20106 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20107 second answer buffer if it was separately allocated.
20108
ace614b8
JM
201092014-02-12 Joseph Myers <joseph@codesourcery.com>
20110
743151ae
JM
20111 * sysdeps/mips/math-tests.h: Include <features.h>.
20112 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20113 (ROUNDING_TESTS_long_double): Do not define.
20114 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20115 (EXCEPTION_TESTS_long_double): Likewise.
20116 * sysdeps/mips/mips64/libm-test-ulps: Update.
20117
498afc54
JM
20118 * include/features.h (__USE_BSD): Remove macro definitions.
20119 (__USE_SVID): Likewise.
20120 (_BSD_SOURCE): Likewise.
20121 (_SVID_SOURCE): Likewise.
20122 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20123 from definition of _DEFAULT_SOURCE.
20124 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20125 [_DEFAULT_SOURCE].
20126 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20127 * bits/mman.h [__USE_BSD]: Likewise.
20128 * bits/termios.h [__USE_BSD]: Likewise.
20129 * bits/waitstatus.h [__USE_BSD]: Likewise.
20130 * ctype/ctype.h [__USE_SVID]: Likewise.
20131 * dirent/dirent.h [__USE_BSD]: Likewise.
20132 * grp/grp.h [__USE_SVID]: Likewise.
20133 [__USE_BSD]: Likewise.
20134 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20135 * io/fcntl.h [__USE_BSD]: Likewise.
20136 * io/ftw.h [__USE_BSD]: Likewise.
20137 * io/sys/stat.h [__USE_BSD]: Likewise.
20138 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20139 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20140 * libio/stdio.h [__USE_SVID]: Likewise.
20141 [__USE_BSD]: Likewise.
20142 * math/math.h [__USE_SVID]: Likewise.
20143 [__USE_BSD]: Likewise.
20144 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20145 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20146 * misc/search.h [__USE_SVID]: Likewise.
20147 * misc/sys/mman.h [__USE_BSD]: Likewise.
20148 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20149 * misc/sys/uio.h [__USE_BSD]: Likewise.
20150 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20151 * posix/glob.h [__USE_BSD]: Likewise.
20152 * posix/regex.h [__USE_BSD]: Likewise.
20153 * posix/sys/types.h [__USE_BSD]: Likewise.
20154 [__USE_SVID]: Likewise.
20155 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20156 * posix/sys/wait.h [__USE_BSD]: Likewise.
20157 [__USE_SVID]: Likewise.
20158 * posix/unistd.h [__USE_BSD]: Likewise.
20159 [__USE_SVID]: Likewise.
20160 * pwd/pwd.h [__USE_SVID]: Likewise.
20161 * resolv/netdb.h [__USE_BSD]: Likewise.
20162 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20163 * signal/signal.h [__USE_BSD]: Likewise.
20164 [__USE_SVID]: Likewise.
20165 * socket/sys/socket.h [__USE_BSD]: Likewise.
20166 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20167 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20168 [__USE_SVID]: Likewise.
20169 * string/bits/string2.h [__USE_BSD]: Likewise.
20170 [__USE_SVID]: Likewise.
20171 * string/bits/string3.h [__USE_BSD]: Likewise.
20172 * string/endian.h [__USE_BSD]: Likewise.
20173 * string/string.h [__USE_SVID]: Likewise.
20174 [__USE_BSD]: Likewise.
20175 * string/strings.h [__USE_BSD]: Likewise.
20176 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20177 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20178 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20179 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20180 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20181 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20182 Likewise.
20183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20184 Likewise.
20185 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20186 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20187 Likewise.
20188 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20189 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20190 Likewise.
20191 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20192 Likewise.
20193 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20194 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20195 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20196 Likewise.
20197 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20198 Likewise.
20199 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20200 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20201 * termios/termios.h [__USE_BSD]: Likewise.
20202 * time/sys/time.h [__USE_BSD]: Likewise.
20203 * time/time.h [__USE_BSD]: Likewise.
20204 [__USE_SVID]: Likewise.
20205
dd7b064c
JM
20206 * Makefile (subdir_targets): Remove subdir_lint.out.
20207
a2c4c199
JM
20208 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20209 (do-tst-printf): Likewise.
20210 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20211 $(objpfx)tst-printf.out.
20212
8756f740
JM
20213 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20214
1b6dd3f1
JM
20215 * Makerules (check-abi-%): Change target to
20216 $(objpfx)check-abi-%.out.
20217 (check-abi target): Update dependencies.
20218 (check-abi-pattern variable): Redirect output of diff to $@.
20219 (check-abi variable): Likewise.
20220 * elf/Makefile (check-abi): Update dependencies.
20221
ace614b8
JM
20222 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20223 unused.
20224 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20225 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20226 subnormal range.
20227 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20228 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20229 value has largest subnormal exponent.
20230 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20231 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20232 * sysdeps/aarch64/soft-fp/sfp-machine.h
20233 (_FP_TININESS_AFTER_ROUNDING): New macro.
20234 * sysdeps/alpha/soft-fp/sfp-machine.h
20235 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20236 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20237 Likewise.
20238 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20239 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20240 * sysdeps/mips/soft-fp/sfp-machine.h
20241 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20242 * sysdeps/powerpc/soft-fp/sfp-machine.h
20243 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20244 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20245 Likewise.
20246 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20247 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20248 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20249 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20250 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20251 Likewise.
20252
fbfdf9cb
DAS
202532014-02-12 Dylan Alex Simon <dylan@dylex.net>
20254
20255 [BZ #16545]
20256 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20257 model 1.
20258
68b7efaa
RH
202592014-02-12 Richard Henderson <rth@redhat.com>
20260
c70a4b1d 20261 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
20262 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20263 * sysdeps/unix/sysv/linux/alpha: Move directory from
20264 ports/sysdeps/unix/sysv/linux/alpha.
20265 * README: Update listing for alpha-*-linux-gnu.
20266
cb4a2928
JM
202672014-02-11 Joseph Myers <joseph@codesourcery.com>
20268
c941736c
JM
20269 * include/features.h: Update comment documenting feature test
20270 macros.
20271 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20272 _DEFAULT_SOURCE.
20273 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20274 (_SVID_SOURCE): Likewise.
20275 (_DEFAULT_SOURCE): Update description of default features.
20276 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20277 with _GNU_SOURCE.
20278 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20279 (S_ISVTX): Likewise.
20280 * manual/math.texi (Mathematical Constants): Likewise.
20281 * manual/signal.texi (Interrupted Primitives): Likewise.
20282 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20283 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20284 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20285 Don't refer to _SVID_SOURCE in warning text.
20286
e8d8d7ec
JM
20287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20288
cb4a2928
JM
20289 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20290 already defined.
20291 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20292 * sysdeps/mips/dl-lookup.c: Remove.
20293 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20294
7e6424e3
AK
202952014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20296
20297 [BZ #16447]
20298 * math/auto-libm-test-in: Add testcase for expl.
20299 * math/auto-libm-test-out: Regenerate.
20300 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20301 calculation of unsafe.
20302 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20303
75eff3fe
MS
203042014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20305
20306 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20307 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20308 ports/sysdeps/unix/sysv/linux/aarch64.
20309 * README: Update listing for aarch64*-*-linux-gnu.
20310
d35f1e80
WN
203112014-02-11 Will Newton <will.newton@linaro.org>
20312
20313 * manual/probes.texi (Mathematical Function Probes): Use
20314 "triggered" instead of "hit".
20315
7b3436d4
WN
20316 * manual/probes.texi (Internal Probes): Add documentation
20317 of setjmp, longjmp and longjmp_target probes.
20318
b4f12ca3
WN
20319 * include/stap-probe.h: Add comment about probe argument
20320 format.
20321
c13a72b7
WN
20322 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20323 definition. (tr_where, tr_freehook, tr_mallochook,
20324 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20325
195b8165
DM
203262014-02-11 David S. Miller <davem@davemloft.net>
20327
20328 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20329 processing int_tests.
20330
2ad7600b
JM
203312014-02-10 Joseph Myers <joseph@codesourcery.com>
20332
20333 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20334 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20335 * sysdeps/unix/sysv/linux/mips: Move directory from
20336 ports/sysdeps/unix/sysv/linux/mips.
20337 * README: Update listing for mips-*-linux-gnu and
20338 mips64-*-linux-gnu.
20339
73588a72
AS
203402014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20341
20342 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20343 * sysdeps/unix/sysv/linux/m68k: Move directory from
20344 ports/sysdeps/unix/sysv/linux/m68k.
20345 * README: Update listing for m68k-*-linux-gnu.
20346
4372980f
CM
203472014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20348
20349 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20350 * sysdeps/unix/sysv/linux/generic: Move directory from
20351 ports/sysdeps/unix/sysv/linux/generic.
20352 * sysdeps/unix/sysv/linux/tile: Move directory from
20353 ports/sysdeps/unix/sysv/linux/tile.
20354 * README: Update listing for tile*-*-linux-gnu.
20355
a1ffb40e
OB
203562014-02-10 Ondřej Bílka <neleai@seznam.cz>
20357
57f41c40
AS
20358 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20359 __builtin_expect.
a1ffb40e
OB
20360 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20361 * catgets/open_catalog.c (__open_catalog): Likewise.
20362 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20363 * debug/confstr_chk.c: Likewise.
20364 * debug/fread_chk.c (__fread_chk): Likewise.
20365 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20366 * debug/getgroups_chk.c: Likewise.
20367 * debug/mbsnrtowcs_chk.c: Likewise.
20368 * debug/mbsrtowcs_chk.c: Likewise.
20369 * debug/mbstowcs_chk.c: Likewise.
20370 * debug/memcpy_chk.c: Likewise.
20371 * debug/memmove_chk.c: Likewise.
20372 * debug/mempcpy_chk.c: Likewise.
20373 * debug/memset_chk.c: Likewise.
20374 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20375 * debug/strcat_chk.c (__strcat_chk): Likewise.
20376 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20377 * debug/strncat_chk.c (__strncat_chk): Likewise.
20378 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20379 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20380 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20381 * debug/wcpncpy_chk.c: Likewise.
20382 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20383 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20384 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20385 * debug/wcsncpy_chk.c: Likewise.
20386 * debug/wcsnrtombs_chk.c: Likewise.
20387 * debug/wcsrtombs_chk.c: Likewise.
20388 * debug/wcstombs_chk.c: Likewise.
20389 * debug/wmemcpy_chk.c: Likewise.
20390 * debug/wmemmove_chk.c: Likewise.
20391 * debug/wmempcpy_chk.c: Likewise.
20392 * debug/wmemset_chk.c: Likewise.
20393 * dirent/scandirat.c (SCANDIRAT): Likewise.
20394 * dlfcn/dladdr1.c (dladdr1): Likewise.
20395 * dlfcn/dladdr.c (dladdr): Likewise.
20396 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20397 * dlfcn/dlerror.c (__dlerror): Likewise.
20398 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20399 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20400 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20401 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20402 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20403 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20404 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20405 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20406 Likewise.
20407 * elf/dl-conflict.c: Likewise.
20408 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20409 * elf/dl-dst.h: Likewise.
20410 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20411 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20412 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20413 * elf/dl-init.c (call_init, _dl_init): Likewise.
20414 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
20415 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20416 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20417 Likewise.
a1ffb40e
OB
20418 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20419 Likewise.
20420 * elf/dl-minimal.c (__libc_memalign): Likewise.
20421 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20422 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20423 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20424 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
20425 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20426 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
20427 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20428 * elf/dl-writev.h (_dl_writev): Likewise.
20429 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
20430 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20431 (dl_main): Likewise.
a1ffb40e
OB
20432 * elf/setup-vdso.h (setup_vdso): Likewise.
20433 * grp/compat-initgroups.c (compat_call): Likewise.
20434 * grp/fgetgrent.c (fgetgrent): Likewise.
20435 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20436 * grp/putgrent.c (putgrent): Likewise.
20437 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20438 Likewise.
20439 * hurd/hurdinit.c: Likewise.
20440 * iconvdata/8bit-gap.c (struct): Likewise.
20441 * iconvdata/ansi_x3.110.c : Likewise.
20442 * iconvdata/big5.c : Likewise.
20443 * iconvdata/big5hkscs.c : Likewise.
20444 * iconvdata/cp1255.c: Likewise.
20445 * iconvdata/cp1258.c : Likewise.
20446 * iconvdata/cp932.c : Likewise.
20447 * iconvdata/euc-cn.c: Likewise.
20448 * iconvdata/euc-jisx0213.c : Likewise.
20449 * iconvdata/euc-jp.c: Likewise.
20450 * iconvdata/euc-jp-ms.c : Likewise.
20451 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20452 * iconvdata/gb18030.c : Likewise.
20453 * iconvdata/gbbig5.c (const): Likewise.
20454 * iconvdata/gbgbk.c: Likewise.
20455 * iconvdata/gbk.c : Likewise.
20456 * iconvdata/ibm1364.c : Likewise.
20457 * iconvdata/ibm930.c : Likewise.
20458 * iconvdata/ibm932.c: Likewise.
20459 * iconvdata/ibm933.c : Likewise.
20460 * iconvdata/ibm935.c : Likewise.
20461 * iconvdata/ibm937.c : Likewise.
20462 * iconvdata/ibm939.c : Likewise.
20463 * iconvdata/ibm943.c: Likewise.
20464 * iconvdata/iso_11548-1.c: Likewise.
20465 * iconvdata/iso-2022-cn.c : Likewise.
20466 * iconvdata/iso-2022-cn-ext.c : Likewise.
20467 * iconvdata/iso-2022-jp-3.c: Likewise.
20468 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20469 * iconvdata/iso-2022-kr.c : Likewise.
20470 * iconvdata/iso646.c (gconv_end): Likewise.
20471 * iconvdata/iso_6937-2.c : Likewise.
20472 * iconvdata/iso_6937.c : Likewise.
20473 * iconvdata/iso8859-1.c: Likewise.
20474 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20475 * iconvdata/shift_jisx0213.c : Likewise.
20476 * iconvdata/sjis.c : Likewise.
20477 * iconvdata/t.61.c : Likewise.
20478 * iconvdata/tcvn5712-1.c : Likewise.
20479 * iconvdata/tscii.c: Likewise.
20480 * iconvdata/uhc.c : Likewise.
20481 * iconvdata/unicode.c (gconv_end): Likewise.
20482 * iconvdata/utf-16.c (gconv_end): Likewise.
20483 * iconvdata/utf-32.c (gconv_end): Likewise.
20484 * iconvdata/utf-7.c (base64): Likewise.
20485 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20486 * iconv/gconv_close.c (__gconv_close): Likewise.
20487 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
20488 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20489 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20490 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20491 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20492 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
20493 * iconv/iconv.c (iconv): Likewise.
20494 * iconv/iconv_close.c: Likewise.
20495 * iconv/loop.c (SINGLE): Likewise.
20496 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20497 * include/atomic.h: Likewise.
20498 * inet/inet6_option.c (option_alloc): Likewise.
20499 * intl/bindtextdom.c (set_binding_values): Likewise.
20500 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20501 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20502 * intl/localealias.c (read_alias_file): Likewise.
20503 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
20504 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20505 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
20506 * libio/fmemopen.c (fmemopen): Likewise.
20507 * libio/iofgets.c (_IO_fgets): Likewise.
20508 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20509 * libio/iofgetws.c (fgetws): Likewise.
20510 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20511 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
20512 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20513 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
20514 * locale/findlocale.c (_nl_find_locale): Likewise.
20515 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20516 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20517 Likewise.
20518 * locale/setlocale.c (setlocale): Likewise.
20519 * login/programs/pt_chown.c (main): Likewise.
20520 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20521 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
20522 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20523 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
20524 * math/e_exp2l.c: Likewise.
20525 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20526 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20527 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20528 * math/s_catan.c (__catan): Likewise.
20529 * math/s_catanf.c (__catanf): Likewise.
20530 * math/s_catanh.c (__catanh): Likewise.
20531 * math/s_catanhf.c (__catanhf): Likewise.
20532 * math/s_catanhl.c (__catanhl): Likewise.
20533 * math/s_catanl.c (__catanl): Likewise.
20534 * math/s_ccosh.c (__ccosh): Likewise.
20535 * math/s_ccoshf.c (__ccoshf): Likewise.
20536 * math/s_ccoshl.c (__ccoshl): Likewise.
20537 * math/s_cexp.c (__cexp): Likewise.
20538 * math/s_cexpf.c (__cexpf): Likewise.
20539 * math/s_cexpl.c (__cexpl): Likewise.
20540 * math/s_clog10.c (__clog10): Likewise.
20541 * math/s_clog10f.c (__clog10f): Likewise.
20542 * math/s_clog10l.c (__clog10l): Likewise.
20543 * math/s_clog.c (__clog): Likewise.
20544 * math/s_clogf.c (__clogf): Likewise.
20545 * math/s_clogl.c (__clogl): Likewise.
20546 * math/s_csin.c (__csin): Likewise.
20547 * math/s_csinf.c (__csinf): Likewise.
20548 * math/s_csinh.c (__csinh): Likewise.
20549 * math/s_csinhf.c (__csinhf): Likewise.
20550 * math/s_csinhl.c (__csinhl): Likewise.
20551 * math/s_csinl.c (__csinl): Likewise.
20552 * math/s_csqrt.c (__csqrt): Likewise.
20553 * math/s_csqrtf.c (__csqrtf): Likewise.
20554 * math/s_csqrtl.c (__csqrtl): Likewise.
20555 * math/s_ctan.c (__ctan): Likewise.
20556 * math/s_ctanf.c (__ctanf): Likewise.
20557 * math/s_ctanh.c (__ctanh): Likewise.
20558 * math/s_ctanhf.c (__ctanhf): Likewise.
20559 * math/s_ctanhl.c (__ctanhl): Likewise.
20560 * math/s_ctanl.c (__ctanl): Likewise.
20561 * math/w_pow.c: Likewise.
20562 * math/w_powf.c: Likewise.
20563 * math/w_powl.c: Likewise.
20564 * math/w_scalb.c (sysv_scalb): Likewise.
20565 * math/w_scalbf.c (sysv_scalbf): Likewise.
20566 * math/w_scalbl.c (sysv_scalbl): Likewise.
20567 * misc/error.c (error_tail): Likewise.
20568 * misc/pselect.c (__pselect): Likewise.
20569 * nis/nis_callback.c (__nis_create_callback): Likewise.
20570 * nis/nis_call.c (__nisfind_server): Likewise.
20571 * nis/nis_creategroup.c (nis_creategroup): Likewise.
20572 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20573 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20574 * nis/nis_getservlist.c (nis_getservlist): Likewise.
20575 * nis/nis_lookup.c (nis_lookup): Likewise.
20576 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
20577 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20578 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 20579 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
20580 * nis/nss_compat/compat-grp.c (getgrent_next_file)
20581 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20582 * nis/nss_compat/compat-initgroups.c (add_group)
20583 (internal_getgrent_r): Likewise.
20584 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20585 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20586 * nis/nss_compat/compat-spwd.c (getspent_next_file)
20587 (internal_getspnam_r): Likewise.
20588 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20589 (_nss_nis_getaliasbyname_r): Likewise.
20590 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20591 (_nss_nis_getntohost_r): Likewise.
20592 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20593 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20594 (_nss_nis_getgrgid_r): Likewise.
20595 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20596 (internal_nis_gethostent_r, internal_gethostbyname2_r)
20597 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20598 (_nss_nis_gethostbyname4_r): Likewise.
20599 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20600 (initgroups_netid): Likewise.
a1ffb40e 20601 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
20602 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20603 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20604 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20605 (_nss_nis_getprotobynumber_r): Likewise.
20606 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20607 (_nss_nis_getsecretkey): Likewise.
20608 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20609 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20610 (_nss_nis_getpwuid_r): Likewise.
20611 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20612 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20613 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20614 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20615 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20616 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
20617 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20618 Likewise.
57f41c40
AS
20619 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20620 (_nss_nisplus_getntohost_r): Likewise.
20621 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20622 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20623 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20624 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 20625 Likewise.
57f41c40
AS
20626 * nis/nss_nisplus/nisplus-initgroups.c
20627 (_nss_nisplus_initgroups_dyn): Likewise.
20628 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20629 (_nss_nisplus_getnetbyaddr_r): Likewise.
20630 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20631 (_nss_nisplus_getprotobynumber_r): Likewise.
20632 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20633 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
20634 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20635 Likewise.
57f41c40
AS
20636 * nis/nss_nisplus/nisplus-service.c
20637 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20638 (_nss_nisplus_getservbyport_r): Likewise.
20639 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20640 (_nss_nisplus_getspnam_r): Likewise.
20641 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20642 Likewise.
a1ffb40e
OB
20643 * nscd/aicache.c (addhstaiX): Likewise.
20644 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
20645 * nscd/connections.c (register_traced_file, send_ro_fd)
20646 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20647 (main_loop_epoll): Likewise.
a1ffb40e
OB
20648 * nscd/grpcache.c (addgrbyX): Likewise.
20649 * nscd/hstcache.c (addhstbyX): Likewise.
20650 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20651 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
20652 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20653 (addinnetgrX): Likewise.
20654 * nscd/nscd-client.h (__nscd_acquire_maplock)
20655 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
20656 * nscd/nscd_getai.c (__nscd_getai): Likewise.
20657 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20658 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20659 Likewise.
20660 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20661 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
20662 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20663 (__nscd_get_map_ref): Likewise.
a1ffb40e 20664 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
20665 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20666 Likewise.
a1ffb40e
OB
20667 * nscd/pwdcache.c (addpwbyX): Likewise.
20668 * nscd/selinux.c (preserve_capabilities): Likewise.
20669 * nscd/servicescache.c (addservbyX): Likewise.
20670 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20671 * posix/fnmatch.c (fnmatch): Likewise.
20672 * posix/getopt.c (_getopt_internal_r): Likewise.
20673 * posix/glob.c (glob, glob_in_dir): Likewise.
20674 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
20675 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20676 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
20677 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20678 * resolv/res_init.c: Likewise.
20679 * resolv/res_mkquery.c (res_nmkquery): Likewise.
20680 * resolv/res_query.c (__libc_res_nquery): Likewise.
20681 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20682 Likewise.
20683 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20684 * stdio-common/perror.c (perror): Likewise.
20685 * stdio-common/printf_fp.c (___printf_fp): Likewise.
20686 * stdio-common/tmpnam.c (tmpnam): Likewise.
20687 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20688 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
20689 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20690 Likewise.
a1ffb40e
OB
20691 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20692 * stdlib/putenv.c (putenv): Likewise.
20693 * stdlib/setenv.c (__add_to_environ): Likewise.
20694 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20695 * stdlib/strtol_l.c (INTERNAL): Likewise.
20696 * string/memmem.c (memmem): Likewise.
20697 * string/strerror.c (strerror): Likewise.
20698 * string/strnlen.c (__strnlen): Likewise.
20699 * string/test-memmem.c (simple_memmem): Likewise.
20700 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20701 * sunrpc/pm_getport.c (__get_socket): Likewise.
20702 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20703 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
20704 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20705 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
20706 Likewise.
20707 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20708 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20709 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20710 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20711 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
20712 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20713 Likewise.
20714 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20715 Likewise.
a1ffb40e
OB
20716 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20717 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20718 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20719 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20720 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20722 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20723 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20724 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20725 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20726 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20727 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20728 Likewise.
20729 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20730 Likewise.
20731 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20732 Likewise.
20733 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20735 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20736 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20737 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20738 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20739 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20742 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20743 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20745 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20746 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
20748 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20749 Likewise.
a1ffb40e
OB
20750 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20751 Likewise.
20752 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20753 Likewise.
20754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20755 Likewise.
20756 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20757 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20758 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20759 Likewise.
20760 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20761 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20762 * sysdeps/posix/opendir.c (__opendirat): Likewise.
20763 * sysdeps/posix/sleep.c: Likewise.
20764 * sysdeps/posix/tempname.c: Likewise.
20765 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20766 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20767 Likewise.
57f41c40
AS
20768 * sysdeps/powerpc/powerpc32/dl-machine.h
20769 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
20770 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20772 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20773 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20774 Likewise.
20775 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20777 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20779 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20780 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20781 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20782 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20783 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20784 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20786 (elf_machine_lazy_rel): Likewise.
a1ffb40e 20787 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20789 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20790 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20791 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20792 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20793 * sysdeps/unix/grantpt.c (grantpt): Likewise.
20794 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20795 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20796 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20798 Likewise.
20799 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20800 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20801 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20802 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20803 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20804 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20805 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20806 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20807 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20808 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20809 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20810 Likewise.
20811 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20812 (__posix_fallocate64_l64): Likewise.
20813 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20814 (posix_fallocate): Likewise.
57f41c40
AS
20815 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20816 Likewise.
a1ffb40e 20817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
20818 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20819 (getifaddrs_internal): Likewise.
a1ffb40e
OB
20820 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20821 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20822 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20823 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20824 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20825 (__posix_fallocate64_l64): Likewise.
20826 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20827 Likewise.
20828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
20829 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20830 (__get_clockfreq): Likewise.
a1ffb40e
OB
20831 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20832 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20833 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20834 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20836 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20837 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20838 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20839 Likewise.
20840 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20841 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20842 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20845 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20846 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20847 Likewise.
20848 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20849 (posix_fallocate): Likewise.
20850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20851 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20852 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20853 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20854 (elf_machine_rela, elf_machine_rela_relative)
20855 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20856 * time/asctime.c (asctime_internal): Likewise.
20857 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20858 * time/tzset.c (__tzset_parse_tz): Likewise.
20859 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20860 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20861 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20862 * wcsmbs/wcsmbsload.h: Likewise.
20863
f3d338c9
OB
20864 [BZ #15894]
20865 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20866
57f41c40
AS
20867 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20868 (arena_get2): Remove THREAD_STATS conditionals.
20869 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20870 (__malloc_stats, int): Likewise.
bdfe308a 20871
d674667c
MF
208722014-02-08 Mike Frysinger <vapier@gentoo.org>
20873
20874 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20875 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
20876
6349768c
MF
20877 * manual/setjmp.texi: Fix typos/grammar errors.
20878
0b7c7473
MF
20879 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20880 Only return early when n is <= 0. Delete unused return statement.
20881
ac8cc9e3
MF
20882 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20883 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20884 * debug/tst-longjmp_chk3.c: New file.
20885
c5bb8e23
MF
20886 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20887 (test_main): Replace code with set_fortify_handler call.
20888 * debug/test-strcpy_chk.c: Likewise.
20889 * debug/tst-chk1.c: Likewise.
20890 * debug/tst-longjmp_chk.c: Likewise.
20891 * test-skeleton.c: Include fcntl.h & paths.h
20892 (set_fortify_handler): Define.
20893
10444e42
MF
20894 * debug/tst-longjmp_chk.c: Add header comment and include
20895 ../test-skeleton.c.
20896 (do_test): Mark static.
20897 (TEST_FUNCTION): Define.
20898
1e805e8d
MF
20899 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20900 (IP_PMTUDISC_INTERFACE): Likewise.
20901 (IP_MULTICAST_IF): Likewise.
20902 (IP_MULTICAST_TTL): Likewise.
20903 (IP_MULTICAST_LOOP): Likewise.
20904 (IP_ADD_MEMBERSHIP): Likewise.
20905 (IP_DROP_MEMBERSHIP): Likewise.
20906 (IP_UNBLOCK_SOURCE): Likewise.
20907 (IP_BLOCK_SOURCE): Likewise.
20908 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20909 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20910 (IP_MSFILTER): Likewise.
20911 (MCAST_JOIN_GROUP): Likewise.
20912 (MCAST_BLOCK_SOURCE): Likewise.
20913 (MCAST_UNBLOCK_SOURCE): Likewise.
20914 (MCAST_LEAVE_GROUP): Likewise.
20915 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20916 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20917 (MCAST_MSFILTER): Likewise.
20918 (IP_MULTICAST_ALL): Likewise.
20919 (IP_UNICAST_IF): Likewise.
20920
73f79bb7
MF
20921 * timezone/Makefile: Delete $(have-ksh) check.
20922 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20923 * timezone/tzselect.ksh: Add +x mode bits.
20924
8da79b60
MF
20925 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20926 (ANON_INODE_FS_MAGIC): Likewise.
20927 (BDEVFS_MAGIC): Likewise.
20928 (BINFMTFS_MAGIC): Likewise.
20929 (BTRFS_TEST_MAGIC): Likewise.
20930 (CRAMFS_MAGIC_WEND): Likewise.
20931 (DEBUGFS_MAGIC): Likewise.
20932 (ECRYPTFS_SUPER_MAGIC): Likewise.
20933 (EXT3_SUPER_MAGIC): Likewise.
20934 (EXT4_SUPER_MAGIC): Likewise.
20935 (FUTEXFS_SUPER_MAGIC): Likewise.
20936 (HOSTFS_SUPER_MAGIC): Likewise.
20937 (HUGETLBFS_MAGIC): Likewise.
20938 (MINIX3_SUPER_MAGIC): Likewise.
20939 (MTD_INODE_FS_MAGIC): Likewise.
20940 (NILFS_SUPER_MAGIC): Likewise.
20941 (OPENPROM_SUPER_MAGIC): Likewise.
20942 (PIPEFS_MAGIC): Likewise.
20943 (PSTOREFS_MAGIC): Likewise.
20944 (QNX6_SUPER_MAGIC): Likewise.
20945 (RAMFS_MAGIC): Likewise.
20946 (REISERFS_SUPER_MAGIC_STRING): Likewise.
20947 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20948 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20949 (SECURITYFS_MAGIC): Likewise.
20950 (SELINUX_MAGIC): Likewise.
20951 (SMACK_MAGIC): Likewise.
20952 (SOCKFS_MAGIC): Likewise.
20953 (SQUASHFS_MAGIC): Likewise.
20954 (STACK_END_MAGIC): Likewise.
20955 (TMPFS_MAGIC): Likewise.
20956 (USBDEVICE_SUPER_MAGIC): Likewise.
20957 (V9FS_MAGIC): Likewise.
20958 (XENFS_SUPER_MAGIC): Likewise.
20959 (CRAMFS_MAGIC): Fix typo in comment.
20960 (EXT2_SUPER_MAGIC): Update comment.
20961 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20962
464263cc
JM
209632014-02-08 Joseph Myers <joseph@codesourcery.com>
20964
c6bfe5c4
JM
20965 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20966 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20967 * sysdeps/unix/sysv/linux/arm: Move directory from
20968 ports/sysdeps/unix/sysv/linux/arm.
20969 * README: Update listing for arm-*-linux-gnueabi.
20970
464263cc
JM
20971 * README: Remove mention of am33.
20972
32749f6c
RM
209732014-02-07 Roland McGrath <roland@hack.frob.com>
20974
20975 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20976 than the comma operator, to avoid "rhs of comma has no effect"
20977 compiler warnings.
20978 (__sigfillset, __sigandset, __sigorset): Likewise.
20979 * include/signal.h (__sigemptyset): Likewise.
20980 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20981
d5b396c1
AM
209822014-02-07 Allan McRae <allan@archlinux.org>
20983
20984 * version.h (RELEASE): Set to "development".
20985 (VERSION): Set to "2.19.90"
20986 * NEWS: Add 2.20 section.
20987
3bfff2ed
CD
209882014-02-06 Carlos O'Donell <carlos@redhat.com>
20989
20990 [BZ #16529]
20991 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20992
ee7cc385
SP
209932014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20994
20995 * manual/contrib.texi: Update entry for Carlos O'Donell,
20996 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20997
f877c4f2
CD
209982014-02-05 Carlos O'Donell <carlos@rehdat.com>
20999
27e839f6
CD
21000 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21001
f877c4f2
CD
21002 * sysdeps/unix/sysv/linux/kernel-features.h
21003 [__LINUX_KERNEL_VERSION >= 0x020621]
21004 (__ASSUME_PROC_PID_TASK_COMM): Define.
21005
68159946
SP
210062014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21007
ba17cdbd
SP
21008 [BZ #16398]
21009 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21010 conversion when destination buffer does not have enough space.
21011 * libio/tst-ftell-partial-wide.c: New test case.
21012 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21013
68159946
SP
21014 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21015 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21016 Leonard and Allan McRae.
21017
2b528732
DM
210182014-02-04 David S. Miller <davem@davemloft.net>
21019
21020 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21021 32-bit.
21022
0ff82463
AZ
210232014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21024
57f41c40
AS
21025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21026 New file
c01603f7
AZ
21027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21028 New file
57f41c40
AS
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21030 New file.
21031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21032 New file.
c01603f7
AZ
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21034 New file.
57f41c40
AS
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21036 New file.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21038 New file.
c01603f7
AZ
21039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21040 New file.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21042 New file.
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21044 New file.
21045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21046 New file.
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21048 New file.
21049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21050 New file.
21051
210522014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21053
0ff82463
AZ
21054 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21055 * shlib-versions: Likewise.
21056
1695c773
AZ
210572014-02-04 Roland McGrath <roland@hack.frob.com>
21058 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21059
21060 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21061 (abilist-pattern): New variable, set to %-le.abilist.
21062
21063 * Makerules (abilist-pattern): New variable.
21064 (vpath): Use $(abilist-pattern) in place of %.abilist.
21065 (check-abi-% pattern rule): Likewise.
21066 (check-abi, update-abi): Likewise.
21067
6c0ce4b4
EW
210682014-02-04 Eric Wong <normalperson@yhbt.net>
21069
21070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21071
481e3524
CD
210722014-02-03 Carlos O'Donell <carlos@redhat.com>
21073
21074 * manual/startup.texi: Add next, previous, and top entries for
21075 the `Program Arguments' and `Environment Variables' nodes.
21076
375592d3
AO
210772014-02-03 Alexandre Oliva <aoliva@redhat.com>
21078
21079 * manual/macros.texi: Add comments before MTASC-safety macros.
21080
f54838ba
AO
21081 * manual/users.texi: Document MTASC-safety properties.
21082
57f41c40
AS
21083 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21084 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
21085 @deftypefun, and add @safety note.
21086 * manual/signal.texi: Move comments that analyze the above
21087 functions to their home place.
21088
fd3daba4
AM
210892014-02-03 Allan McRae <allan@archlinux.org>
21090
21091 * po/sl.po: Update Slovenian translation from translation project.
21092
597636d7
AO
210932014-02-02 Alexandre Oliva <aoliva@redhat.com>
21094
21095 * manual/time.texi (timegm): Add missing blank after @c.
21096 Reported by Joseph Myers <joseph@codesourcery.com>.
21097
ee196e3c
AO
210982014-02-01 Alexandre Oliva <aoliva@redhat.com>
21099
21100 * manual/check-safety.sh: New.
21101 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21102
f8d529d5
AO
21103 * manual/terminal.texi: Document MTASC-safety properties.
21104
de55fdf4
AO
21105 * manual/filesys.texi: Document MTASC-safety properties.
21106
c3299c08
AO
21107 * manual/errno.texi: Document MTASC-safety properties.
21108
06e90b14
AO
21109 * manual/intro.texi: Document safety identifiers and
21110 conditionals.
21111
1acd4371
AO
21112 * manual/string.texi (wcstok): Fix prototype.
21113 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21114
23e5b8cb
AO
21115 * manual/time.texi: Document MTASC-safety properties.
21116
11087373
AO
21117 * manual/string.texi: Document MTASC-safety properties.
21118
5da2c93d
AO
21119 * manual/threads.texi: Document MTASC-safety properties.
21120
171e9210
AO
21121 * manual/stdio.texi: Document MTASC-safety properties.
21122
d9e02532
AO
21123 * manual/syslog.texi: Document MTASC-safety properties.
21124
6af8bab7
AO
21125 * manual/sysinfo.texi: Document MTASC-safety properties.
21126
663b02d7
AO
21127 * manual/startup.texi: Document MTASC-safety properties.
21128
973f180b
AO
21129 * manual/socket.texi: Document MTASC-safety properties.
21130
8f3c25c8
AO
21131 * manual/signal.texi: Document MTASC-safety properties.
21132
542210fb
AO
211332014-01-31 Alexandre Oliva <aoliva@redhat.com>
21134
21135 * manual/setjmp.texi: Document MTASC-safety properties.
21136
433c45a2
AO
21137 * manual/search.texi: Document MTASC-safety properties.
21138
c8ce789c
AO
21139 * manual/resource.texi: Document MTASC-safety properties.
21140
19f5d29c
AO
21141 * manual/process.texi: Document MTASC-safety properties.
21142
e2dfb7f4
AO
21143 * manual/platform.texi: Document MTASC-safety properties.
21144
8c1413f5
AO
21145 * manual/pipe.texi: Document MTASC-safety properties.
21146
03483ada
AO
21147 * manual/pattern.texi: Document MTASC-safety properties.
21148
29e7e2df
AO
21149 * manual/message.texi: Document MTASC-safety properties.
21150
9f529d7c
AO
21151 [BZ #12751]
21152 * manual/memory.texi: Document MTASC-safety properties.
21153
27aaa791
AO
21154 * manual/math.texi: Document MTASC-safety properties.
21155
f2d58726
AO
21156 * manual/locale.texi: Document MTASC-safety properties.
21157
2cc3615c
AO
21158 * manual/llio.texi: Document MTASC-safety properties.
21159
d9f0ec97
AO
21160 * manual/libdl.texi: New.
21161
e7c4409a
AO
21162 * manual/lang.texi: Document MTASC-safety properties.
21163
27bdc63c
AO
21164 * manual/job.texi: Document MTASC-safety properties.
21165
a7b90ea9
AO
21166 * manual/getopt.texi: Document MTASC-safety properties.
21167
c49130e3
AO
21168 * manual/ctype.texi: Document MTASC-safety properties.
21169
0d23a5c1
MR
211702014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21171
21172 [BZ #16046]
21173 * csu/libc-tls.c (static_map): Remove variable.
21174 (__libc_setup_tls): Use main executable's link map for TLS data.
21175 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21176 casing for LM_ID_BASE and GL(dl_nns).
21177 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21178 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21179 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21180 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21181 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21182 member.
21183 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21184 l_phnum members.
21185
0037bb60
AO
211862014-01-30 Alexandre Oliva <aoliva@redhat.com>
21187
21188 * manual/debug.texi: Document MTASC-safety properties.
21189
409e00bd
L
211902014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21191
21192 [BZ #16510]
21193 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21194 of __x86_64__ when disabling x87 inline functions.
21195
86e60666
AO
211962014-01-29 Alexandre Oliva <aoliva@redhat.com>
21197
21198 * manual/charset.texi: Document MTASC-safety properties.
21199
76167637
AO
21200 * manual/crypt.texi: Document MTASC-safety properties.
21201
e567f2a0
AO
21202 * manual/conf.texi: Document MTASC-safety properties.
21203
b719dafd
AO
21204 * manual/arith.texi: Document MTASC-safety properties.
21205
4a16c662
AO
21206 * manual/argp.texi: Document MTASC-safety properties.
21207
0a57b83e
AO
21208 * manual/macros.texi: Introduce macros to document multi
21209 thread, asynchronous signal and asynchronous cancellation
21210 safety properties.
21211 * manual/intro.texi: Introduce the properties themselves.
21212
feab2397
KK
212132014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21214
21215 * sysdeps/sh/sh4/Makefile: New file.
21216
1c0d11bc
AS
212172014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21218
21219 * math/gen-libm-test.pl ($srcdir): New variable.
21220 ($auto_input): Use it.
21221
af37a8a3
SP
212222014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21223
d7b00f98
SP
21224 [BZ #16506]
21225 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21226 access beyond array bounds when parsing netgroups file.
21227
af37a8a3
SP
21228 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21229 the old buffer before realloc.
21230
0c00f062
AM
212312014-01-27 Allan McRae <allan@archlinux.org>
21232
21233 * po/fr.po: Update French translation from translation project.
21234
7d69a1b0
KK
212352014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21236
21237 * sysdeps/sh/libm-test-ulps: Regenerate.
21238
6e697ff7
DM
212392014-01-24 David S. Miller <davem@davemloft.net>
21240
21241 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21242
9cadb35c
KK
212432014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21244
21245 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21246 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21247
5d41dadf
SP
212482013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21249
21250 [BZ #16474]
21251 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21252 string pointers after reallocation.
21253
0bad441c
KK
212542014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21255
21256 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21257 __SH4A__ instead of __SH_FPU_ANY__.
21258
7007c661
KK
212592014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21260
21261 * sysdeps/sh/fpu_control.h: New file.
21262 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21263 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21264 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21265 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21266 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21267 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21268 * sysdeps/sh/sys/ucontext.h: Remove.
21269 * sysdeps/sh/sys: Remove directory.
21270
0f0c35e4
AK
212712014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21272
21273 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21274 s390/sys/ucontext.h.
21275 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21276 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21277
4959e284
L
212782014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 [BZ #15605]
21281 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21282
d98720e0
AZ
212832014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21284
21285 [BZ#16431]
21286 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21287 Adjust the vDSO correctly for internal calls.
21288 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21289
91cbd0bc
AM
212902014-01-20 Allan McRae <allan@archlinux.org>
21291
21292 * po/ca.po: Update Catalan translation from translation project.
21293
7a02cfad
MF
212942014-01-16 Mike Frysinger <vapier@gentoo.org>
21295
21296 * sysdeps/s390/sotruss-lib.c: New file.
21297
736c304a
AZ
212982014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21299
21300 [BZ#16430]
6e077ee5 21301 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
21302 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21303 local calls issues by not having a PLT stub required for IFUNC calls.
21304 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21305
94d0cea0
JM
213062014-01-16 Joseph Myers <joseph@codesourcery.com>
21307
21308 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21309 * math/test-fpucw-static.c: Likewise.
21310
980cb518
SP
213112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21312
21313 [BZ #16453]
21314 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21315
2393fc01
AZ
213162014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21317
21318 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21319 implementation for powerpc.
21320
d359bcc2
OB
213212014-01-15 Ondřej Bílka <neleai@seznam.cz>
21322
21323 [BZ #14782]
21324 * sysdeps/posix/system.c (__libc_system): Do not enable
21325 asynchronous cancellation.
21326
7beb48cb
AK
213272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21328
21329 [BZ #16427]
21330 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21331 handling only for numbers special also in the IEEE case.
21332
c20d5bf5
AK
213332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21334
21335 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21336
e83bd4ee
AM
213372014-01-11 Allan McRae <allan@archlinux.org>
21338
76d0ea69
AM
21339 * po/bg.po: Update Bulgarian translation from translation project.
21340
e83bd4ee
AM
21341 * po/de.po: Update German translation from translation project.
21342
bc2ba20a
RM
213432014-01-10 Roland McGrath <roland@hack.frob.com>
21344
21345 * sysdeps/generic/gcc-compat.h: New file.
21346
649ecea2
SP
213472014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21348
21349 * benchtests/asin-inputs: Correct slow inputs.
21350 * benchtests/acos-inputs: Likewise.
21351
1b19c006
AM
213522014-01-10 Allan McRae <allan@archlinux.org>
21353
a46dab08
AM
21354 * po:sv.po: Update Swedish translation from translation project.
21355
421df74a
AM
21356 * po/vi.po: Update Vietnamese translation from translation project.
21357
d61c51a7
AM
21358 * po/eo.po: Update Esperanto translation from translation project.
21359
0339a319
AM
21360 * po/cs.po: Update Czech translation from translation project.
21361
94ad3e99
AM
21362 * po/nl.po: Update Dutch translation from translation project.
21363
e349ca71
AM
21364 * po/pl.po: Update Polish translation from translation project.
21365
ddf930c1
AM
21366 * po/ru.po: Update Russian translation from translation project.
21367
1b19c006
AM
21368 * po/uk.po: Update Ukrainian translation from translation project.
21369
9f236c49
BM
213702014-01-08 Brooks Moses <bmoses@google.com>
21371
21372 * elf/dl-load.c: Fix comment typo.
21373
cd6701cf
CD
213742014-01-08 Carlos O'Donell <carlos@redhat.com>
21375
21376 * po/header.pot: Rename to...
21377 * po/pot.header: ... this.
21378 * po/Makefile: Use pot.header.
21379
66671c84
YK
213802014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21381 Maxim Kuvyrkov <maxim@kugelworks.com>
21382
21383 [BZ #16394]
cd6701cf
CD
21384 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21385 SRC and DEST against LEN.
66671c84 21386
38f34581
AZ
213872014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21388
21389 [BZ #16414]
21390 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21391 implementation.
21392 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21393
213942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
21395
21396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21397
4c327f2a
JM
213982014-01-08 Joseph Myers <joseph@codesourcery.com>
21399
21400 [BZ #16408]
21401 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21402 for large positive arguments.
21403
b821f414
JM
214042014-01-07 Joseph Myers <joseph@codesourcery.com>
21405
1f0f2067
JM
21406 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21407
a5a326f6
JM
21408 * math/auto-libm-test-in: Mark various tests with
21409 xfail-rounding:ldbl-128ibm.
21410 * math/auto-libm-test-out: Regenerated.
21411
b821f414
JM
21412 [BZ #16407]
21413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21414 Increase overflow threshold.
21415
94c8a4bc
OB
214162014-01-07 Ondřej Bílka <neleai@seznam.cz>
21417
21418 [BZ #14286]
21419 * stdio-common/vfprintf.c: Check for integer overflow.
21420
87ded0c3
AK
214212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21422
21423 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21424 the first argument and return value of __tls_get_addr_internal.
21425
c5eebdd0
AK
214262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21427
21428 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21429 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21430
05d138ef
AK
214312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21432
21433 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21434 * sysdeps/s390/rtld-global-offsets.sym: New file.
21435 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21436 GLIBC_2.19 symbol.
21437 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21438 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21439 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21440 ... this.
21441 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21442 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21443 ... this.
21444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21445 Regenerate.
21446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21447 Regenerate.
21448 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21449 halfs of GPRs for high_gprs contexts.
21450 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21451 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
21452 field.
21453 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21454 uc_flags field.
21455 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21456 64 bit versions:
21457 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21458 for high GPRs (uc_high_gprs) and for future extensions
21459 (__reserved).
21460 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21461 for future extensions (__reserved).
21462 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21463 64 bit versions:
21464 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21465 SC_HIGHGPRS offset definition.
21466 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21467 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21468
93a45ff1
AK
21469 * Versions.def: Add GLIBC_2.19 for libpthread.
21470 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21471 siglongjmp for libpthread with GLIBC_2.19 symver.
21472 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21473 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21474 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21475 * sysdeps/s390/__longjmp.c: New file.
21476 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21477 * sysdeps/s390/longjmp.c: New file.
21478 * sysdeps/s390/setjmp.S: New file.
21479 * sysdeps/s390/sigjmp.S: New file.
21480 * sysdeps/s390/v1-longjmp.c: New file.
21481 * sysdeps/s390/v1-setjmp.h: New file.
21482 * sysdeps/s390/v1-sigjmp.c: New file.
21483 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21484 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21485 GLIBC_2.19 version.
21486 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21487 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21488 versioned symbols for ____longjmp_chk.
21489 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21490 Likewise.
21491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21492 Regenerate.
21493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21494 Regenerate.
21495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21496 Regenerate.
21497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21498 Regenerate.
21499 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21500 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21501 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21502 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21503 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21504 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21505 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21506 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21507 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21508 * sysdeps/s390/rtld-__longjmp.c: New file.
21509 * sysdeps/s390/rtld-setjmp.S: New file.
21510
eb3fc44b
JM
215112014-01-06 Joseph Myers <joseph@codesourcery.com>
21512
21513 [BZ #16400]
21514 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21515 Return -__logl (x) for small positive arguments without evaluating
21516 a polynomial.
21517
9341dde4
MF
215182014-01-06 Mike Frysinger <vapier@gentoo.org>
21519
21520 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21521 Rename to ...
21522 (__ptrace_peeksiginfo_args): ... this.
21523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21526
4cff0293
AM
215272014-01-06 Allan McRae <allan@archlinux.org>
21528
21529 * inet/netinet/in.h: Fix typo in comment.
21530
75595dcf
AJ
215312014-01-05 Andreas Jaeger <aj@suse.de>
21532
21533 * sysdeps/i386/fpu/libm-test-ulps: Update.
21534
79c1e109
AM
215352014-01-05 Allan McRae <allan@archlinux.org>
21536
dd804818
AM
21537 * po/libc.pot: Regenerated.
21538
79c1e109
AM
21539 * malloc/memusagestat.c: Fix gettext call formatting.
21540
0c813d1f
SK
215412014-01-04 Sami Kerola <kerolasa@iki.fi>
21542
21543 * nscd/nscd.c: Improve usage() output.
21544
20f4a8d9
MF
215452014-01-04 Mike Frysinger <vapier@gentoo.org>
21546
21547 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21548 * sysdeps/unix/sysv/linux/configure: Regenerated.
21549 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21550 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21551
22562bb2
JM
215522014-01-03 Joseph Myers <joseph@codesourcery.com>
21553
21554 [BZ #16390]
21555 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21556 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21557
d7ad2d9b
AZ
215582014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21559
21560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21561 extra tokens at end of #undef directive.
21562 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21563 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21564 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21565
7dd009d8
JM
215662014-01-03 Joseph Myers <joseph@codesourcery.com>
21567
24db925a
JM
21568 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21569
7dd009d8
JM
21570 * math/auto-libm-test-in: Mark various tests with
21571 xfail-rounding:ldbl-128ibm.
21572 * math/auto-libm-test-out: Regenerated.
21573
396e3ecf
JM
215742014-01-02 Joseph Myers <joseph@codesourcery.com>
21575
819e5d50
JM
21576 [BZ #16386]
21577 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21578 numbers with subnormal high part when calculating exponent.
21579
90b6a1e5
JM
21580 [BZ #16385]
21581 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21582 fabs.
21583
396e3ecf
JM
21584 [BZ #16384]
21585 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21586 M_LN2l.
21587 (__ieee754_acoshl): Use __log1pl not __log1p.
21588
6c8dbf00
OB
215892013-01-02 Ondřej Bílka <neleai@seznam.cz>
21590
57f41c40
AS
21591 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21592 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21593 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21594 (grow_heap, heap_trim, _int_new_arena, get_free_list)
21595 (reused_arena, arena_get2): Convert to GNU style.
21596 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21597 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21598 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 21599 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
21600 * malloc/malloc.c (__malloc_assert, malloc_init_state)
21601 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21602 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21603 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21604 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21605 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 21606 * malloc/malloc.h: Likewise.
57f41c40
AS
21607 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21608 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 21609 * malloc/mcheck.h: Likewise.
57f41c40
AS
21610 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21611 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
21612 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21613 * malloc/morecore.c (__default_morecore): Likewise.
21614 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
21615 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21616 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21617 (print_and_abort): Likewise.
6c8dbf00
OB
21618 * malloc/obstack.h: Likewise.
21619 * malloc/set-freeres.c (__libc_freeres): Likewise.
21620 * malloc/tst-mallocstate.c (main): Likewise.
21621 * malloc/tst-mtrace.c (main): Likewise.
21622 * malloc/tst-realloc.c (do_test): Likewise.
21623
d4124212
SP
216242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21625
9a3c6a6f
SP
21626 [BZ #16366]
21627 * nscd/netgroupcache.c (do_notfound): New function.
21628 (addgetnetgrentX): Use it.
21629
d4124212
SP
21630 [BZ # 16365]
21631 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21632 NSS_STATUS_NOTFOUND.
21633
97b9a009
JM
216342014-01-01 Joseph Myers <joseph@codesourcery.com>
21635
21636 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21638
d4697bc9
AM
216392014-01-01 Allan McRae <allan@archlinux.org>
21640
ddb3687f
AM
21641 * scripts/update-copyrights: Update configure input file suffix.
21642
88726d48
AM
21643 * NEWS: Update copyright year.
21644 * catgets/gencat.c: Likewise.
21645 * csu/version.c: Likewise.
21646 * debug/catchsegv.sh: Likewise.
21647 * debug/pcprofiledump.c: Likewise.
21648 * debug/xtrace.sh: Likewise.
21649 * elf/ldconfig.c: Likewise.
21650 * elf/ldd.bash.in: Likewise.
21651 * elf/pldd.c: Likewise.
21652 * elf/sotruss.ksh: Likewise.
21653 * elf/sprof.c: Likewise.
21654 * iconv/iconv_prog.c: Likewise.
21655 * iconv/iconvconfig.c: Likewise.
21656 * locale/programs/locale.c: Likewise.
21657 * locale/programs/localedef.c: Likewise.
21658 * login/programs/pt_chown.c: Likewise.
21659 * malloc/memusage.sh: Likewise.
21660 * malloc/memusagestat.c: Likewise.
21661 * malloc/mtrace.pl: Likewise.
21662 * manual/libc.texinfo: Likewise.
21663 * nscd/nscd.c: Likewise.
21664 * nss/getent.c: Likewise.
21665 * nss/makedb.c: Likewise.
21666 * posix/getconf.c: Likewise.
21667 * scripts/test-installation.pl: Likewise.
21668
d4697bc9
AM
21669 * All files with FSF copyright notices: Update copyright dates
21670 using scripts/update-copyrights.
21671 * intl/plural.c: Regenerated.
21672 * locale/programs/charmap-kw.h: Likewise.
21673 * locale/programs/locfile-kw.h: Likewise.
21674
c8590f9d
MF
216752013-12-31 Mike Frysinger <vapier@gentoo.org>
21676
21677 * sysdeps/unix/sysv/linux/configure: Regenerated.
21678 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21679 the linux/fanotify.h header.
21680 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21681 HAVE_LINUX_FANOTIFY_H is defined.
21682
b19221b9
SP
216832013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21684
dd1d85e5
SP
21685 * benchtests/cos-inputs: New inputs.
21686 * benchtests/sin-inputs: Likewise.
21687
1acbb90f
SP
21688 * benchtests/atan-inputs: New inputs. Fix name of multiple
21689 precision fallback inputs.
21690
4c012ed3
SP
21691 * benchtests/atanh-inputs: New inputs.
21692 * benchtests/tanh-inputs: Likewise.
21693
eff98324
SP
21694 * benchtests/acosh-inputs: New inputs.
21695 * benchtests/asinh-inputs: Likewise.
21696
ce641152
SP
21697 * benchtests/cosh-inputs: New inputs.
21698 * benchtests/sinh-inputs: Likewise.
21699
b19221b9
SP
21700 * benchtests/acos-inputs: Add more inputs.
21701 * benchtests/asin-inputs: Likewise.
21702
030a4976 217032013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 21704
030a4976 21705 [BZ #16375]
9dcc8f11
VS
21706 * manual/arith.texi: Fix spelling.
21707 * manual/charset.texi: Likewise.
21708 * manual/errno.texi: Likewise.
21709 * manual/filesys.texi: Likewise.
21710 * manual/lang.texi: Likewise.
21711 * manual/llio.texi: Likewise.
21712 * manual/locale.texi: Likewise.
21713 * manual/message.texi: Likewise.
21714 * manual/resource.texi: Likewise.
21715 * manual/search.texi: Likewise.
21716 * manual/setjmp.texi: Likewise.
21717 * manual/stdio.texi: Likewise.
21718 * manual/string.texi: Likewise.
21719 * manual/sysinfo.texi: Likewise.
21720 * manual/time.texi: Likewise.
21721
11520a57
CD
217222013-12-27 Carlos O'Donell <carlos@redhat.com>
21723
21724 * po/sl.po: New file.
21725
471103ae
MF
217262013-12-27 Mike Frysinger <vapier@gentoo.org>
21727
21728 * .gitignore: Add core/.gdbinit/.gdb_history.
21729
6c9642ed
AM
217302013-12-27 Allan McRae <allan@archlinux.org>
21731
21732 [BZ #16369]
21733 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21734 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21735
3f637079
BM
217362013-12-24 Brooks Moses <bmoses@google.com>
21737
21738 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21739 all compilers that claim C++98 compliance, not just GCC.
21740 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21741 Likewise.
21742
abc26e99
MK
217432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21744
21745 * NEWS: Restore accidentally deleted bug-fix entries.
21746
362b47fe
MK
217472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21748 Ondřej Bílka <neleai@seznam.cz>
21749
21750 [BZ #15073]
21751 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 21752 have_lock.
362b47fe 21753
b9bcbbcb
OB
217542013-12-23 Ondřej Bílka <neleai@seznam.cz>
21755
21756 [BZ #12986]
21757 * manual/stdio.texi (String Input Conversions): Clarify that character
21758 classes are not supported.
21759
fb55fcd2
AZ
217602013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21761
21762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21763
ef7344f0
JM
217642013-12-22 Joseph Myers <joseph@codesourcery.com>
21765
4f40e4b3
JM
21766 [BZ #16337]
21767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21768 Calculate results for small negative arguments directly rather
21769 than using reflection formula with special underflow handling.
21770
ef7344f0
JM
21771 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21772 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21773 sysdeps/unix/bsd/bsd4.4/syscalls.list.
21774 (fchflags): Likewise.
21775 (revoke): Likewise.
21776 (setlogin): Likewise.
21777 (sigaltstack): Likewise.
21778 (wait4): Likewise.
21779 (sigblock): Remove.
21780 (sigsetmask): Likewise.
21781 (wait3): Likewise.
21782 (waitpid): Likewise.
21783 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21784 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21785 file.
21786 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21787 * sysdeps/unix/bsd/Makefile: ... here.
21788 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21789 * sysdeps/unix/bsd/Versions: ... here.
21790 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21791 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21792 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21793 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21794 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21795 * sysdeps/unix/bsd/sigblock.c: ... here.
21796 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21797 * sysdeps/unix/bsd/sigsetmask.c: ... here.
21798 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21799 * sysdeps/unix/bsd/sigvec.c: ... here.
21800 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21801 * sysdeps/unix/bsd/tcdrain.c: ... here.
21802 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21803 * sysdeps/unix/bsd/tcgetattr.c: ... here.
21804 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21805 * sysdeps/unix/bsd/tcsetattr.c: ... here.
21806 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21807 * sysdeps/unix/bsd/wait.c: ... here.
21808 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21809 * sysdeps/unix/bsd/wait3.c: ... here.
21810 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21811 * sysdeps/unix/bsd/waitpid.c: ... here.
21812
5b0626b9
JM
218132013-12-21 Joseph Myers <joseph@codesourcery.com>
21814
21815 [BZ #16356]
21816 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21817 round-to-nearest for [!USE_AS_EXPM1L].
21818 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21819 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
21820 more tests of exp and exp10. Expect some exp10 tests to miss
21821 exceptions or fail in directed rounding modes.
21822 * math/auto-libm-test-out: Regenerated.
21823 * math/libm-test.inc (exp10_tonearest_test_data): New array.
21824 (exp10_test_tonearest): New function.
21825 (exp10_towardzero_test_data): New array.
21826 (exp10_test_towardzero): New function.
21827 (exp10_downward_test_data): New array.
21828 (exp10_test_downward): New function.
21829 (exp10_upward_test_data): New array.
21830 (exp10_test_upward): New function.
21831 (main): Call the new functions.
21832 * sysdeps/i386/fpu/libm-test-ulps: Update.
21833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21834
7fda5682
JM
218352013-12-20 Joseph Myers <joseph@codesourcery.com>
21836
31e3a405
JM
21837 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21838 asinh, atan, atan2, atanh, cbrt, cos and cosh.
21839 * math/auto-libm-test-out: Regenerated.
21840 * math/libm-test.inc (acosh_test_data): Add more tests.
21841 (atanh_test_data): Likewise.
21842 (ceil_test_data): Likewise.
21843 (copysign_test_data): Likewise.
21844 * sysdeps/i386/fpu/libm-test-ulps: Update.
21845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21846
85bff96a
JM
21847 * timezone/checktab.awk: Update from tzcode 2013i.
21848 * timezone/private.h: Likewise.
21849 * timezone/scheck.c: Likewise.
21850 * timezone/tzfile.h: Likewise.
21851 * timezone/tzselect.ksh: Likewise.
21852 * timezone/zdump.c: Likewise.
21853 * timezone/zic.c: Likewise.
21854
b7867a3b
JM
21855 * math/auto-libm-test-in: Add tests of cpow.
21856 * math/auto-libm-test-out: Regenerated.
21857 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 21858 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
21859 mpc_cc_c.
21860 (func_calc_desc): Add mpc_cc_c union field.
21861 (test_functions): Add cpow.
21862 (special_fill_2pi): New function.
21863 (special_real_inputs): Add 2pi.
21864 (calc_generic_results): Handle mpc_cc_c.
21865 * sysdeps/i386/fpu/libm-test-ulps: Update.
21866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21867
7fda5682
JM
21868 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21869 csqrt, ctan and ctanh.
21870 * math/auto-libm-test-out: Regenerated.
21871 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21872 (TEST_COND_x86): Likewise.
21873 (ccos_test_data): Use AUTO_TESTS_c_c.
21874 (ccosh_test_data): Likewise.
21875 (cexp_test_data): Likewise.
21876 (clog_test_data): Likewise.
21877 (csqrt_test_data): Likewise.
21878 (ctan_test_data): Likewise.
21879 (ctan_tonearest_test_data): Likewise.
21880 (ctan_towardzero_test_data): Likewise.
21881 (ctan_downward_test_data): Likewise.
21882 (ctan_upward_test_data): Likewise.
21883 (ctanh_test_data): Likewise.
21884 (ctanh_tonearest_test_data): Likewise.
21885 (ctanh_towardzero_test_data): Likewise.
21886 (ctanh_downward_test_data): Likewise.
21887 (ctanh_upward_test_data): Likewise.
21888 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21889 mpc_c_c.
21890 (func_calc_desc): Add mpc_c_c union field.
21891 (FUNC_mpc_c_c): New macro.
21892 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21893 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21894 ctanh.
21895 (special_fill_min_subnorm_p120): New function.
21896 (special_real_inputs): Add min_subnorm_p120.
21897 (calc_generic_results): Handle mpc_c_c.
21898 * sysdeps/i386/fpu/libm-test-ulps: Update.
21899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21900
5ff8d60e
SP
219012013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21902
57f41c40
AS
21903 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21904 (do_sin_slow): New functions.
21905 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21906 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 21907
84ba214c
SP
21908 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21909 Use M to change sign of result instead of X. Assume X is
21910 positive.
21911 (csloww1): Likewise.
21912 (__sin): Adjust.
21913 (__cos): Adjust.
21914
975195e4
SP
21915 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21916 arguments A and DA.
21917 (__sin): Adjust.
21918 (__cos): Likewise.
21919
5ff8d60e
SP
21920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21921 (__cos): Likewise.
21922 (sloww1): Don't adjust sign of DX.
21923 (csloww1): Likewise.
21924 (sloww2): Use X directly and don't adjust sign of DX.
21925 (csloww2): Likewise.
21926
eb983568
JM
219272013-12-19 Joseph Myers <joseph@codesourcery.com>
21928
64a17f1a
JM
21929 * math/auto-libm-test-in: Add tests of cabs and carg.
21930 * math/auto-libm-test-out: Regenerated.
21931 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21932 (carg_test_data): Likewise.
21933 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21934 mpc_c_f.
21935 (func_calc_desc): Add mpc_c_f union field.
21936 (test_functions): Add cabs and carg.
21937 (calc_generic_results): Handle mpc_c_f.
21938
eb983568
JM
21939 * sysdeps/powerpc/powerpc32/libgcc-compat.S
21940 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21941 as a macro and a compat symbol.
21942 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21943 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21944 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21945 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21946 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21947 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21948 not use .hidden.
21949 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21950 Likewise.
21951 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21952 Likewise.
21953 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21954 Likewise.
21955 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21956 Likewise.
21957 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21958 Likewise.
21959 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21960 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21961 from GLIBC_2.3.2.
21962
6eeb678a
AZ
219632013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21964
21965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21966
6f6fc482
JM
219672013-12-19 Joseph Myers <joseph@codesourcery.com>
21968
21fea2e2
JM
21969 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21970 trailing whitespace removed.
21971 * scripts/config.guess: Update to version 2013-11-29.
21972 * scripts/config.sub: Update to version 2013-10-01.
21973
6f6fc482
JM
21974 * math/auto-libm-test-in: Add tests of sincos.
21975 * math/auto-libm-test-out: Regenerated.
21976 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21977 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21978 mpfr_f_11.
21979 (func_calc_desc): Add mpfr_f_11 union field.
21980 (test_functions): Add sincos.
21981 (calc_generic_results): Handle mpfr_f_11.
21982 * sysdeps/i386/fpu/libm-test-ulps: Update.
21983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21984
83f5c32d
AS
219852013-12-19 Andreas Schwab <schwab@suse.de>
21986
21987 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21988 CALL_MCOUNT.
21989 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21990 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21991 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21992
c688b419
JM
219932013-12-19 Joseph Myers <joseph@codesourcery.com>
21994
335ee092
JM
21995 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21996 * sysdeps/i386/fpu/libm-test-ulps: Update.
21997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21998
f88acd39
JM
21999 [BZ #16293]
22000 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22001 round-to-nearest mode when using frndint.
22002 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22003 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22004 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22005 Likewise.
22006 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22007 sinh test to fail.
22008 * math/auto-libm-test-out: Regenerated.
22009 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22010 (TEST_COND_x86): Likewise.
22011 (expm1_tonearest_test_data): New array.
22012 (expm1_test_tonearest): New function.
22013 (expm1_towardzero_test_data): New array.
22014 (expm1_test_towardzero): New function.
22015 (expm1_downward_test_data): New array.
22016 (expm1_test_downward): New function.
22017 (expm1_upward_test_data): New array.
22018 (expm1_test_upward): New function.
22019 (main): Run the new test functions.
22020 * sysdeps/i386/fpu/libm-test-ulps: Update.
22021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22022
c688b419
JM
22023 * include/features.h: Update comment documenting feature test
22024 macros. Mention _DEFAULT_SOURCE in comment.
22025 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22026 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22027 _BSD_SOURCE and _SVID_SOURCE.
22028 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22029 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22030 !_SVID_SOURCE]: Likewise.
22031 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22032 (__USE_POSIX_IMPLICITLY): Define.
22033 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22034 (_POSIX_SOURCE): Undefine and redefine.
22035 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22036 (_POSIX_C_SOURCE): Likewise.
22037 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22038 (Feature Test Macros): Update documentation of default features.
22039
9f6e964c
RS
220402013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22041
22042 * benchtests/Makefile: Add bench-strtok.
22043 * benchtests/bench-strtok.c: New file: strtok benchtest.
22044
ee0a148a
AM
220452013-12-19 Allan McRae <allan@archlinux.org>
22046
22047 * manual/install.texi: Suppress menu for plain text output.
22048 * INSTALL: Regenerated.
22049
b9ab448f
BM
220502013-12-18 Brooks Moses <bmoses@google.com>
22051
22052 [BZ #15846]
22053 * misc/getauxval.c: Include errno.h.
22054 (__getauxval): Set errno to ENOENT if the requested type is not
22055 found.
22056 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22057 don't declare with __attribute_const__.
22058 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22059 * manual/startup.texi: Document that getauxval sets errno.
22060
23776487
JM
220612013-12-18 Joseph Myers <joseph@codesourcery.com>
22062
f889953b
JM
22063 * math/auto-libm-test-in: Add tests of jn and yn.
22064 * math/auto-libm-test-out: Regenerated.
22065 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22066 (yn_test_data): Likewise.
22067 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22068 mpfr_if_f.
22069 (func_calc_desc): Add mpfr_if_f union field.
22070 (FUNC_mpfr_if_f): New macro.
22071 (test_functions): Add jn and yn.
22072 (calc_generic_results): Assert type of second input for
22073 mpfr_ff_f. Handle mpfr_if_f.
22074 (output_for_one_input_case): Disable all checking for arguments
22075 fitting floating-point types in case of an integer argument.
22076 * sysdeps/i386/fpu/libm-test-ulps: Update.
22077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22078
23776487
JM
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22080 Don't expect fegetround reference in libm.so.
22081
cb756c6d
MS
220822013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22083
22084 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22085 $(config-cflags-nofma).
22086
2dec468f
JM
220872013-12-18 Joseph Myers <joseph@codesourcery.com>
22088
5953eb3a
JM
22089 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22090 * math/auto-libm-test-out: Regenerated.
22091
2dec468f
JM
22092 [BZ #16338]
22093 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22094 to determine exponent and adjust argument to have exponent of -1.
22095 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22096 log2.
22097 * math/auto-libm-test-out: Regenerated.
22098 * sysdeps/i386/fpu/libm-test-ulps: Update.
22099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22100
4d84e6ad
OB
221012013-12-18 Ondřej Bílka <neleai@seznam.cz>
22102
22103 * manual/probes.texi: Remove cases when per-thread arenas are
22104 disabled.
22105
1818483b
AS
221062013-12-18 Andreas Schwab <schwab@suse.de>
22107
22108 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22109 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22110 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22111 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22112 * sysdeps/i386/i686/multiarch/Makefile: Update.
22113 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22114
25de95bf
JM
221152013-12-17 Joseph Myers <joseph@codesourcery.com>
22116
22117 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22118 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22119
674762d9
PE
221202013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22121
ed27ed83 22122 [BZ #15968]
0748546f
PE
22123 Support TZ transition times < 00:00:00.
22124 This is needed for version-3 tz-format files; it supports time
22125 stamps past 2037 for America/Godthab (the only entry in the tz
22126 database for which this change is relevant).
22127 * manual/time.texi (TZ Variable): Document transition times
22128 from -167:59:59 through -00:00:01.
22129 * time/tzset.c (tz_rule): Time of day is now signed.
22130 (__tzset_parse_tz): Parse negative time of day.
22131
4480e934
PE
22132 Document TZ transition times >= 25:00:00.
22133 * manual/time.texi (TZ Variable): Document transition times from
22134 25:00:00 through 167:59:59. These are already supported, and this
22135 support will help with version-3 tz-format files.
22136
69947401
PE
22137 * manual/time.texi (TZ Variable): Modernize North America example
22138 to reflect current (i.e., 2007-and-later) daylight saving rules.
22139
674762d9
PE
22140 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22141
7011c262
JM
221422013-12-17 Joseph Myers <joseph@codesourcery.com>
22143
2fc6557e
JM
22144 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22145 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22146 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22148 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22149 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22150 * sysdeps/unix/bsd/clock.c: Likewise.
22151 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22152 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22153 * sysdeps/unix/bsd/init-posix.c: Likewise.
22154 * sysdeps/unix/bsd/poll.c: Likewise.
22155 * sysdeps/unix/bsd/ptsname.c: Likewise.
22156 * sysdeps/unix/bsd/seekdir.c: Likewise.
22157 * sysdeps/unix/bsd/setegid.c: Likewise.
22158 * sysdeps/unix/bsd/seteuid.c: Likewise.
22159 * sysdeps/unix/bsd/setgid.c: Likewise.
22160 * sysdeps/unix/bsd/setrgid.c: Likewise.
22161 * sysdeps/unix/bsd/setruid.c: Likewise.
22162 * sysdeps/unix/bsd/setsid.c: Likewise.
22163 * sysdeps/unix/bsd/setuid.c: Likewise.
22164 * sysdeps/unix/bsd/sigaction.c: Likewise.
22165 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22166 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22167 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22168 * sysdeps/unix/bsd/telldir.c: Likewise.
22169 * sysdeps/unix/bsd/times.c: Likewise.
22170 * sysdeps/unix/bsd/usleep.c: Likewise.
22171
029c7b25
JM
22172 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22173 ($(objpfx)libbsd-compat.a): Remove rule.
22174
7011c262
JM
22175 * include/features.h (__FAVOR_BSD): Do not define.
22176 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22177 features conflicting with POSIX.
22178 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22179 (_BSD_SOURCE): Remove description of not being a subset of other
22180 feature test macros.
22181 * manual/job.texi (getpgrp): Do not document BSD version.
22182 (getpgid): Do not document by reference to BSD getpgrp.
22183 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22184 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22185 * signal/signal.h [__FAVOR_BSD]: Likewise.
22186 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22187 instead of making contents conditional on [__FAVOR_BSD].
22188 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22189
affb6f78
AZ
221902013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22191
22192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22193
c88769dd
JM
221942013-12-17 Joseph Myers <joseph@codesourcery.com>
22195
6432a540
JM
22196 [BZ #16314]
22197 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22198 values below 2**-450, not 2**-500.
22199 * math/auto-libm-test-in: Don't allow spurious underflow from
22200 hypot.
22201 * math/auto-libm-test-out: Regenerated.
22202
c88769dd
JM
22203 [BZ #16316]
22204 [BZ #16330]
22205 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22206 values of ha and hb and sort them after adjusting subnormal
22207 arguments.
22208 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22209 Likewise.
22210 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22211 values of ea and eb and sort them after adjusting subnormal
22212 arguments.
22213 * math/auto-libm-test-in: Do not expect some hypot tests of
22214 subnormals to fail. Add more hypot tests.
22215 * math/auto-libm-test-out: Regenerated.
22216
29618f6b
KK
222172013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22218
22219 [BZ #13304]
22220 * sysdeps/sh/s_fma.c: New file.
22221 * sysdeps/sh/s_fmaf.c: New file.
22222 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22223 version.
22224 * sysdeps/sh/Implies: Add sh/soft-fp.
22225
eacfdfbf
RM
222262013-12-16 Roland McGrath <roland@hack.frob.com>
22227
22228 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22229 level of indirection to members `objname', `errstring', `malloced'.
22230 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22231 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22232 it as the __longjmp argument (just pass 1 instead).
22233 (_dl_catch_error): Initialize C with argument pointers and address of
22234 volatile local ERRCODE rather than copying values out of C at return.
22235
ff362e5b
JM
222362013-12-16 Joseph Myers <joseph@codesourcery.com>
22237
22238 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22239 * math/auto-libm-test-out: Regenerated.
22240 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22241 (hypot_test_data): Likewise.
22242 (pow_test_data): Likewise.
22243 (pow_tonearest_test_data): Likewise.
22244 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22245 mpfr_ff_f.
22246 (func_calc_desc): Add mpfr_ff_f union field.
22247 (FUNC_mpfr_ff_f): New macro.
22248 (test_functions): Add atan2, hypot and pow.
22249 (special_fill_min): New function.
22250 (special_fill_minus_min): Likewise.
22251 (special_fill_min_subnorm): Likewise.
22252 (special_fill_minus_min_subnorm): Likewise.
22253 (special_real_inputs): Add min, -min, min_subnorm and
22254 -min_subnorm.
22255 (calc_generic_results): Handle mpfr_ff_f.
22256 * sysdeps/i386/fpu/libm-test-ulps: Update.
22257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22258
5764c27f
WN
222592013-12-16 Will Newton <will.newton@linaro.org>
22260
22261 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22262 (Aligned Memory Blocks): Add documentation for aligned_alloc
22263 and suggest it as an alternative to posix_memalign.
22264 (Hooks for Malloc): Document __memalign_hook is also called
22265 for aligned_alloc. (Summary of Malloc): Add summary for
22266 aligned alloc. Document __memalign_hook is also called
22267 for aligned_alloc.
22268
0a096e44
WN
222692013-12-16 Will Newton <will.newton@linaro.org>
22270
22271 * manual/memory.texi (Malloc Examples): Clarify default
22272 alignment documentation. Suggest posix_memalign rather
22273 than memalign or valloc.
22274 (Aligned Memory Blocks): Remove suggestion to use memalign
22275 or valloc. Remove obsolete comment about BSD.
22276 Document memalign errno values and mark the function obsolete.
22277 Document posix_memalign returned error codes. Mark valloc
22278 as obsolete. (Hooks for Malloc): __memalign_hook is also
22279 called for posix_memalign and valloc.
22280 (Summary of Malloc): Add posix_memalign to function summary.
22281 __memalign_hook is also called for posix_memalign and valloc.
22282
8d561986
SP
222832013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22284
22285 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22286 TAYLOR_SIN.
22287 (__sin): Adjust.
22288 (__cos): Likewise.
22289 (sloww): Use mynumber union. Expand ternary operator into
22290 if-else statements.
22291 (cslow): use mynumber union.
22292
73616a74
AM
222932013-12-16 Allan McRae <allan@archlinux.org>
22294
9e8ac24b
AM
22295 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22296 * configure: Regenerated.
22297
6f8e37eb
AM
22298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22299
8894bad3
AM
22300 [BZ #14120]
22301 * configure.ac: Added --enable-maintainer-mode. Check for
22302 autoconf when enabled.
22303 * configure: Regenerated.
22304
73616a74
AM
22305 * nscd/nscd.service: New file.
22306 * nscd/nscd.tmpfiles: New file.
22307
584b18eb
OB
223082013-12-14 Ondřej Bílka <neleai@seznam.cz>
22309
22310 [BZ #12100]
22311 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22312 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22313 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22314 (strstr): Add __strstr_sse2_unaligned ifunc.
22315 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22316 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22317 (strcasestr): Remove __strcasestr_sse42 ifunc.
22318 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22321
8a5c7897
KK
223222013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22323
22324 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22325 * sysdeps/sh/bits/fenv.h: ... here.
22326 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22327
fd712ef3
AZ
223282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22329
22330 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22331
42fcb46c
AZ
22332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22333 hypotf multiarch implementations.
22334 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22335 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22336 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22337 multiarch hypot for PPC64.
22338 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22341 multiarch hypotf for PPC64.
22342
83efded4
AZ
22343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22344 modff multiarch implementations.
22345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22348 multiarch modf for PPC64.
22349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22352 multiarch modff for PPC64.
22353
43e246d2
AZ
22354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22355 and logl multiarch implementations.
22356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22359 multiarch logb for PPC64.
22360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22363 multiarch logb for PPC64.
22364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22367 multiarch logb for PPC64.
22368
8fdad123
AZ
22369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22370 isinff multiarch implementation.
22371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22372 file.
22373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22375 multiarch isinf for PPC64.
22376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22377 file.
22378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22379 multiarch isinff for PPC64.
22380
1481d706
AZ
22381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22382 finitef multiarch implementation.
22383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22384 file.
22385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22387 multiarch finite for PPC64.
22388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22389 file.
22390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22391 multiarch finitef for PPC64.
22392
5ccd5fc8
AZ
22393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22394 lrint multiarch implementation.
22395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22396 file.
22397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22399 multiarch llrint for PPC64.
22400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22401 multiarch lrint for PPC64.
22402
2568f3fa
AZ
22403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22404 copysignf multiarch implementation.
22405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22406 file.
22407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22408 file.
22409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22410 multiarch copysign for PPC64.
22411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22412 multiarch copysignf for PPC64.
22413
1cb341fd
AZ
22414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22415 multiarch implementation.
22416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22417 file.
22418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22419 file.
22420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22421 file.
22422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22423 file.
22424 multiarch llround for PPC64.
22425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22426 multiarch trunc for PPC64.
22427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22428 multiarch truncf for PPC64.
22429
59a3e194
AZ
22430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22431 multiarch implementation.
22432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22433 file.
22434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22435 file.
22436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22437 file.
22438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22439 file.
22440 multiarch llround for PPC64.
22441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22442 multiarch round for PPC64.
22443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22444 multiarch roundf for PPC64.
22445
357fd3b4
AZ
22446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22447 multiarch implementation.
22448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22449 file.
22450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22451 file.
22452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22453 file.
22454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22455 file.
22456 multiarch llround for PPC64.
22457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22458 multiarch floor for PPC64.
22459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22460 multiarch floorf for PPC64.
22461
96770f12
AZ
22462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22463 multiarch implementation.
22464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22465 file.
22466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22467 file.
22468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22469 file.
22470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22471 file.
22472 multiarch llround for PPC64.
22473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22474 multiarch ceil for PPC64.
22475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22476 multiarch ceilf for PPC64.
22477
c3627f6e
AZ
22478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22479 multiarch implementation.
22480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22481 file.
22482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22483 file.
22484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22485 file.
22486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22487 multiarch llround for PPC64.
22488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22489 multiarch lround for PPC64.
22490
b2284ad7
AZ
22491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22492 multiarch implementation.
22493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22496 file.
22497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22500 multiarch isnan for PPC64.
22501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22502 multiarch isnanf for PPC64.
22503
69bbc63d
AZ
22504 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22505 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22506 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22507 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22508 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22510
c24517c9
AZ
22511 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22512 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22515
a52374e8
AZ
22516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22517 multiarch implementations.
22518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22519 (__libc_ifunc_impl_list): Likewise.
22520 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22521 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22522 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22523 multiarch stpcpy for PPC64.
22524
7f5ec113
AZ
22525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22526 multiarch implementations.
22527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22528 (__libc_ifunc_impl_list): Likewise.
22529 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22530 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22531 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22532 multiarch strcpy for PPC64.
22533
e28bcd42
AZ
22534 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22535 redefine function name.
22536 (_wordcopy_fwd_dest_aligned): Likewise.
22537 (_wordcopy_bwd_aligned): Likewise.
22538 (_wordcopy_bwd_dest_aligned): Likewise.
22539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22540 multiarch implementations.
22541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22542 (__libc_ifunc_impl_list): Likewise.
22543 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22544 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22545 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22546 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22547 multiarch wcscpy for PPC64.
22548
92cacfce
AZ
22549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22550 multiarch implementations.
22551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22552 (__libc_ifunc_impl_list): Likewise.
22553 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22554 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22555 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22556 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22557 multiarch wcscpy for PPC64.
22558
7b714620
AZ
22559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22560 multiarch implementations.
22561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22562 (__libc_ifunc_impl_list): Likewise.
22563 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22564 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22565 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22566 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22567 multiarch wcsrchr for PPC64.
22568
16fd2ae3
AZ
22569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22570 multiarch implementations.
22571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22572 (__libc_ifunc_impl_list): Likewise.
22573 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22574 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22575 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22576 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22577 multiarch wcschr for PPC64.
22578
9ee2969b
AZ
22579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22580 multiarch implementations.
22581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22582 (__libc_ifunc_impl_list): Likewise.
22583 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22584 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22585 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22586 multiarch strchrnul for PPC64.
22587
372dc060
AZ
22588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22589 implementations.
22590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22591 (__libc_ifunc_impl_list): Likewise.
22592 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22593 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22594 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22595 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22596 strchr for PPC64.
22597
24c2c3b9
AZ
22598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22599 implementations.
22600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22601 (__libc_ifunc_impl_list): Likewise.
22602 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22603 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22604 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22605 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22606 strncmp for PPC64.
22607
1c92d9a0
AZ
22608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22609 multiarch implementations.
22610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22611 (__libc_ifunc_impl_list): Likewise.
22612 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22613 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22614 strncasecmp for PPC64.
22615 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22616 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22617 multiarch strncasecmp_l for PPC64.
22618
17de3ee3
AZ
22619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22620 multiarch implementations.
22621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22622 (__libc_ifunc_impl_list): Likewise.
22623 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22624 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22625 multiarch strcasecmp for PPC64.
22626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22627 file.
22628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22629 multiarch strcasecmp_l for PPC64.
22630
62982bf9
AZ
22631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22632 implementations.
22633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22634 (__libc_ifunc_impl_list): Likewise.
22635 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22636 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22637 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22638 strnlen for PPC64.
22639
a65f4904
AZ
22640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22641 implementations.
22642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22643 (__libc_ifunc_impl_list): Likewise.
22644 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22645 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22646 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22647 strlen for PPC64.
22648
1fd005ad
AZ
22649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22650 implementations.
22651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22652 (__libc_ifunc_impl_list): Likewise.
22653 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22654 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22655 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22656 rawmemrchr for PPC64.
22657
cd05ba91
AZ
22658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22659 implementation.
22660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22661 (__libc_ifunc_impl_list): Likewise.
22662 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22663 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22664 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22665 memrchr for PPC64.
22666
870f8676
AZ
22667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22668 implementation.
22669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22670 (__libc_ifunc_impl_list): Likewise.
22671 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22672 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22673 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22674 memchr for PPC64.
22675
f00be62b
AZ
22676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22677 implementation.
22678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22679 (__libc_ifunc_impl_list): Likewise.
22680 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22681 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22682 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22683 mempcpy for PPC64.
22684
8a29a3d0
AZ
22685 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22686 avoid cretion of __bzero symbol.
22687 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22688 Likewise.
22689 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22690 Likewise.
22691 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22692 Likewise.
22693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22694 multiarch implementations.
22695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22696 (__libc_ifunc_impl_list): Likewise.
22697 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22698 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22699 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22700 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22701 bzero for PPC32.
22702 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22703 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22704 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22705 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22706 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22707 memset for PPC64.
22708 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22709
07253fcf
AZ
22710 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22712 implementations.
22713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22714 (__libc_ifunc_impl_list): Likewise.
22715 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22716 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22717 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22718 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22719 memcmp for PPC64.
22720
b5beafbc
AZ
22721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22722 multiarch for POWER/PPC64.
22723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22724 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22725 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22726 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22727 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22728 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22729 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22731 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22732 memcpy for PPC64.
22733
5e6a4d4b
AZ
22734 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22735 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22736 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22737 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22738 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22739 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22740 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22741 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22742 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22743 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22744 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22745 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22746 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22747 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22748 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22756
ddfab6dc
KK
227572013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22758
22759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22760
19b5525e
SP
227612013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22762
22763 * benchtests/Makefile (bench): Add exp2 and log2.
22764 (LDLIBS-bench-exp2): Add -lm.
22765 (LDLIBS-bench-log2): Likewise.
22766 * benchtests/exp2-inputs: New inputs file.
22767 * benchtests/log2-inputs: New inputs file.
22768 * benchtests/log-inputs: Add new inputs.
22769 * benchtests/tan-inputs: Likewise.
22770
196f7f5d
SP
227712013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22772
7a74607f
SP
22773 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22774 definition...
57f41c40
AS
22775 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22776 (csloww2): ... from here.
7a74607f 22777
196f7f5d
SP
22778 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22779 instead of structures.
22780 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22781 (POLYNOMIAL): Likewise.
22782 (TAYLOR_SLOW): Likewise.
22783 (__sin): Likewise.
22784 (__cos): Likewise.
22785 (slow1): Likewise.
22786 (slow2): Likewise.
22787 (sloww): Likewise.
22788 (sloww1); Likewise.
22789 (sloww2): Likewise.
22790 (bsloww1): Likewise.
22791 (bsloww2): Likewise.
22792 (cslow2): Likewise.
22793 (csloww): Likewise.
22794 (csloww1): Likewise.
22795 (csloww2): Likewise.
22796
0dfa665c
OB
227972013-12-10 Ondřej Bílka <neleai@seznam.cz>
22798
22799 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
22800 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22801 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
22802 * malloc/hooks.c (realloc_check): Likewise.
22803
5782a80f
OB
22804 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22805 * malloc/arena.c: Remove PER_THREAD conditional.
22806 [!PER_THREAD]: Remove code.
22807 (ptmalloc_unlock_all2): Likewise.
22808 (ptmalloc_init): Likewise.
22809 (_int_new_arena): Likewise.
22810 (arena_get2): Likewise.
22811 * malloc/hooks.c (__malloc_get_state): Likewise.
22812 (__malloc_set_state): Likewise.
22813 * malloc/malloc.c: Likewise.
22814 (struct malloc_state): Likewise.
22815 (struct malloc_par): Likewise.
22816 (__libc_realloc): Likewise.
22817 (__libc_mallopt): Likewise.
22818
aeb95445
AZ
228192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22820
22821 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22822
e8349efd
OB
228232013-12-09 Ondřej Bílka <neleai@seznam.cz>
22824
22825 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22826 macro to a function. Check for zero perturb_byte.
22827 (_int_malloc, _int_free): Remove zero perturb_byte checks.
22828
f3eeb3fc 22829 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
22830 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22831 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
22832 force_reg by atomic_forced_read.
22833 * malloc/arena.c (ptmalloc_init): Likewise.
22834 * malloc/hooks.c (top_check): Likewise.
22835
be2f9009
AZ
228362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22837
22838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22839
e7b914bd
MT
228402013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
22841
22842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22843
9f0be4f8
JM
228442013-12-08 Joseph Myers <joseph@codesourcery.com>
22845
22846 * math/auto-libm-test-in: Add tests of lgamma.
22847 * math/auto-libm-test-out: Regenerated.
22848 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22849 (M_LOG_2_SQRT_PIl): Likewise.
22850 (lgamma_test_data): Use AUTO_TESTS_f_f1.
22851 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22852 mpfr_f_f1.
22853 (func_calc_desc): Add mpfr_f_f1 union field.
22854 (ARGS1): New macro.
22855 (ARGS2): Likewise.
22856 (ARGS3): Likewise.
22857 (ARGS4): Likewise.
22858 (RET1): Likewise.
22859 (RET2): Likewise.
22860 (CALC): Likewise.
22861 (FUNC): Likewise.
22862 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22863 (test_functions): Add lgamma.
22864 (calc_generic_results): Handle mpfr_f_f1.
22865 * sysdeps/i386/fpu/libm-test-ulps: Update.
22866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22867
24eeafdb
AZ
228682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22869
22870 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22871 __mpn_add_n for PowerPC64/POWER7.
22872 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22873 __mpn_sub_n for PowerPC64/POWER7.
22874
4a2c0fd4
AZ
22875 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22876 __mpn_addmul_1 for PowerPC64.
22877 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22878 __mpn_submul_1 for PowerPC64.
22879 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22880 for PowerPC64.
22881 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22882 for PowerPC64.
22883
4b5b548c
FS
228842013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
22885
22886 [BZ #15089]
22887 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22888
0a3ac0aa
AZ
228892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22890
22891 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22892
ccdc8438
AZ
22893 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22894 add multiarch folders.
22895 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22896 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22897 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22898 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22899 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22900 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22901 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22902 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22903 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22904 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22905 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22912
2e973d99
AZ
22913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22914 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22916 New file.
22917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22918 New file.
22919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22920 multiarch __ieee754_hypot for PowerPC32.
22921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22922 New file.
22923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22924 New file.
22925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22926 multiarch __ieee754_hypotf for PowerPC32.
22927
2d9470b2
AZ
22928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22929 long_double_symbol only if __logbl is defined.
22930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22931 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22933 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22935 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22936 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22937 path for implementation.
22938 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22939 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22941 logb, and logbl multiarch implementations for PowerPC32.
22942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22943 file.
22944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22945 file.
22946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22947 multiarch logb for PowerPC32.
22948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22949 file.
22950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22951 file.
22952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22953 multiarch logbf for PowerPC32.
22954 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22956 file.
22957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22958 multiarch logbl implementation for PowerPC32.
22959
5212ffce
AZ
22960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22961 and modff multiarch implementations.
22962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22963 New file.
22964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22965 New file.
22966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22967 multiarch modf for PowerPC32.
22968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22969 New file.
22970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22971 New file.
22972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22973 multiarch modff for PowerPC32.
22974
79dccf31
AZ
22975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22976 and lrintf multiarch implementations.
22977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22978 New file.
22979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22980 New file.
22981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22982 multiarch lrint for PowerPC32.
22983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22984 file: multiarch lrintf for PowerPC32.
22985
deb66480
AZ
22986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22987 and lroundf multiarch implementations.
22988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22989 New file.
22990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22991 New file.
22992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22993 New file.
22994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22995 multiarch lround for PowerPC32.
22996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22997 file: multiarch lroundf for PowerPC32.
22998
264b036b
AZ
22999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23000 copysign and copysignf multiarch implementations.
23001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23002 New file.
23003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23004 New file.
23005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23006 file: multiarch copysign for PowerPC32.
23007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23008 file: multiarch copysignf for PowerPC32.
23009
d47db6c9
AZ
23010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23011 and truncf multiarch implementations.
23012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23013 New file.
23014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23015 file.
23016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23017 multiarch trunc for PowerPC32.
23018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23019 New file.
23020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23021 New file.
23022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23023 multiarch truncf for PowerPC32.
23024
ddb60b5a
AZ
23025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23026 and roundf multiarch implementations.
23027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23028 New file.
23029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23030 file.
23031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23032 multiarch round for PowerPC32.
23033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23034 New file.
23035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23036 New file.
23037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23038 multiarch roundf for PowerPC32.
23039
bedcf49b
AZ
23040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23041 and floorf multiarch implementations.
23042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23043 New file.
23044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23045 file.
23046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23047 multiarch floor for PowerPC32.
23048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23049 New file.
23050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23051 New file.
23052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23053 multiarch floorf for PowerPC32.
23054
35ae5b40
AZ
23055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23056 and ceilf multiarch implementations.
23057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23058 New file.
23059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23060 file.
23061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23062 multiarch ceil for PowerPC32.
23063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23064 New file.
23065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23066 file.
23067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23068 multiarch ceilf for PowerPC32.
23069
ae1a4cd9
AZ
23070 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23071 is defined.
23072 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23073 FINITEF is defined.
23074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23075 and finitef multiarch implementations.
23076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23077 New file.
23078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23079 file.
23080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23081 multiarch finite for PowerPC32.
23082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23083 New file.
23084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23085 file: multiarch finitef for PowerPC32.
23086
64fffd65
AZ
23087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23088 and isinff multiarch implementations.
23089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23090 file.
23091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23092 file.
23093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23094 multiarch isinf for PowerPC32.
23095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23096 New file.
23097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23098 multiarch isinff for PowerPC32.
23099
8e4e7ba2
AZ
23100 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23101 alias when __isnan is defined.
23102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23103 and isnanf multiarch implementations.
23104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23105 file.
23106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23107 file.
23108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23109 file.
23110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23111 file.
23112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23113 multiarch isnan for PowerPC32.
23114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23115 New file.
23116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23117 New file.
23118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23119 multiarch isnanf for PowerPC32.
23120
ddba588e
AZ
23121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23122 and sqrtf multiarch implementations.
23123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23124 file.
23125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23126 file.
23127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23128 multiarch sqrt for PowerPC32.
23129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23130 file.
23131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23132 file.
23133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23134 multiarch sqrtf for PowerPC32.
23135
0f96a2f0
AZ
23136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23137 and llroundf multiarch implementations.
23138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23139 New file.
23140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23141 New file.
23142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23143 New file.
23144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23145 file: multiarch llround for PowerPC32.
23146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23147 file: multiarch llroundf for PowerPC32.
23148
c9b5d79e
AZ
23149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23150 multiarch PowerPC32 fpu implementations.
23151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23152 New file.
23153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23154 New file.
23155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23156 multiarch llrint for PowerPC32.
23157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23158 New file.
23159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23160 New file.
23161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23162 file.
23163
9cbb3aab
AZ
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23165
ea5a72f8
AZ
23166 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23167 file.
23168 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23169 file.
23170 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23171 file.
23172 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23173 multiarch wordcopy for PPC32.
23174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23175 wordcopy objects.
23176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23177 (__libc_ifunc_impl_list): Likewise.
23178 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23179 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23180 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23181 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23182 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23183 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23184
93be09e7
AZ
23185 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23187 file.
23188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23189 file.
23190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23191 file.
23192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23193 multiarch wcscpy for PPC32.
23194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23195 multiarch objects.
23196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23197 (__libc_ifunc_impl_list): Likewise.
23198 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23199 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23200 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23201 sysdeps/powerpc/power6/wcscpy.c.
23202
bb04e529
AZ
23203 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23205 file.
23206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23207 file.
23208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23209 file.
23210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23211 multiarch wcsrchr for PPC32.
23212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23213 multiarch objects.
23214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23215 (__libc_ifunc_impl_list): Likewise.
23216 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23217 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23218 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23219 sysdeps/powerpc/power6/wcsrchr.c.
23220
05b5cd1c
AZ
23221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23222 file.
23223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23224 file.
23225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23227 multiarch wcschr for PPc32.
23228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23229 multiarch objects.
23230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23231 (__libc_ifunc_impl_list): Likewise.
23232 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23233 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23234 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23235 sysdeps/powerpc/power6/wcschr.c.
23236
ba964147
AZ
23237 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23238 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23239 file.
23240 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23241 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23242 file: multiarch strchr for PPC32.
23243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23244 multiarch objects.
23245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23246 (__libc_ifunc_impl_list): Likewise.
23247
31c81aaa
AZ
23248 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23249 name.
23250 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23251 file.
23252 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23253 file.
23254 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23255 multiarch strchrnul for PPC32.
23256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23257 multiarch objects.
23258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23259 (__libc_ifunc_impl_list): Likewise.
23260
0d0607d9
AZ
23261 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23262 file.
23263 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23264 multiarch strncasecmp for PPC32.
23265 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23266 file.
23267 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23268 multiarch strncasecmp_l for PPC32.
23269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23270 strncasecmp multiarch objects.
23271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23272 (__libc_ifunc_impl_list): Likewise.
23273
4dfd5c86
AZ
23274 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23275 file.
23276 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23277 multiarch strncasecmp for PPC32.
23278 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23279 New file.
23280 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23281 multiarch strcasecmp_l for PPC32.
23282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23283 multiarch objects.
23284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23285 (__libc_ifunc_impl_list): Likewise.
23286
a19e01a3
AZ
23287 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23288 file.
23289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23290 file.
23291 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23292 multiarch strncmp for PPC32.
23293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23294 multiarch objects.
23295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23296 (__libc_ifunc_impl_list): Likewise.
23297
ae9cf7a2
AZ
23298 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23299 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23300 file.
23301 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23302 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23304 multiarch objects.
23305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23306 (__libc_ifunc_impl_list): Likewise.
23307
3148bb7d
AZ
23308 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23309 file.
23310 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23311 file.
23312 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23314 multiarch objects.
23315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23316 (__libc_ifunc_impl_list): Likewise.
23317
7af8b946
AZ
23318 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23319 file.
23320 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23321 file.
23322 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23323 multiarch rawmemchr for PPC32.
23324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23325 multiarch objects.
23326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23327 (__libc_ifunc_impl_list): Likewise.
23328
03a6aa6a
AZ
23329 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23330 file.
23331 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23332 file.
23333 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23334 file: memrchr multiarch for PPC32.
23335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23336 multiarch objects.
23337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23338 (__libc_ifunc_impl_list): Likewise.
23339
1c62e6d9
AZ
23340 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23341 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23342 file.
23343 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23344 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23345 multiarch memchr for PPC32.
23346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23347 multiarch objects.
23348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23349 (__libc_ifunc_impl_list): Likewise.
23350
87da8bdb
AZ
23351 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23352 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23353 file.
23354 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23355 file.
23356 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23357 file: multiarch mempcpy for PPC32.
23358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23359 multiarch objects.
23360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23361 (__libc_ifunc_impl_list): Likewise.
23362
20ed4714
AZ
23363 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23364 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23365 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23366 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23367 multiarch bzero for PPC32.
23368 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23369 file.
23370 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23371 file.
23372 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23373 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23374 file: multiarch memset for PPC32.
23375 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23377 memset multiarch objects.
23378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23379 (__libc_ifunc_impl_list): Likewise.
23380
ab3e3a46
AZ
23381 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23382 file.
23383 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23384 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23385 memcmp for PPC32.
23386 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23388 multiarch objects.
23389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23390 (__libc_ifunc_impl_list): Likewise.
23391
930de6f0
AZ
23392 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23393 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23394 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23395 file.
23396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23397 file.
23398 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23399 file.
23400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23401 multiarch memcpy for PPC32.
23402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23403 multiarch objects.
23404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23405 (__libc_ifunc_impl_list): Likewise.
23406
4c628e00
AZ
23407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23408 support multiarch for POWER/PPC32.
23409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23410 Likewise.
23411 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23413 Implies file to make multiarch folder appers before the fpu and
23414 default folder for power4 configuration.
23415
f4479220
SP
234162013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23417
23418 * scripts/bench.pl: Append volatile keyword to type.
23419
8517800f
KK
234202013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23421
23422 * sysdeps/sh/sotruss-lib.c: New file.
23423 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23424
180138f1
AZ
234252013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23426
23427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23428
bbf37bdc
JM
234292013-12-05 Joseph Myers <joseph@codesourcery.com>
23430
e47cc4e0
JM
23431 [BZ #6810]
23432 * math/w_tgamma.c: Include <errno.h>.
23433 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23434 * math/w_tgammaf.c: Include <errno.h>.
23435 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23436 * math/w_tgammal.c: Include <errno.h>.
23437 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23438 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23439 underflow. Add more tgamma tests.
23440 * math/auto-libm-test-out: Regenerated.
23441 * sysdeps/i386/fpu/libm-test-ulps: Update.
23442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23443
bbf37bdc
JM
23444 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23445 sin, sinh, tan, tanh, tgamma, y0 and y1.
23446 * math/auto-libm-test-out: Regenerated.
23447 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23448 (TEST_COND_x86): Likewise.
23449 (M_E2l): Remove macro.
23450 (M_E3l): Likewise.
23451 (M_2_SQRT_PIl): Likewise.
23452 (M_SQRT_PIl): Likewise.
23453 (M_1_DIV_El): Likewise.
23454 (log_test_data): Use AUTO_TESTS_f_f.
23455 (log10_test_data): Likewise.
23456 (log1p_test_data): Likewise.
23457 (log2_test_data): Likewise.
23458 (sin_test_data): Likewise.
23459 (sin_tonearest_test_data): Likewise.
23460 (sin_towardzero_test_data): Likewise.
23461 (sin_downward_test_data): Likewise.
23462 (sin_upward_test_data): Likewise.
23463 (sinh_test_data): Likewise.
23464 (sinh_tonearest_test_data): Likewise.
23465 (sinh_towardzero_test_data): Likewise.
23466 (sinh_downward_test_data): Likewise.
23467 (sinh_upward_test_data): Likewise.
23468 (tan_test_data): Likewise.
23469 (tan_tonearest_test_data): Likewise.
23470 (tan_towardzero_test_data): Likewise.
23471 (tan_downward_test_data): Likewise.
23472 (tan_upward_test_data): Likewise.
23473 (tanh_test_data): Likewise.
23474 (tgamma_test_data): Likewise.
23475 (y0_test_data): Likewise.
23476 (y1_test_data): Likewise.
23477 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23478 (special_real_inputs): Add pi/4.
23479 * sysdeps/i386/fpu/libm-test-ulps: Update.
23480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23481
eb5ad6b9
AZ
234822013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23483
23484 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23485 "longjmp_target" static probes.
23486 (__longjmp): Rename to __longjmp_symbol.
23487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23488 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23489 on which longjmp to generate.
23490 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23491 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23492 probe.
23493 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23494 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23495 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23496 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23497 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23498 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23500 __longjmp_symbol based on which __longjmp to generate.
23501 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23502 probe.
23503 (setjmp): Rename to setjmp_symbol.
23504 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23505 (_setjmp): Rename to _setjmp_symbol.
23506 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23507 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23508 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23509 which setjmp to generate.
23510 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23511 "longjmp_target" static probes.
23512
d136c6dc
SP
235132013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23514
9298ecba
SP
23515 * benchtests/README: Add note about output arguments.
23516 * benchtests/bench-sincos.c: Remove file.
23517 * benchtests/sincos-inputs: New file.
23518 * scripts/bench.pl: Identify output arguments and define
23519 static variables for them.
23520
232983e9
SP
23521 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23522
d136c6dc
SP
23523 [BZ #15941]
23524 * Makefile (INSTALL): Add install-plain.texi as the primary
23525 dependency.
23526 * manual/install-plain.texi: New file.
23527 * manual/install.texi: Include node directive only for
23528 non-plaintext output.
23529
699ff837
JM
235302013-12-04 Joseph Myers <joseph@codesourcery.com>
23531
ab07cea8
JM
23532 * stdlib/longlong.h: Update from GCC.
23533
699ff837
JM
23534 [BZ #6807]
23535 [BZ #15901]
23536 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23537 * math/w_j0f.c (y0f): Likewise.
23538 * math/w_j0l.c (__y0l): Likewise.
23539 * math/w_j1.c (y1): Likewise.
23540 * math/w_j1f.c (y1f): Likewise.
23541 * math/w_j1l.c (__y1l): Likewise
23542 * math/w_jn.c (yn): Likewise.
23543 * math/w_jnf.c (ynf): Likewise.
23544 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23545 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23546 value for Bessel function domain errors outside _SVID_ mode.
23547 Adjust sign of return value for yn (negative integer, 0).
23548 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23549 by zero in return for negative x and set sign appropriately for
23550 negative n.
23551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23553 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23554 expectations in error cases.
23555 (y1_test_data): Likewise.
23556 (yn_test_data): Likewise.
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23559
5b118558
UW
235602013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23561
23562 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23563 "64" to "64-v1". Add "64-v2".
23564 (abi-64-options): Rename to ...
23565 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
23566 (abi-64-condition): Rename to ...
23567 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
23568 (abi-64-ld-soname): Rename to ...
23569 (abi-64-v1-ld-soname): ... this.
23570 (abi-64-v2-options): Define.
23571 (abi-64-v2-condition): Likewise.
23572 (abi-64-v2-ld-soname): Likewise.
23573 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23574 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23578
61cd8fe4
UW
235792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23580 Alan Modra <amodra@gmail.com>
23581
23582 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23583 New versions for use with the ELFv2 ABI.
23584 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23585 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23586 declaration.
23587 (struct La_ppc64v2_retval): Likewise.
23588 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23589 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23590 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23591 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23592 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23593 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23594 Do not save or restore CR.
23595 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23596 (_dl_profile_resolve): Do no save or restore CR. Support extended
23597 return values for ELFv2 ABI. Fix location of FPR return registers.
23598 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23599 updated values for _CALL_ELF == 2.
23600 (La_regs, La_retval, int_retval): Likewise.
23601
8b8a692c
UW
236022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23603
23604 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23605 (FRAME_MIN_SIZE_PARM): Likewise.
23606 (FRAME_BACKCHAIN): Likewise.
23607 (FRAME_CR_SAVE): Likewise.
23608 (FRAME_LR_SAVE): Likewise.
23609 (FRAME_TOC_SAVE): Likewise.
23610 (FRAME_PARM_SAVE): Likewise.
23611 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23612 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23613 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23614 (call_mcount_parm_offset): New macro.
23615 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23616 (PROF): Use symbolic stack frame offsets.
23617 (TAIL_CALL_SYSCALL_ERROR): Likewise.
23618 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23619 Redefine in terms of FRAME_MIN_SIZE.
23620 (_dl_runtime_resolve): Use symbolic stack frame offsets.
23621 (_dl_profile_resolve): Likewise. Update comment.
23622 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23623 symbols stack frame offsets.
23624 (__sigsetjmp): Likewise.
23625 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23626 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23627 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23628 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23629
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23631 (FRAME_BACKCHAIN): Remove.
23632 (FRAME_CR_SAVE): Likewise.
23633 (FRAME_LR_SAVE): Likewise.
23634 (FRAME_COMPILER_DW): Likewise.
23635 (FRAME_LINKER_DW): Likewise.
23636 (FRAME_TOC_SAVE): Likewise.
23637 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
23638 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23639 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23640 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23642 (CHECK_SP): Use symbolic stack frame offsets.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23644 zone" instead of caller's parameter save area for temp storage.
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23646 Likewise. Also, use symbolic stack frame offsets.
23647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23648 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23649 our own stack frame instead of the caller's.
23650 (__socket): Use symbolic stack frame offsets.
23651
122b66de
UW
236522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23653 Alan Modra <amodra@gmail.com>
23654
23655 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23656 Define.
57f41c40
AS
23657 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23658 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
23659 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23660 New function.
23661 (elf_machine_fixup_plt): Call it.
23662 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
23663 reloc arguments.
23664 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
23665 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23666 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
23667 r2 before calling target.
23668
696caf1d
UW
236692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23670 Alan Modra <amodra@gmail.com>
23671
23672 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23673 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23674 versions of macros to support ELFv2 ABI.
23675 (LOCALENTRY): New macro.
23676 (ENTRY, EALIGN): Use it.
23677 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23678 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23679 fall through into ENTRY entry point.
23680 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23681 Only define if _CALL_ELF != 2.
23682
23683 (elf_machine_matches_host): Verify ABI version matches.
23684 (RTLD_START): Use LOCALENTRY.
23685 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23686 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23687 (PLT_ENTRY_WORDS): New macro.
23688 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23689 (elf_machine_runtime_setup): Support ELFv2 ABI.
23690 (elf_machine_fixup_plt): Likewise.
23691 (elf_machine_plt_conflict): Likewise.
23692 (resolve_ifunc): Likewise.
23693 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23694 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23695 Likewise.
23696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23697 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23699 (makecontext): Support ELFv2 ABI.
23700 * elf/elf.h (EF_PPC64_ABI): Define.
23701
d31beafa
UW
237022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23703
57f41c40
AS
23704 * sysdeps/powerpc/powerpc64/sysdep.h
23705 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23706 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23707 (ENTRY) [ASSEMBLER]: ... but instead here ...
23708 (EALIGN) [ASSEMBLER]: ... and here.
23709 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23710 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23711 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
23712 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23713 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
23714 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23715 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
23716 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23718 Use PPC64_LOAD_FUNCPTR.
23719
b525166b
UW
23720 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23721
7ec07d9a
AM
237222013-12-04 Alan Modra <amodra@gmail.com>
23723
23724 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23725 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23726 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23727 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23728
23729 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23730 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23731 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23732 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23733 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23734 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23735
5162e7dd
UW
237362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23737
23738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23739 (__makecontext): Fix incorrect CFI when backtracing out of
23740 context created via makecontext.
23741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23742 (__setcontext): Fix incorrect CFI during switch to new context.
23743 (__novec_setcontext): Likewise.
23744
19e3372b
OB
237452013-12-04 Ondřej Bílka <neleai@seznam.cz>
23746
23747 [BZ #4772]
23748 * time/strptime_l.c (__strptime_internal): Allow modifiers
23749 in strptime.
23750 * time/tst-strptime.c (day_tests): Add testcase.
23751
ecaf142d
SP
237522013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23753
23754 * scripts/bench.pl: Skip over blank lines.
23755
fbf964ae
PE
237562013-12-04 Paul Eggert <eggert@cs.ucla.edu>
23757
23758 [BZ #926]
23759 * manual/time.texi (Calendar Time): Clarify what timezone functions
23760 use.
23761
fa60a674
AZ
237622013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23763
23764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23765
d674f0ef
OB
237662013-12-04 Ondřej Bílka <neleai@seznam.cz>
23767
23768 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23769 implementation.
23770 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23771 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23772 * debug/memset_chk.c (__memset_chk): Likewise.
23773 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23774 * debug/strncpy_chk.c: Likewise.
23775
17dea188
JM
237762013-12-03 Joseph Myers <joseph@codesourcery.com>
23777
749008ff
JM
23778 [BZ #15268]
23779 [BZ #15425]
23780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23781 (__ieee754_exp): For possibly underflowing results, check size of
23782 result and force underflow exception if required.
23783 * math/auto-libm-test-in: Add more tests of exp.
23784 * math/auto-libm-test-out: Regenerated.
23785 * sysdeps/i386/fpu/libm-test-ulps: Update.
23786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23787
17dea188
JM
23788 [BZ #16283]
23789 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23790 * math/w_exp2f.c (__exp2f): Likewise.
23791 * math/w_exp2l.c (__exp2l): Likewise.
23792 * math/auto-libm-test-in: Do not allow missing errno on exp2
23793 underflow.
23794 * math/auto-libm-test-out: Regenerated.
23795
b20de2c3
OB
237962013-12-03 Ondřej Bílka <neleai@seznam.cz>
23797
23798 [BZ #16274]
23799 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23800 handle filename validation.
23801 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23802 (do_open): Delete.
23803
d8e2dbe3
JM
238042013-12-03 Joseph Myers <joseph@codesourcery.com>
23805
34e16df5
JM
23806 [BZ #6786]
23807 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23808 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23809 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23810 <float.h>.
23811 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23813 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23815 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23817 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23818 * math/auto-libm-test-in: Don't allow missing errno from erfc.
23819 Add more erfc tests.
23820 * math/auto-libm-test-out: Regenerated.
23821 * sysdeps/i386/fpu/libm-test-ulps: Update.
23822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23823
d8e2dbe3
JM
23824 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23825 exp2, expm1, j0 and j1.
23826 * math/auto-libm-test-out: Regenerated.
23827 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23828 (erfc_test_data): Likewise.
23829 (exp_test_data): Likewise.
23830 (exp_tonearest_test_data): Likewise.
23831 (exp_towardzero_test_data): Likewise.
23832 (exp_downward_test_data): Likewise.
23833 (exp_upward_test_data): Likewise.
23834 (exp10_test_data): Likewise.
23835 (exp2_test_data): Likewise.
23836 (expm1_test_data): Likewise.
23837 (j0_test_data): Likewise.
23838 (j1_test_data): Likewise.
23839 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23840 (input_flag_type): Add flag_xfail_rounding.
23841 (input_flags): Add xfail-rounding.
23842 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23843 (output_for_one_input_case): Handle flag_xfail_rounding.
23844 * sysdeps/i386/fpu/libm-test-ulps: Update.
23845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23846
18d14251
AJ
238472013-12-03 Aurelien Jarno <aurelien@aurel32.net>
23848
3d2e6075 23849 [BZ #16289]
18d14251
AJ
23850 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23851 division by 0.
23852
520d437b
SP
238532013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23854
23855 [BZ #16195]
23856 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23857 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23858 (STAP_PROBE0): New macro.
23859 (STAP_PROBE1): Likewise.
23860 (STAP_PROBE2): Likewise.
23861 (STAP_PROBE3): Likewise.
23862 (STAP_PROBE4): Likewise.
23863
416e0145
OB
238642013-12-02 Ondřej Bílka <neleai@seznam.cz>
23865
23866 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23867
9d17796a
SE
238682013-12-02 Steve Ellcey <sellcey@mips.com>
23869
23870 * benchtests/Makefile (bench): Add sqrt.
23871 (LDLIBS-bench-sqrt): New.
23872 * benchtests/sqrt-input: New.
23873
f524d6a8
PS
238742013-12-02 Pavel Simerda <psimerda@redhat.com>
23875
639a0ef8
PS
23876 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23877 (GAIH_EAI): Likewise.
23878 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23879 (gaih_inet): Likewise.
23880 (getaddrinfo): Don't use GAIH_EAI.
23881
f524d6a8
PS
23882 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23883 (struct gaih): Remove definition.
23884
df3aedaf
SP
238852013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23886
23887 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23888 Use HERRNOP directly.
23889
1ab19dec
AZ
238902013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23891
b42ad38d 23892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 23893
176b0c79
JM
238942013-11-30 Joseph Myers <joseph@codesourcery.com>
23895
23896 * math/gen-auto-libm-tests.c (test_functions): Add more
23897 single-argument functions.
23898 (special_fill_pi_2): New function.
23899 (special_fill_minus_pi_2): Likewise.
23900 (special_fill_pi_6): Likewise.
23901 (special_fill_minus_pi_6): Likewise.
23902 (special_fill_pi_3): Likewise.
23903 (special_fill_2pi_3): Likewise.
23904 (special_fill_e): Likewise.
23905 (special_fill_1_e): Likewise.
23906 (special_fill_e_minus_1): Likewise.
23907 (special_real_inputs): Add more special inputs.
23908 (output_for_one_input_case): Do not require ERANGE on underflow to
23909 zero if round-to-nearest result does not underflow to zero, unless
23910 exact results required.
23911 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23912 atan, atanh, cbrt, cos and cosh.
23913 * math/auto-libm-test-out: Regenerated.
23914 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23915 (acos_tonearest_test_data): Likewise.
23916 (acos_towardzero_test_data): Likewise.
23917 (acos_downward_test_data): Likewise.
23918 (acos_upward_test_data): Likewise.
23919 (acosh_test_data): Likewise.
23920 (asin_test_data): Likewise.
23921 (asin_tonearest_test_data): Likewise.
23922 (asin_towardzero_test_data): Likewise.
23923 (asin_upward_test_data): Likewise.
23924 (asinh_test_data): Likewise.
23925 (atan_test_data): Likewise.
23926 (atanh_test_data): Likewise.
23927 (cbrt_test_data): Likewise.
23928 (cos_test_data): Likewise.
23929 (cos_tonearest_test_data): Likewise.
23930 (cos_towardzero_test_data): Likewise.
23931 (cos_downward_test_data): Likewise.
23932 (cos_upward_test_data): Likewise.
23933 (cosh_test_data): Likewise.
23934 (cosh_tonearest_test_data): Likewise.
23935 (cosh_towardzero_test_data): Likewise.
23936 (cosh_downward_test_data): Likewise.
23937 (cosh_upward_test_data): Likewise.
23938 * sysdeps/i386/fpu/libm-test-ulps: Update.
23939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23940
ffb536d0
JM
239412013-11-29 Joseph Myers <joseph@codesourcery.com>
23942
2a77a467
JM
23943 [BZ #6787]
23944 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23945 * math/w_exp10f.c (__exp10f): Likewise.
23946 * math/w_exp10l.c (__exp10l): Likewise.
23947 * math/libm-test.inc (exp10_test_data): Add more tests and expect
23948 errno settings in existing tests.
23949
ea3bc4e8
JM
23950 [BZ #14032]
23951 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23952 precision control set to double precision.
23953 * sysdeps/i386/fpu/w_sqrt.c: New file.
23954 * math/auto-libm-test-in: Add more tests.
23955 * math/auto-libm-test-out: Update.
23956
0712c9d8
JM
23957 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23958 (sqrt_test_tonearest): New function.
23959 (sqrt_towardzero_test_data): New variable.
23960 (sqrt_test_towardzero): New function.
23961 (sqrt_downward_test_data): New variable.
23962 (sqrt_test_downward): New function.
23963 (sqrt_upward_test_data): New variable.
23964 (sqrt_test_upward): New function.
23965 (main): Call the new functions.
23966
ffb536d0
JM
23967 * math/gen-auto-libm-tests.c: New file.
23968 * math/auto-libm-test-in: Likewise.
23969 * math/auto-libm-test-out: New generated file.
23970 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23971 variables.
23972 (%beautify): Add generated representations of zero.
23973 (top level): Set $auto_input and call parse_auto_input.
23974 (beautify): Remove trailing "f" from hex float constants.
23975 (parse_args): Handle XFAIL_TEST.
23976 (convert_condition): New function.
23977 (or_value): Likewise.
23978 (or_cond_value): Likewise.
23979 (generate_testfile): Handle AUTO_TESTS_* lines.
23980 (parse_auto_input): New function.
23981 * math/libm-test.inc (XFAIL_TEST): New macro.
23982 (ERRNO_UNCHANGED): Update value.
23983 (ERRNO_EDOM): Likewise.
23984 (ERRNO_ERANGE): Likewise.
23985 (IGNORE_RESULT): Likewise.
23986 (TEST_COND_flt_32): New macro.
23987 (TEST_COND_dbl_64): Likewise.
23988 (TEST_COND_ldbl_96_intel): Likewise.
23989 (TEST_COND_ldbl_96_m68k): Likewise.
23990 (TEST_COND_ldbl_128): Likewise.
23991 (TEST_COND_ldbl_128ibm): Likewise.
23992 (TEST_COND_long32): Likewise.
23993 (TEST_COND_long64): Likewise.
23994 (TEST_COND_before_rounding): Likewise.
23995 (TEST_COND_after_rounding): Likewise.
23996 (enable_test): Handle XFAIL_TEST flag.
23997 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23998 with finite results.
23999 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24000 auto-libm-test-out.
24001
acd98a8e
AK
240022013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24003 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24004
24005 [BZ #16214]
24006 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24007 __tls_get_addr_internal instead of __tls_get_offset in order to
24008 avoid GOT pointer dependency. Make rtld export
24009 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24010 __tls_get_addr since we are a __tls_get_offset platform.
24011 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24012 GOT pointer being set up before.
24013 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24014
3c1c46a6
JM
240152013-11-28 Joseph Myers <joseph@codesourcery.com>
24016
7475aef5
JM
24017 * manual/math.texi (Errors in Math Functions): Document accuracy
24018 goals.
24019
8bca7cd8
JM
24020 [BZ #15004]
24021 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24022 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24025 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24027 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24037
91a1f3fe
JM
24038 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24039 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24040 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24041 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24042 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24043 Likewise.
24044 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24045 Likewise.
24046 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24047 Likewise.
24048 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24049 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24050 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24051 atomic-feupdateenv and flt-rounds.
24052 * sysdeps/powerpc/nofpu/Versions (libc): Add
24053 __atomic_feholdexcept, __atomic_feclearexcept,
24054 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24055 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24056 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24057 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24058 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24059 here.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24061 Update.
24062
c5df7609
JM
24063 * manual/arith.texi (FP Exceptions): Document that exceptions may
24064 not be raised when matherr is used.
24065 (Math Error Reporting): Document overflow in directed rounding
24066 modes. Document that errno may not be set when finite values are
24067 returned on overflow. Document intent to set errno on underflow
24068 only for underflow to zero.
24069
3c1c46a6
JM
24070 [BZ #16271]
24071 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24072 round-to-nearest then adjust result for other rounding modes.
24073 * include/fenv.h (fegetround): Use libm_hidden_proto.
24074 * math/fegetround.c (fegetround): Use libm_hidden_def.
24075 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24076 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24077 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24079 Likewise.
24080 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24081 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24082 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24083 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24084
5a4c6d53
SP
240852013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24086
24087 [BZ #16077]
24088 * nss/Versions (libnss_files): Add
24089 _nss_files_gethostbyname3_r.
24090 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24091 New function.
24092 (HOST_DB_LOOKUP): Remove macro.
24093 (_nss_files_gethostbyname_r): Implement function without the
24094 HOST_DB_LOOKUP macro.
24095 (_nss_files_gethostbyname2_r): Likewise.
24096
897b98ba
OB
240972013-11-28 Ondřej Bílka <neleai@seznam.cz>
24098
24099 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24100
6f476861
UB
241012013-11-26 Uros Bizjak <ubizjak@gmail.com>
24102
24103 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24104 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24105 warning.
24106
bd12ab55
AZ
241072013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24108
24109 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24110 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24111 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24112 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24113 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24114 __fe_nomask_env_priv and attribute_hidden.
24115 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24116 (libc_feupdateenv_test_ppc): Likewise.
24117 (libc_feresetround_ppc): Likewise.
24118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24119 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24120 compat_symbol macro.
24121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24122 (__fe_nomask_env): Likewise.
24123 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24124
52bb6543
OB
241252013-11-26 Ondřej Bílka <neleai@seznam.cz>
24126
24127 * string/Makefile: Remove ifunc tests.
24128 * string/test-string.h: Define TEST_IFUNC.
24129 * string/test-bcopy-ifunc.c: Remove.
24130 * string/test-bzero-ifunc.c: Likewise.
24131 * string/test-memccpy-ifunc.c: Likewise.
24132 * string/test-memchr-ifunc.c: Likewise.
24133 * string/test-memcmp-ifunc.c: Likewise.
24134 * string/test-memcpy-ifunc.c: Likewise.
24135 * string/test-memmem-ifunc.c: Likewise.
24136 * string/test-memmove-ifunc.c: Likewise.
24137 * string/test-mempcpy-ifunc.c: Likewise.
24138 * string/test-memrchr-ifunc.c: Likewise.
24139 * string/test-memset-ifunc.c: Likewise.
24140 * string/test-rawmemchr-ifunc.c: Likewise.
24141 * string/test-stpcpy-ifunc.c: Likewise.
24142 * string/test-stpncpy-ifunc.c: Likewise.
24143 * string/test-strcasecmp-ifunc.c: Likewise.
24144 * string/test-strcasestr-ifunc.c: Likewise.
24145 * string/test-strcat-ifunc.c: Likewise.
24146 * string/test-strchr-ifunc.c: Likewise.
24147 * string/test-strchrnul-ifunc.c: Likewise.
24148 * string/test-strcmp-ifunc.c: Likewise.
24149 * string/test-strcpy-ifunc.c: Likewise.
24150 * string/test-strcspn-ifunc.c: Likewise.
24151 * string/test-strlen-ifunc.c: Likewise.
24152 * string/test-strncasecmp-ifunc.c: Likewise.
24153 * string/test-strncat-ifunc.c: Likewise.
24154 * string/test-strncmp-ifunc.c: Likewise.
24155 * string/test-strncpy-ifunc.c: Likewise.
24156 * string/test-strnlen-ifunc.c: Likewise.
24157 * string/test-strpbrk-ifunc.c: Likewise.
24158 * string/test-strrchr-ifunc.c: Likewise.
24159 * string/test-strspn-ifunc.c: Likewise.
24160 * string/test-strstr-ifunc.c: Likewise.
24161
ab260039 241622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
24163
24164 * benchtests/Makefile: Remove ifunc tests.
24165 * benchtests/bench-string.h: Define TEST_IFUNC.
24166 * benchtests/bench-bcopy-ifunc.c: Remove.
24167 * benchtests/bench-bzero-ifunc.c: Likewise.
24168 * benchtests/bench-memccpy-ifunc.c: Likewise.
24169 * benchtests/bench-memchr-ifunc.c: Likewise.
24170 * benchtests/bench-memcmp-ifunc.c: Likewise.
24171 * benchtests/bench-memcpy-ifunc.c: Likewise.
24172 * benchtests/bench-memmem-ifunc.c: Likewise.
24173 * benchtests/bench-memmove-ifunc.c: Likewise.
24174 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24175 * benchtests/bench-memrchr-ifunc.c: Likewise.
24176 * benchtests/bench-memset-ifunc.c: Likewise.
24177 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24178 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24179 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24180 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24181 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24182 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24183 * benchtests/bench-strcat-ifunc.c: Likewise.
24184 * benchtests/bench-strchr-ifunc.c: Likewise.
24185 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24186 * benchtests/bench-strcmp-ifunc.c: Likewise.
24187 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24188 * benchtests/bench-strcpy-ifunc.c: Likewise.
24189 * benchtests/bench-strcspn-ifunc.c: Likewise.
24190 * benchtests/bench-strlen-ifunc.c: Likewise.
24191 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24192 * benchtests/bench-strncat-ifunc.c: Likewise.
24193 * benchtests/bench-strncmp-ifunc.c: Likewise.
24194 * benchtests/bench-strncpy-ifunc.c: Likewise.
24195 * benchtests/bench-strnlen-ifunc.c: Likewise.
24196 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24197 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 24198 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
24199 * benchtests/bench-strspn-ifunc.c: Likewise.
24200 * benchtests/bench-strstr-ifunc.c: Likewise.
24201
242022013-11-26 Ondřej Bílka <neleai@seznam.cz>
24203
ab260039
OB
24204 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24205
d1d9eaf4 242062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 24207
d1d9eaf4
OB
24208 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24209 * rt/aio.h: Likewise.
24210 * sysdeps/gnu/bits/utmp.h: Likewise.
24211 * sysdeps/gnu/bits/utmpx.h: Likewise.
24212 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24213 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24214 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24215 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24216 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24217 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24218 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24219 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24220 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24221 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24222 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24223 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24224 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24226 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24227 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24228 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24229 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24230 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24231 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24232 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24233 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24234 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24235 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24236 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24238 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24239 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24240 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24241 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24242 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24243 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24244 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24246 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24248 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24249 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24250 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24251 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24252 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24253 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24254
a7624ed9
CD
242552013-11-25 Carlos O'Donell <carlos@redhat.com>
24256
24257 [BZ #16245]
24258 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24259 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24260
63cfe52b
JM
242612013-11-25 Joseph Myers <joseph@codesourcery.com>
24262
24263 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24264 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24265 Likewise.
24266
41e8926a
AZ
242672013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24268
24269 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24270 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24271 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24272 (__fesetround): Remove define.
24273 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24274 rounding and exceptions handling.
24275 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24276 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24277 (__fe_nomask_env): Likewise.
24278 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24279 __fegetround instead of fegetround.
24280 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24281 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24282
6851bd4d
RM
242832013-11-21 Roland McGrath <roland@hack.frob.com>
24284
070906ff
RM
24285 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24286 it's there.
24287
6851bd4d
RM
24288 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24289
84ae135d
MI
242902013-11-21 Meador Inge <meadori@codesourcery.com>
24291
24292 [BZ #11157]
24293 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24294 (encrypt_r): Likewise.
24295 * malloc/obstack.h (obstack_free): Likewise.
24296 * posix/unistd.h (encrypt): Likewise.
24297
daf75146
GM
242982013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24299
24300 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24301 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24302 DL_CALL_DT_FINI() that call the functions directly.
24303 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24304 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24305 * elf/dl-fini.c: Likewise.
24306
10ad46bc
OB
243072013-11-20 Ondřej Bílka <neleai@seznam.cz>
24308
24309 * malloc/hooks.c (memalign_check): Add alignment rounding.
24310 * malloc/malloc.c (_mid_memalign): New function.
24311 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24312 Implement by calling _mid_memalign.
24313 * manual/probes.texi (Memory Allocation Probes): Remove
24314 memory_valloc_retry and memory_pvalloc_retry.
24315
f3fd2628
SP
243162013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24317
4712799f
SP
24318 * locale/programs/locarchive.c (open_archive): Add const
24319 qualifier to ARCHIVEFNAME and copy default fname to
24320 DEFAULT_FNAME.
24321
0417b20f
SP
24322 [BZ #15601]
24323 * libio/tst-widetext.input: Rename Oriya to Odia.
24324 * locale/iso-639.def: Likewise.
24325
f3fd2628
SP
24326 * manual/probes.texi (Mathematical Function Probes): Add
24327 documentation for sin, cos, asin and acos probes.
24328 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24329 (__sin32): Add slowasin probe.
24330 (__cos32): Add slowacos probe.
24331 (__mpsin): Add slowsin probe.
24332 (__mpcos): Add slowcos probe.
24333
73c1ce4f
JM
243342013-11-19 Joseph Myers <joseph@codesourcery.com>
24335
24336 [BZ #15483]
24337 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24338 thread-local __sim_exceptions_thread and global
24339 __sim_exceptions_global.
24340 (__sim_disabled_exceptions): Change to thread-local
24341 __sim_disabled_exceptions_thread and global
24342 __sim_disabled_exceptions_global.
24343 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24344 and global __sim_round_mode_global.
24345 (__simulate_exceptions): Use thread-local floating-point state and
24346 set global state from it as needed.
24347 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24348 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24349 __sim_round_mode_thread.
24350 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24351 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24352 and global __sim_exceptions_global.
24353 (__sim_disabled_exceptions): Change to thread-local
24354 __sim_disabled_exceptions_thread and global
24355 __sim_disabled_exceptions_global.
24356 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24357 and global __sim_round_mode_global.
24358 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24359 (SIM_SET_GLOBAL): Likewise.
24360 * sysdeps/powerpc/soft-fp/sfp-machine.h
24361 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24362 __sim_round_mode_thread.
24363 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24364 __sim_disabled_exceptions_thread.
24365 (__sim_exceptions): Change to __sim_exceptions_thread.
24366 (__sim_disabled_exceptions): Change to
24367 __sim_disabled_exceptions_thread.
24368 (__sim_round_mode): Change to __sim_round_mode_thread.
24369 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24370 thread-local floating-point state and set global state from it as
24371 needed.
24372 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24373 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24374 (__sim_disabled_exceptions): Remove extern declaration.
24375 (feenableexcept): Use thread-local floating-point state and set
24376 global state from it as needed.
24377 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24378 extern declaration.
24379 (__sim_disabled_exceptions): Likewise.
24380 (__sim_round_mode): Likewise.
24381 (__fegetenv): Use thread-local floating-point state.
24382 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24383 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24384 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24385 floating-point state and set global state from it as needed.
24386 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24387 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24388 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24389 Likewise.
24390 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24391 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24392 Likewise.
24393 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24394 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24395 Use __sim_round_mode_thread.
24396 * math/test-fenv-tls.c: New file.
24397 * math/Makefile (tests): Add test-fenv-tls.
24398 ($(objpfx)test-fenv-tls): Depend on
24399 $(common-objpfx)nptl/libpthread.so.
24400
b5449b12
AS
244012013-11-19 Andreas Schwab <schwab@suse.de>
24402
24403 * locale/programs/locale.c (show_info): Decode wordarray elements.
24404 * locale/categories.def (LC_MONETARY): Add element for
24405 _NL_MONETARY_CRNCYSTR.
24406 * locale/C-monetary.c (conversion_rate): New variable.
24407 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24408 element.
24409
e186536b
CM
244102013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24411
24412 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24413 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24414
5c349950
PP
244152013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24416
24417 * elf/Makefile (tst-auxv): New test.
24418 * elf/tst-auxv.c: New
24419 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24420
699df45b
JM
244212013-11-18 Joseph Myers <joseph@codesourcery.com>
24422
24423 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24424 (hidden_proto): Caller changed.
24425 (hidden_tls_proto): New macro.
24426 (libc_hidden_tls_proto): Likewise.
24427 (rtld_hidden_tls_proto): Likewise.
24428 (libm_hidden_tls_proto): Likewise.
24429 (libresolv_hidden_tls_proto): Likewise.
24430 (librt_hidden_tls_proto): Likewise.
24431 (libdl_hidden_tls_proto): Likewise.
24432 (libnss_files_hidden_tls_proto): Likewise.
24433 (libnsl_hidden_tls_proto): Likewise.
24434 (libnss_nisplus_hidden_tls_proto): Likewise.
24435 (libutil_hidden_tls_proto): Likewise.
24436
b7589107
OB
244372013-11-18 Ondřej Bílka <neleai@seznam.cz>
24438
24439 [BZ #10253]
24440 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24441 (decompose_rpath): Defer expansion to fillin_rpath.
24442 (_dl_init_paths): Pass linkmap to fillin_rpath.
24443
250c23bd
RS
244442013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24445
24446 * benchtests/Makefile: Add strsep.
24447 * benchtests/bench-strsep.c: New file: strsep benchtest.
24448 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24449
a7931fcf
AS
244502013-11-18 Andreas Schwab <schwab@suse.de>
24451
24452 * locale/programs/locale.c (show_info) [case byte]: Check for
24453 '\377' instead of '\177'.
24454 * locale/C-monetary.c (not_available): Always use "\377".
24455 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24456 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
24457 detect unavailable sign_posn locale elements.
24458 * locale/localeconv.c (__localeconv): For grouping and
24459 mon_grouping handle "\177" and "\377" like no grouping.
24460 (INT_ELEM): New macro. Use it to set all numeric members.
24461 * locale/programs/ld-monetary.c (monetary_read)
24462 <tok_mon_grouping>: Normalize single -1 to the empty string.
24463 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24464 Likewise.
24465
728dab0e
OB
244662013-11-07 Ondřej Bílka <neleai@seznam.cz>
24467
24468 [BZ #16055]
24469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24470 when we match (nil).
24471 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24472
66294491
JM
244732013-11-16 Joseph Myers <joseph@codesourcery.com>
24474
ce665817
JM
24475 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24476 (NO_TEST_INLINE): Update value.
24477 (ERRNO_UNCHANGED): Likewise.
24478 (ERRNO_EDOM): Likewise.
24479 (ERRNO_ERANGE): Likewise.
24480 (IGNORE_RESULT): Likewise.
24481 (check_float_internal): Check signs of NaN results if
24482 TEST_NAN_SIGN used.
24483 (check_complex): Pass TEST_NAN_SIGN flag through to second
24484 check_float_internal call.
24485 (copysign_test_data): Add tests with quiet NaNs as second
24486 argument. Use TEST_NAN_SIGN.
24487 (fabs_test_data): Add test of negative quiet NaN argument. Use
24488 TEST_NAN_SIGN.
24489 (signbit_test_data): Add tests of quiet NaN argument.
24490 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24491
ee1466a9
JM
24492 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24493 $ignore_result.
24494 (parse_args): Handle function results specified as IGNORE.
24495 * math/libm-test.inc (IGNORE_RESULT): New macro.
24496 (check_float_internal): Do not check numerical result if flag
24497 IGNORE_RESULT set.
24498 (check_complex): Pass through IGNORE_RESULT to second
24499 check_float_internal call.
24500 (check_int): Do not check numerical result if flag IGNORE_RESULT
24501 set.
24502 (check_long): Likewise.
24503 (check_bool): Likewise.
24504 (check_longlong): Likewise.
24505 (lrint_test_data): Add tests of infinite and NaN arguments.
24506 (lrint_tonearest_test_data): Likewise.
24507 (lrint_towardzero_test_data): Likewise.
24508 (lrint_downward_test_data): Likewise.
24509 (lrint_upward_test_data): Likewise.
24510 (llrint_test_data): Likewise.
24511 (llrint_tonearest_test_data): Likewise.
24512 (llrint_towardzero_test_data): Likewise.
24513 (llrint_downward_test_data): Likewise.
24514 (llrint_upward_test_data): Likewise.
24515 (lround_test_data): Likewise.
24516 (llround_test_data): Likewise.
24517
14407b7e
JM
24518 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24519 (ERRNO_UNCHANGED): Update value.
24520 (ERRNO_EDOM): Likewise.
24521 (ERRNO_ERANGE): Likewise.
24522 (NO_TEST_INLINE_FLOAT): New macro.
24523 (NO_TEST_INLINE_DOUBLE): Likewise.
24524 (enable_test): New function.
24525 (RUN_TEST_f_f): Check enable_test before running test.
24526 (RUN_TEST_2_f): Likewise.
24527 (RUN_TEST_fff_f): Likewise.
24528 (RUN_TEST_c_f): Likewise.
24529 (RUN_TEST_f_f1): Likewise.
24530 (RUN_TEST_fF_f1): Likewise.
24531 (RUN_TEST_fI_f1): Likewise.
24532 (RUN_TEST_ffI_f1): Likewise.
24533 (RUN_TEST_c_c): Likewise.
24534 (RUN_TEST_cc_c): Likewise.
24535 (RUN_TEST_f_i): Likewise.
24536 (RUN_TEST_f_i_tg): Likewise.
24537 (RUN_TEST_ff_i_tg): Likewise.
24538 (RUN_TEST_f_b): Likewise.
24539 (RUN_TEST_f_b_tg): Likewise.
24540 (RUN_TEST_f_l): Likewise.
24541 (RUN_TEST_f_L): Likewise.
24542 (RUN_TEST_fFF_11): Likewise.
24543 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24544 conditionals.
24545 (cosh_test_data): Likewise.
24546 (exp_test_data): Likewise.
24547 (expm1_test_data): Likewise.
24548 (hypot_test_data): Likewise.
24549 (pow_test_data): Likewise.
24550 (sinh_test_data): Likewise.
24551 (tanh_test_data): Likewise.
24552 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24553 flags argument.
24554
ca07f197
JM
24555 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24556 tests with quiet NaN input and output.
24557 (acosh_test_data): Likewise.
24558 (asin_test_data): Likewise.
24559 (asinh_test_data): Likewise.
24560 (atan_test_data): Likewise.
24561 (atanh_test_data): Likewise.
24562 (atan2_test_data): Likewise.
24563 (cbrt_test_data): Likewise.
24564 (cos_test_data): Likewise.
24565 (cosh_test_data): Likewise.
24566 (erf_test_data): Likewise.
24567 (erfc_test_data): Likewise.
24568 (exp_test_data): Likewise.
24569 (exp10_test_data): Likewise.
24570 (exp2_test_data): Likewise.
24571 (expm1_test_data): Likewise.
24572 (hypot_test_data): Likewise.
24573 (j0_test_data): Likewise.
24574 (j1_test_data): Likewise.
24575 (jn_test_data): Likewise.
24576 (lgamma_test_data): Likewise.
24577 (log_test_data): Likewise.
24578 (log10_test_data): Likewise.
24579 (log1p_test_data): Likewise.
24580 (log2_test_data): Likewise.
24581 (pow_test_data): Likewise.
24582 (scalb_test_data): Likewise.
24583 (sin_test_data): Likewise.
24584 (sincos_test_data): Likewise.
24585 (sinh_test_data): Likewise.
24586 (tan_test_data): Likewise.
24587 (tanh_test_data): Likewise.
24588 (tgamma_test_data): Likewise.
24589 (y0_test_data): Likewise.
24590 (y1_test_data): Likewise.
24591 (yn_test_data): Likewise.
24592
66294491
JM
24593 [BZ #16167]
24594 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24595 argument being NaN and avoid computations with second argument in
24596 that case.
24597 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24598 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24599 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24600
1820b143
CL
246012013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
24602
24603 * locale/iso-639.def: Add Chitwani Tharu (the).
24604
714bd261
AS
246052013-11-14 Andreas Schwab <schwab@suse.de>
24606
24607 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24608 word instead of empty string.
24609
7ab44563
AZ
246102013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24611
24612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24613 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24615 (__fe_nomask_env): Likewise.
24616
e8470ea2
SE
246172013-11-13 Steve Ellcey <sellcey@mips.com>
24618
24619 * benchtests/bench-timing.h: Include time.h.
24620
17c1d9f0
L
246212013-11-13 H.J. Lu <hongjiu.lu@intel.com>
24622
24623 [BZ #15997]
24624 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24625 to 3.4.0 for x32.
24626 * sysdeps/unix/sysv/linux/configure: Regenerated.
24627
9310c284
JM
246282013-11-13 Joseph Myers <joseph@codesourcery.com>
24629
24630 [BZ #16151]
24631 * stdlib/strtod_l.c (round_and_return): Do not consider
24632 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24633 exponent one less than half the least subnormal exponent.
24634 * stdlib/test-strtod-round-data: Add more tests.
24635 * stdlib/tst-strtod-round.c (tests): Regenerated.
24636
7a2ad8cf
AZ
246372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24638
24639 [BZ #14143]
24640 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24641 (__fe_mask_env): Likewise.
24642 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24643 libm_hidden_proto and add function prototype.
24644 (__fe_mask_env): Add function prototype.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24646 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24648 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24650 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24651
50727aa7
MS
246522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24653
b2f386c1 24654 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
24655 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24656
a615be46
MS
246572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24658
24659 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24660 of htab_find_slot().
24661
7ddace62
DM
246622013-11-11 David S. Miller <davem@davemloft.net>
24663
24664 [BZ #16150]
24665 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24666 symbol in the non-vis3 case in static builds.
24667 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24668 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24669 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24670 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24671
9182aa67
JK
246722013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
24673
24674 [BZ #387]
24675 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24676 it is empty.
24677
450a2e2d
AZ
246782013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24679
b2f386c1
SP
24680 * benchtests/Makefile: Add bench-strtod.
24681 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 24682
8ec3f656
AS
246832013-11-11 Andreas Schwab <schwab@suse.de>
24684
24685 [BZ #16153]
24686 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24687 terminating NUL in key length.
24688
76a9b998
AZ
246892013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24690
24691 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24692 Add artificial ODP entry for vDSO symbol for PPC64.
24693 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24694 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24695
e4368156
OB
246962013-11-07 Ondřej Bílka <neleai@seznam.cz>
24697
24698 [BZ #15374]
24699 * nss/getent.c (services_keys): Recognize services starting with digit.
24700
8d6bb57c
DM
247012013-11-06 David S. Miller <davem@davemloft.net>
24702
24703 [BZ #15985]
24704 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24705 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24706
e256c421
WN
247072013-11-06 Will Newton <will.newton@linaro.org>
24708
24709 * manual/memory.texi (Malloc Examples): Remove register
24710 keyword from examples.
24711
f6e12daa 247122013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 24713
f6e12daa 24714 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 24715
9d880655
AS
247162013-11-04 Joseph Myers <joseph@codesourcery.com>
24717
fd2f9486 24718 [BZ #6981]
9d880655
AS
24719 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24720 depending on [__GCC_IEC_559 > 0].
24721 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24722 depending on [__GCC_IEC_559_COMPLEX > 0].
24723
ae129d3c
CL
247242013-11-03 Chris Leonard <cjl@sugarlabs.org>
24725
24726 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24727 to iso-639.def.
24728
4a15c2a4 247292013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
24730
24731 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24732
8b35e35d
OB
247332013-11-01 Ondřej Bílka <neleai@seznam.cz>
24734
24735 [BZ #16112]
24736 * malloc/malloc (malloc_info): Do not handle first bin as
24737 special case.
24738
1d70fd6c
CL
247392013-11-01 Chris Leonard <cjl@sugarlabs.org>
24740
24741 * locale/iso-639.def: Add Central Nahuatl (nhn).
24742
8c5c2600
BH
247432013-11-01 Bruno Haible <bruno@clisp.org>
24744
24745 [BZ #7003]
24746 * manual/math.texi (BSD Random): Specify range upper bound as
24747 in POSIX.
24748
da5579c2
CL
247492013-10-31 Chris Leonard <cjl@sugarlabs.org>
24750
24751 * locale/iso-639.def: Add Meadow Mari (mhr).
24752
5d30d853
OB
247532013-10-31 Ondřej Bílka <neleai@seznam.cz>
24754
24755 [BZ #14752], [BZ #15763]
24756 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24757 Validate name.
24758 * rt/tst_shm.c: Add test for escaping directory.
24759
a4966c61
AS
247602013-10-31 Andreas Schwab <schwab@suse.de>
24761
8a43e768 24762 [BZ #15917]
a4966c61
AS
24763 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24764 followed by 'x' as part of digit sequence.
24765 * stdio-common/tst-sscanf.c (double_tests2): New tests.
24766
28d708c4
MAP
247672013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24768
24769 [BZ #16037]
24770 * configure.ac: allow GNU Make 4.0 and greater.
24771 * configure: Regenerated.
24772
a56ee40b
WN
247732013-10-30 Will Newton <will.newton@linaro.org>
24774
24775 [BZ #16038]
24776 * malloc/hooks.c (memalign_check): Limit alignment to the
24777 maximum representable power of two.
24778 * malloc/malloc.c (__libc_memalign): Likewise.
24779 * malloc/tst-memalign.c (do_test): Add test for very
24780 large alignment values.
24781 * malloc/tst-posix_memalign.c (do_test): Likewise.
24782
c6e4925d
OB
247832013-10-30 Ondřej Bílka <neleai@seznam.cz>
24784
24785 [BZ #11087]
24786 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24787 (munmap_chunk): Likewise.
24788 (mremap_chunk): Likewise.
24789
247902013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 24791
8a43e768 24792 [BZ #15799]
bbea82f7
OB
24793 * stdlib/div.c (div): Remove obsolete code.
24794 * stdlib/ldiv.c (ldiv): Likewise.
24795 * stdlib/lldiv.c (lldiv): Likewise.
24796
977f4b31
SP
247972013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24798
24799 [BZ #16071]
24800 * nss/nss_files/files-XXX.c (get_contents_ret): New
24801 enumerator.
24802 (get_contents): New function.
24803 (internal_getent): Use it. Expand size of LINEBUFLEN.
24804
cb8a6dbd
MF
248052013-10-30 Mike Frysinger <vapier@gentoo.org>
24806
24807 * configure.in: Moved to ...
24808 * configure.ac: ... here. Change reference to configure.in
24809 to configure.ac.
24810 * sysdeps/arm/preconfigure.ac: ... here.
24811 configure.in to configure.ac.
24812 * sysdeps/gnu/configure.in: Moved to ...
24813 * sysdeps/gnu/configure.ac: ... here.
24814 * sysdeps/i386/configure.in: Moved to ...
24815 * sysdeps/i386/configure.ac: ... here.
24816 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24817 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24818 * sysdeps/mach/configure.in: Moved to ...
24819 * sysdeps/mach/configure.ac: ... here.
24820 * sysdeps/mach/hurd/configure.in: Moved to ...
24821 * sysdeps/mach/hurd/configure.ac: ... here.
24822 * sysdeps/powerpc/configure.in: Moved to ...
24823 * sysdeps/powerpc/configure.ac: ... here.
24824 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24825 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24826 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24827 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24828 * sysdeps/s390/s390-32/configure.in: Moved to ...
24829 * sysdeps/s390/s390-32/configure.ac: ... here.
24830 * sysdeps/s390/s390-64/configure.in: Moved to ...
24831 * sysdeps/s390/s390-64/configure.ac: ... here.
24832 * sysdeps/sh/configure.in: Moved to ...
24833 * sysdeps/sh/configure.ac: ... here.
24834 * sysdeps/sparc/configure.in: Moved to ...
24835 * sysdeps/sparc/configure.ac: ... here.
24836 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24837 * sysdeps/unix/sysv/linux/configure.ac: ... here.
24838 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24839 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24840 * sysdeps/x86_64/configure.in: Moved to ...
24841 * sysdeps/x86_64/configure.ac: ... here.
24842 * sysdeps/x86_64/preconfigure.in: Moved to ...
24843 * sysdeps/x86_64/preconfigure.ac: ... here.
24844 * aclocal.m4: Change reference to configure.in to configure.ac.
24845 * config.h.in: Likewise.
24846 * manual/install.texi: Likewise.
24847 * manual/maint.texi: Likewise.
24848 * Makefile: Likewise.
24849 * malloc/Makefile: Likewise.
24850 * nscd/Makefile: Likewise.
24851 * Makeconfig: Change reference to configure.in and
24852 preconfigure.in to configure.ac and preconfigure.ac
24853 respectively.
24854 * INSTALL: Regenerated.
24855 * configure: Likewise.
24856 * sysdeps/gnu/configure: Likewise.
24857 * sysdeps/i386/configure: Likewise.
24858 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24859 * sysdeps/mach/configure: Likewise.
24860 * sysdeps/mach/hurd/configure: Likewise.
24861 * sysdeps/powerpc/configure: Likewise.
24862 * sysdeps/powerpc/powerpc32/configure: Likewise.
24863 * sysdeps/powerpc/powerpc64/configure: Likewise.
24864 * sysdeps/s390/s390-32/configure: Likewise.
24865 * sysdeps/s390/s390-64/configure: Likewise.
24866 * sysdeps/sh/configure: Likewise.
24867 * sysdeps/sparc/configure: Likewise.
24868 * sysdeps/unix/sysv/linux/configure: Likewise.
24869 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24870 * sysdeps/x86_64/configure: Likewise.
24871 * sysdeps/x86_64/preconfigure: Likewise.
24872
36a4953a
AS
248732013-10-29 Andreas Schwab <schwab@suse.de>
24874
24875 * stdio-common/Makefile (tst-swscanf-ENV): Define.
24876
c79a1204
SP
248772013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24878
dfa1b402
SP
24879 * benchtests/pow-inputs: Add new inputs.
24880
54f73d9c
SP
24881 * benchtests/exp-inputs: Add new inputs.
24882
c79a1204
SP
24883 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24884 conditional check for return value.
24885 (__cos32): Likewise.
24886
67beb545 248872013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
24888
24889 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24890 to provide a boost for large inputs with word alignment.
24891 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24892 implementation based on optimized PPC64 strcpy.
24893 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24894 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24895 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24896 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24897
151659f6
OB
248982013-10-25 Ondřej Bílka <neleai@seznam.cz>
24899
482a077e 24900 [BZ #2801]
151659f6
OB
24901 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24902
10b0f26b
OB
249032013-10-25 Ondřej Bílka <neleai@seznam.cz>
24904
24905 [BZ #14876]
24906 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24907 * time/tst-strptime.c (day_tests): Add testcase.
24908
ca42d35e
OB
249092013-10-25 Ondřej Bílka <neleai@seznam.cz>
24910
482a077e 24911 [BZ #14029]
ca42d35e
OB
24912 * manual/pattern.texi: Acknowledge that fnmatch can fail.
24913
52e6d801
FB
249142013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
24915
24916 [BZ #16074]
24917 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24918 MAP_FAILED on error.
24919
7cbcdb36
SP
249202013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24921
24922 [BZ #16072]
24923 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24924 heap for large requests.
24925
894f3f10
AM
249262013-10-25 Aurelien Jarno <aurelien@aurel32.net>
24927
24928 [BZ #9954]
24929 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24930 result if the result has no associated interface.
24931 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24932 interface for all 127.X.Y.Z addresses.
24933
b85545a6
CL
249342013-10-24 Chris Leonard <cjl@sugarlabs.org>
24935
24936 * locale/iso-639.def: Add Ligurian (lij)
24937
d1f23d46
OB
249382013-10-21 Ondřej Bílka <neleai@seznam.cz>
24939
24940 [BZ #15825]
24941 * sunrpc/rpc_main.c: Document rpcgen -5.
24942
4db5b08f
MS
249432013-10-19 Michael Stahl <mstahl@redhat.com>
24944
24945 * elf/rtld.c (do_preload): Print the reason why preloading failed.
24946
a471e96a
OB
249472013-10-19 Ondřej Bílka <neleai@seznam.cz>
24948
d1f23d46 24949 [BZ #10278]
a471e96a
OB
24950 * posix/glob.c: Match only directories when trailing slash is present.
24951 * posix/tst-gnuglob.c (my_opendir): Do not open files.
24952 (main): Add testcase.
24953
45c30c61
OB
249542013-10-19 Ondřej Bílka <neleai@seznam.cz>
24955
24956 [BZ #15670]
24957 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24958
484c12fb
CD
249592013-10-18 Carlos O'Donell <carlos@redhat.com>
24960
3d7dc513
CD
24961 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24962 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24963 AUTH_DES and cindex for FIPS 140-2.
24964 (DES Encryption): Add cindex FIPS 46-3.
24965
484c12fb
CD
24966 * locale/locarchive.h (struct locarhandle): Add fname.
24967 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24968 if an optional argument was specified to --list-archive,
24969 otherwise NULL.
24970 * locale/programs/locarchive.c (show_archive_content): Take new
24971 argument fname and pass it via ah.fname to open_archive.
24972 * locale/programs/localedef.h: Update decl.
24973 (open_archive): If AH->fname is non-null, open that file
24974 rather than the default file name, and don't ignore ENOENT.
24975 (create_archive): Set AH.fname to NULL.
24976 (delete_locales_from_archive): Likewise.
24977 (add_locales_to_archive): Likewise.
24978 * locale/programs/locfile.c (write_all_categories): Likewise.
24979
3c8325fb
JM
249802013-10-18 Joseph Myers <joseph@codesourcery.com>
24981 Aldy Hernandez <aldyh@redhat.com>
24982
24983 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24984 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24985 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24986 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24987 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24988 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24989 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24990 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24991 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24992 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24993 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24994 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24995 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24996 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24997 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24998 Likewise.
24999 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25000 Likewise.
25001 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25002 Likewise.
25003 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25004 Likewise.
25005 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25006 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25007 Likewise.
25008 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25009 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25010 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25011 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25012 Likewise.
25013 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25014 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25015 * sysdeps/powerpc/preconfigure: Likewise.
25016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25017 Likewise.
25018 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25019 Replace contents of file by #include of <fenv_libc.h>.
25020 * sysdeps/powerpc/soft-fp/sfp-machine.h
25021 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25022 and <sys/prctl.h>.
25023 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25024 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25025 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25026 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25027 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25028 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25030 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25031 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25032 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25033 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25034 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25036 Allow copysignl PLT reference to be missing.
25037
5abe0682
RS
250382013-10-18 Richard Sandiford <richard@codesourcery.com>
25039 Joseph Myers <joseph@codesourcery.com
25040
25041 [BZ #15948]
25042 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25043 single character.
25044 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25045
c7738d08
SP
250462013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25047
25048 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25049 * elf/tst-tls1.c: Likewise.
25050 * elf/tst-tls10.h: Likewise.
25051 * elf/tst-tls14.c: Likewise.
25052 * elf/tst-tls2.c: Likewise.
25053 * elf/tst-tls3.c: Likewise.
25054 * elf/tst-tls4.c: Likewise.
25055 * elf/tst-tls5.c: Likewise.
25056 * elf/tst-tls6.c: Likewise.
25057 * elf/tst-tls7.c: Likewise.
25058 * elf/tst-tls8.c: Likewise.
25059 * elf/tst-tls9.c: Likewise.
25060 * elf/tst-tlsmod1.c: Likewise.
25061 * elf/tst-tlsmod13.c: Likewise.
25062 * elf/tst-tlsmod13a.c: Likewise.
25063 * elf/tst-tlsmod14a.c: Likewise.
25064 * elf/tst-tlsmod16a.c: Likewise.
25065 * elf/tst-tlsmod16b.c: Likewise.
25066 * elf/tst-tlsmod2.c: Likewise.
25067 * elf/tst-tlsmod3.c: Likewise.
25068 * elf/tst-tlsmod4.c: Likewise.
25069 * elf/tst-tlsmod5.c: Likewise.
25070 * elf/tst-tlsmod6.c: Likewise.
25071
0bfcf2c7
OB
250722013-10-18 Ondřej Bílka <neleai@seznam.cz>
25073
25074 [BZ #12486]
25075 * malloc/malloc.c: remove checks for statistics.
25076
264aad1e
OB
250772013-10-17 Ondřej Bílka <neleai@seznam.cz>
25078
25079 [BZ #15277]
25080 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25081 * inet/tst-network.c: Add testcase.
25082
b957ced8
AS
250832013-10-17 Andreas Schwab <schwab@suse.de>
25084
25085 [BZ #15218]
25086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25087 to determine canonical name.
25088
c5d5d574
OB
250892013-10-17 Ondřej Bílka <neleai@seznam.cz>
25090
25091 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25092 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25094 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25096 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25097 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25098 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25099 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25100 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25101 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25102 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25103 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25104 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25105 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25106 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25108 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25109 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25110 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25111 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25113 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25114 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25115 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25116 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25117 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25118 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25119 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25120 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25121 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25123 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25124 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25127 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25128 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25129 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25130 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25131 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25132 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25133 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25134 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25135 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25136 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25137 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25138 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25139 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25140 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25141 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25142 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25143 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25144 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25145 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25146 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25149
e5c2c2d0
JM
251502013-10-17 Joseph Myers <joseph@codesourcery.com>
25151
25152 [BZ #16041]
25153 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25154 make result into a quiet NaN.
25155
51ca9e29
JM
251562013-10-16 Joseph Myers <joseph@codesourcery.com>
25157
25158 * soft-fp/adddf3.c: Fix horizontal whitespace.
25159 * soft-fp/addsf3.c: Likewise.
25160 * soft-fp/addtf3.c: Likewise.
25161 * soft-fp/divdf3.c: Likewise.
25162 * soft-fp/divsf3.c: Likewise.
25163 * soft-fp/divtf3.c: Likewise.
25164 * soft-fp/double.h: Likewise.
25165 * soft-fp/eqdf2.c: Likewise.
25166 * soft-fp/eqsf2.c: Likewise.
25167 * soft-fp/eqtf2.c: Likewise.
25168 * soft-fp/extenddftf2.c: Likewise.
25169 * soft-fp/extended.h: Likewise.
25170 * soft-fp/extendsfdf2.c: Likewise.
25171 * soft-fp/extendsftf2.c: Likewise.
25172 * soft-fp/extendxftf2.c: Likewise.
25173 * soft-fp/fixdfdi.c: Likewise.
25174 * soft-fp/fixdfsi.c: Likewise.
25175 * soft-fp/fixdfti.c: Likewise.
25176 * soft-fp/fixsfdi.c: Likewise.
25177 * soft-fp/fixsfsi.c: Likewise.
25178 * soft-fp/fixsfti.c: Likewise.
25179 * soft-fp/fixtfdi.c: Likewise.
25180 * soft-fp/fixtfsi.c: Likewise.
25181 * soft-fp/fixtfti.c: Likewise.
25182 * soft-fp/fixunsdfdi.c: Likewise.
25183 * soft-fp/fixunsdfsi.c: Likewise.
25184 * soft-fp/fixunsdfti.c: Likewise.
25185 * soft-fp/fixunssfdi.c: Likewise.
25186 * soft-fp/fixunssfsi.c: Likewise.
25187 * soft-fp/fixunssfti.c: Likewise.
25188 * soft-fp/fixunstfdi.c: Likewise.
25189 * soft-fp/fixunstfsi.c: Likewise.
25190 * soft-fp/fixunstfti.c: Likewise.
25191 * soft-fp/floatdidf.c: Likewise.
25192 * soft-fp/floatdisf.c: Likewise.
25193 * soft-fp/floatditf.c: Likewise.
25194 * soft-fp/floatsidf.c: Likewise.
25195 * soft-fp/floatsisf.c: Likewise.
25196 * soft-fp/floatsitf.c: Likewise.
25197 * soft-fp/floattidf.c: Likewise.
25198 * soft-fp/floattisf.c: Likewise.
25199 * soft-fp/floattitf.c: Likewise.
25200 * soft-fp/floatundidf.c: Likewise.
25201 * soft-fp/floatundisf.c: Likewise.
25202 * soft-fp/floatunditf.c: Likewise.
25203 * soft-fp/floatunsidf.c: Likewise.
25204 * soft-fp/floatunsisf.c: Likewise.
25205 * soft-fp/floatunsitf.c: Likewise.
25206 * soft-fp/floatuntidf.c: Likewise.
25207 * soft-fp/floatuntisf.c: Likewise.
25208 * soft-fp/floatuntitf.c: Likewise.
25209 * soft-fp/fmadf4.c: Likewise.
25210 * soft-fp/fmasf4.c: Likewise.
25211 * soft-fp/fmatf4.c: Likewise.
25212 * soft-fp/gedf2.c: Likewise.
25213 * soft-fp/gesf2.c: Likewise.
25214 * soft-fp/getf2.c: Likewise.
25215 * soft-fp/ledf2.c: Likewise.
25216 * soft-fp/lesf2.c: Likewise.
25217 * soft-fp/letf2.c: Likewise.
25218 * soft-fp/muldf3.c: Likewise.
25219 * soft-fp/mulsf3.c: Likewise.
25220 * soft-fp/multf3.c: Likewise.
25221 * soft-fp/negdf2.c: Likewise.
25222 * soft-fp/negsf2.c: Likewise.
25223 * soft-fp/negtf2.c: Likewise.
25224 * soft-fp/op-1.h: Likewise.
25225 * soft-fp/op-2.h: Likewise.
25226 * soft-fp/op-4.h: Likewise.
25227 * soft-fp/op-8.h: Likewise.
25228 * soft-fp/op-common.h: Likewise.
25229 * soft-fp/quad.h: Likewise.
25230 * soft-fp/single.h: Likewise.
25231 * soft-fp/soft-fp.h: Likewise.
25232 * soft-fp/sqrtdf2.c: Likewise.
25233 * soft-fp/sqrtsf2.c: Likewise.
25234 * soft-fp/sqrttf2.c: Likewise.
25235 * soft-fp/subdf3.c: Likewise.
25236 * soft-fp/subsf3.c: Likewise.
25237 * soft-fp/subtf3.c: Likewise.
25238 * soft-fp/truncdfsf2.c: Likewise.
25239 * soft-fp/trunctfdf2.c: Likewise.
25240 * soft-fp/trunctfsf2.c: Likewise.
25241 * soft-fp/trunctfxf2.c: Likewise.
25242 * soft-fp/unorddf2.c: Likewise.
25243 * soft-fp/unordsf2.c: Likewise.
25244 * soft-fp/unordtf2.c: Likewise.
25245
9ebb0332
JM
252462013-10-15 Joseph Myers <joseph@codesourcery.com>
25247
25248 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25249 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25250
4b1a6d8b
OB
252512013-10-15 Ondřej Bílka <neleai@seznam.cz>
25252
25253 * elf/dl-libc.c: Clear initfini list after freeing.
25254
1e145589
JM
252552013-10-14 Joseph Myers <joseph@codesourcery.com>
25256
25257 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25258 * soft-fp/addsf3.c: Likewise.
25259 * soft-fp/addtf3.c: Likewise.
25260 * soft-fp/divdf3.c: Likewise.
25261 * soft-fp/divsf3.c: Likewise.
25262 * soft-fp/divtf3.c: Likewise.
25263 * soft-fp/double.h: Likewise.
25264 * soft-fp/eqdf2.c: Likewise.
25265 * soft-fp/eqsf2.c: Likewise.
25266 * soft-fp/eqtf2.c: Likewise.
25267 * soft-fp/extenddftf2.c: Likewise.
25268 * soft-fp/extended.h: Likewise.
25269 * soft-fp/extendsfdf2.c: Likewise.
25270 * soft-fp/extendsftf2.c: Likewise.
25271 * soft-fp/extendxftf2.c: Likewise.
25272 * soft-fp/fixdfdi.c: Likewise.
25273 * soft-fp/fixdfsi.c: Likewise.
25274 * soft-fp/fixdfti.c: Likewise.
25275 * soft-fp/fixsfdi.c: Likewise.
25276 * soft-fp/fixsfsi.c: Likewise.
25277 * soft-fp/fixsfti.c: Likewise.
25278 * soft-fp/fixtfdi.c: Likewise.
25279 * soft-fp/fixtfsi.c: Likewise.
25280 * soft-fp/fixtfti.c: Likewise.
25281 * soft-fp/fixunsdfdi.c: Likewise.
25282 * soft-fp/fixunsdfsi.c: Likewise.
25283 * soft-fp/fixunsdfti.c: Likewise.
25284 * soft-fp/fixunssfdi.c: Likewise.
25285 * soft-fp/fixunssfsi.c: Likewise.
25286 * soft-fp/fixunssfti.c: Likewise.
25287 * soft-fp/fixunstfdi.c: Likewise.
25288 * soft-fp/fixunstfsi.c: Likewise.
25289 * soft-fp/fixunstfti.c: Likewise.
25290 * soft-fp/floatdidf.c: Likewise.
25291 * soft-fp/floatdisf.c: Likewise.
25292 * soft-fp/floatditf.c: Likewise.
25293 * soft-fp/floatsidf.c: Likewise.
25294 * soft-fp/floatsisf.c: Likewise.
25295 * soft-fp/floatsitf.c: Likewise.
25296 * soft-fp/floattidf.c: Likewise.
25297 * soft-fp/floattisf.c: Likewise.
25298 * soft-fp/floattitf.c: Likewise.
25299 * soft-fp/floatundidf.c: Likewise.
25300 * soft-fp/floatundisf.c: Likewise.
25301 * soft-fp/floatunsidf.c: Likewise.
25302 * soft-fp/floatunsisf.c: Likewise.
25303 * soft-fp/floatuntidf.c: Likewise.
25304 * soft-fp/floatuntisf.c: Likewise.
25305 * soft-fp/floatuntitf.c: Likewise.
25306 * soft-fp/fmadf4.c: Likewise.
25307 * soft-fp/fmasf4.c: Likewise.
25308 * soft-fp/fmatf4.c: Likewise.
25309 * soft-fp/gedf2.c: Likewise.
25310 * soft-fp/gesf2.c: Likewise.
25311 * soft-fp/getf2.c: Likewise.
25312 * soft-fp/ledf2.c: Likewise.
25313 * soft-fp/lesf2.c: Likewise.
25314 * soft-fp/letf2.c: Likewise.
25315 * soft-fp/muldf3.c: Likewise.
25316 * soft-fp/mulsf3.c: Likewise.
25317 * soft-fp/multf3.c: Likewise.
25318 * soft-fp/negdf2.c: Likewise.
25319 * soft-fp/negsf2.c: Likewise.
25320 * soft-fp/negtf2.c: Likewise.
25321 * soft-fp/op-1.h: Likewise.
25322 * soft-fp/op-2.h: Likewise.
25323 * soft-fp/op-4.h: Likewise.
25324 * soft-fp/op-8.h: Likewise.
25325 * soft-fp/op-common.h: Likewise.
25326 * soft-fp/quad.h: Likewise.
25327 * soft-fp/single.h: Likewise.
25328 * soft-fp/soft-fp.h: Likewise.
25329 * soft-fp/sqrtdf2.c: Likewise.
25330 * soft-fp/sqrtsf2.c: Likewise.
25331 * soft-fp/sqrttf2.c: Likewise.
25332 * soft-fp/subdf3.c: Likewise.
25333 * soft-fp/subsf3.c: Likewise.
25334 * soft-fp/subtf3.c: Likewise.
25335 * soft-fp/truncdfsf2.c: Likewise.
25336 * soft-fp/trunctfdf2.c: Likewise.
25337 * soft-fp/trunctfsf2.c: Likewise.
25338 * soft-fp/trunctfxf2.c: Likewise.
25339 * soft-fp/unorddf2.c: Likewise.
25340 * soft-fp/unordsf2.c: Likewise.
25341 * soft-fp/unordtf2.c: Likewise.
25342
17c48a60
OB
253432013-10-14 Ondřej Bílka <neleai@seznam.cz>
25344
25345 [BZ #15672]
25346 * misc/error.c (error_tail): Fix possible buffer overflow.
25347
cabba934
OB
253482013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25349
25350 [BZ #13028]
25351 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25352 address.
25353
94bf958a
PM
253542013-10-14 P. J. McDermott <pj@pehjota.net>
25355
25356 [BZ #832]
25357 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25358 testing pipefail option.
25359
71b4dea7
JM
253602013-10-12 Joseph Myers <joseph@codesourcery.com>
25361
25362 * soft-fp/double.h: Indent preprocessor directives inside #if.
25363 * soft-fp/extended.h: Likewise.
25364 * soft-fp/op-2.h: Likewise.
25365 * soft-fp/op-4.h: Likewise.
25366 * soft-fp/op-common.h: Likewise.
25367 * soft-fp/quad.h: Likewise.
25368 * soft-fp/single.h: Likewise.
25369 * soft-fp/soft-fp.h: Likewise.
25370
55602758
YC
253712013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25372
25373 * iconv/iconv_prog.c: Fix typos.
25374 * stdio-common/psiginfo-data.h: Likewise.
25375
9cd83302
RT
253762013-10-12 Reuben Thomas <rrt@sc3d.org>
25377
25378 [BZ #15764]
25379 * locale/setlocale.c: Fix typo.
25380
99fd9f47
JM
253812013-10-12 Joseph Myers <joseph@codesourcery.com>
25382
b7ea74f0
JM
25383 [BZ #16036]
25384 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25385 signaling NaN arguments.
25386 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25387 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25388
8a509447
JM
25389 [BZ #14910]
25390 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25391 unordered operands.
25392 * soft-fp/gesf2.c (__gesf2): Likewise.
25393 * soft-fp/getf2.c (__getf2): Likewise.
25394 * soft-fp/ledf2.c (__ledf2): Likewise.
25395 * soft-fp/lesf2.c (__lesf2): Likewise.
25396 * soft-fp/letf2.c (__letf2): Likewise.
25397
98998e9f
JM
25398 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25399 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25400 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25401 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25402 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25403 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25404 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25405 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25406 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25407 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25408 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25409 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25410 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25411 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25412 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25413 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25414 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25415 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25416 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25417 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25418 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25419 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25420 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25421 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25422 * soft-fp/floattidf.c (__floattidf): Likewise.
25423 * soft-fp/floattisf.c (__floattisf): Likewise.
25424 * soft-fp/floattitf.c (__floattitf): Likewise.
25425 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25426 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25427 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25428 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25429 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25430 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25431 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25432 * soft-fp/gesf2.c (__gesf2): Likewise.
25433 * soft-fp/getf2.c (__getf2): Likewise.
25434 * soft-fp/ledf2.c (__ledf2): Likewise.
25435 * soft-fp/lesf2.c (__lesf2): Likewise.
25436 * soft-fp/letf2.c (__letf2): Likewise.
25437
8edc4a11
JM
25438 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25439 Undefine and redefine.
25440 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25441 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25442 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25443 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25444 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25445 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25446 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25447 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25448 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25449 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25450 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25451 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25452 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25453 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25454 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25455
8399acaf
JM
25456 [BZ #16032]
25457 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25458 without decrementing exponent if mantissa >= that for the
25459 denominator, not >.
25460 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25461 denominator, not >. Decrement exponent in < case instead of
25462 incrementing in >= case.
25463 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25464 without decrementing exponent if mantissa >= that for the
25465 denominator, not >.
25466
99fd9f47
JM
25467 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25468 computing saturated result for unsigned overflow.
25469
10e1cf6b
SP
254702013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25471 Jeff Law <law@redhat.com>
25472
25473 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25474 (atan2Mp): Add systemtap probe marker.
25475 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25476 (__ieee754_log): Add systemtap probe marker.
25477 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25478 (atanMp): Add systemtap probe marker.
25479 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25480 (tanMp): Add systemtap probe marker.
25481 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25482 (__slowexp): Add systemtap probe marker.
25483 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25484 (__slowpow): Add systemtap probe marker.
25485 * manual/probes.texi: Document probes.
25486
3d110c7c
EB
254872013-10-11 Eric Biggers <ebiggers3@gmail.com>
25488
25489 [BZ #15362]
25490 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25491 written.
25492 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25493 written.
25494 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25495 written to buffer but not flushed.
25496 * libio/iofwrite_u.c: Likewise.
25497 * libio/iopadn.c: Return bytes returned even if EOF was
25498 encountered.
25499 * libio/iowpadn.c: Likewise.
25500 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25501 if _IO_padn does not write the whole buffer.
25502 [!COMPILE_WPRINTF] (PAD): Likewise.
25503
75b4202a
DM
255042013-10-10 David S. Miller <davem@davemloft.net>
25505
25506 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25507 directory block.
25508
6c6352e6
JM
255092013-10-10 Joseph Myers <joseph@codesourcery.com>
25510
33b853c3
JM
25511 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25512 instead of FSF address.
25513 * soft-fp/fixdfti.c: Likewise.
25514 * soft-fp/fixsfti.c: Likewise.
25515 * soft-fp/fixtfti.c: Likewise.
25516 * soft-fp/fixunsdfti.c: Likewise.
25517 * soft-fp/fixunssfti.c: Likewise.
25518 * soft-fp/fixunstfti.c: Likewise.
25519 * soft-fp/floattidf.c: Likewise.
25520 * soft-fp/floattisf.c: Likewise.
25521 * soft-fp/floattitf.c: Likewise.
25522 * soft-fp/floatuntidf.c: Likewise.
25523 * soft-fp/floatuntisf.c: Likewise.
25524 * soft-fp/floatuntitf.c: Likewise.
25525 * soft-fp/trunctfxf2.c: Likewise.
25526
6c6352e6
JM
25527 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25528 * soft-fp/fixdfti.c: Likewise.
25529 * soft-fp/fixsfti.c: Likewise.
25530 * soft-fp/fixtfti.c: Likewise.
25531 * soft-fp/fixunsdfti.c: Likewise.
25532 * soft-fp/fixunssfti.c: Likewise.
25533 * soft-fp/fixunstfti.c: Likewise.
25534 * soft-fp/floattidf.c: Likewise.
25535 * soft-fp/floattisf.c: Likewise.
25536 * soft-fp/floattitf.c: Likewise.
25537 * soft-fp/floatuntidf.c: Likewise.
25538 * soft-fp/floatuntisf.c: Likewise.
25539 * soft-fp/floatuntitf.c: Likewise.
25540 * soft-fp/trunctfxf2.c: Likewise.
25541
3bf78b71
DM
255422013-10-10 David S. Miller <davem@davemloft.net>
25543
25544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25545
6f10289e
JM
255462013-10-10 Joseph Myers <joseph@codsourcery.com>
25547
bd878fc0
JM
25548 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25549 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25550 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25551 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25552 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25553 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25554 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25555
6f10289e
JM
25556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25557 for NaNs before doing comparisons on argument.
25558 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25559 Likewise.
25560
321e2684
WN
255612013-10-10 Will Newton <will.newton@linaro.org>
25562
25563 * malloc/hooks.c (memalign_check): Ensure the value of bytes
25564 passed to _int_memalign does not overflow.
25565
40fefba1
TR
255662013-10-10 Torvald Riegel <triegel@redhat.com>
25567
25568 * scripts/bench.pl: Add include-sources directive.
25569 * benchtests/README: Update documentation.
25570
2ae21ed2
JM
255712013-10-10 Joseph Myers <joseph@codesourcery.com>
25572
dcc2dd3f
JM
25573 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25574 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25575 instead of FP_INIT_ROUNDMODE.
25576 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25577 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25578
2ae21ed2
JM
25579 [BZ #16034]
25580 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
25581 copy class of input value.
25582 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
25583 not handle exceptions.
25584 * soft-fp/negsf2.c (__negsf2): Likewise.
25585 * soft-fp/negtf2.c (__negtf2): Likewise.
25586 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25587
cb8f9562
JM
255882013-10-09 Joseph Myers <joseph@codesourcery.com>
25589
25590 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25591 semicolon. From Linux kernel.
25592
5b60c59d
AB
255932013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
25594
25595 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25596
b86835ca
YC
255972013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
25598
25599 [BZ #156]
25600 * manual/socket.texi: Added statement about buffer
25601 for gethostbyname2_r.
25602
e7044ea7
OB
256032013-10-08 Ondřej Bílka <neleai@seznam.cz>
25604
25605 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25606 Use .p2align directive instead, throughout.
25607 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25608 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25609 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25610 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25611 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25612 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25613 * sysdeps/x86_64/strchr.S: Likewise.
25614 * sysdeps/x86_64/strrchr.S: Likewise.
25615
09544cbc
SP
256162013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25617
88576635
SP
25618 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25619
e7b2d1dd
SP
25620 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25621
09544cbc
SP
25622 * sysdeps/generic/math_private.h (__mpsin1): Remove
25623 declaration.
25624 (__mpcos1): Likewise.
25625 (__mpsin): New argument __range_reduce.
25626 (__mpcos): Likewise.
25627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25628 (slow): Use __mpsin and __mpcos.
25629 (slow1): Likewise.
25630 (slow2): Likewise.
25631 (sloww): Likewise.
25632 (sloww1): Likewise.
25633 (sloww2): Likewise.
25634 (bsloww): Likewise.
25635 (bsloww1): Likewise.
25636 (bsloww2): Likewise.
25637 (cslow2): Likewise.
25638 (csloww): Likewise.
25639 (csloww1): Likewise.
25640 (csloww2): Likewise.
25641 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25642 range_reduce. Merge in __mpsin1.
25643 (__mpcos): Likewise.
25644 (__mpsin1): Remove.
25645 (__mpcos1): Likewise.
25646
7602d070
JM
256472013-10-07 Joseph Myers <joseph@codesourcery.com>
25648
25649 * locale/loadlocale.c (_nl_intern_locale_data): Use
25650 LOCFILE_ALIGNED_P.
25651 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25652 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25653 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25654 obstack data is appropriately aligned.
25655 (obstack_int32_grow_fast): Likewise.
25656 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25657 * locale/programs/locfile.c (add_locale_uint32): Likewise.
25658 (add_locale_uint32_array): Likewise.
25659
a357259b
SP
256602013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25661
25662 * benchtests/Makefile: Remove ARGLIST and RET variables.
25663 ($(objpfx)bench-%.c): Pass only function name to the script.
25664 * benchtests/README: Update documentation.
25665 * benchtests/acos-inputs: Add new directives.
25666 * benchtests/acosh-inputs: Likewise.
25667 * benchtests/asin-inputs: Likewise.
25668 * benchtests/asinh-inputs: Likewise.
25669 * benchtests/atan-inputs: Likewise.
25670 * benchtests/atanh-inputs: Likewise.
25671 * benchtests/cos-inputs: Likewise.
25672 * benchtests/cosh-inputs: Likewise.
25673 * benchtests/exp-inputs: Likewise.
25674 * benchtests/log-inputs: Likewise.
25675 * benchtests/pow-inputs: Likewise.
25676 * benchtests/rint-inputs: Likewise.
25677 * benchtests/sin-inputs: Likewise.
25678 * benchtests/sinh-inputs: Likewise.
25679 * benchtests/tan-inputs: Likewise.
25680 * benchtests/tanh-inputs: Likewise.
25681 * scripts/bench.pl: Add support for new directives.
25682
9ec1b13d
AM
256832013-10-07 Alan Modra <amodra@gmail.com>
25684
25685 * README: Fix careless merge.
25686
8b7d57cd
AM
256872013-10-05 Alan Modra <amodra@gmail.com>
25688
25689 * NEWS: Mention powerpc64le support and bugs fixed.
25690 * README: Both big-endian and little-endian powerpc64 supported.
25691
7b7bab13
ST
256922013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25693
57f41c40
AS
25694 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25695 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
25696 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25697 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25698
d39baad1
RA
256992013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
25700
25701 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25702 match prototype.
25703
cd78f7e7
JM
257042013-10-04 Joseph Myers <joseph@codesourcery.com>
25705
29d73d86
JM
25706 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25707 Move -mhard-float appending from
25708 ports/sysdeps/powerpc/powerpc32/Makefile.
25709 [$(with-fp) = yes] (ASFLAGS): Likewise.
25710 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25711 * sysdeps/powerpc/nofpu: Move directory from
25712 ports/sysdeps/powerpc/nofpu.
25713 * sysdeps/powerpc/soft-fp: Move directory from
25714 ports/sysdeps/powerpc/soft-fp.
25715 * sysdeps/powerpc/powerpc32/405: Move directory from
25716 ports/sysdeps/powerpc/powerpc32/405.
25717 * sysdeps/powerpc/powerpc32/440: Move directory from
25718 ports/sysdeps/powerpc/powerpc32/440.
25719 * sysdeps/powerpc/powerpc32/464: Move directory from
25720 ports/sysdeps/powerpc/powerpc32/464.
25721 * sysdeps/powerpc/powerpc32/476: Move directory from
25722 ports/sysdeps/powerpc/powerpc32/476.
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25724 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25726 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25728 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25730 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25732 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25733 * README: Update for powerpc-*-linux-gnu software floating point
25734 support in libc.
25735
e246b347
JM
25736 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25737 case to powerpc/powerpc32*.
25738 * sysdeps/unix/sysv/linux/configure: Regenerated.
25739
89c2003e
JM
25740 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25741 (_FPU_MASK_OM): Define as 0x04.
25742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25744 0x00c10080.
25745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25746 0x0000003c.
25747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25748
cd78f7e7
JM
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25750 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25751 getcontext_e500.
25752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25753 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25754 setcontext_e500.
25755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25756 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25757 and setcontext_e500.
25758
c755294d
CL
257592013-10-04 Chris Leonard <cjl@sugarlabs,.org>
25760
25761 * locale/iso-3166.def: Update iso-1366.def and related occurrences
25762
e16d221c
SP
257632013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25764
25765 * manual/threads.texi (Default Thread Attributes): Fix typo.
25766
215c7d43
WN
257672013-10-04 Will Newton <will.newton@linaro.org>
25768
25769 * malloc/Makefile: Add tst-memalign.
25770 * malloc/tst-memalign.c: New file.
25771
27d0461b
WN
25772 * malloc/tst-posix_memalign.c: Add comments.
25773 (do_test): Add comments and call free on all potentially
25774 allocated pointers. Add space after cast.
25775
1bc92709
WN
25776 * malloc/tst-pvalloc.c: Add comments.
25777 (do_test): Add comments and call free on all potentially
25778 allocated pointers. Remove duplicate check for NULL pointer.
25779 Add space after cast.
25780
66a9be9d
WN
25781 * malloc/tst-valloc.c: Add comments.
25782 (do_test): Add comments and call free on all potentially
25783 allocated pointers. Remove duplicate check for NULL pointer.
25784 Add space after cast.
25785
4cb81307
AM
257862013-10-04 Alan Modra <amodra@gmail.com>
25787
25788 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25789 Use stdint types in rather than __attribute__((mode())).
25790 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25791
f8e3e9f3
AM
257922013-10-04 Alan Modra <amodra@gmail.com>
25793
25794 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25795 Correct handling of unaligned relocs for little-endian.
25796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25797
8f9ebb08
AM
257982013-10-04 Alan Modra <amodra@gmail.com>
25799
25800 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25801 * configure: Regenerate.
25802 * nptl/shlib-versions: Powerpc*le starts at 2.18.
25803 * shlib-versions: Likewise.
25804
0edf96c2
AM
258052013-10-04 Alan Modra <amodra@gmail.com>
25806
25807 * string/tester.c (test_memrchr): Increment reported test cycle.
25808
e0f7a380
AM
258092013-10-04 Alan Modra <amodra@gmail.com>
25810
25811 * string/test-memcpy.c (do_one_test): When reporting errors, print
25812 string address and don't overrun end of string.
25813
466b0393
AM
258142013-10-04 Alan Modra <amodra@gmail.com>
25815
25816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25817 insrdi. Make better use of reg selection to speed exit slightly.
25818 Schedule entry path a little better. Remove useless "are we done"
25819 checks on entry to main loop. Handle wrapping around zero address.
25820 Correct main loop count. Handle single left-over word from main
25821 loop inline rather than by using loop_small. Remove extra word
25822 case in loop_small caused by wrong loop count. Add little-endian
25823 support.
25824 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25825 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
25826 cache hint.
25827 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25828 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25829 support. Avoid rlwimi.
25830 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25831
3be87c77
AM
258322013-10-04 Alan Modra <amodra@gmail.com>
25833
25834 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 25835 insrdi. Formatting.
3be87c77
AM
25836 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25837 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25838 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25839 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25840 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25841 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25842
759cfef3
AM
258432013-10-04 Alan Modra <amodra@gmail.com>
25844
25845 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25846 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25847 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25848 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25849 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25850 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25851 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25852 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25853 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
25854 use of regs. Use power7 mtocrf. Tidy function tails.
25855
fe6e95d7
AM
258562013-10-04 Alan Modra <amodra@gmail.com>
25857
25858 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25859 Formatting. Consistently use rXXX register defines or rN defines.
25860 Use early exit labels that avoid restoring unused non-volatile regs.
25861 Make cr field use more consistent with rWORDn compares. Rename
25862 regs used as shift registers for unaligned loop, using rN defines
25863 for short lifetime/multiple use regs.
25864 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25865 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
25866 addi 1,1,64 to pop stack frame. Simplify return value code.
25867 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25868
664318c3
AM
258692013-10-04 Alan Modra <amodra@gmail.com>
25870
25871 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25872 support. Correct typos, formatting. Optimize tail. Use insrdi
25873 rather than rlwimi.
25874 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25876 little-endian support. Correct typos.
25877 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
25878 rather than rlwimi.
25879 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
25880 in loop and entry code to keep "and." results.
25881 (strchr): Add little-endian support. Comment. Move cntlzd
25882 earlier in tail.
25883 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25884
43b84013
AM
258852013-10-04 Alan Modra <amodra@gmail.com>
25886
25887 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25888 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25889 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25890 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25891
8a7413f9
AM
258922013-10-04 Alan Modra <amodra@gmail.com>
25893
25894 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25895 (rTMP): Define as r11.
25896 (strcmp): Add little-endian support. Optimise tail.
25897 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25898 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25899 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25902 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25904
33ee81de
AM
259052013-10-04 Alan Modra <amodra@gmail.com>
25906
25907 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25908 little-endian support. Remove unnecessary "are we done" tests.
25909 Handle "s" wrapping around zero and extremely large "size".
25910 Correct main loop count. Handle single left-over word from main
25911 loop inline rather than by using small_loop. Correct comments.
25912 Delete "zero" tail, use "end_max" instead.
25913 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25914
db9b4570
AM
259152013-10-04 Alan Modra <amodra@gmail.com>
25916
25917 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25918 support. Don't branch over align.
25919 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25920 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25921 support. Rearrange tmp reg use to suit. Comment.
25922 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25923
f7c399cf
AM
259242013-10-04 Alan Modra <amodra@gmail.com>
25925
25926 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25927
0b2c2ace
AM
259282013-10-04 Alan Modra <amodra@gmail.com>
25929
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25931 conditional form of branch and link when obtaining pc.
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25933
02f04a6c
AM
259342013-10-04 Alan Modra <amodra@gmail.com>
25935
25936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25937 HIWORD/LOWORD.
25938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25940
9b874b2f
AM
259412013-10-04 Alan Modra <amodra@gmail.com>
25942
25943 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25944 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25945 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25946 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25947 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25948 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25949 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25950 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25952 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25953
be1e5d31
AB
259542013-10-04 Anton Blanchard <anton@au1.ibm.com>
25955 Alistair Popple <alistair@ozlabs.au.ibm.com>
25956 Alan Modra <amodra@gmail.com>
25957
25958 [BZ #15723]
25959 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25960 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25961 _dl_hwcap access for little-endian.
25962 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25963 destroy vmx regs when saving unaligned.
25964 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25965 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25966 destroy vmx regs when saving unaligned.
25967
fef13a78
AM
259682013-10-04 Alan Modra <amodra@gmail.com>
25969
25970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25971 Don't use a union to pack hi/low value.
25972
76a66d51
AB
259732013-10-04 Anton Blanchard <anton@au1.ibm.com>
25974
25975 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25976 for little-endian.
25977 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25979 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25980 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25982
6a31fe7f
AM
259832013-10-04 Alan Modra <amodra@gmail.com>
25984
25985 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25986 constants to usual value for .cst8 section, and remove redundant
25987 high address load.
25988 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25989 constant for 0x1p52. Load little-endian words of double from
25990 correct stack offsets.
25991
7b88401f
AM
259922013-10-04 Alan Modra <amodra@gmail.com>
25993
25994 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25995 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25996 words of double from correct stack offsets.
25997 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25998 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25999 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26002 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26003 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26004 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26005 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26006 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26007 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26008 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26009 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26010 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26011 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26012 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26013 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26014
9c008155
AM
260152013-10-04 Alan Modra <amodra@gmail.com>
26016
26017 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26018 64-bit int/double union.
26019 (_FPU_SETCW): Likewise.
26020 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26021 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26022
da13146d
AM
260232013-10-04 Alan Modra <amodra@gmail.com>
26024
26025 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26026 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26027
603e8410
AM
260282013-10-04 Alan Modra <amodra@gmail.com>
26029
26030 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26031 use vector int constants.
26032 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26033
4a28b3ca
AB
260342013-10-04 Anton Blanchard <anton@au1.ibm.com>
26035
26036 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26037 array with long long.
26038 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26039 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26040 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26041 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26042 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26043 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26044 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26045 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26046 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26047 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26048 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26049 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26050 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26051
2ca85d2b
AB
260522013-10-04 Anton Blanchard <anton@au1.ibm.com>
26053
26054 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26055 (__signbit): Likewise. Correct for little-endian.
26056 (__signbitl): Call __signbit.
26057 (lrint): Correct for little-endian.
26058 (lrintf): Call lrint.
26059
62a728ae
AM
260602013-10-04 Alan Modra <amodra@gmail.com>
26061
26062 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26063 union 32-bit int array member with 64-bit int array.
26064 (t515, tm256): Double rather than long double.
26065 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26066
32c301df
AM
260672013-10-04 Alan Modra <amodra@gmail.com>
26068
26069 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26070 Delete.
26071 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26072 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26073 version of math_ldbl.h.
26074
650ef4bd
AM
260752013-10-04 Alan Modra <amodra@gmail.com>
26076
26077 [BZ #15734], [BZ #15735]
26078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26079 all uses of ieee875 long double macros and unions. Simplify test
26080 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26081 ldbl_extract_mantissa value for ix,iy exponents. Properly
26082 normalize after ldbl_extract_mantissa, and don't add hidden bit
26083 already handled. Don't treat low word of ieee854 mantissa like
26084 low word of IBM long double and mask off bit when testing for
26085 zero.
26086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26087 all uses of ieee875 long double macros and unions. Simplify tests
26088 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26089 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26090 two1022, instead use their values. Recognise that tests for large
26091 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26092 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26093 Rewrite all uses of ieee875 long double macros and unions. Simplify
26094 test for 0.0L and nan. Correct negation.
26095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26096 ieee875 long double macros and unions. Correct output for large
26097 magnitude x. Correct absolute value calculation.
26098 (__erfcl): Likewise.
26099 * math/libm-test.inc: Add tests for errors discovered in IBM long
26100 double versions of fmodl, remainderl, erfl and erfcl.
26101
765714ca
AM
261022013-10-04 Alan Modra <amodra@gmail.com>
26103
26104 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26105 all uses of ieee854 long double macros and unions. Simplify tests
26106 for long doubles that are fully specified by the high double.
26107 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26108 Likewise.
26109 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26110 Remove dead code too.
26111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26112 (__ieee754_ynl): Likewise.
26113 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26116 Remove dead code too.
26117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26118 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26119 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26120 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26121 Simplify.
26122 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26123 Simplify.
26124 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26125 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26127 Comment on variable precision.
26128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26130 Likewise.
26131 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26134 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26135 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26136
4ebd120c
AM
261372013-10-04 Alan Modra <amodra@gmail.com>
26138
26139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26140 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26141 all uses of ieee854 long double macros and unions.
26142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26143 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26144 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26145 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26146 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26148 Likewise.
26149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26150 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26151 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26152 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26153 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26154 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26155 Simplify sign and nan test too.
26156 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26157 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26158 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26159 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26160 Likewise.
26161 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26163 Likewise.
26164 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26165 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26167 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26168 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26170
1b6adf88
AM
261712013-10-04 Alan Modra <amodra@gmail.com>
26172
26173 * stdio-common/printf_size.c (__printf_size): Don't use
26174 union ieee854_long_double in fpnum union.
26175 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26176 signbit macro to retrieve sign from long double.
26177 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26178 retrieve sign from long double.
26179 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26180 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26182 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26183 * math/test-misc.c (main): Don't use union ieee854_long_double.
26184
4cf69995
AM
261852013-10-04 Alan Modra <amodra@gmail.com>
26186
26187 [BZ #15680]
26188 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26189 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26190 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26191 calculation. Remove unnecessary test for denormal exponent.
26192 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26193 Correct handling of denormals. Avoid undefined shift behaviour.
26194 Correct normalisation of low mantissa when low double is denormal.
26195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26196 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26197 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26198 Correct normalisation of low mantissa. Test for overflow of high
26199 mantissa and normalise.
26200 (ldbl_nearbyint): Use more readable constant for two52.
26201 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26202 (__mpn_construct_long_double): Fix test for overflow of high
26203 mantissa and correct normalisation. Avoid undefined shift.
26204
9605ca6c
AM
262052013-10-04 Alan Modra <amodra@gmail.com>
26206
26207 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26208 (union ibm_extended_long_double): Define as an array of ieee754_double.
26209 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26210 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26211 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26212 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26216 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26220
975569d0
JM
262212013-10-03 Joseph Myers <joseph@codesourcery.com>
26222
d3d23756
JM
26223 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26224 page size instead of calling getpagesize.
26225
975569d0
JM
26226 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26227 (LOCFILE_ALIGN_MASK): Likewise.
26228 (LOCFILE_ALIGN_UP): Likewise.
26229 (LOCFILE_ALIGNED_P): Likewise.
26230 * locale/programs/ld-collate.c (collate_output): Use the new
26231 macros instead of __alignof__ (int32_t).
26232 * locale/weight.h (findidx): Likewise.
26233
b1fe1f2b
OB
262342013-10-03 Ondřej Bílka <neleai@seznam.cz>
26235
26236 [BZ #431]
26237 * manual/string.texi: Fix strncat and wcsncat.
26238
5f855e35
BM
262392013-10-03 Brooks Moses <bmoses@google.com>
26240
26241 [BZ #15915]
26242 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26243 * Makerules: ...here, and adjust associated comments.
26244
3cef6009
WN
262452013-10-02 Will Newton <will.newton@linaro.org>
26246
26247 * malloc/Makefile: Add tst-pvalloc.
26248 * malloc/tst-pvalloc.c: New file.
26249
7815420b
WN
262502013-10-02 Will Newton <will.newton@linaro.org>
26251
26252 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26253 improve test coverage.
26254
4868b204
WN
262552013-10-02 Will Newton <will.newton@linaro.org>
26256
26257 * malloc/Makefile: Add tst-posix_memalign.
26258 * malloc/tst-posix_memalign.c: New file.
26259
29c793b3
EB
262602013-10-01 Eric Blake <eblake@redhat.com>
26261
26262 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26263 Use __THROWNL rather than __THROW on static functions.
26264
fd967522
PM
262652013-09-30 Petr Machata <pmachata@redhat.com>
26266
26267 * elf/elf.h (R_AARCH64_ABS16): New macro.
26268 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26269 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26270 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26271 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26272 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26273 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26274 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26275 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26276 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26277 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26278 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26279 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26280 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26281 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26282 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26283 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26284 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26285 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26286 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26287 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26288 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26289 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26290 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26291 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26292 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26293 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26294 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26295 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26296 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26297 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26298 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26299 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26300 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26301 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26302 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26303 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26304 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26305 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26306 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26307 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26308 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26309 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26310 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26311 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26312 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26313 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26314 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26315 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26316 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26317 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26318 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26319 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26320 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26321 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26322 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26323 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26324 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26325 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26326 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26327 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26328 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26329 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26330 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26331 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26332 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26333 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26334 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26335 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26336 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26337 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26338 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26339 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26340 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26341 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26342 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26343 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26344 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26345 (R_AARCH64_TLSDESC_LDR): Likewise.
26346 (R_AARCH64_TLSDESC_ADD): Likewise.
26347 (R_AARCH64_TLSDESC_CALL): Likewise.
26348
b2179107
AS
263492013-09-30 Andreas Schwab <schwab@suse.de>
26350
26351 [BZ #15048]
26352 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26353 the nss database lookup.
26354 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26356
47f28d0a
MF
263572013-09-28 Mike Frysinger <vapier@gentoo.org>
26358
26359 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26360
263612013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
26362
26363 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26364 ${Bash-specific parameter/pattern/string} parameter expansion.
26365 * sysdeps/unix/make-syscalls.sh: Likewise.
26366
f4518a17
KK
263672013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26368
26369 * sysdeps/sh/stackguard-macros.h: New file.
26370
dc1a95c7
OB
263712013-09-26 Ondřej Bílka <neleai@seznam.cz>
26372
26373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26375 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26376 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26378 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26379
5ebbff8f
AZ
263802013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26381
26382 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26383 Fix thread ID register.
26384
4fd2cf9f
JM
263852013-09-25 Joseph Myers <joseph@codesourcery.com>
26386
26387 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26388 [POSIX || UNIX98]: Require rather than permitting all symbols from
26389 <time.h>.
26390 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26391 element of struct sched_param.
26392 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26393 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26394 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26395 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26396 constant.
26397
12c22bc4
OL
263982013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26399
26400 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26401 argument calculation.
26402
a03d8ea7
JM
264032013-09-24 Joseph Myers <joseph@codesourcery.com>
26404
26405 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26406 Expect macro.
26407 [POSIX] (pthread_attr_t): Do not require type.
26408 [POSIX] (pthread_cond_t): Likewise.
26409 [POSIX] (pthread_condattr_t): Likewise.
26410 [POSIX] (pthread_key_t): Likewise.
26411 [POSIX] (pthread_mutex_t): Likewise.
26412 [POSIX] (pthread_mutexattr_t): Likewise.
26413 [POSIX] (pthread_once_t): Likewise.
26414 [POSIX] (pthread_t): Likewise.
26415 [POSIX-based standards] (pthread_atfork): Expect function.
26416
6055173a
JM
264172013-09-24 Joseph Myers <joseph@codesourcery.com>
26418 Richard Sandiford <richard@codesourcery.com>
26419
26420 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26421 (swap_endianness_p): New extern variable.
26422 (set_big_endian): New inline function.
26423 (maybe_swap_uint32): Likewise.
26424 (maybe_swap_uint32_array): Likewise.
26425 (maybe_swap_uint32_obstack): Likewise.
26426 * locale/programs/locfile.c: Include <stdbool.h>.
26427 (swap_endianness_p): New variable.
26428 (add_locale_uint32): Call maybe_swap_uint32.
26429 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26430 (write_locale_data): Call maybe_swap_uint32_array.
26431 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26432 maybe_swap_uint32.
26433 (obstack_int32_grow_fast): Likewise.
26434 (output_weightwc): Call maybe_swap_uint32_obstack.
26435 (collate_output): Likewise.
26436 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26437 (OPT_LITTLE_ENDIAN): Likewise.
26438 (options): Add --little-endian and --big-endian options.
26439 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26440 * locale/programs/locarchive.c: Include "locfile.h".
26441 (GET): New macro.
26442 (SET): Likewise.
26443 (INC): Likewise.
26444 (create_archive): Use the new macros to access fields of
26445 structures directly mapped from or written to locale archives.
26446 (oldlocrecentcmp): Likewise.
26447 (enlarge_archive): Likewise.
26448 (insert_name): Likewise.
26449 (add_alias): Likewise.
26450 (add_locale): Likewise.
26451 (delete_locales_from_archive): Likewise.
26452 (show_archive_content): Likewise.
26453 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
26454 locale data.
26455
39bf0bb4
RM
264562013-09-24 Roland McGrath <roland@hack.frob.com>
26457
26458 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26459 http://www.gnu.org/doc/freemanuals.texi.
26460 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26461
f02eed10
WN
264622013-09-24 Will Newton <will.newton@linaro.org>
26463
26464 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26465 macro.
26466
a3a6c312
JM
264672013-09-23 Joseph Myers <joseph@codesourcery.com>
26468
26469 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26470 unsigned char.
26471
107375ac
MR
264722013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26473
26474 * manual/threads.texi (POSIX Threads): Fix a typo.
26475
141f3a77
SP
264762013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26477
303e567a
SP
26478 [BZ #14547]
26479 * string/tst-strcoll-overflow.c: New test case.
26480 * string/Makefile (xtests): Add tst-strcoll-overflow.
26481 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26482 cache if string sizes may cause integer overflow.
26483
141f3a77
SP
26484 [BZ #14547]
26485 * string/strcoll_l.c (coll_seq): New members rule, idx,
26486 save_idx and back_us.
26487 (get_next_seq_nocache): New function.
26488 (do_compare_nocache): New function.
26489 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26490 when malloc fails.
26491
c61b4d41
CD
264922013-09-23 Carlos O'Donell <carlos@redhat.com>
26493
0b1f8e35
CD
26494 [BZ #15754]
26495 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26496 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26497 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26498
c61b4d41
CD
26499 [BZ #15754]
26500 * elf/Makefile (tests): Add tst-ptrguard1.
26501 (tests-static): Add tst-ptrguard1-static.
26502 (tst-ptrguard1-ARGS): Define.
26503 (tst-ptrguard1-static-ARGS): Define.
26504 * elf/tst-ptrguard1.c: New file.
26505 * elf/tst-ptrguard1-static.c: New file.
26506 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26507 * sysdeps/i386/stackguard-macros.h: Likewise.
26508 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26509 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26510 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26511 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26512 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26513 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26514
265152013-09-23 Hector Marco <hecmargi@upv.es>
26516 Ismael Ripoll <iripoll@disca.upv.es>
26517 Carlos O'Donell <carlos@redhat.com>
26518
26519 [BZ #15754]
26520 * sysdeps/generic/stackguard-macros.h: Define
26521 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26522 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26523 Define __pointer_chk_guard_local.
26524 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26525 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26526
f5f4e7b4
VV
265272013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26528
26529 [BZ #15859]
26530 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26531
5bb43a43
AS
265322013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26533
26534 * include/string.h (__ffs): Declare as hidden.
26535 * string/ffs.c (__ffs): Define as hidden.
26536 * sysdeps/i386/ffs.c (__ffs): Likewise.
26537 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26538 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26539 * sysdeps/s390/ffs.c (__ffs): Likewise.
26540 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26541
3ea5be54
AO
265422013-09-20 Alexandre Oliva <aoliva@redhat.com>
26543
ffb89e53
AO
26544 * NEWS: Mention malloc probes.
26545
322dea08
AO
26546 * malloc/arena.c (new_heap): New memory_heap_new probe.
26547 (grow_heap): New memory_heap_more probe.
26548 (shrink_heap): New memory_heap_less probe.
26549 (heap_trim): New memory_heap_free probe.
26550 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26551 (systrim): New memory_sbrk_less probe.
26552 * manual/probes.texi: Document them.
26553
655673f3
AO
26554 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26555 * manual/probes.texi: Document it.
26556
35fed6f1
AO
26557 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26558 (__libc_realloc): Add memory_realloc_retry probe.
26559 (__libc_memalign): Add memory_memalign_retry probe.
26560 (__libc_valloc): Add memory_valloc_retry probe.
26561 (__libc_pvalloc): Add memory_pvalloc_retry probe.
26562 (__libc_calloc): Add memory_calloc_retry probe.
26563 * manual/probes.texi: Document them.
26564
6999d38c
AO
26565 * malloc/arena.c (get_free_list): Add probe
26566 memory_arena_reuse_free_list.
26567 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26568 and memory_arena_reuse.
26569 (arena_get2) [!PER_THREAD]: Likewise.
26570 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26571 memory_arena_reuse_realloc.
26572 * manual/probes.texi: Document them.
26573
0653427f
AO
26574 * malloc/malloc.c (__libc_free): Add
26575 memory_mallopt_free_dyn_thresholds probe.
26576 (__libc_mallopt): Add multiple memory_mallopt probes.
26577 * manual/probes.texi: Document them.
26578
3ea5be54
AO
26579 * malloc/malloc.c: Include stap-probe.h.
26580 (__libc_mallopt): Add memory_mallopt probe.
26581 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26582 * manual/probes.texi: New.
26583 * manual/Makefile (chapters): Add probes.
26584 * manual/threads.texi: Set next node.
26585
e35696c3 265862013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 26587
e35696c3
CL
26588 [BZ #15963, #13985]
26589 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26590 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26591 Add `Chinese' to `nan' entry name.
26592
4aafb73c
SP
265932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26594
26595 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26596 (POLYNOMIAL): Likewise.
26597 (TAYLOR_SINCOS): Likewise.
26598 (TAYLOR_SLOW): Likewise.
26599 (__sin): Use TAYLOR_SINCOS.
26600 (__cos): Likewise.
26601 (slow): Use TAYLOR_SLOW.
26602 (sloww): Likewise.
26603 (bsloww): Likewise.
26604 (csloww): Likewise.
26605
d84f25c7
LD
266062013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26607
26608 * stdlib/strtod_l.c: Fix buffer overrun.
26609
5eea0404
SP
266102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26611
7849ff93
SP
26612 * benchtests/Makefile (bench): Add sincos.
26613 * benchtests/bench-sincos.c: New file.
26614
cfa3c886
SP
26615 * math/libm-test.inc (cos_test_data): New test inputs.
26616 (sin_test_data): Likewise.
26617
b348e1e3
SP
26618 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26619 macro.
26620 (__sin): Use it.
26621 (__cos): Likewise.
26622 (slow1): Likewise.
26623 (slow2): Likewise.
26624 (sloww1): Likewise.
26625 (sloww2): Likewise.
26626 (bsloww1): Likewise.
26627 (bsloww2): Likewise.
26628 (cslow2): Likewise.
26629 (csloww1): Likewise.
26630 (csloww2): Likewise.
26631
6cce25f8
SP
26632 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26633 function.
26634 (__sin): Use it.
26635 (__cos): Likewise.
26636
5eea0404
SP
26637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26638 gotos.
26639 (__cos): Likewise.
26640
9c21573c
MR
266412013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
26642
26643 * config.h.in (HAVE_MIPS_NAN2008): New macro.
26644 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26645 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26646 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26647 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26648 * elf/cache.c (print_entry): Handle the new cache flags.
26649
24d22e65
JM
266502013-09-18 Joseph Myers <joseph@codesourcery.com>
26651 Aldy Hernandez <aldyh@redhat.com>
26652
26653 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26654 Change condition to [_SOFT_FLOAT].
26655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26667 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26670 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26671 declaration.
26672
d13ef066
JM
266732013-09-18 Joseph Myers <joseph@codesourcery.com>
26674
2e071de0
JM
26675 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26676 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26677 (__longjmp): Use LOAD_GP to load saved GPRs.
26678 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26679 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26680 (__sigsetjmp): Use SAVE_GP to save GPRs.
26681
d13ef066
JM
26682 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26683 Do not append -msoft-float.
26684 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26685
97a0650b
SP
266862013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26687
26688 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26689
11ca09e9
JM
266902013-09-17 Joseph Myers <joseph@codesourcery.com>
26691
26692 [BZ #15966]
26693 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26694 (_FPU_GETCW): Use initial "__" on variable and field names but not
26695 on macro parameter name.
26696 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
26697 parentheses around reference to macro parameter.
26698
08ffcf34
RS
266992013-09-13 Richard Sandiford <richard@codesourcery.com>
26700
26701 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26702 prototype.
26703 (ctype_startup): Use uint32_t in cast and sizeof for
26704 ctype->charnames.
26705
ae7080d3
JL
267062013-09-11 Jia Liu <proljc@gmail.com>
26707
26708 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26709 __daddr_t_defined.
26710 [__FreeBSD__]: Likewise.
26711
5905e7b3
OB
267122013-09-11 Ondřej Bílka <neleai@seznam.cz>
26713
26714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26715 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26716 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26717 (strchr): Remove __strchr_sse42 ifunc selection.
26718 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26719 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26720
b987c776
WN
267212013-09-11 Will Newton <will.newton@linaro.org>
26722
26723 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26724 parameter to RES. Remove hardcoded 1000 value.
26725 * benchtests/bench-skeleton.c (main): Pass RES parameter
26726 to TIMING_INIT and multiply result by 1000.
26727
ddf985af
AZ
267282013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26729
26730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26731
ffdd3181
AS
267322013-09-11 Andreas Schwab <schwab@suse.de>
26733
26734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26735 if not defined.
26736 (O_TMPFILE) [__USE_GNU]: Define.
26737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26738 Define.
26739
b73ed247
WN
267402013-09-11 Will Newton <will.newton@linaro.org>
26741
26742 [BZ #15857]
26743 * malloc/malloc.c (__libc_memalign): Check the value of bytes
26744 does not overflow.
26745
55e17aad
WN
267462013-09-11 Will Newton <will.newton@linaro.org>
26747
26748 [BZ #15856]
26749 * malloc/malloc.c (__libc_valloc): Check the value of bytes
26750 does not overflow.
26751
1159a193
WN
267522013-09-11 Will Newton <will.newton@linaro.org>
26753
26754 [BZ #15855]
26755 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26756 does not overflow.
26757
5905e7b3 267582013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
26759
26760 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26761 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26765
cdfc721b
AM
267662013-09-10 Allan McRae <allan@archlinux.org>
26767
aa04af00
AM
26768 [BZ #15748]
26769 * manual/arith.texi (Parsing of Floats): Clarify
26770 cross-reference.
26771
cdfc721b
AM
26772 [BZ #15849]
26773 * manual/install.texi (Running make install): Mention
26774 --enable-pt-chown.
26775 * INSTALL: Regenerated.
26776
95e7cf29
MR
267772013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
26778
26779 * csu/init-first.c (_init): Remove the !SHARED condition around
26780 FPU control word initialization.
26781 * elf/dl-support.c (_dl_fpu_control): New variable.
26782 (_dl_aux_init) <AT_FPUCW>: Initialize it.
26783 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26784 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26785 * math/test-fpucw-static.c: New file.
26786 * math/test-fpucw-ieee.c: New file.
26787 * math/test-fpucw-ieee-static.c: New file.
26788 * math/Makefile (tests): Add `test-fpucw-ieee' and
26789 `$(tests-static)'.
26790 (tests-static): New variable.
26791 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26792 dependency to...
26793 [($(build-shared),yes)]
26794 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26795 ... this.
26796 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26797 New dependency.
26798
83e43bf0
AM
267992013-09-09 Allan McRae <allan@archlinux.org>
26800
a9f5ce09
AM
26801 [BZ #15939]
26802 * manual/string.texi (Collation Functions): Fix typo in
26803 strcoll example.
26804 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26805
34829bc2
AM
26806 [BZ #15893]
26807 * stdlib/isomac.c (get_null_defines): Fix memory leak.
26808
3932737d
AM
26809 [BZ #15892]
26810 * libio/memstream.c (open_memstream): Fix memory leak.
26811 * libio/wmemstream.c (open_wmemstream): Likewise.
26812
83e43bf0
AM
26813 [BZ #15895]
26814 * nscd/netgroupcache.c: Fix nesting of ifdefs.
26815
0c66b8e9
WN
268162013-09-09 Will Newton <will.newton@linaro.org>
26817
26818 * malloc/Makefile: Add tst-realloc to tests.
26819 * malloc/tst-realloc.c: New file.
26820
f6b00fd1
AM
268212013-09-09 Allan McRae <allan@archlinux.org>
26822
26823 [BZ #15844]
26824 * COPYING: Update from GNU website to fix FSF address.
26825 * COPYING.LIB: Likewise.
26826
eec55e16
DM
268272013-09-06 David S. Miller <davem@davemloft.net>
26828
26829 * po/zh_TW.po: Update Chinese (traditional) translation from
26830 translation project.
26831
1ecbb381
RS
268322013-09-06 Richard Sandiford <richard@codesourcery.com>
26833 Joseph Myers <joseph@codesourcery.com>
26834
26835 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26836 "localeinfo.h".
26837 (obstack_chunk_alloc): New macro.
26838 (obstack_chunk_free): Likewise.
26839 (record_offset): New function.
26840 (init_locale_data): Likewise.
26841 (align_locale_data): Likewise.
26842 (add_locale_empty): Likewise.
26843 (add_locale_raw_data): Likewise.
26844 (add_locale_raw_obstack): Likewise.
26845 (add_locale_string): Likewise.
26846 (add_locale_wstring): Likewise.
26847 (add_locale_uint32): Likewise.
26848 (add_locale_uint32_array): Likewise.
26849 (add_locale_char): Likewise.
26850 (start_locale_structure): Likewise.
26851 (end_locale_structure): Likewise.
26852 (start_locale_prelude): Likewise.
26853 (end_locale_prelude): Likewise.
26854 (write_locale_data): Take locale_file structure rather than an
26855 iovec.
26856 * locale/programs/locfile.h: Include "obstack.h".
26857 (struct locale_file): Change to store locale file contents instead
26858 of header.
26859 (init_locale_data): New prototype.
26860 (align_locale_data): Likewise.
26861 (add_locale_empty): Likewise.
26862 (add_locale_raw_data): Likewise.
26863 (add_locale_raw_obstack): Likewise.
26864 (add_locale_string): Likewise.
26865 (add_locale_wstring): Likewise.
26866 (add_locale_uint32): Likewise.
26867 (add_locale_uint32_array): Likewise.
26868 (add_locale_char): Likewise.
26869 (start_locale_structure): Likewise.
26870 (end_locale_structure): Likewise.
26871 (start_locale_prelude): Likewise.
26872 (end_locale_prelude): Likewise.
26873 (write_locale_data): Update prototype.
26874 * locale/programs/3level.h (struct TABLE): Remove result field.
26875 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26876 Use new locale_file interface.
26877 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26878 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26879 * locale/programs/ld-address.c (address_output): Use new
26880 locale_file interface.
26881 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26882 NO_ADD_LOCALE.
26883 (collate_finish): Don't call collseq_table_finalize.
26884 (collate_output): Use new locale_file interface.
26885 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26886 in file.
26887 (NO_FINALIZE): Change to NO_ADD_LOCALE.
26888 (TABLE): Move defines earlier in file.
26889 (ELEMENT): Likewise.
26890 (DEFAULT): Likewise.
26891 (wctrans_table_add): Move macro and inline function earlier in
26892 file.
26893 (struct wctype_table): Move type earlier in file.
26894 (add_locale_wctype_table): New static prototype.
26895 (struct locale_ctype_t): Use logical types instead of struct iovec
26896 pointers for members.
26897 (ctype_output): Use new locale_file interface.
26898 (wctype_table_finalize): Change to add_locale_wctype_table. Use
26899 new locale_file interface.
26900 (allocate_arrays): Update for use of new locale_file interface.
26901 * locale/programs/ld-identification.c (identification_output): Use
26902 new locale_file interface.
26903 * locale/programs/ld-measurement.c (measurement_output): Likewise.
26904 * locale/programs/ld-messages.c (messages_output): Likewise.
26905 * locale/programs/ld-monetary.c (monetary_output): Likewise.
26906 * locale/programs/ld-name.c (name_output): Likewise.
26907 * locale/programs/ld-numeric.c (numeric_output): Likewise.
26908 * locale/programs/ld-paper.c (paper_output): Likewise.
26909 * locale/programs/ld-telephone.c (telephone_output): Likewise.
26910 * locale/programs/ld-time.c (time_output): Likewise.
26911
e029e2e5
AZ
269122013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26913
26914 * benchtests/Makefile: Add memrchr benchmark.
26915 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26916 benchmark as memrchr.
26917 * benchtests/bench-memrchr-ifunc.c: New file.
26918 * benchtests/bench-memrchr.c: New file.
26919
bbf6e8e4
WN
269202013-09-06 Will Newton <will.newton@linaro.org>
26921
26922 * benchtests/Makefile (string-bench): Add memcpy.
26923
6c82a2f8
CD
269242013-09-05 Carlos O'Donell <carlos@redhat.com>
26925 Cong Wang <amwang@redhat.com>
26926
e732c5f0 26927 [BZ #15850]
6c82a2f8
CD
26928 * sysdeps/unix/sysv/linux/bits/in.h
26929 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26930 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26931 before __USE_KERNEL_IPV6_DEFS uses.
26932 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26933 IPPROTO_BEETPH.
26934 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26935 sockaddr_in6, or ipv6_mreq.
26936
5430fc65
AZ
269372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26938
26939 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26940 memory access for final bytes in some large inputs.
26941 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26942
4660856c
AZ
269432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26944
26945 * string/test-memrchr.c: New file.
26946 * string/test-memrchr-ifunc.c: New file.
26947 * string/Makefile: Add new memrchr testcase.
26948
bb8ea713
MF
269492013-09-05 Mike Frysinger <vapier@gentoo.org>
26950
26951 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26952 fanotify_init returns EPERM.
26953
b92a20b5
JM
269542013-09-04 Joseph Myers <joseph@codesourcery.com>
26955
26956 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26957 errors.
26958 (top level): Treat second token from macro or constant entries for
26959 allowed headers as allowed.
26960 * include/complex.h: Condition internal declarations on
26961 [!_ISOMAC].
26962 * include/fenv.h: Condition include of <stdbool.h> and internal
26963 declarations on [!_ISOMAC].
7447ccd9
CL
26964
269652013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26966
3e181dda 26967 [BZ #15923]
7447ccd9
CL
26968 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26969
3f2e46a4
JM
269702013-09-04 Joseph Myers <joseph@codesourcery.com>
26971
26972 * configure.in (--enable-versioning): Remove configure option.
26973 (libc_cv_asm_symver_directive): Remove configure test.
26974 (libc_cv_ld_version_script_option): Likewise.
26975 (VERSIONING): Remove variable and AC_SUBST.
26976 (DO_VERSIONING): Remove AC_DEFINE.
26977 * configure: Regenerated.
26978 * config.h.in (DO_VERSIONING): Remove macro.
26979 * Makerules [$(versioning) = yes]: Change conditionals to
26980 [$(build-shared) = yes].
26981 * config.make.in (versioning): Remove variable.
26982 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26983 [$(build-shared) = yes].
26984 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26985 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26986 * elf/Makefile [$(versioning) = yes]: Change conditionals to
26987 [$(build-shared) = yes].
26988 * extra-lib.mk [$(versioning) = yes]: Likewise.
26989 * hurd/Makefile [$(versioning) = yes]: Likewise.
26990 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26991 [SHARED].
26992 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26993 [SHARED].
26994 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26995 [SHARED && !NO_HIDDEN].
26996 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26997 [SHARED].
26998 [SHARED && DO_VERSIONING]: Likewise..
26999 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27000 [$(build-shared) = yes].
27001 * manual/install.texi (--disable-versioning): Remove
27002 documentation.
27003 * INSTALL: Regenerated.
27004 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27005 to [SHARED].
27006 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27007 [$(build-shared) = yes].
27008 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27009 * sysdeps/i386/i686/multiarch/strstr-c.c
27010 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27011 [SHARED && !NO_HIDDEN].
27012 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27013 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27014 * sysdeps/powerpc/powerpc32/dl-machine.c
27015 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27016 * sysdeps/powerpc/powerpc32/sysdep.h
27017 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27018 to [SHARED && PIC && !NO_HIDDEN].
27019 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27020 conditional to [SHARED].
27021
44558701
WN
270222013-09-04 Will Newton <will.newton@linaro.org>
27023
27024 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27025 * benchtests/bench-string.h: Include bench-timing.h instead
27026 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27027 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27028 call to HP_TIMING_DIFF_INIT.
27029 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27030 instead of hp-timing.h macros.
27031 * benchtests/bench-memchr.c: Likewise.
27032 * benchtests/bench-memcmp.c: Likewise.
27033 * benchtests/bench-memcpy.c: Likewise.
27034 * benchtests/bench-memmem.c: Likewise.
27035 * benchtests/bench-memmove.c: Likewise.
27036 * benchtests/bench-memset.c: Likewise.
27037 * benchtests/bench-rawmemchr.c: Likewise.
27038 * benchtests/bench-strcasecmp.c: Likewise.
27039 * benchtests/bench-strcasestr.c: Likewise.
27040 * benchtests/bench-strcat.c: Likewise.
27041 * benchtests/bench-strchr.c: Likewise.
27042 * benchtests/bench-strcmp.c: Likewise.
27043 * benchtests/bench-strcpy.c: Likewise.
27044 * benchtests/bench-strcpy_chk.c: Likewise.
27045 * benchtests/bench-strlen.c: Likewise.
27046 * benchtests/bench-strncasecmp.c: Likewise.
27047 * benchtests/bench-strncat.c: Likewise.
27048 * benchtests/bench-strncmp.c: Likewise.
27049 * benchtests/bench-strncpy.c: Likewise.
27050 * benchtests/bench-strnlen.c: Likewise.
27051 * benchtests/bench-strpbrk.c: Likewise.
27052 * benchtests/bench-strrchr.c: Likewise.
27053 * benchtests/bench-strspn.c: Likewise.
27054 * benchtests/bench-strstr.c: Likewise.
27055
cae16d66
WN
270562013-09-04 Will Newton <will.newton@linaro.org>
27057
27058 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27059
ffa3cd7f
JM
270602013-09-03 Joseph Myers <joseph@codesourcery.com>
27061
27062 [BZ #15427]
27063 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27064 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27065 * math/libm-test.inc (lgamma_test_data): Add more tests.
27066 * sysdeps/i386/fpu/libm-test-ulps: Update.
27067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27068
8f02859f
OB
270692013-09-03 Ondřej Bílka <neleai@seznam.cz>
27070
27071 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27073 Add ifunc.
27074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27075 Add strcmp-sse2-unaligned
27076 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27077
18d43716
MF
270782013-09-02 Mike Frysinger <vapier@gentoo.org>
27079
27080 * Versions.def (libc): Add GLIBC_2.19.
27081
ac444012
MF
270822013-09-02 Mike Frysinger <vapier@gentoo.org>
27083
27084 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27085 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27086
b7835e32
JM
270872013-09-02 Joseph Myers <joseph@codesourcery.com>
27088
27089 [BZ #14155]
27090 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27091 intermediate calculations in recurrence.
27092 (__ieee754_ynf): Likewise.
27093 * math/libm-test.inc (jn_test_data): Do not allow spurious
27094 underflow exception. Add more tests.
27095 (yn_test_data): Add more tests.
27096 * sysdeps/i386/fpu/libm-test-ulps: Update.
27097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27098
8220f4f0
OB
270992013-09-02 Ondřej Bílka <neleai@seznam.cz>
27100
27101 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27102
f24a6d08
OB
271032013-08-30 Ondřej Bílka <neleai@seznam.cz>
27104
27105 * csu/init-first.c: Fix then/than typos.
27106 * locale/programs/ld-collate.c: Likewise.
27107 * locale/programs/linereader.h: Likewise.
27108 * manual/charset.texi: Likewise.
27109 * manual/filesys.texi: Likewise.
27110 * manual/stdio.texi: Likewise.
27111 * manual/string.texi: Likewise.
27112 * stdlib/fmtmsg.c: Likewise.
27113 * sysdeps/i386/stpncpy.S: Likewise.
27114 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27115 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27116 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27117 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27118
382466e0
OB
271192013-08-30 Ondřej Bílka <neleai@seznam.cz>
27120
27121 * elf/dl-open.c: Fix typos.
27122 * iconvdata/gbbig5.c: Likewise.
27123 * iconvdata/iso-2022-jp.c: Likewise.
27124 * iconv/gconv_int.h: Likewise.
27125 * iconv/loop.c: Likewise.
27126 * nis/rpcsvc/nis.h: Likewise.
27127 * resolv/ns_name.c: Likewise.
27128 * stdio-common/vfscanf.c: Likewise.
27129 * streams/stropts.h: Likewise.
27130 * sunrpc/rpc_thread.c: Likewise.
27131 * sysdeps/i386/strpbrk.S: Likewise.
27132 * sysdeps/ieee754/k_standard.c: Likewise.
27133 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27134 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27135 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27136 * sysdeps/mach/hurd/profil.c: Likewise.
27137 * sysdeps/s390/dl-procinfo.h: Likewise.
27138 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27139 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27140 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27141 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27143
0186c6e9
OB
271442013-08-30 Ondřej Bílka <neleai@seznam.cz>
27145
27146 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27148
d4e16af1
OB
271492013-08-29 Ondřej Bílka <neleai@seznam.cz>
27150
27151 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27152 aix specific files.
27153 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27154 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27155 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27156 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27157 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27158 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27159 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27160 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27161
88335980
TS
271622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27163 Roland McGrath <roland@hack.frob.com>
27164
27165 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27166 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27167
ed479b02
ST
271682013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27169
27170 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27171 __executable_start symbol instead of _start.
27172
f1cc4c86
TS
271732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27174
d821f07c
TS
27175 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27176 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27177 Move macros to...
27178 * sysdeps/gnu/ldsodefs.h: ... this new file.
27179
c54290cf
TS
27180 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27181 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27182 instead of ELFOSABI_LINUX.
27183
0007fc9b 27184 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
27185 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27186 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27187 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27188 Likewise.
27189 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27190 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27191 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27192 Likewise.
27193 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27194 (ibm_extended_long_double): Add ieee_nan member.
27195 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27196 (do_test): New function.
27197
f1cc4c86
TS
27198 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27199 TEST_TRUNC.
27200 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27201 functions, renamed from truncdfsf_test, trunctfsf_test,
27202 trunctfdf_test.
27203 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27204 functions.
27205 (do_test): Run all these.
27206
6f65e668
OB
272072013-08-29 Ondřej Bílka <neleai@seznam.cz>
27208
27209 * argp/argp-help.c: Fix typos.
27210 * argp/argp-parse.c: Likewise.
27211 * debug/backtracesyms.c: Likewise.
27212 * elf/elf.h: Likewise.
27213 * malloc/malloc.c: Likewise.
27214 * nis/nis_print.c: Likewise.
27215 * resolv/res_comp.c: Likewise.
27216 * stdlib/stdlib.h: Likewise.
27217 * sunrpc/clnt_tcp.c: Likewise.
27218 * sunrpc/clnt_udp.c: Likewise.
27219 * sunrpc/clnt_unix.c: Likewise.
27220 * sysdeps/unix/bsd/ptsname.c: Likewise.
27221 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27222 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27224 Likewise.
27225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27226 Likewise.
27227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27228 Likewise.
6f65e668
OB
27229 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27230
3a309239
SP
272312013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27232
27233 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27235
3b813b29
MF
272362013-08-27 Mike Frysinger <vapier@gentoo.org>
27237
27238 [BZ #15897]
27239 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27240 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27241 ($(objpfx)bug-dl-leaf): New rule.
27242 ($(objpfx)bug-dl-leaf.so): Likewise.
27243 ($(objpfx)bug-dl-leaf.out): Likewise.
27244 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27245 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27246 * dlfcn/bug-dl-leaf.c: New test.
27247 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27248 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27249 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27250 (dlclose): Likewise.
27251 (dlmopen): Likewise.
27252
8cc3269f
RM
272532013-08-27 Roland McGrath <roland@hack.frob.com>
27254
7f9d0034
RM
27255 * include/netdb.h [!_ISOMAC]:
27256 Don't include <tls.h>.
27257 (h_errno, __libc_h_errno): Move declaration and macros out of
27258 [_LIBC_REENTRANT].
27259
fb431262
RM
27260 * include/resolv.h [_RESOLV_H_]:
27261 Don't include <tls.h>.
27262 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27263 * resolv/res_libc.c: Don't include <tls.h>.
27264 (_res): Use __attribute__ ((nocommon)) in place of
27265 __attribute__ ((section (".bss"))).
27266
bd81123a
RM
27267 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27268 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27269
c4e42566
RM
27270 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27271
f890a59b
RM
27272 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27273 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27274
27275 * resolv/res_mkquery.c: Include <sys/time.h>.
27276
5d1f0a09
RM
27277 * inet/ifreq.c: Moved to ...
27278 * sysdeps/unix/ifreq.c: ... here.
27279 * inet/ifreq.c: New file, true stub version.
27280
6fcf28b3
RM
27281 * socket/sa_len.c: New file.
27282 * socket/Makefile (aux): Add it.
27283 * sysdeps/unix/sysv/linux/Makefile
27284 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27285 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27286 and #include <socket/sa_len.c>.
27287 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27288 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27289
e041fb8b
RM
27290 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27291 * bits/socket.h: ... here.
27292
8cc3269f
RM
27293 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27294 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27295 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27296
5d228a43
AS
272972013-08-27 Andreas Schwab <schwab@suse.de>
27298
45b8accc
AS
27299 [BZ #15736]
27300 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27301 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27302 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27303 * string/test-strcasecmp.c (test_main): Run tests in several
27304 locales.
27305 * string/test-strncasecmp.c (test_main): Likewise.
27306
5d228a43
AS
27307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27308 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27309 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27311 (__strncasecmp_ssse3) [PIC]: Likewise.
27312
59d112a4
RM
273132013-08-26 Roland McGrath <roland@hack.frob.com>
27314
53234cc3
RM
27315 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27316
59d112a4
RM
27317 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27318 instead of explicitly declaring xdecrypt.
27319 * nis/nss_nis/nis-publickey.c: Likewise.
27320
595aba70
SP
273212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27322
27323 [BZ #15890]
27324 * nscd/aicache.c: Include res_hconf.h.
27325 (addhstaiX): Initialize res_hconf.
27326
ffabd393
AS
273272013-08-26 Andreas Schwab <schwab@suse.de>
27328
27329 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27330 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27331
e0a69f5c
SP
273322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27333
27334 * nscd/aicache.c (addhstaiX): Fix indentation.
27335
8c12f01d
MF
273362013-08-25 Mike Frysinger <vapier@gentoo.org>
27337
27338 * configure.ac: Quote $build_pt_chown test.
27339 * configure: Regenerated.
27340
8fe89494
JM
273412013-08-23 Joseph Myers <joseph@codesourcery.com>
27342
27343 [BZ #15532]
27344 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27345 * math/s_cexpf.c (__cexpf): Likewise.
27346 * math/s_cexpl.c (__cexpl): Likewise.
27347 * math/libm-test.inc (cexp_test_data): Correct expected return
27348 value for NaN + i0. Add another test.
27349
75b181d6
DM
273502013-08-22 David S. Miller <davem@davemloft.net>
27351
27352 * po/ca.po: Update Catalan translation from translation project.
936241e4 27353 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 27354
acd06bb1
JM
273552013-08-21 Joseph Myers <joseph@codesourcery.com>
27356
27357 [BZ #15797]
27358 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27359 is infinite, not alongside NaN test.
27360 * math/s_fdimf.c (__fdimf): Likewise.
27361 * math/s_fdiml.c (__fdiml): Likewise.
27362 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27363 errno is unchanged.
27364
c0c3f78a
OB
273652013-08-21 Ondřej Bílka <neleai@seznam.cz>
27366
27367 * argp/argp-help.c: Fix typos.
27368 * crypt/speeds.c: Likewise.
27369 * csu/check_fds.c: Likewise.
27370 * elf/dl-load.c: Likewise.
27371 * elf/dl-open.c: Likewise.
27372 * elf/reldep3.c: Likewise.
27373 * elf/reldep.c: Likewise.
27374 * elf/sprof.c: Likewise.
27375 * iconv/iconv_charmap.c: Likewise.
27376 * iconv/skeleton.c: Likewise.
27377 * iconv/strtab.c: Likewise.
27378 * io/lockf64.c: Likewise.
27379 * libio/libioP.h: Likewise.
27380 * resolv/gai_notify.c: Likewise.
27381 * resolv/ns_name.c: Likewise.
27382 * resolv/ns_samedomain.c: Likewise.
27383 * resolv/res_send.c: Likewise.
27384 * stdlib/random.c: Likewise.
27385 * sunrpc/rpc/xdr.h: Likewise.
27386 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27387 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27388 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27389 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27391 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27393 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27394 * sysdeps/mach/hurd/check_fds.c: Likewise.
27395 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27396 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27397 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27398 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27399 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27400 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27401 * sysdeps/pthread/aio_notify.c: Likewise.
27402 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27403 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27404 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27405 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27406 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27407
46ed1038
LD
274082013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27409
27410 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27411 version if bit_Slow_SSE4_2 is set.
27412 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27414
d400dcac
AZ
274152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27416
27417 [BZ #15867]
27418 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27419 trampoline stack frame information.
27420 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27421 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27422 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27423 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27424 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27425 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27426 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27427 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27428 sa_flags value.
27429 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27430 interrupting a syscall and set with option SA_SIGINFO.
27431
42c8fdd8
JM
274322013-08-20 Joseph Myers <joseph@codesourcery.com>
27433
c980f2f4
JM
27434 [BZ #15531]
27435 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27436 argument is infinite.
27437 * math/s_cprojf.c (__cprojf): Likewise.
27438 * math/s_cprojl.c (__cprojl): Likewise.
27439 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27440 * math/libm-test.inc (cproj_test_data): Add more tests.
27441
0716c4fc
JM
27442 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27443
42c8fdd8
JM
27444 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27445 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27446 size. Use __ffs to determine corresponding shift.
27447
b31469d0
JM
274482013-08-20 Joseph Myers <joseph@codesourcery.com>
27449 Roland McGrath <roland@hack.frob.com>
27450
27451 * Makefile (INSTALL): Remove trailing blank lines from output of
27452 makeinfo.
27453
4e39af6e
AK
274542013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27455
27456 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27457 Align 32 bit compat elf_greg to 8 bytes.
27458
f315524e
AA
274592013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27460
27461 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27462
1326ba1a
SP
274632013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27464
27465 * string/strcoll_l.c (coll_seq): New structure.
27466 (get_next_seq_cached): New function.
27467 (get_next_seq): New function.
27468 (do_compare): New function.
27469 (STRCOLL): Use GNU style definition. Simplify implementation
27470 by using get_next_seq, get_next_seq_cached and do_compare.
27471
91ce4085
FW
274722013-08-16 Florian Weimer <fweimer@redhat.com>
27473
27474 [BZ #14699]
27475 CVE-2013-4237
27476 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27477 member.
27478 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27479 member.
27480 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27481 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27482 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27483 conditional.
27484 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27485 GETDENTS_64BIT_ALIGNED.
27486 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27487 * manual/filesys.texi (Reading/Closing Directory): Document
27488 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27489 strongly.
27490 * manual/conf.texi (Limits for Files): Add portability note to
27491 NAME_MAX, PATH_MAX.
27492 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27493
ca0a6bc4
AS
274942013-08-13 Andreas Schwab <schwab@suse.de>
27495
27496 [BZ #15749]
27497 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27498 of fabs.
27499 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27500 LDBL_MAX_EXP >= 16384]: Add tests for it.
27501
6c1fd795
DM
275022013-08-12 David S. Miller <davem@davemloft.net>
27503
27504 * version.h (RELEASE): Set to "development".
27505 (VERSION): Set to "2.18.90".
27506 * NEWS: Add 2.19 section.
27507
31ad488d
DM
275082013-08-03 David S. Miller <davem@davemloft.net>
27509
27510 * po/ko.po: Update Korean translation from translation project.
27511
db24e684
DM
275122013-08-01 David S. Miller <davem@davemloft.net>
27513
27514 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27515 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27516 Bilka.
27517
f723285b
DM
275182013-07-30 David S. Miller <davem@davemloft.net>
27519
27520 * po/fr.po: Update French translation from translation project.
27521
3cbc52db
DM
275222013-07-28 David S. Miller <davem@davemloft.net>
27523
30bbc0cc
DM
27524 * po/cs.po: Update Czech translation from translation project.
27525
3cbc52db
DM
27526 * po/sv.po: Update Swedish translation from translation project.
27527
d492e6d0
DM
275282013-07-27 David S. Miller <davem@davemloft.net>
27529
f1a7f492
DM
27530 * po/eo.po: Update Esperanto translation from translation project.
27531
90e62a4a
DM
27532 * po/vi.po: Update Vietnamese translation from translation project.
27533
d492e6d0
DM
27534 * po/de.po: Update German translation from translation project.
27535
d4baa62d
DM
275362013-07-26 David S. Miller <davem@davemloft.net>
27537
641aa7b4
DM
27538 * po/bg.po: Update Bulgarian translation from translation project.
27539
d4baa62d
DM
27540 * po/nl.po: Update Dutch translation from translation project.
27541 * po/pl.po: Update Polish translation from translation project.
27542 * po/ru.po: Update Russian translation from translation project.
27543
61a9dcb9
DM
275442013-07-24 David S. Miller <davem@davemloft.net>
27545
27546 * po/libc.pot: Update.
27547
7b1f8b58
AZ
275482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27549
27550 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27551 variable page size.
27552 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27553 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27554 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27555
a8fc7a03
AK
275562013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27557
27558 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27559
e4608715
CD
275602013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27561 Andreas Schwab <schwab@suse.de>
27562 Roland McGrath <roland@hack.frob.com>
27563 Joseph Myers <joseph@codesourcery.com>
27564 Carlos O'Donell <carlos@redhat.com>
27565
27566 [BZ #15755]
27567 * config.h.in: Define HAVE_PT_CHOWN.
27568 * config.make.in (build-pt-chown): New variable.
27569 * configure.in (--enable-pt_chown): New configure option.
27570 * configure: Regenerate.
27571 * login/Makefile: Include Makeconfig. Build pt_chown only if
27572 build-pt-chown is enabled.
27573 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27574 pt_chown to fix pty ownership.
27575 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27576 CLOSE_ALL_FDS.
27577 * manual/install.texi (Configuring and compiling): Mention
27578 --enable-pt_chown. Add @findex for grantpt.
27579 * INSTALL: Regenerate.
27580
da2d62df
DM
275812013-07-20 David S. Miller <davem@davemloft.net>
27582
27583 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27584 difference between 32-bit and 64-bit.
27585
d7e06450
CD
275862013-07-15 Carlos O'Donell <carlos@redhat.com>
27587
27588 [BZ #15711]
27589 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27590 Avoid system header dependency with -ffreestanding.
27591 ($(objpfx)bits/syscall%d): Likewise.
27592
f959cfd7
DM
275932013-07-13 David S. Miller <davem@davemloft.net>
27594
27595 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27596 underflows from atanl/atan2l due to bug 15319.
27597 (casinh_test_data): Likewise.
27598
c61f8513
DM
275992013-07-07 David S. Miller <davem@davemloft.net>
27600
27601 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27602
72c90ed0
JA
276032013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
27604
27605 * sysdeps/i386/fpu/libm-test-ulps: Update.
27606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607
52dfbe13
SP
276082013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27609
27610 * configure.in (--enable-lock-elision): Fix message text.
27611 * INSTALL: Regenerate.
27612 * configure: Regenerate.
27613
3f169543
AZ
276142013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27615
27616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27617
521c6785
AJ
276182013-07-03 Andreas Jaeger <aj@suse.de>
27619
27620 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27621 define.
27622 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27623 (ptrace_peeksiginfo_args): Add.
27624 (__ptrace_peeksiginfo_flags): Add.
27625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27627 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27628
d2cc15cb
AM
276292013-07-03 Allan McRae <allan@archlinux.org>
27630
27631 * sysdeps/i386/fpu/libm-test-ulps: Update.
27632
3aaeeca7
DM
276332013-07-02 David S. Miller <davem@davemloft.net>
27634
27635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27636
5314ed1a
MT
276372013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
27638
27639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27640
67338156
JM
276412013-07-02 Joseph Myers <joseph@codesourcery.com>
27642
27643 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27645
1717da59
AK
276462013-07-02 Andi Kleen <ak@linux.intel.com>
27647
27648 * config.h.in (ENABLE_LOCK_ELISION): Add.
27649 * configure.in (--enable-lock-elision): Add option.
27650 * manual/install.texi: Document --enable lock elision.
27651 * configure: Regenerate
27652 * INSTALL: Regenerate.
27653
1c81621c
L
276542013-07-02 H.J. Lu <hongjiu.lu@intel.com>
27655
27656 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27657 SSE4.2 strcasecmp for libc.a.
27658 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27659
77f01ab5
JM
276602013-07-02 Joseph Myers <joseph@codesourcery.com>
27661
27662 [BZ #13304]
27663 * soft-fp/op-common.h (_FP_FMA): New macro.
27664 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27665 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
27666 (_FP_MUL_MEAT_1_imm): ... here.
27667 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
27668 (_FP_MUL_MEAT_1_wide): ... here.
27669 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
27670 (_FP_MUL_MEAT_1_hard): ... here.
27671 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27672 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
27673 (_FP_MUL_MEAT_2_wide): ... here.
27674 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
27675 (_FP_MUL_MEAT_2_wide_3mul): ... here.
27676 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
27677 (_FP_MUL_MEAT_2_gmp): ... here.
27678 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27679 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
27680 (_FP_MUL_MEAT_4_wide): ... here.
27681 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
27682 (_FP_MUL_MEAT_4_gmp): ... here.
27683 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27684 (_FP_WFRACBITS_DW_S): Likewise.
27685 (_FP_WFRACXBITS_DW_S): Likewise.
27686 (_FP_HIGHBIT_DW_S): Likewise.
27687 (FP_FMA_S): Likewise.
27688 (_FP_FRAC_HIGH_DW_S): Likewise.
27689 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27690 (_FP_WFRACBITS_DW_D): Likewise.
27691 (_FP_WFRACXBITS_DW_D): Likewise.
27692 (_FP_HIGHBIT_DW_D): Likewise.
27693 (FP_FMA_D): Likewise.
27694 (_FP_FRAC_HIGH_DW_D): Likewise.
27695 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27696 (_FP_WFRACBITS_DW_E): Likewise.
27697 (_FP_WFRACXBITS_DW_E): Likewise.
27698 (_FP_HIGHBIT_DW_E): Likewise.
27699 (FP_FMA_E): Likewise.
27700 (_FP_FRAC_HIGH_DW_E): Likewise.
27701 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27702 (_FP_WFRACBITS_DW_Q): Likewise.
27703 (_FP_WFRACXBITS_DW_Q): Likewise.
27704 (_FP_HIGHBIT_DW_Q): Likewise.
27705 (FP_FMA_Q): Likewise.
27706 (_FP_FRAC_HIGH_DW_Q): Likewise.
27707 * soft-fp/fmasf4.c: New file.
27708 * soft-fp/fmadf4.c: Likewise.
27709 * soft-fp/fmatf4.c: Likewise.
27710
6308fd9a
LD
277112013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27712
27713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27714 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27715 Silvermont.
27716 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27717 macro.
27718 (index_Slow_SSE4_2): Likewise.
27719 (index_Prefer_PMINUB_for_stringop): Likewise.
27720 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27721 bit_Slow_SSE4_2 is set.
27722 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27723 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27724
89cd9569
RA
277252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27726
27727 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27728 rtld_global._dl_hwcap2.
27729 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27730 POWER8.
27731 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27732 POWER8 feature descriptions defined in _dl_hwcap2.
27733 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27734 string handling for POWER8 feature bits.
27735 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27736 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27737 _dl_powerpc_cap_flags.
27738 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27739 * sysdeps/powerpc/rtld-global-offsets.sym
27740 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27741 _dl_hwcap2 in the rtld_global_ro structure.
27742
1ae8bfe0
RA
277432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27744
27745 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27746 hardware capabilities in support of AT_HWCAP2.
27747 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27748 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27749 GLRO(dl_hwcap2).
27750 (_dl_show_auxv): Add support for calling _dl_procinfo to display
27751 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
27752 explicitly the unknown a_type display mechanism is used.
27753 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27754 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27755 struct member.
27756 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27757 to macro prototype for AT_HWCAP2 support.
27758 * sysdeps/i386/dl-procinfo.h: Likewise.
27759 * sysdeps/s390/dl-procinfo.h: Likewise.
27760 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27761 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
27762 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
27763 return -1 for unknown a_type display fallback.
27764 * sysdeps/sparc/dl-procinfo.h: Likewise.
27765 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27766 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27767
8fbec010
JM
277682013-06-28 Joseph Myers <joseph@codesourcery.com>
27769
27770 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27771 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27772
0432680e
PY
277732013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
27774
27775 [BZ #12492]
27776 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27777 mprotect making __stack_prot writable.
27778
ce61a2ad
NF
277792013-06-28 Nathan Froyd <froydnj@codesourcery.com>
27780 Joseph Myers <joseph@codesourcery.com>
27781
27782 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27783 as being properly aligned.
27784
f91f1c0f
MR
277852013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
27786
3d0f5d0c
MR
27787 * dlfcn/modstatic5.c: New file.
27788 * dlfcn/tststatic5.c: New file.
27789 * dlfcn/Makefile (tests): Add tststatic5.
27790 (tests-static): Likewise.
27791 (modules-names): Add modstatic5.
27792 (tststatic5-ENV): New variable.
27793 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27794
f91f1c0f
MR
27795 [BZ #15022]
27796 * elf/dl-support.c (_dl_main_map): New variable.
27797 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27798 (_dl_nns, _dl_load_adds): Set to 1.
27799 (_dl_initial_searchlist): Refer to _dl_main_map.
27800 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27801 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27802 call to _dl_get_origin.
27803 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27804 around call_map.
27805 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27806 * dlfcn/modstatic3.c: New file.
27807 * dlfcn/tststatic3.c: New file.
27808 * dlfcn/tststatic4.c: New file.
27809 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27810 (tests-static): Likewise.
27811 (modules-names): Add modstatic3.
27812 (tststatic3-ENV, tststatic4-ENV): New variables.
27813 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27814 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27815
cbe7d24b
JM
278162013-06-26 Joseph Myers <joseph@codesourcery.com>
27817
27818 * configure.in (CC): Require GCC version 4.4 or later.
27819 * configure: Regenerated.
27820 * manual/install.texi (Tools for Compilation): Update GCC version
27821 requirement.
27822 * INSTALL: Regenerated.
27823
11b8a0e1
LD
278242013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27825
27826 [BZ #15674]
bb5bb87c
L
27827 * string/test-memcmp.c (check2): New.
27828 (main): Call check2.
27829
11b8a0e1
LD
27830 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27831
b0037103
MR
278322013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
27833
27834 [BZ #15022]
27835 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27836 over to...
27837 (dl_open_worker) [!SHARED]: ... here.
27838
c18c701d
RA
278392013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27840
27841 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27842
1d17fa5f
RH
278432013-06-25 Richard Henderson <rth@redhat.com>
27844
27845 * locale/programs/locarchive.c: Include <libc-internal.h>
27846
8fcb833a
JM
278472013-06-25 Joseph Myers <joseph@codesourcery.com>
27848
27849 * manual/texinfo.tex: Update to version 2013-06-21.17, with
27850 trailing whitespace removed.
27851
17db6e8d
MF
278522013-06-24 Mike Frysinger <vapier@gentoo.org>
27853
27854 [BZ #10283]
17db6e8d
MF
27855 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27856 * locale/programs/locarchive.c: Include libc-mmap.h.
27857 (prepare_address_space): Take two new outputs (the mmap base and len).
27858 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
27859 values.
27860 (create_archive): Declare new mmap base and len values for
27861 prepare_address_space, and store the result in ah.
27862 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27863 (enlarge_archive): If ah->mmap_base is not NULL, use that and
27864 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27865 Declare new mmap base and len values for
27866 prepare_address_space, and store the result in new_ah.
27867 (open_archive): Declare new mmap base and len values for
27868 prepare_address_space, and store the result in ah.
27869 (close_archive): If ah->mmap_base is not NULL, use that and
27870 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27871 * sysdeps/generic/libc-mmap.h: New file.
27872
d605071e
MF
278732013-06-24 Mike Frysinger <vapier@gentoo.org>
27874
27875 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27876 (ALIGN_UP): Likewise.
27877 (PTR_ALIGN_DOWN): Likewise.
27878 (PTR_ALIGN_UP): Likewise.
27879
2f063a6e
RA
278802013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27881
27882 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27883 entry mapped to PPC_PLATFORM_POWER8.
27884 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27885 POWER8.
27886 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27887 (_dl_string_platform): Add case for exporting platform position for
27888 POWER8.
27889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27890 search path to sysdeps/powerpc/powerpc32/power8 directory.
27891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27892 search path to sysdeps/powerpc/powerpc64/power8 directory.
27893 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27894 power7 directories.
27895 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27896 power7 directories.
27897
a31ee4b3
SP
278982013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27899
a74ca98f
SP
27900 * INSTALL: Regenerate.
27901
a31ee4b3
SP
27902 * nscd/connections.c (nscd_init): Fix comment.
27903
695c378f
JM
279042013-06-22 Joseph Myers <joseph@codesourcery.com>
27905
d8412221
JM
27906 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27907
695c378f
JM
27908 [BZ #15667]
27909 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27910 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27911
d1d54715
MR
279122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27913
27914 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27915 DL_DST_REQ_STATIC.
27916 (DL_DST_REQ_STATIC): Remove macro.
27917
8fdda7af
JM
279182013-06-21 Joseph Myers <joseph@codesourcery.com>
27919
27920 [BZ #7006]
27921 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27922 with a shift of 0 bits.
27923
f3bc5e5a
MR
279242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27925
27926 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27927 $(tststatic-ENV).
27928
be09e8c9
KK
279292013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27930
27931 [BZ #15655]
27932 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27933
85c2e611
AZ
279342013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27935
27936 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27937 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27938 accepts -fno-tree-loop-distribute-patterns.
27939 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27940 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27941 recursive call.
27942 * string/memset.c (memset): Likewise.
27943 * string/test-memmove.c (simple_memmove): Disable loop transformation
27944 to library calls.
27945 * string/test-memset.c (simple_memset): Likewise.
27946 * benchtests/bench-memmove.c (simple_memmove): Likewise.
27947 * benchtests/bench-memset.c (simple_memset): Likewise.
27948 * configure: Regenerated.
27949
c91e0825
JM
279502013-06-20 Joseph Myers <joseph@codesourcery.com>
27951
b8c792af
JM
27952 * math/test-misc.c (main): Ignore fesetround failure when failures
27953 of subsequent rounding tests would be ignored.
27954
c91e0825
JM
27955 [BZ #15654]
27956 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27957 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27958 * math/fegetenv.c (__fegetenv): Return 0.
27959 * math/fegetexcept.c (fegetexcept): Return 0.
27960 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27961 FE_TONEAREST.
27962 * math/feholdexcpt.c (feholdexcept): Return 0.
27963 * math/fesetenv.c (__fesetenv): Return 0.
27964 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27965 argument FE_TONEAREST.
27966 * math/feupdateenv.c (__feupdateenv): Return 0.
27967 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27968
bfcacbde
RM
279692013-06-18 Roland McGrath <roland@hack.frob.com>
27970
27971 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27972 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27973 ($(objpfx)rtld-%.os rules): Use them.
27974
e55a9b25
AZ
279752013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27976
27977 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27978 fields.
27979
346d65b3
RM
279802013-06-17 Roland McGrath <roland@hack.frob.com>
27981
12086fb4
RM
27982 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27983 length of target pattern, then descending length of dependency pattern.
27984 * configure.in (AWK): Require gawk 3.1.2 or newer.
27985 * manual/install.texi (Tools for Compilation): Say that we do.
27986 * configure: Regenerated.
27987
346d65b3
RM
27988 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27989 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27990 * scripts/sysd-rules.awk: ... this new script.
27991 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27992 than a glob-style pattern.
27993
1a846317
JM
279942013-06-17 Joseph Myers <joseph@codesourcery.com>
27995
27996 * math/test-misc.c (main): Do not treat incorrectly rounded
27997 conversions as failure unless ROUNDING_TESTS passes.
27998
8fc75e6f
JM
279992013-06-15 Joseph Myers <joseph@codesourcery.com>
28000
3711a167
JM
28001 [BZ #15631]
28002 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28003 restore exception state around main square root computation, then
28004 check for inexactness explicitly.
28005
8fc75e6f
JM
28006 * math/libm-test.inc (fma_test_data): Add another test.
28007
61dd6208
SP
280082013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28009
adf23d2c
SP
28010 * manual/threads.texi (Non-POSIX Extensions): New document
28011 node. Document pthread_getattr_default_np and
28012 pthread_setattr_default_np.
28013
61dd6208
SP
28014 * Versions.def (libpthread): Add GLIBC_2.18.
28015 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28017 Likewise.
28018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28019 Likewise.
28020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28021 Likewise.
28022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28023 Likewise.
28024 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28025 Likewise.
28026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28027 Likewise.
28028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28029 Likewise.
28030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28031 Likewise.
28032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28033 Likewise.
28034
d086fc7b
LD
280352013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28036
28037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28038 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28039
747ef469
SP
280402013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28041 H.J. Lu <hjl.tools@gmail.com>
28042
28043 [BZ #15627]
28044 * sysdeps/x86_64/rtld-memset.c: Remove file.
28045 * sysdeps/x86_64/rtld-memset.S: New file.
28046
1b2feed2
JM
280472013-06-14 Joseph Myers <joseph@codesourcery.com>
28048
28049 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28050 (test_in_one_mode): Take arguments for whether the rounding mode
28051 is supported for each floating-point type.
28052 (do_test): Pass new arguments to test_in_one_mode using
28053 ROUNDING_TESTS.
28054
a58ad3f8
RM
280552013-06-13 Roland McGrath <roland@hack.frob.com>
28056
28057 * posix/tst-waitid.c (do_test): Distinguish different instances of
28058 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28059 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28060 before entering the kernel for waitpid.
28061
c204ab28
SP
280622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28063
28064 * NEWS: Fix note on clock function precision. Text by Roland
28065 McGrath.
28066
f4a29fba
RM
280672013-06-13 Roland McGrath <roland@hack.frob.com>
28068
28069 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28070 it into place only when and if the sanity check passes.
28071
1f24b9ad
JM
280722013-06-13 Joseph Myers <joseph@codesourcery.com>
28073
28074 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28075 output for whether conversion result is exact. Take argument
28076 indicating whether type is IBM long double.
28077 (round_for_all): Change need_exact field to ibm_ld.
28078 * stdlib/tst-strtod-round.c (struct exactness): New type.
28079 (struct test): Change bool ld_ok field to struct exactness exact.
28080 (TEST): Update all definitions for change to field.
28081 (tests): Regenerate array contents.
28082 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28083 field value. Check for IBM long double here.
28084 (do_test): Update calls to test_in_one_mode.
28085
58206c68
SP
280862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28087
28088 [BZ #12515]
28089 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28090 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28091
2d6f4c5b 280922013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
28093
28094 [BZ #15605]
28095 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28096 generated by the compiler on loop optimizations.
28097 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28098 general definitions.
28099
94f2c076
JM
281002013-06-12 Joseph Myers <joseph@codesourcery.com>
28101
28102 * math/bug-nextafter.c: Include <math-tests.h>.
28103 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28104 the relevant type.
28105 * math/bug-nexttoward.c: Include <math-tests.h>.
28106 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28107 the relevant type.
28108 * math/test-misc.c: Include <math-tests.h>.
28109 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28110 the relevant type.
28111
e0e50a0a
AJ
281122013-06-12 Andreas Jaeger <aj@suse.de>
28113
28114 * po/ia.po: Update Interlingua translation from translation
28115 project.
28116
25061094
SP
281172013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28118
28119 * include/fenv.h: Include stdbool.h.
28120 (struct rm_ctx): New structure.
28121 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28122 Define macro.
28123 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28124 (SET_RESTORE_ROUNDF): Likewise.
28125 (SET_RESTORE_ROUNDL): Likewise.
28126 (SET_RESTORE_ROUND_NOEX): Likewise.
28127 (SET_RESTORE_ROUND_NOEXF): Likewise.
28128 (SET_RESTORE_ROUND_NOEXL): Likewise.
28129 (SET_RESTORE_ROUND_53BIT): Likewise.
28130 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28131 (libc_feresetround_noexf_ctx): Likewise.
28132 (libc_feresetround_noexl_ctx): Likewise.
28133 (libc_feholdsetround_53bit_ctx): Likewise.
28134 (libc_feresetround_53bit_ctx): Likewise.
28135 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28136 (libc_feholdexcept_setround_sse_ctx): New function.
28137 (libc_fesetenv_sse_ctx): Likewise.
28138 (libc_feupdateenv_sse_ctx): Likewise.
28139 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28140 (libc_feholdexcept_setround_387_ctx): Likewise.
28141 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28142 (libc_feholdsetround_387_prec_ctx): Likewise.
28143 (libc_feholdsetround_387_ctx): Likewise.
28144 (libc_feholdsetround_387_53bit_ctx): Likewise.
28145 (libc_feholdsetround_sse_ctx): Likewise.
28146 (libc_feresetround_sse_ctx): Likewise.
28147 (libc_feresetround_387_ctx): Likewise.
28148 (libc_feupdateenv_387_ctx): Likewise.
28149 (libc_feholdexcept_setroundf_ctx): Define macro.
28150 (libc_fesetenvf_ctx): Likewise.
28151 (libc_feupdateenvf_ctx): Likewise.
28152 (libc_feholdsetroundf_ctx): Likewise.
28153 (libc_feresetroundf_ctx): Likewise.
28154 (libc_feholdexcept_setround_ctx): Likewise.
28155 (libc_fesetenv_ctx): Likewise.
28156 (libc_feupdateenv_ctx): Likewise.
28157 (libc_feholdsetround_ctx): Likewise.
28158 (libc_feresetround_ctx): Likewise.
28159 (libc_feholdexcept_setroundl_ctx): Likewise.
28160 (libc_feupdateenvl_ctx): Likewise.
28161 (libc_feholdsetroundl_ctx): Likewise.
28162 (libc_feresetroundl_ctx): Likewise.
28163 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28164 (libc_feresetround_53bit_ctx): Likewise.
28165
59b30555
SP
281662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28167
28168 * locale/iso-639.def: Convert to UTF-8.
28169
f1d73d30
JM
281702013-06-11 Joseph Myers <joseph@codesourcery.com>
28171
28172 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28173 (EXCEPTION_TESTS_double): Likewise.
28174 (EXCEPTION_TESTS_long_double): Likewise.
28175 (EXCEPTION_TESTS): Likewise.
28176 * math/libm-test.inc (test_exceptions): Only test exceptions if
28177 EXCEPTION_TESTS (FLOAT).
28178
94aca5e7
SP
281792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28180
28181 * benchtests/Makefile (string-bench): Add strcpy_chk and
28182 stpcpy_chk.
28183 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28184 * benchtests/bench-stpcpy_chk.c: New file.
28185 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28186 * benchtests/bench-strcpy_chk.c: New file.
28187 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28188 code.
28189 (do_test): Likewise.
28190
fac0c5f2
RA
281912013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28192
28193 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28194 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28195 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28196 with tabs where appropriate.
28197 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28198 dl-procinfo.h.
28199 [PPC_PLATFORM_PPC440]: Likewise.
28200 [PPC_PLATFORM_PPC464]: Likewise.
28201 [PPC_PLATFORM_PPC476]: Likewise.
28202 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28203 ppc464, and ppc476 platform strings merging from ports/
28204 dl-procinfo.h.
28205
f22bc486
AS
282062013-06-11 Andreas Schwab <schwab@suse.de>
28207
28208 [BZ #14991]
28209 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28210 (from_ucs4_idx): Regenerate.
28211 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28212 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28213 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28214 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28215 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28216 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28217 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28218 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28219 from FROM_LOOP and TO_LOOP specific macros.
28220 (BODY): Handle combining characters.
28221 * iconvdata/BIG5HKSCS.irreversible: Update.
28222 * iconvdata/BIG5HKSCS.precomposed: New file.
28223 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28224 characters.
28225 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28226
c1f75dc3
SP
282272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28228
4eacded2
SP
28229 * include/sys/time.h: Fix indentation and add copyright header.
28230
fec799f8
SP
28231 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28232 (do_test): Likewise.
28233 * string/test-memchr.c (do_one_test): Likewise.
28234 (do_test): Likewise.
28235 * string/test-memcmp.c (do_one_test): Likewise.
28236 (do_test): Likewise.
28237 * string/test-memcpy.c (do_one_test): Likewise.
28238 (do_test): Likewise.
28239 * string/test-memmem.c (do_one_test): Likewise.
28240 (do_test): Likewise.
28241 (do_random_tests): Likewise.
28242 * string/test-memmove.c (do_one_test): Likewise.
28243 (do_test): Likewise.
28244 * string/test-memset.c (do_one_test): Likewise.
28245 (do_test): Likewise.
28246 * string/test-rawmemchr.c (do_one_test): Likewise.
28247 (do_test): Likewise.
28248 * string/test-strcasecmp.c (do_one_test): Likewise.
28249 (do_test): Likewise.
28250 * string/test-strcasestr.c (do_one_test): Likewise.
28251 (do_test): Likewise.
28252 * string/test-strcat.c (do_one_test): Likewise.
28253 (do_test): Likewise.
28254 * string/test-strchr.c (do_one_test): Likewise.
28255 (do_test): Likewise.
28256 * string/test-strcmp.c (do_one_test): Likewise.
28257 (do_test): Likewise.
28258 * string/test-strcpy.c (do_one_test): Likewise.
28259 (do_test): Likewise.
28260 * string/test-string.h: Likewise.
28261 (test_init): Likewise.
28262 * string/test-strlen.c (do_one_test): Likewise.
28263 (do_test): Likewise.
28264 * string/test-strncasecmp.c (do_one_test): Likewise.
28265 (do_test): Likewise.
28266 * string/test-strncat.c (do_one_test): Likewise.
28267 (do_test): Likewise.
28268 * string/test-strncmp.c (do_one_test): Likewise.
28269 (do_test_limit): Likewise.
28270 (do_test): Likewise.
28271 * string/test-strncpy.c (do_one_test): Likewise.
28272 (do_test): Likewise.
28273 * string/test-strnlen.c (do_one_test): Likewise.
28274 (do_test): Likewise.
28275 * string/test-strpbrk.c (do_one_test): Likewise.
28276 (do_test): Likewise.
28277 * string/test-strrchr.c (do_one_test): Likewise.
28278 (do_test): Likewise.
28279 * string/test-strspn.c (do_one_test): Likewise.
28280 (do_test): Likewise.
28281 * string/test-strstr.c (do_one_test): Likewise.
28282 (do_test): Likewise.
28283
97020474
SP
28284 * benchtests/Makefile (string-bench): Add string benchmarks.
28285 * benchtests/bench-bcopy-ifunc.c: New file.
28286 * benchtests/bench-bcopy.c: New file.
28287 * benchtests/bench-bzero-ifunc.c: New file.
28288 * benchtests/bench-bzero.c: New file.
28289 * benchtests/bench-memccpy-ifunc.c: New file.
28290 * benchtests/bench-memccpy.c: New file.
28291 * benchtests/bench-memchr-ifunc.c: New file.
28292 * benchtests/bench-memchr.c: New file.
28293 * benchtests/bench-memcmp-ifunc.c: New file.
28294 * benchtests/bench-memcmp.c: New file.
28295 * benchtests/bench-memmem-ifunc.c: New file.
28296 * benchtests/bench-memmem.c: New file.
28297 * benchtests/bench-memmove-ifunc.c: New file.
28298 * benchtests/bench-memmove.c: New file.
28299 * benchtests/bench-mempcpy-ifunc.c: New file.
28300 * benchtests/bench-mempcpy.c: New file.
28301 * benchtests/bench-memset-ifunc.c: New file.
28302 * benchtests/bench-memset.c: New file.
28303 * benchtests/bench-rawmemchr-ifunc.c: New file.
28304 * benchtests/bench-rawmemchr.c: New file.
28305 * benchtests/bench-stpcpy-ifunc.c: New file.
28306 * benchtests/bench-stpcpy.c: New file.
28307 * benchtests/bench-stpncpy-ifunc.c: New file.
28308 * benchtests/bench-stpncpy.c: New file.
28309 * benchtests/bench-strcasecmp-ifunc.c: New file.
28310 * benchtests/bench-strcasecmp.c: New file.
28311 * benchtests/bench-strcasestr-ifunc.c: New file.
28312 * benchtests/bench-strcasestr.c: New file.
28313 * benchtests/bench-strcat-ifunc.c: New file.
28314 * benchtests/bench-strcat.c: New file.
28315 * benchtests/bench-strchr-ifunc.c: New file.
28316 * benchtests/bench-strchr.c: New file.
28317 * benchtests/bench-strchrnul-ifunc.c: New file.
28318 * benchtests/bench-strchrnul.c: New file.
28319 * benchtests/bench-strcmp-ifunc.c: New file.
28320 * benchtests/bench-strcmp.c: New file.
28321 * benchtests/bench-strcpy-ifunc.c: New file.
28322 * benchtests/bench-strcpy.c: New file.
28323 * benchtests/bench-strcspn-ifunc.c: New file.
28324 * benchtests/bench-strcspn.c: New file.
28325 * benchtests/bench-strlen-ifunc.c: New file.
28326 * benchtests/bench-strlen.c: New file.
28327 * benchtests/bench-strncasecmp-ifunc.c: New file.
28328 * benchtests/bench-strncasecmp.c: New file.
28329 * benchtests/bench-strncat-ifunc.c: New file.
28330 * benchtests/bench-strncat.c: New file.
28331 * benchtests/bench-strncmp-ifunc.c: New file.
28332 * benchtests/bench-strncmp.c: New file.
28333 * benchtests/bench-strncpy-ifunc.c: New file.
28334 * benchtests/bench-strncpy.c: New file.
28335 * benchtests/bench-strnlen-ifunc.c: New file.
28336 * benchtests/bench-strnlen.c: New file.
28337 * benchtests/bench-strpbrk-ifunc.c: New file.
28338 * benchtests/bench-strpbrk.c: New file.
28339 * benchtests/bench-strrchr-ifunc.c: New file.
28340 * benchtests/bench-strrchr.c: New file.
28341 * benchtests/bench-strspn-ifunc.c: New file.
28342 * benchtests/bench-strspn.c: New file.
28343 * benchtests/bench-strstr-ifunc.c: New file.
28344 * benchtests/bench-strstr.c: New file.
28345
c1f75dc3
SP
28346 * benchtests/Makefile: Disable parallel execution of targets.
28347 (string-bench): Add memcpy.
28348 (benchset): New variable to store a list of benchmark sets.
28349 (bench-func): Renamed from bench.
28350 (bench-set): New target.
28351 (bench): Depend on bench-func and bench-set.
28352 * benchtests/README: Add section on benchmark sets.
28353 * benchtests/bench-memcpy-ifunc.c: New file.
28354 * benchtests/bench-memcpy.c: New file.
28355 * benchtests/bench-string.h: New file.
28356
50fd745b
AS
283572013-06-11 Andreas Schwab <schwab@suse.de>
28358
28359 [BZ #15577]
28360 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28361 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28362 values in the triple.
28363 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28364 terminator in the group key.
28365
3ee7e9fe
AJ
283662013-06-11 Andreas Jaeger <aj@suse.de>
28367
28368 * po/zh_TW.po: Update Chinese (traditional) translation from
28369 translation project.
28370
89fb6835
SP
283712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28372
28373 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28374 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28375 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28377 (clock_getcpuclockid): Likewise.
28378 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28379 Add weak_alias and libc_hidden_def.
28380 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28381 * rt/clock_gettime.c (clock_gettime): Rename to
28382 __clock_gettime. Add weak_alias and libc_hidden_def.
28383 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28384 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28385 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28386 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28387 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28388 Likewise.
28389 * rt/clock_settime.c (clock_settime): Rename to
28390 __clock_settime. Add weak_alias and libc_hidden_def.
28391 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28392
0efa6f8b
JM
283932013-06-10 Joseph Myers <joseph@codesourcery.com>
28394
b8c61b4b
JM
28395 * mach/err_boot.sub: Remove trailing whitespace.
28396 * mach/err_ipc.sub: Likewise.
28397 * mach/err_mach.sub: Likewise.
28398
0efa6f8b
JM
28399 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28400 (ROUNDING_TESTS_double): Likewise.
28401 (ROUNDING_TESTS_long_double): Likewise.
28402 (ROUNDING_TESTS): Likewise.
28403 * math/libm-test.inc: Include <math-tests.h>.
28404 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28405 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28406 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28407 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28408
50b818bf
SP
284092013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28410
28411 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28412 of assigning.
28413
60d2f8f3
JM
284142013-06-08 Joseph Myers <joseph@codesourcery.com>
28415
4902d2c3
JM
28416 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28417 otherwise empty TRANS lines.
28418 * sysdeps/gnu/errlist.c: Regenerated.
28419
60d2f8f3
JM
28420 * catgets/gencat.c (error_print): Use (void) in function
28421 definition.
28422 * crypt/crypt_util.c (__init_des): Likewise.
28423 * crypt/speeds.c (Stop): Likewise.
28424 (main): Likewise.
28425 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28426 * inet/ruserpass.c (token): Likewise.
28427 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28428 * intl/localealias.c (extend_alias_table): Likewise.
28429 * intl/plural-exp.c (init_germanic_plural): Likewise.
28430 * libio/fcloseall.c (__fcloseall): Likewise.
28431 * libio/genops.c (_IO_flush_all): Likewise.
28432 (_IO_flush_all_linebuffered): Likewise.
28433 (_IO_cleanup): Likewise.
28434 (_IO_iter_begin): Likewise.
28435 (_IO_iter_end): Likewise.
28436 (_IO_list_lock): Likewise.
28437 (_IO_list_unlock): Likewise.
28438 (_IO_list_resetlock): Likewise.
28439 * libio/getchar.c (getchar): Likewise.
28440 * libio/getchar_u.c (getchar_unlocked): Likewise.
28441 * libio/getwchar.c (getwchar): Likewise.
28442 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28443 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28444 * login/getpt.c (__getpt): Likewise.
28445 * login/tst-utmp.c (main): Likewise.
28446 * malloc/hooks.c (__malloc_check_init): Likewise.
28447 * malloc/malloc.c (__malloc_stats): Likewise.
28448 * malloc/mtrace.c (tr_break): Likewise.
28449 (mtrace): Likewise.
28450 (muntrace): Likewise.
28451 * misc/fstab.c (endfsent): Likewise.
28452 * misc/getclktck.c (__getclktck): Likewise.
28453 * misc/getdtsz.c (__getdtablesize): Likewise.
28454 * misc/gethostid.c (gethostid): Likewise.
28455 * misc/getpagesize.c (__getpagesize): Likewise.
28456 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28457 (__get_nprocs): Likewise.
28458 (__get_phys_pages): Likewise.
28459 (__get_avphys_pages): Likewise.
28460 * misc/getttyent.c (getttyent): Likewise.
28461 (setttyent): Likewise.
28462 (endttyent): Likewise.
28463 * misc/getusershell.c (getusershell): Likewise.
28464 (endusershell): Likewise.
28465 (setusershell): Likewise.
28466 (initshells): Likewise.
28467 * misc/hsearch.c (__hdestroy): Likewise.
28468 * misc/sync.c (sync): Likewise.
28469 * misc/syslog.c (closelog_internal): Likewise.
28470 (closelog): Likewise.
28471 * misc/ttyslot.c (ttyslot): Likewise.
28472 * misc/vhangup.c (vhangup): Likewise.
28473 * posix/fork.c (__fork): Likewise.
28474 * posix/getegid.c (__getegid): Likewise.
28475 * posix/geteuid.c (__geteuid): Likewise.
28476 * posix/getgid.c (__getgid): Likewise.
28477 * posix/getpid.c (__getpid): Likewise.
28478 * posix/getppid.c (__getppid): Likewise.
28479 * posix/getuid.c (__getuid): Likewise.
28480 * posix/pause.c (pause): Likewise.
28481 * posix/setpgrp.c (setpgrp): Likewise.
28482 * posix/setsid.c (__setsid): Likewise.
28483 * posix/test-vfork.c (noop): Likewise.
28484 * resolv/gethnamaddr.c (_endhtent): Likewise.
28485 (_gethtent): Likewise.
28486 (ht_endhostent): Likewise.
28487 (gethostent): Likewise.
28488 (dns_service): Likewise.
28489 * stdlib/drand48.c (drand48): Likewise.
28490 * stdlib/lrand48.c (lrand48): Likewise.
28491 * stdlib/mrand48.c (mrand48): Likewise.
28492 * stdlib/rand.c (rand): Likewise.
28493 * stdlib/random.c (__random): Likewise.
28494 * stdlib/setenv.c (clearenv): Likewise.
28495 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28496 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28497 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28498 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28499 (__get_nprocs): Likewise.
28500 (__get_phys_pages): Likewise.
28501 (__get_avphys_pages): Likewise.
28502 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28503 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28504 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28505 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28506 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28507 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28508 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28509 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28510 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28511 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28512 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28513 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28514 * sysdeps/posix/clock.c (clock): Likewise.
28515 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28516 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28517 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28518 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28519 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28521 (__get_nprocs_conf): Likewise.
28522 (__get_phys_pages): Likewise.
28523 (__get_avphys_pages): Likewise.
28524 * time/clock.c (clock): Likewise.
28525 * time/tzset.c (__tzname_max): Likewise.
28526
2e09a79a
JM
285272013-06-07 Joseph Myers <joseph@codesourcery.com>
28528
28529 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28530 (__bswap_32): Do not use "register".
28531 * crypt/crypt.c (_ufc_doit_r): Likewise.
28532 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28533 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28534 * gmon/gmon.c (__monstartup): Likewise.
28535 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28536 * hurd/hurdmalloc.c (more_memory): Likewise.
28537 (malloc): Likewise.
28538 (free): Likewise.
28539 (realloc): Likewise.
28540 (malloc_fork_prepare): Likewise.
28541 (malloc_fork_parent): Likewise.
28542 (malloc_fork_child): Likewise.
28543 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28544 (_svcauth_des): Likewise.
28545 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28546 * inet/inet_net.c (inet_network): Likewise.
28547 * inet/inet_netof.c (inet_netof): Likewise.
28548 * inet/rcmd.c (__validuser2_sa): Likewise.
28549 * io/fts.c (fts_open): Likewise.
28550 (fts_load): Likewise.
28551 (fts_close): Likewise.
28552 (fts_read): Likewise.
28553 (fts_children): Likewise.
28554 (fts_build): Likewise.
28555 (fts_stat): Likewise.
28556 (fts_sort): Likewise.
28557 (fts_alloc): Likewise.
28558 (fts_lfree): Likewise.
28559 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28560 (_IO_file_xsgetn): Likewise.
28561 (_IO_file_xsgetn_mmap): Likewise.
28562 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28563 (_IO_cookie_write): Likewise.
28564 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28565 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28566 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28567 * malloc/obstack.c (_obstack_begin): Likewise.
28568 (_obstack_begin_1): Likewise.
28569 (_obstack_newchunk): Likewise.
28570 (_obstack_allocated_p): Likewise.
28571 (obstack_free): Likewise.
28572 (_obstack_memory_used): Likewise.
28573 * misc/getttyent.c (getttynam): Likewise.
28574 (getttyent): Likewise.
28575 (skip): Likewise.
28576 (value): Likewise.
28577 * misc/getusershell.c (initshells): Likewise.
28578 * misc/syslog.c (__vsyslog_chk): Likewise.
28579 * misc/ttyslot.c (ttyslot): Likewise.
28580 * nis/nis_hash.c (__nis_hash): Likewise.
28581 * posix/fnmatch_loop.c (FCT): Likewise.
28582 * posix/getconf.c (print_all): Likewise.
28583 (main): Likewise.
28584 * posix/getopt.c (exchange): Likewise.
28585 * posix/glob.c (globfree): Likewise.
28586 (prefix_array): Likewise.
28587 (__glob_pattern_type): Likewise.
28588 * resolv/arpa/nameser.h (NS_GET16): Likewise.
28589 (NS_GET32): Likewise.
28590 (NS_PUT16): Likewise.
28591 (NS_PUT32): Likewise.
28592 * resolv/gethnamaddr.c (getanswer): Likewise.
28593 (gethostbyname2): Likewise.
28594 (gethostbyaddr): Likewise.
28595 (_gethtent): Likewise.
28596 (_gethtbyname2): Likewise.
28597 (_gethtbyaddr): Likewise.
28598 * resolv/ns_print.c (dst_s_get_int16): Likewise.
28599 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28600 * resolv/res_init.c (__res_vinit): Likewise.
28601 (net_mask): Likewise.
28602 * resolv/res_mkquery.c (outchar): Likewise.
28603 (PRINT): Likewise.
28604 * stdio-common/printf_fp.c (outchar): Likewise.
28605 (PRINT): Likewise.
28606 * stdio-common/printf_fphex.c (outchar): Likewise.
28607 (PRINT): Likewise.
28608 * stdio-common/printf_size.c (outchar): Likewise.
28609 (PRINT): Likewise.
28610 * stdio-common/test_rdwr.c (main): Likewise.
28611 * stdio-common/tfformat.c (matches): Likewise.
28612 * stdio-common/vfprintf.c (outchar): Likewise.
28613 (printf_unknown): Likewise.
28614 (buffered_vfprintf): Likewise.
28615 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28616 * stdio-common/xbug.c (AppendToBuffer): Likewise.
28617 (ReadFile): Likewise.
28618 * stdlib/qsort.c (SWAP): Likewise.
28619 (_quicksort): Likewise.
28620 * stdlib/setenv.c (__add_to_environ): Likewise.
28621 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28622 * stdlib/strtol_l.c (__strtol_l): Likewise.
28623 * stdlib/tst-strtod.c (main): Likewise.
28624 * stdlib/tst-strtol.c (main): Likewise.
28625 * stdlib/tst-strtoll.c (main): Likewise.
28626 * string/bits/string2.h (__strcmp_cc): Likewise.
28627 (__strcmp_cg): Likewise.
28628 (__strcspn_c1): Likewise.
28629 (__strcspn_c2): Likewise.
28630 (__strcspn_c3): Likewise.
28631 (__strspn_c1): Likewise.
28632 (__strspn_c2): Likewise.
28633 (__strspn_c3): Likewise.
28634 (__strsep_1c): Likewise.
28635 (__strsep_2c): Likewise.
28636 (__strsep_3c): Likewise.
28637 * string/memccpy.c (__memccpy): Likewise.
28638 * string/stpcpy.c (__stpcpy): Likewise.
28639 * string/strcmp.c (strcmp): Likewise.
28640 * string/strrchr.c (strrchr): Likewise.
28641 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28642 Likewise.
28643 * sysdeps/mach/hurd/getcwd.c
28644 (_hurd_canonicalize_directory_name_internal): Likewise.
28645 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28646 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28647 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28648 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28649 Likewise, in both definitions.
28650 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28651 definitions.
28652 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28653 64] (__bswap_64): Likewise.
28654 * time/test_time.c (main): Likewise.
28655 * time/tzfile.c (__tzfile_read): Likewise.
28656 (__tzfile_compute): Likewise.
28657 * time/tzset.c (__tzset_parse_tz): Likewise.
28658 (tzset_internal): Likewise.
28659 (compute_change): Likewise.
28660 * wcsmbs/wcscat.c (__wcscat): Likewise.
28661 * wcsmbs/wcschr.c (wcschr): Likewise.
28662 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28663 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28664 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28665 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28666 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28667 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28668 * wcsmbs/wmemchr.c (wmemchr): Likewise.
28669 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28670 * wcsmbs/wmemset.c (wmemset): Likewise.
28671
9e54314b
JM
286722013-06-06 Joseph Myers <joseph@codesourcery.com>
28673
28674 * scripts/config.guess: Update to version 2013-05-16.
28675 * scripts/config.sub: Update to version 2013-04-24.
28676 * scripts/install-sh: Update to version 2011-11-20.07.
28677 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28678 * scripts/move-if-change: Update to version 2012-01-06 07:23.
28679
350635a5
OB
286802013-06-06 Ondřej Bílka <neleai@seznam.cz>
28681
28682 * debug/fgetws_u_chk.c: Fix leading whitespaces.
28683 * elf/sln.c: Likewise.
28684 * hurd/hurd/ioctl.h: Likewise.
28685 * hurd/hurdmalloc.c: Likewise.
28686 * hurd/xattr.c: Likewise.
28687 * include/shlib-compat.h: Likewise.
28688 * inet/ruserpass.c: Likewise.
28689 * libio/iofgets_u.c: Likewise.
28690 * libio/iofgetws_u.c: Likewise.
28691 * locale/programs/ld-identification.c: Likewise.
28692 * locale/programs/ld-time.c: Likewise.
28693 * mach/msg-destroy.c: Likewise.
28694 * nss/nss_files/files-netgrp.c: Likewise.
28695 * resolv/res_data.c: Likewise.
28696 * soft-fp/op-1.h: Likewise.
28697 * soft-fp/op-2.h: Likewise.
28698 * soft-fp/op-4.h: Likewise.
28699 * soft-fp/op-common.h: Likewise.
28700 * stdio-common/printf_fphex.c: Likewise.
28701 * stdlib/strtod_l.c: Likewise.
28702 * sunrpc/rpc/clnt.h: Likewise.
28703 * sysdeps/generic/framestate.c: Likewise.
28704 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28705 * sysdeps/i386/bsd-setjmp.S: Likewise.
28706 * sysdeps/i386/__longjmp.S: Likewise.
28707 * sysdeps/i386/setjmp.S: Likewise.
28708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28709 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28710 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28726 * sysdeps/ieee754/support.c: Likewise.
28727 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28728 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28729 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28730 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28731 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28732 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28733 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28734 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28735 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28736 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28737 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28738 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28739 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28740 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28741 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28742 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28743 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28745
44a988af
OB
287462013-06-05 Ondřej Bílka <neleai@seznam.cz>
28747
25506f09 28748 * posix/transbug.c: Remove executable mode.
44a988af 28749
9c84384c
JM
287502013-06-05 Joseph Myers <joseph@codesourcery.com>
28751
28752 * crypt/speeds.c: Remove trailing whitespace.
28753 * dlfcn/default.c: Likewise.
28754 * elf/ifuncdep2.c: Likewise.
28755 * elf/ifuncmain1.c: Likewise.
28756 * elf/ifuncmain1vis.c: Likewise.
28757 * elf/testobj.h: Likewise.
28758 * elf/tst-stackguard1.c: Likewise.
28759 * gmon/sys/gmon.h: Likewise.
28760 * hurd/hurdmsg.c: Likewise.
28761 * hurd/new-fd.c: Likewise.
28762 * hurd/ports-get.c: Likewise.
28763 * iconvdata/ibm1008_420.c: Likewise.
28764 * inet/tst-getni1.c: Likewise.
28765 * inet/tst-getni2.c: Likewise.
28766 * libio/ioungetc.c: Likewise.
28767 * libio/wfiledoalloc.c: Likewise.
28768 * manual/libm-err-tab.pl: Likewise.
28769 * math/w_dremf.c: Likewise.
28770 * misc/ftruncate.c: Likewise.
28771 * posix/bug-glob2.c: Likewise.
28772 * posix/tst-pcre.c: Likewise.
28773 * posix/wait4.c: Likewise.
28774 * resolv/README: Likewise.
28775 * resolv/res_debug.h: Likewise.
28776 * resolv/tst-inet_ntop.c: Likewise.
28777 * setjmp/bug269-setjmp.c: Likewise.
28778 * soft-fp/extended.h: Likewise.
28779 * soft-fp/op-1.h: Likewise.
28780 * soft-fp/op-2.h: Likewise.
28781 * soft-fp/op-4.h: Likewise.
28782 * soft-fp/op-8.h: Likewise.
28783 * soft-fp/testit.c: Likewise.
28784 * stdio-common/bug16.c: Likewise.
28785 * stdlib/random.c: Likewise.
28786 * sunrpc/rpcsvc/rquota.x: Likewise.
28787 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28788 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28789 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28790 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28791 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28792 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28793 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28794 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28795 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28796 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28797 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28816 * sysdeps/ieee754/s_lib_version.c: Likewise.
28817 * sysdeps/mach/hurd/check_fds.c: Likewise.
28818 * sysdeps/mach/hurd/getsockname.c: Likewise.
28819 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28820 * sysdeps/mach/hurd/recvfrom.c: Likewise.
28821 * sysdeps/powerpc/bits/link.h: Likewise.
28822 * sysdeps/powerpc/dl-procinfo.c: Likewise.
28823 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28824 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28825 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28826 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28827 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28828 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28829 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28830 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28831 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28832 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28833 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28834 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28835 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28836 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28837 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28838 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28839 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28840 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28841 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28842 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28843 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28844 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28845 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28846 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28847 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28849 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28850 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28851 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28852 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28853 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28854 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28855 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28856 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28857 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28858 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28859 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28860 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28861 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28862 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28863 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28864 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28865 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28866 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28867 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28868 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28869 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28870 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28871 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28873 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28874 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28875 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28877 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28878 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28879 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28880 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28881 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28882 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28883 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28884 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28885 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28886 * sysdeps/powerpc/sysdep.h: Likewise.
28887 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28888 * sysdeps/s390/s390-64/sub_n.S: Likewise.
28889 * sysdeps/sh/dl-trampoline.S: Likewise.
28890 * sysdeps/sh/memset.S: Likewise.
28891 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28892 * sysdeps/sh/strlen.S: Likewise.
28893 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28894 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28895 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28896 * sysdeps/sparc/sparc32/rem.S: Likewise.
28897 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28898 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28899 * sysdeps/sparc/sparc32/strchr.S: Likewise.
28900 * sysdeps/sparc/sparc32/udiv.S: Likewise.
28901 * sysdeps/sparc/sparc32/urem.S: Likewise.
28902 * sysdeps/sparc/sparc64/add_n.S: Likewise.
28903 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28904 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28905 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28906 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28907 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28908 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28909 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28910 * sysdeps/unix/bsd/times.c: Likewise.
28911 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28912 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28916 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28917 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28918 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28919 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28920 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28921 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28922 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28923 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28924 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28925 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28926 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28927 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28928 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28929 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28930 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28931 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28932 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28933 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28934 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28935 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28936 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28937 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28938 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28939 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28940 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28941 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28942 * sysdeps/x86_64/strcspn.S: Likewise.
28943
869378a5
RA
289442013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28945
28946 * locale/C-translit.h: Revert #include <stdint.h> because this is a
28947 generated file. Regenerate properly from gen-translit.pl.
28948 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
28949 locale/C-translit.h.
28950
840e2943
AS
289512013-06-05 Andreas Schwab <schwab@suse.de>
28952
28953 [BZ #15100]
28954 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28955 week as 6 instead of -1.
28956 * time/tst-strptime.c (day_tests): Add test case.
28957
4c60cb0c
SP
289582013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28959
28960 * sysdeps/generic/math_private.h
28961 (libc_feholdexcept_setround_53bit): Replace with
28962 libc_feholdsetround_53bit.
28963 (libc_feupdateenv_53bit): Replace with
28964 libc_feresetround_53bit.
28965 (SET_RESTORE_ROUND_53BIT): Adjust.
28966
d180203e
SP
289672013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28968
96df079a
SP
28969 * string/test-strchrnul.c: Add copyright header.
28970
d180203e
SP
28971 * posix/tst-getaddrinfo4.c: Increase test timeout.
28972
8b0ccb2d
CD
289732013-06-03 Carlos O'Donell <carlos@redhat.com>
28974
28975 [BZ #15536]
28976 * math/libm-test.inc (MAX_EXP): Remove
28977 (MIN_EXP): Define.
28978 (ulp): Use MIN_EXP - MANT_DIG.
28979 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28980
3b3c4d40
CD
289812013-05-31 Carlos O'Donell <carlos@redhat.com>
28982
28983 * po/be.po: Revert last change.
28984 * po/zh_CN.po: Likewise.
28985 * po/header.pot: Likewise.
28986
fab7ce3f
JM
289872013-05-31 Joseph Myers <joseph@codesourcery.com>
28988
28989 * Makefile ($(common-objpfx)linkobj/libc.so): Define
28990 link-libc-deps to empty as target-specific variable.
28991 * Makerules (link-libc-args): New variable.
28992 (libc-for-link): Likewise.
28993 (link-libc-deps): Likewise.
28994 (lib%.so): Depend on $(link-libc-deps). Link with
28995 $(link-libc-args).
28996 (build-module): Link with $(link-libc-args).
28997 (build-module-asneeded): Likewise.
28998 (build-module-helper-objlist): Filter out $(link-libc-deps) from
28999 list of objects.
29000 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29001 target-specific variable.
29002 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29003 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29004 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29005 libc.
29006 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29007 libc and ld.so.
29008 ($(objpfx)libpcprofile.so): Likewise.
29009 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29010 libc_nonshared.a.
29011 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29012 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29013 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29014 $(link-libc-deps).
29015 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29016 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29017 * login/Makefile ($(objpfx)libutil.so): Likewise.
29018 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29019 * math/Makefile ($(objpfx)libm.so): Likewise.
29020 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29021 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29022 variable instead of depending directly on libc.
29023 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29024 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29025 $(link-libc-deps).
29026 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29027 libc.
29028 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29029 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29030 ($(objpfx)libanl.so): Likewise.
29031 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29032 ld.so.
29033 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29034 $(link-libc-deps).
29035 * sysdeps/i386/fpu/Makefile: Remove file.
29036 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29037 ($(objpfx)libm.so): Remove dependency on ld.so.
29038
eca5920c
PF
290392013-05-30 Patsy Franklin <pfrankli@redhat.com>
29040
29041 [BZ # 15553]
29042 * nis/yp_xdr.c (XDRMAXNAME): Define.
29043 (XDRMAXRECORD): Define.
29044 (xdr_domainname): Use XDRMAXNAME.
29045 (xdr_mapname): Likewise.
29046 (xdr_peername): Likewise.
29047 (xdr_keydat): Use XDRMAXRECORD.
29048 (xdr_valdat): Likewise.
29049
290502013-05-30 Jeff Law <law@redhat.com>
96945714
JL
29051
29052 [BZ #14256]
29053 * manual/errno.texi (ESTALE): Update to account for more than
29054 just NFS file systems.
29055 * sysdeps/gnu/errlist.c: Regenerated.
29056
b9375348
SP
290572013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29058
29059 [BZ #15465]
29060 * elf/Makefile (tests): Add tst-null-argv.
29061 (modules-names): Add tst-null-argv-lib.
29062 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29063 (tst-null-argv-ENV): Set environment for tst-null-argv.
29064 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29065 (RTLD_PROGNAME): New macro.
29066 * elf/tst-null-argv.c: New test case.
29067 * elf/tst-null-argv-lib.c: Library for test case.
29068 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29069 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29070 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29071 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29072 * elf/dl-init.c (call_init): Likewise.
29073 (_dl_init): Likewise.
29074 * elf/dl-load.c (print_search_path): Likewise.
29075 (_dl_map_object): Likewise.
29076 * elf/dl-lookup.c (do_lookup_x): Likewise.
29077 (add_dependency): Likewise.
29078 (_dl_lookup_symbol_x): Likewise.
29079 (_dl_debug_bindings): Likewise.
29080 * elf/dl-open.c (_dl_show_scope): Likewise.
29081 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29082 * elf/dl-version.c (match_symbol): Likewise.
29083 (_dl_check_map_versions): Likewise.
29084 * elf/rtld.c (dl_main): Likewise.
29085 (print_unresolved): Use RTLD_PROGNAME.
29086 (print_missing_version): Likewise.
29087 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29088 (elf_machine_rela): Likewise.
29089 * sysdeps/powerpc/powerpc32/dl-machine.c
29090 (__process_machine_rela): Likewise.
29091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29092 Likewise.
29093 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29094 Likewise.
29095 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29096 Likewise.
29097 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29099 Likewise.
29100 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29101 Likewise.
29102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29103
8a9f20c8
CD
291042013-05-28 Carlos O'Donell <carlos@redhat.com>
29105
29106 * po/be.po: Add descriptive title.
29107 * po/zh_CN.po: Likewise.
29108 * po/header.pot: Likewise.
29109
0e60d68e
MF
291102013-05-28 Mike Frysinger <vapier@gentoo.org>
29111
29112 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29113 error message.
29114 (enlarge_archive): Likewise.
29115
56b672e9
BN
291162013-05-28 Ben North <ben@redfrontdoor.org>
29117
29118 * manual/arith.texi (frexp): It is the magnitude of the return
29119 value which lies in [0.5, 1), not the return value itself.
29120
5e056687
AZ
291212013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29122
29123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29124
2b66ef5d
TS
291252013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29126
528c2405
TS
29127 * stdio-common/bug26.c (main): Correct fscanf template.
29128
07b4c13d
TS
29129 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29130 declare _dl_skip_args.
29131
ec9dd97c
TS
29132 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29133 Don't declare.
29134
2b66ef5d
TS
29135 * manual/platform.texi: Add missing @end deftypefun.
29136
4f8dfe27
JM
291372013-05-24 Joseph Myers <joseph@codesourcery.com>
29138
0323d086
JM
29139 [BZ #15529]
29140 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29141 bit of mantissa of 2^16382.
29142 * math/libm-test.inc (hypot_test_data): Add more tests.
29143
dd4259b9
JM
29144 * math/libm-test.inc: Add drem and pow10 to list of tested
29145 functions.
29146 (pow10_test): New function.
29147 (drem_test): Likewise.
29148 (drem_test_tonearest): Likewise.
29149 (drem_test_towardzero): Likewise.
29150 (drem_test_downward): Likewise.
29151 (drem_test_upward): Likewise.
29152 (main): Call the new functions.
29153
4f8dfe27
JM
29154 * math/libm-test.inc (finite_test_data): Remove.
29155 (finite_test): Run tests from isfinite_test_data.
29156 (gamma_test_data): Remove.
29157 (gamma_test): Run tests from lgamma_test_data.
29158 * sysdeps/i386/fpu/libm-test-ulps: Update.
29159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29160
d116b7c4
AZ
291612013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29162
29163 * manual/platform.texi: Add PowerPC PPR function set documentation.
29164 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29165 implementation.
29166
e96e3767
CD
291672013-05-24 Carlos O'Donell <carlos@redhat.com>
29168
29169 * math/libm-test.inc (MAX_EXP): Define.
29170 (ULPDIFF): Define.
29171 (ulp): New function.
29172 (check_float_internal): Use ULPDIFF.
29173 (cpow_test): Disable failing test.
29174 (check_ulp): Test ulp() implemetnation.
29175 (main): Call check_ulp before starting tests.
29176
b679a606
JM
291772013-05-24 Joseph Myers <joseph@codesourcery.com>
29178
e8bdba36
JM
29179 * math/gen-libm-test.pl (generate_testfile): Do not handle
29180 START_DATA and END_DATA.
29181 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29182 END_DATA.
29183 (acos_tonearest_test_data): Likewise.
29184 (acos_towardzero_test_data): Likewise.
29185 (acos_downward_test_data): Likewise.
29186 (acos_upward_test_data): Likewise.
29187 (acosh_test_data): Likewise.
29188 (asin_test_data): Likewise.
29189 (asin_tonearest_test_data): Likewise.
29190 (asin_towardzero_test_data): Likewise.
29191 (asin_downward_test_data): Likewise.
29192 (asin_upward_test_data): Likewise.
29193 (asinh_test_data): Likewise.
29194 (atan_test_data): Likewise.
29195 (atanh_test_data): Likewise.
29196 (atan2_test_data): Likewise.
29197 (cabs_test_data): Likewise.
29198 (cacos_test_data): Likewise.
29199 (cacosh_test_data): Likewise.
29200 (carg_test_data): Likewise.
29201 (casin_test_data): Likewise.
29202 (casinh_test_data): Likewise.
29203 (catan_test_data): Likewise.
29204 (catanh_test_data): Likewise.
29205 (cbrt_test_data): Likewise.
29206 (ccos_test_data): Likewise.
29207 (ccosh_test_data): Likewise.
29208 (ceil_test_data): Likewise.
29209 (cexp_test_data): Likewise.
29210 (cimag_test_data): Likewise.
29211 (clog_test_data): Likewise.
29212 (clog10_test_data): Likewise.
29213 (conj_test_data): Likewise.
29214 (copysign_test_data): Likewise.
29215 (cos_test_data): Likewise.
29216 (cos_tonearest_test_data): Likewise.
29217 (cos_towardzero_test_data): Likewise.
29218 (cos_downward_test_data): Likewise.
29219 (cos_upward_test_data): Likewise.
29220 (cosh_test_data): Likewise.
29221 (cosh_tonearest_test_data): Likewise.
29222 (cosh_towardzero_test_data): Likewise.
29223 (cosh_downward_test_data): Likewise.
29224 (cosh_upward_test_data): Likewise.
29225 (cpow_test_data): Likewise.
29226 (cproj_test_data): Likewise.
29227 (creal_test_data): Likewise.
29228 (csin_test_data): Likewise.
29229 (csinh_test_data): Likewise.
29230 (csqrt_test_data): Likewise.
29231 (ctan_test_data): Likewise.
29232 (ctan_tonearest_test_data): Likewise.
29233 (ctan_towardzero_test_data): Likewise.
29234 (ctan_downward_test_data): Likewise.
29235 (ctan_upward_test_data): Likewise.
29236 (ctanh_test_data): Likewise.
29237 (ctanh_tonearest_test_data): Likewise.
29238 (ctanh_towardzero_test_data): Likewise.
29239 (ctanh_downward_test_data): Likewise.
29240 (ctanh_upward_test_data): Likewise.
29241 (erf_test_data): Likewise.
29242 (erfc_test_data): Likewise.
29243 (exp_test_data): Likewise.
29244 (exp_tonearest_test_data): Likewise.
29245 (exp_towardzero_test_data): Likewise.
29246 (exp_downward_test_data): Likewise.
29247 (exp_upward_test_data): Likewise.
29248 (exp10_test_data): Likewise.
29249 (exp2_test_data): Likewise.
29250 (expm1_test_data): Likewise.
29251 (fabs_test_data): Likewise.
29252 (fdim_test_data): Likewise.
29253 (finite_test_data): Likewise.
29254 (floor_test_data): Likewise.
29255 (fma_test_data): Likewise.
29256 (fma_towardzero_test_data): Likewise.
29257 (fma_downward_test_data): Likewise.
29258 (fma_upward_test_data): Likewise.
29259 (fmax_test_data): Likewise.
29260 (fmin_test_data): Likewise.
29261 (fmod_test_data): Likewise.
29262 (fpclassify_test_data): Likewise.
29263 (frexp_test_data): Likewise.
29264 (gamma_test_data): Likewise.
29265 (hypot_test_data): Likewise.
29266 (ilogb_test_data): Likewise.
29267 (isfinite_test_data): Likewise.
29268 (isgreater_test_data): Likewise.
29269 (isgreaterequal_test_data): Likewise.
29270 (isinf_test_data): Likewise.
29271 (isless_test_data): Likewise.
29272 (islessequal_test_data): Likewise.
29273 (islessgreater_test_data): Likewise.
29274 (isnan_test_data): Likewise.
29275 (isnormal_test_data): Likewise.
29276 (issignaling_test_data): Likewise.
29277 (isunordered_test_data): Likewise.
29278 (j0_test_data): Likewise.
29279 (j1_test_data): Likewise.
29280 (jn_test_data): Likewise.
29281 (ldexp_test_data): Likewise.
29282 (lgamma_test_data): Likewise.
29283 (lrint_test_data): Likewise.
29284 (lrint_tonearest_test_data): Likewise.
29285 (lrint_towardzero_test_data): Likewise.
29286 (lrint_downward_test_data): Likewise.
29287 (lrint_upward_test_data): Likewise.
29288 (llrint_test_data): Likewise.
29289 (llrint_tonearest_test_data): Likewise.
29290 (llrint_towardzero_test_data): Likewise.
29291 (llrint_downward_test_data): Likewise.
29292 (llrint_upward_test_data): Likewise.
29293 (log_test_data): Likewise.
29294 (log10_test_data): Likewise.
29295 (log1p_test_data): Likewise.
29296 (log2_test_data): Likewise.
29297 (logb_test_data): Likewise.
29298 (logb_downward_test_data): Likewise.
29299 (lround_test_data): Likewise.
29300 (llround_test_data): Likewise.
29301 (modf_test_data): Likewise.
29302 (nearbyint_test_data): Likewise.
29303 (nextafter_test_data): Likewise.
29304 (nexttoward_test_data): Likewise.
29305 (pow_test_data): Likewise.
29306 (pow_tonearest_test_data): Likewise.
29307 (pow_towardzero_test_data): Likewise.
29308 (pow_downward_test_data): Likewise.
29309 (pow_upward_test_data): Likewise.
29310 (remainder_test_data): Likewise.
29311 (remainder_tonearest_test_data): Likewise.
29312 (remainder_towardzero_test_data): Likewise.
29313 (remainder_downward_test_data): Likewise.
29314 (remainder_upward_test_data): Likewise.
29315 (remquo_test_data): Likewise.
29316 (rint_test_data): Likewise.
29317 (rint_tonearest_test_data): Likewise.
29318 (rint_towardzero_test_data): Likewise.
29319 (rint_downward_test_data): Likewise.
29320 (rint_upward_test_data): Likewise.
29321 (round_test_data): Likewise.
29322 (scalb_test_data): Likewise.
29323 (scalbn_test_data): Likewise.
29324 (scalbln_test_data): Likewise.
29325 (signbit_test_data): Likewise.
29326 (sin_test_data): Likewise.
29327 (sin_tonearest_test_data): Likewise.
29328 (sin_towardzero_test_data): Likewise.
29329 (sin_downward_test_data): Likewise.
29330 (sin_upward_test_data): Likewise.
29331 (sincos_test_data): Likewise.
29332 (sinh_test_data): Likewise.
29333 (sinh_tonearest_test_data): Likewise.
29334 (sinh_towardzero_test_data): Likewise.
29335 (sinh_downward_test_data): Likewise.
29336 (sinh_upward_test_data): Likewise.
29337 (sqrt_test_data): Likewise.
29338 (tan_test_data): Likewise.
29339 (tan_tonearest_test_data): Likewise.
29340 (tan_towardzero_test_data): Likewise.
29341 (tan_downward_test_data): Likewise.
29342 (tan_upward_test_data): Likewise.
29343 (tanh_test_data): Likewise.
29344 (tgamma_test_data): Likewise.
29345 (trunc_test_data): Likewise.
29346 (y0_test_data): Likewise.
29347 (y1_test_data): Likewise.
29348 (yn_test_data): Likewise.
29349 (significand_test_data): Likewise.
29350
b679a606
JM
29351 * math/gen-libm-test.pl (@functions): Remove variable.
29352 (generate_testfile): Don't handle START and END lines.
29353 * math/libm-test.inc (START): New macro.
29354 (END): Likewise.
29355 (END_COMPLEX): Likewise.
29356 (acos_test): Use END macro without arguments.
29357 (acos_test_tonearest): Likewise.
29358 (acos_test_towardzero): Likewise.
29359 (acos_test_downward): Likewise.
29360 (acos_test_upward): Likewise.
29361 (acosh_test): Likewise.
29362 (asin_test): Likewise.
29363 (asin_test_tonearest): Likewise.
29364 (asin_test_towardzero): Likewise.
29365 (asin_test_downward): Likewise.
29366 (asin_test_upward): Likewise.
29367 (asinh_test): Likewise.
29368 (atan_test): Likewise.
29369 (atanh_test): Likewise.
29370 (atan2_test): Likewise.
29371 (cabs_test): Likewise.
29372 (cacos_test): Use END_COMPLEX macro without arguments.
29373 (cacosh_test): Likewise.
29374 (carg_test): Use END macro without arguments.
29375 (casin_test): Use END_COMPLEX macro without arguments.
29376 (casinh_test): Likewise.
29377 (catan_test): Likewise.
29378 (catanh_test): Likewise.
29379 (cbrt_test): Use END macro without arguments.
29380 (ccos_test): Use END_COMPLEX macro without arguments.
29381 (ccosh_test): Likewise.
29382 (ceil_test): Use END macro without arguments.
29383 (cexp_test): Use END_COMPLEX macro without arguments.
29384 (cimag_test): Use END macro without arguments.
29385 (clog_test): Use END_COMPLEX macro without arguments.
29386 (clog10_test): Likewise.
29387 (conj_test): Likewise.
29388 (copysign_test): Use END macro without arguments.
29389 (cos_test): Likewise.
29390 (cos_test_tonearest): Likewise.
29391 (cos_test_towardzero): Likewise.
29392 (cos_test_downward): Likewise.
29393 (cos_test_upward): Likewise.
29394 (cosh_test): Likewise.
29395 (cosh_test_tonearest): Likewise.
29396 (cosh_test_towardzero): Likewise.
29397 (cosh_test_downward): Likewise.
29398 (cosh_test_upward): Likewise.
29399 (cpow_test): Use END_COMPLEX macro without arguments.
29400 (cproj_test): Likewise.
29401 (creal_test): Use END macro without arguments.
29402 (csin_test): Use END_COMPLEX macro without arguments.
29403 (csinh_test): Likewise.
29404 (csqrt_test): Likewise.
29405 (ctan_test): Likewise.
29406 (ctan_test_tonearest): Likewise.
29407 (ctan_test_towardzero): Likewise.
29408 (ctan_test_downward): Likewise.
29409 (ctan_test_upward): Likewise.
29410 (ctanh_test): Likewise.
29411 (ctanh_test_tonearest): Likewise.
29412 (ctanh_test_towardzero): Likewise.
29413 (ctanh_test_downward): Likewise.
29414 (ctanh_test_upward): Likewise.
29415 (erf_test): Use END macro without arguments.
29416 (erfc_test): Likewise.
29417 (exp_test): Likewise.
29418 (exp_test_tonearest): Likewise.
29419 (exp_test_towardzero): Likewise.
29420 (exp_test_downward): Likewise.
29421 (exp_test_upward): Likewise.
29422 (exp10_test): Likewise.
29423 (exp2_test): Likewise.
29424 (expm1_test): Likewise.
29425 (fabs_test): Likewise.
29426 (fdim_test): Likewise.
29427 (finite_test): Likewise.
29428 (floor_test): Likewise.
29429 (fma_test): Likewise.
29430 (fma_test_towardzero): Likewise.
29431 (fma_test_downward): Likewise.
29432 (fma_test_upward): Likewise.
29433 (fmax_test): Likewise.
29434 (fmin_test): Likewise.
29435 (fmod_test): Likewise.
29436 (fpclassify_test): Likewise.
29437 (frexp_test): Likewise.
29438 (gamma_test): Likewise.
29439 (hypot_test): Likewise.
29440 (ilogb_test): Likewise.
29441 (isfinite_test): Likewise.
29442 (isgreater_test): Likewise.
29443 (isgreaterequal_test): Likewise.
29444 (isinf_test): Likewise.
29445 (isless_test): Likewise.
29446 (islessequal_test): Likewise.
29447 (islessgreater_test): Likewise.
29448 (isnan_test): Likewise.
29449 (isnormal_test): Likewise.
29450 (issignaling_test): Likewise.
29451 (isunordered_test): Likewise.
29452 (j0_test): Likewise.
29453 (j1_test): Likewise.
29454 (jn_test): Likewise.
29455 (ldexp_test): Likewise.
29456 (lgamma_test): Likewise.
29457 (lrint_test): Likewise.
29458 (lrint_test_tonearest): Likewise.
29459 (lrint_test_towardzero): Likewise.
29460 (lrint_test_downward): Likewise.
29461 (lrint_test_upward): Likewise.
29462 (llrint_test): Likewise.
29463 (llrint_test_tonearest): Likewise.
29464 (llrint_test_towardzero): Likewise.
29465 (llrint_test_downward): Likewise.
29466 (llrint_test_upward): Likewise.
29467 (log_test): Likewise.
29468 (log10_test): Likewise.
29469 (log1p_test): Likewise.
29470 (log2_test): Likewise.
29471 (logb_test): Likewise.
29472 (logb_test_downward): Likewise.
29473 (lround_test): Likewise.
29474 (llround_test): Likewise.
29475 (modf_test): Likewise.
29476 (nearbyint_test): Likewise.
29477 (nextafter_test): Likewise.
29478 (nexttoward_test): Likewise.
29479 (pow_test): Likewise.
29480 (pow_test_tonearest): Likewise.
29481 (pow_test_towardzero): Likewise.
29482 (pow_test_downward): Likewise.
29483 (pow_test_upward): Likewise.
29484 (remainder_test): Likewise.
29485 (remainder_test_tonearest): Likewise.
29486 (remainder_test_towardzero): Likewise.
29487 (remainder_test_downward): Likewise.
29488 (remainder_test_upward): Likewise.
29489 (remquo_test): Likewise.
29490 (rint_test): Likewise.
29491 (rint_test_tonearest): Likewise.
29492 (rint_test_towardzero): Likewise.
29493 (rint_test_downward): Likewise.
29494 (rint_test_upward): Likewise.
29495 (round_test): Likewise.
29496 (scalb_test): Likewise.
29497 (scalbn_test): Likewise.
29498 (scalbln_test): Likewise.
29499 (signbit_test): Likewise.
29500 (sin_test): Likewise.
29501 (sin_test_tonearest): Likewise.
29502 (sin_test_towardzero): Likewise.
29503 (sin_test_downward): Likewise.
29504 (sin_test_upward): Likewise.
29505 (sincos_test): Likewise.
29506 (sinh_test): Likewise.
29507 (sinh_test_tonearest): Likewise.
29508 (sinh_test_towardzero): Likewise.
29509 (sinh_test_downward): Likewise.
29510 (sinh_test_upward): Likewise.
29511 (sqrt_test): Likewise.
29512 (tan_test): Likewise.
29513 (tan_test_tonearest): Likewise.
29514 (tan_test_towardzero): Likewise.
29515 (tan_test_downward): Likewise.
29516 (tan_test_upward): Likewise.
29517 (tanh_test): Likewise.
29518 (tgamma_test): Likewise.
29519 (trunc_test): Likewise.
29520 (y0_test): Likewise.
29521 (y1_test): Likewise.
29522 (yn_test): Likewise.
29523 (significand_test): Likewise.
29524
bae143d2
OB
295252013-05-24 Ondřej Bílka <neleai@seznam.cz>
29526
29527 [BZ #15381]
29528 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29529
9323d39b
EM
295302013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29531
d4ea44a0 29532 [BZ #14894]
9323d39b
EM
29533 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29534 __ppc_mdoio and __ppc_mdoom.
29535 * manual/platform.texi: Document new functions __ppc_yield,
29536 __ppc_mdoio and __ppc_mdoom.
29537
13e23af7
CD
295382013-05-22 Carlos O'Donell <carlos@redhat.com>
29539
29540 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29541 (main): Mention "tls" pseudo-hwcap is legacy.
29542 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29543
351fe550
JM
295442013-05-22 Joseph Myers <joseph@codesourcery.com>
29545
29546 * math/gen-libm-test.pl (parse_args): Output only string of
29547 arguments as text for test name, not full call or descriptions of
29548 tests for extra outputs.
29549 (generate_testfile): Do not pass function name to parse_args.
29550 Generate this_func variable from START.
29551 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29552 field to arg_str.
29553 (struct test_ff_f_data): Likewise.
29554 (test_ff_f_data_nexttoward): Likewise.
29555 (struct test_fi_f_data): Likewise.
29556 (struct test_fl_f_data): Likewise.
29557 (struct test_if_f_data): Likewise.
29558 (struct test_fff_f_data): Likewise.
29559 (struct test_c_f_data): Likewise.
29560 (struct test_f_f1_data): Likewise. Remove field extra_name.
29561 (struct test_fF_f1_data): Likewise.
29562 (struct test_ffI_f1_data): Likewise.
29563 (struct test_c_c_data): Rename test_name field to arg_str.
29564 (struct test_cc_c_data): Likewise.
29565 (struct test_f_i_data): Likewise.
29566 (struct test_ff_i_data): Likewise.
29567 (struct test_f_l_data): Likewise.
29568 (struct test_f_L_data): Likewise.
29569 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
29570 and extra2_name.
29571 (COMMON_TEST_SETUP): New macro.
29572 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29573 (COMMON_TEST_CLEANUP): Likewise.
29574 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29575 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
29576 macros.
29577 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29578 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
29579 macros.
29580 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29581 (RUN_TEST_fff_f): Take argument string. Call new setup and
29582 cleanup macros.
29583 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29584 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
29585 macros.
29586 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29587 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
29588 macros.
29589 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29590 (RUN_TEST_fF_f1): Take argument string. Call new setup and
29591 cleanup macros.
29592 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29593 (RUN_TEST_fI_f1): Take argument string. Call new setup and
29594 cleanup macros.
29595 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29596 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
29597 cleanup macros.
29598 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29599 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
29600 macros.
29601 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29602 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
29603 macros.
29604 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29605 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
29606 macros.
29607 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29608 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
29609 cleanup macros.
29610 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29611 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
29612 cleanup macros.
29613 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29614 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
29615 macros.
29616 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29617 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
29618 cleanup macros.
29619 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29620 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
29621 macros.
29622 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29623 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
29624 macros.
29625 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29626 (RUN_TEST_fFF_11): Take argument string. Call new setup and
29627 cleanup macros.
29628 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29629
85118d4d
EBM
296302013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
29631
29632 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29633 to _sifields.sigfault.
29634 (si_addr_lsb): Define new macro.
29635 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29636 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29637 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29638
7a44c18f
CD
296392013-05-03 Carlos O'Donell <carlos at redhat.com>
29640
29641 [BZ #15441]
29642 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29643 returns -1.
29644 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29645 null return -1.
29646 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29647 loading the domain.
29648
b50a7181
JM
296492013-05-22 Joseph Myers <joseph@codesourcery.com>
29650
29651 * math/gen-libm-test.pl (parse_args): Do not include expected
29652 result in test name.
29653 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29654 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29655 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29656 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29657 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29659
051063c8
SP
296602013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29661
3ce9e010
SP
29662 * benchtests/Makefile: Sort function entries.
29663
051063c8
SP
29664 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29665 tanh, asinh, acosh, atanh.
29666 * benchtests/acos-inputs: New file.
29667 * benchtests/acosh-inputs: New file.
29668 * benchtests/asin-inputs: New file.
29669 * benchtests/asinh-inputs: New file.
29670 * benchtests/atanh-inputs: New file.
29671 * benchtests/cosh-inputs: New file.
29672 * benchtests/log-inputs: New file.
29673 * benchtests/sinh-inputs: New file.
29674 * benchtests/tanh-inputs: New file.
29675
47c22455
DL
296762013-05-21 Dmitry V. Levin <ldv@altlinux.org>
29677
29678 [BZ #15339]
29679 * posix/tst-getaddrinfo4.c: New test.
29680 * posix/Makefile (tests): Add it.
29681
3d04f5db
SP
296822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29683
29684 [BZ #15339]
29685 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29686 when no services were used.
29687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29688 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29689
d5dd6189
AS
296902013-05-21 Andreas Schwab <schwab@suse.de>
29691
29692 [BZ #15014]
29693 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29694 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29695 successful.
29696 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29697 redundant variable declarations and reallocation of buffer when
29698 parsing as IPv6 address. Always set NSS status when called from
29699 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
29700 buffer too small. Correct computation of needed size.
29701 * nss/Makefile (tests): Add test-digits-dots.
29702 * nss/test-digits-dots.c: New test.
29703
fef94eab
SP
297042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29705
29706 * benchtests/Makefile: Remove instructions for adding
29707 benchmark tests.
29708 * benchtests/README: New file to explain how to execute and
29709 enhance the benchmark tests.
29710
e39adf43
AS
297112013-05-21 Andreas Schwab <schwab@suse.de>
29712
29713 [BZ #15493]
29714 * setjmp/Makefile (tests): Add tst-sigsetjmp.
29715 * setjmp/tst-sigsetjmp.c: New test.
29716
b2b671b6
OB
297172013-05-20 Ondřej Bílka <neleai@seznam.cz>
29718
29719 * sysdeps/x86_64/memset.S (memset): New implementation.
29720 (__bzero): Likewise.
29721 (__memset_tail): New function.
29722
2d48b41c
OB
297232013-05-20 Ondřej Bílka <neleai@seznam.cz>
29724
29725 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29726 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29727 __memcpy_sse2_unaligned ifunc selection.
29728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29729 Add memcpy-sse2-unaligned.S.
29730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29731 Add: __memcpy_sse2_unaligned.
29732
f16cc3eb
JM
297332013-05-19 Joseph Myers <joseph@codesourcery.com>
29734
3e694268
JM
29735 [BZ #15490]
29736 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29737 math_force_eval before restoring floating-point envrionment.
29738 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29740 Likewise.
29741 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29742 <math_private.h>.
29743 (__nearbyintl): Use math_force_eval before restoring
29744 floating-point environment.
29745 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29746
db62a907
JM
29747 * math/gen-libm-test.pl (special_functions): Remove.
29748 (parse_args): Don't handle TEST_extra. Handle functions with no
29749 return value.
29750 * math/libm-test.inc (struct test_sincos_data): Replace with
29751 struct test_fFF_11_data.
29752 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29753 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29754 (sincos_test_data): Change element type to struct
29755 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
29756 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29757 RUN_TEST_LOOP_sincos.
29758 * math/README.libm-test: Don't mention special handling of
29759 individual functions.
29760 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29762 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29763 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29764 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29766
f16cc3eb
JM
29767 * math/gen-libm-test.pl (get_variable): Remove function.
29768 (parse_args): Don't show pointer parameters to call in test
29769 names. Use "extra output N" in test names for extra outputs
29770 rather than naming variables.
29771
3779b5b6
JM
297722013-05-18 Joseph Myers <joseph@codesourcery.com>
29773
2ee094ff
JM
29774 [BZ #15488]
29775 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29776 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29777 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29778 double tests.
29779 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29780 disable.
29781 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29782 check_long_double.
29783
3779b5b6
JM
29784 * math/gen-libm-test.pl (@tests): Remove variable.
29785 ($count): Likewise.
29786 (new_test): Remove function.
29787 (show_exceptions): New function.
29788 (special_functions): Use show_exceptions instead of new_test.
29789 (parse_args): Likewise.
29790 (generate_testfile): Pass only function name in generated call to
29791 print_max_error or print_complex_max_error.
29792 (get_ulps): Do not handle complex tests specially.
29793 (output_test): Rename to ...
29794 (get_all_ulps_for_test): ... this. Return a string rather than
29795 printing to a file. Require ulps to be present.
29796 (output_ulps): Generate arrays rather than #defines.
29797 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29798 (struct ulp_data): New type.
29799 (BUILD_COMPLEX_ULP): Remove macro.
29800 (compare_ulp_data): New function.
29801 (find_ulps): Likewise.
29802 (find_test_ulps): Likewise.
29803 (find_function_ulps): Likewise.
29804 (find_complex_function_ulps): Likewise.
29805 (print_max_error): Determine allowed ulps using
29806 find_function_ulps.
29807 (print_complex_max_error): Determine allowed ulps using
29808 find_complex_function_ulps.
29809 (check_float_internal): Determine max ulps using find_test_ulps.
29810 (check_float): Do not take max_ulp parameter. Update call to
29811 check_float_internal.
29812 (check_complex): Likewise.
29813 (check_int): Do not take max_ulp parameter.
29814 (check_long): Likewise.
29815 (check_bool): Likewise.
29816 (check_longlong): Likewise.
29817 (struct test_f_f_data): Remove max_ulp field.
29818 (struct test_ff_f_data): Likewise.
29819 (struct test_ff_f_data_nexttoward): Likewise.
29820 (struct test_fi_f_data): Likewise.
29821 (struct test_fl_f_data): Likewise.
29822 (struct test_if_f_data): Likewise.
29823 (struct test_fff_f_data): Likewise.
29824 (struct test_c_f_data): Likewise.
29825 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29826 (struct test_fF_f1_data): Likewise.
29827 (struct test_ffI_f1_data): Likewise.
29828 (struct test_c_c_data): Remove max_ulp field.
29829 (struct test_cc_c_data): Likewise.
29830 (struct test_f_i_data): Likewise.
29831 (struct test_ff_i_data): Likewise.
29832 (struct test_f_l_data): Likewise.
29833 (struct test_f_L_data): Likewise.
29834 (struct test_sincos_data): Likewise.
29835 (RUN_TEST_f_f): Do not handle ulps.
29836 (RUN_TEST_LOOP_f_f): Likewise.
29837 (RUN_TEST_2_f): Likewise.
29838 (RUN_TEST_LOOP_2_f): Likewise.
29839 (RUN_TEST_fff_f): Likewise.
29840 (RUN_TEST_LOOP_fff_f): Likewise.
29841 (RUN_TEST_c_f): Likewise.
29842 (RUN_TEST_LOOP_c_f): Likewise.
29843 (RUN_TEST_f_f1): Likewise.
29844 (RUN_TEST_LOOP_f_f1): Likewise.
29845 (RUN_TEST_fF_f1): Likewise.
29846 (RUN_TEST_LOOP_fF_f1): Likewise.
29847 (RUN_TEST_fI_f1): Likewise.
29848 (RUN_TEST_LOOP_fI_f1): Likewise.
29849 (RUN_TEST_ffI_f1): Likewise.
29850 (RUN_TEST_LOOP_ffI_f1): Likewise.
29851 (RUN_TEST_c_c): Likewise.
29852 (RUN_TEST_LOOP_c_c): Likewise.
29853 (RUN_TEST_cc_c): Likewise.
29854 (RUN_TEST_LOOP_cc_c): Likewise.
29855 (RUN_TEST_f_i): Likewise.
29856 (RUN_TEST_LOOP_f_i): Likewise.
29857 (RUN_TEST_f_i_tg): Likewise.
29858 (RUN_TEST_LOOP_f_i_tg): Likewise.
29859 (RUN_TEST_ff_i_tg): Likewise.
29860 (RUN_TEST_LOOP_ff_i_tg): Likewise.
29861 (RUN_TEST_f_b): Likewise.
29862 (RUN_TEST_LOOP_f_b): Likewise.
29863 (RUN_TEST_f_b_tg): Likewise.
29864 (RUN_TEST_LOOP_f_b_tg): Likewise.
29865 (RUN_TEST_f_l): Likewise.
29866 (RUN_TEST_LOOP_f_l): Likewise.
29867 (RUN_TEST_f_L): Likewise.
29868 (RUN_TEST_LOOP_f_L): Likewise.
29869 (RUN_TEST_sincos): Likewise.
29870 (RUN_TEST_LOOP_sincos): Likewise.
29871
8269107f
JM
298722013-05-17 Joseph Myers <joseph@codesourcery.com>
29873
bb38759d
JM
29874 [BZ #15480]
29875 [BZ #15485]
29876 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29877 main case of finite arguments, set rounding mode to FE_TONEAREST
29878 and discard exceptions.
29879 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29880 exceptions.
29881 (remainder_tonearest_test_data): New variable.
29882 (remainder_test_tonearest): New function.
29883 (remainder_towardzero_test_data): New variable.
29884 (remainder_test_towardzero): New function.
29885 (remainder_downward_test_data): New variable.
29886 (remainder_test_downward): New function.
29887 (remainder_upward_test_data): New variable.
29888 (remainder_test_upward): New function.
29889 (main): Call the new test functions.
29890
a00bdcf0
JM
29891 * math/libm-test.inc (struct test_f_f1_data): Remove field
29892 extra_init.
29893 (struct test_fF_f1_data): Likewise.
29894 (struct test_ffI_f1_data): Likewise.
29895 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
29896 based on value of EXTRA_EXPECTED.
29897 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29898 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
29899 EXTRA_VAR based on value of EXTRA_EXPECTED.
29900 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29901 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
29902 EXTRA_VAR based on value of EXTRA_EXPECTED.
29903 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29904 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
29905 EXTRA_VAR based on value of EXTRA_EXPECTED.
29906 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29907 * math/gen-libm-test.pl (parse_args): Don't output initializers
29908 for extra output values.
29909
de407f79
JM
29910 * math/libm-test.inc (check_int): Expect result to be exactly
29911 equal to expected value and do not handle ulps.
29912 (check_long): Likewise.
29913 (check_longlong): Likewise.
29914
8269107f
JM
29915 * math/libm-test.inc (ceil_test_data): Test for "inexact"
29916 exceptions.
29917 (cimag_test_data): Likewise.
29918 (conj_test_data): Likewise.
29919 (copysign_test_data): Likewise.
29920 (cproj_test_data): Likewise.
29921 (creal_test_data): Likewise.
29922 (fabs_test_data): Likewise.
29923 (fdim_test_data): Likewise.
29924 (finite_test_data): Likewise.
29925 (floor_test_data): Likewise.
29926 (fmax_test_data): Likewise.
29927 (fmin_test_data): Likewise.
29928 (fmod_test_data): Likewise.
29929 (fpclassify_test_data): Likewise.
29930 (frexp_test_data): Likewise.
29931 (ilogb_test_data): Likewise.
29932 (isfinite_test_data): Likewise.
29933 (isgreater_test_data): Likewise.
29934 (isgreaterequal_test_data): Likewise.
29935 (isinf_test_data): Likewise.
29936 (isless_test_data): Likewise.
29937 (islessequal_test_data): Likewise.
29938 (islessgreater_test_data): Likewise.
29939 (isnan_test_data): Likewise.
29940 (isnormal_test_data): Likewise.
29941 (issignaling_test_data): Likewise.
29942 (isunordered_test_data): Likewise.
29943 (ldexp_test_data): Likewise.
29944 (lrint_test_data): Likewise.
29945 (lrint_test_data) [TEST_FLOAT]: Disable one test.
29946 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29947 (lrint_tonearest_test_data): Test for "inexact" exceptions.
29948 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29949 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29950 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29951 test input.
29952 (lrint_towardzero_test_data): Test for "inexact" exceptions.
29953 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29954 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29955 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29956 that test input.
29957 (lrint_downward_test_data): Test for "inexact" exceptions.
29958 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29959 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29960 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29961 test input.
29962 (lrint_upward_test_data): Test for "inexact" exceptions.
29963 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29964 test input.
29965 (llrint_test_data): Test for "inexact" exceptions.
29966 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29967 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29968 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29969 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29970 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29971 (llrint_downward_test_data): Test for "inexact" exceptions.
29972 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29973 (llrint_upward_test_data): Test for "inexact" exceptions.
29974 (logb_test_data): Likewise.
29975 (logb_downward_test_data): Likewise.
29976 (nextafter_test_data): Likewise.
29977 (nexttoward_test_data): Likewise.
29978 (remainder_test_data): Likewise.
29979 (remquo_test_data): Likewise.
29980 (scalbn_test_data): Likewise.
29981 (scalbln_test_data): Likewise.
29982 (signbit_test_data): Likewise.
29983 (sqrt_test_data): Likewise.
29984 (significand_test_data): Likewise.
29985
48a18de1
SP
299862013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29987
29988 [BZ #15424]
29989 * benchtests/bench-modf.c (struct args): Mark arg0 as
29990 volatile.
29991 * scripts/bench.pl: Mark members of struct args as volatile.
29992
13d3b41a
AZ
299932013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29994
68191c1d 29995 [BZ # 15497]
13d3b41a
AZ
29996 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29997 negative infinity on POWER6 or lower.
29998 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29999
2848b105
MR
300002013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30001
30002 [BZ #15442]
30003 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30004 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30005 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30006 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30007 (_FP_SETQNAN): New macro.
30008 (_FP_SETQNAN_SEMIRAW): Likewise.
30009 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30010 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30011 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30012 (FP_EXTEND): Use _FP_FRAC_SNANP.
30013 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30014 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30015 into account.
30016 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30017 New macro.
30018 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30019 Likewise.
30020
323e5cb7
JM
300212013-05-16 Joseph Myers <joseph@codesourcery.com>
30022
c58b274f
JM
30023 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30024 with DIVIDE_BY_ZERO_EXCEPTION.
30025 (gamma_test_data): Likewise.
30026 (lgamma_test_data): Likewise.
30027 (log_test_data): Likewise.
30028 (log10_test_data): Likewise.
30029 (log2_test_data): Likewise.
30030 (tgamma_test_data): Likewise.
30031
0ab34904
JM
30032 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30033 (acos_test_tonearest): Likewise.
30034 (acos_test_towardzero): Likewise.
30035 (acos_test_downward): Likewise.
30036 (acos_test_upward): Likewise.
30037 (acosh_test): Likewise.
30038 (asin_test): Likewise.
30039 (asin_test_tonearest): Likewise.
30040 (asin_test_towardzero): Likewise.
30041 (asin_test_downward): Likewise.
30042 (asin_test_upward): Likewise.
30043 (asinh_test): Likewise.
30044 (atan_test): Likewise.
30045 (atanh_test): Likewise.
30046 (atan2_test): Likewise.
30047 (cabs_test): Likewise.
30048 (cacos_test): Likewise.
30049 (cacosh_test): Likewise.
30050 (casin_test): Likewise.
30051 (casinh_test): Likewise.
30052 (catan_test): Likewise.
30053 (catanh_test): Likewise.
30054 (cbrt_test): Likewise.
30055 (ccos_test): Likewise.
30056 (ccosh_test): Likewise.
30057 (cexp_test): Likewise.
30058 (clog_test): Likewise.
30059 (clog10_test): Likewise.
30060 (cos_test): Likewise.
30061 (cos_test_tonearest): Likewise.
30062 (cos_test_towardzero): Likewise.
30063 (cos_test_downward): Likewise.
30064 (cos_test_upward): Likewise.
30065 (cosh_test): Likewise.
30066 (cosh_test_tonearest): Likewise.
30067 (cosh_test_towardzero): Likewise.
30068 (cosh_test_downward): Likewise.
30069 (cosh_test_upward): Likewise.
30070 (cpow_test): Likewise.
30071 (csin_test): Likewise.
30072 (csinh_test): Likewise.
30073 (csqrt_test): Likewise.
30074 (ctan_test): Likewise.
30075 (ctan_test_tonearest): Likewise.
30076 (ctan_test_towardzero): Likewise.
30077 (ctan_test_downward): Likewise.
30078 (ctan_test_upward): Likewise.
30079 (ctanh_test): Likewise.
30080 (ctanh_test_tonearest): Likewise.
30081 (ctanh_test_towardzero): Likewise.
30082 (ctanh_test_downward): Likewise.
30083 (ctanh_test_upward): Likewise.
30084 (erf_test): Likewise.
30085 (erfc_test): Likewise.
30086 (exp_test): Likewise.
30087 (exp_test_tonearest): Likewise.
30088 (exp_test_towardzero): Likewise.
30089 (exp_test_downward): Likewise.
30090 (exp_test_upward): Likewise.
30091 (exp10_test): Likewise.
30092 (exp2_test): Likewise.
30093 (expm1_test): Likewise.
30094 (fmod_test): Likewise.
30095 (gamma_test): Likewise.
30096 (hypot_test): Likewise.
30097 (j0_test): Likewise.
30098 (j1_test): Likewise.
30099 (jn_test): Likewise.
30100 (lgamma_test): Likewise.
30101 (log_test): Likewise.
30102 (log10_test): Likewise.
30103 (log1p_test): Likewise.
30104 (log2_test): Likewise.
30105 (logb_test_downward): Likewise.
30106 (pow_test): Likewise.
30107 (pow_test_tonearest): Likewise.
30108 (pow_test_towardzero): Likewise.
30109 (pow_test_downward): Likewise.
30110 (pow_test_upward): Likewise.
30111 (remainder_test): Likewise.
30112 (remquo_test): Likewise.
30113 (sin_test): Likewise.
30114 (sin_test_tonearest): Likewise.
30115 (sin_test_towardzero): Likewise.
30116 (sin_test_downward): Likewise.
30117 (sin_test_upward): Likewise.
30118 (sincos_test): Likewise.
30119 (sinh_test): Likewise.
30120 (sinh_test_tonearest): Likewise.
30121 (sinh_test_towardzero): Likewise.
30122 (sinh_test_downward): Likewise.
30123 (sinh_test_upward): Likewise.
30124 (sqrt_test): Likewise.
30125 (tan_test): Likewise.
30126 (tan_test_tonearest): Likewise.
30127 (tan_test_towardzero): Likewise.
30128 (tan_test_downward): Likewise.
30129 (tan_test_upward): Likewise.
30130 (tanh_test): Likewise.
30131 (tgamma_test): Likewise.
30132 (y0_test): Likewise.
30133 (y1_test): Likewise.
30134 (yn_test): Likewise.
30135
323e5cb7
JM
30136 * math/gen-libm-test.pl (adjust_arg): Remove function.
30137 (special_function): Remove argument $in_func. Only handle
30138 generating output for tables of tests, not inside functions.
30139 (parse_args): Likewise.
30140 (generate_testfile): Remove variable $in_func. Update call to
30141 parse_args.
30142 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30143 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30144 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30145 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30146 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30147 (MAX_VALUE_INIT): Rename macro to max_value.
30148 (MIN_VALUE_INIT): Rename macro to min_value.
30149 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30150 (plus_zero): Remove variable.
30151 (minus_zero): Likewise.
30152 (plus_infty): Likewise.
30153 (minus_infty): Likewise.
30154 (qnan_value): Likewise.
30155 (max_value): Likewise.
30156 (min_value): Likewise.
30157 (min_subnorm_value): Likewise.
30158
e054f494
RA
301592013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30160
30161 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30162 uint64_t or uint32_t usage.
30163 * crypt/sha256-block.c: Likewise.
30164 * crypt/sha256-crypt.c: Likewise.
30165 * crypt/sha256.c: Likewise.
30166 * crypt/sha512-block.c: Likewise.
30167 * crypt/sha512-crypt.c: Likewise.
30168 * crypt/sha512.c: Likewise.
30169 * debug/backtrace-tst.c: Likewise.
30170 * debug/pcprofiledump.c: Likewise.
30171 * elf/cache.c: Likewise.
30172 * elf/dl-cache.c: Likewise.
30173 * elf/dl-misc.c: Likewise.
30174 * elf/dl-profile.c: Likewise.
30175 * elf/dl-support.c: Likewise.
30176 * elf/ldconfig.c: Likewise.
30177 * elf/sprof.c: Likewise.
30178 * iconv/dummy-repertoire.c: Likewise.
30179 * iconv/iconv_charmap.c: Likewise.
30180 * iconv/skeleton.c: Likewise.
30181 * iconvdata/8bit-generic.c: Likewise.
30182 * iconvdata/cp737.h: Likewise.
30183 * iconvdata/cp775.h: Likewise.
30184 * iconvdata/ibm1008.h: Likewise.
30185 * iconvdata/ibm1025.h: Likewise.
30186 * iconvdata/ibm1046.h: Likewise.
30187 * iconvdata/ibm1097.h: Likewise.
30188 * iconvdata/ibm1112.h: Likewise.
30189 * iconvdata/ibm1122.h: Likewise.
30190 * iconvdata/ibm1123.h: Likewise.
30191 * iconvdata/ibm1124.h: Likewise.
30192 * iconvdata/ibm1129.h: Likewise.
30193 * iconvdata/ibm1130.h: Likewise.
30194 * iconvdata/ibm1132.h: Likewise.
30195 * iconvdata/ibm1133.h: Likewise.
30196 * iconvdata/ibm1137.h: Likewise.
30197 * iconvdata/ibm1140.h: Likewise.
30198 * iconvdata/ibm1141.h: Likewise.
30199 * iconvdata/ibm1142.h: Likewise.
30200 * iconvdata/ibm1143.h: Likewise.
30201 * iconvdata/ibm1144.h: Likewise.
30202 * iconvdata/ibm1145.h: Likewise.
30203 * iconvdata/ibm1146.h: Likewise.
30204 * iconvdata/ibm1147.h: Likewise.
30205 * iconvdata/ibm1148.h: Likewise.
30206 * iconvdata/ibm1149.h: Likewise.
30207 * iconvdata/ibm1153.h: Likewise.
30208 * iconvdata/ibm1154.h: Likewise.
30209 * iconvdata/ibm1155.h: Likewise.
30210 * iconvdata/ibm1156.h: Likewise.
30211 * iconvdata/ibm1157.h: Likewise.
30212 * iconvdata/ibm1158.h: Likewise.
30213 * iconvdata/ibm1160.h: Likewise.
30214 * iconvdata/ibm1161.h: Likewise.
30215 * iconvdata/ibm1162.h: Likewise.
30216 * iconvdata/ibm1163.h: Likewise.
30217 * iconvdata/ibm1164.h: Likewise.
30218 * iconvdata/ibm1166.h: Likewise.
30219 * iconvdata/ibm1167.h: Likewise.
30220 * iconvdata/ibm12712.h: Likewise.
30221 * iconvdata/ibm1390.h: Likewise.
30222 * iconvdata/ibm1399.h: Likewise.
30223 * iconvdata/ibm16804.h: Likewise.
30224 * iconvdata/ibm4517.h: Likewise.
30225 * iconvdata/ibm4899.h: Likewise.
30226 * iconvdata/ibm4909.h: Likewise.
30227 * iconvdata/ibm4971.h: Likewise.
30228 * iconvdata/ibm5347.h: Likewise.
30229 * iconvdata/ibm803.h: Likewise.
30230 * iconvdata/ibm856.h: Likewise.
30231 * iconvdata/ibm901.h: Likewise.
30232 * iconvdata/ibm902.h: Likewise.
30233 * iconvdata/ibm9030.h: Likewise.
30234 * iconvdata/ibm9066.h: Likewise.
30235 * iconvdata/ibm921.h: Likewise.
30236 * iconvdata/ibm922.h: Likewise.
30237 * iconvdata/ibm9448.h: Likewise.
30238 * iconvdata/isiri-3342.h: Likewise.
30239 * iconvdata/jis0201.h: Likewise.
30240 * include/link.h: Likewise.
30241 * include/netdb.h: Likewise.
30242 * inet/check_native.c: Likewise.
30243 * inet/check_pf.c: Likewise.
30244 * inet/getipv4sourcefilter.c: Likewise.
30245 * inet/getnameinfo.c: Likewise.
30246 * inet/getsourcefilter.c: Likewise.
30247 * inet/htonl.c: Likewise.
30248 * inet/setipv4sourcefilter.c: Likewise.
30249 * inet/setsourcefilter.c: Likewise.
30250 * inet/test-inet6_opt.c: Likewise.
30251 * inet/tst-network.c: Likewise.
30252 * locale/C-collate.c: Likewise.
30253 * locale/C-ctype.c: Likewise.
30254 * locale/C-time.c: Likewise.
30255 * locale/C-translit.h: Likewise.
30256 * locale/loadarchive.c: Likewise.
30257 * locale/programs/3level.h: Likewise.
30258 * locale/programs/charmap.c: Likewise.
30259 * locale/programs/charmap.h: Likewise.
30260 * locale/programs/ld-address.c: Likewise.
30261 * locale/programs/ld-collate.c: Likewise.
30262 * locale/programs/ld-ctype.c: Likewise.
30263 * locale/programs/ld-identification.c: Likewise.
30264 * locale/programs/ld-measurement.c: Likewise.
30265 * locale/programs/ld-messages.c: Likewise.
30266 * locale/programs/ld-monetary.c: Likewise.
30267 * locale/programs/ld-name.c: Likewise.
30268 * locale/programs/ld-numeric.c: Likewise.
30269 * locale/programs/ld-paper.c: Likewise.
30270 * locale/programs/ld-telephone.c: Likewise.
30271 * locale/programs/ld-time.c: Likewise.
30272 * locale/programs/linereader.c: Likewise.
30273 * locale/programs/locale.c: Likewise.
30274 * locale/programs/locarchive.c: Likewise.
30275 * locale/programs/locfile.h: Likewise.
30276 * locale/programs/repertoire.c: Likewise.
30277 * locale/programs/simple-hash.c: Likewise.
30278 * locale/programs/simple-hash.h: Likewise.
30279 * malloc/memusage.c: Likewise.
30280 * malloc/memusagestat.c: Likewise.
30281 * nis/nis_defaults.c: Likewise.
30282 * nis/nis_hash.c: Likewise.
30283 * nis/nis_print.c: Likewise.
30284 * nis/nis_xdr.c: Likewise.
30285 * nscd/connections.c: Likewise.
30286 * nscd/hstcache.c: Likewise.
30287 * nscd/nscd_gethst_r.c: Likewise.
30288 * nscd/nscd_getserv_r.c: Likewise.
30289 * nscd/nscd_helper.c: Likewise.
30290 * nscd/servicescache.c: Likewise.
30291 * nss/makedb.c: Likewise.
30292 * nss/nss_db/db-XXX.c: Likewise.
30293 * nss/nss_db/db-initgroups.c: Likewise.
30294 * nss/nss_db/db-netgrp.c: Likewise.
30295 * nss/nss_files/files-network.c: Likewise.
30296 * nss/nss_files/files-parse.c: Likewise.
30297 * posix/bug-regex5.c: Likewise.
30298 * posix/fnmatch_loop.c: Likewise.
30299 * posix/regcomp.c: Likewise.
30300 * posix/regexec.c: Likewise.
30301 * posix/tst-rfc3484-2.c: Likewise.
30302 * posix/tst-rfc3484-3.c: Likewise.
30303 * posix/tst-rfc3484.c: Likewise.
30304 * resolv/nss_dns/dns-canon.c: Likewise.
30305 * resolv/nss_dns/dns-network.c: Likewise.
30306 * resolv/res_init.c: Likewise.
30307 * resolv/res_mkquery.c: Likewise.
30308 * resolv/tst-aton.c: Likewise.
30309 * stdlib/cxa_atexit.c: Likewise.
30310 * stdlib/cxa_finalize.c: Likewise.
30311 * stdlib/gen-fpioconst.c: Likewise.
30312 * stdlib/strtol_l.c: Likewise.
30313 * string/tst-endian.c: Likewise.
30314 * sunrpc/auth_des.c: Likewise.
30315 * sunrpc/clnt_udp.c: Likewise.
30316 * sunrpc/rtime.c: Likewise.
30317 * sunrpc/svcauth_des.c: Likewise.
30318 * sunrpc/xdr.c: Likewise.
30319 * sunrpc/xdr_intXX_t.c: Likewise.
30320 * sunrpc/xdr_rec.c: Likewise.
30321 * sysdeps/generic/ldconfig.h: Likewise.
30322 * sysdeps/generic/ldsodefs.h: Likewise.
30323 * sysdeps/generic/memusage.h: Likewise.
30324 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30327 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30334 * sysdeps/posix/getaddrinfo.c: Likewise.
30335 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30336 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30337 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30338 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30339 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30340 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30341 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30342 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30343 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30344 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30345 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30346 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30347 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30348 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30349 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30350 * sysdeps/x86_64/dl-tls.h: Likewise.
30351 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30352 * time/alt_digit.c: Likewise.
30353 * time/era.c: Likewise.
30354 * wcsmbs/tst-c16c32-1.c: Likewise.
30355
8c75f674
JM
303562013-05-16 Joseph Myers <joseph@codesourcery.com>
30357
30358 * math/libm-test.inc (struct test_sincos_data): New type.
30359 (RUN_TEST_LOOP_sincos): New macro.
30360 (sincos_test_data): New variable.
30361 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30362
e6e49e59
RH
303632013-05-16 Richard Henderson <rth@redhat.com>
30364
30365 * math/atest-exp2.c (LIMB64): New macro.
30366 (CONSTSZ): New macro.
30367 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30368 (hexdig): Move ...
30369 (print_mpn_fp): ... to function scope.
30370 (read_mpn_hex): Remove.
30371 (get_log2): Remove.
30372 (exp2_mpn): Use mp_log2.
30373 (main): Use mp_exp1.
30374
15c7c18d
JM
303752013-05-16 Joseph Myers <joseph@codesourcery.com>
30376
105a07df
JM
30377 * math/libm-test.inc: Remove comment about not testing "inexact"
30378 exceptions.
30379 (INEXACT_EXCEPTION): New macro.
30380 (NO_INEXACT_EXCEPTION): Likewise.
30381 (INVALID_EXCEPTION_OK): Update value.
30382 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30383 (OVERFLOW_EXCEPTION_OK): Likewise.
30384 (UNDERFLOW_EXCEPTION_OK): Likewise.
30385 (IGNORE_ZERO_INF_SIGN): Likewise.
30386 (ERRNO_UNCHANGED): Likewise.
30387 (ERRNO_EDOM): Likewise.
30388 (ERRNO_ERANGE): Likewise.
30389 (test_exceptions): Handle testing "inexact" exceptions.
30390 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30391 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30392 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30393 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30394 INEXACT_EXCEPTION.
30395 (rint_towardzero_test_data): Likewise.
30396 (rint_downward_test_data): Likewise.
30397 (rint_upward_test_data): Likewise.
30398
e9eee333
JM
30399 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30400 with OVERFLOW_EXCEPTION.
30401 (exp10_test_data): Likewise.
30402 (exp2_test_data): Likewise.
30403 (expm1_test_data): Likewise.
30404 (lgamma_test_data): Likewise.
30405 (pow_test_data): Likewise.
30406 (tgamma_test_data): Likewise.
30407 (yn_test_data): Remove duplicate test of overflow.
30408
1c38ff73
JM
30409 * math/libm-test.inc (struct test_cc_c_data): New type.
30410 (RUN_TEST_LOOP_cc_c): New macro.
30411 (cpow_test_data): New variable.
30412 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30413
15c7c18d
JM
30414 * math/libm-test.inc (struct test_f_L_data): New type.
30415 (RUN_TEST_LOOP_f_L): New macro.
30416 (llrint_test_data): New variable.
30417 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30418 (llrint_tonearest_test_data): New variable.
30419 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30420 (llrint_towardzero_test_data): New variable.
30421 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30422 (llrint_downward_test_data): New variable.
30423 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30424 (llrint_upward_test_data): New variable.
30425 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30426 (llround_test_data): New variable.
30427 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30428
f137ff13
PC
304292013-05-13 Peter Collingbourne <pcc@google.com>
30430
30431 * math/atest-exp2.c (get_log2): Remove const attribute.
30432
3608cb24
JM
304332013-05-15 Joseph Myers <joseph@codesourcery.com>
30434
30435 * math/libm-test.inc (struct test_f_l_data): New type.
30436 (RUN_TEST_LOOP_f_l): New macro.
30437 (lrint_test_data): New variable.
30438 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30439 (lrint_tonearest_test_data): New variable.
30440 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30441 (lrint_towardzero_test_data): New variable.
30442 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30443 (lrint_downward_test_data): New variable.
30444 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30445 (lrint_upward_test_data): New variable.
30446 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30447 (lround_test_data): New variable.
30448 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30449
39b1f617
PC
304502013-05-15 Peter Collingbourne <pcc@google.com>
30451
1deff3dc
PC
30452 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30453 (EXTRACT_WORDS64) Use where appropriate.
30454 (INSERT_WORDS64) Likewise.
30455
791f3ba0
PC
30456 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30457 constraints with x constraints.
30458 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30459
39b1f617
PC
30460 * malloc/obstack.c (_obstack_compat): Add initializer.
30461
12fba011
EM
304622013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30463
30464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30465 si_trapno and add si_addr_lsb to _sifields.sigfault.
30466 (si_trapno): Remove macro.
30467 (si_addr_lsb): Define new macro.
30468 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30469
d369f531
JM
304702013-05-15 Joseph Myers <joseph@codesourcery.com>
30471
b861c6c4
JM
30472 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30473 instead of TEST_f_l.
30474 (llrint_test_tonearest): Likewise.
30475 (llrint_test_towardzero): Likewise.
30476 (llrint_test_downward): Likewise.
30477 (llrint_test_upward): Likewise.
30478 (llround_test): Likewise.
30479
7abeee12
JM
30480 * math/libm-test.inc (struct test_f_i_data): Add comment.
30481 (RUN_TEST_LOOP_f_b): New macro.
30482 (RUN_TEST_LOOP_f_b_tg): Likewise.
30483 (finite_test_data): New variable.
30484 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30485 (isfinite_test_data): New variable.
30486 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30487 (isinf_test_data): New variable.
30488 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30489 (isnan_test_data): New variable.
30490 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30491 (isnormal_test_data): New variable.
30492 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30493 (issignaling_test_data): New variable.
30494 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30495 (signbit_test_data): New variable.
30496 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30497
cbe8c4d3
JM
30498 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30499 with INVALID_EXCEPTION.
30500 (acosh_test_data): Likewise.
30501 (asin_test_data): Likewise.
30502 (atanh_test_data): Likewise.
30503 (fmod_test_data): Likewise.
30504 (log_test_data): Likewise.
30505 (log10_test_data): Likewise.
30506 (log2_test_data): Likewise.
30507 (pow_test_data): Likewise.
30508 (sqrt_test_data): Likewise.
30509 (y0_test_data): Likewise.
30510 (y1_test_data): Likewise.
30511 (yn_test_data): Likewise.
30512
5575c0e5
JM
30513 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30514 function contents.
30515
d369f531
JM
30516 * math/libm-test.inc (struct test_ff_i_data): New type.
30517 (RUN_TEST_LOOP_ff_i_tg): New macro.
30518 (isgreater_test_data): New variable.
30519 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30520 (isgreaterequal_test_data): New variable.
30521 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30522 (isless_test_data): New variable.
30523 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30524 (islessequal_test_data): New variable.
30525 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30526 (islessgreater_test_data): New variable.
30527 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30528 (isunordered_test_data): New variable.
30529 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30530
781fd748
DM
305312013-05-14 David S. Miller <davem@davemloft.net>
30532
30533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30534
87aa21df
JM
305352013-05-14 Joseph Myers <joseph@codesourcery.com>
30536
5e908270
JM
30537 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30538
f71172e5
JM
30539 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30540 extra_test to int.
30541 (struct test_f_i_data): Change type of max_ulp to int.
30542
8cfa635a
JM
30543 * math/libm-test.inc (test_ffI_f1_data): New type.
30544 (RUN_TEST_LOOP_ffI_f1): New macro.
30545 (remquo_test_data): New variable.
30546 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30547
2bcb36b2
JM
30548 * setjmp/tst-setjmp-fp.c: New file.
30549 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30550 (link-libm): New variable.
30551 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30552
acbd839a
JM
30553 * math/libm-test.inc (struct test_f_i_data): New type.
30554 (RUN_TEST_LOOP_f_i): New macro.
30555 (RUN_TEST_LOOP_f_i_tg): Likewise.
30556 (fpclassify_test_data): New variable.
30557 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30558 (ilogb_test_data): New variable.
30559 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30560
e414d745
JM
30561 * math/libm-test.inc (scalbln_test): Correct function name in END
30562 call.
30563
d9c2a0fd
JM
30564 * math/libm-test.inc (struct test_f_f1_data): Add comment.
30565 (RUN_TEST_LOOP_fI_f1): New macro.
30566 (frexp_test_data): New variable.
30567 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30568
9dc9095d
JM
30569 * math/libm-test.inc (struct test_fF_f1_data): New type.
30570 (RUN_TEST_LOOP_fF_f1): New macro.
30571 (modf_test_data): New variable.
30572 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30573
87aa21df
JM
30574 * math/libm-test.inc (struct test_f_f1_data): New type.
30575 (RUN_TEST_LOOP_f_f1): New macro.
30576 (gamma_test_data): New variable.
30577 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30578 (lgamma_test_data): New variable.
30579 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30580
141af660
CD
305812013-05-13 Carlos O'Donell <carlos@redhat.com>
30582
30583 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30584 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30585 (main): Comment "tls" pseudo-hwcap.
30586
6d33265c
JM
305872013-05-13 Joseph Myers <joseph@codesourcery.com>
30588
68fc074c
JM
30589 * math/libm-test.inc (struct test_fl_f_data): New type.
30590 (RUN_TEST_LOOP_fl_f): New variable.
30591 (scalbln_test_data): New variable.
30592 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30593
243216e1
JM
30594 * math/libm-test.inc (struct test_fi_f_data): New type.
30595 (RUN_TEST_LOOP_fi_f): New macro.
30596 (ldexp_test_data): New variable.
30597 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30598 (scalbn_test_data): New variable.
30599 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30600
6a1992e2
JM
30601 * math/libm-test.inc (struct test_c_f_data): New type.
30602 (RUN_TEST_LOOP_c_f): New macro.
30603 (cabs_test_data): New variable.
30604 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30605 (carg_test_data): New variable.
30606 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30607 (cimag_test_data): New variable.
30608 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30609 (creal_test_data): New variable.
30610 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30611
0e400df5
JM
30612 * math/libm-test.inc (struct test_if_f_data): New type.
30613 (RUN_TEST_LOOP_if_f): New macro.
30614 (jn_test_data): New variable.
30615 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30616 (yn_test_data): New variable.
30617 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30618
6d33265c
JM
30619 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30620
f98ece5f
AZ
306212013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30622
30623 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30624 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30625
0f7d347b
SP
306262013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30627
43fe811b
SP
30628 * benchtests/Makefile (CPPFLAGS-nonlib): Add
30629 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30630 (bench-deps): Add bench-timing.h.
30631 * benchtests-bench-skeleton.c: Include bench-timing.h.
30632 (main): Use TIMING_* macros instead of clock_gettime.
30633 * benchtests/bench-timing.h: New file.
30634
0f7d347b
SP
30635 [BZ #14582]
30636 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30637 Renamed from _LIB_VERSION.
30638 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30639
601a3a5f
JM
306402013-05-12 Joseph Myers <joseph@codesourcery.com>
30641
4f184d30
JM
30642 * math/libm-test.inc (struct test_fff_f_data): New type.
30643 (RUN_TEST_LOOP_fff_f): New macro.
30644 (fma_test_data): New variable.
30645 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30646 (fma_towardzero_test_data): New variable.
30647 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30648 (fma_downward_test_data): New variable.
30649 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30650 (fma_upward_test_data): New variable.
30651 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30652
08198877
JM
30653 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30654 (struct test_c_c_data): New type.
30655 (RUN_TEST_LOOP_c_c): New macro.
30656 (cacos_test_data): New variable.
30657 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30658 (cacosh_test_data): New variable.
30659 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30660 (casin_test_data): New variable.
30661 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30662 (casinh_test_data): New variable.
30663 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30664 (catan_test_data): New variable.
30665 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30666 (catanh_test_data): New variable.
30667 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30668 (ccos_test_data): New variable.
30669 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30670 (ccosh_test_data): New variable.
30671 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30672 (cexp_test_data): New variable.
30673 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30674 (clog_test_data): New variable.
30675 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30676 (clog10_test_data): New variable.
30677 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30678 (conj_test_data): New variable.
30679 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30680 (cproj_test_data): New variable.
30681 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30682 (csin_test_data): New variable.
30683 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30684 (csinh_test_data): New variable.
30685 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30686 (csqrt_test_data): New variable.
30687 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30688 (ctan_test_data): New variable.
30689 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30690 (ctan_tonearest_test_data): New variable.
30691 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30692 (ctan_towardzero_test_data): New variable.
30693 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30694 (ctan_downward_test_data): New variable.
30695 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30696 (ctan_upward_test_data): New variable.
30697 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30698 (ctanh_test_data): New variable.
30699 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30700 (ctanh_tonearest_test_data): New variable.
30701 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30702 (ctanh_towardzero_test_data): New variable.
30703 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30704 (ctanh_downward_test_data): New variable.
30705 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30706 (ctanh_upward_test_data): New variable.
30707 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30708 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30709 of BUILD_COMPLEX.
30710
601a3a5f
JM
30711 * math/libm-test.inc (struct test_ff_f_data): New type.
30712 (struct test_ff_f_data_nexttoward): Likewise.
30713 (RUN_TEST_LOOP_2_f): New macro.
30714 (RUN_TEST_LOOP_ff_f): Likewise.
30715 (atan2_test_data): New variable.
30716 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30717 (copysign_test_data): New variable.
30718 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30719 (fdim_test_data): New variable.
30720 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30721 (fmax_test_data): New variable.
30722 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30723 (fmin_test_data): New variable.
30724 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30725 (fmod_test_data): New variable.
30726 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30727 (hypot_test_data): New variable.
30728 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30729 (nextafter_test_data): New variable.
30730 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30731 (nexttoward_test_data): New variable.
30732 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30733 (pow_test_data): New variable.
30734 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30735 (pow_tonearest_test_data): New variable.
30736 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30737 (pow_towardzero_test_data): New variable.
30738 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30739 (pow_downward_test_data): New variable.
30740 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30741 (pow_upward_test_data): New variable.
30742 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30743 (remainder_test_data): New variable.
30744 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30745 (scalb_test_data): New variable.
30746 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30747 * sysdeps/i386/fpu/libm-test-ulps: Update.
30748
74c57478
JM
307492013-05-11 Joseph Myers <joseph@codesourcery.com>
30750
8329e4da
JM
30751 * math/libm-test.inc (fma_test): Use max_value instead of local
30752 variable fltmax.
30753 (nextafter_test): Likewise.
30754
74c57478
JM
30755 * math/libm-test.inc (acos_towardzero_test_data): New variable.
30756 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30757 (acos_downward_test_data): New variable.
30758 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30759 (acos_upward_test_data): New variable.
30760 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30761 (acosh_test_data): New variable.
30762 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30763 (asin_test_data): New variable.
30764 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30765 (asin_tonearest_test_data): New variable.
30766 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30767 (asin_towardzero_test_data): New variable.
30768 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30769 (asin_downward_test_data): New variable.
30770 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30771 (asin_upward_test_data): New variable.
30772 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30773 (asinh_test_data): New variable.
30774 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30775 (atan_test_data): New variable.
30776 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30777 (atanh_test_data): New variable.
30778 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30779 (cbrt_test_data): New variable.
30780 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30781 (ceil_test_data): New variable.
30782 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30783 (cos_test_data): New variable.
30784 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30785 (cos_tonearest_test_data): New variable.
30786 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30787 (cos_towardzero_test_data): New variable.
30788 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30789 (cos_downward_test_data): New variable.
30790 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30791 (cos_upward_test_data): New variable.
30792 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30793 (cosh_test_data): New variable.
30794 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30795 (cosh_tonearest_test_data): New variable.
30796 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30797 (cosh_towardzero_test_data): New variable.
30798 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30799 (cosh_downward_test_data): New variable.
30800 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30801 (cosh_upward_test_data): New variable.
30802 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30803 (erf_test_data): New variable.
30804 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30805 (erfc_test_data): New variable.
30806 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30807 (exp_test_data): New variable.
30808 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30809 (exp_tonearest_test_data): New variable.
30810 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30811 (exp_towardzero_test_data): New variable.
30812 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30813 (exp_downward_test_data): New variable.
30814 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30815 (exp_upward_test_data): New variable.
30816 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30817 (exp10_test_data): New variable.
30818 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30819 (exp2_test_data): New variable.
30820 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30821 (expm1_test_data): New variable.
30822 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30823 (fabs_test_data): New variable.
30824 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30825 (floor_test_data): New variable.
30826 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30827 (j0_test_data): New variable.
30828 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30829 (j1_test_data): New variable.
30830 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30831 (log_test_data): New variable.
30832 (log_test): Run tests with RUN_TEST_LOOP_f_f.
30833 (log10_test_data): New variable.
30834 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30835 (log1p_test_data): New variable.
30836 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30837 (log2_test_data): New variable.
30838 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30839 (logb_test_data): New variable.
30840 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30841 (logb_downward_test_data): New variable.
30842 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30843 (nearbyint_test_data): New variable.
30844 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30845 (rint_test_data): New variable.
30846 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30847 (rint_tonearest_test_data): New variable.
30848 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30849 (rint_towardzero_test_data): New variable.
30850 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30851 (rint_downward_test_data): New variable.
30852 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30853 (rint_upward_test_data): New variable.
30854 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30855 (round_test_data): New variable.
30856 (round_test): Run tests with RUN_TEST_LOOP_f_f.
30857 (sin_test_data): New variable.
30858 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30859 (sin_tonearest_test_data): New variable.
30860 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30861 (sin_towardzero_test_data): New variable.
30862 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30863 (sin_downward_test_data): New variable.
30864 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30865 (sin_upward_test_data): New variable.
30866 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30867 (sinh_test_data): New variable.
30868 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30869 (sinh_tonearest_test_data): New variable.
30870 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30871 (sinh_towardzero_test_data): New variable.
30872 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30873 (sinh_downward_test_data): New variable.
30874 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30875 (sinh_upward_test_data): New variable.
30876 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30877 (sqrt_test_data): New variable.
30878 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30879 (tan_test_data): New variable.
30880 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30881 (tan_tonearest_test_data): New variable.
30882 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30883 (tan_towardzero_test_data): New variable.
30884 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30885 (tan_downward_test_data): New variable.
30886 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30887 (tan_upward_test_data): New variable.
30888 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30889 (tanh_test_data): New variable.
30890 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30891 (tgamma_test_data): New variable.
30892 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30893 (trunc_test_data): New variable.
30894 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30895 (y0_test_data): New variable.
30896 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30897 (y1_test_data): New variable.
30898 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30899 (significand_test_data): New variable.
30900 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30901
7187d844
CG
309022013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
30903
30904 [BZ #12387]
30905 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30906
f63fae73
PT
309072013-05-10 Pino Toscano <toscano.pino@tiscali.it>
30908
30909 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30910
8a67a4b3
AJ
309112013-05-10 Andreas Jaeger <aj@suse.de>
30912
30913 [BZ #15448]
30914 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30915 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30916
51df539d
JM
309172013-05-10 Joseph Myers <joseph@codesourcery.com>
30918
30919 * math/gen-libm-test.pl (adjust_arg): New function.
30920 (special_functions): Handle generating output in both functions
30921 and arrays.
30922 (parse_args): Likewise.
30923 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
30924 $in_func argument to parse_args.
30925 * math/libm-test.inc (struct test_f_f_data): New type.
30926 (IF_ROUND_INIT_): New macro.
30927 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30928 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30929 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30930 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30931 (ROUND_RESTORE_): Likewise.
30932 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30933 (ROUND_RESTORE_FE_TONEAREST): Likewise.
30934 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30935 (ROUND_RESTORE_FE_UPWARD): Likewise.
30936 (RUN_TEST_LOOP_f_f): New macro.
30937 (acos_test_data): New variable.
30938 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30939 (acos_tonearest_test_data): New variable.
30940 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30941
5c637fe5
SP
309422013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30943
30944 * benchtests/bench-skeleton.c (startup): Fix coding style.
30945
ab2b9461
JM
309462013-05-10 Joseph Myers <joseph@codesourcery.com>
30947
30948 [BZ #6809]
30949 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30950 negative infinity argument.
30951 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30952 negative infinity argument.
30953 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30954 negative infinity argument.
30955 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30956 domain errors.
30957
4c0fe6fe
FW
309582013-05-10 Florian Weimer <fweimer@redhat.com>
30959
30960 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30961 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30962 * iconv/iconv_prog.c (main): Likewise.
30963 * locale/programs/charmap-dir.c (charmap_readdir)
30964 (fopen_uncompressed): Likewise.
30965 * locale/programs/locfile.c (siblings_uncached)
30966 (write_locale_data): Use lstat64 instead of lstat.
30967 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30968 stat.
30969
a3375d29
AJ
309702013-05-10 Andreas Jaeger <aj@suse.de>
30971
30972 [BZ #15395]
30973 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30974 localization.
30975 Include <locale.h>.
30976
36129722
CD
309772013-05-09 Carlos O'Donell <carlos@redhat.com>
30978
30979 * elf/dl-close.c (_dl_close_worker): Add comments.
30980
faa7f811
JM
309812013-05-09 Joseph Myers <joseph@codesourcery.com>
30982
ed41ffef
JM
30983 [BZ #15359]
30984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30985 high part of pi/2.
30986 (__ieee754_rem_pio2l): Update comments.
30987
d0213cd0
JM
30988 [BZ #15429]
30989 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30990 high part of pi/2.
30991 (__ieee754_rem_pio2l): Update comments.
30992
0d3e777a
JM
30993 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30994 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30995
24f56066
JM
30996 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30997 M_PI_4l.
30998
faa7f811
JM
30999 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31000 (M_PI_34_LOG10El): Likewise.
31001 (M_PI2_LOG10El): Likewise.
31002 (M_PI4_LOG10El): Likewise.
31003 (M_PI_LOG10El): Likewise.
31004
e9a5e0fd
AZ
310052013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31006
31007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31008
d8cd06db
JM
310092013-05-08 Joseph Myers <joseph@codesourcery.com>
31010
a0d9f9d7
JM
31011 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31012 (MINUS_ZERO_INIT): Likewise.
31013 (PLUS_INFTY_INIT): Likewise.
31014 (MINUS_INFTY_INIT): Likewise.
31015 (QNAN_VALUE_INIT): Likewise.
31016 (MAX_VALUE_INIT): Likewise.
31017 (MIN_VALUE_INIT): Likewise.
31018 (MIN_SUBNORM_VALUE_INIT): Likewise.
31019 (plus_zero): Initialize with PLUS_ZERO_INIT.
31020 (minus_zero): Initialize with MINUS_ZERO_INIT.
31021 (plus_infty): Initialize with PLUS_INFTY_INIT.
31022 (minus_infty): Initialize with MINUS_INFTY_INIT.
31023 (qnan_value): Initialize with QNAN_VALUE_INIT.
31024 (max_value): Initialize with MAX_VALUE_INIT.
31025 (min_value): Initialize with MIN_VALUE_INIT.
31026 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31027
ae08db3b
JM
31028 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31029 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31030 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31031 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31032
f44bf14a
JM
31033 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31034 (RUN_TEST_2_f): Likewise.
31035 (RUN_TEST_ff_f): Likewise.
31036 (RUN_TEST_fi_f): Likewise.
31037 (RUN_TEST_fl_f): Likewise.
31038 (RUN_TEST_fff_f): Likewise.
31039 (RUN_TEST_c_f): Likewise.
31040 (RUN_TEST_f_f1): Likewise.
31041 (RUN_TEST_fF_f1): Likewise.
31042 (RUN_TEST_fI_f1): Likewise.
31043 (RUN_TEST_ffI_f1): Likewise.
31044 (RUN_TEST_c_c): Likewise.
31045 (RUN_TEST_cc_c): Likewise.
31046 (RUN_TEST_f_i): Likewise.
31047 (RUN_TEST_f_i_tg): Likewise.
31048 (RUN_TEST_ff_i_tg): Likewise.
31049 (RUN_TEST_f_b): Likewise.
31050 (RUN_TEST_f_b_tg): Likewise.
31051 (RUN_TEST_f_l): Likewise.
31052 (RUN_TEST_f_L): Likewise.
31053 (RUN_TEST_sincos): Likewise.
31054 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31055 whether to show exceptions. Do not include ");\n" in return
31056 value.
31057 (special_functions): Output call to RUN_TEST_sincos instead of
31058 check_float calls. Update calls to new_test.
31059 (parse_args): Output call to single RUN_TEST_* macro instead of
31060 check_* calls and other assignments. Update calls to new_test.
31061
d8cd06db
JM
31062 [BZ #2546]
31063 [BZ #2560]
31064 [BZ #5159]
31065 [BZ #15426]
31066 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31067 input to result for tgamma overflow.
31068 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31069 (gamma_coeff): New variable.
31070 (NCOEFF): New macro.
31071 (gamma_positive): New function.
31072 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31073 underflow here. Use gamma_positive instead of exp (lgamma) for
31074 other arguments.
31075 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31076 (gamma_coeff): New variable.
31077 (NCOEFF): New macro.
31078 (gammaf_positive): New function.
31079 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31080 underflow here. Use gamma_positive instead of exp (lgamma) for
31081 other arguments.
31082 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31083 (gamma_coeff): New variable.
31084 (NCOEFF): New macro.
31085 (gammal_positive): New function.
31086 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31087 underflow here. Use gamma_positive instead of exp (lgamma) for
31088 other arguments.
31089 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31090 (gamma_coeff): New variable.
31091 (NCOEFF): New macro.
31092 (gammal_positive): New function.
31093 (__ieee754_gammal_r): Handle positive infinity, overflow and
31094 underflow here. Handle NaN the same as positive infinity. Remove
31095 check x < 0xffffffff for negative integers. Use gamma_positive
31096 instead of exp (lgamma) for other arguments.
31097 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31098 (gamma_coeff): New variable.
31099 (NCOEFF): New macro.
31100 (gammal_positive): New function.
31101 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31102 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31103 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31107 * sysdeps/generic/math_private.h (__gamma_productf): New
31108 prototype.
31109 (__gamma_product): Likewise.
31110 (__gamma_productl): Likewise.
31111 * math/Makefile (libm-calls): Add gamma_product.
31112 * math/libm-test.inc (tgamma_test): Add more tests.
31113 * sysdeps/i386/fpu/libm-test-ulps: Update.
31114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31115
bb7cf681
OB
311162013-05-08 Ondřej Bílka <neleai@seznam.cz>
31117
31118 * benchtests/bench-skeleton.c (main): Preheat CPU.
31119
ba853947
AJ
311202013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31121
31122 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31123
8347c74c
RM
311242013-05-07 Roland McGrath <roland@hack.frob.com>
31125
31126 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31127 and _dl_skip_args_internal.
31128
e8dd4791
CD
311292013-05-07 Carlos O'Donell <carlos@redhat.com>
31130
31131 * manual/message.texi (Message Translation): Talk about users.
31132 Message to key mapping impacts design.
31133
c7405830
RM
311342013-05-06 Roland McGrath <roland@hack.frob.com>
31135
a9173057
RM
31136 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31137
976e2f03
RM
31138 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31139
9723ffc5
RM
31140 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31141 * sysdeps/wordsize-64/glob64.c: ... here.
31142
962e6658
RM
31143 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31144 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31145 New macros.
31146
ee586a6d
RM
31147 * debug/getlogin_r_chk.c: Moved to ...
31148 * login/getlogin_r_chk.c: ... here.
31149 * debug/Makefile (routines): Move getlogin_r_chk to ...
31150 * login/Makefile (routines): ... here.
31151 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31152 * login/Versions (libc: GLIBC_2.4): ... here.
31153
355f9165
RM
31154 * io/poll.c (__poll): Renamed from poll.
31155 Add libc_hidden_def.
31156 (poll): Define as weak alias.
31157
bd9ffde6
RM
31158 * debug/ptsname_r_chk.c: Moved to ...
31159 * login/ptsname_r_chk.c: ... here.
31160 * debug/Makefile (routines): Move ptsname_r_chk to ...
31161 * login/Makefile (routines): ... here.
31162 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31163 * login/Versions (libc: GLIBC_2.4): ... here.
31164
8fb16a04
RM
31165 * posix/getlogin.c: Moved to ...
31166 * login/getlogin.c: ... here.
31167 * posix/getlogin_r.c: Moved to ...
31168 * login/getlogin_r.c: ... here.
31169 * posix/getlogin_r.c: Moved to ...
31170 * login/getlogin_r.c: ... here.
31171 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31172 * login/Makefile (routines): ... here.
31173 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31174 * login/Versions (libc: GLIBC_2.0): ... here.
31175
b99b892f
RM
31176 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31177 (setrlimit): Define as weak alias.
31178
c7405830
RM
31179 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31180 Call __ names for open, ftruncate, and close.
31181 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31182 (truncate): Define as weak alias.
31183
5bf96de5
JM
311842013-05-06 Joseph Myers <joseph@codesourcery.com>
31185
9ea3513c
JM
31186 * math/gen-libm-test.pl (parse_args): Initialize x before each
31187 test of frexp, modf and remquo.
31188
5bf96de5
JM
31189 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31190 test signgam value.
31191
16e616a7
AZ
311922013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31193
31194 [BZ #15418]
31195 [BZ #15419]
31196 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31197 internal tests.
31198 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31199
d5e82754
RM
312002013-05-06 Roland McGrath <roland@hack.frob.com>
31201
31202 * elf/dl-writev.h: New file.
31203 * elf/dl-misc.c: Include it.
31204 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31205 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31206
a7548d41
JM
312072013-05-04 Joseph Myers <joseph@codesourcery.com>
31208
b7dab1e4
JM
31209 * math/libm-test.inc (noXFails): Remove variable.
31210 (noXPasses): Likewise.
31211 (BUILD_COMPLEX_INT): Remove macro.
31212 (print_screen): Remove xfail argument.
31213 (print_screen_max_error): Likewise.
31214 (update_stats): Likewise.
31215 (print_max_error): Likewise. Update calls to other affected
31216 functions.
31217 (print_complex_max_error): Likewise.
31218 (test_single_exception): Update calls to print_screen.
31219 (test_single_errno): Likewise.
31220 (check_float_internal): Remove xfail argument. Update calls to
31221 other affected functions.
31222 (check_float): Likewise.
31223 (check_complex): Likewise.
31224 (check_int): Likewise.
31225 (check_long): Likewise.
31226 (check_bool): Likewise.
31227 (check_longlong): Likewise.
31228 (main): Don't print noXFails and noXPasses.
31229 * math/gen-libm-test.pl (top level): Don't mention expected
31230 failure handling in comment.
31231 (new_test): Don't handle expected failures.
31232 (parse_args): Don't mention expected failure handling in comment.
31233 (generate_testfile): Don't handle expected failures.
31234 (parse_ulps): Likewise.
31235 (print_ulps_file): Likewise.
31236 (get_failure): Remove function.
31237 (output_test): Don't handle expected failures.
31238 * make/README.libm-test: Don't mention expected failure handling.
31239
a7548d41
JM
31240 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31241 (minus_zero): Likewise.
31242 (plus_infty): Likewise.
31243 (minus_infty): Likewise.
31244 (qnan_value): Likewise.
31245 (max_value): Likewise.
31246 (min_value): Likewise.
31247 (min_subnorm_value): Likewise.
31248 (initialize): Do not initialize those variables dynamically.
31249
60bfd54c
RM
312502013-05-03 Roland McGrath <roland@hack.frob.com>
31251
cc0e6ed8
RM
31252 * io/open.c (__open_2): Moved to ...
31253 * io/open_2.c: ... this new file.
31254 * io/open64.c (__open64_2): Moved to ...
31255 * io/open64_2.c: ... this new file.
31256 * io/openat.c (__openat_2): Moved to ...
31257 * io/openat_2.c: ... this new file.
31258 * io/openat64.c (__openat64_2): Moved to ...
31259 * io/openat64_2.c: ... this new file.
31260 * io/Makefile (routines): Add them.
31261 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31262 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31263 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31264 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31265 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31266 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31267 (__openat64): Add hidden_ver.
31268 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31269 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31270
60bfd54c
RM
31271 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31272 Separately conditionalize setting of GLRO(dl_sysinfo) so
31273 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31274 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31275
83e7640f
AZ
312762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31277
31278 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31279 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31280 definition.
31281 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31282 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31283 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31284 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31285 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31286
d5dc2af3
JM
312872013-05-03 Joseph Myers <joseph@codesourcery.com>
31288
c31a5b1e
JM
31289 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31290 test signgam value.
31291
d5dc2af3
JM
31292 * math/libm-test.inc (hypot_test): Do not use
31293 IGNORE_ZERO_INF_SIGN.
31294
164fd39d
AJ
312952013-05-03 Andreas Jaeger <aj@suse.de>
31296
31297 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31298 Linux 3.9.
31299 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31300 (PF_MAX): Adjust for VSOCK change.
31301
8237f48c
AZ
313022013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31303
31304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31305
9df02941
CD
313062013-05-02 Carlos O'Donell <carlos@redhat.com>
31307
31308 [BZ #15264]
31309 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31310 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31311 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31312
d422395e
DM
313132013-05-02 David S. Miller <davem@davemloft.net>
31314
31315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31316
a07c5731
OB
313172013-05-01 Ondřej Bílka <neleai@seznam.cz>
31318
31319 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31320
1324e37f
RM
313212013-05-01 Roland McGrath <roland@hack.frob.com>
31322
31323 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31324
0695940b
RS
313252013-05-01 Richard Smith <richard@metafoo.co.uk>
31326
bb5f27ad 31327 [BZ #14952]
0695940b
RS
31328 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31329 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31330 Use __attribute__ ((__gnu_inline__)).
31331 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31332 Don't use __attribute__ ((__gnu_inline__)).
31333
10de07f5
JM
313342013-05-01 Joseph Myers <joseph@codesourcery.com>
31335
31336 [BZ #15423]
31337 * math/s_catan.c (__catan): Handle small real or imaginary part of
31338 input specially to avoid spurious underflow.
31339 * math/s_catanf.c (__catanf): Likewise.
31340 * math/s_catanh.c (__catanh): Likewise.
31341 * math/s_catanhf.c (__catanhf): Likewise.
31342 * math/s_catanhl.c (__catanhl): Likewise.
31343 * math/s_catanl.c (__catanl): Likewise.
31344 * math/libm-test.inc (catan_test): Add more tests.
31345 (catanh_test): Likewise.
31346 * sysdeps/i386/fpu/libm-test-ulps: Update.
31347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31348
cb4d5414
AZ
313492013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31350
31351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31352
caf84319
JM
313532013-04-30 Joseph Myers <joseph@codesourcery.com>
31354
31355 [BZ #15416]
31356 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31357 accurately for denominator in atan2.
31358 * math/s_catanf.c (__catanf): Likewise.
31359 * math/s_catanh.c (__catanh): Likewise.
31360 * math/s_catanhf.c (__catanhf): Likewise.
31361 * math/s_catanhl.c (__catanhl): Likewise.
31362 * math/s_catanl.c (__catanl): Likewise.
31363 * math/libm-test.inc (catan_test): Add more tests.
31364 (catanh_test): Likewise.
31365 * sysdeps/i386/fpu/libm-test-ulps: Update.
31366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31367
d569c6ee
SP
313682013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31369
6dbe713d
SP
31370 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31371
f0ee064b
SP
31372 * benchtests/Makefile (bench): Remove slow benchmarks.
31373 * benchtests/atan-inputs: Add slow benchmark inputs.
31374 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31375 (BENCH_FUNC): Accept variant offset.
31376 (VARIANT): Define.
31377 * benchtests/bench-skeleton.c (main): Run benchmark for each
31378 variant.
31379 * benchtests/cos-inputs: Add slow benchmark inputs.
31380 * benchtests/exp-inputs: Likewise.
31381 * benchtests/pow-inputs: Likewise.
31382 * benchtests/sin-inputs: Likewise.
31383 * benchtests/slowatan-inputs: Remove.
31384 * benchtests/slowatan.c: Remove.
31385 * benchtests/slowcos-inputs: Remove.
31386 * benchtests/slowcos.c: Remove.
31387 * benchtests/slowexp-inputs: Remove.
31388 * benchtests/slowexp.c: Remove.
31389 * benchtests/slowpow-inputs: Remove.
31390 * benchtests/slowpow.c: Remove.
31391 * benchtests/slowsin-inputs: Remove.
31392 * benchtests/slowsin.c: Remove.
31393 * benchtests/slowtan-inputs: Remove.
31394 * benchtests/slowtan.c: Remove.
31395 * benchtests/tan-inputs: Add slow benchmark inputs.
31396 * scripts/bench.pl: Parse comments and directives.
31397
d569c6ee
SP
31398 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31399 in CPPFLAGS.
31400 ($(objpfx)bench-%.c): Remove *-ITER.
31401 * benchtests/bench-modf.c: Remove definition of ITER.
31402 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31403 (main): Loop for DURATION seconds instead of fixed number of
31404 iterations.
31405 * scripts/bench.pl: Don't expect iterations in parameters.
31406
a6a242fe
RM
314072013-04-29 Roland McGrath <roland@hack.frob.com>
31408
31409 * io/fchdir.c (__fchdir): Renamed from fchdir.
31410 (fchdir): Define as weak alias.
31411
f2da7793
JM
314122013-04-29 Joseph Myers <joseph@codesourcery.com>
31413
31414 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31415 (ERRNO_EDOM): Likewise.
31416 (ERRNO_ERANGE): Likewise.
31417 (noErrnoTests): New variable.
31418 (init_max_error): Set errno to 0.
31419 (test_single_errno): New function.
31420 (test_errno): Likewise.
31421 (check_float_internal): Call test_errno. Set errno to 0.
31422 (check_complex): Refer to errno tests in comment.
31423 (check_int): Call test_errno. Set errno to 0.
31424 (check_long): Likewise.
31425 (check_bool): Likewise.
31426 (check_longlong): Likewise.
31427 (cos_test): Use ERRNO_* flags for errno tests instead of
31428 check_int.
31429 (expm1_test): Likewise.
31430 (fmod_test): Likewise.
31431 (ilogb_test): Likewise.
31432 (lgamma_test): Likewise.
31433 (pow_test): Likewise.
31434 (remainder_test): Likewise.
31435 (sin_test): Likewise.
31436 (tan_test): Likewise.
31437 (yn_test): Likewise.
31438 (initialize): Set errno to 0.
31439 (main): Print number of errno tests.
31440 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31441
b1a36ceb
AJ
314422013-04-29 Andreas Jaeger <aj@suse.de>
31443
c3ed8088
AJ
31444 [BZ #15084]
31445 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31446 and RES_USEVC.
31447
f1a24198
AJ
31448 [BZ #15085]
31449 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31450 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31451 unimplemented.
31452
9ce3b2cb
AJ
31453 [BZ #15380]
31454 * stdlib/random.c (__initstate): Return NULL if
31455 __initstate fails.
31456
f1a24198 31457 [BZ #15086]
b1a36ceb
AJ
31458 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31459 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31460 RES_SNGLKUPREOP.
31461
7e7b6f36
AZ
314622013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31463
31464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31465
4d14f449
JM
314662013-04-29 Joseph Myers <joseph@codesourcery.com>
31467
31468 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31469 of individual tests.
31470 (casin_test): Likewise.
31471 (casinh_test): Likewise.
31472
5b4217d7
JM
314732013-04-27 Joseph Myers <joseph@codesourcery.com>
31474
31475 [BZ #15409]
31476 * math/s_catan.c (__catan): Handle arguments with large real or
31477 imaginary part separately without squaring.
31478 * math/s_catanf.c (__catanf): Likewise.
31479 * math/s_catanh.c (__catanh): Likewise.
31480 * math/s_catanhf.c (__catanhf): Likewise.
31481 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31482 and redefine.
31483 (__catanhl): Handle arguments with large real or imaginary part
31484 separately without squaring.
31485 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31486 and redefine.
31487 (__catanl): Handle arguments with large real or imaginary part
31488 separately without squaring.
31489 * math/libm-test.inc (catan_test): Add more tests.
31490 (catanh_test): Likewise.
31491 * sysdeps/i386/fpu/libm-test-ulps: Update.
31492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31493
4220c3ef
AJ
314942013-04-27 Andreas Jaeger <aj@suse.de>
31495
31496 [BZ #15007]
31497 * stdlib/stdlib.h: Update guards for qecvt.
31498 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31499 <stdlib.h>.
31500
4721b2d1
AM
315012013-04-27 Allan McRae <allan@archlinux.org>
31502
31503 * sysdeps/i386/fpu/libm-test-ulps: Update.
31504
f0302940
JM
315052013-04-26 Joseph Myers <joseph@codesourcery.com>
31506
9457fd95
JM
31507 [BZ #15406]
31508 * math/s_catan.c: Include <float.h>.
31509 (__catan): Ensure underflow exception occurs for underflowed
31510 result.
31511 * math/s_catanf.c: Include <float.h>.
31512 (__catanf): Ensure underflow exception occurs for underflowed
31513 result.
31514 * math/s_catanh.c: Include <float.h>.
31515 (__catanh): Ensure underflow exception occurs for underflowed
31516 result.
31517 * math/s_catanhf.c: Include <float.h>.
31518 (__catanhf): Ensure underflow exception occurs for underflowed
31519 result.
31520 * math/s_catanhl.c: Include <float.h>.
31521 (__catanhl): Ensure underflow exception occurs for underflowed
31522 result.
31523 * math/s_catanl.c: Include <float.h>.
31524 (__catanl): Ensure underflow exception occurs for underflowed
31525 result.
31526 * math/libm-test.inc (catan_test): Add more tests.
31527 (catanh_test): Likewise.
31528
f0302940
JM
31529 [BZ #15405]
31530 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31531 underflowed result.
31532 * math/s_ccoshf.c (__ccoshf): Likewise.
31533 * math/s_ccoshl.c (__ccoshl): Likewise.
31534 * math/s_csin.c (__csin): Likewise.
31535 * math/s_csinf.c (__csinf): Likewise.
31536 * math/s_csinh.c (__csinh): Likewise.
31537 * math/s_csinhf.c (__csinhf): Likewise.
31538 * math/s_csinhl.c (__csinhl): Likewise.
31539 * math/s_csinl.c (__csinl): Likewise.
31540 * math/libm-test.inc (ccos_test): Add more tests.
31541 (ccosh_test): Likewise.
31542 (csin_test): Likewise.
31543 (csinh_test): Likewise.
31544
aa630f59
AZ
315452013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31546
31547 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31548 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31549 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31550 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31551 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31552 powerpc/power5+/fpu folders.
31553 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31554
31555
1b835983
MT
315562013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31557
31558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31559
73709b26
JM
315602013-04-25 Joseph Myers <joseph@codesourcery.com>
31561
31562 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31563 additions to variable.
31564 [$(config-machine) = x86_64] (modules-names): Likewise.
31565 ($(objpfx)tst-audit3): Remove dependency.
31566 ($(objpfx)tst-audit3.out): Likewise.
31567 ($(objpfx)tst-audit4): Likewise.
31568 ($(objpfx)tst-audit4.out): Likewise.
31569 ($(objpfx)tst-audit5): Likewise.
31570 ($(objpfx)tst-audit5.out): Likewise.
31571 ($(objpfx)tst-audit6): Likewise.
31572 ($(objpfx)tst-audit6.out): Likewise.
31573 ($(objpfx)tst-audit7): Likewise.
31574 ($(objpfx)tst-audit7.out): Likewise.
31575 (tst-audit3-ENV): Remove variable.
31576 (tst-audit4-ENV): Likewise.
31577 (tst-audit5-ENV): Likewise.
31578 (tst-audit6-ENV): Likewise.
31579 (tst-audit7-ENV): Likewise.
31580 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31581 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31582 addition to variable.
31583 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31584 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31585 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31586 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31587 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31588 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31589 tst-audit3, tst-audit4 and tst-audit5.
31590 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31591 tst-audit6 and tst-audit7.
31592 [$(subdir) = elf] (modules-names): Add audit modules for those
31593 tests.
31594 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31595 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31596 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31597 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31598 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31599 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31600 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31601 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31602 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31603 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31604 [$(subdir) = elf] (tst-audit3-ENV): New variable.
31605 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31606 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31607 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31608 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31609 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31610 Likewise.
31611 [$(subdir) = elf && $(config-cflags-avx) = yes]
31612 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31613 [$(subdir) = elf && $(config-cflags-avx) = yes]
31614 (CFLAGS-tst-auditmod4a.c): Likewise.
31615 [$(subdir) = elf && $(config-cflags-avx) = yes]
31616 (CFLAGS-tst-auditmod4b.c): Likewise.
31617 [$(subdir) = elf && $(config-cflags-avx) = yes]
31618 (CFLAGS-tst-auditmod6b.c): Likewise.
31619 [$(subdir) = elf && $(config-cflags-avx) = yes]
31620 (CFLAGS-tst-auditmod6c.c): Likewise.
31621 [$(subdir) = elf && $(config-cflags-avx) = yes]
31622 (CFLAGS-tst-auditmod7b.c): Likewise.
31623 * elf/tst-audit3.c: Move to ...
31624 * sysdeps/x86_64/tst-audit3.c: ... here.
31625 * elf/tst-audit4.c: Move to ...
31626 * sysdeps/x86_64/tst-audit4.c: ... here.
31627 * elf/tst-audit5.c: Move to ...
31628 * sysdeps/x86_64/tst-audit5.c: ... here.
31629 * elf/tst-audit6.c: Move to ...
31630 * sysdeps/x86_64/tst-audit6.c: ... here.
31631 * elf/tst-audit7.c: Move to ...
31632 * sysdeps/x86_64/tst-audit7.c: ... here.
31633 * elf/tst-auditmod3a.c: Move to ...
31634 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31635 * elf/tst-auditmod3b.c: Move to ...
31636 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31637 * elf/tst-auditmod4a.c: Move to ...
31638 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31639 * elf/tst-auditmod4b.c: Move to ...
31640 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31641 * elf/tst-auditmod5a.c: Move to ...
31642 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31643 * elf/tst-auditmod5b.c: Move to ...
31644 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31645 * elf/tst-auditmod6a.c: Move to ...
31646 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31647 * elf/tst-auditmod6b.c: Move to ...
31648 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31649 * elf/tst-auditmod6c.c: Move to ...
31650 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31651 * elf/tst-auditmod7a.c: Move to ...
31652 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31653 * elf/tst-auditmod7b.c: Move to ...
31654 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31655
1ef74943
PP
316562013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31657
31658 [BZ #15366]
31659 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31660 define unconditionally.
31661 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31662 define unconditionally.
31663 (INT8_C, INT16_C, etc.): Likewise.
31664
93fd48c5
MR
316652013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
31666
ae9552cf
MR
31667 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31668 __ehdr_start with hidden visibility.
31669
93fd48c5
MR
31670 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31671
418601aa
CD
316722013-04-24 Carlos O'Donell <carlos@redhat.com>
31673
31674 * math/libm-test.inc (cos_test): Use accurate hex constants.
31675 (sincost_test): Likewise.
31676
2f38fbfe
JM
316772013-04-24 Joseph Myers <joseph@codesourcery.com>
31678
5e221800
JM
31679 * math/libm-test.inc (catan_test): Add more tests.
31680 (catanh_test): Likewise.
31681
77f143fd
JM
31682 * math/s_catanf.c (__catanf): Use suffixed floating-point
31683 constants.
31684 * math/s_catanhf.c (__catanhf): Likewise.
31685 * math/s_catanhl.c (__catanhl): Likewise.
31686 * math/s_catanl.c (__catanl): Likewise.
31687
2f38fbfe
JM
31688 [BZ #15394]
31689 * math/s_catan.c (__catan): Calculate imaginary part of result
31690 with log1p not log unless computing log of number close to 0.
31691 * math/s_catanf.c (__catanf): Likewise.
31692 * math/s_catanl.c (__catanl): Likewise.
31693 * math/s_catanh.c (__catanh): Calculate real part of result with
31694 log1p not log unless computing log of number close to 0.
31695 * math/s_catanhf.c (__catanhf): Likewise.
31696 * math/s_catanhl.c (__catanhl): Likewise.
31697 * math/libm-test.inc (catan_test): Add more tests.
31698 (catanh_test): Likewise.
31699 * sysdeps/i386/fpu/libm-test-ulps: Update.
31700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31701
45d69176
SP
317022013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31703
31704 * benchtests/Makefile: Mention files in which fast and slow
31705 paths of math functions are implemented.
31706
87f51853
RM
317072013-04-23 Roland McGrath <roland@hack.frob.com>
31708
31709 * sysdeps/posix/timespec_get.c: New file.
31710
3c026539
AZ
317112013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31712
31713 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31714 POWER.
31715 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31716 for POWER.
31717 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31718 powerpc/power5/fpu folders.
31719 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31720 * benchtests/Makefile: Add modf testcase.
31721 * benchtests/bench-modf.c: New file: Benchmark test for mo
31722
ff491d14
SP
317232013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31724
31725 [BZ #14888]
31726 * time/Makefile (tests): Add tst-strptime-whitespace.
31727 * time/strptime_l.c (get_number): Use ISSPACE.
31728 (__strptime_internal): Likewise.
31729 * time/tst-strptime-whitespace.c: New test case.
31730
7ed3f4e8
AS
317312013-04-23 Andreas Schwab <schwab@linux-m68k.org>
31732
31733 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31734 member.
31735 (_nss_files_init): Set it here.
31736
5c95f7b6
HC
317372013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
31738
31739 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31740 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31741 unsigned.
31742
d34c9158
JBG
317432013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
31744
31745 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31746
2169712d
SP
317472013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31748
31749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31750 size just once.
31751
29c5de99
DM
317522013-04-21 David S. Miller <davem@davemloft.net>
31753
31754 * po/ru.po: Update Russion translation from translation project.
31755
ccdad15d
AC
317562013-04-17 Adam Conrad <adconrad@0c3.net>
31757
31758 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31759 and setfsgid.
31760
0f122b8d
CD
317612013-04-17 Carlos O'Donell <carlos@redhat.com>
31762
5c5b07da 31763 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 31764 * configure: Regenerate.
5c5b07da 31765 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
31766 Add example to error message.
31767 * sysdeps/i386/configure: Regenerate.
31768
037714dd
SP
317692013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31770
31771 * benchtests/Makefile (bench): Add cos, tan, slowcos and
31772 slowtan.
31773 * benchtests/cos-inputs: New file.
31774 * benchtests/slowcos-inputs: New file.
31775 * benchtests/slowcos.c: New file.
31776 * benchtests/slowtan-inputs: New file.
31777 * benchtests/slowtan.c: New file.
31778 * benchtests/tan-inputs: New file.
31779
e913141d
RM
317802013-04-16 Roland McGrath <roland@hack.frob.com>
31781
31782 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31783 considered kosher.
31784
a2964074
SP
317852013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31786
4856bcd2
SP
31787 * benchtests/Makefile: Include cppflags-iterator.mk to add
31788 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31789
a2964074
SP
31790 * Makefile.in (bench-clean): New target.
31791 * benchtests/Makefile (bench-clean): Likewise.
31792
9fbf9aca
DH
317932013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
31794
31795 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31796
207d1e2a
TS
317972013-04-15 Thomas Schwinge <thomas@codesourcery.com>
31798
31799 * stdio-common/tstdiomisc.c: Fix coding-style violation.
31800
306dfba9
AS
318012013-04-15 Andreas Schwab <schwab@suse.de>
31802
31803 * nscd/grpcache.c (cache_addgr): Properly check for short write.
31804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31805 * nscd/pwdcache.c (cache_addpw): Likewise.
31806 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
31807 more than recsize.
31808
206a6699
SP
318092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31810
31811 * benchtests/Makefile (bench): Write all output to
31812 bench-out.tmp together.
31813
0582f6b3
AS
318142013-04-15 Andreas Schwab <schwab@suse.de>
31815
31816 * nscd/nscd.c (main): Don't fork again after closing files.
31817
acb4325f
SP
318182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31819
5cb26d0a
SP
31820 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31821
acb4325f
SP
31822 * benchtests/Rules (bench-deps): Collect dependencies into a
31823 single variable. Add Makefile to dependencies.
31824 ($(objpfx)bench-%.c): Depend on bench-deps.
31825
47792506
RM
318262013-04-12 Roland McGrath <roland@hack.frob.com>
31827 Xavier Roche <roche+kml2@exalead.com>
31828
31829 [BZ #15361]
31830 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31831 just that it's a file descriptor.
31832 * manual/llio.texi (Synchronizing AIO Operations): Update description
31833 for EBADF error from aio_fsync.
31834
8fc1bee5
SP
318352013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31836
31837 * Rules (bench): Move target definition...
31838 * benchtests/Makefile: ... here.
31839
aba5e333
CD
318402013-04-11 Carlos O'Donell <carlos@redhat.com>
31841
31842 * math/libm-test.inc (cos_test): Fix PI/2 test.
31843 (sincos_test): Likewise.
31844 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31845 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31846
273cdee8
AS
318472013-04-11 Andreas Schwab <schwab@suse.de>
31848
6ecec3b6
AS
31849 [BZ #13988]
31850 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31851 accept exponent character only when digits were seen.
31852 * stdio-common/Makefile (tests): Add bug26.
31853 * stdio-common/bug26.c: New file.
31854
273cdee8
AS
31855 [BZ #14293]
31856 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31857 non-freeable.
31858
8da491f5
SP
318592013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31860
01dc6df9
SP
31861 * Makeconfig (rtld-prefix): Define built linker prefix.
31862 * Rules (run-bench): Use it.
31863 * math/Makefile (run-regen-ulps): Likewise.
31864
8da491f5
SP
31865 * Rules (bench): Remove eval.
31866
abe7f530
SP
318672013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31868 Roland McGrath <roland@hack.frob.com>
31869 Ondrej Bilka <neleai@seznam.cz>
31870
31871 [BZ #15346]
31872 * time/getdate.c: Include ctype.h and alloca.h.
31873 (__getdate_r): Trim leading and trailing spaces of input.
31874 * time/tst-getdate.c (tests): Add tests with leading and
31875 trailing spaces.
31876
61c23e62
RM
318772013-04-08 Roland McGrath <roland@hack.frob.com>
31878
31879 [BZ #14280]
31880 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31881 when computing value.
31882
7208a313
CD
318832013-04-06 Carlos O'Donell <carlos@redhat.com>
31884
085b2d41
CD
31885 * math/README.libm-test (How can I generate "libm-test-ulps"?):
31886 Use testrun.sh to run libm tests.
31887
7208a313
CD
31888 [BZ #15309]
31889 * elf/dl-open.c (dl_open_worker): memset all of seen array.
31890
872c0acd
MM
318912013-04-06 Marko Myllynen <myllynen@redhat.com>
31892
31893 [BZ #15264]
31894 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31895
26510bdd
CD
318962013-04-06 Carlos O'Donell <carlos@redhat.com>
31897
31898 * Makefile.in (regen-ulps): New target.
31899 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31900 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31901 [ifneq (no,$(PERL)] (regen-ulps): New target.
31902 [ifeq (no,$(PERL)] (regen-ulps): New target.
31903 * math/libm-test.inc (ulps_file_name): Define.
31904 (output_dir): New variable.
31905 (options): Add "output-dir" option.
31906 (parse_opt): Handle 'o' case.
31907 (main): If output_dir is non-NULL use it as a prefix
31908 otherwise use "".
31909 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31910
a01f19c8
CD
319112013-04-06 Carlos O'Donell <carlos@redhat.com>
31912
31913 [BZ #10060, #10062]
31914 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31915 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31916 fail configure if __sync_val_compare_and_swap is not inlined.
31917 * sysdeps/i386/configure: Regenerate.
31918 * configure.in: Build for i686 when configured for i386.
31919 * configure: Regenerate.
31920 * README: Remove i386 reference.
31921
b7a329a5
CD
319222013-04-06 Carlos O'Donell <carlos@redhat.com>
31923
31924 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31925 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31926
bf0f50df
TS
319272013-04-05 Thomas Schwinge <thomas@codesourcery.com>
31928
ee091edf
TS
31929 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31930 (lmsnanval): New variables.
31931 (F): Add conversion tests.
31932 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31933 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31934
a8b792d6
TS
31935 * stdio-common/tstdiomisc.c (F): Properly collect individual
31936 tests' results.
31937
a1cbf437
TS
31938 [BZ #14686, #15336]
31939 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31940 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31941 Instead, use input NaN values or generate a qNaN by arithmetic
31942 operation. Also fix bugs to comply with the standard.
31943 * math/libm-test.inc (remainder_test): Add more tests.
31944
8b43a0c9
TS
31945 [BZ #15335, #15342]
31946 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31948 input NaN values or generate a qNaN by arithmetic operation.
31949
d91da4ce
TS
31950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31951 unreachable code.
31952
bf0f50df
TS
31953 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31954 definitions.
31955
05e166c8
JM
319562013-04-03 Joseph Myers <joseph@codesourcery.com>
31957
31958 [BZ #14478]
31959 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31960 underflowed result.
31961 * math/s_cexpf.c (__cexpf): Likewise.
31962 * math/s_cexpl.c (__cexpl): Likewise.
31963 * math/libm-test.inc (cexp_test): Add more tests.
31964
1cef1b19
AS
319652013-04-03 Andreas Schwab <schwab@suse.de>
31966
31967 [BZ #15330]
31968 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31969 order arrays from heap if bigger than alloca cutoff.
31970
74d87055
TS
319712013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31972
31973 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31974 (SNAN_TESTS_double): Refer to GCC PR56831.
31975 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31976 GCC PR56828.
31977
d755bba4
SP
319782013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31979
90d5d5bb
SP
31980 * Rules (bench): Move bench.out after the run is complete.
31981
73e0cd5d
SP
31982 * Rules (bench): Echo currently running benchmark.
31983
64aabd4b
SP
31984 * benchtests/Makefile (bench): Add atan and slowatan.
31985 * benchtests/atan-inputs: New file.
31986 * benchtests/slowatan-inputs: New file.
31987 * benchtests/slowatan.c: New file.
31988
c871eccd
SP
31989 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31991 its value.
31992
d755bba4
SP
31993 [BZ #15305]
31994 * sysdeps/unix/sysv/linux/kernel-features.h
31995 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31996 __ASSUME_XFS_RESTRICTED_CHOWN.
31997 * sysdeps/unix/sysv/linux/pathconf.c
31998 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31999 Save and restore errno.
32000
52ce4860
JM
320012013-04-02 Joseph Myers <joseph@codesourcery.com>
32002
32003 [BZ #15327]
32004 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32005 arguments using __kernel_casinh.
32006 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32007 arguments using __kernel_casinhf.
32008 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32009 arguments using __kernel_casinhl.
32010 * math/libm-test.inc (cacosh_test): Add more tests.
32011 * sysdeps/i386/fpu/libm-test-ulps: Update.
32012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32013
81f311c2
SP
320142013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32015
e7906a47
SP
32016 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32018
92e3664b
SP
32019 * bench/Makefile (bench): Add sin and slowsin.
32020 * benchtests/sin-inputs: New file.
32021 * benchtests/slowsin-inputs: New file.
32022 * benchtests/slowsin.c: New file.
32023
81f311c2
SP
32024 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32025 (bench): Add slowexp and slowpow.
32026 (exp-ITER): Increase iterations.
32027 (pow-ITER): Likewise.
32028 * benchtests/exp-inputs: Change input.
32029 * benchtests/pow-inputs: Likewise.
32030 * benchtests/slowexp-inputs: New file.
32031 * benchtests/slowexp.c: New file.
32032 * benchtests/slowpow-inputs: New file.
32033 * benchtests/slowpow.c: New file.
32034
ab0f1aa9
AZ
320352013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32036
32037 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32038 instructions.
32039 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32040 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32041 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32042 * benchtests/Makefile: Add rint benchtest.
32043 * benchtests/rint-inputs: Input for rint benchtest.
32044
57267616
TS
320452013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32046
32047 * Versions.def (libm): Add GLIBC_2.18.
32048 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32049 hidden libm prototypes.
32050 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32051 * math/Makefile (libm-calls): Add s_issignaling.
32052 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32053 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32054 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32055 declaration.
32056 * math/math.h [__USE_GNU] (issignaling): New macro.
32057 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32058 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32059 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32060 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32061 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32062 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32063 * manual/arith.texi (issignaling): New section.
32064 * manual/libm-err-tab.pl (@all_functions): Update comment.
32065 * math/gen-libm-test.pl (parse_args): Apply special handling for
32066 issignaling.
32067 * math/libm-test.inc (print_float, issignaling_test): New
32068 functions.
32069 (check_float_internal): Add issignaling checks.
32070 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32071 default definition.
32072 * sysdeps/powerpc/math-tests.h: New file.
32073 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32074 tests.
32075 * math/test-snan.c (TEST_FUNC): Likewise.
32076
6142896d
DM
320772013-03-30 David S. Miller <davem@davemloft.net>
32078
32079 * po/de.po: Update from translation team.
32080
ccc8cadf
JM
320812013-03-30 Joseph Myers <joseph@codesourcery.com>
32082
32083 [BZ #10357]
32084 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32085 imaginary part less than 1.0 and real part less than 0.5
32086 specially.
32087 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32088 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32089 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32090 (cacos_test): Add more tests.
32091 (casin_test): Likewise.
32092 (casinh_test): Likewise.
32093 * sysdeps/i386/fpu/libm-test-ulps: Update.
32094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32095
0f6a8d4b
SP
320962013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32097
0d1029de
SP
32098 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32099 ONE with its value.
32100
c2d94018
SP
32101 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32102 (__pow_mp): Replace ONE and MONE with their values.
32103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32105 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32106 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32107 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32108 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32109
27ec37f1
SP
32110 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32111
a64d7e0e
SP
32112 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32113 (__pow_mp): Replace ZERO and MZERO with their values.
32114 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32115 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32116 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32118 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32119 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32120 (__sqr): Likewise.
32121
d26dd3eb
SP
32122 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32123
0f6a8d4b
SP
32124 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32125
e57b0c61
RM
321262013-03-28 Roland McGrath <roland@hack.frob.com>
32127
32128 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32129 Declare with __attribute__ ((weak)).
32130 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32131 Call __call_tls_dtors only if it's not NULL.
32132
356b3480
RM
321332013-03-28 Roland McGrath <roland@hack.frob.com>
32134
288f7d79
RM
32135 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32136 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32137 magic __ehdr_start linker symbol if it's defined.
32138 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32139 them up here if it was already done.
32140
dc0a0263
RM
32141 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32142 (_dl_aux_init): Use const in cast when setting it.
32143 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32144 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32145 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32146
3d3436ae
RM
32147 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32148 Declare them here.
32149 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32150 * csu/libc-tls.c: Nor here.
32151 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32152
356b3480
RM
32153 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32154 (__libc_message): Never call vsyslog.
32155
b0f1246a
AM
321562013-03-28 Alan Modra <amodra@gmail.com>
32157
32158 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32159 Define as empty.
32160 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32161 Likewise.
32162
fbbe2b9a
AZ
321632013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32164
32165 [BZ #15214]
32166 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32167 underflow.
32168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32169
1728ab37
SP
321702013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32171
7a86be6e
SP
32172 [BZ #15304]
32173 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32174 Don't add gid passed as argument.
32175
1728ab37
SP
32176 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32177
3a7182a1
JM
321782013-03-27 Joseph Myers <joseph@codesourcery.com>
32179
32180 [BZ #15307]
32181 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32182 imaginary part between 1.0 and 1.5 and real part less than 0.5
32183 specially.
32184 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32185 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32186 * math/libm-test.inc (cacos_test): Add more tests.
32187 (casin_test): Likewise.
32188 (casinh_test): Likewise.
32189 * sysdeps/i386/fpu/libm-test-ulps: Update.
32190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32191
6f2e90e7
SP
321922013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32193
5739f705
SP
32194 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32195 constants.
32196 (norm): Likewise.
32197 (denorm): Likewise.
32198 (__dbl_mp): Likewise.
32199 (add_magnitudes): Likewise.
32200 (sub_magnitudes): Likewise.
32201 (__add): Likewise.
32202 (__sub): Likewise.
32203 (__mul): Likewise.
32204 (__sqr): Likewise.
32205 (__inv): Likewise.
32206 (__dvd): Likewise.
32207
e375e83d
SP
32208 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32209 commented code.
32210 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32211 (__dubcos): Likewise.
32212 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32213 (__ieee754_acos): Likewise.
32214 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32216 (__exp1): Likewise.
32217 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32219 (log1): Likewise.
32220 (my_log2): Likewise.
32221 (checkint): Likewise.
32222 * sysdeps/ieee754/dbl-64/e_remainder.c
32223 (__ieee754_remainder): Likewise.
32224 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32226 (bsloww): Likewise.
32227 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32228
6f2e90e7
SP
32229 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32230 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32231 MANTISSA_STORE_T to store computations on mantissa. Use
32232 macros for rounding and division.
32233 (denorm): Likewise.
32234 (__dbl_mp): Likewise.
32235 (add_magnitudes): Likewise.
32236 (sub_magnitudes): Likewise.
32237 (__mul): Likewise.
32238 (__sqr): Likewise.
32239 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32240 powers of two in terms of TWOPOW macro.
32241 (mp_no): Make type of mantissa as MANTISSA_T.
32242 [!RADIXI]: Define RADIXI.
32243 [!TWO52]: Define TWO52.
32244 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32245
fce14d4e
AZ
322462013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32247
32248 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32249 llroundl symbol when building for PPC32.
32250
9ad027fb
MW
322512013-03-24 Mark H Weaver <mhw@netris.org>
32252
32253 * manual/arith.texi (Normalization Functions): Fix prototypes for
32254 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32255
e42a38dd
AZ
322562013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32257
32258 [BZ #13889]
32259 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32260 high value to check if expl overflow.
32261 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32262 to check for underflow and overflow.
32263 * math/libm-test.inc: Add exp test.
32264
2e0fb521
DL
322652013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32266
32267 [BZ #11120]
32268 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32269 with NOT_IN_libc.
32270
b5784d95
AZ
322712013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32272
32273 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32274 symbol.
32275
5aa4a1a1
TS
322762013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32277
bdef0be7
TS
32278 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32279 wrap blocks consisting of several statements.
32280
5aa4a1a1
TS
32281 * sysdeps/generic/math-tests.h: New file.
32282 * sysdeps/i386/fpu/math-tests.h: Likewise.
32283 * math/test-snan.c: Include it.
32284 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32285
98c48fe5
JM
322862013-03-21 Joseph Myers <joseph@codesourcery.com>
32287
32288 [BZ #15285]
32289 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32290 (__ieee754_j0l): Do not improve calculations using cos of twice
32291 input for inputs above LDBL_MAX / 2.0L.
32292 (__ieee754_y0l): Likewise.
32293 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32294 (__ieee754_j1l): Do not improve calculations using cos of twice
32295 input for inputs above LDBL_MAX / 2.0L.
32296 (__ieee754_y1l): Likewise.
32297 * math/libm-test.inc (j0_test): Add another test.
32298 (j1_test): Likewise.
32299 (y0_test): Likewise.
32300 (y1_test): Likewise.
32301 * sysdeps/i386/fpu/libm-test-ulps: Update.
32302
3775a8bc
SP
323032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32304
32305 * Rules ($(objpfx)bench-%.c): Include code from a C source
32306 file.
32307
0a1b2ae6
JM
323082013-03-21 Joseph Myers <joseph@codesourcery.com>
32309
32310 [BZ #15287]
32311 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32312 imaginary part 1.0 and real part less than 0.5 specially.
32313 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32314 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32315 * math/libm-test.inc (cacos_test): Add more tests.
32316 (casin_test): Likewise.
32317 (casinh_test): Likewise.
32318 * sysdeps/i386/fpu/libm-test-ulps: Update.
32319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32320
b33d4ce4
SP
323212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32322
32323 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32324 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32325
bef0b507
JM
323262013-03-20 Joseph Myers <joseph@codesourcery.com>
32327
32328 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32329 * config.make.in (config-cflags-sse4): Remove variable.
32330 (config-cflags-avx): Likewise.
32331 (config-cflags-sse2avx): Likewise.
32332 (config-cflags-novzeroupper): Likewise.
32333 (config-asflags-i686): Likewise.
32334 (have-mfma4): Likewise.
32335 (have-as-vis3): Likewise.
32336 (MIG): Likewise.
32337 * configure.in (MIG): Do not AC_SUBST.
32338 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32339 (libc_cv_cc_sse4): Do not AC_SUBST.
32340 (libc_cv_cc_avx): Likewise.
32341 (libc_cv_cc_sse2avx): Likewise.
32342 (libc_cv_cc_novzeroupper): Likewise.
32343 (libc_cv_cc_fma4): Likewise.
32344 (libc_cv_as_i686): Likewise.
32345 (libc_cv_sparc_as_vis3): Likewise.
32346 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32347 LIBC_CONFIG_VAR.
32348 (config-asflags-i686): Likewise.
32349 (config-cflags-avx): Likewise.
32350 (config-cflags-sse2avx): Likewise.
32351 (have-mfma4): Likewise.
32352 (config-cflags-novzeroupper): Likewise.
32353 * sysdeps/mach/configure.in (MIG): Likewise.
32354 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32355 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32356 LIBC_CONFIG_VAR.
32357 (config-cflags-avx): Likewise.
32358 (config-cflags-sse2avx): Likewise.
32359 (have-mfma4): Likewise.
32360 (config-cflags-novzeroupper): Likewise.
32361 * configure: Regenerated.
32362 * sysdeps/i386/configure: Likewise.
32363 * sysdeps/mach/configure: Likewise.
32364 * sysdeps/sparc/configure: Likewise.
32365 * sysdeps/x86_64/configure: Likewise.
32366
912cc4b3
RM
323672013-03-20 Roland McGrath <roland@hack.frob.com>
32368
32369 [BZ #14812]
32370 * locale/programs/localedef.c (options): Put N_ translation marker
32371 on argument names, not just descriptions.
32372
04eed2b0
MS
323732013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32374
32375 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32376
a065ceff
OB
323772013-03-20 Ondřej Bílka <neleai@seznam.cz>
32378
9bb2a810 32379 [BZ #14176]
a065ceff
OB
32380 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32381
a600e5ce
RM
323822013-03-19 Roland McGrath <roland@hack.frob.com>
32383
32384 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32385 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32386 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32387 [!BEFORE_ABORT] (before_abort): New function.
32388 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32389 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32390 (writev_for_fatal): New function.
32391 (WRITEV_FOR_FATAL): New macro; call that.
32392 (backtrace_and_maps): New function.
32393 (BEFORE_ABORT): New macro; call that.
32394 (struct str_list): Type removed.
32395 (__libc_message, __libc_fatal): Functions removed.
32396 Include <sysdeps/posix/libc_fatal.c> instead.
32397
6b18bea6
JM
323982013-03-19 Joseph Myers <joseph@codesourcery.com>
32399
32400 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32401 constants.
32402 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32403 double constants.
32404
aaa8cb4b
AS
324052013-03-19 Andreas Schwab <schwab@suse.de>
32406
44673770
AS
32407 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32408 * sysdeps/gnu/configure: Regenerate.
32409
aaa8cb4b
AS
32410 * configure.in: Substitute libc_cv_rtlddir.
32411 * configure: Regenerate.
32412 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32413 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32414 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32415 * elf/Makefile (install-others, CFLAGS-interp.c)
32416 (ldso_install, common-ldd-rewrite): Likewise.
32417 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32418 $(inst_slibdir)/$(rtld-installed-name).
32419 * scripts/rellns-sh: Add -p option.
32420 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32421 for source.
32422
d3cfc668
SP
324232013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32424
32425 * manual/nptl.texi: Renamed to ...
32426 * manual/threads.texi: ... this.
32427 * manual/Makefile (chapters): Update.
32428
0e2b9cdd
RM
324292013-03-18 Roland McGrath <roland@hack.frob.com>
32430
32431 [BZ #14812]
32432 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32433 on argument names, not just descriptions.
0e2b9cdd
RM
32434 * malloc/memusagestat.c (options): Likewise.
32435 * nss/getent.c (options): Likewise.
63270c24
RM
32436
324372013-03-18 Benno Schulenberg <bensberg@justemail.net>
32438
32439 [BZ #14812]
32440 * iconv/iconv_prog.c (options): Put N_ translation marker
32441 on argument names, not just descriptions.
32442 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 32443
b2e1393c
OB
324442013-03-18 Ondrej Bilka <neleai@seznam.cz>
32445
32446 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32447 implementation which is faster on all x86_64 architectures.
32448 Tested on AMD, Intel Nehalem, SNB, IVB.
32449 * sysdeps/x86_64/strnlen.S: Likewise.
32450
32451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32452 Remove all multiarch strlen and strnlen versions.
32453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32454 Remove strlen and strnlen related parts.
32455
32456 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32457 Inline strlen part.
32458 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32459
32460 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32461 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32462 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32463 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32464 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32465 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32466
ec4ff04d
CD
324672013-03-17 Carlos O'Donell <carlos@redhat.com>
32468
32469 * manual/memory.texi (Malloc Tunable Parameters):
32470 Sort parameters alphabetically. Add comments for missing entries.
32471
cd18e90a
DM
324722013-03-17 David S. Miller <davem@davemloft.net>
32473
32474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32475
2a185d32
JM
324762013-03-16 Joseph Myers <joseph@codesourcery.com>
32477
d2f9799e
JM
32478 [BZ #15283]
32479 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32480 for arguments at most half maximum finite value.
32481 * math/libm-test.inc (j0_test): Add more tests.
32482 (j1_test): Likewise.
32483 (y0_test): Likewise.
32484 (y1_test): Likewise.
32485 * sysdeps/i386/fpu/libm-test-ulps: Update.
32486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32487
2a185d32
JM
32488 [BZ #14155]
32489 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32490 1 / x and functions P and Q for arguments above 0x1p256L.
32491 (__ieee754_y0l): Likewise.
32492 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32493 (__ieee754_y1l): Likewise.
32494 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32495 (j1_test): Likewise.
32496 (y0_test): Likewise.
32497 (y1_test): Likewise.
32498
6cbec759
TS
324992013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32500
32501 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32502 variable.
32503
bc16e260
RM
325042013-03-15 Roland McGrath <roland@hack.frob.com>
32505
aefc9b8c
RM
32506 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32507 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32508 zero since it's initialized to EXEC_PAGESIZE.
32509
bc16e260
RM
32510 * sysdeps/unix/sysv/linux/ldsodefs.h
32511 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32512 * sysdeps/generic/ldsodefs.h: ... here.
32513
a57da955
TS
325142013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32515
af00a34d
TS
32516 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32517
495ded2c
TS
32518 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32519 math/test-snan.c.
32520 * math/test-snan.c: Renamed from
32521 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32522 * math/Makefile (tests): Add test-snan.
32523 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32524 test-powerpc-snan.
32525
777b0332
TS
32526 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32527 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32528 functions.
32529 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32530 __builtin_nan family of functions.
32531 * math/libm-test.inc (initialize): Initialize qnan_value with
32532 __builtin_nan family of functions.
32533 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32534 Remove variables.
32535 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32536 Remove functions.
32537 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32538 storage class. Initialize qNaN_var and sNaN_var with
32539 __builtin_nan and __builtin_nans families of functions,
32540 respectively.
32541
64d063b8
TS
32542 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32543 (sqrt_test): Remove duplicate test with qNaN input.
32544 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32545 (round_test, signbit_test, significand_test): Note missing +/-Inf
32546 as well as qNaN tests.
32547
67e971f1
TS
32548 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32549 qNaN_var. Fix a few strings, too.
32550 * math/libm-test.inc (nan_value): Rename to qnan_value.
32551 * math/gen-libm-test.pl (%beautify): Adjust to that.
32552 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32553 * math/test-misc.c (main): Likewise.
32554 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32555 to __qnan_bytes, and __qnan_union, respectively.
32556 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32557 Likewise.
32558 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32559 and lqnanval, respectively.
32560 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32561 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32562 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32563 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32564
64487e12
TS
32565 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32566 * math/test-misc.c (main) [__x86_64__]: Enable test for long
32567 doubles.
32568
e015e27b
TS
32569 * math/test-misc.c (main): Fix copy'n'pastos.
32570 * misc/tst-efgcvt.c (special): Likewise.
32571
a57da955
TS
32572 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32573 Remove declarations.
32574
1e380345
SP
325752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32576
32577 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32578 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32579 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32580 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32581
ef26eece
AZ
325822013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32583
32584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32585 macro to return vdso values correctly in IFUNC implementations.
32586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32587 Optimization by using IFUNC.
32588
8cfdb7e0
SP
325892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32590 Richard Henderson <rth@redhat.com>
32591 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32592
32593 * Makefile.in (bench): New target.
32594 * NEWS: Mention the benchmark framework.
32595 * Rules (bench): Likewise.
32596 (binaries-bench): Generate binaries for functions to
32597 benchmark.
32598 * benchtests/Makefile: New makefile for benchmark tests.
32599 * benchtests/bench-skeleton.c: New skeleton file for benchmark
32600 programs.
32601 * benchtests/exp-inputs: New input file for EXP function.
32602 * benchtests/pow-inputs: New input file for POW function.
32603 * scripts/bench.pl: New script to generate source files for
32604 benchmark programs.
32605
bcda9880
SP
326062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32607
d22ca8cd
SP
32608 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32609 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32610 computations on mantissa. Use macros for rounding and
32611 division.
32612 (denorm): Likewise.
32613 (__dbl_mp): Likewise.
32614 (add_magnitudes): Likewise.
32615 (sub_magnitudes): Likewise.
32616 (__mul): Likewise.
32617 (__sqr): Likewise.
32618 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32619 powers of two in terms of TWOPOW macro.
32620 (mp_no): Make type of mantissa as MANTISSA_T.
32621 [!RADIXI]: Define RADIXI.
32622 [!TWO52]: Define TWO52.
32623 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32624
bcda9880
SP
32625 * manual/nptl.texi (cindex): Modify threads to pthreads.
32626
06d5adfb
JM
326272013-03-15 Joseph Myers <joseph@codesourcery.com>
32628
32629 * sysdeps/x86_64/preconfigure: Regenerated.
32630
41c7328e
JM
326312013-03-14 Joseph Myers <joseph@codesourcery.com>
32632
32633 [BZ #14155]
32634 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32635 0x1p28 and above.
32636 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32637 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32638 0x1p28 and above.
32639 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32640 * math/libm-test.inc (j0_test): Do not allow one spurious
32641 underflow exception.
32642 (y1_test): Likewise.
32643
e25cfa60
SP
326442013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32645
0409959c
SP
32646 * manual/Makefile (chapters): Add nptl.
32647 * manual/debug.texi (Debugging Support): Add link to Threads
32648 chapter.
32649 * manual/nptl.texi: New file.
32650
e25cfa60
SP
32651 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32652
58a1335e
PB
326532013-03-14 Petr Baudis <pasky@ucw.cz>
32654
32655 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32656 for non-NULL pointer before the memory validity test. Pointed
32657 out by Holger Brunck <holger.brunck@keymile.com>.
32658
9dc7c64f
AS
326592013-03-13 Andreas Schwab <schwab@suse.de>
32660
32661 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32662 instead of .os.
32663
54206aa6
JM
326642013-03-13 Joseph Myers <joseph@codesourcery.com>
32665
32666 * timezone/zic.c: Update from tzcode 2013b.
32667
e98cdb38
CD
326682013-03-12 Carlos O'Donell <carlos@redhat.com>
32669
32670 * manual/install.texi (Configuring and compiling):
32671 Mention i686 and i586.
32672 * INSTALL: Regenerate.
32673
9967e003
RM
326742013-03-12 Roland McGrath <roland@hack.frob.com>
32675
32676 * sysdeps/init_array/elf-init.c: New file.
32677 * csu/elf-init.c
32678 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32679 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32680
32681 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32682 __gmon_start__ as global, but as static with a .preinit_array pointer.
32683 * sysdeps/init_array/gmon-start.c: New file. Use that.
32684 * sysdeps/init_array/crti.S: New file, empty except for comments.
32685 * sysdeps/init_array/crtn.S: Likewise.
32686
e6b5a293 326872013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
32688
32689 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32690 definining bcopy.
80f844c9
OB
32691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32692 Remove Prefer_SSE_for_memop.
32693 * sysdeps/x86_64/multiarch/init-arch.h: Remove
32694 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32695 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
32696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32697 memset-x86-64.
80f844c9 32698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 32699 Remove bzero, memset ifunc support.
80f844c9
OB
32700 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32701 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32702 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32703 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32704
fb6b0fcb
AS
327052013-03-11 Andreas Schwab <schwab@suse.de>
32706
32707 [BZ #15234]
32708 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32709 by SHLIB_COMPAT.
32710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32711 (GLIBC_2.16): Remove pthread_atfork.
32712
3e6bd4b1
PP
327132013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32714
32715 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32716 (ptestcases.h): Likewise.
32717
222d7f00
RM
327182013-03-08 Roland McGrath <roland@hack.frob.com>
32719
32720 * Makeconfig ($(common-objpfx)config.status): Depend on
32721 sysdeps/*/preconfigure{,.in} too.
32722
1ba4f030
JM
327232013-03-08 Joseph Myers <joseph@codesourcery.com>
32724
a222d91a
JM
32725 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32726 (__free_hook): Use void * instead of __malloc_ptr_t.
32727 (__malloc_hook): Likewise.
32728 (__realloc_hook): Likewise.
32729 (__memalign_hook): Likewise.
32730 (__after_morecore_hook): Likewise.
32731 * malloc/arena.c (save_malloc_hook): Likewise.
32732 (save_free_hook): Likewise.
32733 * malloc/hooks.c (malloc_hook_ini): Likewise.
32734 (realloc_hook_ini): Likewise.
32735 (memalign_hook_ini): Likewise.
32736 * malloc/malloc.c (malloc_hook_ini): Likewise.
32737 (realloc_hook_ini): Likewise.
32738 (memalign_hook_ini): Likewise.
32739 (__free_hook): Likewise.
32740 (__malloc_hook): Likewise.
32741 (__realloc_hook): Likewise.
32742 (__memalign_hook): Likewise.
32743 (__libc_malloc): Likewise.
32744 (__libc_free): Likewise.
32745 (__libc_realloc): Likewise.
32746 (__libc_memalign): Likewise.
32747 (__libc_valloc): Likewise.
32748 (__libc_pvalloc): Likewise.
32749 (__libc_calloc): Likewise.
32750 (__posix_memalign): Likewise.
32751 * malloc/morecore.c (__sbrk): Likewise.
32752 (__default_morecore): Likewise.
32753
5cc45e10
JM
32754 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32755
dd54b864
JM
32756 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32757 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32758 __malloc_ptrdiff_t.
32759
1ba4f030
JM
32760 * malloc/malloc.h (__malloc_size_t): Remove macro.
32761 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32762 __malloc_size_t.
32763 (old_memalign_hook): Likewise.
32764 (old_realloc_hook): Likewise.
32765 (struct hdr): Likewise.
32766 (flood): Likewise.
32767 (mallochook): Likewise.
32768 (memalignhook): Likewise.
32769 (reallochook): Likewise.
32770 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32771 (tr_old_realloc_hook): Likewise.
32772 (tr_old_memalign_hook): Likewise.
32773 (tr_mallochook): Likewise.
32774 (tr_reallochook): Likewise.
32775 (tr_memalignhook): Likewise.
32776
edf66e57
AZ
327772013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32778
32779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32780 default_ldbl_pack and using as default implementation.
32781 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32782 implementation.
32783 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32784 redundant definition.
32785 (ldbl_insert_mantissa): Likewise.
32786 (ldbl_canonicalize): Likewise.
32787 (ldbl_nearbyint): Likewise.
32788 (ldbl_pack): Rename to ldbl_pack_ppc.
32789 (ldbl_unpack): Rename to ldbl_unpack_ppc.
32790 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32791 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32792
6d9145d8
SP
327932013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32794
32795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32796 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32797 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32798 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32800 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32801 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32802 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32803
4dd4e157
AJ
328042013-03-07 Andreas Jaeger <aj@suse.de>
32805
32806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32807 bits/mman-linux.h.
32808
adbb8027
SP
328092013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32810
ce544b5b
SP
32811 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32812 Include mpa.h and declare __MPEXP.
32813 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32814 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32815 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32816 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32817 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32818 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32819 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32820
4cc149fd
SP
32821 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32822 (__slowpow): Use long double EXPL and LOGL functions to
32823 compute POW.
32824 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32825 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32827 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32828 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32829 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32830
e6ebd4a7
SP
32831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32832 intermediate variable to calculate exponent.
32833 (__sqr): Likewise.
32834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32835 Likewise.
32836 (__sqr): Likewise.
32837
82a9811d
SP
32838 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32839 [!NO__SQR]: Define __sqr.
32840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32841 and NO__SQR. Remove all code except __mul and __sqr. Include
32842 sysdeps/ieee754/dbl-64/mpa.c.
32843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32844
adbb8027
SP
32845 [BZ #12723]
32846 * posix/Makefile (tests): Add tst-pathconf.
32847 * posix/tst-pathconf.c: New test case.
32848 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32849 _PC_PIPE_BUF.
32850 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32851
39120df9
PF
328522013-03-06 Patsy Franklin <pfrankli@redhat.com>
32853
32854 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32855
67525cb8
AJ
328562013-03-06 Andreas Jaeger <aj@suse.de>
32857
664a9ce4
AJ
32858 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32859 definition via __MAP_ANONYMOUS.
32860
8e39047d
AJ
32861 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32862 it's not part of Linux headers.
32863
67525cb8
AJ
32864 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32865 (MAP_HUGE_MASK): Define.
32866
32867 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32868 Define.
32869 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32870 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32871 Define.
32872 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32873 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32874 Define.
32875 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32876 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32877 Define.
32878 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32879
32880 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32881 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32882 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32883 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32884 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32885 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32886
32887 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32888 Handle f2fs.
32889
32890 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32891 Handle f2fs and efivarfs.
32892
32893 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32894 f2fs.
32895
32896 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32897 (EFIVARFS_MAGIC): Add.
32898 (F2FS_LINK_MAX): Add.
32899
e1b42695
PP
329002013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32901
32902 * stdio-common/vfprintf.c: Replace __builtin_expect with
32903 __glibc_unlikely.
32904
2d67d91a
JM
329052013-03-06 Joseph Myers <joseph@codesourcery.com>
32906
32907 [BZ #13550]
32908 * sysdeps/generic/bp-sym.h: Remove file.
32909 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32910 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32911 <bp-sym.h> and <bp-asm.h>.
32912 (__longjmp): Don't use BP_SYM.
32913 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32914 and <bp-asm.h>.
32915 (memcpy): Don't use BP_SYM.
32916 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32917 <bp-sym.h> and <bp-asm.h>.
32918 (memcpy): Don't use BP_SYM.
32919 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32920 <bp-asm.h>.
32921 (memcpy): Don't use BP_SYM.
32922 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32923 <bp-asm.h>.
32924 (memset): Don't use BP_SYM.
32925 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32926 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32927 (__bzero): Don't use BP_SYM.
32928 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32929 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32931 <bp-sym.h> and <bp-asm.h>.
32932 (memcmp): Don't use BP_SYM. Remove comment about bounded
32933 pointers.
32934 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32935 <bp-sym.h> and <bp-asm.h>.
32936 (memcpy): Don't use BP_SYM.
32937 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32938 <bp-sym.h> and <bp-asm.h>.
32939 (memset): Don't use BP_SYM.
32940 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32941 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32942 (__bzero): Don't use BP_SYM.
32943 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32944 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32945 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32946 <bp-sym.h> and <bp-asm.h>.
32947 (strncmp): Don't use BP_SYM. Remove comment about bounded
32948 pointers.
32949 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32950 <bp-sym.h> and <bp-asm.h>.
32951 (memcpy): Don't use BP_SYM.
32952 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32953 <bp-sym.h> and <bp-asm.h>.
32954 (memset): Don't use BP_SYM.
32955 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32956 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32957 (__bzero): Don't use BP_SYM.
32958 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32959 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32960 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32961 <bp-sym.h> and <bp-asm.h>.
32962 (__memchr): Don't use BP_SYM.
32963 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32964 <bp-sym.h> and <bp-asm.h>.
32965 (memcmp): Don't use BP_SYM. Remove comment about bounded
32966 pointers.
32967 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32968 <bp-sym.h> and <bp-asm.h>.
32969 (memcpy): Don't use BP_SYM.
32970 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32971 <bp-sym.h> and <bp-asm.h>.
32972 (__mempcpy): Don't use BP_SYM.
32973 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32974 <bp-sym.h> and <bp-asm.h>.
32975 (__memrchr): Don't use BP_SYM.
32976 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32977 <bp-sym.h> and <bp-asm.h>.
32978 (memset): Don't use BP_SYM.
32979 (__bzero): Likewise.
32980 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32981 <bp-sym.h> and <bp-asm.h>.
32982 (__rawmemchr): Don't use BP_SYM.
32983 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32984 <bp-sym.h> and <bp-asm.h>.
32985 (__STRCMP): Don't use BP_SYM.
32986 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32987 <bp-sym.h> and <bp-asm.h>.
32988 (strchr): Don't use BP_SYM.
32989 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32990 <bp-sym.h> and <bp-asm.h>.
32991 (__strchrnul): Don't use BP_SYM.
32992 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32993 <bp-sym.h> and <bp-asm.h>.
32994 (strlen): Don't use BP_SYM.
32995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32996 <bp-sym.h> and <bp-asm.h>.
32997 (strncmp): Don't use BP_SYM. Remove comment about bounded
32998 pointers.
32999 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33000 <bp-sym.h> and <bp-asm.h>.
33001 (__strnlen): Don't use BP_SYM.
33002 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33003 <bp-sym.h> and <bp-asm.h>.
33004 (__GI__setjmp): Don't use BP_SYM.
33005 (_setjmp): Likewise.
33006 (__sigsetjmp): Likewise.
33007 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33008 (L(start_addresses)): Don't use BP_SYM.
33009 (_start): Likewise.
33010 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33011 <bp-asm.h>.
33012 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33013 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33014 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33015 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33016 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33017 <bp-asm.h>.
33018 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33019 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33020 about bounded pointers.
33021 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33022 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33023 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33024 <bp-asm.h>.
33025 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33026 about bounded pointers. Remove GKM FIXME comments.
33027 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33028 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33029 <bp-asm.h>.
33030 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33031 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33032 Remove GKM FIXME comments.
33033 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33034 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33035 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33036 <bp-asm.h>.
33037 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33038 about bounded pointers. Remove GKM FIXME comment.
33039 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33040 and <bp-asm.h>.
33041 (strncmp): Don't use BP_SYM. Remove comment about bounded
33042 pointers.
33043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33044 <bp-sym.h> and <bp-asm.h>.
33045 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33047 <bp-sym.h> and <bp-asm.h>.
33048 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33049 comment.
33050
cdcf361f
PP
330512013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33052
33053 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33054 call free(NULL).
33055
3c4a2b15
DM
330562013-03-05 David S. Miller <davem@davemloft.net>
33057
33058 * po/es.po: Update from translation team.
33059
cdcf361f 330602013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
33061
33062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33063 <bits/mman-linux.h>.
33064 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33065 is fine.
33066 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33067 <bits/mman-linux.h> to end of file.
33068 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33069 is fine.
33070 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33071 <bits/mman-linux.h> to end of file.
33072 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33073 is fine.
33074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33075 <bits/mman-linux.h> to end of file.
33076
33077 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33078 (MCL_CURRENT, MCL_FUTURE): Define here.
33079
5f67c04f
AK
330802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33081
8a4473cc 33082 [BZ #15232]
5f67c04f
AK
33083 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33084 attribute_hidden.
33085 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33086
c3e94a95
AK
330872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33088
33089 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33090 fourth parameter needed for rt_sigprocmask syscall.
33091 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33092 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33093 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33094 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33095 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33096 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33097
cfb6382a
JM
330982013-03-04 Joseph Myers <joseph@codesourcery.com>
33099
33100 [BZ #13550]
33101 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33102 comment about bounded pointers.
33103 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33104 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33105
539d8e01
AJ
331062013-03-04 Andreas Jaeger <aj@suse.de>
33107
33108 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33109 common definitions.
33110
33111 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33112 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33113 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33114 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
33116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33117
2e167a70 331182013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
33119
33120 [BZ #15055]
33121 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33122 __ieee754_sqrl instead of __sqrl.
33123
68508633
JM
331242013-03-01 Joseph Myers <joseph@codesourcery.com>
33125
33126 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33127 * sysdeps/powerpc/fpu_control.h: ... here.
33128 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33129 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33130 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33131 * sysdeps/powerpc/bits/mathinline.h: ... here.
33132
7775448e
RM
331332013-03-01 Roland McGrath <roland@hack.frob.com>
33134
33135 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33136 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33137 to just [NEED_DL_SYSINFO_DSO].
33138 * elf/dl-support.c: Likewise.
33139 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33140 * elf/rtld.c (dl_main): Likewise.
33141 * elf/setup-vdso.h (setup_vdso): Likewise.
33142 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33143 * sysdeps/unix/sysv/linux/dl-sysdep.c
33144 (_dl_discover_osversion): Likewise.
33145
4e9b5995
CD
331462013-03-01 Carlos O'Donell <carlos@redhat.com>
33147
33148 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33149 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33150
e23872c8
SP
331512013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33152
e5c74c63
SP
33153 * NEWS: Mention libm performance improvements and non-x86 PI
33154 futex support.
33155
e23872c8
SP
33156 * csu/libc-start.c (__pthread_initialize_minimal): Change
33157 function arguments.
33158 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33159
b5510883
JM
331602013-02-28 Joseph Myers <joseph@codesourcery.com>
33161
33162 [BZ #13550]
33163 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33164 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33165 <bp-sym.h> and <bp-asm.h>.
33166 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33167 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33168 and <bp-asm.h>.
33169 (memcpy): Don't use BP_SYM.
33170 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33171 <bp-asm.h>.
33172 (__mpn_add_n): Don't use BP_SYM.
33173 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33174 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33175 and <bp-asm.h>.
33176 (__mpn_addmul_1): Don't use BP_SYM.
33177 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33178 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33179 <bp-sym.h>.
33180 (_setjmp): Don't use BP_SYM.
33181 (__novmx_setjmp): Likewise.
33182 (__GI__setjmp): Likewise.
33183 (__vmx_setjmp): Likewise.
33184 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33185 <bp-sym.h>.
33186 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33187 (__bzero): Don't use BP_SYM.
33188 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33189 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33190 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33191 <bp-sym.h> and <bp-asm.h>.
33192 (memcpy): Don't use BP_SYM.
33193 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33194 <bp-sym.h> and <bp-asm.h>.
33195 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33196 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33197 <bp-sym.h> and <bp-asm.h>.
33198 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33199 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33200 <bp-asm.h>.
33201 (__mpn_lshift): Don't use BP_SYM.
33202 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33203 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33204 <bp-asm.h>.
33205 (memset): Don't use BP_SYM.
33206 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33207 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33208 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33209 <bp-asm.h>.
33210 (__mpn_mul_1): Don't use BP_SYM.
33211 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33212 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33213 <bp-sym.h> and <bp-asm.h>.
33214 (memcmp): Don't use BP_SYM.
33215 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33216 <bp-sym.h> and <bp-asm.h>.
33217 (memcpy): Don't use BP_SYM.
33218 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33219 <bp-sym.h> and <bp-asm.h>.
33220 (memset): Don't use BP_SYM.
33221 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33222 <bp-sym.h> and <bp-asm.h>.
33223 (strncmp): Don't use BP_SYM.
33224 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33225 <bp-sym.h> and <bp-asm.h>.
33226 (memcpy): Don't use BP_SYM.
33227 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33228 <bp-sym.h> and <bp-asm.h>.
33229 (memset): Don't use BP_SYM.
33230 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33231 <bp-sym.h> and <bp-asm.h>.
33232 (__memchr): Don't use BP_SYM.
33233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33234 <bp-sym.h> and <bp-asm.h>.
33235 (memcmp): Don't use BP_SYM.
33236 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33237 <bp-sym.h> and <bp-asm.h>.
33238 (memcpy): Don't use BP_SYM.
33239 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33240 <bp-sym.h> and <bp-asm.h>.
33241 (__mempcpy): Don't use BP_SYM.
33242 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33243 <bp-sym.h> and <bp-asm.h>.
33244 (__memrchr): Don't use BP_SYM.
33245 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33246 <bp-sym.h> and <bp-asm.h>.
33247 (memset): Don't use BP_SYM.
33248 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33249 <bp-sym.h> and <bp-asm.h>.
33250 (__rawmemchr): Don't use BP_SYM.
33251 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33252 <bp-sym.h> and <bp-asm.h>.
33253 (__STRCMP): Don't use BP_SYM.
33254 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33255 <bp-sym.h> and <bp-asm.h>.
33256 (strchr): Don't use BP_SYM.
33257 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33258 <bp-sym.h> and <bp-asm.h>.
33259 (__strchrnul): Don't use BP_SYM.
33260 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33261 <bp-sym.h> and <bp-asm.h>.
33262 (strlen): Don't use BP_SYM.
33263 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33264 <bp-sym.h> and <bp-asm.h>.
33265 (strncmp): Don't use BP_SYM.
33266 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33267 <bp-sym.h> and <bp-asm.h>.
33268 (__strnlen): Don't use BP_SYM.
33269 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33270 <bp-asm.h>.
33271 (__mpn_rshift): Don't use BP_SYM.
33272 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33273 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33274 <bp-sym.h> and <bp-asm.h>.
33275 (__sigsetjmp): Don't use BP_SYM.
33276 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33277 (L(start_addresses)): Don't use BP_SYM.
33278 (_start): Likewise.
33279 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33280 <bp-asm.h>.
33281 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33282 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33283 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33284 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33285 <bp-asm.h>.
33286 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33287 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33288 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33289 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33290 <bp-asm.h>.
33291 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33292 comments.
33293 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33294 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33295 <bp-asm.h>.
33296 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33297 FIXME comments.
33298 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33299 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33300 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33301 <bp-asm.h>.
33302 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33303 comment.
33304 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33305 and <bp-asm.h>.
33306 (strncmp): Don't use BP_SYM,
33307 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33308 <bp-asm.h>.
33309 (__mpn_sub_n): Don't use BP_SYM.
33310 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33311 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33312 and <bp-asm.h>.
33313 (__mpn_submul_1): Don't use BP_SYM.
33314 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33316 <bp-sym.h> and <bp-asm.h>.
33317 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33319 <bp-sym.h> and <bp-asm.h>.
33320 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33321 comment.
33322
8d19fe64
SP
333232013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33324
33325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33326 Use ZK to minimize writes to Z.
33327 (sub_magnitudes): Simplify code a bit.
33328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33329 Use ZK to minimize writes to Z.
33330 (sub_magnitudes): Simplify code a bit.
33331
85bd816a
RM
333322013-02-27 Roland McGrath <roland@hack.frob.com>
33333
33334 * csu/gmon-start.c: Add special exception to license text.
33335
b5977bf2
RH
333362013-02-27 Richard Henderson <rth@redhat.com>
33337
33338 * scripts/config.guess: Update from config.git.
33339 * scripts/config.sub: Likewise.
33340
11d6e2f2
SP
333412013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33342
09c14ed2
SP
33343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33344
a688864e
SP
33345 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33346
6295157a
SP
33347 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33348
b8de2202
SP
33349 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33350
11d6e2f2
SP
33351 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33352
7e80ddb8
RM
333532013-02-26 Roland McGrath <roland@hack.frob.com>
33354
33355 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33356 [$(build-shared = yes].
7e80ddb8 33357
7da6d9ed
SP
333582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33359
45f05884
SP
33360 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33361 (__mul): Reduce iterations for calculating mantissa.
33362
2236d359
SP
33363 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33364 MPTWO.
33365 (__mpranred): Likewise.
33366
7da6d9ed
SP
33367 [BZ #15160]
33368 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33369 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33370
b7688c42
PE
333712013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33372
33373 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33374 Define __attribute__.
33375
53a5c423
SP
333762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33377
33378 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33379 unused.
33380 * posix/regex_internal.h (__attribute): Remove.
33381 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33382 (re_string_context_at): Likewise.
33383 (bitset_not): Use __attribute__ and mark function as possibly
33384 unused.
33385 (bitset_merge): Likewise.
33386 (bitset_mask): Likewise.
33387 (re_string_char_size_at): Likewise.
33388 (re_string_wchar_at): Likewise.
33389 (re_string_elem_size_at): Likewise.
33390
60f5a8b5
SP
333912013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33392
2a983a2e
SP
33393 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33394 code.
33395 (cc32): Likewise.
33396
e69804d1
SP
33397 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33398 (__acr): Likewise.
33399 (__cpy): Likewise.
33400 (norm): Likewise.
33401 (denorm): Likewise.
33402 (__dbl_mp): Likewise.
33403 (add_magnitudes): Likewise.
33404 (sub_magnitudes): Likewise.
33405 (__mul): Likewise.
33406 (__inv): Likewise.
33407
2f22a1e8
SP
33408 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33409 style.
33410
8930ddc7
SP
33411 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33412 style.
33413
dc60cb11
SP
33414 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33415 code.
33416
60f5a8b5
SP
33417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33418 up changes with default code.
33419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33420 Likewise.
33421
b4d1fd33
AM
334222013-02-24 Allan McRae <allan@archlinux.org>
33423
faf6f8bc
AM
33424 * manual/socket.texi (The Internet Namespace): Order menu items
33425 to match that in the file.
33426
b4d1fd33
AM
33427 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33428 node listing of the info page menu.
33429
2366713d
JM
334302013-02-21 Joseph Myers <joseph@codesourcery.com>
33431
33432 [BZ #13550]
33433 * sysdeps/i386/bp-asm.h: Remove file.
33434 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33435 (PARMS): Do not use macros from bp-asm.h.
33436 (S1): Likewise.
33437 (S2): Likewise.
33438 (SIZE): Likewise.
33439 (__mpn_add_n): Do not use BP_SYM
33440 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33441 "bp-asm.h".
33442 (PARMS): Do not use macros from bp-asm.h.
33443 (S1): Likewise.
33444 (SIZE): Likewise.
33445 (__mpn_addmul_1): Do not use BP_SYM
33446 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33447 "bp-asm.h".
33448 (PARMS): Do not use macros from bp-asm.h.
33449 (SIGMSK): Likewise.
33450 (_setjmp): Likewise. Do not use BP_SYM.
33451 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33452 "bp-asm.h".
33453 (PARMS): Do not use macros from bp-asm.h.
33454 (SIGMSK): Likewise.
33455 (setjmp): Likewise. Do not use BP_SYM.
33456 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33457 "bp-asm.h".
33458 (PARMS): Do not use macros from bp-asm.h.
33459 (__frexp): Do not use BP_SYM.
33460 (frexp): Likewise.
33461 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33462 "bp-asm.h".
33463 (PARMS): Do not use macros from bp-asm.h.
33464 (__frexpf): Do not use BP_SYM.
33465 (frexpf): Likewise.
33466 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33467 "bp-asm.h".
33468 (PARMS): Do not use macros from bp-asm.h.
33469 (__frexpl): Do not use BP_SYM.
33470 (frexpl): Likewise.
33471 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33472 "bp-asm.h".
33473 (PARMS): Do not use macros from bp-asm.h.
33474 (__remquo): Do not use BP_SYM.
33475 (remquo): Likewise.
33476 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33477 "bp-asm.h".
33478 (PARMS): Do not use macros from bp-asm.h.
33479 (__remquof): Do not use BP_SYM.
33480 (remquof): Likewise.
33481 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33482 "bp-asm.h".
33483 (PARMS): Do not use macros from bp-asm.h.
33484 (__remquol): Do not use BP_SYM.
33485 (remquol): Likewise.
33486 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33487 "bp-asm.h".
33488 (PARMS): Do not use macros from bp-asm.h.
33489 (DEST): Likewise.
33490 (SRC): Likewise.
33491 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33492 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33493 "bp-asm.h".
33494 (PARMS): Do not use macros from bp-asm.h.
33495 (strlen): Do not use BP_SYM.
33496 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33497 "bp-asm.h".
33498 (PARMS): Do not use macros from bp-asm.h.
33499 (S1): Likewise.
33500 (S2): Likewise.
33501 (SIZE): Likewise.
33502 (__mpn_add_n): Do not use BP_SYM.
33503 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33504 "bp-asm.h".
33505 (PARMS): Do not use macros from bp-asm.h.
33506 (S1): Likewise.
33507 (SIZE): Likewise.
33508 (__mpn_addmul_1): Do not use BP_SYM.
33509 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33510 weak_alias.
33511 (bzero): Likewise.
33512 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33513 "bp-asm.h".
33514 (PARMS): Do not use macros from bp-asm.h.
33515 (S): Likewise.
33516 (SIZE): Likewise.
33517 (__mpn_lshift): Do not use BP_SYM.
33518 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33519 "bp-asm.h".
33520 (PARMS): Do not use macros from bp-asm.h.
33521 (DEST): Likewise.
33522 (SRC): Likewise.
33523 (LEN): Likewise.
33524 (memcpy): Likewise. Do not use BP_SYM.
33525 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33526 libc_hidden_def and weak_alias.
33527 (mempcpy): Do not use BP_SYM in weak_alias.
33528 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33529 "bp-asm.h".
33530 (PARMS): Do not use macros from bp-asm.h.
33531 (DEST): Likewise.
33532 (LEN): Likewise.
33533 [!BZERO_P] (CHR): Likewise.
33534 (memset): Likewise. Do not use BP_SYM.
33535 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33536 "bp-asm.h".
33537 (PARMS): Do not use macros from bp-asm.h.
33538 (S1): Likewise.
33539 (SIZE): Likewise.
33540 (__mpn_mul_1): Do not use BP_SYM.
33541 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33542 "bp-asm.h".
33543 (PARMS): Do not use macros from bp-asm.h.
33544 (S): Likewise.
33545 (SIZE): Likewise.
33546 (__mpn_rshift): Do not use BP_SYM.
33547 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33548 "bp-asm.h".
33549 (PARMS): Do not use macros from bp-asm.h.
33550 (STR): Likewise.
33551 (CHR): Likewise.
33552 (strchr): Likewise. Do not use BP_SYM.
33553 (index): Do not use BP_SYM in weak_alias.
33554 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33555 "bp-asm.h".
33556 (PARMS): Do not use macros from bp-asm.h.
33557 (DEST): Likewise.
33558 (SRC): Likewise.
33559 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
33560 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33561 "bp-asm.h".
33562 (PARMS): Do not use macros from bp-asm.h.
33563 (strlen): Do not use BP_SYM.
33564 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33565 "bp-asm.h".
33566 (PARMS): Do not use macros from bp-asm.h.
33567 (S1): Likewise.
33568 (S2): Likewise.
33569 (SIZE): Likewise.
33570 (__mpn_sub_n): Do not use BP_SYM.
33571 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33572 "bp-asm.h".
33573 (PARMS): Do not use macros from bp-asm.h.
33574 (S1): Likewise.
33575 (SIZE): Likewise.
33576 (__mpn_submul_1): Do not use BP_SYM.
33577 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33578 "bp-asm.h".
33579 (PARMS): Do not use macros from bp-asm.h.
33580 (S1): Likewise.
33581 (S2): Likewise.
33582 (SIZE): Likewise.
33583 (__mpn_add_n): Do not use BP_SYM.
33584 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33585 weak_alias.
33586 (bzero): Likewise.
33587 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33588 "bp-asm.h".
33589 (PARMS): Do not use macros from bp-asm.h.
33590 (BLK2): Likewise.
33591 (LEN): Likewise.
33592 (memcmp): Do not use BP_SYM.
33593 (bcmp): Do not use BP_SYM in weak_alias.
33594 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33595 "bp-asm.h".
33596 (PARMS): Do not use macros from bp-asm.h.
33597 (DEST): Likewise.
33598 (SRC): Likewise.
33599 (LEN): Likewise.
33600 (memcpy): Likewise. Do not use BP_SYM.
33601 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33602 "bp-asm.h".
33603 (PARMS): Do not use macros from bp-asm.h.
33604 (DEST): Likewise.
33605 (SRC): Likewise.
33606 (LEN): Likewise.
33607 (memmove): Likewise. Do not use BP_SYM.
33608 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33609 "bp-asm.h".
33610 (PARMS): Do not use macros from bp-asm.h.
33611 (DEST): Likewise.
33612 (SRC): Likewise.
33613 (LEN): Likewise.
33614 (__mempcpy): Likewise. Do not use BP_SYM.
33615 (mempcpy): Do not use BP_SYM in weak_alias.
33616 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33617 "bp-asm.h".
33618 (PARMS): Do not use macros from bp-asm.h.
33619 (DEST): Likewise.
33620 (LEN): Likewise.
33621 [!BZERO_P] (CHR): Likewise.
33622 (memset): Likewise. Do not use BP_SYM.
33623 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33624 "bp-asm.h".
33625 (PARMS): Do not use macros from bp-asm.h.
33626 (STR2): Likewise.
33627 (strcmp): Do not use BP_SYM.
33628 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33629 "bp-asm.h".
33630 (PARMS): Do not use macros from bp-asm.h.
33631 (STR): Likewise.
33632 (DELIM): Likewise.
33633 [USE_AS_STRTOK_R] (SAVE): Likewise.
33634 (FUNCTION): Likewise. Do not use BP_SYM.
33635 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33636 aliases.
33637 (strtok_r): Likewise.
33638 (__GI___strtok_r): Likewise.
33639 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33640 (PARMS): Do not use macros from bp-asm.h.
33641 (S): Likewise.
33642 (SIZE): Likewise.
33643 (__mpn_lshift): Do not use BP_SYM.
33644 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33645 (PARMS): Do not use macros from bp-asm.h.
33646 (STR): Likewise.
33647 (CHR): Likewise.
33648 (__memchr): Do not use BP_SYM.
33649 (memchr): Do not use BP_SYM in weak_alias.
33650 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33651 (PARMS): Do not use macros from bp-asm.h.
33652 (BLK2): Likewise.
33653 (LEN): Likewise.
33654 (memcmp): Do not use BP_SYM.
33655 (bcmp): Do not use BP_SYM in weak_alias.
33656 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33657 (PARMS): Do not use macros from bp-asm.h.
33658 (S1): Likewise.
33659 (SIZE): Likewise.
33660 (__mpn_mul_1): Do not use BP_SYM.
33661 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33662 "bp-asm.h".
33663 (PARMS): Do not use macros from bp-asm.h.
33664 (STR): Likewise.
33665 (CHR): Likewise.
33666 (__rawmemchr): Do not use BP_SYM.
33667 (rawmemchr): Do not use BP_SYM in weak_alias.
33668 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33669 (PARMS): Do not use macros from bp-asm.h.
33670 (S): Likewise.
33671 (SIZE): Likewise.
33672 (__mpn_rshift): Do not use BP_SYM.
33673 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33674 (PARMS): Do not use macros from bp-asm.h.
33675 (SIGMSK): Likewise.
33676 (__sigsetjmp): Likewise. Do not use BP_SYM.
33677 * sysdeps/i386/start.S: Do not include "bp-sym.h".
33678 (_start): Do not use BP_SYM.
33679 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33680 (PARMS): Do not use macros from bp-asm.h.
33681 (DEST): Likewise.
33682 (SRC): Likewise.
33683 (__stpcpy): Likewise. Do not use BP_SYM.
33684 (stpcpy): Do not use BP_SYM in weak_alias.
33685 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33686 "bp-asm.h".
33687 (PARMS): Do not use macros from bp-asm.h.
33688 (DEST): Likewise.
33689 (SRC): Likewise.
33690 (LEN): Likewise.
33691 (__stpncpy): Likewise. Do not use BP_SYM.
33692 (stpncpy): Do not use BP_SYM in weak_alias.
33693 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33694 (PARMS): Do not use macros from bp-asm.h.
33695 (STR): Likewise.
33696 (CHR): Likewise.
33697 (strchr): Likewise. Do not use BP_SYM.
33698 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33699 "bp-asm.h".
33700 (PARMS): Do not use macros from bp-asm.h.
33701 (STR): Likewise.
33702 (CHR): Likewise.
33703 (__strchrnul): Likewise. Do not use BP_SYM.
33704 (strchrnul): Do not use BP_SYM in weak_alias.
33705 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33706 "bp-asm.h".
33707 (PARMS): Do not use macros from bp-asm.h.
33708 (STOP): Likewise.
33709 (strcspn): Do not use BP_SYM.
33710 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33711 "bp-asm.h".
33712 (PARMS): Do not use macros from bp-asm.h.
33713 (STR): Likewise.
33714 (STOP): Likewise.
33715 (strpbrk): Likewise. Do not use BP_SYM.
33716 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33717 "bp-asm.h".
33718 (PARMS): Do not use macros from bp-asm.h.
33719 (STR): Likewise.
33720 (CHR): Likewise.
33721 (strrchr): Likewise. Do not use BP_SYM.
33722 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33723 (PARMS): Do not use macros from bp-asm.h.
33724 (SKIP): Likewise.
33725 (strspn): Do not use BP_SYM.
33726 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33727 (PARMS): Do not use macros from bp-asm.h.
33728 (STR): Likewise.
33729 (DELIM): Likewise.
33730 (SAVE): Likewise.
33731 (FUNCTION): Likewise. Do not use BP_SYM.
33732 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33733 aliases.
33734 (strtok_r): Likewise.
33735 (__GI___strtok_r): Likewise.
33736 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33737 (PARMS): Do not use macros from bp-asm.h.
33738 (S1): Likewise.
33739 (S2): Likewise.
33740 (SIZE): Likewise.
33741 (__mpn_sub_n): Do not use BP_SYM.
33742 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33743 "bp-asm.h".
33744 (PARMS): Do not use macros from bp-asm.h.
33745 (S1): Likewise.
33746 (SIZE): Likewise.
33747 (__mpn_submul_1): Do not use BP_SYM.
33748 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33749 <bp-sym.h>.
33750 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33751 and <bp-asm.h>.
33752 (PARMS): Do not use macros from bp-asm.h.
33753 (FLAGS): Likewise.
33754 (PTID): Likewise.
33755 (TLS): Likewise.
33756 (CTID): Likewise.
33757 (__clone): Do not use BP_SYM.
33758 (clone): Do not use BP_SYM in weak_alias.
33759 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33760 and <bp-asm.h>.
33761 (PARMS): Do not use macros from bp-asm.h.
33762 (LEN): Likewise.
33763 (__mmap64): Do not use BP_SYM.
33764 (mmap64): Do not use BP_SYM in weak_alias.
33765 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33766 <bp-sym.h> and <bp-asm.h>.
33767 (PARMS): Do not use macros from bp-asm.h.
33768 (__posix_fadvise64_l64): Do not use BP_SYM.
33769 * sysdeps/unix/sysv/linux/i386/semtimedop.S
33770 (PARMS): Do not use macros from bp-asm.h.
33771 (NSOPS): Likewise.
33772 (semtimedop): Do not use BP_SYM.
33773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33774 and <bp-asm.h>.
33775
582a3cff
AM
337762013-02-21 Allan McRae <allan@archlinux.org>
33777
33778 * manual/message.texi (Charset conversion in gettext):
33779 Move @end statement to beginning of line.
33780
bab8a695
SP
337812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33782
80945231
SP
33783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33784 static.
33785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33786 Likewise.
33787
bab8a695
SP
33788 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33789 (denorm): Likewise.
33790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33792
e21d7aa7
AK
337932013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33794
33795 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33796 tail-call to the resolved function if pltexit isn't needed.
33797
4c7a4263
SP
337982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33799
33800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33801 or Y being zero as being unlikely.
33802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33803 Likewise.
33804
41f49342
CD
338052013-02-20 Carlos O'Donell <carlos@redhat.com>
33806
33807 * manual/nss.texi (System Databases and Name Service Switch):
33808 Remove frobnicate @pxref.
33809
50022a93
TS
338102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33811
33812 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33813 __attribute__ ((unused)) to __attribute__ ((__unused__)).
33814
08cbd996
PM
338152013-02-20 Petr Machata <pmachata@redhat.com>
33816
33817 * elf/elf.h (R_ARM_TARGET1): New macro.
33818 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33819 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33820 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33821 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33822 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33823 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33824 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33825 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33826 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33827 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33828 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33829 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33830 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33831 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33832 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33833 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33834 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33835 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33836 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33837 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33838 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33839 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33840 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33841 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33842 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33843 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33844 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33845 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33846 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33847 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33848 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33849 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33850 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33851 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33852 (R_ARM_THM_GOT_BREL12): Likewise.
33853 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33854 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33855 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33856 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33857 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33858 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33859 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33860 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33861 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33862
c7b275d6
TS
338632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33864
33865 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33866 __attribute_used__ to __attribute__ ((unused)).
33867
20cd7fb3
SP
338682013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33869
33870 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33871 powerpc mpa.c.
33872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33873 comment formatting.
33874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33875
92945b52
JM
338762013-02-19 Joseph Myers <joseph@codesourcery.com>
33877
33878 [BZ #13550]
33879 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33880 Remove macro.
33881 (ENTER): Remove both macro definitions.
33882 (LEAVE): Likewise.
33883 (CHECK_BOUNDS_LOW): Likewise.
33884 (CHECK_BOUNDS_HIGH): Likewise.
33885 (CHECK_BOUNDS_BOTH): Likewise.
33886 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33887 (RETURN_BOUNDED_POINTER): Likewise.
33888 (RETURN_NULL_BOUNDED_POINTER): Likewise.
33889 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33890 (POP_ERRNO_LOCATION_RETURN): Likewise.
33891 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33892 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33893 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33894 macros.
33895 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33896 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33897 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33898 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33899 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33900 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33901 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33902 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33903 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33904 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33905 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33906 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33907 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33908 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33909 removed macros.
33910 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33911 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33912 macros.
33913 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33914 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33915 * sysdeps/i386/i586/memset.S (memset): Likewise.
33916 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33917 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33918 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33919 macros.
33920 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33921 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33922 Change uses of L(2) to L(out).
33923 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33924 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33925 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33926 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33927 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33928 removed macros.
33929 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33930 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33931 macros.
33932 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33933 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33934 (RETURN): Do not use macro LEAVE.
33935 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33936 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33937 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33938 * sysdeps/i386/i686/memset.S (memset): Likewise.
33939 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33940 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33941 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33942 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33943 Likewise.
33944 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33945 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
33946 L(1_2) and L(1_3) into L(1).
33947 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33948 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33949 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33950 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33951 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33952 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33953 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33954 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33955 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33956 macros.
33957 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33958 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33959 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33960 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33961 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33962 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33963 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33964 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33965 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33966 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33967 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33968 * sysdeps/i386/strspn.S (strspn): Likewise.
33969 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33970 conditional code.
33971 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33972 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33973 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33974 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33975 L(1_3) into L(1_1).
33976 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33977 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33978 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33979 macros.
33980 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33981
2389741a
JJ
339822013-02-19 Jakub Jelinek <jakub@redhat.com>
33983
33984 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33985 macro.
33986
2016b3cd
SP
339872013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33988
e4f22324
SP
33989 * math/atest-exp.c (exp_mpn): Remove ROUND.
33990 * math/atest-exp2.c (exp_mpn): Likewise.
33991 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33992
2016b3cd
SP
33993 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33994 * stdlib/tst-tls-atexit-lib.c: Likewise.
33995 * stdlib/tst-tls-atexit.c: Likewise.
33996
4be9b544
MF
339972013-02-18 Mike Frysinger <vapier@gentoo.org>
33998
33999 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34000 and __attribute_alloc_size__.
34001
2f62b9ee
MF
340022013-02-18 Mike Frysinger <vapier@gentoo.org>
34003
34004 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34005 __attribute_alloc_size__.
34006 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34007 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34008
6ff444c4
MF
340092013-02-18 Mike Frysinger <vapier@gentoo.org>
34010
34011 * include/programs/xmalloc.h: New file.
34012 * catgets/gencat.c: Include it.
34013 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34014 * elf/pldd.c: Likewise.
34015 * iconv/iconv_charmap.c: Likewise.
34016 * iconv/iconvconfig.c: Likewise.
34017 * iconv/strtab.c: Likewise.
34018 * locale/programs/locale.c: Likewise.
34019 * locale/programs/localedef.h: Likewise.
34020 * locale/programs/simple-hash.c: Likewise.
34021 * nscd/nscd.h: Likewise.
34022 * nss/makedb.c: Likewise.
34023 * sysdeps/generic/ldconfig.h: Likewise.
34024
be179c8a
SP
340252013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34026
ba384f6e
SP
34027 * Versions.def: Add GLIBC_2.18.
34028 * include/link.h (struct link_map): New member l_tls_dtor_count.
34029 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34030 (__call_tls_dtors): Likewise.
34031 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34032 __cxa_thread_atexit_impl.
34033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34034 Likewise.
34035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34036 Likewise.
34037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34038 Likewise.
34039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34040 Likewise.
34041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34043 Likewise.
34044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34045 Likewise.
34046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34048 Likewise.
34049 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34050 (tests): Add test case tst-tls-atexit.
34051 (modules-names): Add shared library for tst-tls-atexit.
85891aca 34052 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
34053 (GLIBC_PRIVATE): Add __call_tls_dtors.
34054 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34055 for libstdc++.
34056 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34057 * stdlib/tst-tls-atexit.c: New test case.
34058 * stdlib/tst-tls-atexit-lib.c: New test case.
34059
ffaa74cf 34060 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 34061
be179c8a
SP
34062 * elf/Versions (ld): Add _dl_find_dso_for_object.
34063 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34064 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34065 (dl_open_worker): Use _dl_find_dso_for_object.
34066 * elf/dl-sym.c (do_sym): Likewise.
34067 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34068
f78b5caa
AK
340692013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34070
34071 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34072 Syntactic changes only.
34073 (_dl_runtime_profile): Do a tail-call to the resolved function.
34074
29691210
JM
340752013-02-17 Joseph Myers <joseph@codesourcery.com>
34076
34077 [BZ #13550]
34078 * sysdeps/x86_64/bp-asm.h: Remove file.
34079 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34080 <bp-sym.h> and <bp-asm.h>.
34081 (__clone): Do not use BP_SYM.
34082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34083 <bp-sym.h> and <bp-asm.h>.
34084 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34085 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34086 "bp-asm.h".
34087 (_setjmp): Do not use BP_SYM.
34088 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34089 "bp-asm.h".
34090 (setjmp): Do not use BP_SYM.
34091 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34092 libc_hidden_def.
34093 (mempcpy): Do not use BP_SYM in weak_alias.
34094 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34095 "bp-asm.h".
34096 (strchr): Do not use BP_SYM.
34097 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34098 "bp-asm.h".
34099 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34100 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34101 (_start): Do not use BP_SYM.
34102 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34103 "bp-asm.h".
34104 (strcat): Do not use BP_SYM.
34105 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34106 "bp-asm.h".
34107 (STRCMP): Do not use BP_SYM.
34108 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34109 "bp-asm.h".
34110 (STRCPY): Do not use BP_SYM.
34111 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34112 "bp-asm.h".
34113 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34114 "bp-asm.h".
34115 (FUNCTION): Do not use BP_SYM.
34116 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34117 weak_alias.
34118 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34119
f238fd19
AJ
341202013-02-17 Andreas Jaeger <aj@suse.de>
34121
34122 * time/Versions: Sort entries.
34123 * string/Versions: Likewise.
34124 * resolv/Versions: Likewise.
34125 * posix/Versions: Likewise.
34126 * iconv/Versions: Likewise.
34127 * elf/Versions: Likewise.
34128 * wcsmbs/Versions: Likewise.
34129
bd07f23c 341302013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 34131
22af19f9
SP
34132 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34133 loop termination condition.
34134
4709fe76
SP
34135 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34136 variable to calculate EZ.
34137 (__sqr): Likewise.
2d0e0f29
SP
34138
34139 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34140 the lower precision input.
34141
daaa7713
JM
341422013-02-15 Joseph Myers <joseph@codesourcery.com>
34143
34144 [BZ #13550]
34145 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34146 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34147 (run-via-rtld-prefix): Do not handle %-bp tests.
34148 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34149 (all-object-suffixes): Remove .ob.
34150 (bppfx): Remove variable.
34151 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34152 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34153 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34154 [$(build-bounded) = yes] (libtype.ob): Likewise.
34155 * Makerules (elide-routines.ob): Remove variable.
34156 (do-tests-clean): Do not handle *-bp.out.
34157 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34158 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34159 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34160 (tests): Do not include $(tests-bp.out).
34161 (xtests): Do not include $(xtests-bp.out).
34162 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34163 [$(build-bounded) = yes] ($(addprefix
34164 $(objpfx),$(binaries-bounded))): Remove rule.
34165 ($(objpfx)%-bp.out): Remove rule.
34166 * config.make.in (build-bounded): Remove variable.
34167 * crypt/Makefile [$(build-bounded) = yes]
34168 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34169 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34170 append to variable.
34171 [$(build-bounded) = yes] (install-lib): Likewise.
34172 [$(build-bounded) = yes] (generated): Likewise.
34173 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34174 Remove rule.
34175 * intl/Makefile [$(build-bounded) = yes]
34176 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34177 * math/Makefile [$(build-bounded) = yes]
34178 ($(tests:%=$(objpfx)%-bp): Likewise.
34179 * misc/Makefile [$(build-bounded) = yes]
34180 ($(objpfx)tst-tsearch-bp): Likewise.
34181 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34182 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34183 Remove dependency.
34184 * string/Makefile (o-objects.ob): Remove variable.
34185 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34186 (CFLAGS-.ob): Remove variable.
34187 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34188 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34189 both definitions of variable.
34190 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34191 (ASFLAGS-.ob): Remove variable.
34192
e97ed6dd
JM
341932013-02-14 Joseph Myers <joseph@codesourcery.com>
34194
2bdd4ca6
JM
34195 [BZ #13550]
34196 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34197 Remove __BOUNDED_POINTERS__ from condition.
34198 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34199 * string/bits/string2.h [!__NO_STRING_INLINES &&
34200 !__BOUNDED_POINTERS__]: Likewise.
34201 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34202 Likewise.
34203 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34204 Remove conditional code.
34205 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34206 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34207 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34208 condition.
34209
e97ed6dd
JM
34210 [BZ #13550]
34211 * csu/libc-start.c: Do not include <bp-sym.h>.
34212 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34213 * elf/dl-open.c: Do not include <bp-sym.h>.
34214 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34215 * math/fegetenv.c: Do not include <bp-sym.h>.
34216 (fegetenv): Do not use BP_SYM in versioned symbols.
34217 * nptl/sysdeps/pthread/bits/libc-lockP.h
34218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34219 <bp-sym.h>.
34220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34221 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34223 (__pthread_mutex_destroy): Likewise.
34224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34225 (__pthread_mutex_lock): Likewise.
34226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34227 (__pthread_mutex_trylock): Likewise.
34228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34229 (__pthread_mutex_unlock): Likewise.
34230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34231 (__pthread_mutexattr_init): Likewise.
34232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34233 (__pthread_mutexattr_destroy): Likewise.
34234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34235 (__pthread_mutexattr_settype): Likewise.
34236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34237 (__pthread_rwlock_init): Likewise.
34238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34239 (__pthread_rwlock_destroy): Likewise.
34240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34241 (__pthread_rwlock_rdlock): Likewise.
34242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34243 (__pthread_rwlock_tryrdlock): Likewise.
34244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34245 (__pthread_rwlock_wrlock): Likewise.
34246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34247 (__pthread_rwlock_trywrlock): Likewise.
34248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34249 (__pthread_rwlock_unlock): Likewise.
34250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34251 (__pthread_key_create): Likewise.
34252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34253 (__pthread_setspecific): Likewise.
34254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34255 (__pthread_getspecific): Likewise.
34256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34257 Likewise.
34258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34259 (_pthread_cleanup_push_defer): Likewise.
34260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34261 (_pthread_cleanup_pop_restore): Likewise.
34262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34263 (pthread_setcancelstate): Likewise.
34264 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34265 <bp-sym.h>.
34266 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34267 (memchr): Do not use BP_SYM in weak_alias.
34268 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34269 (fegetenv): Do not use BP_SYM in versioned symbols.
34270 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34271 (fesetenv): Do not use BP_SYM in versioned symbols.
34272 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34273 (feupdateenv): Do not use BP_SYM in versioned symbols.
34274 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34275 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34276 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34277 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34278 (open64): Do not use BP_SYM in weak_alias.
34279 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34280 (fegetenv): Do not use BP_SYM in versioned symbols.
34281 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34282 (fesetenv): Do not use BP_SYM in versioned symbols.
34283 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34284 (feupdateenv): Do not use BP_SYM in versioned symbols.
34285 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34286 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34287 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34288 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34289 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34290 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34291 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34292 <bp-sym.h>.
34293 (__libc_start_main): Do not use BP_SYM.
34294
d6752ccd
SP
342952013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34296
cb57ce60
SP
34297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34298 redundant return line.
34299 (norm): Likewise.
34300 (denorm): Likewise.
34301 (dbl_mp): Likewise.
34302 (sub_magnitudes): Likewise.
34303 (__add): Likewise.
34304 (__sub): Likewise.
34305 (__mul): Likewise.
34306 (__inv): Likewise.
34307 (__dvd): Likewise.
34308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34309 (norm): Likewise.
34310 (denorm): Likewise.
34311 (dbl_mp): Likewise.
34312 (sub_magnitudes): Likewise.
34313 (__add): Likewise.
34314 (__sub): Likewise.
34315 (__mul): Likewise.
34316 (__inv): Likewise.
34317 (__dvd): Likewise.
34318
f414520d
SP
34319 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34320 instead of __mul.
34321 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34322 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34323 (cc32): Likewise.
34324
d6752ccd
SP
34325 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34326 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34328 of __mul for squares.
34329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34330 function
34331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34332 Likewise.
34333 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34335
70d9946a
JM
343362013-02-13 Joseph Myers <joseph@codesourcery.com>
34337
34338 [BZ #13550]
34339 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34340 code.
34341 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34342 prototype or function definition. Rename ubp_* variables and
34343 parameters. Remove argv definitions conditional on
34344 [__BOUNDED_POINTERS__].
34345 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34346 * elf/dl-runtime.c (_dl_fixup): Likewise.
34347 * include/set-hooks.h (RUN_HOOK): Likewise.
34348 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34349 definition.
34350 * string/strcpy.c (strcpy): Do not use __unbounded.
34351 * sysdeps/generic/frame.h (struct layout): Likewise.
34352 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34353 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34354 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34355 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34356 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34357 (__backtrace): Likewise.
34358 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34359 use __ptrvalue.
34360 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34361 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34362 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34363 Likewise.
34364 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34365 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34366 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34367 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34368 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34369 Do not use __unbounded.
34370 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34371 Rename __unboundedrlimits parameter to rlimits in prototype.
34372 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34373 Do not use __unbounded.
34374 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34375 not use __ptrvalue.
34376 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34377 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34378 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34379 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34380 __ptrvalue or __unbounded.
34381 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34382 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34383 use __unbounded.
34384 (__new_msgctl): Do not use __ptrvalue.
34385 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34386 __unbounded.
34387 (__libc_msgrcv): Do not use __ptrvalue.
34388 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34389 startup_info): Do not use __unbounded.
34390 (__libc_start_main): Likewise. Rename ubp_* variables and
34391 parameters. Remove argv definitions conditional on
34392 [__BOUNDED_POINTERS__].
34393 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34394 __ptrvalue.
34395 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34396 use __unbounded.
34397 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34398 or __ptrvalue.
34399 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34400 use __unbounded.
34401 (__new_shmctl): Do not use __ptrvalue.
34402 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34403 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34404 Likewise.
34405 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34406 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34407 (__libc_sigaction): Likewise.
34408 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34409 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34410 Likewise.
34411 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34412
cc7834d6
OB
344132013-02-13 Ondřej Bílka <neleai@seznam.cz>
34414
ffb1ec7b 34415 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
34416
34417 * string/mempcpy.c: Implement by calling memcpy.
34418
bdf02814
SP
344192013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34420
c2af38aa
SP
34421 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34422
4e92d59e
SP
34423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34424 evaluation.
34425
909279a5
SP
34426 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34427 values in the mantissa.
34428
bdf02814
SP
34429 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34430 minimize writes to Z.
34431 (sub_magnitudes): Simplify code a bit.
34432
cd525923
RM
344332013-02-12 Roland McGrath <roland@hack.frob.com>
34434
34435 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34436 from the message. The linker prefixes all warnings with that already.
34437
7e2f0d2d
AS
344382013-02-12 Andreas Schwab <schwab@suse.de>
34439
a445af0b
AS
34440 [BZ #15078]
34441 * posix/regexec.c (extend_buffers): Add parameter min_len.
34442 (check_matching): Pass minimum needed length.
34443 (clean_state_log_if_needed): Likewise.
34444 (get_subexp): Likewise.
34445 * posix/Makefile (tests): Add bug-regex34.
34446 (bug-regex34-ENV): Define.
34447 * posix/bug-regex34.c: New file.
34448
7e2f0d2d
AS
34449 [BZ #11561]
34450 * posix/regcomp.c (parse_bracket_exp): When looking up collating
34451 elements compare against the byte sequence of it, not its name.
34452 * posix/Makefile (tests): Add bug-regex35.
34453 (bug-regex35-ENV): Define.
34454 * posix/bug-regex35.c: New file.
34455
a175b684
TV
344562013-02-11 Tom de Vries <tom@codesourcery.com>
34457
34458 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34459 comment.
34460 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34461 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34462 (CHECK_EOL): Add undef.
34463
310998fe 344642013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
34465
34466 * bits/stdlib-bsearch.h: New file.
34467 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 34468 * stdlib/stdlib.h: Likewise.
41eda41d 34469
8ded91fb
RM
344702013-02-11 Roland McGrath <roland@hack.frob.com>
34471
34472 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34473 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34474 declaration.
34475 * manual/search.texi (Array Search Function): Add missing const in
34476 lfind prototype.
34477 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34478 declaration to use rlim_t.
34479 (Basic Scheduling Functions): Remove erroneous const from
34480 sched_getparam prototype. Remove erroneous * from
34481 sched_get_priority_max and sched_get_priority_min prototypes.
34482 (Resource Usage): Fix summary @comment on vtimes to refer to
34483 sys/vtimes.h rather than vtimes.h.
34484 Add missing *s in vtimes prototype.
34485 (Limits on Resources): Fix ulimit prototype to return long int.
34486 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34487 prototypes to use long int rather than double.
34488 (BSD Random): Fix initstate and setstate to use char *, not void *.
34489 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34490 prototype to make second argument 'struct aiocb64 *const[]'.
34491 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34492 (Status of AIO Operations): Remove erroneous const in aio_return and
34493 aio_return64 prototypes.
34494 (Synchronizing I/O): Fix sync prototype to return void.
34495 * manual/startup.texi (Suboptions): Remove an erroneous const in
34496 getsubopt prototype.
34497 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34498 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34499 use size_t rather than int.
34500 (Scanning All Users): Likewise for getpwent_r.
34501 (Setting Groups): Add missing const to setgroups prototype.
34502 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34503 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34504 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34505 'const void *' rather than 'const char *'.
34506 (Host Address Functions): Likewise for inet_ntop.
34507 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34508 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34509 ssize_t for return value.
34510 (Sending Data): Likewise for send, sendto, sendmsg.
34511 (Socket Option Functions): Add a missing const in setsockopt prototype.
34512 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34513 use wchar_t for the argument.
34514 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34515 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34516 take no arguments.
34517 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34518 double/float/long double for second argument.
34519 Fix return types of significand, significandf, significandl.
34520 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34521 argument in fchmod prototype.
34522 (File Owner): Use uid_t and gid_t in fchown prototype.
34523 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34524 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34525 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34526 use 'const struct dirent **' as argument types to CMP function pointer
34527 argument.
34528 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34529 (File Times): Fix summary magic @comment for struct utimbuf and utime
34530 to refer to utime.h, not time.h.
34531 * manual/string.texi (Argz Functions): Add missing const in
34532 argz_extract and argz_next prototypes.
34533 (Finding Tokens in a String): Likewise for basename.
34534 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34535 (Copying and Concatenation): Fix typo in wmemmove prototype.
34536 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34537 (Signal Stack): Remove erroneous const in sigstack prototype.
34538 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34539 prototype.
34540 (Simple Calendar Time): Likewise for stime.
34541 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34542 prototype.
34543 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34544 say sys/sysctl.h instead.
34545 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34546 and vsyslog prototypes.
34547
fe77fe6d
TV
345482013-02-11 Tom de Vries <tom@codesourcery.com>
34549
34550 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34551 Remove.
34552
3a09b620
RM
345532013-02-11 Roland McGrath <roland@hack.frob.com>
34554
34555 * misc/sys/mman.h: Fix typo in mremap comment.
34556
550a0b89
RM
345572013-02-08 Roland McGrath <roland@hack.frob.com>
34558
34559 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34560 the '\0' terminator.
34561
a2da1673
JM
345622013-02-08 Joseph Myers <joseph@codesourcery.com>
34563
34564 [BZ #13550]
34565 * debug/segfault.c: Don't include <bp-checks.h>.
34566 * sysdeps/generic/bp-checks.h: Remove file.
34567 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34568 (__GETDENTS): Don't use CHECK_N.
34569 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34570 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34571 (__getgroups): Don't use CHECK_N.
34572 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34573 (setgroups): Don't use CHECK_N.
34574 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34575 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34576 (__libc_msgrcv): Don't use CHECK_N.
34577 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34578 (__libc_msgsnd): Don't use CHECK_N.
34579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34580 <bp-checks.h>.
34581 (__libc_pread): Don't use CHECK_N.
34582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34583 include <bp-checks.h>.
34584 (__libc_pread64): Don't use CHECK_N.
34585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34586 include <bp-checks.h>.
34587 (__libc_pwrite): Don't use CHECK_N.
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34589 include <bp-checks.h>.
34590 (__libc_pwrite64): Don't use CHECK_N.
34591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34592 <bp-checks.h>.
34593 (__libc_pread): Don't use CHECK_N.
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34595 include <bp-checks.h>.
34596 (__libc_pread64): Don't use CHECK_N.
34597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34598 include <bp-checks.h>.
34599 (__libc_pwrite): Don't use CHECK_N.
34600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34601 include <bp-checks.h>.
34602 (__libc_pwrite64): Don't use CHECK_N.
34603 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34604 (do_pread): Don't use CHECK_N.
34605 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34606 (do_pread64): Don't use CHECK_N.
34607 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34608 (do_pwrite): Don't use CHECK_N.
34609 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34610 (do_pwrite64): Don't use CHECK_N.
34611 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34612 (__libc_readv): Don't use CHECK_N.
34613 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34614 (semop): Don't use CHECK_N.
34615 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34616 <bp-checks.h>.
34617 (semtimedop): Don't use CHECK_N.
34618 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34619 (__libc_pread): Don't use CHECK_N.
34620 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34621 <bp-checks.h>.
34622 (__libc_pread64): Don't use CHECK_N.
34623 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34624 <bp-checks.h>.
34625 (__libc_pwrite): Don't use CHECK_N.
34626 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34627 <bp-checks.h>.
34628 (__libc_pwrite64): Don't use CHECK_N.
34629 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34630 <bp-checks.h>.
34631 (__libc_msgrcv): Don't use CHECK_N.
34632 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34633 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
34634 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34635 (__libc_writev): Don't use CHECK_N.
34636
b84660a8
RM
346372013-02-08 Roland McGrath <roland@hack.frob.com>
34638
7f3e75f8
RM
34639 * string/strcpy.c: Removed unused variable.
34640
b84660a8
RM
34641 * Makeconfig (+sysdep-includes): Define with := rather than =.
34642 Use an existing include/ subdir of each sysdeps dir before it.
34643
471514d3
CD
346442013-02-08 Carlos O'Donell <carlos@redhat.com>
34645
34646 * nscd/connection.c (register_traced_file): Comment function.
34647 [HAVE_INOTIFY] (union __inev): Define.
34648 [HAVE_INOTIFY] (inotify_check_files): New function.
34649 [HAVE_INOTIFY] (clear_db_cache): Likewise.
34650 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34651 clear_db_cache.
34652 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34653
b2d3c3be
CD
346542013-02-08 Carlos O'Donell <carlos@redhat.com>
34655
34656 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34657 loaded if not already and that a failure is permanent.
34658
b39949d2
CD
346592013-02-08 Carlos O'Donell <carlos@redhat.com>
34660
ddacd1db 34661 [BZ #15006]
b39949d2
CD
34662 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34663 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34664
b2c9eff4
JM
346652013-02-08 Joseph Myers <joseph@codesourcery.com>
34666
f3aae3f3
JM
34667 [BZ #13550]
34668 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34669 (CHECK_1_NULL_OK): Likewise.
34670 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34671 (__fxstat): Do not use CHECK_1.
34672 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34673 <bp-checks.h>.
34674 (___fxstat64): Do not use CHECK_1.
34675 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34676 <bp-checks.h>.
34677 (__fxstatat): Do not use CHECK_1.
34678 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34679 <bp-checks.h>.
34680 (__fxstatat64): Do not use CHECK_1.
34681 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34682 <bp-checks.h>.
34683 (__fxstat): Do not use CHECK_1.
34684 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34685 <bp-checks.h>.
34686 (__fxstatat): Do not use CHECK_1.
34687 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34688 <bp-checks.h>.
34689 (__getresgid): Do not use CHECK_1.
34690 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34691 <bp-checks.h>.
34692 (__getresuid): Do not use CHECK_1.
34693 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34694 <bp-checks.h>.
34695 (__lxstat): Do not use CHECK_1.
34696 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34697 <bp-checks.h>.
34698 (__old_msgctl): Do not use CHECK_1.
34699 (__new_msgctl): Likewise.
34700 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34701 <bp-checks.h>.
34702 (__new_setrlimit): Do not use CHECK_1.
34703 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34704 <bp-checks.h>.
34705 (__old_shmctl): Do not use CHECK_1.
34706 (__new_shmctl): Likewise.
34707 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34708 <bp-checks.h>.
34709 (__xstat): Do not use CHECK_1.
34710 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34711 (__lxstat): Do not use CHECK_1.
34712 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34713 <bp-checks.h>.
34714 (___lxstat64): Do not use CHECK_1.
34715 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34716 (__old_msgctl): Do not use CHECK_1.
34717 (__new_msgctl): Likewise.
34718 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34719 <bp-checks.h>.
34720 (__gettimeofday): Do not use CHECK_1.
34721 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34722 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34723 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34724 <bp-checks.h>.
34725 (__gettimeofday): Do not use CHECK_1.
34726 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34727 (__old_shmctl): Do not use CHECK_1_NULL_OK.
34728 (__new_shmctl): Do not use CHECK_1.
34729 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34730 <bp-checks.h>.
34731 (do_sigtimedwait): Do not use CHECK_1.
34732 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34733 <bp-checks.h>.
34734 (do_sigwaitinfo): Do not use CHECK_1.
34735 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34736 <bp-checks.h>.
34737 (msgctl): Do not use CHECK_1.
34738 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34739 <bp-checks.h>.
34740 (shmctl): Do not use CHECK_1.
34741 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34742 (ustat): Do not use CHECK_1.
34743 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34744 <bp-checks.h>.
34745 (__fxstat): Do not use CHECK_1.
34746 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34747 <bp-checks.h>.
34748 (__fxstatat): Do not use CHECK_1.
34749 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34750 <bp-checks.h>.
34751 (__lxstat): Do not use CHECK_1.
34752 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34753 <bp-checks.h>.
34754 (__xstat): Do not use CHECK_1.
34755 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34756 (__xstat): Do not use CHECK_1.
34757 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34758 (___xstat64): Do not use CHECK_1.
34759
b2c9eff4
JM
34760 [BZ #13550]
34761 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34762 definitions.
34763 (CHECK_BOUNDS_HIGH): Likewise.
34764 * string/strcpy.c: Do not include <bp-checks.h>.
34765 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34766
f1d70dad
RM
347672013-02-07 Roland McGrath <roland@hack.frob.com>
34768
34769 * nscd/nscd-client.h (__nscd_drop_map_ref):
34770 Add __attribute__ ((unused)).
34771 * nis/nss-nisplus.h (niserr2nss): Likewise.
34772
34773 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34774 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34775
34776 * csu/libc-tls.c (init_static_tls, init_slotinfo):
34777 Remove inline keyword.
34778 * include/rounding-mode.h (round_away): Likewise.
34779 * libio/wfileops.c (adjust_wide_data): Likewise.
34780 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34781 (__m128i_strloadu_tolower): Likewise.
34782 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34783 (__m128i_strloadu_tolower): Likewise.
34784 * time/mktime.c (ydhms_diff): Likewise.
34785 * locale/elem-hash.h (elem_hash): Likewise.
34786 * locale/setlocale.c (setdata): Likewise.
34787 * posix/regex_internal.h (re_string_char_size_at): Likewise.
34788 (re_string_wchar_at): Likewise.
34789 (bitset_not, bitset_merge, bitset_mask): Likewise.
34790 [!(__GNUC__ > 3)] (inline): Remove macro.
34791 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34792 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34793 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34794 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34795 * string/memcmp.c (memcmp_bytes): Likewise.
34796 * locale/programs/locarchive.c (compute_hashval): Likewise.
34797 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34798 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34799 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34800 * nss/getent.c (print_rpc, print_protocols): Likewise.
34801 (print_passwd, print_group, print_aliases): Likewise.
34802 * nis/nss-nisplus.h (niserr2nss): Likewise.
34803 * nscd/connections.c (restart_p): Likewise.
34804 Change return type to bool.
34805
eab55bfb
RM
348062013-02-05 Roland McGrath <roland@hack.frob.com>
34807
7bd642f5
RM
34808 * Makeconfig (all-Depend-files): Add existing
34809 $(sorted-subdirs:=/Depend) files.
34810 (all-subdirs): Remove nss.
34811 * sysdeps/unix/inet/Subdirs: Add it here instead.
34812 * hesiod/Depend: New file.
34813
573c29b2
RM
34814 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34815 instead of calling alloca.
34816
b2e25af0
RM
34817 * io/lseek.c (__lseek): Rename to __libc_lseek.
34818 Define __lseek as an alias.
34819
eab55bfb
RM
34820 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34821
9a0d1941
CD
348222013-02-04 Carlos O'Donell <carlos@redhat.com>
34823
34824 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34825 else clause and remove check for non-standard endianness.
34826
b83bbec4
DM
348272013-02-04 David S. Miller <davem@davemloft.net>
34828
34829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34830
6277fdab
JM
348312013-02-04 Joseph Myers <joseph@codesourcery.com>
34832
34833 [BZ #13550]
34834 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34835 (__ubp_memchr): Remove prototype.
34836 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34837 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34838 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34839 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34840 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34841 Remove alias.
34842 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34843 (__ubp_memchr): Likewise.
34844 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34845 (__ubp_memchr): Likewise.
34846 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34847 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34848 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34849 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34850 CHECK_STRING.
34851 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34852 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34853 (__getcwd): Do not use CHECK_STRING.
34854 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34855 <bp-checks.h>.
34856 (__real_chown): Do not use CHECK_STRING.
34857 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34858 <bp-checks.h>.
34859 (fchownat): Do not use CHECK_STRING.
34860 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34861 CHECK_STRING.
34862 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34863 <bp-checks.h>.
34864 (__lchown): Do not use CHECK_STRING.
34865 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34866 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34867 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34868 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34870 include <bp-checks.h>.
34871 (truncate64): Do not use CHECK_STRING.
34872 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34873 <bp-checks.h>.
34874 (__real_chown): Do not use CHECK_STRING.
34875 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34876 <bp-checks.h>.
34877 (__lchown): Do not use CHECK_STRING.
34878 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34879 <bp-checks.h>.
34880 (__chown): Do not use CHECK_STRING.
34881 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34882 <bp-checks.h>.
34883 (truncate64): Do not use CHECK_STRING.
34884 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34885 Likewise.
34886 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34887 (__xmknod): Do not use CHECK_STRING.
34888 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34889 <bp-checks.h>.
34890 (__xmknodat): Do not use CHECK_STRING.
34891 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34892 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34893
903ae060
AS
348942013-02-04 Andreas Schwab <schwab@suse.de>
34895
34896 [BZ #14142]
34897 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34898 * include/netdb.h: Likewise for h_errno.
34899 * elf/tst-stackguard1.c: Include <tls.h>.
34900
542f9466
JK
349012013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
34902
34903 * elf/link.h (struct link_map): Extend the l_addr comment.
34904 * include/link.h (struct link_map): Likewise.
34905
e782a927
JM
349062013-02-01 Joseph Myers <joseph@codesourcery.com>
34907
34908 [BZ #13550]
34909 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34910 (BOUNDED_1): Remove macro.
34911 * debug/backtrace.c: Don't include <bp-checks.h>.
34912 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34913 (__backtrace): Likewise.
34914 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34915 <bp-checks.h>.
34916 (__backtrace): Don't use BOUNDED_1.
34917 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34918 <bp-checks.h>.
34919 (__backtrace): Don't use BOUNDED_1.
34920 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34921 (__backtrace): Don't use BOUNDED_1.
34922 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34923 (shmat): Don't use BOUNDED_N.
34924
8cf28c5e
JM
349252013-01-31 Joseph Myers <joseph@codesourcery.com>
34926
3a7ac8a0
JM
34927 [BZ #13550]
34928 * sysdeps/generic/bp-start.h: Remove file.
34929 * csu/libc-start.c: Don't include <bp-start.h>.
34930 (LIBC_START_MAIN): Set up __environ directly instead of using
34931 INIT_ARGV_and_ENVIRON.
34932 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34933 <bp-start.h>.
34934
f3499f95
JM
34935 [BZ #13550]
34936 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34937 definitions.
34938 (CHECK_FCNTL): Likewise.
34939 (CHECK_N_PAGES): Likewise.
34940
32a45bea
JM
34941 [BZ #13550]
34942 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34943 definitions.
34944 (CHECK_SIGSET_NULL_OK): Likewise.
34945 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34946 <bp-checks.h>.
34947 (sigpending): Don't use CHECK_SIGSET.
34948 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34949 <bp-checks.h>.
34950 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34951 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34952 <bp-checks.h>.
34953 (do_sigsuspend): Don't use CHECK_SIGSET.
34954 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34955 use CHECK_SIGSET.
34956 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34957 (do_sigwait): Don't use CHECK_SIGSET.
34958 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34959 use CHECK_SIGSET.
34960 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34961 include <bp-checks.h>.
34962 (sigpending): Don't use CHECK_SIGSET.
34963 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34964 include <bp-checks.h>.
34965 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34966 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34967 <bp-checks.h>.
34968 (sigpending): Don't use CHECK_SIGSET.
34969 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34970 <bp-checks.h>.
34971 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34972
2e8a5c8c
JM
34973 [BZ #13550]
34974 * sysdeps/generic/bp-semctl.h: Remove file.
34975 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34976 <bp-checks.h> and <bp-semctl.h>.
34977 (__old_semctl): Don't use CHECK_SEMCTL.
34978 (__new_semctl): Likewise.
34979 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34980 and <bp-semctl.h>.
34981 (__old_semctl): Don't use CHECK_SEMCTL.
34982 (__new_semctl): Likewise.
34983 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34984 <bp-checks.h> and <bp-semctl.h>.
34985 (__old_semctl): Don't use CHECK_SEMCTL.
34986 (__new_semctl): Likewise.
34987 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34988 <bp-checks.h> and <bp-semctl.h>.
34989 (semctl): Don't use CHECK_SEMCTL.
34990
c2d54929
JM
34991 [BZ #13550]
34992 * Makerules (elide-bp-thunks): Remove variable.
34993 (elide-routines.oS): Don't use $(elide-bp-thunks).
34994 (elide-routines.os): Likewise.
34995 (elide-routines.o): Likewise.
34996 (elide-routines.op): Likewise.
34997 (elide-routines.og): Likewise.
34998 (objects): Don't use $(bp-thunks).
34999 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35000 include.
35001 (common-generated): Do not add s-proto-bp.d.
35002 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35003 (int): Likewise.
35004 (typ): Likewise.
35005 Do not generate makefile rules for bounded-pointer thunks.
35006 * sysdeps/generic/bp-thunks.h: Remove file.
35007 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35008 * sysdeps/unix/s-proto-bp.S: Likewise.
35009
8cf28c5e
JM
35010 [BZ #15062]
35011 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35012 parts of result separately when argument is not close to line from
35013 -i to i and one part of argument is small.
35014 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35015 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35016 * math/libm-test.inc (cacos_test): Add more tests.
35017 (casin_test): Likewise.
35018 (casinh_test): Likewise.
35019 * sysdeps/i386/fpu/libm-test-ulps: Update.
35020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35021
c4e33b8d
DM
350222013-01-31 David S. Miller <davem@davemloft.net>
35023
35024 * po/de.po: Update from translation team.
35025
3b60b421
MK
350262013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35027
35028 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35029
bb931195
TS
350302013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35031
b5a5da23
TS
35032 * configure.in (_AC_PROG_CC_C89): New definition.
35033 * configure: Regenerate.
35034
bb931195
TS
35035 * configure.in (AC_PROG_CPP): New definition.
35036 * configure: Regenerate.
35037
8c53a12c
JM
350382013-01-23 Joseph Myers <joseph@codesourcery.com>
35039
35040 * debug/tst-backtrace.h: New file.
35041 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35042 (ret): Remove variable.
35043 (x): Likewise.
35044 (FAIL): Remove macro.
35045 (NO_INLINE): Likewise.
35046 (fn1): Use match function instead of strstr.
35047 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35048 (ret): Remove variable.
35049 (x): Likewise.
35050 (FAIL): Remove macro.
35051 (NO_INLINE): Likewise.
35052 (fn): Use match function instead of strstr.
35053 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35054 (ret): Remove variable.
35055 (x): Likewise.
35056 (FAIL): Remove macro.
35057 (NO_INLINE): Likewise.
35058 (handle_signal): Use match function instead of strstr.
35059 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35060 (ret): Remove variable.
35061 (x): Likewise.
35062 (FAIL): Remove macro.
35063 (NO_INLINE): Likewise.
35064 (handle_signal): Use match function instead of strstr.
35065
4858fa2a
RM
350662013-01-23 Roland McGrath <roland@hack.frob.com>
35067
35068 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35069
bae8e7f5
DM
350702013-01-23 David S. Miller <davem@davemloft.net>
35071
35072 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35073 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35074 argument of CAS if possible.
35075 * sysdeps/sparc/sparc64/bits/atomic.h
35076 (__arch_compare_and_exchange_val_32_acq): Likewise.
35077 (__arch_compare_and_exchange_val_64_acq): Likewise.
35078
9cbbc4ae
PT
350792013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35080
35081 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35082 * sysdeps/posix/ulimit.c: ... this.
92a601b8 35083 Include <limits.h>.
67b3f58c 35084 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 35085
5655a0b5
AC
350862013-01-23 Adam Conrad <adconrad@0c3.net>
35087
35088 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35089 (LDFLAGS-tst-array5): Likewise.
35090
052aff95
JM
350912013-01-23 Joseph Myers <joseph@codesourcery.com>
35092
35093 [BZ #15036]
35094 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35095 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35096 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35097 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35098
7c1e01aa
DM
350992013-01-21 David S. Miller <davem@davemloft.net>
35100
35101 * sysdeps/sparc/backtrace.c: New file.
35102 * sysdeps/sparc/sparc32/backtrace.h: New file.
35103 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35104 * sysdeps/sparc/sparc64/backtrace.h: New file.
35105 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35106 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35107 -funwind-tables.
35108
ab087e0a
AS
351092013-01-21 Andreas Schwab <schwab@suse.de>
35110
35111 [BZ #15020]
35112 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35113 closed its stdout.
35114
ed689c2f
AS
351152013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35116
35117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35118 "mpa2.h".
35119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35120
31d470ac
JM
351212013-01-18 Joseph Myers <joseph@codesourcery.com>
35122 Mark Mitchell <mark@codesourcery.com>
35123 Tom de Vries <tom@codesourcery.com>
35124 Paul Pluzhnikov <ppluzhnikov@google.com>
35125
35126 * debug/tst-backtrace2.c: New file.
35127 * debug/tst-backtrace3.c: Likewise.
35128 * debug/tst-backtrace4.c: Likewise.
35129 * debug/tst-backtrace5.c: Likewise.
35130 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35131 (CFLAGS-tst-backtrace3.c): Likewise.
35132 (CFLAGS-tst-backtrace4.c): Likewise.
35133 (CFLAGS-tst-backtrace5.c): Likewise.
35134 (LDFLAGS-tst-backtrace2): Likewise.
35135 (LDFLAGS-tst-backtrace3): Likewise.
35136 (LDFLAGS-tst-backtrace4): Likewise.
35137 (LDFLAGS-tst-backtrace5): Likewise.
35138 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35139 tst-backtrace4 and tst-backtrace5.
35140
90567f30 351412013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
35142 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35143
35144 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35145 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35146 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35147 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35149 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35150 "+r" and remove output regs list as redundant. Add explicit inline
35151 asm to specify register of return val to work around compiler codegen
35152 bug. Remove (int) cast on return value. Add return type parameter to
35153 use in macro so that this macro does not truncate return value for
35154 64-bit values.
35155 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35156 pass to INTERNAL_VSYSCALL_NCS.
35157 (INLINE_VSYSCALL): Add 'long int' as return type to
35158 INTERNAL_VSYSCALL_NCS macro invocation.
35159 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35160 INTERNAL_VSYSCALL_NCS macro invocation.
35161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35162
d3b9ea61
SP
351632013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35164
0b57daeb
SP
35165 [BZ #14496]
35166 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35167 Fix application of SIMD FP exception mask.
35168
caa99d06
SP
35169 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35170 mp_no from a power of two.
35171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35172 __mpexp_twomm1. Use __pow_mp.
35173
d3b9ea61
SP
35174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35175 multiplication.
35176
1dbaee3c
DM
351772013-01-17 David S. Miller <davem@davemloft.net>
35178
35179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35180
728d7b43
JM
351812013-01-17 Joseph Myers <joseph@codesourcery.com>
35182
35183 [BZ #15023]
35184 * include/complex.h: Condition contents on [!_COMPLEX_H].
35185 (__kernel_casinhf): New prototype.
35186 (__kernel_casinh): Likewise.
35187 (__kernel_casinhl): Likewise.
35188 * math/Makefile (libm_calls): Add k_casinh.
35189 * math/k_casinh.c: New file.
35190 * math/k_casinhf.c: Likewise.
35191 * math/k_casinhl.c: Likewise.
35192 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35193 finite nonzero arguments.
35194 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35195 finite nonzero arguments.
35196 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35197 finite nonzero arguments.
35198 * math/s_casinh.c: Do not include <float.h>.
35199 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35200 * math/s_casinhf.c: Do not include <float.h>.
35201 (__casinhf): Move code for finite nonzero arguments to
35202 k_casinhf.c.
35203 * math/s_casinhl.c: Do not include <float.h>.
35204 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35205 redefine.
35206 (__casinhl): Move code for finite nonzero arguments to
35207 k_casinhl.c.
35208 * math/libm-test.inc (cacos_test): Add more tests.
35209 * sysdeps/i386/fpu/libm-test-ulps: Update.
35210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35211
2a26ef3a
PT
352122013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35213
35214 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35215 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35216 [!HAVE_MREMAP]: Remove [defined linux] case.
35217 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35218
a897655d
SP
352192013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35220
35221 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35222
881ebe89 352232013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
35224
35225 * elf/elf.h (R_386_SIZE32): New relocation.
35226 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35227 R_386_SIZE32.
35228 (elf_machine_rela): Likewise.
35229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35230 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35231
59981e9b
JM
352322013-01-17 Joseph Myers <joseph@codesourcery.com>
35233
35234 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35235 (FP_FAST_FMA): Do not define.
35236 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35237 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35238 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35239 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35240 !_SOFT_FLOAT]: Likewise.
35241 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35242 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35243 value.
35244 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35245 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35246 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35247 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35248 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35249 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35250 file.
35251
cfa8054f
AS
352522013-01-16 Andreas Schwab <schwab@suse.de>
35253
35254 [BZ #14327]
35255 * include/stdlib.h (__mktemp): Add declaration.
35256 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35257 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35258
dd930cc5
SP
352592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35260
881ebe89
SP
35261 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35262 definitions.
35263 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35264 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35265 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35266 definitions here.
35267 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35268 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35269 definitions.
35270 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35271 and ONE.
35272 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35273 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35274 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35275 definitions.
35276 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35277 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35278 definitions.
35279 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 35280
dd930cc5
SP
35281 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35282
c19a9f89
DM
352832013-01-15 David S. Miller <davem@davemloft.net>
35284
1aa61767
DM
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35286 trunc{,f} to libm-sysdep_routes.
35287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35289 file.
35290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35292 file.
35293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35294 file.
35295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35297 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35298 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35299 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35300 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35301 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35302 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35303
c42d5e98
DM
35304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35305 nearbyint{,f} to libm-sysdep_routes.
35306 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35308 New file.
35309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35310 file.
35311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35312 New file.
35313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35314 file.
35315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35318 file.
35319 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35320 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35321 file.
35322 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35323 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35324 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35325
c19a9f89
DM
35326 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35327 libc_feholdexcept and libc_fesetenv.
35328
357679d2
MF
353292013-01-15 Mike Frysinger <vapier@gentoo.org>
35330
35331 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35332
65a82e3d
DM
353332013-01-14 David S. Miller <davem@davemloft.net>
35334
8b954ab9
DM
35335 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35336 (SPARC_ASM_VIS2_IFUNC): Likewise.
35337 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35339 use of 'siam' instruction.
35340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35341 Likewise.
35342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35343 Likewise.
35344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35345 Likewise.
35346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35351 file.
35352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35353 file.
35354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35355 file.
35356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35357 file.
35358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35363 new VIS2 routines.
35364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35367 Likewise.
35368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35373 routines to libm-sysdep_routines.
35374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35375
65a82e3d
DM
35376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35377 fdim/fdimf to libm-sysdep_routines.
35378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35379 file.
35380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35382 file.
35383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35386 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35387 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35388 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35389 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35390
e34ab705
SP
353912013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35392
2a91b573
SP
35393 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35394 to optimize copies.
35395
1066a534
SP
35396 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35399
e34ab705
SP
35400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35401 local variable MPTWO.
35402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35403 Likewise.
35404
aba5e596
MF
354052013-01-13 Mike Frysinger <vapier@gentoo.org>
35406
35407 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35408 GLOB_NOESCAPE.
35409
e557e9e5
MF
354102013-01-13 Mike Frysinger <vapier@gentoo.org>
35411
35412 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35413
0428cec9
MF
354142013-01-13 Mike Frysinger <vapier@gentoo.org>
35415
35416 * manual/pattern.texi (glob_t): Document gl_flags.
35417 (glob64_t): Likewise.
35418
8794a964
DM
354192013-01-11 David S. Miller <davem@davemloft.net>
35420
66438c3f
RM
35421 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35422 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35423 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
35424 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35425 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35426 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35427 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35428 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35429 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35430 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35431 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35432 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35433 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35434
4ae4244d
DM
35435 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35436 sparc V9 rather than using V8 code.
35437 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35438 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35439
8794a964
DM
35440 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35441 Move to...
35442 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35443 Here.
35444
6270516e
RM
354452013-01-11 Roland McGrath <roland@hack.frob.com>
35446
35447 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35448 not in the main loop.
35449 * configure: Regenerated.
35450
6a57d931
JM
354512013-01-11 Joseph Myers <joseph@codesourcery.com>
35452
35453 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35454 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35455 to just #else.
35456 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
35457 [!__GLIBC_HAVE_LONG_LONG] case.
35458 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35459 condition to just #else.
35460 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35461 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35462 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35463 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35464 unconditional.
35465 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35466 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35467 #elif condition to just #else.
35468 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35469 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35470 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35471 #elif condition to just #else.
35472
0e8529e9
SE
354732013-01-11 Steve Ellcey <sellcey@mips.com>
35474
35475 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35476 (EF_MIPS_ARCH_64): Fix value.
35477 (EF_MIPS_ARCH_32R2): New.
35478 (EF_MIPS_ARCH_64R2): New.
35479
740b3dbe
L
354802013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35481
35482 * Makeconfig (+link-pie-before-libc): New.
35483 (+link-pie-after-libc): Likewise.
35484 (+link-pie-tests): Likewise.
35485 (+link-pie): Rewritten.
35486 (link-before-libc): Remove $(config-LDFLAGS).
35487 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35488 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35489 (config-LDFLAGS): Renamed to ...
35490 (rtld-LDFLAGS): This.
35491 (rtld-tests-LDFLAGS): New macro.
35492 (link-libc-rpath-link): Likewise.
35493 (link-libc-tests-rpath-link): Likewise.
35494 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35495 (link-libc): Prepand $(link-libc-rpath-link).
35496 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35497 (test-program-prefix): New macro.
35498 (test-via-rtld-prefix): Likewise.
35499 (test-program-cmd): Likewise.
35500 (host-test-program-cmd): Likewise.
35501 * Makefile ($(common-objpfx)testrun.sh): Replace
35502 $(run-program-prefix) with $(test-program-prefix).
35503 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35504 $(rtld-LDFLAGS).
35505 ($(common-objpfx)shlib.lds): Likewise.
35506 (build-module-helper): Likewise.
35507 ($(common-objpfx)format.lds): Likewise.
35508 * Rules (binaries-pie-tests): New.
35509 (binaries-pie-notests): Likewise.
35510 (binaries-pie): Rewritten.
35511 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35512 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35513 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35514 (make-test-out): Replace $(host-built-program-cmd) with
35515 $(host-test-program-cmd).
35516 * config.make.in (build-hardcoded-path-in-tests): New variable.
35517 * configure.in (--enable-hardcoded-path-in-tests): New configure
35518 option.
35519 (hardcoded_path_in_tests): New AC_SUBST.
35520 * configure: Regenerated.
35521 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35522 $(built-program-cmd) with $(test-program-cmd).
35523 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35524 (test_program_cmd): This.
35525 * elf/Makefile ($(objpfx)order.out): Run test with
35526 $(test-program-prefix).
35527 ($(objpfx)order2.out): Likewise.
35528 ($(objpfx)tst-initorder.out): Likewise.
35529 ($(objpfx)tst-initorder2.out): Likewise.
35530 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35531 $(test-program-cmd).
35532 ($(objpfx)tst-array1-static.out): Likewise.
35533 ($(objpfx)tst-array2.out): Likewise.
35534 ($(objpfx)tst-array3.out): Likewise.
35535 ($(objpfx)tst-array4.out): Likewise.
35536 ($(objpfx)tst-array5.out): Likewise.
35537 ($(objpfx)tst-array5-static.out): Likewise.
35538 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35539 $(test-program-cmd).
35540 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35541 $(run-program-prefix) with $(test-program-prefix).
35542 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35543 (test_program_prefix): This.
35544 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35545 $(run-program-prefix) with $(test-program-prefix).
35546 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35547 (test_program_prefix): This.
35548 * iconvdata/tst-tables.sh: Likewise.
35549 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35550 $(run-program-prefix) with $(test-program-prefix).
35551 ($(objpfx)tst-translit.out): Likewise.
35552 ($(objpfx)tst-gettext2.out): Likewise.
35553 ($(objpfx)tst-gettext4.out): Likewise.
35554 ($(objpfx)tst-gettext6.out): Likewise.
35555 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35556 (test_program_prefix): This.
35557 * intl/tst-gettext2.sh: Likewise.
35558 * intl/tst-gettext4.sh Likewise.
35559 * intl/tst-gettext6.sh: Likewise.
35560 * intl/tst-translit.sh: Likewise.
35561 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35562 with $(test-program-cmd).
35563 * libio/Makefile ($(objpfx)test-freopen.out): Replace
35564 $(run-program-prefix) with $(test-program-prefix).
35565 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35566 (test_program_prefix): This.
35567 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35568 $(run-program-prefix) with $(test-program-prefix).
35569 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35570 (test_program_prefix): This.
35571 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35572 * posix/Makefile ($(objpfx)globtest.out): Replace
35573 $(run-via-rtld-prefix) and $(test-wrapper) with
35574 $(test-program-prefix) and $(test-via-rtld-prefix).
35575 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35576 $(test-program-prefix).
35577 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35578 $(host-test-program-cmd).
35579 (tst-spawn-ARGS): Likewise.
35580 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35581 $(test-program-prefix).
35582 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35583 (test_via_rtld_prefix): This.
35584 (test_wrapper): Renamed to ...
35585 (test_program_prefix): This.
35586 (run_program_prefix): Replaced by test_program_prefix.
35587 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35588 (test_program_prefix): This.
35589 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35590 with $(host-test-program-cmd).
35591 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35592 $(run-program-prefix) with $(test-program-prefix).
35593 ($(objpfx)tst-printf.out): Likewise.
35594 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35595 $(test-program-cmd).
35596 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35597 (test_program_prefix): This.
35598 * stdio-common/tst-unbputc.sh: Likewise.
35599 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35600 $(run-program-prefix) with $(test-program-prefix).
35601 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35602 (test_program_prefix): This.
35603 * string/Makefile ($(objpfx)tst-svc.out): Replace
35604 $(built-program-cmd) with $(test-program-cmd).
35605
c6fe55cf
AJ
356062013-01-11 Andreas Jaeger <aj@suse.de>
35607
35608 [BZ #15003]
35609 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35610 value. Sync with Linux 3.7.
35611
9e6919c8
DM
356122013-01-10 David S. Miller <davem@davemloft.net>
35613
35614 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35615 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35616 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35617
1c9f1a02
RM
356182013-01-10 Roland McGrath <roland@hack.frob.com>
35619
35620 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35621 never set.
35622 * configure: Regenerated.
35623
b9de2dde
DM
356242013-01-10 David S. Miller <davem@davemloft.net>
35625
35626 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35627 sparc V9 rather than using V8 code.
35628 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35629 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35630
e7f68ef4
RM
356312013-01-10 Roland McGrath <roland@hack.frob.com>
35632
35633 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35634 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35635 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35636 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35637 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35638 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35639 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35640 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35641 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35642 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35643 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35644 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35645 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35646 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35647 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35648 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35649 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35650 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35651 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35652 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35653 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35654 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35655 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35656 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35657 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35658 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35659 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35660
5a47cc9c
DM
356612013-01-10 David S. Miller <davem@davemloft.net>
35662
35663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35664
4cf8f209
L
356652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35666
35667 * posix/Makefile (tests-static): New variable.
35668 (tests): Add $(tests-static).
35669 (tst-exec-static-ARGS): New variable.
35670 (tst-spawn-static-ARGS): Likewise.
35671 * posix/tst-exec-static.c: New file.
35672 * posix/tst-spawn-static.c: Likewise.
35673 * posix/tst-exec.c: Support run directly.
35674 * posix/tst-spawn.c: Likewise.
35675
fed0faa1
JM
356762013-01-10 Joseph Myers <joseph@codesourcery.com>
35677
828beb13
JM
35678 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35679 long.
35680 * math/bits/mathcalls.h (llrint): Likewise.
35681 (llround): Likewise.
35682 * stdlib/stdlib.h (struct drand48_data): Likewise.
35683 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35684 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35685 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35686 Likewise.
35687 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35688 Likewise.
35689 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35690 (elf_greg_t): Likewise.
35691 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35692 (__jmp_buf): Likewise.
35693 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35694 definitions.
35695 (llrint): Likewise, for all definitions.
35696 (llrintl): Likewise.
35697
fed0faa1
JM
35698 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35699 Remove [__GNUC__] condition.
35700 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35701 condition to just [__USE_ISOC99].
35702 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35703
1a20cb20
L
357042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35705
35706 [BZ #14200]
35707 * sysdeps/unix/sysv/linux/x86/bits/environments.h
35708 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35709 defined.
35710 (_POSIX_V6_ILP32_OFF32): Likewise.
35711 (_XBS5_ILP32_OFF32): Likewise.
35712 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35713 (__ILP32_OFFBIG_LDFLAGS): Likewise.
35714
751b85f7
SP
357152013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35716
7490eb81
SP
35717 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35718
751b85f7
SP
35719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35720 doubles __mpexp_twomm1. Adjust usage.
35721 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35722 Remove.
35723
988197f0
AS
357242013-01-10 Andreas Schwab <schwab@suse.de>
35725
35726 [BZ #14964]
35727 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35728 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35729
e83d7298
DM
357302013-01-09 David S. Miller <davem@davemloft.net>
35731
034ed64b 35732 [BZ #15003]
57f41c40
AS
35733 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35734 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35735 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35736 (TCP_FASTOPEN): Define.
e83d7298
DM
35737 (tcp_repair_opt): New structure.
35738 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35739 enum values.
57f41c40
AS
35740 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35741 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35742 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
35743 (tcp_cookie_transactions): New structure.
35744
d5e0b9bd
AB
357452013-01-09 Anton Blanchard <anton@samba.org>
35746
35747 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35748 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35749 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35750 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35751
0c07e3ea
JM
357522013-01-09 Joseph Myers <joseph@codesourcery.com>
35753
35754 * include/features.h (__USE_ANSI): Remove.
35755
232f7002
RM
357562013-01-09 Roland McGrath <roland@hack.frob.com>
35757
ad98e30c
RM
35758 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35759
232f7002
RM
35760 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35761
950c99ca
SP
357622013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
35763
b5792741
SP
35764 * sysdeps/s390/fpu/libm-test-ulps: Update.
35765
47cf2278
SP
35766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35767
950c99ca
SP
35768 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35769 (__acr): Likewise.
35770 (__cpy): Likewise.
35771 (norm): Likewise.
35772 (denorm): Likewise.
35773 (__mp_dbl): Likewise.
35774 (__dbl_mp): Likewise.
35775 (add_magnitudes): Likewise.
35776 (sub_magnitudes): Likewise.
35777 (__add): Likewise.
35778 (__sub): Likewise.
35779 (__mul): Likewise.
35780 (__inv): Likewise.
35781 (__dvd): Likewise.
35782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35783 (__acr): Likewise.
35784 (__cpy): Likewise.
35785 (norm): Likewise.
35786 (denorm): Likewise.
35787 (__mp_dbl): Likewise.
35788 (__dbl_mp): Likewise.
35789 (add_magnitudes): Likewise.
35790 (sub_magnitudes): Likewise.
35791 (__add): Likewise.
35792 (__sub): Likewise.
35793 (__mul): Likewise.
35794 (__inv): Likewise.
35795 (__dvd): Likewise.
35796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35797 (__acr): Likewise.
35798 (__cpy): Likewise.
35799 (norm): Likewise.
35800 (denorm): Likewise.
35801 (__mp_dbl): Likewise.
35802 (__dbl_mp): Likewise.
35803 (add_magnitudes): Likewise.
35804 (sub_magnitudes): Likewise.
35805 (__add): Likewise.
35806 (__sub): Likewise.
35807 (__mul): Likewise.
35808 (__inv): Likewise.
35809 (__dvd): Likewise.
35810
eede9df9
JM
358112013-01-08 Joseph Myers <joseph@codesourcery.com>
35812
35813 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35814 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35815 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35816 2 && __USE_EXTERN_INLINES]: Likewise.
35817
c40ea3d9
AJ
358182013-01-08 Andreas Jaeger <aj@suse.de>
35819
35820 [BZ# 14985]
35821 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35822 Remove.
35823 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35824 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35825
2ccdea26
AB
358262013-01-07 Anton Blanchard <anton@samba.org>
35827
35828 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35829 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35830 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35831 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35832 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35833 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35834 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35835 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35837 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35838 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35839 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35840 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35842 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35843 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35844 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35845 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35846 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35847 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35848 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35849 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35851 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35852 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35853 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35854 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35855 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35857 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35858 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35860 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35861 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35862 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35863 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35864 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35866 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35867 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35868 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35870 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35871
a9708fed
JM
358722013-01-07 Joseph Myers <joseph@codesourcery.com>
35873
375607b9
JM
35874 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35875 (__MALLOC_PMT): Likewise.
35876 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35877 [__GNUC__], only on [_LIBC].
35878 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35879 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35880 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35881 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35882 forward declaration.
35883 (realloc_hook_ini): Likewise.
35884 (memalign_hook_ini): Likewise.
35885 (__libc_memalign): Do not use __MALLOC_PMT in variable
35886 declaration.
35887 (__libc_valloc): Likewise.
35888 (__libc_pvalloc): Likewise.
35889 (__libc_calloc): Likewise.
35890 (__posix_memalign): Likewise.
35891
a9708fed
JM
35892 [BZ #14996]
35893 * math/s_casinh.c: Include <float.h>.
35894 (__casinh): Do not do computation with squaring and square root
35895 for large arguments.
35896 * math/s_casinhf.c: Include <float.h>.
35897 (__casinhf): Do not do computation with squaring and square root
35898 for large arguments.
35899 * math/s_casinhl.c: Include <float.h>.
35900 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35901 (__casinhl): Do not do computation with squaring and square root
35902 for large arguments.
35903 * math/libm-test.inc (casin_test): Add more tests.
35904 (casinh_test): Likewise.
35905 * sysdeps/i386/fpu/libm-test-ulps: Update.
35906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35907
afec409a
L
359082013-01-04 H.J. Lu <hongjiu.lu@intel.com>
35909
35910 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35911 (__x86_64_raw_data_cache_size): Likewise.
35912 (__x86_64_data_cache_size_half): Likewise.
35913 (__x86_64_raw_data_cache_size_half): Likewise.
35914 (__x86_64_shared_cache_size): Likewise.
35915 (__x86_64_raw_shared_cache_size): Likewise.
35916 (__x86_64_shared_cache_size_half): Likewise.
35917 (__x86_64_raw_shared_cache_size_half): Likewise.
35918 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35919 to ...
35920 (__x86_data_cache_size): This.
35921 (__x86_64_raw_data_cache_size): Renamed to ...
35922 (__x86_raw_data_cache_size): This.
35923 (__x86_64_data_cache_size_half): Renamed to ...
35924 (__x86_data_cache_size_half): This.
35925 (__x86_64_raw_data_cache_size_half): Renamed to ...
35926 (__x86_raw_data_cache_size_half): This.
35927 (__x86_64_shared_cache_size): Renamed to ...
35928 (__x86_shared_cache_size): This.
35929 (__x86_64_raw_shared_cache_size): Renamed to ...
35930 (__x86_raw_shared_cache_size): This.
35931 (__x86_64_shared_cache_size_half): Renamed to ...
35932 (__x86_shared_cache_size_half): This.
35933 (__x86_64_raw_shared_cache_size_half): Renamed to ...
35934 (__x86_raw_shared_cache_size_half): This.
35935 * sysdeps/x86_64/memcpy.S: Updated.
35936 * sysdeps/x86_64/memset.S: Likewise.
35937 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35938 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35939 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35940
0b3986d0
DM
359412013-01-04 David S. Miller <davem@davemloft.net>
35942
35943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35944
e47686e9
AS
359452013-01-04 Andreas Schwab <schwab@linux-m68k.org>
35946
d643bac1
AS
35947 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35948 1 to avoid redefinition warning.
35949 (__USE_GNU): Don't define.
35950 (init_signaling_nan): Protoize.
35951
e47686e9
AS
35952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35953
b18decba
SP
359542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35955
fffb407f
SP
35956 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35958 (__cpymn): Likewise.
35959 (norm): Remove commented code.
35960 (denorm): Likewise.
35961 (__mp_dbl): Likewise.
35962 (__inv): Likewise.
35963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35964 (__cpymn): Likewise.
35965 (norm): Remove commented code.
35966 (denorm): Likewise.
35967 (__mp_dbl): Likewise.
35968 (__inv): Likewise.
35969
b18decba
SP
35970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35971 mp_no value for 1.0 and 2.0.
35972 (norm): Use RADIXI instead of radixi.d.
35973 (denorm): Likewise.
35974 (__mul): Use 0.0 instead of zero.d.
35975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35976 mp_no value for 1.0 and 2.0.
35977 (norm): Use RADIXI instead of radixi.d.
35978 (denorm): Likewise.
35979 (__mul): Use 0.0 instead of zero.d.
35980
cdc1c96f
JM
359812013-01-04 Joseph Myers <joseph@codesourcery.com>
35982
35983 [BZ #14994]
35984 * math/s_casinh.c (__casinh): Reduce finite argument to first
35985 quadrant then set signs of results at the end.
35986 * math/s_casinhf.c (__casinhf): Likewise.
35987 * math/s_casinhl.c (__casinhl): Likewise.
35988 * math/libm-test.inc (casin_test): Add more tests.
35989 (casinh_test): Likewise.
35990 * sysdeps/i386/fpu/libm-test-ulps: Update.
35991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35992
302913e1
SP
359932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35994
6420d207
SP
35995 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35996
a9e48ab4
SP
35997 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35998
b7837264
SP
35999 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36000 declarations.
36001 (denorm): Likewise.
36002 (__mp_dbl): Likewise.
36003 (__inv): Likewise.
36004
f8af25d2
SP
36005 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36006 and adjust the header comment.
36007
302913e1
SP
36008 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36009 variable name from declaration.
36010
5d7dd1ca
L
360112013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36014 Initialize COMMON_CPUID_INDEX_7 element.
36015 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36016 (CPUID_RTM): Likewise.
36017 (HAS_RTM): Likewise.
36018 (COMMON_CPUID_INDEX_7): New enum.
36019
2f5f40f4
AS
360202013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36021
36022 [BZ #14981]
36023 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36024 size is zero, record memory as freed.
36025
4056f4a0
AJ
360262013-01-03 Andreas Jaeger <aj@suse.de>
36027
36028 * po/ia.po: Add new Interlingua translation.
36029
ab15736f 360302012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
36031
36032 * locale/programs/localedef.c: Fix description of '--posix' flag.
36033
568035b7
JM
360342013-01-02 Joseph Myers <joseph@codesourcery.com>
36035
e6898b8d
JM
36036 * NEWS: Update dates in second copyright notice.
36037 * README: Update copyright dates in example.
36038 * manual/libc.texinfo: Update copyright dates.
36039 * scripts/test-installation.pl: Update copyright date in --version
36040 output.
36041
0e2f9562
JM
36042 * hurd/ctty-input.c: Fix copyright notice formatting.
36043 * hurd/ctty-output.c: Likewise.
36044 * hurd/dtable.c: Likewise.
36045 * hurd/hurd-raise.c: Likewise.
36046 * hurd/hurdprio.c: Likewise.
36047 * hurd/msgportdemux.c: Likewise.
36048 * misc/sys/file.h: Likewise.
36049 * misc/sys/ioctl.h: Likewise.
36050 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36051 * sysdeps/mach/hurd/chdir.c: Likewise.
36052 * sysdeps/mach/hurd/fchdir.c: Likewise.
36053 * sysdeps/mach/hurd/rename.c: Likewise.
36054 * sysdeps/mach/hurd/rmdir.c: Likewise.
36055 * sysdeps/mach/hurd/seekdir.c: Likewise.
36056 * sysdeps/mach/hurd/setsid.c: Likewise.
36057 * sysdeps/posix/wait3.c: Likewise.
36058
568035b7
JM
36059 * All files with FSF copyright notices: Update copyright dates
36060 using scripts/update-copyrights.
36061 * intl/plural.c: Regenerated.
36062 * locale/programs/charmap-kw.h: Likewise.
36063 * locale/programs/locfile-kw.h: Likewise.
36064
da08f647
SP
360652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36066
0f5477af
SP
36067 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36068 four values.
36069
44e0d4c2
SP
36070 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36071 calculation loop and add branch prediction.
36072
4d55b4e5
SP
36073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36074 check access beyond bounds of m1np.
36075
da08f647
SP
36076 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36077 MPTWO.
36078 (__inv): Remove local variable MPTWO to use the global
36079 constant.
36080 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36082 variable MPTWO.
36083 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36084 MP3HALFS static const.
36085
8e051029
DM
360862013-01-01 David S. Miller <davem@davemloft.net>
36087
36088 * po/ca.po: Update from translation team.
36089
f4cf5f2d
JM
360902013-01-01 Joseph Myers <joseph@codesourcery.com>
36091
36092 * scripts/update-copyrights: New file.
36093 * Makeconfig: Reformat copyright notice.
36094 * ctype/ctype.h: Likewise.
36095 * debug/swprintf_chk.c: Likewise.
36096 * elf/dl-cache.c: Likewise.
36097 * elf/dl-debug.c: Likewise.
36098 * elf/dl-object.c: Likewise.
36099 * grp/initgroups.c: Likewise.
36100 * hurd/Makefile: Likewise.
36101 * hurd/hurd/signal.h: Likewise.
36102 * hurd/hurdfault.c: Likewise.
36103 * hurd/hurdioctl.c: Likewise.
36104 * hurd/hurdlookup.c: Likewise.
36105 * hurd/intr-msg.c: Likewise.
36106 * iconv/gconv_open.c: Likewise.
36107 * libio/swprintf.c: Likewise.
36108 * locale/lc-ctype.c: Likewise.
36109 * locale/nl_langinfo.c: Likewise.
36110 * mach/Machrules: Likewise.
36111 * mach/Makefile: Likewise.
36112 * malloc/obstack.h: Likewise.
36113 * manual/Makefile: Likewise.
36114 * manual/tsort.awk: Likewise.
36115 * misc/bits/stab.def: Likewise.
36116 * nis/nis_print_group_entry.c: Likewise.
36117 * nis/nis_table.c: Likewise.
36118 * nis/nss_compat/compat-pwd.c: Likewise.
36119 * nis/nss_compat/compat-spwd.c: Likewise.
36120 * po/Makefile: Likewise.
36121 * posix/fnmatch.c: Likewise.
36122 * posix/regex.h: Likewise.
36123 * resolv/Makefile: Likewise.
36124 * resolv/nss_dns/dns-network.c: Likewise.
36125 * resolv/res_hconf.c: Likewise.
36126 * scripts/gen-sorted.awk: Likewise.
36127 * soft-fp/soft-fp.h: Likewise.
36128 * stdio-common/printf.h: Likewise.
36129 * stdlib/monetary.h: Likewise.
36130 * stdlib/random.c: Likewise.
36131 * stdlib/random_r.c: Likewise.
36132 * sysdeps/generic/Makefile: Likewise.
36133 * sysdeps/gnu/Makefile: Likewise.
36134 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36144 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36157 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36158 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36162 * sysdeps/mach/hurd/errnos.awk: Likewise.
36163 * sysdeps/mach/hurd/fork.c: Likewise.
36164 * sysdeps/mach/hurd/getcwd.c: Likewise.
36165 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36166 * sysdeps/mach/hurd/mmap.c: Likewise.
36167 * sysdeps/mach/hurd/utimes.c: Likewise.
36168 * sysdeps/mach/hurd/xmknod.c: Likewise.
36169 * sysdeps/posix/profil.c: Likewise.
36170 * sysdeps/posix/readdir_r.c: Likewise.
36171 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36172 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36173 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36174 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36176 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36177 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36178 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36180 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36181 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36182 * sysdeps/pthread/lio_listio.c: Likewise.
36183 * sysdeps/sparc/dl-procinfo.h: Likewise.
36184 * sysdeps/unix/i386/sysdep.S: Likewise.
36185 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36186 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36187 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36188 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36190 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36191 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36192 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36193 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36194 * sysdeps/wordsize-32/divdi3.c: Likewise.
36195 * time/sys/time.h: Likewise.
36196 * wcsmbs/Makefile: Likewise.
36197
0549fbba
DM
361982013-01-01 David S. Miller <davem@davemloft.net>
36199
a141f1a7
DM
36200 * po/fr.po: Update from translation team.
36201
0549fbba
DM
36202 * catgets/gencat.c: Update copyright year.
36203 * csu/version.c: Likewise.
36204 * debug/catchsegv.sh: Likewise.
36205 * debug/pcprofiledump.c: Likewise.
36206 * debug/xtrace.sh: Likewise.
36207 * elf/ldconfig.c: Likewise.
36208 * elf/ldd.bash.in: Likewise.
36209 * elf/pldd.c: Likewise.
36210 * elf/sotruss.ksh: Likewise.
36211 * elf/sprof.c: Likewise.
36212 * iconv/iconv_prog.c: Likewise.
36213 * iconv/iconvconfig.c: Likewise.
36214 * locale/programs/locale.c: Likewise.
36215 * locale/programs/localedef.c: Likewise.
36216 * login/programs/pt_chown.c: Likewise.
36217 * malloc/memusage.sh: Likewise.
36218 * malloc/memusagestat.c: Likewise.
36219 * malloc/mtrace.pl: Likewise.
36220 * nscd/nscd.c: Likewise.
36221 * nss/getent.c: Likewise.
36222 * nss/makedb.c: Likewise.
36223 * posix/getconf.c: Likewise.
36224
18ea052c
SP
362252012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36226
36227 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36228 numbers.
36229
9c89fca6
MF
362302012-12-30 Mike Frysinger <vapier@gentoo.org>
36231
36232 * math/bits/mathcalls.h (modf): Use __nonnull.
36233
085ec079
SP
362342012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36235
36236 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36237 (split): Use macro CN instead of the bare value.
36238 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36239 could be used.
36240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36241 instead of the bare value.
36242 (power1): Likewise.
36243
6d9f97e1
SP
362442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36245
d63f73be
SP
36246 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36247 __ATAN_TWOM.
36248 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36249
6d9f97e1
SP
36250 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36251 their values.
36252 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36253 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36254 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36255 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36256
4c4febf5
AJ
362572012-12-28 Andreas Jaeger <aj@suse.de>
36258
af5843ef
AJ
36259 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36260 values are from Linux 3.7.
36261
4c4febf5
AJ
36262 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36263 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36264
99136f82
SP
362652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36266
2f216c3c 36267 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
36268 TRUE case.
36269
99136f82
SP
36270 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36271 (norm): Likewise.
36272 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36273 variables with preprocessor constants.
36274 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36275 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36276 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36277
7fffbdff
BH
362782012-12-27 Bruno Haible <bruno@clisp.org>
36279
36280 [BZ #14317]
36281 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36282 only if needed.
36283
b76eb5f0
SP
362842012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36285
31a7fe5c
SP
36286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36287 and use variable directly.
36288 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36289
b76eb5f0
SP
36290 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36291 MPONE.
36292 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36294 variable MPONE.
36295 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36297 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36298 include directive. Remove local variable MPONE.
36299 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36300 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36301 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36302
2c8bfe7d
DM
363032012-12-25 David S. Miller <davem@davemloft.net>
36304
36305 * version.h (RELEASE): Set to "development".
36306 (VERSION): Set to "2.17.90".
36307 * NEWS: Add 2.18 section.
36308
147d03b0
DM
363092012-12-21 David S. Miller <davem@davemloft.net>
36310
36311 * po/hr.po: Update from translation team.
36312
a8ebb2b9
AK
363132012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36314
36315 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36316
95b4f1b6
SE
363172012-12-19 Steve Ellcey <sellcey@mips.com>
36318
b2d94007 36319 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 36320
cedb2a90
MS
363212012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36322
36323 * manual/contrib.texi (Contributors): Spelling correction.
36324
bbf527d6
DM
363252012-12-15 David S. Miller <davem@davemloft.net>
36326
36327 * po/ru.po: Update from translation team.
36328
bc38c906
DM
363292012-12-13 David S. Miller <davem@davemloft.net>
36330
85429b1a
DM
36331 * NEWS: Mention IFUNC testsuite enhancements.
36332
d283e353
DM
36333 * po/pl.po: Update from translation team.
36334 * po/bg.po: Likewise.
36335
bc38c906
DM
36336 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36337 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36338
a181b0d7
DM
363392012-12-11 David S. Miller <davem@davemloft.net>
36340
4641d57e
DM
36341 * po/sv.po: Update from translation team.
36342
f7bc6495
DM
36343 * po/vi.po: Update from translation team.
36344
6fc9048f
DM
36345 * po/cs.po: Update from translation team.
36346
a181b0d7
DM
36347 * po/de.po: Update from translation team.
36348 * po/eo.po: Likewise.
36349 * po/nl.po: Likewise.
36350
f70bfe80
SP
363512012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36352
3c8b4190
SP
36353 [BZ #14246]
36354 * manual/argp.texi (Argp Helper Functions): Move node to follow
36355 Argp Parsing State.
36356
f70bfe80
SP
36357 [BZ #14872]
36358 * manual/conf.texi (Limits on File System Capacity): Mention if
36359 terminating null is included in the max size.
36360
188f0adf
AJ
363612012-12-10 Andreas Jaeger <aj@suse.de>
36362
36363 * po/cs.po: Update from translation team.
36364
56e7d3ad
SP
363652012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36366
36367 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36368 void pointer and cast to uintptr_t.
36369 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36370 path.
36371 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36372 * sysdeps/s390/s390-64/memset.S: Likewise.
36373
76f2d2ea 363742012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
36375
36376 [BZ #14833]
36377 * menual/message.texi (Message Translation): Fix typos.
36378 (Helper programs for gettext): Likewise.
36379
67cbf9a2
AS
363802012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36381
36382 [BZ #14898]
36383 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36384 Change to -1.
36385
682d0e9a
DM
363862012-12-07 David S. Miller <davem@davemloft.net>
36387
36388 * po/libc.pot: Update.
36389
573cd484
RH
363902012-12-07 Richard Henderson <rth@redhat.com>
36391
7e9da188 36392 [BZ #10114]
573cd484
RH
36393 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36394 normal/normal case to before the switch.
36395 (_FP_DIV): Likewise.
36396
e933a943
MF
363972012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36398 Mike Frysinger <vapier@gentoo.org>
36399
36400 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36401 check for __NR_fadvise64_64.
36402
82123268
CM
364032012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36404
36405 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36406 0, not just to plain "0" as a statement.
36407 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36408 with cw.
36409
d9814526
JM
364102012-12-06 Joseph Myers <joseph@codesourcery.com>
36411
36412 * NEWS: Use sourceware.org in Bugzilla URL.
36413
7728c574
SP
364142012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36415
f16946dd
SP
36416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36417 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36418
5704bbcb
SP
36419 * stdio-common/tst-put-error.c (do_test): Add newline to the
36420 padded test to ensure flush.
36421
17aa0516
JL
364222012-12-05 Jeff Law <law@redhat.com>
36423
36424 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36425
363313b5
JM
364262012-12-05 Joseph Myers <joseph@codesourcery.com>
36427
effbd42a
JM
36428 * README: Don't refer to ports add-on as distributed separately.
36429 Mention AArch64 in list of systems supported in the ports add-on.
36430
87600365
JM
36431 * LICENSES: Add more non-FSF copyright and license notices.
36432
a0d7066a
JM
36433 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36434 ((unused)).
36435
66ca5a5b
JM
36436 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36437
363313b5
JM
36438 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36439 10000 as width of padded output.
36440
b37984ad
JM
364412012-12-04 Joseph Myers <joseph@codesourcery.com>
36442
9003570a
JM
36443 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36444
b37984ad
JM
36445 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36446 variable LX with __attribute__ ((unused)).
36447 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36448 Likewise.
36449 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36451 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36452 with __attribute__ ((unused)).
36453
c8df52ec
DM
364542012-12-04 David S. Miller <davem@abraco.davemloft.net>
36455
36456 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36457
b3b099af
JM
364582012-12-04 Joseph Myers <joseph@codesourcery.com>
36459
c33aa6e3
JM
36460 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36461 (CFLAGS-nldbl-acos.c): New variable.
36462 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36463 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36464 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36465 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36466 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36467 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36468 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36469 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36470 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36471 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36472 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36473 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36474 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36475 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36476 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36477 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36478 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36479 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36480 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36481 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36482 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36483 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36484 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36485 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36486 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36487 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36488 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36489 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36490 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36491 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36492 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36493 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36494 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36495 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36496 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36497 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36498 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36499 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36500 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36501 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36502 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36503 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36504 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36505 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36506 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36507 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36508 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36509 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36510 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36511 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36512 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36513 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36514 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36515 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36516 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36517 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36518 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36519 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36520 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36521 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36522 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36523 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36524 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36525 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36526 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36527 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36528 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36529 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36530 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36531 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36532 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36533 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36534 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36535 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36536 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36537 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36538 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36539 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36540 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36541 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36542 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36543 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36544 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36545 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36546 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36547 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36548 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36549 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36550 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36551 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36552 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36553 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36554 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36555 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36556 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36557 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36558 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36559
20f0018d
JM
36560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36561 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36562
b3b099af
JM
36563 [BZ #14914]
36564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36565 whole low double instead of just low 47 bits when splitting values
36566 into two parts.
36567
029264d1
AM
365682012-12-03 Allan McRae <allan@archlinux.org>
36569
36570 * manual/stdio.texi (Predefined Printf Handlers): Remove
36571 @hsep and @vsep usage.
36572
c9d6789e
MF
365732012-12-03 Mike Frysinger <vapier@gentoo.org>
36574
36575 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36576 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36577
4b7634a5
JL
365782012-12-03 Jeff Law <law@redhat.com>
36579
36580 * time/sys/time.h (settimeofday): Do not mark TV argument
36581 as __nonnull.
36582
eb6cbd24
MF
365832012-12-01 Mike Frysinger <vapier@gentoo.org>
36584
36585 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36586 when currently writing and seek to current position when not.
36587 * libio/Makefile (tests): Remove bug-fclose1.
36588 * libio/bug-fclose1.c: Delete.
36589
f638872a
JM
365902012-12-01 Joseph Myers <joseph@codesourcery.com>
36591
36592 * manual/arith.texi (feenableexcept): Fix typo.
36593 (fedisableexcept): Likewise.
36594
48085d14
RM
365952012-11-30 Roland McGrath <roland@hack.frob.com>
36596
36597 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36598 second, differently-typed declaration, rather than a cast.
36599
1a538b9f
SP
366002012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36601
36602 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36603 * include/rpc/svc.h: ... here.
36604
d07f2ff1 366052012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
36606
36607 [BZ #13013]
36608 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36609 depending n and resplen2 to catch cases where answer
36610 equals answerp2.
36611
c93ec1f0
CD
366122012-11-29 Carlos O'Donell <carlos@systemhalted.org>
36613
36614 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36615 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36616
37db69de
MF
366172012-11-29 Mike Frysinger <vapier@gentoo.org>
36618
36619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36620
e10c4e4f
RM
366212012-11-29 Roland McGrath <roland@hack.frob.com>
36622
36623 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36624
2af1b328
JL
366252012-11-28 Jeff Law <law@redhat.com>
36626
36627 [BZ #13761]
36628 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36629 dataset_temporary. Track alloca usage into alloca_used.
36630 If dataset is large allocate and release it via malloc/free.
36631
111db5b1
FW
366322012-06-04 Florian Weimer <fweimer@redhat.com>
36633
f06cc227 36634 [BZ #14197]
111db5b1
FW
36635 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36636
dd694abd
DM
366372012-11-28 David S. Miller <davem@davemloft.net>
36638
36639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36640
9984dd01
JM
366412012-11-28 Joseph Myers <joseph@codesourcery.com>
36642
36643 [BZ #14803]
36644 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36645 of pi/2 rounded to nearest to 64 bits.
36646 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36647 nearest to 64 bits.
36648 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36649 bits.
36650
14bc93a9
JL
366512012-11-28 Jeff Law <law@redhat.com>
36652 Martin Osvald <mosvald@redhat.com>
36653
36654 [BZ #14889]
36655 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36656 * sunrpc/svc.c: Include time.h.
36657 (__svc_accept_failed): New function.
36658 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36659 any reason other than EINTR, call __svc_accept_failed.
36660 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36661 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36662
e3c6aa3a
AS
366632012-11-28 Andreas Schwab <schwab@suse.de>
36664
36665 * scripts/abilist.awk: Also handle indirect functions in .opd
36666 section.
36667
1bead169
JM
366682012-11-28 Joseph Myers <joseph@codesourcery.com>
36669
36670 [BZ #13881]
36671 * sysdeps/x86/fpu/powl_helper.c: New file.
36672 * sysdeps/x86/fpu/Makefile: Likewise.
36673 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36674 (p3): New object.
36675 (__ieee754_powl): Use __powl_helper for finite arguments except
36676 integer exponents below 8.
36677 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36678 (p3): New object.
36679 (__ieee754_powl): Use __powl_helper for finite arguments except
36680 integer exponents below 8.
36681 * math/libm-test.inc (pow_test): Add more tests and enable some
36682 previously disabled tests.
36683 * sysdeps/i386/fpu/libm-test-ulps: Update.
36684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36685
0817d63d
SP
366862012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36687 Carlos O'Donell <carlos_odonell@mentor.com>
36688
36689 * nss/makedb.c (is_prime): Assert that input is odd and greater
36690 than 4. Note that fact in a comment too.
36691 (next_prime): Add 4 to input.
36692
de2fd463
SP
366932012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36694
36695 [BZ #11741]
36696 * libio/Makefile (tests): Add test case tst-fwrite-error.
36697 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36698 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36699 * libio/tst-fwrite-error.c: New test case.
36700
c515fb51
L
367012012-11-26 H.J. Lu <hongjiu.lu@intel.com>
36702
36703 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36704 before casting to void *.
36705 * include/libc-internal.h (__pointer_type): New macro.
36706 (__integer_if_pointer_type_sub): Likewise.
36707 (__integer_if_pointer_type): Likewise.
36708 (cast_to_integer): Likewise.
36709 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36710 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36711 before casting to atomic64_t.
36712 (atomic_exchange_acq): Likewise.
36713 (__arch_exchange_and_add_body): Likewise.
36714 (__arch_add_body): Likewise.
36715 (atomic_add_negative): Likewise.
36716 (atomic_add_zero): Likewise.
36717
4cf77aa9
JM
367182012-11-26 Joseph Myers <joseph@codesourcery.com>
36719
36720 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36721 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36722 (add_fdes): Likewise.
36723 (linear_search_fdes): Likewise.
36724 (binary_search_unencoded_fdes): Likewise.
36725
d260b3b4
AS
367262012-11-26 Andreas Schwab <schwab@linux-m68k.org>
36727
36728 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36729
67060746
AC
367302012-11-24 Adam Conrad <adconrad@0c3.net>
36731
36732 * configure.in: Autodetect C++ header directories.
36733 * configure: Regenerated.
36734
800938a1
MF
367352012-11-23 Mike Frysinger <vapier@gentoo.org>
36736
36737 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36738
4e6e34e6
AS
367392012-11-23 Andreas Schwab <schwab@linux-m68k.org>
36740
36741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36742
7c7feb47
JM
367432012-11-22 Joseph Myers <joseph@codesourcery.com>
36744
7184dcdf
JM
36745 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36746 LDBL_MANT_DIG == 106]: Disable some tests.
36747 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36748 Likewise.
36749 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36750 Likewise.
36751
0a42601f
JM
36752 [BZ #14871]
36753 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36754 input for small inputs. Return +/- pi/2 for large inputs.
36755 * math/libm-test.inc (atan_test): Add more tests.
36756
79c9b9fe
JM
36757 * sysdeps/generic/unwind-dw2-fde-glibc.c
36758 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36759 __attribute__ ((unused)).
36760
c60d3bf2
JM
36761 [BZ #14645]
36762 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36763 x * y if x and y are nonzero and z is zero.
36764
ef1e0867
JM
36765 [BZ #14811]
36766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36767 nonzero exponents with absolute value below 0x1p-117 to +/-
36768 0x1p-117.
36769
1468ded3
JM
36770 [BZ #14869]
36771 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36772 up arguments below 2**-450, not just those below 2**-500.
36773 * math/libm-test.inc (hypot_test): Add another test.
36774
8e27e3cc
JM
36775 [BZ #14868]
36776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36777 Return a+b for ratio over 2**120, not 2**60.
36778 * math/libm-test.inc (hypot_test): Add another test.
36779
c9c0279b
JM
36780 * math/libm-test.inc (clog_test): Use
36781 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36782 (clog10_test): Likewise.
36783
7c7feb47
JM
36784 [BZ #6778]
36785 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36786
fff1530e
AS
367872012-11-22 Andreas Schwab <schwab@suse.de>
36788
36789 * sysdeps/i386/fpu/libm-test-ulps: Update.
36790
94558d30
PT
367912012-11-22 Pino Toscano <toscano.pino@tiscali.it>
36792
36793 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36794 printf output with newline.
36795
7e1be741
L
367962012-11-21 H.J. Lu <hongjiu.lu@intel.com>
36797
6bfea974
L
36798 [BZ #14865]
36799 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36800 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36801 -z nodlopen, -z initfirst and -z execstack support.
36802 * configure: Regenerated.
36803
7e1be741
L
36804 * elf/elf.h (DF_1_NODIRECT): New macro.
36805 (DF_1_IGNMULDEF): Likewise.
36806 (DF_1_NOKSYMS): Likewise.
36807 (DF_1_NOHDR): Likewise.
36808 (DF_1_EDITED): Likewise.
36809 (DF_1_NORELOC): Likewise.
36810 (DF_1_SYMINTPOSE): Likewise.
36811 (DF_1_GLOBAUDIT): Likewise.
36812 (DF_1_SINGLETON): Likewise.
36813 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36814 DT_1_SUPPORTED_MASK bits.
36815 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36816
105ce2ce
CD
368172012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
36818
36819 * sysdeps/unix/make-syscalls.sh: Document prefixes.
36820
123be9de
TS
368212012-11-20 Thomas Schwinge <thomas@codesourcery.com>
36822
d072f3f7
TS
36823 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36824 macro.
36825
123be9de
TS
36826 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36827 (sendmmsg): Move declarations...
36828 * socket/sys/socket.h: ... here.
36829 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36830 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36831 include it from...
36832 * socket/recvmmsg.c: ... this new file.
36833 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36834 (sendmmsg): Rename to __sendmmsg, create weak alias and make
36835 definition of __sendmmsg hidden.
36836 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36837 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36838 Move ENOSYS stub into and include it from...
36839 * socket/sendmmsg.c: ... this new file.
36840 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36841 (sysdep_routines): Move recvmmsg and sendmmsg...
36842 * socket/Makefile (routines): ... here.
36843 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36844 (GLIBC_PRIVATE): Add __sendmmsg.
36845 * include/sys/socket.h (__sendmmsg): Add declarations.
36846 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36847 sendmmsg.
36848
cf9a5d18
JM
368492012-11-20 Joseph Myers <joseph@codesourcery.com>
36850
36851 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36852 variable I1 with __attribute__ ((unused)).
36853 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36854
ecd4caf9
JM
368552012-11-19 Joseph Myers <joseph@codesourcery.com>
36856
be14d48f
JM
36857 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36858 DUMMY variables with __attribute__ ((unused)).
36859
ecd4caf9
JM
36860 * bits/byteswap.h: Include <bits/types.h>.
36861 (__bswap_64): Use __uint64_t instead of unsigned long long int.
36862
986cab95
PT
368632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36864
36865 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36866 string_t. Do not manually set errno.
36867 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36868 length with __strnlen. Make sure to both set errno and return it on
36869 failure.
36870
6d33cc9d
DM
368712012-11-19 David S. Miller <davem@davemloft.net>
36872
36873 With help from Joseph Myers.
36874 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36875 very large arguments properly.
36876 * math/libm-test.inc (atan_test): New tests.
36877 (atan2_test): New tests.
36878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36880
ee663277
JM
368812012-11-19 Joseph Myers <joseph@codesourcery.com>
36882
877f2d8e
JM
36883 [BZ #14856]
36884 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36885 Define to 3.
36886
116fc08a
JM
36887 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36888 [POSIX] (EADDRNOTAVAIL): Likewise.
36889 [POSIX] (EAFNOSUPPORT): Likewise.
36890 [POSIX] (EALREADY): Likewise.
36891 [POSIX] (ECONNABORTED): Likewise.
36892 [POSIX] (ECONNREFUSED): Likewise.
36893 [POSIX] (ECONNRESET): Likewise.
36894 [POSIX] (EDESTADDRREQ): Likewise.
36895 [POSIX] (EDQUOT): Likewise.
36896 [POSIX] (EHOSTUNREACH): Likewise.
36897 [POSIX] (EIDRM): Likewise.
36898 [POSIX] (EISCONN): Likewise.
36899 [POSIX] (ELOOP): Likewise.
36900 [POSIX] (EMULTIHOP): Likewise.
36901 [POSIX] (ENETDOWN): Likewise.
36902 [POSIX] (ENETUNREACH): Likewise.
36903 [POSIX] (ENOBUFS): Likewise.
36904 [POSIX] (ENODATA): Likewise.
36905 [POSIX] (ENOLINK): Likewise.
36906 [POSIX] (ENOMSG): Likewise.
36907 [POSIX] (ENOPROTOOPT): Likewise.
36908 [POSIX] (ENOSR): Likewise.
36909 [POSIX] (ENOSTR): Likewise.
36910 [POSIX] (ENOTCONN): Likewise.
36911 [POSIX] (ENOTSOCK): Likewise.
36912 [POSIX] (EOPNOTSUPP): Likewise.
36913 [POSIX] (EOVERFLOW): Likewise.
36914 [POSIX] (EPROTO): Likewise.
36915 [POSIX] (EPROTONOSUPPORT): Likewise.
36916 [POSIX] (EPROTOTYPE): Likewise.
36917 [POSIX] (ESTALE): Likewise.
36918 [POSIX] (ETIME): Likewise.
36919 [POSIX] (ETXTBSY): Likewise.
36920 [POSIX] (EWOULDBLOCK): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36922 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36923 [POSIX] (SEEK_CUR): Likewise.
36924 [POSIX] (SEEK_END): Likewise.
36925 [POSIX || UNIX98] (mode_t): Do not require.
36926 [POSIX] (off_t): Likewise.
36927 [POSIX] (pid_t): Likewise.
36928 [POSIX] (sys/stat.h): Do not allow header.
36929 [POSIX] (unistd.h): Likewise.
36930 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36931 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36932 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36933 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36934 require.
36935 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36936 sigevent): Specify elements.
36937 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36938 entry.
36939 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36940 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36941
a483863f
JM
36942 * conform/data/cpio.h-data [POSIX]: Disable whole file.
36943 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36944 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36945 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36946 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36947 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36948 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36949 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36950 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36951 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36952 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36953 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36954 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36955 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36956 Likewise.
36957 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36958 Likewise.
36959 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36960 Likewise.
36961 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36962 Likewise.
36963 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36964 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36965 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36966 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36967 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36968 Specify lower bound on value.
36969 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36970 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36971 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36972 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36973 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36974 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36975 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36976 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36977 value.
36978 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36979 as optional.
36980 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36981 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36982 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36983 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36984 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36985 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36986 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36987 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36988 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36989 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36990 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36991 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36992 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36993 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36994 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36995 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36996 entry.
36997 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36998 optional.
36999 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37000 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37001 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37002 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37003 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37004 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37005 Likewise.
37006 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37007 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37008 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37009 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37010 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37011 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37012 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37013 as optional.
37014 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37015 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37018 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37019 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37020 specify as optional.
37021 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37022 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37023 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37024 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37025 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37026 [XPG3] (NL_LANGMAX): Likewise.
37027 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37028 [POSIX || XPG3] (NL_NMAX): Likewise.
37029 [POSIX || XPG3] (NL_SETMAX): Likewise.
37030 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37031 [XPG3] (NZERO): Likewise.
37032 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37033 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37034 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37035 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37036 (REG_ERANGE): Expect.
37037 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37038 optional-constant.
37039 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37040 Use (void) in prototype.
37041 [POSIX] (*_t): Allow.
37042 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37043 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37044 (WRDE_BADVAL): Expect.
37045
5ba924e3
JM
37046 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37047 expect.
37048 [XPG3 || XPG4] (O_RSYNC): Likewise.
37049 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37050 Likewise.
37051 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37052 [XPG3 || XPG4] (sigqueue): Likewise.
37053 [XPG3 || XPG4] (sigtimedwait): Likewise.
37054 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37055 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37056 [XPG3 || XPG4] (vsnprintf): Likewise.
37057 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37058 Likewise.
37059 [XPG3 || XPG4] (blksize_t): Likewise.
37060 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37061 Likewise.
37062 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37063 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37064 [XPG3 || XPG4] (struct itimerspec): Likewise.
37065 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37066 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37067 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37068 [XPG3 || XPG4] (clockid_t): Likewise.
37069 [XPG3 || XPG4] (timer_t): Likewise.
37070 [XPG3 || XPG4] (clock_getres): Likewise.
37071 [XPG3 || XPG4] (clock_gettime): Likewise.
37072 [XPG3 || XPG4] (clock_settime): Likewise.
37073 [XPG3 || XPG4] (nanosleep): Likewise.
37074 [XPG3 || XPG4] (timer_create): Likewise.
37075 [XPG3 || XPG4] (timer_delete): Likewise.
37076 [XPG3 || XPG4] (timer_gettime): Likewise.
37077 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37078 [XPG3 || XPG4] (timer_settime): Likewise.
37079 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37080 [XPG3 || XPG4] (getlogin_r): Likewise.
37081 [XPG3 || XPG4] (pread): Likewise.
37082 [XPG3 || XPG4] (pthread_atfork): Likewise.
37083 [XPG3 || XPG4] (pwrite): Likewise.
37084
ee663277
JM
37085 [BZ #14835]
37086 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37087 <bits/siginfo.h>.
37088
942caa16
PT
370892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37090
e19af380
PT
37091 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37092 finalizing MALLSTREAM.
37093
942caa16
PT
37094 * sysdeps/mach/hurd/syncfs.c: New file.
37095
cfde9b46
SP
370962012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37097
37098 [BZ #14719]
37099 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37100 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37102 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37103 (_nss_dns_gethostbyname4_r): Likewise.
37104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37105 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37106
f6da27e5
PH
371072012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37108
37109 [BZ #13763]
37110 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37111
6665d4a2
SM
371122012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37113
1f51ee92
SM
37114 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37115 * elf/cache.c (print_entry): Print ",AArch64" for
37116 FLAG_AARCH64_LIB64
37117
6665d4a2
SM
37118 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37119 * elf/cache.c (print_entry): Print ",hard-float" for
37120 FLAG_ARM_LIBHF.
37121
05b227bd
DM
371222012-11-18 David S. Miller <davem@davemloft.net>
37123
37124 With help from Joseph Myers.
37125 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37126 cutoff to 2**-13.
37127 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37128 cutoff to 2**-25.
37129 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37130 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37131 small.
37132 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37133 * math/libm-test.inc (y0_test): New tests.
37134 (y1_test): New tests.
37135 * sysdeps/i386/fpu/libm-test-ulps: Update.
37136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37138
786b0b67
AS
371392012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37140
37141 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37142 64-bit targets.
37143 * configure: Regenerated.
37144
8e18b86d
DM
371452012-11-17 David S. Miller <davem@davemloft.net>
37146
37147 [BZ #14811]
37148 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37149 nonzero exponents with absolute value below 0x1p-128 to +/-
37150 0x1p-128.
37151
531f1ae0
JM
371522012-11-17 Joseph Myers <joseph@codesourcery.com>
37153
12df29e2
JM
37154 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37155
150dc1a0
JM
37156 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37157
531f1ae0
JM
37158 * posix/getconf-speclist.c: New file.
37159 * posix/posix-envs.def: Likewise.
37160 * posix/confstr.c (START_ENV_GROUP): New macro.
37161 (END_ENV_GROUP): Likewise.
37162 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37163 (KNOWN_PRESENT_ENV_STRING): Likewise.
37164 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37165 (UNKNOWN_ENVIRONMENT): Likewise.
37166 (confstr): Include posix-envs.def instead of handling
37167 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37168 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37169 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37170 (END_ENV_GROUP): Likewise.
37171 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37172 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37173 (UNKNOWN_ENVIRONMENT): Likewise.
37174 (__sysconf): Include posix-envs.def instead of handling associated
37175 cases directly here.
37176 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37177 preprocessing getconf-speclist.c rather than running getconf or
37178 generating empty file.
37179
a93f9cbc
PT
371802012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37181
37182 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37183
d64d9f87
AL
371842012-11-16 Andrej Lajovic <natrij@gmail.com>
37185
37186 [BZ #14672]
37187 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37188
447885eb
DM
371892012-11-16 David S. Miller <davem@davemloft.net>
37190
37191 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37192 smaller than LDBL_EPSILON/2.0L, just return xm1.
37193
bcbf9830
L
371942012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37195
37196 * elf/tst-array1.c (init): Set constructor priority to 1000.
37197 (fini): Set destructor priority to 1000.
37198 * elf/tst-array2dep.c: Likewise.
37199
2b766585
SP
372002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37201
37202 [BZ #11741]
37203 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37204 (_IO_new_file_xsputn): Also return EOF if none of the input
37205 data was written when overflow failed.
37206 * libio/iopadn.c (_IO_padn): Likewise.
37207 * libio/iowpadn.c (_IO_wpadn): Likewise.
37208 * stdio-common/tst-put-error.c: Add copyright notice.
37209 (do_test): Add case for printing padded string.
37210 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37211 _IO_padn returned error.
37212 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37213 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37214 return EOF.
37215
b1848fde
SP
372162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37217
37218 * libio/libioP.h: Add comment note that the references to C++
37219 bits are now obsolete.
37220
2fd89785
MS
372212012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37222
37223 * math/libm-test.inc (check_complex): Use asprintf.
37224
e3ea5409
JM
372252012-11-14 Joseph Myers <joseph@codesourcery.com>
37226
37227 * debug/pcprofiledump.c (print_version): Update copyright year.
37228 * malloc/memusagestat.c (print_version): Likewise.
37229
2e64d265
L
372302012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37231
37232 [BZ #14831]
37233 * elf/Makefile (tests): Add tst-audit8.
37234 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37235 ($(objpfx)tst-audit8.out): New target.
37236 (tst-audit8-ENV): New variable.
37237 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37238 audit if l_reloc_result is NULL.
37239 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37240 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37241 * elf/tst-audit8.c: New file.
37242
c485e4d2
MS
372432012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37244
37245 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37246 * misc/Makefile (CFLAGS-select.c): Define.
37247 * posix/Makefile (CFLAGS-pause.c): Define.
37248
3a0d900a
DM
372492012-11-13 David S. Miller <davem@davemloft.net>
37250
37251 * crypt/Makefile: Move test targets after toplevel Rules
37252 inclusion. Grab any necessary sysdep routines when linking.
37253 * crypt/md5.c (md5_process_block): Remove define, we will always
37254 name it __md5_process_block.
37255 (md5_finish_ctx): Update md5_process_block call.
37256 (md5_stream): Likewise.
37257 (md5_process_bytes): Likewise.
37258 (md5_process_block): Rename to __md5_process_block and move to ...
37259 * crypt/md5-block.c: ... here.
37260 * crypt/sha256.c (sha256_process_block): Move to ...
37261 * crypt/sha256-block.c: ... here.
37262 * crypt/sha512.c (sha512_process_block): Move to ...
37263 * crypt/sha512-block.c: ... here.
37264 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37265 path.
37266 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37267 * sysdeps/sparc/sparc64/multiarch/Makefile
37268 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37269 crypt subdir.
37270 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37271 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37272 multiarch changes.
37273 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37274 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37275 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37276 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37277 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37278 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37279 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37280 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37281 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37282 file.
37283 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37284 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37285 file.
37286 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37287
8ca89318
JM
372882012-11-13 Joseph Myers <joseph@codesourcery.com>
37289
e27d476a
JM
37290 * timezone/tzselect.ksh: Update from tzcode git revision
37291 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37292 * timezone/zdump.c: Likewise.
37293 * timezone/zic.c: Likewise.
37294 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37295 in TZVERSION setting, not $(PKGVERSION).
37296 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37297 REPORT_BUGS_TO settings.
37298
8ca89318
JM
37299 [BZ #14838]
37300 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37301 macro.
37302
47594329
MS
373032012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37304
37305 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37306 detection to immediately after _FP_ROUND().
37307 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37308 bits are 0.
37309
640ac3f1
DM
373102012-11-11 David S. Miller <davem@davemloft.net>
37311
37312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37313 inttypes.h
37314 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37315 __close rather than their public counterparts.
37316
3d2577bb
JM
373172012-11-10 Joseph Myers <joseph@codesourcery.com>
37318
37319 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37320 file.
37321 [UNIX98] (sem_timedwait): Do not expect.
37322 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37323 [XPG4 || UNIX98] (sockatmark): Do not expect.
37324 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37325 (clock_getcpuclockid): Do not expect.
37326 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37327 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37328 Do not expect.
37329 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37330 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37331 [UNIX98] (vwscanf): Likewise.
37332 [UNIX98] (vswscanf): Likewise.
37333
fb1ae1ee
JM
373342012-11-09 Joseph Myers <joseph@codesourcery.com>
37335
9ec6f8bd
JM
37336 * timezone/version.h: Remove file.
37337 * timezone/README: Do not refer to version.h.
37338 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37339 $(objpfx)version.h.
37340 ($(objpfx)zdump.o): Likewise.
c3f81911 37341 ($(objpfx)version.h): New target.
9ec6f8bd 37342
0aa8f8a1
JM
37343 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37344 2012i.
37345 * timezone/README: Don't mention modification to tzselect.ksh.
37346 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37347 work on unmodified tzselect.ksh. Substitute version numbers in
37348 tzselect.ksh.
37349
4e87147f
JM
37350 * Makefile (format-me): Remove.
37351 (INSTALL): Adjust indentation. Use commands directly instead of
37352 using $(format-me).
37353
8b748aed
JM
37354 * aclocal.m4 (ACX_PKGVERSION): New macro.
37355 (ACX_BUGURL): Likewise.
37356 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37357 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37358 (REPORT_BUGS_TO): Likewise.
37359 * configure: Regenerated.
37360 * config.h.in (PKGVERSION): New macro.
37361 (REPORT_BUGS_TO): Likewise.
37362 * config.make.in (PKGVERSION): New variable.
37363 (PKGVERSION_TEXI): Likewise.
37364 (REPORT_BUGS_TO): Likewise.
37365 (REPORT_BUGS_TEXI): Likewise.
37366 * Makefile (format-me): Use -I$(common-objpfx)manual.
37367 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37368 ($(common-objpfx)manual/%): New target.
37369 (manual/%): Remove target.
37370 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37371 (print_version): Use PKGVERSION.
37372 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37373 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37374 and REPORT_BUGS_TO.
37375 ($(objpfx)xtrace): Likewise.
37376 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37377 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37378 (print_version): Use PKGVERSION.
37379 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37380 (do_version): Use PKGVERSION.
37381 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37382 REPORT_BUGS_TO.
37383 (common-ldd-rewrite): Likewise.
37384 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37385 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37386 (print_version): Use PKGVERSION.
37387 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37388 * elf/pldd.c (argp_program_bug_address): Remove variable.
37389 (more_help): New function.
37390 (argp): Use more_help.
37391 (print_version): Use PKGVERSION.
37392 * elf/sln.c (main): Use PKGVERSION.
37393 (usage): Use REPORT_BUGS_TO.
37394 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37395 (top level): Use PKGVERSION.
37396 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37397 (print_version): Use PKGVERSION.
37398 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37399 (print_version): Use PKGVERSION.
37400 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37401 (print_version): Use PKGVERSION.
37402 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37403 (print_version): Use PKGVERSION.
37404 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37405 (print_version): Use PKGVERSION.
37406 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37407 (print_version): Use PKGVERSION.
37408 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37409 and BUGURL.
37410 ($(objpfx)memusage): Likewise.
37411 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37412 (do_version): Use PKGVERSION.
37413 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37414 (print_version): Use PKGVERSION.
37415 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37416 ($PKGVERSION): New variable.
37417 ($REPORT_BUGS_TO): Likewise.
37418 (usage): Use $REPORT_BUGS_TO.
37419 (top level): Use $PKGVERSION.
37420 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37421 ($(objpfx)pkgvers.texi): New rule.
37422 ($(objpfx)stamp-pkgvers): Likewise.
37423 * manual/install.texi: Include pkgvers.texi.
37424 (--with-pkgversion): Document new configure option.
37425 (--with-bugurl): Likewise.
37426 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37427 than necessarily for this particular distribution. Use
37428 REPORT_BUGS_TO for where to report bugs.
37429 * INSTALL: Regenerated.
37430 * manual/libc.texinfo: Include pkgvers.texi.
37431 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37432 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37433 (print_version): Use PKGVERSION.
37434 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37435 (print_version): Use PKGVERSION.
37436 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37437 (print_version): Use PKGVERSION.
37438 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37439 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37440 macro.
37441 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37442 (print_version): Use PKGVERSION.
37443 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37444 (print_version): Use PKGVERSION.
37445 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37446 and PKGVERSION.
37447
92e4b6a9
JM
37448 * timezone/checktab.awk: Update from tzcode 2012i.
37449 * timezone/ialloc.c: Likewise.
37450 * timezone/private.h: Likewise.
37451 * timezone/scheck.c: Likewise.
37452 * timezone/tzfile.h: Likewise.
37453 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37454 (TZVERSION): Hardcode tzcode version number.
37455 * timezone/zdump.c: Update from tzcode 2012i.
37456 * timezone/zic.c: Likewise.
37457 * timezone/version.h: New file.
37458 * timezone/README: Describe version.h. Update upstream location.
37459
9bde902c
JM
37460 [BZ #14824]
37461 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37462 (mktemp): Enable declaration.
37463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37464 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37466 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37467 Likewise.
37468 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37469 Likewise.
37470 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37471 Likewise.
37472 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37473 Likewise.
37474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37475 Likewise.
37476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37477 Likewise.
37478
fb1ae1ee
JM
37479 [BZ #14821]
37480 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37481 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37482 for copies of such integer values.
37483 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37484 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37485
2c1adbcb
AJ
374862012-11-09 Andreas Jaeger <aj@suse.de>
37487
37488 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37489 definitions and declarations that are provided by
37490 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37491
d0f8457e
AK
374922012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37493
3a235abb 37494 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
37495 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37496 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37497 definition.
37498
57241e26
MS
374992012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37500
37501 * elf/elf.h: Update comment before AArch64 relocations.
37502
60e8270d
DM
375032012-11-07 David S. Miller <davem@davemloft.net>
37504
37505 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37506 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37507 (__start_context): Declare.
37508 (__makecontext_ret): Delete.
37509 (__makecontext): Hook up __start_context instead of
37510 __makecontext_ret.
37511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37512 (sysdep_routines): Add __start_context when in stdlib.
37513
0fbb0fbc
JM
375142012-11-07 Joseph Myers <joseph@codesourcery.com>
37515
37516 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37517 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37518 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37519 hardcoded "nm".
37520 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37521 (READELF): New variable. Use it instead of hardcoded "readelf".
37522
eb48db7e
L
375232012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37524
37525 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37526 * sysdeps/x86/Makefile: Here.
37527 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37528 * sysdeps/x86/tst-xmmymm.sh: This.
37529
05bcf62a
JM
375302012-11-07 Joseph Myers <joseph@codesourcery.com>
37531
c4b6cf53
JM
37532 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37533 expectations.
37534 [UNIX98] (pthread_barrier_t): Do not expect.
37535 [UNIX98] (pthread_barrierattr_t): Likewise.
37536 [UNIX98] (pthread_spinlock_t): Likewise.
37537 [UNIX98] (pthread_barrier_destroy): Likewise.
37538 [UNIX98] (pthread_barrier_init): Likewise.
37539 [UNIX98] (pthread_barrier_wait): Likewise.
37540 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37541 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37542 [UNIX98] (pthread_barrierattr_init): Likewise.
37543 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37544 [UNIX98] (pthread_getcpuclockid): Likewise.
37545 [UNIX98] (pthread_mutex_timedlock): Likewise.
37546 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37547 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37548 [UNIX98] (pthread_sigmask): Likewise.
37549 [UNIX98] (pthread_spin_destroy): Likewise.
37550 [UNIX98] (pthread_spin_init): Likewise.
37551 [UNIX98] (pthread_spin_lock): Likewise.
37552 [UNIX98] (pthread_spin_trylock): Likewise.
37553 [UNIX98] (pthread_spin_unlock): Likewise.
37554 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37555 Do not expect.
37556 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37557 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37558 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37559 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37560 [XPG3 || XPG4] (pthread_key_t): Likewise.
37561 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37562 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37563 [XPG3 || XPG4] (pthread_once_t): Likewise.
37564 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37565 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37566 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37567 [XPG3 || XPG4] (pthread_t): Likewise.
37568
cbe6e120
JM
37569 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37570 not expect.
37571 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37572
1b126443
JM
37573 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37574 Change function return type to int.
37575
b961a573
JM
37576 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37577 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37578 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37579 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37580 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37581 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37582 [!POSIX] (posix_madvise): Likewise.
37583 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37584 && !UNIX98].
37585 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37586 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37587 (mode_t): Likewise.
37588 (posix_mem_offset): Likewise.
37589 (posix_typed_mem_get_info): Likewise.
37590 (posix_typed_mem_open): Likewise.
37591
9e188909
JM
37592 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37593 Change condition to [XOPEN2K8].
37594
05bcf62a
JM
37595 * conform/conformtest.pl: Preprocess allow-header data with -x c
37596 instead of from stdin.
37597 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37598 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37599 [C99-based standards] (cerfc): Likewise.
37600 [C99-based standards] (cexp2): Likewise.
37601 [C99-based standards] (cexpm1): Likewise.
37602 [C99-based standards] (clog10): Likewise.
37603 [C99-based standards] (clog1p): Likewise.
37604 [C99-based standards] (clog2): Likewise.
37605 [C99-based standards] (clgamma): Likewise.
37606 [C99-based standards] (ctgamma): Likewise.
37607 [C99-based standards] (cerff): Likewise.
37608 [C99-based standards] (cerfcf): Likewise.
37609 [C99-based standards] (cexp2f): Likewise.
37610 [C99-based standards] (cexpm1f): Likewise.
37611 [C99-based standards] (clog10f): Likewise.
37612 [C99-based standards] (clog1pf): Likewise.
37613 [C99-based standards] (clog2f): Likewise.
37614 [C99-based standards] (clgammaf): Likewise.
37615 [C99-based standards] (ctgammaf): Likewise.
37616 [C99-based standards] (cerfl): Likewise.
37617 [C99-based standards] (cerfcl): Likewise.
37618 [C99-based standards] (cexp2l): Likewise.
37619 [C99-based standards] (cexpm1l): Likewise.
37620 [C99-based standards] (clog10l): Likewise.
37621 [C99-based standards] (clog1pl): Likewise.
37622 [C99-based standards] (clog2l): Likewise.
37623 [C99-based standards] (clgammal): Likewise.
37624 [C99-based standards] (ctgammal): Likewise.
37625 * conform/data/inttypes.h-data [C99-based standards]: Include
37626 stdint.h-data. Remove all expectations for stdint.h contents.
37627 [C99-based standards] (PRI*): Do not allow.
37628 [C99-based standards] (SCN*): Likewise.
37629 [C99-based standards] (*_t): Likewise.
37630 [C99-based-standards] (PRId8): Expect macro.
37631 [C99-based-standards] (PRIi8): Likewise.
37632 [C99-based-standards] (PRIo8): Likewise.
37633 [C99-based-standards] (PRIu8): Likewise.
37634 [C99-based-standards] (PRIx8): Likewise.
37635 [C99-based-standards] (PRIX8): Likewise.
37636 [C99-based-standards] (SCNd8): Likewise.
37637 [C99-based-standards] (SCNi8): Likewise.
37638 [C99-based-standards] (SCNo8): Likewise.
37639 [C99-based-standards] (SCNu8): Likewise.
37640 [C99-based-standards] (SCNx8): Likewise.
37641 [C99-based-standards] (PRIdLEAST8): Likewise.
37642 [C99-based-standards] (PRIiLEAST8): Likewise.
37643 [C99-based-standards] (PRIoLEAST8): Likewise.
37644 [C99-based-standards] (PRIuLEAST8): Likewise.
37645 [C99-based-standards] (PRIxLEAST8): Likewise.
37646 [C99-based-standards] (PRIXLEAST8): Likewise.
37647 [C99-based-standards] (SCNdLEAST8): Likewise.
37648 [C99-based-standards] (SCNiLEAST8): Likewise.
37649 [C99-based-standards] (SCNoLEAST8): Likewise.
37650 [C99-based-standards] (SCNuLEAST8): Likewise.
37651 [C99-based-standards] (SCNxLEAST8): Likewise.
37652 [C99-based-standards] (PRIdFAST8): Likewise.
37653 [C99-based-standards] (PRIiFAST8): Likewise.
37654 [C99-based-standards] (PRIoFAST8): Likewise.
37655 [C99-based-standards] (PRIuFAST8): Likewise.
37656 [C99-based-standards] (PRIxFAST8): Likewise.
37657 [C99-based-standards] (PRIXFAST8): Likewise.
37658 [C99-based-standards] (SCNdFAST8): Likewise.
37659 [C99-based-standards] (SCNiFAST8): Likewise.
37660 [C99-based-standards] (SCNoFAST8): Likewise.
37661 [C99-based-standards] (SCNuFAST8): Likewise.
37662 [C99-based-standards] (SCNxFAST8): Likewise.
37663 [C99-based-standards] (PRId16): Likewise.
37664 [C99-based-standards] (PRIi16): Likewise.
37665 [C99-based-standards] (PRIo16): Likewise.
37666 [C99-based-standards] (PRIu16): Likewise.
37667 [C99-based-standards] (PRIx16): Likewise.
37668 [C99-based-standards] (PRIX16): Likewise.
37669 [C99-based-standards] (SCNd16): Likewise.
37670 [C99-based-standards] (SCNi16): Likewise.
37671 [C99-based-standards] (SCNo16): Likewise.
37672 [C99-based-standards] (SCNu16): Likewise.
37673 [C99-based-standards] (SCNx16): Likewise.
37674 [C99-based-standards] (PRIdLEAST16): Likewise.
37675 [C99-based-standards] (PRIiLEAST16): Likewise.
37676 [C99-based-standards] (PRIoLEAST16): Likewise.
37677 [C99-based-standards] (PRIuLEAST16): Likewise.
37678 [C99-based-standards] (PRIxLEAST16): Likewise.
37679 [C99-based-standards] (PRIXLEAST16): Likewise.
37680 [C99-based-standards] (SCNdLEAST16): Likewise.
37681 [C99-based-standards] (SCNiLEAST16): Likewise.
37682 [C99-based-standards] (SCNoLEAST16): Likewise.
37683 [C99-based-standards] (SCNuLEAST16): Likewise.
37684 [C99-based-standards] (SCNxLEAST16): Likewise.
37685 [C99-based-standards] (PRIdFAST16): Likewise.
37686 [C99-based-standards] (PRIiFAST16): Likewise.
37687 [C99-based-standards] (PRIoFAST16): Likewise.
37688 [C99-based-standards] (PRIuFAST16): Likewise.
37689 [C99-based-standards] (PRIxFAST16): Likewise.
37690 [C99-based-standards] (PRIXFAST16): Likewise.
37691 [C99-based-standards] (SCNdFAST16): Likewise.
37692 [C99-based-standards] (SCNiFAST16): Likewise.
37693 [C99-based-standards] (SCNoFAST16): Likewise.
37694 [C99-based-standards] (SCNuFAST16): Likewise.
37695 [C99-based-standards] (SCNxFAST16): Likewise.
37696 [C99-based-standards] (PRId32): Likewise.
37697 [C99-based-standards] (PRIi32): Likewise.
37698 [C99-based-standards] (PRIo32): Likewise.
37699 [C99-based-standards] (PRIu32): Likewise.
37700 [C99-based-standards] (PRIx32): Likewise.
37701 [C99-based-standards] (PRIX32): Likewise.
37702 [C99-based-standards] (SCNd32): Likewise.
37703 [C99-based-standards] (SCNi32): Likewise.
37704 [C99-based-standards] (SCNo32): Likewise.
37705 [C99-based-standards] (SCNu32): Likewise.
37706 [C99-based-standards] (SCNx32): Likewise.
37707 [C99-based-standards] (PRIdLEAST32): Likewise.
37708 [C99-based-standards] (PRIiLEAST32): Likewise.
37709 [C99-based-standards] (PRIoLEAST32): Likewise.
37710 [C99-based-standards] (PRIuLEAST32): Likewise.
37711 [C99-based-standards] (PRIxLEAST32): Likewise.
37712 [C99-based-standards] (PRIXLEAST32): Likewise.
37713 [C99-based-standards] (SCNdLEAST32): Likewise.
37714 [C99-based-standards] (SCNiLEAST32): Likewise.
37715 [C99-based-standards] (SCNoLEAST32): Likewise.
37716 [C99-based-standards] (SCNuLEAST32): Likewise.
37717 [C99-based-standards] (SCNxLEAST32): Likewise.
37718 [C99-based-standards] (PRIdFAST32): Likewise.
37719 [C99-based-standards] (PRIiFAST32): Likewise.
37720 [C99-based-standards] (PRIoFAST32): Likewise.
37721 [C99-based-standards] (PRIuFAST32): Likewise.
37722 [C99-based-standards] (PRIxFAST32): Likewise.
37723 [C99-based-standards] (PRIXFAST32): Likewise.
37724 [C99-based-standards] (SCNdFAST32): Likewise.
37725 [C99-based-standards] (SCNiFAST32): Likewise.
37726 [C99-based-standards] (SCNoFAST32): Likewise.
37727 [C99-based-standards] (SCNuFAST32): Likewise.
37728 [C99-based-standards] (SCNxFAST32): Likewise.
37729 [C99-based-standards] (PRId64): Likewise.
37730 [C99-based-standards] (PRIi64): Likewise.
37731 [C99-based-standards] (PRIo64): Likewise.
37732 [C99-based-standards] (PRIu64): Likewise.
37733 [C99-based-standards] (PRIx64): Likewise.
37734 [C99-based-standards] (PRIX64): Likewise.
37735 [C99-based-standards] (SCNd64): Likewise.
37736 [C99-based-standards] (SCNi64): Likewise.
37737 [C99-based-standards] (SCNo64): Likewise.
37738 [C99-based-standards] (SCNu64): Likewise.
37739 [C99-based-standards] (SCNx64): Likewise.
37740 [C99-based-standards] (PRIdLEAST64): Likewise.
37741 [C99-based-standards] (PRIiLEAST64): Likewise.
37742 [C99-based-standards] (PRIoLEAST64): Likewise.
37743 [C99-based-standards] (PRIuLEAST64): Likewise.
37744 [C99-based-standards] (PRIxLEAST64): Likewise.
37745 [C99-based-standards] (PRIXLEAST64): Likewise.
37746 [C99-based-standards] (SCNdLEAST64): Likewise.
37747 [C99-based-standards] (SCNiLEAST64): Likewise.
37748 [C99-based-standards] (SCNoLEAST64): Likewise.
37749 [C99-based-standards] (SCNuLEAST64): Likewise.
37750 [C99-based-standards] (SCNxLEAST64): Likewise.
37751 [C99-based-standards] (PRIdFAST64): Likewise.
37752 [C99-based-standards] (PRIiFAST64): Likewise.
37753 [C99-based-standards] (PRIoFAST64): Likewise.
37754 [C99-based-standards] (PRIuFAST64): Likewise.
37755 [C99-based-standards] (PRIxFAST64): Likewise.
37756 [C99-based-standards] (PRIXFAST64): Likewise.
37757 [C99-based-standards] (SCNdFAST64): Likewise.
37758 [C99-based-standards] (SCNiFAST64): Likewise.
37759 [C99-based-standards] (SCNoFAST64): Likewise.
37760 [C99-based-standards] (SCNuFAST64): Likewise.
37761 [C99-based-standards] (SCNxFAST64): Likewise.
37762 [C99-based-standards] (PRIdMAX): Likewise.
37763 [C99-based-standards] (PRIiMAX): Likewise.
37764 [C99-based-standards] (PRIoMAX): Likewise.
37765 [C99-based-standards] (PRIuMAX): Likewise.
37766 [C99-based-standards] (PRIxMAX): Likewise.
37767 [C99-based-standards] (PRIXMAX): Likewise.
37768 [C99-based-standards] (SCNdMAX): Likewise.
37769 [C99-based-standards] (SCNiMAX): Likewise.
37770 [C99-based-standards] (SCNoMAX): Likewise.
37771 [C99-based-standards] (SCNuMAX): Likewise.
37772 [C99-based-standards] (SCNxMAX): Likewise.
37773 [C99-based-standards] (PRIdPTR): Likewise.
37774 [C99-based-standards] (PRIiPTR): Likewise.
37775 [C99-based-standards] (PRIoPTR): Likewise.
37776 [C99-based-standards] (PRIuPTR): Likewise.
37777 [C99-based-standards] (PRIxPTR): Likewise.
37778 [C99-based-standards] (PRIXPTR): Likewise.
37779 [C99-based-standards] (SCNdPTR): Likewise.
37780 [C99-based-standards] (SCNiPTR): Likewise.
37781 [C99-based-standards] (SCNoPTR): Likewise.
37782 [C99-based-standards] (SCNuPTR): Likewise.
37783 [C99-based-standards] (SCNxPTR): Likewise.
37784 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37785 allow.
37786 * conform/data/stdint.h-data: Update comments to clarify
37787 requirements.
37788 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
37789 type.
37790 [C99-based standards] (INT8_MAX): Likewise.
37791 [C99-based standards] (INT16_MIN): Likewise.
37792 [C99-based standards] (INT16_MAX): Likewise.
37793 [C99-based standards] (INT32_MIN): Likewise.
37794 [C99-based standards] (INT32_MAX): Likewise.
37795 [C99-based standards] (INT64_MIN): Likewise.
37796 [C99-based standards] (INT64_MAX): Likewise.
37797 [C99-based standards] (UINT8_MAX): Likewise.
37798 [C99-based standards] (UINT16_MAX): Likewise.
37799 [C99-based standards] (UINT32_MAX): Likewise.
37800 [C99-based standards] (UINT64_MAX): Likewise.
37801 [C99-based standards] (INT_LEAST8_MIN): Likewise.
37802 [C99-based standards] (INT_LEAST8_MAX): Likewise.
37803 [C99-based standards] (INT_LEAST16_MIN): Likewise.
37804 [C99-based standards] (INT_LEAST16_MAX): Likewise.
37805 [C99-based standards] (INT_LEAST32_MIN): Likewise.
37806 [C99-based standards] (INT_LEAST32_MAX): Likewise.
37807 [C99-based standards] (INT_LEAST64_MIN): Likewise.
37808 [C99-based standards] (INT_LEAST64_MAX): Likewise.
37809 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37810 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37811 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37812 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37813 [C99-based standards] (INT_FAST8_MIN): Likewise.
37814 [C99-based standards] (INT_FAST8_MAX): Likewise.
37815 [C99-based standards] (INT_FAST16_MIN): Likewise.
37816 [C99-based standards] (INT_FAST16_MAX): Likewise.
37817 [C99-based standards] (INT_FAST32_MIN): Likewise.
37818 [C99-based standards] (INT_FAST32_MAX): Likewise.
37819 [C99-based standards] (INT_FAST64_MIN): Likewise.
37820 [C99-based standards] (INT_FAST64_MAX): Likewise.
37821 [C99-based standards] (UINT_FAST8_MAX): Likewise.
37822 [C99-based standards] (UINT_FAST16_MAX): Likewise.
37823 [C99-based standards] (UINT_FAST32_MAX): Likewise.
37824 [C99-based standards] (UINT_FAST64_MAX): Likewise.
37825 [C99-based standards] (INTPTR_MIN): Likewise.
37826 [C99-based standards] (INTPTR_MAX): Likewise.
37827 [C99-based standards] (UINTPTR_MAX): Likewise.
37828 [C99-based standards] (INTMAX_MIN): Likewise.
37829 [C99-based standards] (INTMAX_MAX): Likewise.
37830 [C99-based standards] (UINTMAX_MAX): Likewise.
37831 [C99-based standards] (PTRDIFF_MIN): Likewise.
37832 [C99-based standards] (PTRDIFF_MAX): Likewise.
37833 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37834 [C99-based standards] (SIZE_MAX): Likewise.
37835 [C99-based standards] (WCHAR_MAX): Likewise.
37836 [C99-based standards] (WINT_MAX): Likewise.
37837 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
37838 constraint on value.
37839 [C99-based standards] (WCHAR_MIN): Likewise.
37840 [C99-based standards] (WINT_MIN): Likewise.
37841 [C99-based standards] (*_t): Allow.
37842 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37843 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37844 Include math.h-data and complex.h-data. Remove all expectations
37845 of math.h and complex.h contents.
37846 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37847 at end of line.
37848 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37849 (struct tm): Expect tag.
37850 [C99-based-standards] (wcstof): Expect function.
37851 [C99-based-standards] (wcstold): Likewise.
37852 [C99-based-standards] (wcstoll): Likewise.
37853 [C99-based-standards] (wcstoull): Likewise.
37854 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37855 macro-int-constant. Specify type.
37856 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
37857 constraint on value.
37858 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37859 Specify type.
37860 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37861 Specify value.
37862 [ISO C standards]: Do not allow headers.
37863 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37864 wcs[abcdefghijklmnopqrstuvwxyz]*.
37865 [ISO C standards] (*_t): Do not allow.
37866 * conform/data/wctype.h-data [C99-based standards] (iswblank):
37867 Expect function.
37868 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37869 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37870 Specify type.
37871 [ISO C standards]: Do not allow headers.
37872 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37873 is[abcdefghijklmnopqrstuvwxyz]*.
37874 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37875 to[abcdefghijklmnopqrstuvwxyz]*.
37876 [ISO C standards] (*_t): Do not allow.
37877 * conform/data/stdalign.h-data: New file.
37878 * conform/data/stdbool.h-data: Likewise.
37879 * conform/data/stdnoreturn.h-data: Likewise.
37880
7514feb8
RM
378812012-11-07 Roland McGrath <roland@hack.frob.com>
37882
37883 [BZ #14815]
37884 * manual/filesys.texi (Directory Entries): Typo fix.
37885 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37886
19b2ecfc
MS
378872012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37888
37889 * elf/elf.h (EM_AARCH64): New macro.
37890 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37891 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37892 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37893 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37894 (R_AARCH64_TLSDESC): Likewise.
37895 (NT_ARM_TLS): Likewise.
37896 (NT_ARM_HW_BREAK): Likewise.
37897 (NT_ARM_HW_WATCH): Likewise.
37898
60e235ee
JM
378992012-11-07 Joseph Myers <joseph@codesourcery.com>
37900
37901 [BZ #14811]
37902 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37903 (__ieee754_powl): Saturate nonzero exponents with absolute value
37904 below 0x1p-79 to +/- 0x1p-79.
37905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37906 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37907 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37908 nonzero exponents with absolute value below 0x1p-32 to +/-
37909 0x1p-32.
37910 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37911 (__ieee754_powl): Saturate nonzero exponents with absolute value
37912 below 0x1p-79 to +/- 0x1p-79.
37913 * math/libm-test.inc (pow_test): Add more tests.
37914
0ab234b7
AK
379152012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37916
37917 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37918 _dl_s390_cap_flags with kernel. Increase string length.
37919 (_dl_s390_platforms): Add z196 and zEC12.
37920
45832f74
JM
379212012-11-07 Joseph Myers <joseph@codesourcery.com>
37922
37923 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37924 Change XOPEN21K to XOPEN2K.
37925
19218757
MK
379262012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
37927
37928 * string/memmove.c: Use memcpy when possible.
37929
c5f45721
AJ
379302012-11-06 Andreas Jaeger <aj@suse.de>
37931
37932 * po/eo.po: Update from translation team.
37933
82477c28
JM
379342012-11-06 Joseph Myers <joseph@codesourcery.com>
37935
37936 [BZ #14793]
37937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37938 exponent and small x and y exponents, scale x or y up. Increase
37939 by 2 the exponent used in scaling up.
37940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37942 * math/libm-test.inc (fma_test): Add more tests.
37943 (fma_test_towardzero): Likewise.
37944 (fma_test_downward): Likewise.
37945 (fma_test_upward): Likewise.
37946
99252c8c
JM
379472012-11-05 Joseph Myers <joseph@codesourcery.com>
37948
acfa885f
JM
37949 [BZ #14805]
37950 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37951 fenv_t *.
37952
99252c8c
JM
37953 [BZ #14801]
37954 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37955 namespace for names of struct fields.
37956 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37957 fenv_t fields.
37958 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37959 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37960
d6d98dea
ST
379612012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37962
37963 [BZ #3665]
37964 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37965
e10bb107
TS
379662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37967
37968 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37969 PTR_DEMANGLE.
37970
37971 [BZ #5246]
37972 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37973 PTR_DEMANGLE.
37974
a0c2940d
JM
379752012-11-04 Joseph Myers <joseph@codesourcery.com>
37976
37977 [BZ #14797]
37978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37979 definitely overflow as x * y not x * y + z.
37980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37982 * math/libm-test.inc (fma_test): Add more tests.
37983 (fma_test_towardzero): Likewise.
37984 (fma_test_downward): Likewise.
37985 (fma_test_upward): Likewise.
37986
b830319d
TS
379872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37988
37989 [BZ #157]
37990
37991 * include/stub-tag.h: Remove file.
37992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37993 '#include' of it.
37994 * manual/maint.texi (Porting): Don't reference it.
37995 * Makerules ($(objpfx)stubs): Likewise.
37996 * dirent/closedir.c: Don't include <stub-tag.h>.
37997 * dirent/dirfd.c: Likewise.
37998 * dirent/fdopendir.c: Likewise.
37999 * dirent/getdents.c: Likewise.
38000 * dirent/getdents64.c: Likewise.
38001 * dirent/opendir.c: Likewise.
38002 * dirent/readdir.c: Likewise.
38003 * dirent/readdir64.c: Likewise.
38004 * dirent/readdir64_r.c: Likewise.
38005 * dirent/readdir_r.c: Likewise.
38006 * dirent/rewinddir.c: Likewise.
38007 * dirent/seekdir.c: Likewise.
38008 * dirent/telldir.c: Likewise.
38009 * gmon/profil.c: Likewise.
38010 * grp/setgroups.c: Likewise.
38011 * inet/if_index.c: Likewise.
38012 * io/access.c: Likewise.
38013 * io/chdir.c: Likewise.
38014 * io/chmod.c: Likewise.
38015 * io/chown.c: Likewise.
38016 * io/close.c: Likewise.
38017 * io/dup.c: Likewise.
38018 * io/dup2.c: Likewise.
38019 * io/dup3.c: Likewise.
38020 * io/euidaccess.c: Likewise.
38021 * io/faccessat.c: Likewise.
38022 * io/fchdir.c: Likewise.
38023 * io/fchmod.c: Likewise.
38024 * io/fchmodat.c: Likewise.
38025 * io/fchown.c: Likewise.
38026 * io/fchownat.c: Likewise.
38027 * io/fcntl.c: Likewise.
38028 * io/flock.c: Likewise.
38029 * io/fstatfs.c: Likewise.
38030 * io/fstatfs64.c: Likewise.
38031 * io/fstatvfs.c: Likewise.
38032 * io/fstatvfs64.c: Likewise.
38033 * io/futimens.c: Likewise.
38034 * io/fxstat.c: Likewise.
38035 * io/fxstat64.c: Likewise.
38036 * io/fxstatat.c: Likewise.
38037 * io/fxstatat64.c: Likewise.
38038 * io/getcwd.c: Likewise.
38039 * io/isatty.c: Likewise.
38040 * io/lchmod.c: Likewise.
38041 * io/lchown.c: Likewise.
38042 * io/link.c: Likewise.
38043 * io/linkat.c: Likewise.
38044 * io/lseek.c: Likewise.
38045 * io/lseek64.c: Likewise.
38046 * io/lxstat64.c: Likewise.
38047 * io/mkdir.c: Likewise.
38048 * io/mkdirat.c: Likewise.
38049 * io/mkfifo.c: Likewise.
38050 * io/mkfifoat.c: Likewise.
38051 * io/open.c: Likewise.
38052 * io/open64.c: Likewise.
38053 * io/openat.c: Likewise.
38054 * io/openat64.c: Likewise.
38055 * io/pipe.c: Likewise.
38056 * io/pipe2.c: Likewise.
38057 * io/poll.c: Likewise.
38058 * io/posix_fadvise.c: Likewise.
38059 * io/posix_fadvise64.c: Likewise.
38060 * io/posix_fallocate.c: Likewise.
38061 * io/posix_fallocate64.c: Likewise.
38062 * io/read.c: Likewise.
38063 * io/readlink.c: Likewise.
38064 * io/readlinkat.c: Likewise.
38065 * io/rmdir.c: Likewise.
38066 * io/sendfile.c: Likewise.
38067 * io/sendfile64.c: Likewise.
38068 * io/statfs.c: Likewise.
38069 * io/statfs64.c: Likewise.
38070 * io/statvfs.c: Likewise.
38071 * io/statvfs64.c: Likewise.
38072 * io/symlink.c: Likewise.
38073 * io/symlinkat.c: Likewise.
38074 * io/ttyname.c: Likewise.
38075 * io/ttyname_r.c: Likewise.
38076 * io/umask.c: Likewise.
38077 * io/unlink.c: Likewise.
38078 * io/unlinkat.c: Likewise.
38079 * io/utime.c: Likewise.
38080 * io/utimensat.c: Likewise.
38081 * io/write.c: Likewise.
38082 * io/xmknod.c: Likewise.
38083 * io/xmknodat.c: Likewise.
38084 * io/xstat.c: Likewise.
38085 * io/xstat64.c: Likewise.
38086 * login/getpt.c: Likewise.
38087 * login/grantpt.c: Likewise.
38088 * login/unlockpt.c: Likewise.
38089 * math/e_acoshl.c: Likewise.
38090 * math/e_acosl.c: Likewise.
38091 * math/e_asinl.c: Likewise.
38092 * math/e_atan2l.c: Likewise.
38093 * math/e_atanhl.c: Likewise.
38094 * math/e_coshl.c: Likewise.
38095 * math/e_expl.c: Likewise.
38096 * math/e_fmodl.c: Likewise.
38097 * math/e_gammal_r.c: Likewise.
38098 * math/e_hypotl.c: Likewise.
38099 * math/e_j0l.c: Likewise.
38100 * math/e_j1l.c: Likewise.
38101 * math/e_jnl.c: Likewise.
38102 * math/e_lgammal_r.c: Likewise.
38103 * math/e_log10l.c: Likewise.
38104 * math/e_log2l.c: Likewise.
38105 * math/e_logl.c: Likewise.
38106 * math/e_powl.c: Likewise.
38107 * math/e_rem_pio2l.c: Likewise.
38108 * math/e_sinhl.c: Likewise.
38109 * math/e_sqrtl.c: Likewise.
38110 * math/fclrexcpt.c: Likewise.
38111 * math/fedisblxcpt.c: Likewise.
38112 * math/feenablxcpt.c: Likewise.
38113 * math/fegetenv.c: Likewise.
38114 * math/fegetexcept.c: Likewise.
38115 * math/fegetround.c: Likewise.
38116 * math/feholdexcpt.c: Likewise.
38117 * math/fesetenv.c: Likewise.
38118 * math/fesetround.c: Likewise.
38119 * math/feupdateenv.c: Likewise.
38120 * math/fgetexcptflg.c: Likewise.
38121 * math/fraiseexcpt.c: Likewise.
38122 * math/fsetexcptflg.c: Likewise.
38123 * math/ftestexcept.c: Likewise.
38124 * math/k_cosl.c: Likewise.
38125 * math/k_rem_pio2l.c: Likewise.
38126 * math/k_sinl.c: Likewise.
38127 * math/k_tanl.c: Likewise.
38128 * math/s_asinhl.c: Likewise.
38129 * math/s_atanl.c: Likewise.
38130 * math/s_cbrtl.c: Likewise.
38131 * math/s_erfl.c: Likewise.
38132 * math/s_expm1l.c: Likewise.
38133 * math/s_log1pl.c: Likewise.
38134 * math/s_tanhl.c: Likewise.
38135 * misc/acct.c: Likewise.
38136 * misc/brk.c: Likewise.
38137 * misc/chflags.c: Likewise.
38138 * misc/chroot.c: Likewise.
38139 * misc/fchflags.c: Likewise.
38140 * misc/fgetxattr.c: Likewise.
38141 * misc/flistxattr.c: Likewise.
38142 * misc/fremovexattr.c: Likewise.
38143 * misc/fsetxattr.c: Likewise.
38144 * misc/fsync.c: Likewise.
38145 * misc/ftruncate.c: Likewise.
38146 * misc/futimes.c: Likewise.
38147 * misc/futimesat.c: Likewise.
38148 * misc/getdomain.c: Likewise.
38149 * misc/getdtsz.c: Likewise.
38150 * misc/gethostid.c: Likewise.
38151 * misc/gethostname.c: Likewise.
38152 * misc/getloadavg.c: Likewise.
38153 * misc/getpagesize.c: Likewise.
38154 * misc/getsysstats.c: Likewise.
38155 * misc/getxattr.c: Likewise.
38156 * misc/gtty.c: Likewise.
38157 * misc/ioctl.c: Likewise.
38158 * misc/lgetxattr.c: Likewise.
38159 * misc/listxattr.c: Likewise.
38160 * misc/llistxattr.c: Likewise.
38161 * misc/lremovexattr.c: Likewise.
38162 * misc/lsetxattr.c: Likewise.
38163 * misc/lutimes.c: Likewise.
38164 * misc/madvise.c: Likewise.
38165 * misc/mincore.c: Likewise.
38166 * misc/mlock.c: Likewise.
38167 * misc/mlockall.c: Likewise.
38168 * misc/mmap.c: Likewise.
38169 * misc/mprotect.c: Likewise.
38170 * misc/msync.c: Likewise.
38171 * misc/munlock.c: Likewise.
38172 * misc/munlockall.c: Likewise.
38173 * misc/munmap.c: Likewise.
38174 * misc/preadv.c: Likewise.
38175 * misc/preadv64.c: Likewise.
38176 * misc/ptrace.c: Likewise.
38177 * misc/pwritev.c: Likewise.
38178 * misc/pwritev64.c: Likewise.
38179 * misc/readv.c: Likewise.
38180 * misc/reboot.c: Likewise.
38181 * misc/remap_file_pages.c: Likewise.
38182 * misc/removexattr.c: Likewise.
38183 * misc/revoke.c: Likewise.
38184 * misc/select.c: Likewise.
38185 * misc/setdomain.c: Likewise.
38186 * misc/setegid.c: Likewise.
38187 * misc/seteuid.c: Likewise.
38188 * misc/sethostid.c: Likewise.
38189 * misc/sethostname.c: Likewise.
38190 * misc/setregid.c: Likewise.
38191 * misc/setreuid.c: Likewise.
38192 * misc/setxattr.c: Likewise.
38193 * misc/sstk.c: Likewise.
38194 * misc/stty.c: Likewise.
38195 * misc/swapoff.c: Likewise.
38196 * misc/swapon.c: Likewise.
38197 * misc/sync.c: Likewise.
38198 * misc/syncfs.c: Likewise.
38199 * misc/syscall.c: Likewise.
38200 * misc/truncate.c: Likewise.
38201 * misc/ualarm.c: Likewise.
38202 * misc/usleep.c: Likewise.
38203 * misc/ustat.c: Likewise.
38204 * misc/utimes.c: Likewise.
38205 * misc/vhangup.c: Likewise.
38206 * misc/writev.c: Likewise.
38207 * posix/_exit.c: Likewise.
38208 * posix/alarm.c: Likewise.
38209 * posix/execve.c: Likewise.
38210 * posix/fexecve.c: Likewise.
38211 * posix/fork.c: Likewise.
38212 * posix/fpathconf.c: Likewise.
38213 * posix/getaddrinfo.c: Likewise.
38214 * posix/getegid.c: Likewise.
38215 * posix/geteuid.c: Likewise.
38216 * posix/getgid.c: Likewise.
38217 * posix/getgroups.c: Likewise.
38218 * posix/getlogin.c: Likewise.
38219 * posix/getlogin_r.c: Likewise.
38220 * posix/getpgid.c: Likewise.
38221 * posix/getpid.c: Likewise.
38222 * posix/getppid.c: Likewise.
38223 * posix/getresgid.c: Likewise.
38224 * posix/getresuid.c: Likewise.
38225 * posix/getsid.c: Likewise.
38226 * posix/getuid.c: Likewise.
38227 * posix/glob64.c: Likewise.
38228 * posix/nanosleep.c: Likewise.
38229 * posix/pathconf.c: Likewise.
38230 * posix/pause.c: Likewise.
38231 * posix/posix_madvise.c: Likewise.
38232 * posix/pread.c: Likewise.
38233 * posix/pread64.c: Likewise.
38234 * posix/pwrite.c: Likewise.
38235 * posix/pwrite64.c: Likewise.
38236 * posix/sched_getaffinity.c: Likewise.
38237 * posix/sched_getp.c: Likewise.
38238 * posix/sched_gets.c: Likewise.
38239 * posix/sched_primax.c: Likewise.
38240 * posix/sched_primin.c: Likewise.
38241 * posix/sched_rr_gi.c: Likewise.
38242 * posix/sched_setaffinity.c: Likewise.
38243 * posix/sched_setp.c: Likewise.
38244 * posix/sched_sets.c: Likewise.
38245 * posix/sched_yield.c: Likewise.
38246 * posix/setgid.c: Likewise.
38247 * posix/setlogin.c: Likewise.
38248 * posix/setpgid.c: Likewise.
38249 * posix/setresgid.c: Likewise.
38250 * posix/setresuid.c: Likewise.
38251 * posix/setsid.c: Likewise.
38252 * posix/setuid.c: Likewise.
38253 * posix/sleep.c: Likewise.
38254 * posix/spawni.c: Likewise.
38255 * posix/sysconf.c: Likewise.
38256 * posix/times.c: Likewise.
38257 * posix/wait.c: Likewise.
38258 * posix/wait3.c: Likewise.
38259 * posix/wait4.c: Likewise.
38260 * posix/waitpid.c: Likewise.
38261 * resolv/gai_sigqueue.c: Likewise.
38262 * resource/getpriority.c: Likewise.
38263 * resource/getrlimit.c: Likewise.
38264 * resource/getrusage.c: Likewise.
38265 * resource/nice.c: Likewise.
38266 * resource/setpriority.c: Likewise.
38267 * resource/setrlimit.c: Likewise.
38268 * resource/ulimit.c: Likewise.
38269 * rt/aio_cancel.c: Likewise.
38270 * rt/aio_fsync.c: Likewise.
38271 * rt/aio_read.c: Likewise.
38272 * rt/aio_sigqueue.c: Likewise.
38273 * rt/aio_suspend.c: Likewise.
38274 * rt/aio_write.c: Likewise.
38275 * rt/clock_getres.c: Likewise.
38276 * rt/clock_gettime.c: Likewise.
38277 * rt/clock_nanosleep.c: Likewise.
38278 * rt/clock_settime.c: Likewise.
38279 * rt/lio_listio.c: Likewise.
38280 * rt/mq_close.c: Likewise.
38281 * rt/mq_getattr.c: Likewise.
38282 * rt/mq_notify.c: Likewise.
38283 * rt/mq_open.c: Likewise.
38284 * rt/mq_receive.c: Likewise.
38285 * rt/mq_send.c: Likewise.
38286 * rt/mq_setattr.c: Likewise.
38287 * rt/mq_timedreceive.c: Likewise.
38288 * rt/mq_timedsend.c: Likewise.
38289 * rt/mq_unlink.c: Likewise.
38290 * rt/shm_open.c: Likewise.
38291 * rt/shm_unlink.c: Likewise.
38292 * rt/timer_create.c: Likewise.
38293 * rt/timer_delete.c: Likewise.
38294 * rt/timer_getoverr.c: Likewise.
38295 * rt/timer_gettime.c: Likewise.
38296 * rt/timer_settime.c: Likewise.
38297 * setjmp/__longjmp.c: Likewise.
38298 * setjmp/setjmp.c: Likewise.
38299 * signal/kill.c: Likewise.
38300 * signal/killpg.c: Likewise.
38301 * signal/raise.c: Likewise.
38302 * signal/sigaction.c: Likewise.
38303 * signal/sigaltstack.c: Likewise.
38304 * signal/sigblock.c: Likewise.
38305 * signal/sigignore.c: Likewise.
38306 * signal/sigintr.c: Likewise.
38307 * signal/signal.c: Likewise.
38308 * signal/sigpause.c: Likewise.
38309 * signal/sigpending.c: Likewise.
38310 * signal/sigqueue.c: Likewise.
38311 * signal/sigreturn.c: Likewise.
38312 * signal/sigset.c: Likewise.
38313 * signal/sigsetmask.c: Likewise.
38314 * signal/sigstack.c: Likewise.
38315 * signal/sigsuspend.c: Likewise.
38316 * signal/sigtimedwait.c: Likewise.
38317 * signal/sigvec.c: Likewise.
38318 * signal/sigwait.c: Likewise.
38319 * signal/sigwaitinfo.c: Likewise.
38320 * signal/sysv_signal.c: Likewise.
38321 * socket/accept.c: Likewise.
38322 * socket/accept4.c: Likewise.
38323 * socket/bind.c: Likewise.
38324 * socket/connect.c: Likewise.
38325 * socket/getpeername.c: Likewise.
38326 * socket/getsockname.c: Likewise.
38327 * socket/getsockopt.c: Likewise.
38328 * socket/isfdtype.c: Likewise.
38329 * socket/listen.c: Likewise.
38330 * socket/recv.c: Likewise.
38331 * socket/recvfrom.c: Likewise.
38332 * socket/recvmsg.c: Likewise.
38333 * socket/send.c: Likewise.
38334 * socket/sendmsg.c: Likewise.
38335 * socket/sendto.c: Likewise.
38336 * socket/setsockopt.c: Likewise.
38337 * socket/shutdown.c: Likewise.
38338 * socket/sockatmark.c: Likewise.
38339 * socket/socket.c: Likewise.
38340 * socket/socketpair.c: Likewise.
38341 * stdio-common/ctermid.c: Likewise.
38342 * stdio-common/cuserid.c: Likewise.
38343 * stdio-common/remove.c: Likewise.
38344 * stdio-common/rename.c: Likewise.
38345 * stdio-common/renameat.c: Likewise.
38346 * stdio-common/tempname.c: Likewise.
38347 * stdlib/getcontext.c: Likewise.
38348 * stdlib/makecontext.c: Likewise.
38349 * stdlib/setcontext.c: Likewise.
38350 * stdlib/swapcontext.c: Likewise.
38351 * stdlib/system.c: Likewise.
38352 * streams/fattach.c: Likewise.
38353 * streams/fdetach.c: Likewise.
38354 * streams/getmsg.c: Likewise.
38355 * streams/getpmsg.c: Likewise.
38356 * streams/putmsg.c: Likewise.
38357 * streams/putpmsg.c: Likewise.
38358 * sysdeps/unix/bsd/getpt.c: Likewise.
38359 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38360 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38361 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38363 Likewise.
38364 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38365 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38366 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38367 * sysvipc/msgctl.c: Likewise.
38368 * sysvipc/msgget.c: Likewise.
38369 * sysvipc/msgrcv.c: Likewise.
38370 * sysvipc/msgsnd.c: Likewise.
38371 * sysvipc/semctl.c: Likewise.
38372 * sysvipc/semget.c: Likewise.
38373 * sysvipc/semop.c: Likewise.
38374 * sysvipc/semtimedop.c: Likewise.
38375 * sysvipc/shmat.c: Likewise.
38376 * sysvipc/shmctl.c: Likewise.
38377 * sysvipc/shmdt.c: Likewise.
38378 * sysvipc/shmget.c: Likewise.
38379 * termios/tcdrain.c: Likewise.
38380 * termios/tcflow.c: Likewise.
38381 * termios/tcflush.c: Likewise.
38382 * termios/tcgetattr.c: Likewise.
38383 * termios/tcgetpgrp.c: Likewise.
38384 * termios/tcsendbrk.c: Likewise.
38385 * termios/tcsetattr.c: Likewise.
38386 * termios/tcsetpgrp.c: Likewise.
38387 * time/adjtime.c: Likewise.
38388 * time/clock.c: Likewise.
38389 * time/getitimer.c: Likewise.
38390 * time/gettimeofday.c: Likewise.
38391 * time/setitimer.c: Likewise.
38392 * time/settimeofday.c: Likewise.
38393 * time/stime.c: Likewise.
38394 * time/time.c: Likewise.
38395
383962012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 38397
a20492cf
PT
38398 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38399 /usr/old/bin.
38400
72e182e3
PT
38401 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38402 instead of spaces.
38403 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38404
fbeafede
JM
384052012-11-03 Joseph Myers <joseph@codesourcery.com>
38406
5b5b04d6
JM
38407 [BZ #14796]
38408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38409 FE_TONEAREST before applying Dekker multiplication and Knuth
38410 addition. Clear inexact exceptions and check for exact zero
38411 results afterwards.
38412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38413 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38414 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38415 * math/libm-test.inc (fma_test): Add more tests.
38416 (fma_test_towardzero): Likewise.
38417 (fma_test_downward): Likewise.
38418 (fma_test_upward): Likewise.
38419 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38420 function.
38421 (libc_fesetround): New macro.
38422 (libc_fesetroundf): Likewise.
38423 (libc_fesetroundl): Likewise.
38424 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38425 function.
38426 (libc_fesetround_387): Likewise.
38427 (libc_fesetroundf): New macro.
38428 (libc_fesetround): Likewise.
38429 (libc_fesetroundl): Likewise.
38430 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38431 function.
38432 (libc_fesetroundf): New macro.
38433 (libc_fesetround): Likewise.
38434 (libc_fesetroundl): Likewise.
38435 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38436 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38437 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38438 libm_hidden_ver.
38439 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38440 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38441 libm_hidden_def.
38442 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38443 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38444 libm_hidden_ver.
38445 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38446 libm_hidden_def.
38447
fbeafede
JM
38448 [BZ #3439]
38449 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38450 integer constant usable in #if and use that to give value to enum
38451 constant.
38452 (FE_DIVBYZERO): Likewise.
38453 (FE_UNDERFLOW): Likewise.
38454 (FE_OVERFLOW): Likewise.
38455 (FE_INVALID): Likewise.
38456 (FE_INVALID_SNAN): Likewise.
38457 (FE_INVALID_ISI): Likewise.
38458 (FE_INVALID_IDI): Likewise.
38459 (FE_INVALID_ZDZ): Likewise.
38460 (FE_INVALID_IMZ): Likewise.
38461 (FE_INVALID_COMPARE): Likewise.
38462 (FE_INVALID_SOFTWARE): Likewise.
38463 (FE_INVALID_SQRT): Likewise.
38464 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38465 (FE_TONEAREST): Likewise.
38466 (FE_TOWARDZERO): Likewise.
38467 (FE_UPWARD): Likewise.
38468 (FE_DOWNWARD): Likewise.
38469 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38470 (FE_DIVBYZERO): Likewise.
38471 (FE_OVERFLOW): Likewise.
38472 (FE_UNDERFLOW): Likewise.
38473 (FE_INEXACT): Likewise.
38474 (FE_TONEAREST): Likewise.
38475 (FE_DOWNWARD): Likewise.
38476 (FE_UPWARD): Likewise.
38477 (FE_TOWARDZERO): Likewise.
38478 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38479 (FE_UNDERFLOW): Likewise.
38480 (FE_OVERFLOW): Likewise.
38481 (FE_DIVBYZERO): Likewise.
38482 (FE_INVALID): Likewise.
38483 (FE_TONEAREST): Likewise.
38484 (FE_TOWARDZERO): Likewise.
38485 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38486 (FE_OVERFLOW): Likewise.
38487 (FE_UNDERFLOW): Likewise.
38488 (FE_DIVBYZERO): Likewise.
38489 (FE_INEXACT): Likewise.
38490 (FE_TONEAREST): Likewise.
38491 (FE_TOWARDZERO): Likewise.
38492 (FE_UPWARD): Likewise.
38493 (FE_DOWNWARD): Likewise.
38494 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38495 (FE_DIVBYZERO): Likewise.
38496 (FE_OVERFLOW): Likewise.
38497 (FE_UNDERFLOW): Likewise.
38498 (FE_INEXACT): Likewise.
38499 (FE_TONEAREST): Likewise.
38500 (FE_DOWNWARD): Likewise.
38501 (FE_UPWARD): Likewise.
38502 (FE_TOWARDZERO): Likewise.
38503
105ca950
CM
385042012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38505
38506 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38507
a542b389
AS
385082012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38509
38510 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38511 commands. Quote $PWD.
38512 (blacklist_exports): Don't use remove_newlines. Replace "declare
38513 -x" by "export".
38514 (remove_newlines): Remove.
38515
f62c8abc
L
385162012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38517
38518 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38519 * stdlib/stdlib.h (atof): Moved to ...
38520 * include/bits/stdlib-float.h: Here. New file.
38521 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38522 * stdlib/bits/stdlib-float.h: New file.
38523 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38524 -mno-sse -mno-mmx.
38525 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38526 <xmmintrin.h>.
38527
0155d5b2
JM
385282012-11-02 Joseph Myers <joseph@codesourcery.com>
38529
a68d0680
JM
38530 * conform/conformtest.pl (@headers): Add fenv.h.
38531 * conform/data/fenv.h-data: New file.
38532 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38533 include of <math/fenv.h>.
38534
caf7f573
JM
38535 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38536 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38537 && !UNIX98]. Enables tests for XOPEN2K8.
38538 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38539 POSIX2008]: Likewise.
38540
6c073ad6
JM
38541 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38542 (struct rusage): Do not expect type or its members.
38543
0155d5b2
JM
38544 [BZ #3439]
38545 * math/math.h (FP_NAN): Define macro to integer constant usable in
38546 #if and use that to give value to enum constant.
38547 (FP_INFINITE): Likewise.
38548 (FP_ZERO): Likewise.
38549 (FP_SUBNORMAL): Likewise.
38550 (FP_NORMAL): Likewise.
38551
b5dcacb4
AS
385522012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38553
38554 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38555 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38556 arguments.
38557
f7934be8
RM
385582012-11-02 Roland McGrath <roland@hack.frob.com>
38559
38560 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38561 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38562 autoconf-time if not.
38563 * configure.in: Remove AC_PREREQ.
38564
d7d08bde
TMQMF
385652012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38566
38567 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38568 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38569 of the internal implementation.
38570
dcdae19a
JM
385712012-11-02 Joseph Myers <joseph@codesourcery.com>
38572
38573 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38574 except include of <misc/sys/syslog.h>.
38575
d6cffd3e
AS
385762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38577
38578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38579 function returns with a NULL context exit with zero.
38580
b3563932
TMQMF
385812012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38582
38583 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38584
b288a93d
L
385852012-11-01 H.J. Lu <hongjiu.lu@intel.com>
38586
38587 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38588 (run_program_cmd): This.
38589 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38590 (tst_langinfo): New variable. Use it.
38591
a2421a68
SAS
385922012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
38593
38594 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38595 floating point opcodes.
38596
6f796e1b
TS
385972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38598
7402596b
TS
38599 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38600 variable.
38601
d0d4f868
TS
38602 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38603
6f796e1b
TS
38604 * sysdeps/mach/hurd/powerpc: Remove directory.
38605 * sysdeps/mach/powerpc: Likewise.
38606
4da224a2
AS
386072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38608
38609 * scripts/check-local-headers.sh: Ignore c++ headers.
38610
341dd673
TS
386112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38612
38613 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38614 __libc_cleanup_region_start argument.
38615
473611b2
JM
386162012-11-01 Joseph Myers <joseph@codesourcery.com>
38617
38618 [BZ #14784]
38619 [BZ #14785]
38620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38621 x * y using scaling, not as x * y + z.
38622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38623 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38624 * math/libm-test.inc (fma_test): Add more tests.
38625 (fma_test_towardzero): Likewise.
38626 (fma_test_downward): Likewise.
38627 (fma_test_upward): Likewise.
38628
4078da3d
TS
386292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38630
38631 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38632
903252aa
JM
386332012-10-31 Joseph Myers <joseph@codesourcery.com>
38634
38635 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38636 New variable.
38637
cbc818d0
TS
386382012-10-31 Thomas Schwinge <thomas@codesourcery.com>
38639
38640 * rt/tst-shm.c (worker): Correct checking for mmap failure.
38641
5a03cb1e
AS
386422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38643
38644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38645 Fix sort order.
38646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38647 Likewise.
38648
90aff2ff
TMQMF
386492012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38650
38651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38652 Fix the order of the list for glibc 2.17.
38653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38654 Likewise.
38655
1818fcb7
AS
386562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38657
38658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38659
ef82f4da
JM
386602012-10-31 Joseph Myers <joseph@codesourcery.com>
38661
16a0e2ec
JM
38662 [BZ #14610]
38663 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38664 for low part of x being zero before using __atanl (y).
38665 * math/libm-test.inc (atan2_test): Add another test.
38666
0eb69512
JM
38667 * manual/install.texi (Configuring and compiling): Document
38668 general use of test-wrapper and test-wrapper-env.
38669 * INSTALL: Regenerated.
38670
ef82f4da
JM
38671 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38672 (__fma): Do not extract and scale down low bits on after-rounding
38673 systems when result rounded to normal precision would have normal
38674 exponent.
38675 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38676 (__fmal): Do not extract and scale down low bits on after-rounding
38677 systems when result rounded to normal precision would have normal
38678 exponent.
38679 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38680 (__fmal): Do not extract and scale down low bits on after-rounding
38681 systems when result rounded to normal precision would have normal
38682 exponent.
38683 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38684 macro.
38685 (fma_test): Add more tests.
38686 (fma_test_towardzero): Likewise.
38687 (fma_test_downward): Likewise.
38688 (fma_test_upward): Likewise.
38689
954ef0d9
L
386902012-10-30 H.J. Lu <hongjiu.lu@intel.com>
38691
38692 * sysdeps/i386/tininess.h: Renamed to ...
38693 * sysdeps/x86/tininess.h: This.
38694 * sysdeps/x86_64/tininess.h: Removed.
38695
df61ffb2
JM
386962012-10-30 Joseph Myers <joseph@codesourcery.com>
38697
38698 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38699 input. Use $(build-program-cmd).
38700 ($(objpfx)tst-array1-static.out): Likewise.
38701 ($(objpfx)tst-array2.out): Likewise.
38702 ($(objpfx)tst-array3.out): Likewise.
38703 ($(objpfx)tst-array4.out): Likewise.
38704 ($(objpfx)tst-array5.out): Likewise.
38705 ($(objpfx)tst-array5-static.out): Likewise.
38706
01767843
CM
387072012-10-30 Chris Metcalf <cmetcalf@tilera.com>
38708
47cc1490
CM
38709 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38710 if defined.
38711
01767843
CM
38712 * nss/nsswitch.h (nss_interface_function): Provide new
38713 macro for use with NSS functions.
38714 * grp/initgroups.c: Use new macro.
38715 * nss/getXXbyYY.c: Likewise.
38716 * nss/getXXbyYY_r.c: Likewise.
38717 * nss/getXXent.c: Likewise.
38718 * nss/getXXent_r.c: Likewise.
38719 * sysdeps/posix/getaddrinfo.c: Likewise.
38720
8321aa97
AJ
387212012-10-30 Andreas Jaeger <aj@suse.de>
38722
38723 * po/ru.po: Update Russion translation from translation project.
38724
2a27fd6d
JM
387252012-10-30 Joseph Myers <joseph@codesourcery.com>
38726
8627a232
JM
38727 [BZ #14152]
38728 [BZ #14783]
38729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38730 result and shift together with sticky bit instead of replicating
38731 round-to-nearest rounding.
38732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38733 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38734 * math/libm-test.inc (fma_test): Add more tests. Do not permit
38735 missing underflow exceptions.
38736 (fma_test_towardzero): Add more tests.
38737 (fma_test_downward): Likewise.
38738 (fma_test_upward): Likewise.
38739
2a27fd6d
JM
38740 [BZ #14047]
38741 * sysdeps/generic/tininess.h: New file.
38742 * sysdeps/i386/tininess.h: Likewise.
38743 * sysdeps/sh/tininess.h: Likewise.
38744 * sysdeps/x86_64/tininess.h: Likewise.
38745 * stdlib/tst-strtod-underflow.c: Likewise.
38746 * stdlib/tst-tininess.c: Likewise.
38747 * stdlib/strtod_l.c: Include <tininess.h>.
38748 (round_and_return): Do not set errno for exact underflow cases.
38749 Force an underflow exception when setting errno for underflow.
38750 Determine underflow based on rounding to normal precision if
38751 TININESS_AFTER_ROUNDING.
38752 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38753 ERANGE for exact underflow cases.
38754 * stdlib/Makefile (tests): Add tst-tininess and
38755 tst-strtod-underflow.
38756 ($(objpfx)tst-tininess): Use $(link-libm).
38757 ($(objpfx)tst-strtod-underflow): Likewise.
38758
e7170363
AJ
387592012-10-30 Andreas Jaeger <aj@suse.de>
38760
e5088dc6
AJ
38761 [BZ#14767]
38762 * elf/Makefile (tests): Remove conditional for have-initfini-array
38763 since this is now always required and the variable does not exist
38764 anymore.
38765 (tests-static): Likewise.
38766 (modules-names): Likewise.
38767
e7170363 38768 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
38769
38770 * elf/tst-array1.c (fini_array): Make writeable so that it can be
38771 merged with constructor/destructor.
38772 (init_array): Likewise.
38773 * elf/tst-array2dep.c (fini_array): Likewise.
38774 (init_array): Likewise.
38775
60457d8a
MF
387762012-10-29 Mike Frysinger <vapier@gentoo.org>
38777
38778 * manual/message.texi: Delete @cartouche tags.
38779
8bece752
PT
387802012-10-29 Pino Toscano <toscano.pino@tiscali.it>
38781
94ce799f
PT
38782 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38783 EOPNOTSUPP.
38784 * sysdeps/mach/hurd/fsync.c: Likewise.
38785
8bece752
PT
38786 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38787 [_POSIX_REALTIME_SIGNALS]: Change condition to
38788 [_POSIX_REALTIME_SIGNALS > 0].
38789
86ebe6b1
AJ
387902012-10-27 Andreas Jaeger <aj@suse.de>
38791
38792 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38793 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38795 [__WORDSIZE != 64]: Likewise.
38796
54399c08
L
387972012-10-26 H.J. Lu <hongjiu.lu@intel.com>
38798
38799 * iconvdata/tst-table.sh: Remove ${SHELL}.
38800 * iconvdata/tst-tables.sh: Likewise.
38801
e2211bed
DM
388022012-10-25 David S. Miller <davem@davemloft.net>
38803
38804 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38805 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38806 of strtoull.
38807
f303f97c
DM
38808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38809 ifunc-impl-list.c
38810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38811 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38812 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38813 file.
38814
1e9d84cd
RM
388152012-10-25 Roland McGrath <roland@hack.frob.com>
38816
38817 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38818 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38819 __getdirentries.
38820
df381762
JM
388212012-10-25 Joseph Myers <joseph@codesourcery.com>
38822 Jim Blandy <jimb@codesourcery.com>
38823
38824 * scripts/cross-test-ssh.sh: New file.
38825 * manual/install.texi (Configuring and compiling): Document use of
38826 cross-test-ssh.sh.
38827 * INSTALL: Regenerated.
38828
bff64913
PT
388292012-10-25 Pino Toscano <toscano.pino@tiscali.it>
38830
38831 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38832 EOPNOTSUPP.
38833
25fe8932
JM
388342012-10-25 Joseph Myers <joseph@codesourcery.com>
38835
38836 * Makeconfig (run-program-prefix): Fix comment.
38837
cc1290d0
JM
388382012-10-24 Joseph Myers <joseph@codesourcery.com>
38839 Jim Blandy <jimb@codesourcery.com>
38840
38841 * Makeconfig (test-wrapper): New variable,
38842 (test-wrapper-env): Likewise.
38843 [$(cross-compiling) = yes && $(test-wrapper) != ""]
38844 (run-built-tests): Define to yes.
38845 (run-program-prefix): Use $(test-wrapper).
38846 (built-program-cmd): Likewise.
38847 * Rules (make-test-out): Use $(test-wrapper-env) and
38848 $(host-built-program-cmd).
38849 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38850 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38851 tst-pathopt.sh.
38852 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38853 $(test-wrapper-env) to tst-rtld-load-self.sh.
38854 ($(objpfx)order2.out): Use $(test-wrapper).
38855 ($(objpfx)tst-initorder.out): Likewise.
38856 ($(objpfx)tst-initorder2.out): Likewise.
38857 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38858 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38859 (test_wrapper_env): New variable. Use it to run ld.so.
38860 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38861 Use it to run ld.so.
38862 (test_wrapper_env): Likewise.
38863 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38864 $(test-wrapper) to run-iconv-test.sh.
38865 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38866 (ICONV): Use $test_wrapper.
38867 * posix/Makefile ($(objpfx)globtest.out): Pass
38868 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38869 globtest.sh, not $(run-program-prefix).
38870 * posix/globtest.sh (run_via_rtld_prefix): New variable.
38871 (test_wrapper): Likewise.
38872 (test_wrapper_env): Likewise. Use it to run globtest with HOME
38873 set together with run_via_rtld_prefix.
38874 (run_program_prefix): Define in terms of test_wrapper and
38875 run_via_rtld_prefix.
38876
6e6249d0
RM
388772012-10-24 Roland McGrath <roland@hack.frob.com>
38878
38879 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38880 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38881 Targets removed.
38882
38883 [BZ #14743]
38884 * include/time.h: Remove librt_hidden_proto (clock_gettime).
38885 Declare __clock_getres, __clock_gettime, __clock_settime,
38886 __clock_nanosleep, and __clock_getcpuclockid.
38887 * rt/clock_gettime.c: Define __clock_gettime as an alias.
38888 Remove librt_hidden_def (clock_gettime).
38889 * sysdeps/unix/clock_gettime.c: Likewise.
38890 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38891 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38892 * rt/clock_getres.c: Define __clock_getres as an alias.
38893 * sysdeps/posix/clock_getres.c: Likewise.
38894 * rt/clock_settime.c: Define __clock_settime as an alias.
38895 * sysdeps/unix/clock_settime.c: Likewise.
38896 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38897 * sysdeps/unix/clock_nanosleep.c: Likewise.
38898 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38899 * rt/clock-compat.c: New file.
38900 * rt/Makefile (librt-routines): Add clock-compat and move
38901 $(clock-routines) to ...
38902 (routines): ... here, new variable.
38903 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38904 Don't add get_clockfreq here.
38905 * rt/Versions (libc: GLIBC_2.17): New version set.
38906 Add clock_* symbols here.
38907 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
38908 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38909 (GLIBC_2.17): Add clock_* symbols.
38910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38914 Likewise.
38915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38916 Likewise.
38917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38921 * NEWS: Mention the move.
38922
38923 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38924 Use __open, __read, __close rather than their public counterparts.
38925 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38926 (__get_clockfreq_via_cpuinfo): Likewise.
38927 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38928 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38929
38930 * config.h.in (HAVE_IFUNC): New #undef.
38931 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38932 was successful.
38933 * configure: Regenerated.
38934
0cae3f4b
MF
389352012-10-24 Mike Frysinger <vapier@gentoo.org>
38936
38937 * configure.in: Move READELF check to start of file.
38938 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38939 libc_cv_asm_gnu_indirect_function in the process.
38940 * configure: Regenerated.
38941
8175a253
MF
389422012-10-24 Mike Frysinger <vapier@gentoo.org>
38943
38944 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38945 send the output to /dev/null.
38946 (libc_cv_cc_with_libunwind): Likewise.
38947 (libc_cv_as_noexecstack): Likewise.
38948 * configure: Regenerate.
38949
0708a7d1
JM
389502012-10-24 Joseph Myers <joseph@codesourcery.com>
38951
10b40d85
JM
38952 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38953
0708a7d1
JM
38954 * posix/globtest.sh (TMPDIR): Do not set.
38955 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38956 (testout): Likewise.
38957
9fddec1a
AJ
389582012-10-24 Andreas Jaeger <aj@suse.de>
38959
3a8db22f
AJ
38960 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38961 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38962 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38963 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38964 posix_fadvise64, posix_fallocate64.
38965
9fddec1a
AJ
38966 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38967 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38968 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38969 Likewise.
38970 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38971 Likewise.
38972 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38973
38974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38975 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38976 <bits/fcntl-linux.h>.
38977 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38978
38979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38980 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38981 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38982 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38983 [__WORDSIZE != 64]: Likewise.
38984
ebfd1bbd
JM
389852012-10-23 Joseph Myers <joseph@codesourcery.com>
38986
03ac099f
JM
38987 * Makeconfig (run-built-tests): New variable.
38988 * Rules [$(cross-compiling) = yes]: Change condition to
38989 [$(run-built-tests) = no].
38990 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38991 to [$(run-built-tests) = yes].
38992 * elf/Makefile [$(cross-compiling) = no]: Likewise
38993 * grp/Makefile [$(cross-compiling) = no]: Likewise.
38994 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38995 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38996 * intl/Makefile [$(cross-compiling) = no]: Likewise.
38997 * io/Makefile [$(cross-compiling) = no]: Likewise.
38998 * libio/Makefile [$(cross-compiling) = no]: Likewise.
38999 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39000 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39001 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39002 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39003 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39004 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39005 * string/Makefile [$(cross-compiling) = no]: Likewise.
39006
ebfd1bbd
JM
39007 * posix/Makefile ($(objpfx)globtest.out): Pass
39008 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39009 $(rtld-installed-name).
39010 * posix/globtest.sh (elf_objpfx): Remove variable.
39011 (rtld_installed_name): Likewise.
39012 (library_path): Likewise.
39013 (run_program_prefix): New variable. Use for running globtest
39014 binary.
39015
166bca24
JB
390162012-10-23 Jim Blandy <jimb@codesourcery.com>
39017 Joseph Myers <joseph@codesourcery.com>
39018
39019 * Makeconfig (host-built-program-cmd): New variable.
39020 * elf/Makefile (tst-stackguard1-ARGS): Use
39021 $(host-built-program-cmd).
39022 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39023 (tst-spawn-ARGS): Likewise.
39024 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39025
88866099
JM
390262012-10-23 Joseph Myers <joseph@codesourcery.com>
39027 Jim Blandy <jimb@codesourcery.com>
39028
39029 * Makeconfig (run-via-rtld-prefix): New variable.
39030 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39031 (built-program-cmd): Likewise.
39032
b4b4c296
AJ
390332012-10-22 Andreas Jaeger <aj@suse.de>
39034
39035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39036 __O_RSYNC if it exists, otherwise to O_SYNC.
39037
6fb54a22
JB
390382012-10-22 Jim Blandy <jimb@codesourcery.com>
39039 Joseph Myers <joseph@codesourcery.com>
39040
39041 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39042 /dev/null.
39043 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39044 from /dev/null
39045 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39046 /dev/null.
39047
481b90b9
AJ
390482012-10-22 Andreas Jaeger <aj@suse.de>
39049
2a0e2669
AJ
39050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39051 Define always.
39052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39053
76e38f9a
AJ
39054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39055 bits/fcntl-linux.h.
39056
7cd37b43
AJ
39057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39058 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39059
481b90b9
AJ
39060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39061 to __O_LARGEFILE.
39062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39063 to __O_LARGEFILE.
39064
aba75984
JB
390652012-10-21 Jim Blandy <jimb@codesourcery.com>
39066 Joseph Myers <joseph@codesourcery.com>
39067
39068 * config.make.in (NM): New variable.
39069
88d4247f
AJ
390702012-10-21 Andreas Jaeger <aj@suse.de>
39071
39072 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39073 definitions and declarations that are provided by
39074 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39075
f2eed205
L
390762012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39077
39078 [BZ #14683]
39079 * elf/Makefile (tests-static): Add tst-leaks1-static.
39080 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39081 ($(objpfx)tst-leaks1-static): New rule.
39082 ($(objpfx)tst-leaks1-static-mem): Likewise.
39083 (tst-leaks1-static-ENV): New macro.
39084 * elf/dl-open.c (dl_open_worker): Check the main application
39085 only if SHARED is defined.
39086 * elf/tst-leaks1-static.c: New file.
39087
335e6931
AJ
390882012-10-20 Andreas Jaeger <aj@suse.de>
39089
39090 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39091 generic values for Linux.
39092 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39093 and declarations that are provided by <bits/fcntl-linux.h> and
39094 include <bits/fcntl-linux.h>.
39095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39097
ac5c94d3
RM
390982012-10-20 Roland McGrath <roland@hack.frob.com>
39099
39100 * io/fcntl.h: Move include of <bits/types.h> to the top and
39101 include it unconditionally.
39102
de54b33a
L
391032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39104
228cfb01
L
39105 * wcsmbs/Makefile (tests-ifunc): New variable.
39106 (tests): Add $(tests-ifunc).
39107 * wcsmbs/test-wcschr-ifunc.c: New file.
39108 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39109 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39110 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39111 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39112 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39113
69f07e5f
L
39114 * string/Makefile (tests-ifunc): New variable.
39115 (tests): Add $(tests-ifunc).
39116 * string/test-memccpy.c (TEST_NAME): New macro.
39117 * string/test-memchr.c (TEST_NAME): Likewise.
39118 * string/test-memcmp.c (TEST_NAME): Likewise.
39119 * string/test-memcpy.c (TEST_NAME): Likewise.
39120 * string/test-memmem.c (TEST_NAME): Likewise.
39121 * string/test-memmove.c (TEST_NAME): Likewise.
39122 * string/test-memset.c (TEST_NAME): Likewise.
39123 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39124 * string/test-stpcpy.c (TEST_NAME): Likewise.
39125 * string/test-stpncpy.c (TEST_NAME): Likewise.
39126 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39127 * string/test-strcasestr.c (TEST_NAME): Likewise.
39128 * string/test-strcat.c (TEST_NAME): Likewise.
39129 * string/test-strchr.c (TEST_NAME): Likewise.
39130 * string/test-strcmp.c(TEST_NAME): Likewise.
39131 * string/test-strcpy.c (TEST_NAME): Likewise.
39132 * string/test-strcspn.c (TEST_NAME): Likewise.
39133 * string/test-strlen.c (TEST_NAME): Likewise.
39134 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39135 * string/test-strncmp.c (TEST_NAME): Likewise.
39136 * string/test-strncpy.c (TEST_NAME): Likewise.
39137 * string/test-strnlen.c (TEST_NAME): Likewise.
39138 * string/test-strpbrk.c (TEST_NAME): Likewise.
39139 * string/test-strrchr.c (TEST_NAME): Likewise.
39140 * string/test-strspn.c (TEST_NAME): Likewise.
39141 * string/test-strstr.c (TEST_NAME): Likewise.
39142 * string/test-bcopy-ifunc.c: New file.
39143 * string/test-bzero-ifunc.c: Likewise.
39144 * string/test-memccpy-ifunc.c: Likewise.
39145 * string/test-memchr-ifunc.c: Likewise.
39146 * string/test-memcmp-ifunc.c: Likewise.
39147 * string/test-memcpy-ifunc.c: Likewise.
39148 * string/test-memmem-ifunc.c: Likewise.
39149 * string/test-memmove-ifunc.c: Likewise.
39150 * string/test-mempcpy-ifunc.c: Likewise.
39151 * string/test-memset-ifunc.c: Likewise.
39152 * string/test-rawmemchr-ifunc.c: Likewise.
39153 * string/test-stpcpy-ifunc.c: Likewise.
39154 * string/test-stpncpy-ifunc.c: Likewise.
39155 * string/test-strcasecmp-ifunc.c: Likewise.
39156 * string/test-strcasestr-ifunc.c: Likewise.
39157 * string/test-strcat-ifunc.c: Likewise.
39158 * string/test-strchr-ifunc.c: Likewise.
39159 * string/test-strchrnul-ifunc.c: Likewise.
39160 * string/test-strcmp-ifunc.c: Likewise.
39161 * string/test-strcpy-ifunc.c: Likewise.
39162 * string/test-strcspn-ifunc.c: Likewise.
39163 * string/test-strlen-ifunc.c: Likewise.
39164 * string/test-strncasecmp-ifunc.c: Likewise.
39165 * string/test-strncat-ifunc.c: Likewise.
39166 * string/test-strncmp-ifunc.c: Likewise.
39167 * string/test-strncpy-ifunc.c: Likewise.
39168 * string/test-strnlen-ifunc.c: Likewise.
39169 * string/test-strpbrk-ifunc.c: Likewise.
39170 * string/test-strrchr-ifunc.c: Likewise.
39171 * string/test-strspn-ifunc.c: Likewise.
39172 * string/test-strstr-ifunc.c: Likewise.
39173
de54b33a
L
39174 * debug/Makefile (tests-ifunc): New variable.
39175 (tests): Add $(tests-ifunc).
39176 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39177 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39178 * debug/test-stpcpy_chk-ifunc.c: New file.
39179 * debug/test-strcpy_chk-ifunc.c: Likewise.
39180
88481c16
SP
391812012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39182
39183 [BZ #13601]
39184 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39185 header is not read in.
39186
135948bd
JM
391872012-10-19 Joseph Myers <joseph@codesourcery.com>
39188
89f1c388
JM
39189 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39190 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39191 directly. Pass built executable to script as
39192 $(built-program-cmd).
39193 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39194 $testprogram without using LD_LIBRARY_PATH and $ldso.
39195
e40a0d21
JM
39196 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39197 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39198 $(rtld-installed-name).
39199 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39200 (rtld_installed_name): Likewise.
39201 (library_path): Likewise.
39202 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39203 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39204 $(run-program-prefix) to tst-tables.sh.
39205 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39206 it to run tst-table-from and tst-table-to.
39207 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39208 Pass it to tst-table.sh.
39209 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39210 $(run-program-prefix) to tst-gettext.sh.
39211 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39212 tst-translit.sh.
39213 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39214 tst-gettext2.sh.
39215 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39216 to run tst-gettext.
39217 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39218 to run tst-gettext2.
39219 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39220 to run tst-translit.
39221 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39222 $(run-program-prefix) to tst-mtrace.sh.
39223 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39224 to run tst-mtrace.
39225 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39226 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39227 $(rtld-installed-name).
39228 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39229 (rtld_installed_name): Likewise.
39230 (run_program_prefix): New variable. Use it to run wordexp-test.
39231
728e272a
JM
39232 * Makeconfig (ARCH): Remove all definitions.
39233 (machine): Likewise.
39234 [ARCH]: Remove conditional code.
39235 [!objdir]: Give error.
39236 [!objdir] (objpfx): Remove.
39237 [!objdir] (common-objpfx): Likewise.
39238 [!objdir] (common-objdir): Likewise.
39239 * configure.in (config_makefile): Remove. Hardcode Makefile in
39240 AC_CONFIG_FILES call.
39241 * configure: Regenerated.
39242
d528cdcf
JM
39243 [BZ #13888]
39244 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39245 or TMPDIR.
39246 (testout): Likewise.
39247
135948bd
JM
39248 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39249 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39250 $(rtld-installed-name).
39251 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39252 (rtld_installed_name): Likwise.
39253 (runit): Remove function.
39254 (run_getconf): New variable, Use it for running getconf binary.
39255
38c78296
L
392562012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39257
39258 [BZ #14716]
39259 * string/test-memmem.c (check_result): New function.
39260 (do_one_test): Use it.
39261 (check1): New function.
39262 (test_main): Use it.
39263
d077f65f
MT
392642012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39265
39266 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39267
ced52c71
JM
392682012-10-18 Joseph Myers <joseph@codesourcery.com>
39269
39270 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39271 (_G_LSEEK64): Likewise.
39272 (_G_MMAP64): Likewise.
39273 (_G_FSTAT64): Likewise.
39274 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39275 (_G_LSEEK64): Likewise.
39276 (_G_MMAP64): Likewise.
39277 (_G_FSTAT64): Likewise.
39278 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39279 unconditional. Call __mmap64 directly.
39280 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39281 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39282 __lseek64 directly.
39283 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39284 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39285 __mmap64 directly.
39286 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39287 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39288 __lseek64 directly.
39289 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39290 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39291 __lseek64 directly.
39292 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39293 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39294 __lseek64 directly.
39295 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39296 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39297 __fxstat64 directly.
39298 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39299 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39300 unconditional.
39301 (freopen64) [!_G_OPEN64]: Remove conditional code.
39302 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39303 unconditional.
39304 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39305 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39306 unconditional.
39307 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39308 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39309 unconditional.
39310 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39311 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39312 unconditional.
39313 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39314 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39315 unconditional.
39316 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39317 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39318 unconditional.
39319 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39320 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39321 unconditional.
39322 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39323
b741de23
SP
393242012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39325
39326 [BZ #12140]
39327 * manual/memory.texi (Malloc Tunable Parameters): Add note
39328 about free list pointers overwriting some perturb bytes.
39329 Wording suggested by Roland McGrath.
39330
f9b9d9c9
JM
393312012-10-17 Joseph Myers <joseph@codesourcery.com>
39332
39333 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39334 (lgamma_test): Likewise.
39335 (tgamma_test): Likewise.
39336
172a631a
FW
393372012-10-16 Florian Weimer <fweimer@redhat.com>
39338
39339 [BZ #14700]
39340 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39341 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39342
e9f37252
MK
393432012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39344
39345 * NEWS: Mention BZ #14716.
39346 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39347 when removing AVAILABLE1_USES_J macro.
39348
d394eb74
L
393492012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39350
39351 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39352 (__bswap_64): __uint64_t for unsigned 64-bit int.
39353
ca38dc17
AS
393542012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39355
39356 * include/string.h (memmem): Declare libc hidden alias.
39357 * string/memmem.c (memmem): Define libc hidden alias.
39358 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39359 __read, __close instead of open, read, close.
39360
9a387d1f
L
393612012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39362
ac49ecaf
L
39363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39364 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39365 global and hidden.
39366 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39367 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39368 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39369 Likewise.
39370 (__rawmemchr_sse2): Likewise.
39371 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39372 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39373 (__strchr_sse2): Likewise.
39374 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39375 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39376 (__strcasecmp_sse2): Likewise.
39377 (__strncasecmp_sse2): Likewise.
39378 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39379 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39380 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39381 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39382 (__strrchr_sse2): Likewise.
39383 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39384 ifunc-impl-list.c.
39385 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39386 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39387 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39388 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39389 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39390 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39391 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39392 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39393 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39394 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39395 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39396 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39397 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39398 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39399 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39400 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39401 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39402 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39403 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39404 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39405 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39406 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39407 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39408 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39409 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39410 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39411 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39412 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39413 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39414 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39415
b090e8ea
L
39416 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39417 global and hidden.
39418 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39419 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39420 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39421 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39422 Likewise.
39423 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39424 Likewise.
39425 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39426 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39427 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39428 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39429 ifunc-impl-list.c.
39430 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39431 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39432 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39433 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39434 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39435 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39436 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39437 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39438 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39439 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39440 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39441 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39442 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39443 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39444 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39445 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39446 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39447 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39448 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39449 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39451 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39452 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39453 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39454 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39455 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39456 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39457 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39458 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39459 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39460 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39461 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39462 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39463 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39464 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39465 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39466 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39467 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39468 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39469 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39470 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39471
11dd4af6
L
39472 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39473 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39474 * include/ifunc-impl-list.h: New file.
39475 * misc/ifunc-impl-list.c: Likewise.
39476 * misc/Makefile (routines): Add ifunc-impl-list.
39477 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39478 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
39479 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39480 TEST_NAME]: New variables.
11dd4af6
L
39481 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39482 are defined.
39483 (test_init): Call __libc_ifunc_impl_list to initialize
39484 func_list if TEST_IFUNC and TEST_NAME are defined.
39485
9a387d1f
L
39486 * string/Makefile (strop-tests): Add bcopy and bzero.
39487 * string/test-bcopy.c: New file.
39488 * string/test-bzero.c: Likewise.
39489 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39490 defined.
39491 * string/test-memset.c: Support bzero test if TEST_BZERO is
39492 defined.
39493 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39494 __libc_memmove.
39495 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39496 __libc_memset.
39497 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39498 of memset.
39499
472371b9
JM
395002012-10-10 Joseph Myers <joseph@codesourcery.com>
39501
1e4a9536
JM
39502 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39503 * configure: Regenerated.
39504
d173d12e
JM
39505 * Makeconfig (+link-static-before-libc): Don't include
39506 $(link-static-libc).
39507
472371b9
JM
39508 * libio/libio.h (_IO_pos_t): Remove.
39509
89a3ad0b
AO
395102012-10-10 Alexandre Oliva <aoliva@redhat.com>
39511
39512 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39513 McGrath.
39514
e7451425
AO
395152012-10-10 Alexandre Oliva <aoliva@redhat.com>
39516
39517 * crypt/crypt-entry.c: Include fips-private.h.
39518 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39519 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39520 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39521 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39522
4ba74a35
AO
395232012-10-10 Alexandre Oliva <aoliva@redhat.com>
39524
39525 * crypt/crypt-private.h: Include stdbool.h.
39526 (_ufc_setup_salt_r): Return bool.
39527 * crypt/crypt-entry.c: Include errno.h.
39528 (__crypt_r): Return NULL with EINVAL for bad salt.
39529 * crypt/crypt_util.c (bad_for_salt): New.
39530 (_ufc_setup_salt_r): Check that salt is long enough and within
39531 the specified alphabet.
39532 * crypt/badsalttest.c: New file.
39533 * crypt/Makefile (tests): Add it.
39534 ($(objpfx)badsalttest): New.
39535
f96f1242
MK
395362012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39537
39538 * NEWS: Add entry for BZ #14602.
39539
0e8e0c1c
JM
395402012-10-09 Joseph Myers <joseph@codesourcery.com>
39541
39542 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39543 type-generic.
39544 * math/libm-test.inc: Update comment listing what functions and
39545 macros are tested.
39546 (isgreater_test): New function.
39547 (isgreaterequal_test): Likewise.
39548 (isless_test): Likewise.
39549 (islessequal_test): Likewise.
39550 (islessgreater_test): Likewise.
39551 (isunordered_test): Likewise.
39552 (main): Call the new functions.
39553
273edc5e
RM
395542012-10-09 Roland McGrath <roland@hack.frob.com>
39555
b8493de0
RM
39556 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39557 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39558 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39559 * sysdeps/i386/configure: Regenerated.
39560 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39561 * sysdeps/mach/configure: Regenerated.
39562 * sysdeps/mach/hurd/configure: Regenerated.
39563 * sysdeps/powerpc/configure: Regenerated.
39564 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39565 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39566 * sysdeps/s390/s390-32/configure: Regenerated.
39567 * sysdeps/s390/s390-64/configure: Regenerated.
39568 * sysdeps/sh/configure: Regenerated.
39569 * sysdeps/sparc/configure: Regenerated.
39570 * sysdeps/unix/sysv/linux/configure: Regenerated.
39571 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39572 * sysdeps/x86_64/configure: Regenerated.
39573
273edc5e
RM
39574 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39575 defined. Don't check if MAP is NULL.
39576
c8450f70
JM
395772012-10-09 Joseph Myers <joseph@codesourcery.com>
39578
39579 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39580 (_G_stat64): Likewise.
39581 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39582 (_G_stat64): Likewise.
39583 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39584 instead of struct _G_stat64.
39585 * libio/fileops.c (mmap_remap_check): Likewise.
39586 (decide_maybe_mmap): Likewise.
39587 (_IO_new_file_seekoff): Likewise.
39588 (_IO_file_stat): Likewise.
39589 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39590 _G_off64_t.
39591 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39592 instead of struct _G_stat64.
39593 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39594
57e605ba
MK
395952012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
39596
39597 [BZ #14602]
39598 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39599 Replace with ...
39600 (CHECK_EOL): New macro.
39601 (two_way_short_needle): Check beginning of haystack for EOL. Use
39602 CHECK_EOL.
39603 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39604 Replace with CHECK_EOL.
39605 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39606 Replace with CHECK_EOL.
39607
ef1bb361
JM
396082012-10-08 Joseph Myers <joseph@codesourcery.com>
39609
39610 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39611 type-generic.
39612 * math/libm-test.inc: Update comment listing what functions and
39613 macros are tested.
39614 (finite_test): New function.
39615 (isinf_test): Likewise.
39616 (isnan_test): Likewise.
39617 (fpclassify_test): Test subnormal input.
39618 (isfinite_test): Likewise.
39619 (isnormal_test): Likewise.
39620 (main): Call the new functions.
39621
55f11534
JN
396222012-10-08 Jonathan Nieder <jrnieder@gmail.com>
39623
39624 [BZ #14660]
39625 * Makerules (%.dynsym): Force C locale when running
39626 $(OBJDUMP) --dynamic-syms.
39627
1ab29350
AS
396282012-10-08 Andreas Schwab <schwab@linux-m68k.org>
39629
39630 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39631 <stdint.h>.
39632
f1ecb7ef
DM
396332012-10-06 David S. Miller <davem@davemloft.net>
39634
39635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39636 upper 32-bits of the length value in %o2 since we use branch-on-register
39637 tests which consider the entire 64-bit register.
39638
5d41d91a
L
396392012-10-06 H.J. Lu <hongjiu.lu@intel.com>
39640
39641 * string/test-strstr.c (check2): Add a test for page boundary.
39642
3baddb72
DM
396432012-10-05 David S. Miller <davem@davemloft.net>
39644
39645 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39646 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39647 file.
39648 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39649 sysdep_routines.
39650 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39651 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39652 and bzero when HWCAP_SPARC_CRYPTO is present.
39653
9cee5585
L
396542012-10-05 H.J. Lu <hongjiu.lu@intel.com>
39655
d7e0dab9
L
39656 [BZ #14602]
39657 * string/test-strstr.c (check2): New function.
39658 (test_main): Call check2.
39659
03759f47
L
39660 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39661 and bug-strchr1.
39662 * string/bug-strcasestr1.c (do_test): Moved to ...
39663 * string/test-strcasestr.c (check1): Here. New function.
39664 (do_one_test): Break out result checking code into ...
39665 (check_result): This. New function.
39666 (do_one_test): Call check_result.
39667 (test_main): Call check1.
39668 * string/bug-strchr1.c (do_test): Moved to ...
39669 * string/test-strchr.c (check1): Here. New function.
39670 (do_one_test): Break out result checking code into ...
39671 (check_result): This. New function.
39672 (do_one_test): Call check_result.
39673 (test_main): Call check1.
39674 * string/bug-strstr1.c (main): Moved to ...
046f153e 39675 * string/test-strstr.c (check1): Here. New function.
03759f47
L
39676 (do_one_test): Break out result checking code into ...
39677 (check_result): This. New function.
39678 (do_one_test): Call check_result.
39679 (test_main): Call check1.
39680 * string/bug-strcasestr1.c: Removed.
39681 * string/bug-strchr1.c: Likewise.
39682 * string/bug-strstr1.c: Likewise.
39683
53cea63e
L
39684 * elf/Makefile (dl-routines): Add hwcaps.
39685 * elf/dl-support.c (_dl_important_hwcaps): Removed.
39686 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39687 (_dl_important_hwcaps): Moved to ...
39688 * elf/dl-hwcaps.c: Here. New file.
39689 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39690
9cee5585 39691 [BZ #14557]
bb859b06
L
39692 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39693 if IS_IN_rtld isn't defined.
39694
9cee5585
L
39695 * elf/dl-support.c (_dl_sysinfo_map): New.
39696 Include "get-dynamic-info.h" and "setup-vdso.h".
39697 (_dl_non_dynamic_init): Call setup_vdso.
39698 * elf/dynamic-link.h: Don't include <assert.h>.
39699 (elf_get_dynamic_info): Moved to ...
39700 * elf/get-dynamic-info.h: Here. New file.
39701 * elf/dynamic-link.h: Include "get-dynamic-info.h".
39702 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39703 * elf/setup-vdso.h: Here. New file.
39704 * elf/rtld.c: Include "setup-vdso.h".
39705 (dl_main): Call setup_vdso.
39706
23c31b76
JM
397072012-10-05 Joseph Myers <joseph@codesourcery.com>
39708
28234b07
JM
39709 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39710 creal in comment listing functions tested. List finite, isinf,
39711 isnan, isless, islessequal, isgreater, isgreaterequal,
39712 islessgreater, isunordered, lgamma_r and pow10 as functions and
39713 macros not tested. Mention which functions not tested are aliases
39714 for other functions. Fix typo. Note that signs of NaNs are not
39715 tested.
39716
23c31b76
JM
39717 * scripts/config.guess: Update from config.git.
39718 * scripts/config.sub: Likewise.
39719
9043e228
RM
397202012-10-04 Roland McGrath <roland@hack.frob.com>
39721
39722 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39723 * misc/madvise.c (madvise): Renamed to __madvise.
39724 Make madvise a weak alias.
39725 * include/sys/mman.h: Declare __madvise.
39726 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39727 * sysdeps/unix/syscalls.list
39728 (madvise): Make __madvise the strong name, and madvise a weak alias.
39729 * sysdeps/unix/sysv/linux/syscalls.list
39730 (madvise, mmap): Remove redundant entries.
39731 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39732 * malloc/malloc.c (mtrim): Likewise.
39733 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39734
f57f8055
RM
397352012-10-03 Roland McGrath <roland@hack.frob.com>
39736
39737 * sysdeps/mach/hurd/dl-cache.c: File removed.
39738 * config.h.in (USE_LDCONFIG): New #undef.
39739 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39740 * configure: Regenerated.
39741 * elf/Makefile (dl-routines): Add dl-cache only under
39742 [$(use-ldconfig) = yes].
39743 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39744 cache on [USE_LDCONFIG].
39745 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39746 [USE_LDCONFIG].
39747 * elf/rtld.c (dl_main): Likewise.
39748
5bb0c10a
PT
397492012-10-03 Pino Toscano <toscano.pino@tiscali.it>
39750
39751 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39752 _SC_LEVEL4_CACHE_LINESIZE.
39753
010188c6
RM
397542012-10-03 Roland McGrath <roland@hack.frob.com>
39755
39756 * sysdeps/unix/bsd/confstr.h: File removed.
39757
b6c5ec07
AO
397582012-10-02 Alexandre Oliva <aoliva@redhat.com>
39759
39760 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39761 sys/sdt-config.h.
39762
408223d4
RM
397632012-10-02 Roland McGrath <roland@hack.frob.com>
39764
39765 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39766 Make 'mapoff' field ElfW(Off) rather than off_t.
39767
bb9510dc
DL
397682012-10-02 Dmitry V. Levin <ldv@altlinux.org>
39769
fc997c6e
DL
39770 * nscd/Makefile: Remove nscd-cflags and all its users.
39771 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39772 (CFLAGS-nonlib): Add compiler flags for nscd modules.
39773
bb9510dc
DL
39774 [BZ #10631]
39775 * malloc.c (malloc_printerr): Clarify error message.
39776
05699367
L
397772012-10-02 H.J. Lu <hongjiu.lu@intel.com>
39778
39779 [BZ #14648]
39780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39781 Set bit_FMA_Usable if FMA is supported.
39782 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39783 macro.
39784 (bit_FMA4_Usable): Updated.
39785 (index_FMA_Usable): New macro.
39786 (CPUID_FMA): Likewise
39787 (HAS_FMA): Defined with bit_FMA_Usable.
39788
51367701
RM
397892012-10-01 Roland McGrath <roland@hack.frob.com>
39790
39791 * bits/types.h (__swblk_t): Type removed.
39792 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39793 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39795 (__SWBLK_T_TYPE): Likewise.
39796 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39797 (__SWBLK_T_TYPE): Likewise.
39798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39799 (__SWBLK_T_TYPE): Likewise.
39800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39801 (__SWBLK_T_TYPE): Likewise.
39802
4d57bf63 398032012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 39804 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
39805
39806 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39807 (xdr_mapname): Use YPMAXMAP as maxsize.
39808 (xdr_peername): Use YPMAXPEER as maxsize.
39809 (xdr_keydat): Use YPAXRECORD as maxsize.
39810 (xdr_valdat): Use YPMAXRECORD as maxsize.
39811
93c65d43
RM
398122012-10-01 Roland McGrath <roland@hack.frob.com>
39813
497a03d6
RM
39814 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39815
93c65d43
RM
39816 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39817 * csu/init-first.c: ... here.
39818 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39819 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39820 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39821 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39822 * sysdeps/i386/init-first.c: File removed.
39823 * sysdeps/sh/init-first.c: File removed.
39824
bec749fd
JM
398252012-10-01 Joseph Myers <joseph@codesourcery.com>
39826
39827 [BZ #14645]
39828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39829 if x * y might underflow to zero and z is zero.
39830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39832 * math/libm-test.inc (min_subnorm_value): New variable.
39833 (fma_test): Add more tests.
39834 (fma_test_towardzero): Likewise.
39835 (fma_test_downward): Likewise
39836 (fma_test_upward): Likewise.
39837 (initialize): Set min_subnorm_value.
39838
8ec5b013
JM
398392012-09-29 Joseph Myers <joseph@codesourcery.com>
39840
39841 [BZ #14638]
39842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39843 0 + 0.
39844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39845 mode for addition resulting in exact zero.
39846 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39848 exact 0 + 0.
39849 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39850 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39851 * math/libm-test.inc (fma_test): Add more tests.
39852 (fma_test_towardzero): New function.
39853 (fma_test_downward): Likewise.
39854 (fma_test_upward): Likewise.
39855 (main): Call the new functions.
39856
b1fa802e
DM
398572012-09-28 David S. Miller <davem@davemloft.net>
39858
39859 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39860
d3b9fd9e
RM
398612012-09-28 Roland McGrath <roland@hack.frob.com>
39862
ea4d37b3
RM
39863 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39864 instead of SIGALRM.
39865
ac51c949
RM
39866 * sysdeps/gnu/_G_config.h: Moved to ...
39867 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39868 * sysdeps/mach/hurd/_G_config.h: Moved to ...
39869 * sysdeps/generic/_G_config.h: ... here.
39870
28c195f7
RM
39871 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
39872
848917f9
RM
39873 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39874
6bacf05b
RM
39875 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39876 Conditionalize target on [libnss_test1.so-version].
39877
91363dbb
RM
39878 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39879
cc87f7d8
RM
39880 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39881 (elfobjdir): Move out of conditionals.
39882
b1c608fe
RM
39883 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39884 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39885 (__nss_lookup_function): Conditionalize label remove_from_tree on
39886 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 39887
1d9a6d96
DM
398882012-09-28 David S. Miller <davem@davemloft.net>
39889
39890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39891 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39892 file.
39893 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39894 sysdep_routines.
39895 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39897 when HWCAP_SPARC_CRYPTO is present.
39898
72581615
PT
398992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39900
39901 * io/tst-mknodat.c: Create a FIFO instead of a socket.
39902
715a900c
JL
399032012-09-28 Andreas Schwab <schwab@linux-m68k.org>
39904
39905 [BZ #6530]
39906 * stdio-common/vfprintf.c (process_string_arg): Revert
39907 2000-07-22 change.
39908
399092011-09-28 Jonathan Nieder <jrnieder@gmail.com>
39910
39911 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39912 for testcase.
39913 * stdio-common/tst-sprintf.c: Include <locale.h>
39914 (main): Test sprintf's handling of incomplete multibyte
39915 characters.
39916
9bac1d86
L
399172012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39918
39919 * elf/dl-runtime.c (VERSYMIDX): Removed.
39920 * elf/dl-version.c (VERSYMIDX): Likewise.
39921 * elf/do-rel.h (VERSYMIDX): Likewise.
39922 (VALIDX): Likewise.
39923 * elf/dynamic-link.h (VERSYMIDX): Likewise.
39924 * elf/rtld.c (VALIDX): Likewise.
39925 (ADDRIDX): Likewise.
9bac1d86
L
39926 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39927 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39928 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
39929 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39930 (VALIDX): Likewise.
39931 (ADDRIDX): Likewise.
9bac1d86 39932
b31606c0
PT
399332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39934
39935 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39936
11541177
JL
399372012-09-28 Dmitry V. Levin <ldv@altlinux.org>
39938
39939 [BZ #11438]
39940 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39941 to global scope.
39942 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39943 addresses are in the same scope as 192.0.2/24.
39944 * posix/gai.conf: Document new scope table defaults.
39945
adb26fae
SP
399462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39947
39948 [BZ #5298]
39949 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39950 for ftell. Compute offsets from write pointers instead.
39951 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39952
4573c6b0
SP
399532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39954
39955 [BZ #14543]
39956 * libio/Makefile (tests): New test case tst-fseek.
39957 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39958 combination works in wide mode.
39959 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39960 state when the external buffer state changes.
39961
aa9bbfe6
DM
399622012-09-27 David S. Miller <davem@davemloft.net>
39963
39964 [BZ #14376]
39965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39966 pass reloc->r_addend in as the 'high' argument to
39967 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39968
784421e7
DM
39969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39970
c39bc8b8
PT
399712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39972
39973 * rt/tst-aio2.c: Include <pthread.h>.
39974 * rt/tst-aio3.c: Likewise.
39975
1ccc2399
SE
399762012-09-27 Steve Ellcey <sellcey@mips.com>
39977
39978 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39979
31ed4153
L
399802012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39981
25f5f885
L
39982 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39983 contents on [SHARED].
31ed4153 39984
b7bfe116
MP
399852012-09-26 Marek Polacek <polacek@redhat.com>
39986
39987 [BZ #14530]
39988 [BZ #13741]
39989 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39990 for C++ and GCC <4.3 as well as for non GCC compilers.
39991
43c4edba
MT
399922012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
39993
39994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39995
6a1bf82f
RM
399962012-09-25 Roland McGrath <roland@hack.frob.com>
39997
39998 * Makefile.in (all, install): Declare with .PHONY.
39999 Reported by Michael Hope <michael.hope@linaro.org>.
40000
8ad11b9a
TMQMF
400012012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40002
40003 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40004 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40005 system header.
40006 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40007 Likewise.
40008 (sydep_routines): Add the new and the internal functions.
40009 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40010 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40012 (GLIBC_2.17): Add the new function.
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40014 (GLIBC_2.17): Likewise.
40015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40016 (GLIBC_2.17): Likewise.
40017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40018 (GLIBC_2.17): Likewise.
40019 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40020
7e2fca8d
AM
400212012-09-25 Alan Modra <amodra@gmail.com>
40022
40023 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40024 Add release barrier before setting once_control to say
40025 initialisation is done. Add hints on lwarx. Use macro in
40026 place of isync.
40027 (clear_once_control): Add release barrier.
40028
b87c4b24
JM
400292012-09-25 Joseph Myers <joseph@codesourcery.com>
40030
d032e0d2
JM
40031 [BZ #13629]
40032 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40033 specially.
40034 * math/s_clog10.c (__clog10): Likewise.
40035 * math/s_clog10f.c (__clog10f): Likewise.
40036 * math/s_clog10l.c (__clog10l): Likewise.
40037 * math/s_clogf.c (__clogf): Likewise.
40038 * math/s_clogl.c (__clogl): Likewise.
40039 * math/Makefile (libm-calls): Add x2y2m1.
40040 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40041 (__x2y2m1): Likewise.
40042 (__x2y2m1l): Likewise.
40043 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40044 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40047 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40048 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40049 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40050 * sysdeps/i386/fpu/libm-test-ulps: Update.
40051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40052
b87c4b24
JM
40053 [BZ #14621]
40054 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40055 int as type of variable DEPTH.
40056 (glob): Use size_t instead of int as type of variables NEWCOUNT
40057 and OLD_PATHC.
40058
6d3bf199
LD
400592012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40060
22bf5c17
LD
40061 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40062 Add s_sincosf-sse2.
40063 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40064 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40065 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40066 macros for using routine as __sincosf_ia32.
40067 Use macro for function declaration and weak_alias.
40068 * sysdeps/i386/fpu/libm-test-ulps: Update.
40069
40070 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40072
40073 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
40074 subnormal argument.
40075 * math/s_cexpf.c (__cexpf): Likewise.
40076 * math/s_csinf.c (__csinf): Likewise.
40077 * math/s_csinhf.c (__csinhf): Likewise.
40078 * math/s_ctanf.c (__ctanf): Likewise.
40079 * math/s_ctanhf.c (__ctanhf): Likewise.
40080 * math/s_ccosh.c (__ccoshf): Likewise.
40081 * math/s_cexp.c (__cexpl): Likewise.
40082 * math/s_csin.c (__csin): Likewise.
40083 * math/s_csinh.c (__csinh): Likewise.
40084 * math/s_ctan.c (__ctan): Likewise.
40085 * math/s_ctanh.c (ctanh): Likewise.
40086 * math/s_ccoshl.c (__ccoshl): Likewise.
40087 * math/s_cexpl.c (__cexpl): Likewise.
40088 * math/s_csinl.c (__csinl): Likewise.
40089 * math/s_csinhl.c (__csinhl): Likewise.
40090 * math/s_ctanl.c (__ctanl): Likewise.
40091 * math/s_ctanhl.c (__ctanhl): Likewise.
40092
203e5603
JM
400932012-09-25 Joseph Myers <joseph@codesourcery.com>
40094
40095 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40096 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40097 (_IO_off_t): Define to __off_t, not _G_off_t.
40098 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40099 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40100 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40101 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40102 type of __dummy and __dummy2 fields.
40103 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40104 (_G_ssize_t): Likewise.
40105 (_G_off_t): Likewise.
40106 (_G_pid_t): Likewise.
40107 (_G_uid_t): Likewise.
40108 (_G_wchar_t): Likewise.
40109 (_G_wint_t): Likewise.
40110 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40111 (_G_ssize_t): Likewise.
40112 (_G_off_t): Likewise.
40113 (_G_pid_t): Likewise.
40114 (_G_uid_t): Likewise.
40115 (_G_wchar_t): Likewise.
40116 (_G_wint_t): Likewise.
40117 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40118 (_G_ssize_t): Likewise.
40119 (_G_off_t): Likewise.
40120 (_G_pid_t): Likewise.
40121 (_G_uid_t): Likewise.
40122 (_G_wchar_t): Likewise.
40123 (_G_wint_t): Likewise.
40124
9fab36eb
SP
401252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40126
40127 * malloc/arena.c: Include malloc-sysdep.h.
40128 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40129 is sufficient to shrink the heap or an unmap is needed.
40130 * sysdeps/generic/malloc-sysdep.h: New file. Define
40131 new function check_may_shrink_heap.
40132 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40133 new function check_may_shrink_heap.
40134
2b4f00d1
SP
401352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40136
40137 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40138 comments.
40139
9a9028b1
DL
401402012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40141
57c69bef
DL
40142 * catgets/test-gencat.sh: Add "set -e".
40143 * elf/tst-pathopt.sh: Likewise.
40144 * grp/tst_fgetgrent.sh: Likewise.
40145 * iconvdata/run-iconv-test.sh: Likewise.
40146 * intl/tst-gettext.sh: Likewise.
40147 * intl/tst-gettext2.sh: Likewise.
40148 * intl/tst-gettext4.sh: Likewise.
40149 * intl/tst-gettext6.sh: Likewise.
40150 * intl/tst-translit.sh: Likewise.
40151 * io/ftwtest-sh: Likewise.
40152 * libio/test-freopen.sh: Likewise.
40153 * malloc/tst-mtrace.sh: Likewise.
40154 * posix/globtest.sh: Likewise.
40155 * posix/tst-getconf.sh: Likewise.
40156 * posix/wordexp-tst.sh: Likewise.
40157 * stdio-common/tst-printf.sh: Likewise.
40158 * stdio-common/tst-unbputc.sh: Likewise.
40159 * stdlib/tst-fmtmsg.sh: Likewise.
40160 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40161 * catgets/Makefile: Do not specify -e option when running
40162 testsuite shell scripts.
40163 * elf/Makefile: Likewise.
40164 * grp/Makefile: Likewise.
40165 * iconvdata/Makefile: Likewise.
40166 * intl/Makefile: Likewise.
40167 * io/Makefile: Likewise.
40168 * libio/Makefile: Likewise.
40169 * malloc/Makefile: Likewise.
40170 * posix/Makefile: Likewise.
40171 * stdio-common/Makefile: Likewise.
40172 * stdlib/Makefile: Likewise.
40173 * sysdeps/x86_64/Makefile: Likewise.
40174
9a9028b1
DL
40175 * io/ftwtest-sh: Add copyright header.
40176 * posix/globtest.sh: Likewise.
40177 * posix/tst-getconf.sh: Likewise.
40178 * posix/wordexp-tst.sh: Likewise.
40179 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40180
ced6f16e
L
401812012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40182
94b32c39
L
40183 [BZ #13679]
40184 * Makeconfig (+link): Defined as $(+link-static) if
40185 $(build-shared) isn't yes.
40186 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40187 isn't yes.
40188 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40189
189e935b
L
40190 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40191
ced6f16e
L
40192 [BZ #14562]
40193 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40194 new chunk size with MALLOC_ALIGN_MASK.
40195
a9f8e53a
JM
401962012-09-24 Joseph Myers <joseph@codesourcery.com>
40197
40198 [BZ #5044]
40199 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40200 <rounding-mode.h>.
40201 (__printf_fphex): Determine rounding using get_rounding_mode and
40202 round_away.
40203 * stdio-common/tst-printf-round.c (struct hex_test): New
40204 structure.
40205 (hex_tests): New variable.
40206 (test_hex_in_one_mode): New function.
40207 (do_test): Also run tests for hex float output.
40208
43153109
JM
402092012-09-21 Joseph Myers <joseph@codesourcery.com>
40210
40211 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40212 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40213 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40214 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40215 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40216 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40217 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40218 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40219
8a26625d
JM
402202012-09-20 Joseph Myers <joseph@codesourcery.com>
40221
40222 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40223 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40224 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40225 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40226
f3fd569c
DL
402272012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40228
40229 [BZ #14579]
40230 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40231 mode only.
40232 * elf/tst-rtld-load-self.sh: New test.
40233 * elf/Makefile: Run it.
40234
63bbedd4
JM
402352012-09-18 Joseph Myers <joseph@codesourcery.com>
40236
40237 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40238 (tst-writev-ENV): Remove.
40239 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40240
626f8b6a
CM
402412012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40242
40243 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40244
b7aaa4d6
JM
402452012-09-17 Joseph Myers <joseph@codesourcery.com>
40246
40247 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40248 unconditional.
40249 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40250 Likewise.
40251 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40252 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40253 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40254 Likewise.
40255
65513990
L
402562012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40257
40258 [BZ #14587]
40259 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40260 * config.make.in (have-cpp-asm-debuginfo): Removed.
40261 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40262 * configure: Regenerated.
40263
784761be
JM
402642012-09-14 Joseph Myers <joseph@codesourcery.com>
40265
40266 [BZ #5044]
40267 * stdio-common/printf_fp.c: Include <stdbool.h> and
40268 <rounding-mode.h>.
40269 (___printf_fp): Determine rounding using get_rounding_mode and
40270 round_away.
40271 * stdio-common/tst-printf-round.c: New file.
40272 * stdio-common/Makefile (tests): Add tst-printf-round.
40273 (link-libm): New variable.
40274 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40275
9503345f
L
402762012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40277
40278 [BZ #14576]
40279 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40280 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40281 Likewise.
40282 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40283 Likewise.
40284
ad35fc00
JM
402852012-09-13 Joseph Myers <joseph@codesourcery.com>
40286
40287 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40288 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40289 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40290 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40291
6c9b0f68
JM
402922012-09-12 Joseph Myers <joseph@codesourcery.com>
40293
40294 [BZ #14518]
40295 * include/rounding-mode.h: New file.
40296 * sysdeps/generic/get-rounding-mode.h: Likewise.
40297 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40298 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40299 (MAX_VALUE): New macro.
40300 (MIN_VALUE): Likewise.
40301 (overflow_value): New function.
40302 (underflow_value): Likewise.
40303 (round_and_return): Use overflow_value and underflow_value to
40304 determine return values in overflow and underflow cases. Use
40305 round_away to determine rounding depending on rounding mode.
40306 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40307 determine return values in overflow and underflow cases.
40308 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40309 (struct test_results): New structure.
40310 (struct test): Use struct test_results to store expected results
40311 for all rounding modes.
40312 (TEST): Include expected results for all rounding modes.
40313 (test_in_one_mode): New function.
40314 (do_test): Use test_in_one_mode to compute and check results.
40315 Check results for all rounding modes.
40316 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40317 $(link-libm).
40318
19fcedd5
AM
403192012-12-09 Allan McRae <allan@archlinux.org>
40320
1e9d84cd 40321 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 40322
8bbfd2f1
JM
403232012-09-11 Joseph Myers <joseph@codesourcery.com>
40324
40325 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40326 (_G_int32_t): Likewise.
40327 (_G_uint16_t): Likewise.
40328 (_G_uint32_t): Likewise.
40329 (_G_HAVE_BOOL): Likewise.
40330 (_G_HAVE_ATEXIT): Likewise.
40331 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40332 (_G_HAVE_IO_FILE_OPEN): Likewise.
40333 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40334 (_G_int32_t): Likewise.
40335 (_G_uint16_t): Likewise.
40336 (_G_uint32_t): Likewise.
40337 (_G_HAVE_BOOL): Likewise.
40338 (_G_HAVE_ATEXIT): Likewise.
40339 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40340 (_G_HAVE_IO_FILE_OPEN): Likewise.
40341 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40342 (_G_int32_t): Likewise.
40343 (_G_uint16_t): Likewise.
40344 (_G_uint32_t): Likewise.
40345 (_G_HAVE_BOOL): Likewise.
40346 (_G_HAVE_ATEXIT): Likewise.
40347 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40348 (_G_HAVE_IO_FILE_OPEN): Likewise.
40349
b1dc5912
L
403502012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40351
40352 * csu/libc-tls.c: Update copyright years.
40353
0e886ef9
JM
403542012-09-10 Joseph Myers <joseph@codesourcery.com>
40355
28361c5e
JM
40356 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40357 [!_G_USING_THUNKS]: Remove conditional code.
40358 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40359 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40360
0e886ef9
JM
40361 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40362 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40363 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40364 (_G_VTABLE_LABEL_PREFIX): Likewise.
40365 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40366 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40367 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40368 (_G_VTABLE_LABEL_PREFIX): Likewise.
40369 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40370 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40371 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40372 (_G_VTABLE_LABEL_PREFIX): Likewise.
40373 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40374
bcba7aa2
L
403752012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40376
40377 * libio/Makefile: Include ../Makeconfig before tests.
40378 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40379 only if $(build-shared) is yes.
40380
06585ee8
L
40381 * iconv/gconv_db.c: Update copyright years.
40382
80ccd52c
LD
403832012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40384
40385 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40386 unwind info if defined PIC. Fix special cases description.
40387 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40388
40389 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40390 DP_HI_MASK entry.
40391 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40392
691bc9c1
L
403932012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40394
3d9b46b3
L
40395 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40396
de2139a9
L
40397 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40398 is NULL.
40399
5ca78dd0
L
40400 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40401 (LDLIBS-tst-chk4): This.
40402 (LDFLAGS-tst-chk5): Renamed to ...
40403 (LDLIBS-tst-chk5): This.
40404 (LDFLAGS-tst-chk6): Renamed to ...
40405 (LDLIBS-tst-chk6): This.
40406 (LDFLAGS-tst-lfschk4): Renamed to ...
40407 (LDLIBS-tst-lfschk4): This.
40408 (LDFLAGS-tst-lfschk5): Renamed to ...
40409 (LDLIBS-tst-lfschk5): This.
40410 (LDFLAGS-tst-lfschk6): Renamed to ...
40411 (LDLIBS-tst-lfschk6): This.
40412
691bc9c1
L
40413 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40414 on $(common-objpfx)soversions.mk.
40415
65cafb1c
JM
404162012-09-07 Joseph Myers <joseph@codesourcery.com>
40417
40418 [BZ #10014]
40419 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40420 example host name.
40421
c78ab094
SP
404222012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40423
40424 * malloc/arena.c (arena_get_retry): New function that gets
40425 another arena for the caller to try its request on.
40426 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40427 current arena cannot fulfill the request.
40428 (__libc_memalign): Likewise.
40429 (__libc_memalign): Likewise.
40430 (__libc_pvalloc): Likewise.
40431 (__libc_calloc): Likewise.
40432
01f49f59
JT
404332012-09-05 John Tobey <john.tobey@gmail.com>
40434
40435 [BZ #13542]
40436 * manual/arith.texi (Operations on Complex): Fix description
40437 of carg branch cut.
40438
4c23fed5
JM
404392012-09-06 Joseph Myers <joseph@codesourcery.com>
40440
1d3c8572
JM
40441 [BZ #10014]
40442 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40443 host name.
40444
4c23fed5
JM
40445 [BZ #10038]
40446 * manual/memory.texi (Memory): Make order of menu items match
40447 order of sections.
40448
04570aaa
L
404492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40450
40451 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40452 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
40453 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40454
b80af2f4
L
404552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40456
40457 * csu/libc-tls.c (static_dtv): Renamed to ...
40458 (_dl_static_dtv): This. Make it global.
40459 (_dl_initial_dtv): Removed.
40460 (__libc_setup_tls): Updated.
40461 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40462 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40463 DL_INITIAL_DTV.
40464
2abe9f15
PM
404652012-09-06 Petr Machata <pmachata@redhat.com>
40466
40467 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40468 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40469 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40470 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40471
0948c3af
L
404722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40473
40474 [BZ #14545]
40475 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40476 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40477 freeing dtv[-1].
40478
a5055ad1
L
404792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40480
40481 [BZ #14544]
40482 * Makeconfig (link-static-before-libc): Replace $(+prector)
40483 with $(+prectorT).
40484 (link-static-after-libc): Replace $(+postctor) with
40485 $(+postctorT).
40486 (link-bounded): Replace $(+prector)/$(+postctor) with
40487 $(+prectorT)/$(+postctorT).
40488 (+prectorT): New macro.
40489 (+postctorT): Likewise.
40490
ed8c2ecd
JM
404912012-09-06 Joseph Myers <joseph@codesourcery.com>
40492
40493 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40494 (round_str): Handle values above the maximum for IBM long double
40495 as inexact.
40496 * stdlib/tst-strtod-round.c (tests): Regenerated.
40497
14c996c8
AK
404982012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40499
40500 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40501 assembler flag.
40502 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40503 zarch_nohighgprs around the zarch optimized routines.
40504 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40505 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40506 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40507 for zarch.
40508
430d6ce6
DM
405092012-09-05 David S. Miller <davem@davemloft.net>
40510
40511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40512
57f41c40
AS
40513 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40514 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
40515 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40516 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40517 entries.
40518
24d4e01b
AO
405192012-09-05 Alexandre Oliva <aoliva@redhat.com>
40520
40521 * malloc/arena.c: Fold copyright years.
40522 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40523
61d58174
AO
405242012-09-05 Alexandre Oliva <aoliva@redhat.com>
40525
40526 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40527
20196a5e
AO
405282012-09-05 Alexandre Oliva <aoliva@redhat.com>
40529
40530 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40531
5c447383
AO
405322012-09-05 Alexandre Oliva <aoliva@redhat.com>
40533
40534 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40535 change internal state upon failure.
40536
fad64255
AO
405372012-09-05 Alexandre Oliva <aoliva@redhat.com>
40538
40539 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40540 * malloc/memusage.c (mmap): Likewise.
40541 (mmap64, mremap): Likewise. Adjust name in comment.
40542
1ffb8c90
SP
405432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40544
40545 * libio/fileops.c: Fix typos in comments.
40546 * libio/oldfileops.c: Likewise.
40547 * libio/wfileops.c: Likewise.
40548
6ef9cc37
SP
405492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40550
40551 [BZ #1349]
40552 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40553 (tst-malloc-usable-ENV): Set environment for test case.
40554 * malloc/hooks.c (malloc_check_get_size): New function to get
40555 requested size.
40556 * malloc/malloc.c (musable): Use malloc_check_get_size.
40557 * malloc/tst-malloc-usable.c: New test case.
40558
4d038ae3
AS
405592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40560
40561 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40562
c4e85184
AM
405632012-09-05 Allan McRae <allan@archlinux.org>
40564
b9dafc56 40565 [BZ #13966]
c4e85184
AM
40566 * configure.in (CXX_SYSINCLUDES): Use compiler output to
40567 determine header location.
40568 * configure: Regenerated.
40569
e1343020
AS
405702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40571
40572 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40573 float format.
40574 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
40575 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40576 format.
e1343020
AS
40577 (test): Regenerate.
40578
0a9f1987
DM
405792012-09-04 David S. Miller <davem@davemloft.net>
40580
40581 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40582 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40583 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40584
29237804
FW
405852012-09-04 Florian Weimer <fweimer@redhat.com>
40586
40587 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40588 failures.
40589
edb3cb88
FW
40590 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40591
60160d83
JM
405922012-09-04 Joseph Myers <joseph@codesourcery.com>
40593
40594 [BZ #9914]
40595 * libio/iogetdelim.c: Include <limits.h>.
40596 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40597 + len + 1 would overflow.
40598
bcd6c8dc
AJ
405992012-09-03 Andreas Jaeger <aj@suse.de>
40600
40601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40602 * sysdeps/i386/fpu/libm-test-ulps: Update.
40603
4ffffbd2
LD
406042012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40605
40606 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40607 Add s_sinf-sse2, s_conf-sse2.
40608
40609 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40610 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40611 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40612 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40613
40614 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40615 for using routine as __sinf_ia32.
40616 Use macro for function declaration and weak_alias.
40617 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40618 for using routine as __cosf_ia32.
40619 Use macro for function declaration and weak_alias.
40620
40621 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40622 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40623
40624 * sysdeps/x86_64/fpu/s_sinf.S: New file.
40625 * sysdeps/x86_64/fpu/s_cosf.S: New file.
40626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40627
40628 * math/libm-test.inc (cos_test): Add more test cases.
40629 (sin_test): Likewise.
40630 (sincos_test): Likewise.
40631
511fa286
AK
406322012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40633
40634 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40635 (IFUNC_RESOLVE): Make pointers to the specialized implementations
40636 hidden.
40637 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40638
5f30cfec
L
406392012-09-02 H.J. Lu <hongjiu.lu@intel.com>
40640
40641 [BZ #14538]
40642 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40643 first element of the GOT.
40644 (elf_machine_load_address): Return the difference between
40645 the runtime address of _DYNAMIC and elf_machine_dynamic ().
40646
0786794f
AM
406472012-09-01 Allan McRae <allan@archlinux.org>
40648
5f30cfec
L
40649 [BZ #13412]
40650 * configure.in (AWK): Require gawk version 3.0 or later.
40651 * configure: Regenerated.
0786794f 40652
26889eac
JM
406532012-09-01 Joseph Myers <joseph@codesourcery.com>
40654
40655 * sysdeps/unix/sysv/linux/kernel-features.h
40656 (__ASSUME_POSIX_CPU_TIMERS): Remove.
40657 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40658 [__NR_clock_getres]: Make code unconditional.
40659 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40660 (clock_getcpuclockid): Remove code left unreachable by removal of
40661 conditionals.
40662 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40663 code unconditional.
40664 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40665 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40666 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40667 Make code unconditional.
40668 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40669 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40670 * sysdeps/unix/sysv/linux/clock_settime.c
40671 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40672 conditional code.
40673 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40674 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40675
d22e28b0
L
406762012-08-29 H.J. Lu <hongjiu.lu@intel.com>
40677
40678 [BZ #14476]
40679 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40680 scripts/test-installation.pl.
40681
40682 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40683 and $ld_so_version if it is set.
40684
050af9c4
SP
406852012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40686
40687 [BZ #14516]
40688 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40689 failure if reading from procfs failed.
40690 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40691
ad845c0b
JM
406922012-08-27 Joseph Myers <joseph@codesourcery.com>
40693
40694 * sysdeps/unix/sysv/linux/kernel-features.h
40695 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40696 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40697 Remove conditional code.
40698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40699 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40700 Remove conditional code.
40701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40702 * sysdeps/unix/sysv/linux/i386/fxstat.c
40703 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40705 * sysdeps/unix/sysv/linux/i386/fxstatat.c
40706 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40708 * sysdeps/unix/sysv/linux/i386/lxstat.c
40709 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40711 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40712 Remove conditional code.
40713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40714 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40715 Remove conditional code.
40716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40717 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40718 <kernel-features.h>.
40719 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40720 Remove.
40721 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40722 Remove conditional code.
40723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40724 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40725 Remove conditional.
40726
5dbf56af
MF
407272012-08-27 Mike Frysinger <vapier@gentoo.org>
40728
40729 [BZ #5400]
40730 * NEWS: Add fixed bug number.
40731
d6e70f43
JM
407322012-08-27 Joseph Myers <joseph@codesourcery.com>
40733
7efb4737
JM
40734 [BZ #14519]
40735 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40736 underflowing exponent in case of negative sign.
40737 * stdlib/tst-strtod-round-data: Add more tests.
40738 * stdlib/tst-strtod-round.c (tests): Regenerated.
40739
af92131a
JM
40740 [BZ #3479]
40741 * stdlib/strtod_l.c (NDIG): Remove.
40742 (HEXNDIG): Likewise.
40743 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40744 smallest representable value.
40745 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40746 lie within an exact representation of 1/2 ulp of the result.
40747 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40748 unconditionally.
40749 (TENS_P9_IDX): Define unconditionally.
40750 (TENS_P9_SIZE): Likewise.
40751 (TENS_P10_IDX): Likewise.
40752 (TENS_P10_SIZE): Likewise.
40753 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40754 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40755 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40756 entries for 10^2^13 and 10^2^14.
40757 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40758 (TENS_P13_IDX): Define.
40759 (TENS_P13_SIZE): Likewise.
40760 (TENS_P14_IDX): Likewise.
40761 (TENS_P14_SIZE): Likewise.
40762 (_fpioconst_pow10): Change array size to
40763 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
40764 unconditional.
40765 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40766 1024]: Add entries for 10^2^13 and 10^2^14.
40767 [LAST_POW10 > _LAST_POW10]: Remove #error.
40768 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40769 (_fpioconst_pow10): Change array size to
40770 FPIOCONST_POW10_ARRAY_SIZE.
40771 * stdlib/gen-fpioconst.c: New file.
40772 * stdlib/gen-tst-strtod-round.c: Likewise.
40773 * stdlib/tst-strtod-round-data: Likewise.
40774 * stdlib/tst-strtod-round.c: Likewise.
40775 * stdlib/Makefile (tests): Add tst-strtod-round.
40776
d6e70f43
JM
40777 [BZ #14459]
40778 * stdlib/strtod_l.c: Include <stdint.h>.
40779 (NDEBUG): Do not define.
40780 (round_and_return): Change EXPONENT parameter to type intmax_t.
40781 Rearrange calculations to avoid internal overflow possibilities.
40782 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40783 Rearrange calculations to avoid internal overflow possibilities.
40784 Assert that number fits inside MPNSIZE limbs.
40785 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40786 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
40787 calculations and add assertions to avoid internal overflow
40788 possibilities. Add casts to avoid signed/unsigned operations.
40789 * stdlib/tst-strtod-overflow.c: New file.
40790 * stdlib/Makefile (tests): Add tst-strtod-overflow.
40791
1f529f7d
MP
407922012-08-25 Marek Polacek <polacek@redhat.com>
40793
40794 * time/time.h: Fix some typos in comments.
40795
59a629f1
RM
407962012-08-23 Roland McGrath <roland@hack.frob.com>
40797
40798 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40799 * posix/tst-rfc3484-2.c: Likewise.
40800 * posix/tst-rfc3484-3.c: Likewise.
40801
d3bafbc9
SM
408022012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
40803
40804 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40805 (EF_ARM_ABI_FLOAT_HARD): Likewise.
40806
4efcc022
JM
408072012-08-23 Joseph Myers <joseph@codesourcery.com>
40808
40809 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40810 #include of fxstatat64.c.
40811
3cc3ef96
RM
408122012-08-22 Roland McGrath <roland@hack.frob.com>
40813
f04e2132
RM
40814 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40815 * shadow/getspent_r.c: Likewise.
40816 * shadow/getspnam.c: Likewise.
40817 * shadow/getspnam_r.c: Likewise.
40818 * gshadow/getsgent.c: Likewise.
40819 * gshadow/getsgent_r.c: Likewise.
40820 * gshadow/getsgnam.c: Likewise.
40821 * gshadow/getsgnam_r.c: Likewise.
40822 * inet/getnetbyad.c: Likewise.
40823 * inet/getnetbyad_r.c: Likewise.
40824 * inet/getnetbynm.c: Likewise.
40825 * inet/getnetbynm_r.c: Likewise.
40826 * inet/getnetent.c: Likewise.
40827 * inet/getnetent_r.c: Likewise.
40828 * inet/getproto.c: Likewise.
40829 * inet/getproto_r.c: Likewise.
40830 * inet/getprtent.c: Likewise.
40831 * inet/getprtent_r.c: Likewise.
40832 * inet/getprtname.c: Likewise.
40833 * inet/getprtname_r.c: Likewise.
40834 * inet/getrpcbyname.c: Likewise.
40835 * inet/getrpcbyname_r.c: Likewise.
40836 * inet/getrpcbynumber.c: Likewise.
40837 * inet/getrpcbynumber_r.c: Likewise.
40838 * inet/getrpcent.c: Likewise.
40839 * inet/getrpcent_r.c: Likewise.
40840 * inet/getaliasent.c: Likewise.
40841 * inet/getaliasent_r.c: Likewise.
40842 * inet/getaliasname.c: Likewise.
40843 * inet/getaliasname_r.c: Likewise.
40844 * nscd/getgrgid_r.c: Likewise.
40845 * nscd/getgrnam_r.c: Likewise.
40846 * nscd/gethstbyad_r.c: Likewise.
40847 * nscd/gethstbynm3_r.c: Likewise.
40848 * nscd/getpwnam_r.c: Likewise.
40849 * nscd/getpwuid_r.c: Likewise.
40850 * nscd/getsrvbynm_r.c: Likewise.
40851 * nscd/getsrvbypt_r.c: Likewise.
40852 * nscd/gai.c: Likewise.
40853
c53d909c
RM
40854 * configure.in (build_nscd): New substituted variable, set
40855 by --disable-build-nscd and defaults to $use_nscd.
40856 * configure: Regenerated.
40857 * config.make.in (build-nscd): New substituted variable.
40858 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40859 Change conditional to require [$(build-nscd) = yes] as well.
40860 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40861
3cc3ef96
RM
40862 [BZ# 13696]
40863 * configure.in (use_nscd): New substituted variable, set by
40864 --disable-nscd. If enabled, define USE_NSCD.
40865 * configure: Regenerated.
40866 * config.h.in: Add USE_NSCD.
40867 * config.make.in (use-nscd): New substituted variable.
40868 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40869 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40870 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40871 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40872 (CFLAGS-getgrnam_r.c): Likewise.
40873 (CFLAGS-initgroups.c): Likewise.
40874 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40875 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40876 Variables removed.
40877 * inet/getnetgrent_r.c
40878 (nscd_setnetgrent): New function, broken out of ...
40879 (setnetgrent): ... here. Call it.
40880 (innetgr): Conditionalize nscd bits on [USE_NSCD].
40881 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40882 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40883 * nscd/Makefile (routines, aux): Move definitions after include of
40884 Makeconfig. Conditionalize on [$(use-nscd) != no].
40885 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40886 Conditionalize on [USE_NSCD].
40887 (is_nscd, nscd_init_cb): Likewise.
40888 (nss_load_library): Conditionalize init callback on [USE_NSCD].
40889 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40890 * nss/nss_db/db-init.c: Likewise.
40891 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40892 [USE_NSCD].
40893 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40894 (make_request): Use it.
40895 (cache_valid_p): New function.
40896 (__check_pf): Use it.
40897 * NEWS: Add item for --disable-nscd.
40898
07e51550
DL
408992012-08-22 Dmitry V. Levin <ldv@altlinux.org>
40900
40901 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40902 to support sed >= 4.2.1-20-ga9bf076.
40903 * configure: Regenerated.
40904
35a5b08b
RM
409052012-08-22 Roland McGrath <roland@hack.frob.com>
40906
40907 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40908 Conditionalize whole body on [IREL].
40909
8479f23a
JL
409102012-08-22 Jeff Law <law@redhat.com>
40911
40912 [BZ #14505]
40913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40914 if the family is PF_UNSPEC.
40915
48da0b21
MF
409162012-08-22 Mike Frysinger <vapier@gentoo.org>
40917
40918 * Makerules (lib-version): Rename from V.
40919 (install-lib-nosubdir): Change V to lib-version.
40920
15d0da8c
WS
409212012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
40922
40923 [BZ #14252]
40924 * powerpc32/power6/wcschr.c: New file.
40925 * powerpc32/power6/wcscpy.c: New file.
40926 * powerpc32/power6/wcsrchr.c: New file.
40927 * powerpc64/power6/wcschr.c: New file.
40928 * powerpc64/power6/wcscpy.c: New file.
40929 * powerpc64/power6/wcsrchr.c: New file.
40930
bcca0895
MK
409312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40932
40933 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40934 (two_way_short_needle): Use it.
5a4aaa33
RM
40935 * string/strstr.c (AVAILABLE1_USES_J): Define.
40936 * string/strcasestr.c: Likewise.
99677e57
MK
40937
40938 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40939 array references.
40940 * string/strcasestr.c (TOLOWER): Make side-effect safe.
40941
400726de
MK
40942 [BZ #11607]
40943 * NEWS: Add an entry.
40944 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40945 define their defaults.
40946 (two_way_short_needle): Detect end-of-string on-the-fly.
40947 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40948 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40949 * string/bug-strcasestr1.c: New test.
40950 * string/Makefile: Run it.
40951
20a71f2c
MK
409522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40953
40954 [BZ #11607]
40955 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40956 the first character.
40957
21ad0558
RM
409582012-08-21 Roland McGrath <roland@hack.frob.com>
40959
40960 * csu/elf-init.c (__libc_csu_irel): Function removed.
40961 * csu/libc-start.c (apply_irel): New function.
40962 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40963
0e1d9911
JM
409642012-08-21 Joseph Myers <joseph@codesourcery.com>
40965
40966 * sysdeps/unix/sysv/linux/kernel-features.h
40967 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40968 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40969 <kernel-features.h>.
40970 [__NR_fadvise64_64]: Make code unconditional.
40971 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40972 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40973 !__NR_fadvise64_64)]: Likewise.
40974 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40975 !__NR_fadvise64_64))]: Likewise.
40976 [__NR_fadvise64]: Make code unconditional.
40977 [!__NR_fadvise64]: Remove conditional code.
40978 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40979 <kernel-features.h>.
40980 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40981 unconditional.
40982 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40983 conditional code.
40984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40985 not include <kernel-features.h>.
40986 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40987 unconditional.
40988 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40989 conditional code.
40990 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40991 include <kernel-features.h>.
40992 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40993 unconditional.
40994 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40995 conditional code.
40996
14a50c9d
WS
409972012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40998
40999 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41000 slight instruction rearrangements per scrollpipe analysis.
41001 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41002
c0f4faf0
RM
410032012-08-20 Roland McGrath <roland@hack.frob.com>
41004
696da859
RM
41005 * manual/syslog.texi (syslog; vsyslog, closelog):
41006 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41007 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41008
c0f4faf0
RM
41009 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41010 DSOCAPS to match condition on defining it.
41011
348363b2
JM
410122012-08-20 Joseph Myers <joseph@codesourcery.com>
41013
a35cbf28
JM
41014 * sysdeps/unix/sysv/linux/kernel-features.h
41015 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41017 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41018 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41020 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41021 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41023 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41024 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41025
445f7ecd
JM
41026 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41027 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41028
348363b2
JM
41029 * sysdeps/unix/sysv/linux/kernel-features.h
41030 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41031 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41032 unconditional.
41033 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41034 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41035 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41036 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41037 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41038 Make code unconditional.
41039 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41040 (__mmap64) [!__NR_mmap2]: Likewise.
41041 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41042 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41043 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41044 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41045 [__NR_mmap2]: Make code unconditional.
41046 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41047 (__mmap64) [!__NR_mmap2]: Likewise.
41048
bc5bc0e5
AK
410492012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41050
41051 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41052
88d506de
AJ
410532012-08-18 Andreas Jaeger <aj@suse.de>
41054
41055 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41056
493387d2
MF
410572012-08-18 Mike Frysinger <vapier@gentoo.org>
41058
41059 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41060 * include/unistd.h (__have_sock_cloexec): Likewise.
41061 (__have_pipe2): Likewise.
41062 (__have_dup3): Likewise.
41063
a277af22
MF
410642012-08-18 Mike Frysinger <vapier@gentoo.org>
41065
41066 [BZ #9685]
41067 * include/unistd.h (__have_pipe2): Change define into an extern int.
41068 (__have_dup3): Likewise.
41069 * socket/have_sock_cloexec.c: Include fcntl.h.
41070 (__have_pipe2): New variable.
41071 (__have_dup3): Likewise.
41072
fdab8fd3
MF
410732012-08-17 Mike Frysinger <vapier@gentoo.org>
41074
41075 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41076
31035e80
MP
410772012-08-17 Marek Polacek <polacek@redhat.com>
41078
41079 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41080 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41081
3bd9e993
RM
410822012-08-17 Roland McGrath <roland@hack.frob.com>
41083
c91c505f
RM
41084 * configure.in: Add AC_SUBST for sysheaders.
41085 * configure: Regenerated.
41086 * config.make.in (sysheaders): New substituted variable.
41087
7c6f9d53
RM
41088 * sysdeps/unix/mkfifo.c: Moved ...
41089 * sysdeps/posix/mkfifo.c: ... here.
41090 * sysdeps/unix/mkfifoat.c: Moved ...
41091 * sysdeps/posix/mkfifoat.c: ... here.
41092
41093 * sysdeps/unix/utime.c: Moved ...
41094 * sysdeps/posix/utime.c: ... here.
41095
41096 * sysdeps/unix/time.c: Moved ...
41097 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
41098 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41099 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
41100
41101 * sysdeps/unix/nice.c: Moved ...
41102 * sysdeps/posix/nice.c: ... here.
41103
41104 * sysdeps/unix/alarm.c: Moved ...
41105 * sysdeps/posix/alarm.c: ... here.
41106
3bd9e993
RM
41107 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41108
d1f09384
JL
411092012-08-17 Jeff Law <law@redhat.com>
41110
41111 * intl/Makefile (codeset_mo): New variable.
41112 ($(codeset_mo)): New target.
41113 (tst-codeset.out): Depend on that. Remove explicit rule.
41114 (tst-gettext3.out, tst-gettext5.out): Likewise.
41115 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41116 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41117 * intl/tst-codeset.sh: Remove.
41118 * intl/tst-gettext3.sh: Likewise.
41119 * intl/tst-gettext5.sh: Likewise.
41120
2ae1ae5c
RM
411212012-08-17 Roland McGrath <roland@hack.frob.com>
41122
c31fdb83
RM
41123 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41124 * sysdeps/unix/syscalls.list: ... here.
41125
a0844057
RM
41126 * sysdeps/posix/getaddrinfo.c
41127 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41128 (gaiconf_init, gaiconf_reload): Use them.
41129 [!_STATBUF_ST_NSEC]
41130 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41131 Define using time_t rather than struct timespec.
41132
750c1f2a
RM
41133 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41134 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41135 Macros removed.
41136 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41137 [!NO_THREADS].
41138 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41139 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41140 Likewise.
41141
2ae1ae5c
RM
41142 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41143 __libc_cleanup_push argument.
41144
e66a42f5
RM
41145 * bits/param.h: New file.
41146 * misc/sys/param.h: New file.
41147 * include/sys/param.h: New file.
41148 * misc/Makefile (headers): Add bits/param.h.
41149 * sysdeps/generic/sys/param.h: File removed.
41150 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41151 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41152 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 41153 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 41154
b7c08a66
RM
41155 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41156 last change.
41157
b2e1c562
RM
41158 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41159 [_IO_MTSAFE_IO].
41160 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41161 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41162 New macros.
41163
c75ccd4c
RM
41164 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41165 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41166 rather than -D_IO_MTSAFE_IO conditionally.
41167 * stdio-common/Makefile (CPPFLAGS): Likewise.
41168 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41169 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41170 Use $(libio-mtsafe).
41171 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41172 of -D_IO_MTSAFE_IO.
41173 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41174 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41175 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41176 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41177 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41178 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41179 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41180 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41181 (CFLAGS-fread_u_chk.c): Likewise.
41182 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41183 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41184 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41185 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41186 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41187 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41188 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41189 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41190 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41191
41192 * libio/Makefile: Test [$(libc-reentrant) = yes]
41193 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41194
41195 * Makeconfig
41196 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41197 * sysdeps/pthread/configure: File removed.
41198 * sysdeps/pthread/Makeconfig: New file.
41199 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41200 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41201
d9195db8
GB
412022012-08-16 Gary Benson <gbenson@redhat.com>
41203
41204 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41205 unmapping the first object in a namespace.
41206
86466cd9
RM
412072012-08-16 Roland McGrath <roland@hack.frob.com>
41208
41209 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41210 (__internal_setnetgrent): ... this. Add internal_function to
41211 definition. Add libc_hidden_def.
41212 (setnetgrent): Update caller.
41213 (internal_endnetgrent): Renamed to ...
41214 (__internal_endnetgrent): ... this. Add internal_function to
41215 definition. Add libc_hidden_def.
41216 (endnetgrent): Update caller.
41217 (internal_getnetgrent_r): Renamed to ...
41218 (__internal_getnetgrent_r): ... this. Add internal_function to
41219 definition. Add libc_hidden_def.
41220 (__getnetgrent_r): Update caller.
41221 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41222
c3c8283c
JM
412232012-08-16 Joseph Myers <joseph@codesourcery.com>
41224
41225 * stdlib/longlong.h: Update from GCC.
41226
db1ee0a8
RM
412272012-08-16 Roland McGrath <roland@hack.frob.com>
41228
41229 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41230 on _QL, which is set by umul_ppmm but never used.
41231 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41232 variables, which are set by GMP macros but never used.
41233 * stdio-common/_itowa.c (_itowa): Likewise.
41234 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41235 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41236
30f69637
CD
412372012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41238
41239 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41240 struct La_sh_regs is not constant.
41241 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41242 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41243 and struct La_sparc64_regs are not constant.
41244
93a78ac4
JM
412452012-08-16 Joseph Myers <joseph@codesourcery.com>
41246
41247 * sysdeps/unix/sysv/linux/kernel-features.h
41248 (__ASSUME_POSIX_TIMERS): Remove.
41249 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41250 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41251 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41252 Make code unconditional.
41253 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41254 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41255 Make code unconditional.
41256 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41257 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41258 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41259 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41260 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41261 Make code unconditional.
41262 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41263 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41264 (__libc_missing_posix_timers): Remove.
41265
dd924cd7
RM
412662012-08-15 Roland McGrath <roland@hack.frob.com>
41267
4b4f2771
RM
41268 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41269 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41270
601c888b
RM
41271 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41272
176790a7
RM
41273 * elf/dl-sym.c: Include <stdlib.h>.
41274
329bc018
RM
41275 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41276 constants, which avoids warnings in 32-bit builds.
41277
e04e272d
RM
41278 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41279 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41280
952bf94a
RM
41281 * misc/lseek.c: File moved to ...
41282 * io/lseek.c: ... here.
41283
7c99b50a
RM
41284 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41285
dd924cd7
RM
41286 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41287 shifting LEN more than 31 bits at once.
41288
b3f479a8
LD
412892012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41290
41291 [BZ #14195]
8c4ae0d4
RM
41292 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41293 segmentation fault for a case of two empty input strings.
b3f479a8
LD
41294 * string/test-strncasecmp.c (check1): Renamed to...
41295 (bz12205): ...this.
41296 (bz14195): Add new testcase for two empty input strings and N > 0.
41297 (test_main): Call new testcase, adapt for renamed function.
41298
9c55864e
AJ
412992012-08-15 Andreas Jaeger <aj@suse.de>
41300
41301 [BZ #14090]
41302 * crypt/md5test2.c: New test, based on test supplied by Serge
41303 Belyshev <belyshev@depni.sinp.msu.ru>.
41304 * crypt/Makefile (xtests): Add md5test-giant..
41305 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41306
02dcb6c5
PE
413072012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41308
41309 [BZ #14090]
41310 * crypt/md5.c (md5_process_block): Don't assume the buffer
41311 length is less than 2**32.
41312 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41313 length is less than 2**64.
41314
a3f95dcc
RM
413152012-08-15 Roland McGrath <roland@hack.frob.com>
41316
be75d758
RM
41317 * string/str-two-way.h: Include <sys/param.h>.
41318 (MAX): Macro removed.
41319
7312ca90
RM
41320 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41321 Move #define and #undef of memmove to just before and after
41322 including <string.h>.
41323
9a0a5486
RM
41324 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41325 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41326 and after including <string.h>. Move declarations of
41327 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41328 to before #include "string/memmove.c".
41329
67cc348d
RM
41330 * include/dirent.h: Declare __getdirentries.
41331
a3f95dcc
RM
41332 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41333 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41334
ca98e171
MF
413352012-08-14 Mike Frysinger <vapier@gentoo.org>
41336
41337 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41338 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41339 * sysdeps/i386/configure: Regenerated.
41340 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41341 STABS_CURRENT_FILE, and STABS_FUN.
41342 (END): Remove call to STABS_FUN_END.
41343 (STABS_CURRENT_FILE1): Delete.
41344 (STABS_CURRENT_FILE): Likewise.
41345 (STABS_FUN): Likewise.
41346 (STABS_FUN_END): Likewise.
41347 (STABS_FUN2): Likewise.
41348 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41349 * sysdeps/x86_64/configure: Regenerated.
41350
5908bf46
RM
413512012-08-14 Roland McGrath <roland@hack.frob.com>
41352
41353 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 41354 * elf/dl-lookup.c: Likewise.
5908bf46 41355
f2c05b9e
JM
413562012-08-14 Joseph Myers <joseph@codesourcery.com>
41357
41358 * sysdeps/unix/sysv/linux/kernel-features.h
41359 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41360 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41361 unconditionally.
41362 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41363 unconditionally.
41364 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41365 condition on __ASSUME_CLONE_THREAD_FLAGS.
41366
e11f5155
AJ
413672012-08-14 Andreas Jaeger <aj@suse.de>
41368
41369 * sysdeps/i386/fpu/libm-test-ulps: Update.
41370
51a9ba86
MK
413712012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41372
2fdd4f78
AJ
41373 * include/atomic.h (atomic_exchange_and_add): Split into ...
41374 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41375 New atomic macros.
51a9ba86 41376
ba6cba9e
MT
413772012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41378
41379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41380
42443a47
JL
413812012-08-13 Jeff Law <law@redhat.com>
41382
41383 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41384 null byte in the output string.
41385
121dce05
JM
413862012-08-10 Joseph Myers <joseph@codesourcery.com>
41387
41388 * sysdeps/unix/sysv/linux/kernel-features.h
41389 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41390 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41391 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41392 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41393 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41394 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41395 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41396
bf51f568
JL
413972012-08-09 Jeff Law <law@redhat.com>
41398
41399 [BZ #13939]
41400 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41401 When avoid_arena is set, don't retry in the that arena. Pick the
41402 next one, whatever it might be.
41403 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41404 (arena_lock): Pass in new parameter to arena_get2.
41405 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41406 arena_get2.
41407 (__libc_malloc): Unify retrying after main arena failure with
41408 __libc_memalign version.
41409 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41410
f85fa270
L
414112012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41412
41413 [BZ #14166]
41414 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41415 to __redirect_strstr.
41416 (__strstr_sse42): Use typeof __redirect_strstr.
41417 (__strstr_ia32): Likewise.
41418 (__libc_strstr): New prototype.
41419 (strstr): Renamed to ...
41420 (__libc_strstr): This.
41421 (strstr): New strong alias of __libc_strstr.
41422 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41423 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41424 __redirect_time.
41425 Include <time.h>.
41426 (__libc_time): New prototype.
41427 (time_ifunc): Replace time with __libc_time.
41428 (time): New strong alias and hidden definition of __libc_time.
41429 (__GI_time): Remove strong alias.
41430 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41431 Include <stddef.h>.
41432 (memmove): Redefined to __redirect_memmove.
41433 (__memmove_sse2): Use typeof __redirect_memmove.
41434 (__memmove_ssse3): Likewise.
41435 (__memmove_ssse3_back): Likewise.
41436 (__libc_memmove): New prototype.
41437 (memmove): Renamed to ...
41438 (__libc_memmove): This.
41439 (memmove): New strong alias of __libc_memmove.
41440
33b4a91e
MS
414412012-08-08 Mark Salter <msalter@redhat.com>
41442
41443 * elf/elf.h
41444 (R_MN10300_TLS_GD): Define.
41445 (R_MN10300_TLS_LD): Likewise.
41446 (R_MN10300_TLS_LDO): Likewise.
41447 (R_MN10300_TLS_GOTIE): Likewise.
41448 (R_MN10300_TLS_IE): Likewise.
41449 (R_MN10300_TLS_LE): Likewise.
41450 (R_MN10300_TLS_DTPMOD): Likewise.
41451 (R_MN10300_TLS_DTPOFF): Likewise.
41452 (R_MN10300_TLS_TPOFF): Likewise.
41453 (R_MN10300_SYM_DIFF): Likewise.
41454 (R_MN10300_ALIGN): Likewise.
41455 (R_MN10300_NUM): Update.
41456
b36137f1
JM
414572012-08-08 Joseph Myers <joseph@codesourcery.com>
41458
41459 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41460 Remove.
41461
cdd915fd
RM
414622012-08-08 Roland McGrath <roland@hack.frob.com>
41463
a2433aac
RM
41464 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41465
cdd915fd
RM
41466 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41467 sysdeps/unix -> sysdeps/posix move.
41468 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41469
bf9b740a
AM
414702012-08-07 Allan McRae <allan@archlinux.org>
41471
41472 [BZ #14303]
41473 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41474 (SUNOS_CPP): Likewise.
41475 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41476 not found.
41477 (open_input): Call CPP using execvp.
41478
93df14ee
JM
414792012-08-07 Joseph Myers <joseph@codesourcery.com>
41480
41481 * sysdeps/unix/sysv/linux/kernel-features.h
41482 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41483 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41484 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41485 (__ASSUME_WAITID_SYSCALL): Likewise.
41486 * sysdeps/unix/sysv/linux/dl-execstack.c
41487 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41488 code unconditional.
41489 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41490 conditional code.
41491 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41492 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41493 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41494 code.
41495 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41496 unconditional.
41497 [__ASSUME_WAITID_SYSCALL]: Likewise.
41498 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41499
d34689de
RM
415002012-08-07 Roland McGrath <roland@hack.frob.com>
41501
a281decc
RM
41502 * sysdeps/unix/closedir.c: Renamed to ...
41503 * sysdeps/posix/closedir.c: ... here.
41504 * sysdeps/unix/dirfd.c: Renamed to ...
41505 * sysdeps/posix/dirfd.c: ... here.
41506 * sysdeps/unix/dirstream.h: Renamed to ...
41507 * sysdeps/posix/dirstream.h: ... here.
41508 * sysdeps/unix/fdopendir.c: Renamed to ...
41509 * sysdeps/posix/fdopendir.c: ... here.
41510 * sysdeps/unix/opendir.c: Renamed to ...
41511 * sysdeps/posix/opendir.c: ... here.
41512 * sysdeps/unix/readdir.c: Renamed to ...
41513 * sysdeps/posix/readdir.c: ... here.
41514 * sysdeps/unix/readdir_r.c: Renamed to ...
41515 * sysdeps/posix/readdir_r.c: ... here.
41516 * sysdeps/unix/rewinddir.c: Renamed to ...
41517 * sysdeps/posix/rewinddir.c: ... here.
41518 * sysdeps/unix/seekdir.c: Renamed to ...
41519 * sysdeps/posix/seekdir.c: ... here.
41520 * sysdeps/unix/telldir.c: Renamed to ...
41521 * sysdeps/posix/telldir.c: ... here.
41522 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41523 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41524 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41525 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41526
22895b47
RM
41527 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41528 * bits/fcntl.h: ... here.
41529
707a53b6
RM
41530 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41531 not 0.
41532 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41533 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41534 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41535 (struct flock): Move l_start, l_len to the beginning.
41536 Use __pid_t for l_pid.
41537 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41538 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41539 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41540 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41541 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41542 [__USE_LARGEFILE64] (struct flock64): New type.
41543 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41544
f0bd3e25
RM
41545 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41546 * bits/dirent.h: ... here.
41547
d34689de
RM
41548 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41549 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41550
6dad2c06
JM
415512012-08-07 Joseph Myers <joseph@codesourcery.com>
41552
41553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41554 Change from 2.6.0 to 2.6.16.
41555 * sysdeps/unix/sysv/linux/configure: Regenerated.
41556 * sysdeps/unix/sysv/linux/kernel-features.h
41557 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41558 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41559 version.
41560 (__ASSUME_UTIMES): Likewise.
41561 (__ASSUME_CLONE_STOPPED): Remove.
41562 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41563 architectures, not kernel version.
41564 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41565 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41566 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41567 (__ASSUME_WAITID_SYSCALL): Likewise.
41568 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41569 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41570 * README: State 2.6.16 as minimum Linux kernel version. Do not
41571 refer to older versions.
41572
03af9520
RM
415732012-08-06 Roland McGrath <roland@hack.frob.com>
41574
8e49df1d
RM
41575 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41576 Define alphasort64 as an alias.
41577 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41578 Define versionsort64 as an alias.
41579 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41580 Define scandir64 as an alias.
41581 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41582 Define scandirat64 as an alias.
41583 * dirent/alphasort64.c (alphasort64):
41584 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41585 * dirent/versionsort64.c: Likewise.
41586 * dirent/scandir64.c: Likewise.
41587 * dirent/scandirat64.c: Likewise.
41588 * sysdeps/wordsize-64/alphasort.c: File removed.
41589 * sysdeps/wordsize-64/alphasort64.c: File removed.
41590 * sysdeps/wordsize-64/scandir.c: File removed.
41591 * sysdeps/wordsize-64/scandir64.c: File removed.
41592 * sysdeps/wordsize-64/scandirat.c: File removed.
41593 * sysdeps/wordsize-64/scandirat64.c: File removed.
41594 * sysdeps/wordsize-64/versionsort.c: File removed.
41595 * sysdeps/wordsize-64/versionsort64.c: File removed.
41596 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41597 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41598 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41599 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41600 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41601 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41602 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41603 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41604
41605 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41607 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41609 [defined __arch64__ || defined __sparcv9]
41610 (__INO_T_MATCHES_INO64_T): New macro.
41611 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41612 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41613 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41614 * sysdeps/unix/sysv/linux/bits/dirent.h
41615 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41616 (_DIRENT_MATCHES_DIRENT64): New macro.
41617
03af9520
RM
41618 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41619 Define lockf64 as an alias.
41620 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41621 Define fseeko64 as an alias.
41622 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41623 Define ftello64 as an alias.
41624 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41625 Define _IO_fgetpos64 and fgetpos64 as aliases.
41626 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41627 Define _IO_fsetpos64 and fsetpos64 as aliases.
41628 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41629 Conditionalize body on this.
41630 * libio/fseeko64.c: Likewise.
41631 * libio/ftello64.c: Likewise.
41632 * libio/iofgetpos64.c: Likewise.
41633 * libio/iofsetpos64.c: Likewise.
41634 * sysdeps/wordsize-64/lockf.c: File removed.
41635 * sysdeps/wordsize-64/lockf64.c: File removed.
41636 * sysdeps/wordsize-64/fseeko.c: File removed.
41637 * sysdeps/wordsize-64/fseeko64.c: File removed.
41638 * sysdeps/wordsize-64/ftello.c: File removed.
41639 * sysdeps/wordsize-64/ftello64.c: File removed.
41640 * sysdeps/wordsize-64/iofgetpos.c: File removed.
41641 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41642 * sysdeps/wordsize-64/iofsetpos.c: File removed.
41643 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41644 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41645 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41646 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41647 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41648 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41649 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41650 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41651 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41652 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41653 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41654
41655 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41657 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41658 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41659 [defined __arch64__ || defined __sparcv9]
41660 (__OFF_T_MATCHES_OFF64_T): New macro.
41661 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41662 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41664 (__OFF_T_MATCHES_OFF64_T): New macro.
41665
c5757acd
L
416662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41667
41668 * stdlib/secure-getenv.c (__secure_getenv): Replace
41669 GLIBC_2_16 with GLIBC_2_17.
41670
3a31811e
L
416712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41672
41673 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41674 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41675
faa2bccb
DM
416762012-08-03 David S. Miller <davem@davemloft.net>
41677
41678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41679
85fe1997
JM
416802012-08-03 Joseph Myers <joseph@codesourcery.com>
41681
41682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41683 Remove.
41684 (__ASSUME_CORRECT_SI_PID): Likewise.
41685 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41686 (__ASSUME_TMPFS_NAME): Likewise.
41687 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41688 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41689 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41690 (HAVE_AUX_SECURE): Make definition unconditional.
41691 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41692 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41693
4f75b7a0
RM
416942012-08-03 Roland McGrath <roland@hack.frob.com>
41695
41696 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41697 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41698 * sysdeps/mach/hurd/eloop-threshold.h: New file.
41699 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41700 __eloop_threshold instead of SYMLOOP_MAX.
41701
41702 * sysdeps/generic/eloop-threshold.h: New file.
41703 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41704 of MAXSYMLINKS.
41705 * elf/chroot_canon.c (chroot_canon): Likewise.
41706
7aab07e4
JM
417072012-08-03 Joseph Myers <joseph@codesourcery.com>
41708
41709 [BZ #13717]
41710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41711 Change to 2.6.0 everywhere.
41712 * sysdeps/unix/sysv/linux/configure: Regenerated.
41713 * sysdeps/unix/sysv/linux/kernel-features.h
41714 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41715 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41716 kernel versions.
41717 (__ASSUME_POSIX_TIMERS): Define unconditionally.
41718 (__ASSUME_FUTEX_REQUEUE): Remove.
41719 (__ASSUME_STATFS64): Define unconditionally.
41720 (__ASSUME_AT_SECURE): Likewise.
41721 (__ASSUME_CORRECT_SI_PID): Likewise.
41722 (__ASSUME_TGKILL): Define without depending on kernel version for
41723 i386.
41724 (__ASSUME_UTIMES): Likewise.
41725 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41726 kernel version.
41727 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41728 (__ASSUME_TMPFS_NAME): Likewise.
41729 * README: Update reference to Linux kernel versions.
41730
b67e9372
MP
417312012-08-02 Marek Polacek <polacek@redhat.com>
41732
1f529f7d 41733 [BZ# 14150]
b67e9372
MP
41734 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
41735 libc_cv_asm_type_prefix with %.
41736 * configure: Regenerated.
d2441631
RM
41737 * include/libc-symbols.h: Remove comment about
41738 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
41739 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41740 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41741 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41742 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41743 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41744 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41745 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41746 * elf/tst-unique2mod1.c: Likewise.
41747 * elf/tst-unique1mod2.c: Likewise.
41748 * elf/tst-unique1mod1.c: Likewise.
41749 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41750 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41751 Replace ASM_TYPE_DIRECTIVE with .type.
41752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41753 * sysdeps/i386/sysdep.h: Likewise.
41754 * sysdeps/x86_64/sysdep.h: Likewise.
41755 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
41756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41757 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 41758 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
41759 * sysdeps/powerpc/powerpc32/sysdep.h:
41760 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
41761 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41762 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41763 * sysdeps/i386/fpu/e_powf.S: Likewise.
41764 * sysdeps/i386/fpu/e_expl.S: Likewise.
41765 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41766 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41767 * sysdeps/i386/fpu/e_pow.S: Likewise.
41768 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41769 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41770 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41771 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41772 * sysdeps/i386/fpu/e_log2.S: Likewise.
41773 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41774 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41775 * sysdeps/i386/fpu/e_powl.S: Likewise.
41776 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41777 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41778 * sysdeps/i386/fpu/e_logl.S: Likewise.
41779 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41780 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41781 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41782 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41783 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41784 * sysdeps/i386/fpu/e_log.S: Likewise.
41785 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41786 * sysdeps/i386/fpu/e_logf.S: Likewise.
41787 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41788 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41789 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41790 * sysdeps/i386/fpu/e_log10.S: Likewise.
41791 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41792 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41793 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41794 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41795 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41796 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41797 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41798 * sysdeps/i386/i686/strtok.S: Likewise.
41799 * sysdeps/i386/i386-mcount.S: Likewise.
41800 * sysdeps/i386/strtok.S: Likewise.
41801 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41802 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41804 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41805 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41806 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41807 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41808 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41809 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41810 * sysdeps/x86_64/_mcount.S: Likewise.
41811 * sysdeps/x86_64/strtok.S: Likewise.
41812 * sysdeps/sh/_mcount.S: Likewise.
41813
2747bf9a
RM
418142012-08-01 Roland McGrath <roland@hack.frob.com>
41815
41816 * libio/iofopen.c: Include <fcntl.h>.
41817 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41818 (_IO_fopen64, fopen64): Define as aliases.
41819 * libio/iofopen64.c: Include <fcntl.h>.
41820 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41821 Conditionalize body on this.
41822 * sysdeps/wordsize-64/iofopen.c: File removed.
41823 * sysdeps/wordsize-64/iofopen64.c: File removed.
41824
3fb791b8
MP
418252012-08-01 Marek Polacek <polacek@redhat.com>
41826
41827 * libc/Makeconfig: Use elf in place of binfmt-subdir.
41828 Use dlfcn directly instead of a variable.
41829 (binfmt-subdir): Do not define.
41830 (dlfcn): Likewise.
41831
a9f1039f
JM
418322012-08-01 Joseph Myers <joseph@codesourcery.com>
41833
23bddc06
JM
41834 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41835 Remove all definitions.
41836 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41837 <kernel-features.h>.
41838 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41839 (miss_F_GETOWN_EX): Remove all definitions.
41840 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41841 macro definition.
41842 [!__ASSUME_FCNTL64]: Remove conditional code.
41843 [__ASSUME_FCNTL64]: Make code unconditional.
41844 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41845 <kernel-features.h>.
41846 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41847 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41848 (lockf64) [__NR_fcntl64]: Make code unconditional.
41849 (lockf64) [__ASSUME_FCNTL64]: Likewise.
41850
a9f1039f
JM
41851 * sysdeps/unix/sysv/linux/kernel-features.h
41852 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41853 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41854 Make code unconditional.
41855 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41856 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41858 [__NR_vfork]: Make code unconditional.
41859 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41860 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41862 [__NR_vfork]: Make code unconditional.
41863 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41864 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41865
09c0ee5f
RM
418662012-08-01 Roland McGrath <roland@hack.frob.com>
41867
48aec5b9
RM
41868 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41869 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41870
cd97c966
RM
41871 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41872 Define mkstemp64 as an alias.
3f55550c
RM
41873 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41874 Define mkstemps64 as an alias.
cd97c966
RM
41875 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41876 Define mkostemp64 as an alias.
b8625cfc
RM
41877 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41878 Define mkostemps64 as an alias.
cd97c966
RM
41879 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41880 Conditionalize body on this.
41881 * misc/mkostemp64.c: Likewise.
b8625cfc 41882 * misc/mkostemps64.c: Likewise.
3f55550c 41883 * misc/mkstemps64.c: Likewise.
cd97c966
RM
41884 * sysdeps/wordsize-64/mkstemp64.c: File removed.
41885 * sysdeps/wordsize-64/mkostemp64.c: File removed.
41886 * sysdeps/wordsize-64/mkostemp.c: File removed.
41887 * sysdeps/wordsize-64/mkstemp.c: File removed.
41888 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41889 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41890 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41891 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41892
09c0ee5f
RM
41893 [BZ #14138]
41894 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41895 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41896 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41897 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41898
41899 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41900 compat_symbol macros from <shlib-compat.h> rather than the underlying
41901 default_symbol_version and symbol_version macros, so that DEFAULT
41902 lines in shlib-versions are respected.
41903 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41904
7e66ee51
FW
419052012-08-01 Florian Weimer <fweimer@redhat.com>
41906
41907 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41908 Declare with warn_unused_result.
41909 (setgid, setregid, setegid, setresgid): Likewise.
41910 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41911 Likewise.
41912 * WUR-REPORT: Remove set*id functions.
41913
d2a54255
PT
419142012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41915
41916 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41917
7ecdb005
RM
419182012-07-31 Roland McGrath <roland@hack.frob.com>
41919
b4180a5e 41920 [BZ #10191]
789bd351
RM
41921 * include/sys/socket.h (__libc_accept, __libc_accept4):
41922 Add attribute_hidden.
41923 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41924
40ce302d
RM
41925 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41926 use of PTR_MANGLE.
41927 * inet/getnetgrent_r.c (setup): Likewise.
41928
7ecdb005
RM
41929 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41930
e2eabb2c
DM
419312012-07-31 David S. Miller <davem@davemloft.net>
41932
41933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41934
d0419dbf
JM
419352012-07-31 Joseph Myers <joseph@codesourcery.com>
41936
41937 [BZ #13629]
41938 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41939 value between 1.0 and 2.0 and smaller part has absolute value less
41940 than 1.0.
41941 * math/s_clog10.c (__clog10): Likewise.
41942 * math/s_clog10f.c (__clog10f): Likewise.
41943 * math/s_clog10l.c (__clog10l): Likewise.
41944 * math/s_clogf.c (__clogf): Likewise.
41945 * math/s_clogl.c (__clogl): Likewise.
41946 * math/libm-test.inc (clog_test): Add more tests.
41947 (clog10_test): Likewise.
41948 * sysdeps/i386/fpu/libm-test-ulps: Update.
41949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41950
2bc13872
FW
419512012-07-31 Florian Weimer <fweimer@redhat.com>
41952
41953 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41954 Exit with zero in case no suitable GID is found, and write a
41955 message to standard error.
41956
bea9b193
RM
419572012-07-30 Roland McGrath <roland@hack.frob.com>
41958
41959 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41960 rather than to 1.
41961 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41962 (MAXPATHLEN): Removed.
41963 (NOGROUP, NODEV): New macros.
41964 (setbit, clrbit, isset, isclr): New macros.
41965 (howmany, roundup, powerof2): New macros.
41966 (DEV_BSIZE): New macro.
41967
41968 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41969 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41970
41971 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41972 definition on [!__NO_LONG_DOUBLE_MATH].
41973
41974 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41975 PTR_MANGLE and PTR_DEMANGLE.
41976
41977 * socket/accept4.c (accept4): Rename to __libc_accept4.
41978 Define accept4 as a weak alias.
41979
41980 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41981 on [_DIRENT_HAVE_D_TYPE].
41982 * io/ftw.c (ftw_dir): Likewise.
41983
41984 * io/xmknod.c (__xmknod): Don't check PATH for being null.
41985
41986 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41987
41988 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41989 Use the BSD numbers rather than the arbitrary ones we had.
41990 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41991 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41992 (SIGXCPU, SIGXFSZ): New macros.
41993 (_NSIG): Now 32.
41994
41995 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41996 initializer on [_LIBC_REENTRANT].
41997
41998 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41999 definitions inside [_POSIX_MAPPED_FILES].
42000
42001 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42002
42003 * dirent/opendir.c: Include <fcntl.h>.
42004
42005 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42006 (__libc_getspecific): Likewise.
42007 (__libc_key_create): Likewise.
42008
42009 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42010 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42011 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42012 (tmpfile64): Define as alias.
42013 * sysdeps/wordsize-64/tmpfile.c: File removed.
42014 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42015 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42016 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42017
42018 * stdio-common/vfscanf.c: Include <stdbool.h>.
42019 * nss/makedb.c: Likewise.
42020 * stdio-common/_i18n_number.h: Likewise.
42021 * argp/argp-help.c: Likewise.
42022 * posix/wordexp.c: Likewise.
42023 * sysdeps/posix/spawni.c: Likewise.
42024 * nss/nss_files/files-initgroups.c: Likewise.
42025 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42026 * nss/nss_files/files-initgroups.c: Likewise.
42027 * nss/nss_db/db-netgrp.c: Likewise.
42028 * nss/nss_db/db-initgroups.c: Likewise.
42029 * io/fchmodat.c: Include <sys/stat.h>.
42030
42031 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42032 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42033
42034 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42035 [HAVE_MMAP].
42036
42037 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42038 Add multiple inclusion protection.
42039
e5abc686
DM
420402012-07-27 David S. Miller <davem@davemloft.net>
42041
42042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42043
815e6fa3
GB
420442012-07-27 Gary Benson <gbenson@redhat.com>
42045
42046 [BZ #14298]
42047 * elf/rtld.c: Include <stap-probe.h>.
42048 (dl_main): Added static probes "init_start" and "init_complete".
42049 * elf/dl-load.c: Include <stap-probe.h>.
42050 (lose): Take new parameter "nsid".
42051 Added static probe "map_failed".
42052 (_dl_map_object_from_fd): Pass namespace id to lose.
42053 Added static probe "map_start".
42054 (open_verify): Pass namespace id to lose.
42055 * elf/dl-open.c: Include <stap-probe.h>.
42056 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42057 and "reloc_complete".
42058 * elf/dl-close.c: Include <stap-probe.h>.
42059 (_dl_close_worker): Added static probes "unmap_start" and
42060 "unmap_complete".
42061 * elf/rtld-debugger-interface.txt: New file documenting the above.
42062
9f98c16c
RM
420632012-07-26 Roland McGrath <roland@hack.frob.com>
42064
42065 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42066 rather than a string variable.
42067 * sunrpc/rpc_main.c (h_output): Likewise.
42068 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42069
f3c22df3
PT
420702012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42071
42072 * inet/check_native.c: New file.
42073
3129cfc6
JM
420742012-07-26 Joseph Myers <joseph@codesourcery.com>
42075
da865e95
JM
42076 [BZ #13629]
42077 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42078 if larger part has absolute value 1.0.
42079 * math/s_clog10.c (__clog10): Likewise.
42080 * math/s_clog10f.c (__clog10f): Likewise.
42081 * math/s_clog10l.c (__clog10l): Likewise.
42082 * math/s_clogf.c (__clogf): Likewise.
42083 * math/s_clogl.c (__clogl): Likewise.
42084 * math/libm-test.inc (clog_test): Add more tests.
42085 (clog10_test): Likewise.
42086 * sysdeps/i386/fpu/libm-test-ulps: Update.
42087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42088
3129cfc6
JM
42089 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42090 (pltexit): Likewise.
42091 (La_regs): Likewise.
42092 (La_retval): Likewise.
42093 (int_retval): Likewise.
42094 Update #error for removed macros to refer only to definitions in
42095 tst-audit.h.
42096 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42097 macro.
42098 (pltexit): Likewise.
42099 (La_regs): Likewise.
42100 (La_retval): Likewise.
42101 (int_retval): Likewise.
42102 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42103 macro.
42104 (pltexit): Likewise.
42105 (La_regs): Likewise.
42106 (La_retval): Likewise.
42107 (int_retval): Likewise.
42108 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42109 macro.
42110 (pltexit): Likewise.
42111 (La_regs): Likewise.
42112 (La_retval): Likewise.
42113 (int_retval): Likewise.
42114 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42115 macro.
42116 (pltexit): Likewise.
42117 (La_regs): Likewise.
42118 (La_retval): Likewise.
42119 (int_retval): Likewise.
42120 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42121 macro.
42122 (pltexit): Likewise.
42123 (La_regs): Likewise.
42124 (La_retval): Likewise.
42125 (int_retval): Likewise.
42126 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42127 macro.
42128 (pltexit): Likewise.
42129 (La_regs): Likewise.
42130 (La_retval): Likewise.
42131 (int_retval): Likewise.
42132 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42133 macro definitions in tst-audit.h.
42134 * sysdeps/i386/tst-audit.h: New file.
42135 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42136 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42137 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42138 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42139 * sysdeps/sh/tst-audit.h: Likewise.
42140 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42141 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42142 * sysdeps/x86_64/tst-audit.h: Likewise.
42143
bfc07087
AJ
421442012-07-26 Andreas Jaeger <aj@suse.de>
42145
b1b2aaf8
AJ
42146 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42147 ptrace.
42148
42149 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42150 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42151 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42152 PTRACE_O_MASK.
42153 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42154 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42155 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42156
bfc07087
AJ
42157 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42158 value.
42159
42160 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42161 _sigsys.
42162 (si_call_addr, si_syscall, si_arch): Define new macro.
42163 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42164 _sigsys.
42165 (si_call_addr, si_syscall, si_arch): Define new marcro.
42166 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42167 _sigsys.
42168 (si_call_addr, si_syscall, si_arch): Define new macro.
42169 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42170 _sigsys.
42171 (si_call_addr, si_syscall, si_arch): Define new macro.
42172
89b4b02f
JM
421732012-07-25 Joseph Myers <joseph@codesourcery.com>
42174
42175 [BZ #13717]
42176 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42177 Change to 2.4.21 where previously 2.4.1.
42178 * sysdeps/unix/sysv/linux/configure: Regenerated.
42179 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42180 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42181 Linux kernel version.
42182 (__ASSUME_STD_AUXV): Remove.
42183 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42184 kernel version.
42185 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42186 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42187 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42188 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42189 (__ASSUME_NETLINK_SUPPORT): Likewise.
42190 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42191 (__no_netlink_support): Remove conditional definition.
42192 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42193 Remove.
42194 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42195 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42196 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42197 (if_nameindex_ioctl): Remove.
42198 (if_nameindex_netlink): Do not handle __no_netlink_support.
42199 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42200 code.
42201 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42202 Remove conditional code.
42203 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42204 code.
42205 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42206 unconditional.
42207 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42208 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42209 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42210 Remove.
42211 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42212 [!__ASSUME_STD_AUXV]: Remove conditional code.
42213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42214 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42215 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42217 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42218 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42219 code.
42220 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42222 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42223 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42224 conditional code.
42225 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42227 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42228 code.
42229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42230 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42231 conditional code.
42232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42233 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42234 code unconditional.
42235 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42236 conditional code.
42237 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42238 unconditional.
42239 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42240 conditional code.
42241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42242 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42243 unconditional.
42244 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42245 conditional code.
42246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42247 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42248 code unconditional.
42249 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42250 conditional code.
42251 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42252 unconditional.
42253 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42254 conditional code.
42255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42256 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42257 code unconditional.
42258 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42259 conditional code.
42260 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42261 unconditional.
42262 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42263 conditional code.
42264
842a39cd
AS
422652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42266
42267 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42268 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42269 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42270 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42271 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42272 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42273 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42274 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42275 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42276 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42277 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42278 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42279 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42280 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42282 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42283 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42284 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42285 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42287 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42288 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42290
84b3fd84
FW
422912012-07-25 Florian Weimer <fweimer@redhat.com>
42292
42293 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
42294 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42295 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42296 Introduce __libc_secure_getenv.
0c7936d5
FW
42297 * stdlib/Versions (2.17): Add secure_getenv
42298 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42299 * stdlib/secure-getenv.c: Rename __secure_getenv to
42300 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42301 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
42302 * stdlib/tst-secure-getenv.c: New.
42303 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
42304 * manual/startup.texi (Environment Access): Document
42305 secure_getenv.
84b3fd84
FW
42306 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42307 __libc_secure_getenv.
42308 * inet/ruserpass.c (ruserpass): Likewise.
42309 * malloc/mtrace.c (mtrace): Likewise.
42310 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 42311 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
42312 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42313 * sysdeps/posix/tempname.c: Likewise. Evaluate
42314 HAVE_SECURE_GETENV.
42315 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 42316 __secure_getenv to __libc_secure_getenv.
84b3fd84 42317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
42318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42319 Likewise.
42320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42321 Likewise.
42322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 42329
56e49b71
JM
423302012-07-25 Joseph Myers <joseph@codesourcery.com>
42331
42332 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42333 (struct La_i86_retval): Likewise.
42334 (struct La_x86_64_regs): Likewise.
42335 (struct La_x86_64_retval): Likewise.
42336 (struct La_x32_regs): Likewise.
42337 (struct La_x32_retval): Likewise.
42338 (struct La_ppc32_regs): Likewise.
42339 (struct La_ppc32_retval): Likewise.
42340 (struct La_ppc64_regs): Likewise.
42341 (struct La_ppc64_retval): Likewise.
42342 (struct La_sh_regs): Likewise.
42343 (struct La_sh_retval): Likewise.
42344 (struct La_s390_32_regs): Likewise.
42345 (struct La_s390_32_retval): Likewise.
42346 (struct La_s390_64_regs): Likewise.
42347 (struct La_s390_64_retval): Likewise.
42348 (struct La_sparc32_regs): Likewise.
42349 (struct La_sparc32_retval): Likewise.
42350 (struct La_sparc64_regs): Likewise.
42351 (struct La_sparc64_retval): Likewise.
42352 (struct audit_ifaces): Remove architecture-specific pltenter and
42353 pltexit members.
42354 * sysdeps/i386/ldsodefs.h: New file.
42355 * sysdeps/powerpc/ldsodefs.h: Likewise.
42356 * sysdeps/s390/ldsodefs.h: Likewise.
42357 * sysdeps/sh/ldsodefs.h: Likewise.
42358 * sysdeps/sparc/ldsodefs.h: Likewise.
42359 * sysdeps/x86_64/ldsodefs.h: Likewise.
42360
354691b7
MP
423612012-07-25 Marek Polacek <polacek@redhat.com>
42362
42363 [BZ #6808]
42364 * math/libm-test.inc (yn_test): Add another test.
42365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42366 to ERANGE when the result is +-Inf.
42367 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42368 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42369 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42370 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42371
bf9e2071
JM
423722012-07-24 Joseph Myers <joseph@codesourcery.com>
42373
42374 * conform/data/time.h-data (NULL): Use macro-constant. Require
42375 equal to 0.
42376 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42377 clock_t.
42378 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42379
57633811
TS
423802012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42381
42382 * configure.in <sysdeps resolving>: Correct printing
42383 Implies_before.
42384 * configure: Regenerate.
42385
c23c33b0
TS
423862012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42387
42388 * math/w_ilogb.c: Include <limits.h>.
42389 * math/w_ilogbl.c: Likewise.
42390
b5982523
JM
423912012-07-20 Joseph Myers <joseph@codesourcery.com>
42392
42393 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42394 va_copy. Document allowing for unavailable va_copy only as
42395 pre-C99 compatibility.
42396 * manual/string.texi (Copying and Concatenation): Use va_copy
42397 instead of __va_copy in concat example.
42398
ac4ea442
PT
423992012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42400
42401 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42402 (__sendto): Use create_address_port. Initialize APORT and deallocate
42403 it if not null.
42404
f98eafbd
PT
42405 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42406 with O_NOLINK passed to __file_name_lookup.
42407
898c7aab
PT
42408 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42409 with O_NOLINK passed to __file_name_lookup.
42410
0ced335a
PT
42411 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42412 negative N or less than NGIDS.
42413
b3404dbd
PT
42414 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42415 type to string_t. Set ERANGE as errno and return it if NAME is not big
42416 enough. Use memcpy instead of strncpy.
42417
0f48659e
JM
424182012-07-20 Joseph Myers <joseph@codesourcery.com>
42419
42420 * elf/Makefile (check-data): Remove.
42421 (localplt.data): New vpath directive.
42422 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42423 instead of $(check-data).
42424 * scripts/data/localplt-generic.data: Move to ...
42425 * sysdeps/generic/localplt.data: ... here.
42426 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42427 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42428 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42430 ... here.
42431 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42433 ... here.
42434 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42436 ... here.
42437 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42439 ... here.
42440 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42442 ... here.
42443 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42445 ... here.
42446
d37cbdaa
AZ
424472012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42448
42449 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42450 PPC32 and PPC64 files.
42451 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42452 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42453
46f85fc2
AK
424542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42455
42456 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42457 __makecontext_ret to ...
42458 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42459 ... here and call exit if uc_link is NULL. New file.
42460 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42461 __makecontext_ret.S.
42462 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42463 __makecontext_ret to ...
42464 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42465 ... here and call exit if uc_link is NULL. New file.
42466 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42467 __makecontext_ret.S.
42468
08f43f9b
AK
424692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42470
42471 * elf/elf.h (R_390_IRELATIVE): New definition.
42472 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42473 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42474 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42475 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42476 (elf_machine_lazy_rel): Likewise.
42477 * sysdeps/s390/dl-irel.h: New file.
42478 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42479 * sysdeps/s390/s390-64/memset.S: New asm code.
42480 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42481 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42482 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42483 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42484 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42485 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42486 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42487 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42488 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42489 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42490 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42491 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42492 * sysdeps/s390/s390-32/memset.S: New asm code.
42493 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42494
3b05db33
MP
424952012-07-17 Marek Polacek <polacek@redhat.com>
42496
42497 [BZ #14349]
42498 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42499 * sysdeps/s390/s390-64/configure.in: Likewise.
42500 * sysdeps/sparc/configure.in: Likewise.
42501 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42502 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42503 * sysdeps/i386/configure.in: Likewise.
42504 * sysdeps/x86_64/configure.in: Likewise.
42505 * sysdeps/sh/configure.in: Likewise.
42506 * sysdeps/s390/s390-32/configure: Regenerated.
42507 * sysdeps/s390/s390-64/configure: Likewise.
42508 * sysdeps/x86_64/configure: Likewise.
42509 * sysdeps/sh/configure: Likewise.
42510 * sysdeps/powerpc/powerpc64/configure: Likewise.
42511 * sysdeps/powerpc/powerpc32/configure: Likewise.
42512 * sysdeps/sparc/configure: Likwise.
42513 * sysdeps/i386/configure: Likewise.
42514
a66877c6
MP
42515 * elf/dl-open.c: Comment fixes.
42516
cfc82fd8
JM
425172012-07-17 Joseph Myers <joseph@codesourcery.com>
42518
bd29910a
JM
42519 * Makefile [CXX] (check-data): Remove.
42520 [CXX] (c++-types.data): New vpath directive.
42521 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42522 vpath. Do not allow for C++ type data being missing.
42523 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42524 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42525 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42526 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42527 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42528 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42529 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42531 ... here.
42532 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42534 ... here.
42535 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42537 ... here.
42538 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42540 ... here.
42541 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42543 ... here.
42544 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42546 ... here.
42547 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42549 ... here.
42550 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42552
cfc82fd8
JM
42553 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42554 definitions to architecture-specific files.
42555 (TLS_IE): Likewise.
42556 (TLS_LD): Likewise.
42557 (TLS_GD): Likewise.
42558 * sysdeps/i386/tls-macros.h: New file.
42559 * sysdeps/powerpc/tls-macros.h: Likewise.
42560 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42561 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42562 * sysdeps/sh/tls-macros.h: Likewise.
42563 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42564 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42565 * sysdeps/x86_64/tls-macros.h: Likewise.
42566
f7db3170
TS
425672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42568
07cbfc23
TS
42569 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42570 zero value for regular exit case.
42571
f7db3170
TS
42572 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42573 (__start_context): Preserve zero value for regular exit case.
42574
dc97c227
TS
425752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42576 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42577
42578 * manual/setjmp.texi (setcontext): Clarify normal process
42579 termination when uc_link is the null pointer.
42580 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42581 exit call.
42582
d0cd7d02
AS
425832012-07-16 Andreas Schwab <schwab@linux-m68k.org>
42584
42585 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42586 preprocessor. Test for each exception mask separately.
42587
dd318934
AJ
425882012-07-16 Andreas Jaeger <aj@suse.de>
42589
42590 * po/ru.po: Update from translation team.
42591
8048311a
JM
425922012-07-15 Joseph Myers <joseph@codesourcery.com>
42593
42594 * conform/data/string.h-data (NULL): Use macro-constant. Require
42595 equal to 0.
42596 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42597 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42598 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42599 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42601
b637d46e
AJ
426022012-07-13 Andreas Jaeger <aj@suse.de>
42603
42604 * po/fr.po: Update from translation team.
42605
541428fe
MP
426062012-07-12 Marek Polacek <polacek@redhat.com>
42607
42608 [BZ #14173]
42609 * math/libm-test.inc (yn_test): Add test for BZ #14173.
42610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42611 loop condition.
42612
ec332e94
JM
426132012-07-12 Joseph Myers <joseph@codesourcery.com>
42614
42615 [BZ #13717]
42616 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42617 Change to 2.4.1 where previously 2.4.0.
42618 * sysdeps/unix/sysv/linux/configure: Regenerated.
42619 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42620 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42621 version.
42622 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42623 (__ASSUME_AT_CLKTCK): Remove.
42624 (__ASSUME_AT_PAGESIZE): Likewise.
42625 (__ASSUME_AT_XID): Likewise.
42626 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42627 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42628 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42629 unconditionally.
42630 (HAVE_AUX_PAGESIZE): Likewise.
42631 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42632 [__ASSUME_AT_CLKTCK]: Make code unconditional.
42633 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42634
7b6e99be
JB
426352012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
42636
42637 [BZ #14307]
42638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42639 the temporary buffer used to invoke __gethostbyname2_r,
42640 __gethostbyaddr_r and gethostbyname4_r to make room for struct
42641 host_data / struct gaih_addrtuple.
42642 * resolv/nss_dns/dns-host.c (global scope): Move definition of
42643 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42644 header file nss/nsswitch.h.
42645 * nss/nsswitch.h (global scope): Add definition of implementation
42646 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42647 resolv/nss_dns/dns-host.c).
42648
608404eb
AJ
426492012-07-11 Andreas Jaeger <aj@suse.de>
42650
42651 * po/fr.po: Update from translation team.
42652
71220aca
AJ
42653 * po/sv.po: Update from translation team
42654 * po/fr.po: Another update from translation team.
42655
28cfe843
AZ
426562012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42657
42658 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42659 for subnormals or multiply small sinh result by itself.
42660 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42662
6b90f981
DM
426632012-07-11 David S. Miller <davem@davemloft.net>
42664
42665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42666
c6825772
AS
426672012-07-10 Andreas Schwab <schwab@linux-m68k.org>
42668
42669 [BZ #14347]
42670 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42671 (INTERNAL_MARK): Shift it here.
42672
7b8e0d49
MP
426732012-07-10 Marek Polacek <polacek@redhat.com>
42674
42675 [BZ #14151]
42676 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
42677 libc_cv_asm_global_directive with .globl.
42678 * configure: Regenerated.
42679 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42680 with .globl.
42681 * sysdeps/i386/configure: Regenerated.
42682 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42683 with .globl.
42684 * sysdeps/x86_64/configure: Regenerated.
42685 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42686 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42687 * elf/tst-unique2mod2.c: Likewise.
42688 * elf/tst-unique2mod1.c: Likewise.
42689 * elf/tst-unique1mod2.c: Likewise.
42690 * elf/tst-unique1mod1.c: Likewise.
42691 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42692 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42693 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42694 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42695 * sysdeps/mach/sysdep.h: Likewise.
42696 * sysdeps/i386/sysdep.h: Likewise.
42697 * sysdeps/i386/i386-mcount.S: Likewise.
42698 * sysdeps/x86_64/_mcount.S: Likewise.
42699 * sysdeps/x86_64/sysdep.h: Likewise.
42700 * sysdeps/sh/_mcount.S: Likewise.
42701 * sysdeps/sh/sysdep.h: Likewise.
42702 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42703 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42704 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42705 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42706 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42707 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42708 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42709 * locale/localeinfo.h: Likewise.
42710 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42711 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42712
6c55cda3
RM
427132012-07-09 Roland McGrath <roland@hack.frob.com>
42714
42715 [BZ #14336]
42716 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42717 system".
42718 * manual/message.texi (The Uniforum approach): Likewise.
42719 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42720 (glibc iconv Implementation): Likewise.
42721
638a572e
JM
427222012-07-09 Joseph Myers <joseph@codesourcery.com>
42723
42724 [BZ #14337]
42725 * math/s_clog.c (__clog): Avoid scaling a value down where that
42726 could result in underflow.
42727 * math/s_clog10.c (__clog10): Likewise.
42728 * math/s_clog10f.c (__clog10f): Likewise.
42729 * math/s_clog10l.c (__clog10l): Likewise.
42730 * math/s_clogf.c (__clogf): Likewise.
42731 * math/s_clogl.c (__clogl): Likewise.
42732 * math/libm-test.inc (clog_test): Add more tests.
42733 (clog10_test): Likewise.
42734 * sysdeps/i386/fpu/libm-test-ulps: Update.
42735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42736
261f4859
AS
427372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
42738
0abaf3e4
AS
42739 [BZ #14283]
42740 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42741 by 7 not 8 to examine high bit of fractional part.
42742
261f4859
AS
42743 [BZ #14042]
42744 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42745 for call to __mcount_internal.
42746 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42747 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42748 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42749
f17ac40d
JM
427502012-07-06 Joseph Myers <joseph@codesourcery.com>
42751
9ad63c23
JM
42752 [BZ #14154]
42753 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42754 approximation for values within 0x1p-13f of an odd multiple of
42755 pi/4.
42756 * math/libm-test.inc (tan_test): Do not allow spurious underflow
42757 exception. Add more tests.
42758 * sysdeps/i386/fpu/libm-test-ulps: Update.
42759
f17ac40d
JM
42760 [BZ #6778]
42761 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42762 inputs and return -1 for them. Do not check for +Inf in case not
42763 reachable for +Inf.
42764 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42765 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42767 and return -1 for them. Do not check for +Inf in case not
42768 reachable for +Inf.
42769 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42770 define.
42771 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42772 and return -1 for them. Do not check for +Inf in case not
42773 reachable for +Inf.
42774 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
42775 spurious underflow.
42776 * sysdeps/i386/fpu/libm-test-ulps: Update.
42777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42778
fb21f89b
MF
427792012-07-06 Mike Frysinger <vapier@gentoo.org>
42780
42781 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42782
cdfe2c5e
JM
427832012-07-05 Joseph Myers <joseph@codesourcery.com>
42784
42785 [BZ #14157]
42786 [BZ #14331]
42787 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42788 could result in spurious underflow. Scale down values above
42789 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42790 * math/s_csqrtf.c (__csqrtf): Likewise.
42791 * math/s_csqrtl.c (__csqrtl): Likewise.
42792 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
42793 spurious underflow.
42794 * sysdeps/i386/fpu/libm-test-ulps: Update.
42795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42796
70d35b67
AS
427972012-07-04 Andreas Schwab <schwab@linux-m68k.org>
42798
704bc459
AS
42799 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42800 xopen-msg.sed.
42801 * catgets/xopen-msg.awk: New file.
42802 * catgets/xopen-msg.sed: Removed.
42803
70d35b67
AS
42804 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42805 po2text.sed.
42806 * intl/po2test.awk: New file.
42807 * intl/po2test.sed: Removed.
42808
ca61cf32
JM
428092012-07-04 Joseph Myers <joseph@codesourcery.com>
42810
42811 [BZ #14328]
42812 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42813 or multiply small sinh result by itself.
42814 * math/s_ctanf.c (__ctanf): Likewise.
42815 * math/s_ctanh.c (__ctanh): Likewise.
42816 * math/s_ctanhf.c (__ctanhf): Likewise.
42817 * math/s_ctanhl.c (__ctanhl): Likewise.
42818 * math/s_ctanl.c (__ctanl): Likewise.
42819 * math/libm-test.inc (ctan_test_tonearest): New function.
42820 (ctan_test_towardzero): Likewise.
42821 (ctan_test_downward): Likewise.
42822 (ctan_test_upward): Likewise.
42823 (ctanh_test_tonearest): Likewise.
42824 (ctanh_test_towardzero): Likewise.
42825 (ctanh_test_downward): Likewise.
42826 (ctanh_test_upward): Likewise.
42827 (main): Call these new functions.
42828 * sysdeps/i386/fpu/libm-test-ulps: Update.
42829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42830
ca48a46a
MF
428312012-07-03 Mike Frysinger <vapier@gentoo.org>
42832
42833 * .gitignore: Delete /ports entry.
42834
9d63d37d
AJ
428352012-07-03 Andreas Jaeger <aj@suse.de>
42836
42837 * po/bg.po: Update from translation team.
42838 * po/cs.po: Likewise.
42839 * po/de.po: Likewise.
42840 * po/hr.po: Likewise.
42841 * po/nl.pl: Likewise.
42842 * po/pl.po: Likewise.
42843 * po/vi.po: Likewise.
42844
370ca3d2
JM
428452012-07-03 Joseph Myers <joseph@codesourcery.com>
42846
95f5a9a8
JM
42847 * Makeconfig [!+link] (+link-before-libc): New variable.
42848 [!+link] (+link-after-libc): Likewise.
42849 [!+link] (+link-tests): Likewise.
42850 [!+link] (+link): Define in terms of $(+link-before-libc) and
42851 $(+link-after-libc).
42852 [!+link-static] (+link-static-before-libc): New variable.
42853 [!+link-static] (+link-static-after-libc): Likewise.
42854 [!+link-static] (+link-static-tests): Likewise.
42855 [!+link-static] (+link-static): Define in terms of
42856 $(+link-static-before-libc) and $(+link-static-after-libc).
42857 [build-shared] (link-libc-before-gnulib): New variable.
42858 [build-shared] (link-libc-tests): Likewise.
42859 [build-shared] (link-libc): Define in terms of
42860 $(link-libc-before-gnulib).
42861 [!build-shared] (link-libc-tests): New variable.
42862 (link-libc-static-tests): New variable.
42863 [!gnulib] (gnulib-arch): New variable.
42864 [!gnulib] (gnulib-tests): Likewise.
42865 [!gnulib] (static-gnulib-arch): Likewise.
42866 [!gnulib] (static-gnulib-tests): Likewise.
42867 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
42868 Define with "=" instead of ":=".
42869 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
42870 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
42871 * Rules (binaries-all-notests): New variable.
42872 (binaries-all-tests): Likewise.
42873 (binaries-static-notests): Likewise.
42874 (binaries-static-tests): Likewise.
42875 (binaries-all): Define using $(binaries-all-notests) and
42876 $(binaries-all-tests).
42877 (binaries-static): Define using $(binaries-static-notests) and
42878 $(binaries-static-tests).
42879 (binaries-shared-tests): New variable.
42880 (binaries-shared-notests): Likewise.
42881 (binaries-shared): Remove variable.
42882 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42883 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42884 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42885 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42886 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42887 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42888 * elf/Makefile (sln-modules): New variable.
42889 (extra-objs): Add $(sln-modules:=.o).
42890 (ldconfig-modules): Add static-stubs.
42891 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42892 * elf/static-stubs.c: New file.
42893
7a845b2c
JM
42894 [BZ #14283]
42895 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42896 by 7 not 8 to examine high bit of fractional part. Use volatile
42897 variables when splitting into final array of floats if
42898 __FLT_EVAL_METHOD__ != 0.
42899 * math/libm-test.inc (cos_test): Add another test.
42900 (sin_test): Likewise.
42901 * sysdeps/i386/fpu/libm-test-ulps: Update.
42902
e2283f38
JM
42903 [BZ #14273]
42904 * math/libm-test.inc (cosh_test): Add more tests.
42905
370ca3d2
JM
42906 * version.h (RELEASE): Set to "development".
42907 (VERSION): Set to "2.16.90".
42908
ee9247c3
CD
429092012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
42910
42911 * NEWS: Update copyright. Remove last-updated date.
42912 Mention math library bug fixes and timezone data changes.
42913 * README: Mention GNU/Hurd, x32, and HPPA support status.
42914
4648c381
TS
429152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
42916
42917 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42918
aac78a43
AJ
429192012-06-27 Andreas Jaeger <aj@suse.de>
42920
42921 * manual/contrib.texi (Contributors): Add Samuel Thibault.
42922
ed3dbfad
AJ
429232012-06-25 Andreas Jaeger <aj@suse.de>
42924
42925 * sysdeps/s390/fpu/libm-test-ulps: Update.
42926
4d0ee855
AS
429272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
42928 Thomas Schwinge <thomas@codesourcery.com>
42929
42930 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42931 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42932 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42933 fanotify_mark.
42934
af1bce34
TS
429352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
42936
a9fa33ba
TS
42937 * sysdeps/mach/start.c: Remove file.
42938 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42939 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42940 * sysdeps/sh/init-first.c: Likewise.
42941
58f902b8
TS
42942 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42943 registers for frame unwinding purposes, add CFI directives.
42944 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42945 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42946 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42947 Likewise.
42948
1518f58b
TS
42949 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42950 __fortify_fail returning.
42951 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42952
db9b5059
TS
42953 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42954 sysdeps/sh/____longjmp_chk.S.
42955 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42956 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42957 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42958 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42959
967705fe
TS
42960 * sysdeps/sh/abort-instr.h: New file.
42961 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42962 process in case exit returns.
42963
a9def8c4
TS
42964 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42965 initialize the GOT register before use.
42966
2a649725
TS
42967 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42968 calculation of ARGC > 4.
42969
af1bce34
TS
42970 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42971 meaningful names to some local labels.
42972
d230f50a
KK
429732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42974 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42975
42976 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42977 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42978 (__arch_compare_and_exchange_val_16_acq): Likewise.
42979 (__arch_compare_and_exchange_val_32_acq): Likewise.
42980 (atomic_exchange_and_add): Fix gUSA sequence.
42981 (atomic_add): Likewise.
42982 (atomic_add_negative): Likewise.
42983 (atomic_add_zero): Likewise.
42984 (atomic_bit_test_set): Likewise.
42985
0479b305
AS
429862012-06-22 Andreas Schwab <schwab@redhat.com>
42987
42988 [BZ #13579]
42989 * include/link.h (struct link_map): Add l_free_initfini.
42990 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42991 l_initfini.
42992 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42993 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42994 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42995 set.
42996
0e3933b9
CD
429972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
42998
42999 * configure.in: Use AC_LANG_SOURCE.
43000 * configure: Regenerate.
43001
4248b1b1
RM
430022012-06-22 Roland McGrath <roland@hack.frob.com>
43003
43004 * configure.in (libc_cv_localstatedir): New substituted variable.
43005 * configure: Regenerated.
43006 * config.make.in (localstatedir): New variable, substituted from
43007 libc_cv_localstatedir.
43008 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43009 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43010 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43011 * sysdeps/gnu/configure: Regenerated.
43012
006dd861
JL
430132012-06-21 Jeff Law <law@redhat.com>
43014
43015 [BZ #14277]
43016 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43017 free. Simplify list management for _LIBC case.
43018
79662d42
JM
430192012-06-21 Joseph Myers <joseph@codesourcery.com>
43020
b7abb4bf
JM
43021 [BZ #14273]
43022 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43023 Clear sign bit of 64-bit integer value before comparing against
43024 overflow value.
43025
79662d42
JM
43026 * sysdeps/mach/configure: Regenerated.
43027
1f150908
L
430282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43029
43030 [BZ #14278]
43031 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43032
28363bbf
JL
430332012-06-21 Jeff Law <law@redhat.com>
43034
43035 [BZ #13882]
43036 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43037 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 43038 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
43039 * elf/dl-open.c (dl_open_worker): Likewise.
43040
09615db4
CD
430412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43042
43043 * scripts/list-sources.sh: Scan PORTS for translations.
43044 * po/libc.pot: Regenerated.
43045
2174c6dd
AJ
430462012-06-21 Andreas Jaeger <aj@suse.de>
43047
43048 [BZ #12194]
43049 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43050 warning.
43051 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43052 * bits/byteswap-16.h (__bswap_16): Likewise.
43053 * bits/byteswap.h (__bswap_constant_16): Likewise.
43054
3ee947b1
L
430552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43056
43057 [BZ #14117]
a2f34833
L
43058 * sysdeps/i386/fpu_control.h: Removed.
43059 * sysdeps/x86_64/fpu_control.h: Moved to ...
43060 * sysdeps/x86/fpu_control.h: Here.
43061
3ee947b1
L
43062 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43063 (_FPU_SETCW): Likewise.
43064
ed1825f8
L
430652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43066
25f1282a
L
43067 [BZ #14117]
43068 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43069 * sysdeps/x86/fpu/bits/mathinline.h: This.
43070 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43071
ed1825f8
L
43072 [BZ #14050]
43073 [BZ #14117]
43074 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43075 functions if __x86_64__ is defined.
43076
36d54b74
CLT
430772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43078
43079 * string/endian.h: Add !__ASSEMBLER__ condition for including
43080 conversion interfaces.
43081
10285c21
JM
430822012-06-15 Joseph Myers <joseph@codesourcery.com>
43083
43084 [BZ #14241]
43085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43086 of ABS(x) in calculating zero to negative powers other than odd
43087 integers.
43088 * math/libm-test.inc (pow_test): Add more tests.
43089
06c5abbd
AJ
430902012-06-15 Andreas Jaeger <aj@suse.de>
43091
43092 * manual/contrib.texi (Contributors): Update entry of Liubov
43093 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43094 Machado Filho.
43095
a3aeac40
CH
430962012-06-15 Cyril Hrubis <metan@ucw.cz>
43097
43098 * string/string.h: Add __wur to GNU version of strerror_r.
43099
49bdf4c1
L
431002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43101
43102 [BZ #14229]
43103 * string/Makefile (tests): Add tst-strtok_r.
43104 * string/tst-strtok_r.c: New file.
43105 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43106 RAX_LP/RDX_LP on SAVE_PTR.
43107
834f9b8d
RM
431082012-06-14 Roland McGrath <roland@hack.frob.com>
43109
43110 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43111
75fa1921
JM
431122012-06-14 Joseph Myers <joseph@codesourcery.com>
43113
43114 * libm_test.inc (csqrt_test): Allow more spurious underflow
43115 exceptions.
43116 (j0_test): Likewise.
43117 (j1_test): Likewise.
43118 (y0_test): Likewise.
43119 (y1_test): Likewise.
43120
771766df
CD
431212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43122
43123 * po/Makefile (libc.pot): Use UTF-8 charset.
43124
ceb9e56b
PP
431252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43126
43127 [BZ #14210]
43128 Suppress sign-conversion warning from FD_SET.
43129 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43130 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43131 not unsigned long int.
43132 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43133
ddb28975
L
431342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43135
43136 [BZ #14050]
43137 [BZ #14117]
43138 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43139 __extern_always_inline instead of __extern_inline.
43140 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43141 (__signbit): Likewise.
43142 (__signbitl): Support C++ namespace.
43143 (lrintf): New inline function.
43144 (lrint): Likewise.
43145 (llrintf): Likewise.
43146 (llrint): Likewise.
43147 (fmaxf): Likewise.
43148 (fmax): Likewise.
43149 (fminf): Likewise.
43150 (fmin): Likewise.
43151 (rint): Likewise.
43152 (rintf): Likewise.
43153 (ceil): Likewise.
43154 (ceilf): Likewise.
43155 (floor): Likewise.
43156 (floorf): Likewise.
43157 (nearbyint): Likewise.
43158 (nearbyintf): Likewise.
43159
d7b4fb26
TS
431602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43161
43162 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43163 non-default versions.
43164
eb55f5c2
RM
431652012-06-11 Roland McGrath <roland@hack.frob.com>
43166
43167 [BZ #14218]
43168 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43169
366af02c
TS
431702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43171
99ff6e5c
TS
43172 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43173 (FE_UPWARD, FE_DOWNWARD): Don't define.
43174 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43175 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43176
366af02c
TS
43177 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43178 reading it.
43179 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43180 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43181
793ea851
KK
431822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43183
43184 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43185 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43186 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43187 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43188
a728a38f
L
431892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43190
43191 [BZ #14117]
c08010c7
L
43192 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43193 * sysdeps/i386/fpu/Implies: New file.
43194 * sysdeps/x86_64/fpu/Implies: Likewise.
43195 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43196 * sysdeps/x86/fpu/bits/fenv.h: This.
43197
a728a38f
L
43198 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43199 __SSE_MATH__.
43200
6e230d11
SP
432012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43202
43203 [BZ #14134]
43204 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43205 character 0xffff that matches the last element of the
43206 conversion table.
43207
1b671feb
AZ
432082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43209
43210 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43211 fmodl commit.
43212
6043738b
AZ
432132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43214
43215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43216 values higher than 25.6283.
43217
34ae0b32
AZ
432182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43219
43220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43221 subnormal exponent extraction and add some __builtin_expect.
43222 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43223 Fix for subnormal mantissa calculation.
43224
1214ec8f
MF
432252012-06-04 Mike Frysinger <vapier@gentoo.org>
43226
43227 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43228 cpu2 is -1 and errno is not ENOSYS.
43229
f3d1f93c
L
432302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43231
43232 [BZ #14117]
0e4a3cd7
L
43233 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43234 * sysdeps/x86/bits/string.h: This.
43235 * sysdeps/x86_64/bits/string.h: Removed.
43236
6704c645
L
43237 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43238 if not compiling for x86-64, but compiling for >= i486.
43239
48495318
L
43240 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43241 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43242
14adcbfc
L
43243 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43244 New macro from Linux kernel 3.4.0.
43245 (FP_XSTATE_MAGIC2): Likewise.
43246 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43247 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43248 (struct _fpx_sw_bytes): New struct.
43249 (struct _xsave_hdr): Likewise.
43250 (struct _ymmh_state): Likewise.
43251 (struct _xstate): Likewise.
43252
68e408ab
L
43253 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43254 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43255 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43256 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43257 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43258 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43259
f3d1f93c
L
43260 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43261 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43262 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43263 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43264 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43265 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43266
d9dc34cd
TMQMF
432672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43268
43269 [BZ #13743]
43270 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43271 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43272 (sysdep_headers): Include sys/platform/ppc.h.
43273 * sysdeps/powerpc/test-gettimebase.c: Test for
43274 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43275 * manual/Makefile (appendices): Include platform.texi.
43276 * manual/contrib.texi (Contributors): Update @node pointers.
43277 * manual/maint.texi (Maintenance): Likewise.
43278 (Platform): New node.
43279 * manual/platform.texi: New file. Document the new features.
43280
4af3879c
SP
432812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43282 Jakub Jelinek <jakub@redhat.com>
43283
43284 [BZ #14188]
43285 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43286 where __builtin_expect is unavailable.
43287
2fd6ff13
DM
432882012-06-03 David S. Miller <davem@davemloft.net>
43289
43290 * stdlib/longlong.h: Updated from GCC.
43291
173f7220
AS
432922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43293
43294 [BZ #14042]
43295 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43296 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43297 __mcount_internal.
43298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43299 (GLIBC_2.16): Likewise.
43300
f34a1c6f
L
433012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43302
43303 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43304
88a4576f
JM
433052012-06-01 Joseph Myers <joseph@codesourcery.com>
43306
ea32bcdd
JM
43307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43308 (default-abi): New variable.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43310 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43311 variable.
43312 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43313 Likewise.
43314 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43315 Likewise.
43316 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43317 Likewise.
43318
88a4576f
JM
43319 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43320 definition. Document in comment.
43321
402fe938
DM
433222012-06-01 David S. Miller <davem@davemloft.net>
43323
43324 * stdlib/longlong.h: Updated from GCC.
43325
3553723f
L
433262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43327
43328 [BZ #14117]
3bd872c4
L
43329 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43330 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43331 sys/debugreg.h sys/io.h here.
43332 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43333 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43334 sys/io.h.
43335 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43336 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43337 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43338 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43339 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43340 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43341
3553723f
L
43342 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43343 Define only if __x86_64__ is defined.
43344
4842e4fe
JM
433452012-06-01 Joseph Myers <joseph@codesourcery.com>
43346
c5bfe3d5
JM
43347 [BZ #14048]
43348 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43349 Use int64_t for variable i.
43350 * math/libm-test.inc (fmod_test): Add more tests.
43351
4842e4fe
JM
43352 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43353 z computation is not scheduled after fetestexcept.
43354 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43355 Use math_force_eval instead of asm to ensure calculation scheduled
43356 before exception test.
43357 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43358 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43359
efb73488
AJ
433602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43361
43362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43363 computation is not scheduled after fetestexcept.
43364
29bcce7c
L
433652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43366
43367 [BZ #14117]
43368 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43369 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43370
73a68f94
AZ
433712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43372
43373 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43374 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43375
67b6df78
L
433762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43377
edf2933a 43378 [BZ #14117]
ebc64a18
L
43379 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43380 <bits/wordsize.h>.
43381 (__WCHAR_MIN): Support __WORDSIZE == 64.
43382 (__WCHAR_MAX): Likewise.
43383
edf2933a
L
43384 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43385 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43386
57c6cf40
L
43387 [BZ #14183]
43388 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43389 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43390
67b6df78 43391 [BZ #14117]
8eb6281e
L
43392 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43394
aac639f4
L
43395 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43396 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43397
67b6df78
L
43398 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43399 Defined to 1 if __x86_64__ isn't defined.
43400 (_STAT_VER_LINUX_OLD): New.
43401 (st_atime): Remove duplicate.
43402 (st_mtime): Likewise.
43403 (st_ctime): Likewise.
43404
1c2cfe81
DM
434052012-05-31 David S. Miller <davem@davemloft.net>
43406
43407 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43408 entries.
43409
5be8418c
AS
434102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43411
e7725326
AS
43412 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43413 gen-libm-test.pl.
43414
5be8418c
AS
43415 [BZ #14132]
43416 * elf/dl-reloc.c: Include <_itoa.h>.
43417 (_dl_reloc_bad_type): Remove use of INTUSE.
43418 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43419 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43420 * stdio-common/psiginfo.c (psiginfo): Likewise.
43421 * stdio-common/psignal.c (psignal): Likewise.
43422 * string/strsignal.c (strsignal): Likewise.
43423 * include/signal.h (_sys_siglist): Declare hidden proto.
43424 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43425 INTVARDEF with libc_hidden_data_def.
43426 * stdio-common/itoa-udigits.c: Likewise.
43427 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43428 (_itoa_lower_digits_internal): Remove declaration.
43429 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43430 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43431 (_sys_sigabbrev_internal): Remove aliases.
43432 (_sys_siglist): Define hidden alias.
43433
507352f1
MT
434342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43435
43436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43437 bits/sysctl.h.
43438
42bbb1c3
L
434392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43440
43441 [BZ #14117]
6bd784b6
L
43442 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43443 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43444
8bca20f0
L
43445 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43446 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43447 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43448 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43449 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43450 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43451
f9e890a9
L
43452 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43453 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43454 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43455
471101a1
L
43456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43457 with __addr.
43458 (insw): Likewise.
43459 (insl): Likewise.
43460 (outsb): Likewise.
43461 (outsw): Likewise.
43462 (outsl): Likewise.
43463
6451c862
L
43464 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43465 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43466 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43467
a254b8c9
L
43468 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43469 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43470 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43471 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43472 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43473 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43474
b8dfdd92
L
43475 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43476 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43477
578cd270
L
43478 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43479 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43480
de662f5f
L
43481 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43483 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43484
25653439
L
43485 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43486 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43487 to ...
43488 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43489
6bad24a0
L
43490 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43491 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43492 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43493
42bbb1c3
L
43494 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43495 for x86-64.
43496 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43497
2d10d547
JM
434982012-05-31 Joseph Myers <joseph@codesourcery.com>
43499
43500 * math/math.h (M_El): Use two more decimal places.
43501 (M_LOG2El): Likewise.
43502 (M_LOG10El): Likewise.
43503 (M_LN2l): Likewise.
43504 (M_LN10l): Likewise.
43505 (M_PIl): Likewise.
43506 (M_PI_2l): Likewise.
43507 (M_PI_4l): Likewise.
43508 (M_1_PIl): Likewise.
43509 (M_2_PIl): Likewise.
43510 (M_2_SQRTPIl): Likewise.
43511 (M_SQRT2l): Likewise.
43512 (M_SQRT1_2l): Likewise.
43513
f230c29b
DM
435142012-05-31 David S. Miller <davem@davemloft.net>
43515
43516 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43517 values between float registers.
43518 * sysdeps/sparc/sparc64/memset.S: Likewise.
43519 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43520
fed806c3
MF
435212012-05-31 Mike Frysinger <vapier@gentoo.org>
43522
43523 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43524 -D_FORTIFY_SOURCE=1.
43525 (CPPFLAGS-tst-longjmp_chk.c): Define.
43526 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43527 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43528 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43529 CFLAGS-tst-wchar-h.c.
43530
30917259
MP
435312012-05-31 Marek Polacek <polacek@redhat.com>
43532
43533 [BZ #14132]
43534 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43535 __endmntent_internal): Remove declaration.
43536 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43537 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43538 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43539
1c58d5dc
DM
435402012-05-30 David S. Miller <davem@davemloft.net>
43541
43542 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43543 (___Q_simulate_exceptions): Use real FP ops rather than writing
43544 into the %fsr.
43545 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43546 Likewise.
43547
7dc00e0d
L
435482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43549
43550 [BZ #14117]
0bd53985
L
43551 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43552 * sysdeps/x86/bits/xtitypes.h: This.
43553
3a257e66
L
43554 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43555 * sysdeps/x86/bits/wordsize.h: This.
43556
62f62904
L
43557 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43558 * sysdeps/x86/bits/huge_vall.h: This.
43559
404fe9d9
L
43560 * sysdeps/i386/bits/select.h: Removed.
43561 * sysdeps/x86_64/bits/select.h: Renamed to ...
43562 * sysdeps/x86/bits/select.h: This.
43563
d48d0446
L
43564 * sysdeps/i386/bits/setjmp.h: Removed.
43565 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43566 * sysdeps/x86/bits/setjmp.h: This.
43567
7dc00e0d
L
43568 * sysdeps/i386/bits/mathdef.h: Removed.
43569 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43570 * sysdeps/x86/bits/mathdef.h: This.
43571
03277f8f
AS
435722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
43573
43574 [BZ #14132]
43575 * include/sys/socket.h (__connect_internal)
43576 (__libc_sa_len_internal): Remove declaration.
43577 (__connect, __libc_sa_len): Declare hidden_proto.
43578 (SA_LEN): Remove use of INTUSE.
43579 * socket/connect.c: Add libc_hidden_def.
43580 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43581 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43582 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43583 alias.
43584 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43585 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43586 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43587 of adding _internal alias.
43588
13764867
L
435892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43590
43591 [BZ #14117]
6bd97696
L
43592 * sysdeps/i386/bits/link.h: Removed.
43593 * sysdeps/i386/bits/linkmap.h: Likewise.
43594 * sysdeps/x86_64/bits/link.h: Renamed to ...
43595 * sysdeps/x86/bits/link.h: This.
43596 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43597 * sysdeps/x86/bits/linkmap.h: This.
43598
f726f0bb
L
43599 * sysdeps/i386/bits/endian.h: Removed.
43600 * sysdeps/x86_64/bits/endian.h: Renamed to ...
43601 * sysdeps/x86/bits/endian.h: This.
43602
13764867
L
43603 * sysdeps/i386/bits/byteswap.h: Removed.
43604 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43605 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43606 * sysdeps/x86/bits/byteswap.h: This.
43607 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43608 * sysdeps/x86/bits/byteswap-16.h: This.
43609 * sysdeps/i386/Implies: Add x86.
43610 * sysdeps/x86_64/Implies: Likewise.
43611
ae251b0b
DM
436122012-05-30 David S. Miller <davem@davemloft.net>
43613
43614 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43615 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43616 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43617 (FP_TRAPPING_EXCEPTIONS): Define.
43618 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43619 (FP_TRAPPING_EXCEPTIONS): Define.
43620 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43621 subnormals only when inexact has been signalled or underflow
43622 exceptions are enabled.
43623 (_FP_PACK_CANONICAL): Likewise.
43624
d5c90867
L
436252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43626
43627 [BZ #14183]
43628 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43629 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43630
63f1549e
RH
436312012-05-30 Richard Henderson <rth@twiddle.net>
43632
8d8f2279
RH
43633 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43634 with #ifndef NOT_IN_libc.
43635
63f1549e
RH
43636 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
43637 marked to avoid plt entry.
43638
0ab0291b
L
436392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43640
43641 [BZ #14112]
43642 * Makeconfig (default-abi): New macro.
43643 (abi-includes): Likewise.
43644 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
43645 $(abi-$(default-abi)-lib-soname) for soname if defined.
43646 ($(common-objpfx)gnu/lib-names.stmp): Generate from
43647 abi-variants.
43648 * Makefile (installed-stubs): Likewise.
43649 * include/stubs-biarch.h: Removed.
43650 * scripts/lib-names.awk: Only handle one library at a time.
43651 * scripts/soversions.awk: Remove WORDSIZE support.
43652 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43653 entries.
43654 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43655 Removed.
43656 (syscall-list-default-condition): Likewise.
43657 (syscall-list-default-condition): Likewise.
43658 (syscall-list-includes): Likewise.
43659 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43660 syscall-list-* with abi-*. Handle undefined abi-variants.
43661 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43662 * sysdeps/unix/sysv/linux/i386/Implies: New file.
43663 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43664 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43665 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43666 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43667 Removed.
43668 (syscall-list-32-options): Likewise.
43669 (syscall-list-32-condition): Likewise.
43670 (syscall-list-64-options): Likewise.
43671 (syscall-list-64-condition): Likewise.
43672 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43673 macro.
43674 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43675 Renamed to ...
43676 (abi-*): This.
43677 (abi-64-ld-soname): New macro.
43678 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43679 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43680 Renamed to ...
43681 (abi-*): This.
43682 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43683 * sysdeps/x86_64/x32/shlib-versions: Likewise.
43684
4da0431d
JM
436852012-05-30 Joseph Myers <joseph@codesourcery.com>
43686
3a85279c
JM
43687 * sysdeps/unix/sysv/linux/kernel-features.h
43688 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43689 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43690 include <kernel-features.h>.
43691 [!__NR_ftruncate64]: Remove conditional code.
43692 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43693 [__NR_ftruncate64]: Make code unconditional.
43694 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43695 * sysdeps/unix/sysv/linux/truncate64.c: Do not
43696 include <kernel-features.h>.
43697 [!__NR_ftruncate64]: Remove conditional code.
43698 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43699 [__NR_ftruncate64]: Make code unconditional.
43700 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43702 include <kernel-features.h>.
43703 [!__NR_ftruncate64]: Remove conditional code.
43704 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43705 [__NR_ftruncate64]: Make code unconditional.
43706 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43708 include <kernel-features.h>.
43709 [!__NR_ftruncate64]: Remove conditional code.
43710 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43711 [__NR_ftruncate64]: Make code unconditional.
43712 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43713
4da0431d
JM
43714 * configure.in (libc_cv_fpie): Weaken to a compile test using
43715 LIBC_TRY_CC_OPTION.
43716 * configure: Regenerated.
43717
11ef492c
AK
437182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43719
43720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43724 Refreshed.
43725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43731 Refreshed.
43732
d66ef399
DM
437332012-05-27 David S. Miller <davem@davemloft.net>
43734
43735 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43736 (___Q_zero): New.
43737 (__Q_simulate_exceptions): Return void. Change to simulate
43738 exceptions by writing into the %fsr.
43739 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43740 (__Qp_handle_exceptions): Likewise.
43741 (numbers): Delete.
43742 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43743 __Qp_handle_exceptions.
43744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43745 __Qp_handle_exceptions.
43746 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43747 as unused and give dummy FP_RND_NEAREST initializer.
43748 (FP_INHIBIT_RESULTS): Define.
43749 (___Q_simulate_exceptions): Update declaration.
43750 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43751 formatting.
43752 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43753 as unused and give dummy FP_RND_NEAREST initializer.
43754 (__Qp_handle_exceptions): Update declaration.
43755 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43756 formatting.
43757
04fb54b5
TS
437582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
43759
43760 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43761 the temporary FPU control word.
43762 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43763 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43765 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43766 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43767 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43768 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43769 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43770 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43771 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43772 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43773
3f99608f
KK
437742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43775
43776 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43777 fields.
43778
65a4de4e
CLT
437792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
43780
43781 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43782 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43783 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43784 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43785 Likewise.
43786 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43787 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43788 Likewise.
43789
15749d40
UD
437902012-05-27 Ulrich Drepper <drepper@gmail.com>
43791
43792 * po/h.po: Update from translation team.
43793
25dbcb27
AS
437942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
43795
3d3f8e55
AS
43796 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43797
25dbcb27
AS
43798 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43799 handling of denormals.
43800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43801 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43802 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43803 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43807 Likewise.
43808
7ad47a80 438092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
43810
43811 [BZ #14152]
43812 * math/libm-test.inc (fma_test): Don't always expect underflow
43813 exception.
43814
9c6ea9fa
SP
438152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43816
43817 [BZ #12416]
43818 * elf/tst-execstack.c: Include stackinfo.h.
43819 (do_test): Adjust test case to ensure that pthread_getattr_np
43820 behaviour remains the same after marking stack executable.
43821
a8239222
JM
438222012-05-25 Joseph Myers <joseph@codesourcery.com>
43823
43824 * sysdeps/unix/sysv/linux/kernel-features.h
43825 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43826 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43827 kernel-features.h.
43828 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43829 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43830 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43831 kernel-features.h.
43832 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43833 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43834
918b5606
L
438352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
43836
43837 * configure.in: Define the default includes to being none.
43838 * configure: Regenerated.
43839
3a097cc7
RM
438402012-05-25 Roland McGrath <roland@hack.frob.com>
43841
8422c9a5
RM
43842 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43843 * sysdeps/x86_64/setjmp.S: Likewise.
43844 * sysdeps/i386/bsd-setjmp.S: Likewise.
43845 * sysdeps/i386/bsd-_setjmp.S: Likewise.
43846 * sysdeps/i386/setjmp.S: Likewise.
43847 * sysdeps/i386/__longjmp.S: Likewise.
43848 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43849 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43850
3a097cc7
RM
43851 * include/stap-probe.h: New file.
43852 * configure.in: Handle --enable-systemtap.
43853 * configure: Regenerated.
43854 * config.h.in (USE_STAP_PROBE): New #undef.
43855 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43856 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43857 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43858
21708942
JM
438592012-05-25 Joseph Myers <joseph@codesourcery.com>
43860
43861 [BZ #13717]
43862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43863 to 2.4.0 where earlier.
43864 * sysdeps/unix/sysv/linux/configure: Regenerated.
43865 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43866 <kernel-features.h>.
43867 [__ASSUME_32BITUIDS]: Make code unconditional.
43868 [!__ASSUME_32BITUIDS]: Remove conditional code.
43869 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43870 <kernel-features.h>.
43871 [__ASSUME_32BITUIDS]: Make code unconditional.
43872 [!__ASSUME_32BITUIDS]: Remove conditional code.
43873 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43874 [__ASSUME_32BITUIDS]: Make code unconditional.
43875 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43876 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43877 <kernel-features.h>.
43878 [__ASSUME_32BITUIDS]: Make code unconditional.
43879 [!__ASSUME_32BITUIDS]: Remove conditional code.
43880 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43881 <kernel-features.h>.
43882 [__ASSUME_32BITUIDS]: Make code unconditional.
43883 [!__ASSUME_32BITUIDS]: Remove conditional code.
43884 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43885 <kernel-features.h>.
43886 [__ASSUME_32BITUIDS]: Make code unconditional.
43887 [!__ASSUME_32BITUIDS]: Remove conditional code.
43888 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43889 <kernel-features.h>.
43890 [__ASSUME_32BITUIDS]: Make code unconditional.
43891 [!__ASSUME_32BITUIDS]: Remove conditional code.
43892 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43893 <kernel-features.h>.
43894 [__ASSUME_32BITUIDS]: Make code unconditional.
43895 [!__ASSUME_32BITUIDS]: Remove conditional code.
43896 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43897 <kernel-features.h>.
43898 [__ASSUME_32BITUIDS]: Make code unconditional.
43899 [!__ASSUME_32BITUIDS]: Remove conditional code.
43900 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43901 <kernel-features.h>.
43902 [__ASSUME_32BITUIDS]: Make code unconditional.
43903 [!__ASSUME_32BITUIDS]: Remove conditional code.
43904 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43905 <kernel-features.h>.
43906 [__ASSUME_32BITUIDS]: Make code unconditional.
43907 [!__ASSUME_32BITUIDS]: Remove conditional code.
43908 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43909 <kernel-features.h>.
43910 [__ASSUME_32BITUIDS]: Make code unconditional.
43911 [!__ASSUME_32BITUIDS]: Remove conditional code.
43912 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43913 <kernel-features.h>.
43914 [__ASSUME_32BITUIDS]: Make code unconditional.
43915 [!__ASSUME_32BITUIDS]: Remove conditional code.
43916 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43917 <kernel-features.h>.
43918 [__NR_setresgid] (__setresgid): Do not declare.
43919 [__ASSUME_32BITUIDS]: Make code unconditional.
43920 [!__ASSUME_32BITUIDS]: Remove conditional code.
43921 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43922 <kernel-features.h>.
43923 [__NR_setresuid] (__setresuid): Do not declare.
43924 [__ASSUME_32BITUIDS]: Make code unconditional.
43925 [!__ASSUME_32BITUIDS]: Remove conditional code.
43926 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43927 <kernel-features.h>.
43928 [__ASSUME_32BITUIDS]: Make code unconditional.
43929 [!__ASSUME_32BITUIDS]: Remove conditional code.
43930 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43931 <kernel-features.h>.
43932 [__ASSUME_32BITUIDS]: Make code unconditional.
43933 [!__ASSUME_32BITUIDS]: Remove conditional code.
43934 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43935 <kernel-features.h>.
43936 [__ASSUME_32BITUIDS]: Make code unconditional.
43937 [!__ASSUME_32BITUIDS]: Remove conditional code.
43938 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43939 <kernel-features.h>.
43940 [__ASSUME_32BITUIDS]: Make code unconditional.
43941 [!__ASSUME_32BITUIDS]: Remove conditional code.
43942 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43943 <kernel-features.h>.
43944 [__ASSUME_32BITUIDS]: Make code unconditional.
43945 [!__ASSUME_32BITUIDS]: Remove conditional code.
43946 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43947 <kernel-features.h>.
43948 [__ASSUME_32BITUIDS]: Make code unconditional.
43949 [!__ASSUME_32BITUIDS]: Remove conditional code.
43950 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43951 <kernel-features.h>.
43952 [__ASSUME_32BITUIDS]: Make code unconditional.
43953 [!__ASSUME_32BITUIDS]: Remove conditional code.
43954 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43955 <kernel-features.h>.
43956 [__ASSUME_32BITUIDS]: Make code unconditional.
43957 [!__ASSUME_32BITUIDS]: Remove conditional code.
43958 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43959 <kernel-features.h>.
43960 [__ASSUME_32BITUIDS]: Make code unconditional.
43961 [!__ASSUME_32BITUIDS]: Remove conditional code.
43962 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43963 <kernel-features.h>.
43964 [__ASSUME_32BITUIDS]: Make code unconditional.
43965 [!__ASSUME_32BITUIDS]: Remove conditional code.
43966 * sysdeps/unix/sysv/linux/kernel-features.h
43967 (__ASSUME_SETRESUID_SYSCALL): Remove.
43968 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43969 (__ASSUME_32BITUIDS): Likewise.
43970 (__ASSUME_LDT_WORKS): Likewise.
43971 (__ASSUME_O_DIRECTORY): Likewise.
43972 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43973 architecture but not kernel version.
43974 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43975 (__ASSUME_MMAP2_SYSCALL): Likewise.
43976 (__ASSUME_STAT64_SYSCALL): Likewise.
43977 (__ASSUME_IPC64): Likewise.
43978 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43979 <kernel-features.h>.
43980 [__ASSUME_32BITUIDS]: Make code unconditional.
43981 [!__ASSUME_32BITUIDS]: Remove conditional code.
43982 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43983 <kernel-features.h>.
43984 [__ASSUME_O_DIRECTORY]: Make code unconditional.
43985 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43986 132096]: Remove conditional code.
43987 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43988 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43989 <kernel-features.h>.
43990 [__ASSUME_32BITUIDS]: Make code unconditional.
43991 [!__ASSUME_32BITUIDS]: Remove conditional code.
43992 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43993 <kernel-features.h>.
43994 [__ASSUME_32BITUIDS]: Make code unconditional.
43995 [!__ASSUME_32BITUIDS]: Remove conditional code.
43996 * sysdeps/unix/sysv/linux/setegid.c: Do not include
43997 <kernel-features.h>.
43998 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43999 unconditional.
44000 (__setresgid): Do not declare.
44001 [__ASSUME_32BITUIDS]: Make code unconditional.
44002 [!__ASSUME_32BITUIDS]: Remove conditional code.
44003 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44004 <kernel-features.h>.
44005 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44006 unconditional.
44007 (__setresuid): Do not declare.
44008 [__ASSUME_32BITUIDS]: Make code unconditional.
44009 [!__ASSUME_32BITUIDS]: Remove conditional code.
44010 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44011 <kernel-features.h>.
44012 [__ASSUME_32BITUIDS]: Make code unconditional.
44013 [!__ASSUME_32BITUIDS]: Remove conditional code.
44014 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44015 <kernel-features.h>.
44016 [__ASSUME_32BITUIDS]: Make code unconditional.
44017 [!__ASSUME_32BITUIDS]: Remove conditional code.
44018
a386f1cc
RH
440192012-05-25 Richard Henderson <rth@twiddle.net>
44020
44021 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44022 dl_hwcap to ifunc resolver.
44023 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44024 elf_ifunc_invoke.
44025 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44026 dl_hwcap to ifunc resolver.
44027 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44028
b6550497
JM
440292012-05-24 Joseph Myers <joseph@codesourcery.com>
44030
44031 [BZ #14153]
44032 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44033 for |x| <= 2**-26, not 2**-57.
44034 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44035 exception.
44036
b0bc23a1
JL
440372012-05-24 Jeff Law <law@redhat.com>
44038
44039 * stdio-common/Makefile (tests): Add bug25.
44040 * stdio-common/bug25.c: New test.
44041
347c92e9
L
440422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44043
44044 [BZ #13576]
44045 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44046 multiple of MALLOC_ALIGNMENT in size.
44047 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44048
6bcc8b3f
JM
440492012-05-24 Joseph Myers <joseph@codesourcery.com>
44050
44051 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44052 Require >= 256.
44053 (FILENAME_MAX): Use macro-int-constant.
44054 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44055 (_IOFBF): Use macro-int-constant.
44056 (_IOLBF): Likewise.
44057 (_IONBF): Likewise.
44058 (SEEK_CUR): Likewise.
44059 (SEEK_END): Likewise.
44060 (SEEK_SET): Likewise.
44061 (TMP_MAX): Likewise.
44062 (EOF): Use macro-int-constant. Require < 0.
44063 (NULL): Use macro-constant. Require == 0.
44064 (stdin): Require type to be FILE *.
44065 (stdout): Likewise.
44066 (stderr): Likewise.
44067 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44068 macro-int-constant.
44069 (EXIT_SUCCESS): Likewise.
44070 (NULL): Use macro-constant. Require == 0.
44071 (RAND_MAX): Use macro-int-constant.
44072 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44073 [C99-based standards] (strtof): Require function.
44074 [C99-based standards] (strtold): Likewise.
44075 [C99-based standards] (strtoll): Likewise.
44076 [C99-based standards] (strtoull): Likewise.
44077 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44078 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44079 [ISO || ISO99 || ISO11] (math.h): Likewise.
44080 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44081 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44082 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44083
d18ea0c5
AS
440842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44085
44086 [BZ #14132]
56d25bb8
AS
44087 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44088 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44089 * intl/dgettext.c (DCGETTEXT): Likewise.
44090 * intl/gettext.c (DCGETTEXT): Likewise.
44091 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44092 * posix/regex_internal.h (gettext): Likewise.
44093 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44094 Remove declaration.
44095 * include/argz.h (__argz_count_internal)
44096 (__argz_stringify_internal): Remove declaration.
44097 (__argz_count, __argz_stringify): Declare hidden proto.
44098 * intl/dcgettext.c: Remove use of INTDEF.
44099 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44100 * string/argz-stringify.c: Likewise.
44101 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44102 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44103 Declare hidden proto.
d18ea0c5
AS
44104 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44105 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44106 Declare hidden proto.
44107 * include/stdio.h (__asprintf_internal): Don't declare.
44108 (__asprintf): Don't define as macro. Declare hidden proto.
44109 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44110 (__fsetlocking): Declare hidden proto.
44111 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44112 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44113 hidden proto.
44114 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44115 (_IO_setlinebuf): Remove use of INTUSE.
44116 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44117 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44118 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44119 Remove declaration.
44120 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44121 (_IO_do_flush): Remove use of INTUSE.
44122 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44123 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44124 (_IO_adjust_column, _IO_least_wmarker)
44125 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44126 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44127 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44128 (_IO_default_doallocate, _IO_wdefault_doallocate)
44129 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44130 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44131 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44132 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44133 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44134 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44135 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44136 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44137 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44138 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44139 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44140 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44141 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44142 proto.
44143 (_IO_flush_all_internal, _IO_adjust_column_internal)
44144 (_IO_default_uflow_internal, _IO_default_finish_internal)
44145 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44146 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44147 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44148 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44149 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44150 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44151 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44152 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44153 (_IO_file_close_internal, _IO_file_close_it_internal)
44154 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44155 (_IO_file_init_internal, _IO_file_attach_internal)
44156 (_IO_file_fopen_internal, _IO_file_read_internal)
44157 (_IO_file_sync_internal, _IO_file_seek_internal)
44158 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44159 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44160 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44161 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44162 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44163 (_IO_list_all_internal, _IO_link_in_internal)
44164 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44165 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44166 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44167 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44168 (_IO_do_write_internal, _IO_padn_internal)
44169 (_IO_getline_info_internal, _IO_getline_internal)
44170 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44171 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44172 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44173 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44174 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44175 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44176 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44177 with libc_hidden_ver, remove use of INTUSE.
44178 * libio/genops.c: Likewise.
44179 * libio/freopen.c: Likewise.
44180 * libio/freopen64.c: Likewise.
44181 * libio/iofclose.c: Likewise.
44182 * libio/iofdopen.c: Likewise.
44183 * libio/iofflush.c: Likewise.
44184 * libio/iofflush_u.c: Likewise.
44185 * libio/iofgets.c: Likewise.
44186 * libio/iofgets_u.c: Likewise.
44187 * libio/iofopen.c: Likewise.
44188 * libio/iofopncook.c: Likewise.
44189 * libio/iofread.c: Likewise.
44190 * libio/iofread_u.c: Likewise.
44191 * libio/ioftell.c: Likewise.
44192 * libio/iofwrite.c: Likewise.
44193 * libio/iogetline.c: Likewise.
44194 * libio/iogets.c: Likewise.
44195 * libio/iogetwline.c: Likewise.
44196 * libio/iopadn.c: Likewise.
44197 * libio/iopopen.c: Likewise.
44198 * libio/ioseekoff.c: Likewise.
44199 * libio/ioseekpos.c: Likewise.
44200 * libio/iosetbuffer.c: Likewise.
44201 * libio/iosetvbuf.c: Likewise.
44202 * libio/ioungetc.c: Likewise.
44203 * libio/ioungetwc.c: Likewise.
44204 * libio/iovdprintf.c: Likewise.
44205 * libio/iovsprintf.c: Likewise.
44206 * libio/iovsscanf.c: Likewise.
44207 * libio/memstream.c: Likewise.
44208 * libio/obprintf.c: Likewise.
44209 * libio/oldfileops.c: Likewise.
44210 * libio/oldiofclose.c: Likewise.
44211 * libio/oldiofdopen.c: Likewise.
44212 * libio/oldiofopen.c: Likewise.
44213 * libio/oldiopopen.c: Likewise.
44214 * libio/oldstdfiles.c: Likewise.
44215 * libio/putc.c: Likewise.
44216 * libio/setbuf.c: Likewise.
44217 * libio/setlinebuf.c: Likewise.
44218 * libio/stdfiles.c: Likewise.
44219 * libio/strops.c: Likewise.
44220 * libio/vasprintf.c: Likewise.
44221 * libio/vscanf.c: Likewise.
44222 * libio/vsnprintf.c: Likewise.
44223 * libio/vswprintf.c: Likewise.
44224 * libio/wfiledoalloc.c: Likewise.
44225 * libio/wfileops.c: Likewise.
44226 * libio/wgenops.c: Likewise.
44227 * libio/wmemstream.c: Likewise.
44228 * libio/wstrops.c: Likewise.
44229 * libio/__fpurge.c: Likewise.
44230 * libio/__fsetlocking.c: Likewise.
44231 * assert/assert.c: Likewise.
44232 * debug/fgets_chk.c: Likewise.
44233 * debug/fgets_u_chk.c: Likewise.
44234 * debug/fread_chk.c: Likewise.
44235 * debug/fread_u_chk.c: Likewise.
44236 * debug/gets_chk.c: Likewise.
44237 * debug/obprintf_chk.c: Likewise.
44238 * debug/vasprintf_chk.c: Likewise.
44239 * debug/vdprintf_chk.c: Likewise.
44240 * debug/vsnprintf_chk.c: Likewise.
44241 * debug/vsprintf_chk.c: Likewise.
44242 * malloc/mtrace.c: Likewise.
44243 * misc/error.c: Likewise.
44244 * misc/syslog.c: Likewise.
44245 * stdio-common/asprintf.c: Likewise.
44246 * stdio-common/fxprintf.c: Likewise.
44247 * stdio-common/getw.c: Likewise.
44248 * stdio-common/isoc99_fscanf.c: Likewise.
44249 * stdio-common/isoc99_scanf.c: Likewise.
44250 * stdio-common/isoc99_vfscanf.c: Likewise.
44251 * stdio-common/isoc99_vscanf.c: Likewise.
44252 * stdio-common/isoc99_vsscanf.c: Likewise.
44253 * stdio-common/printf-prs.c: Likewise.
44254 * stdio-common/printf_fp.c: Likewise.
44255 * stdio-common/printf_fphex.c: Likewise.
44256 * stdio-common/printf_size.c: Likewise.
44257 * stdio-common/putw.c: Likewise.
44258 * stdio-common/scanf.c: Likewise.
44259 * stdio-common/sprintf.c: Likewise.
44260 * stdio-common/tmpfile.c: Likewise.
44261 * stdio-common/vfprintf.c: Likewise.
44262 * stdio-common/vfscanf.c: Likewise.
44263 * stdlib/strfmon_l.c: Likewise.
44264 * sunrpc/openchild.c: Likewise.
44265 * sunrpc/xdr_stdio.c: Likewise.
44266 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44267 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44268
d6c33fda
RM
442692012-05-24 Roland McGrath <roland@hack.frob.com>
44270
c1487492
RM
44271 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44272
44273 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44274 in the third column, to generate for the shared library an IFUNC
44275 that uses _dl_vdso_vsym.
44276 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44277 * Makeconfig (object-suffixes-noshared): New variable.
44278
44279 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44280 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44281 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44282 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44283
d6c33fda
RM
44284 [BZ #14132]
44285 * include/sys/time.h (__gettimeofday): Remove macro.
44286 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44287 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44288 Remove INTDEF.
44289 (__gettimeofday): Add libc_hidden_def.
44290 (gettimeofday): Add libc_hidden_weak.
44291 * sysdeps/mach/gettimeofday.c: Likewise.
44292 * sysdeps/posix/gettimeofday.c: Likewise.
44293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44294 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44295 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44296 (__gettimeofday_internal): Remove strong_alias.
44297 (__gettimeofday): Add libc_hidden_def.
44298 (gettimeofday): Add libc_hidden_weak.
44299 * sysdeps/unix/syscalls.list (gettimeofday):
44300 Remove __gettimeofday_internal alias.
44301
b5a2bbe6
L
443022012-05-24 Daniel Jacobowitz <drow@false.org>
44303 H.J. Lu <hongjiu.lu@intel.com>
44304
44305 [BZ #12495]
44306 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44307 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44308 (largebin_index_32_big): New.
44309 (largebin_index): Use it for 16-byte alignment.
44310 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44311 correction with front_misalign.
44312
cfba4fda
L
443132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44314
7f907421
L
44315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44317 Likewise.
44318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44319 Likewise.
44320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44321 Likewise.
44322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44323 Likewise.
44324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44325 Likewise.
44326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44327 Likewise.
44328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44329 Likewise.
44330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44331 Likewise.
44332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44333 Likewise.
44334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44335 Likewise.
44336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44337 Likewise.
44338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44339 Likewise.
44340
cfba4fda
L
44341 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44342 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44343
80bad0cc
JM
443442012-05-24 Joseph Myers <joseph@codesourcery.com>
44345
7a25eb06
JM
44346 [BZ #10846]
44347 [BZ #14036]
44348 * math/libm-test.inc (exp_test): Add test from bug 14036.
44349 (pow_test): Add test from bug 10846.
44350
795405f9
JM
44351 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44352 and other flags.
44353 (special_function): Do not include flags in test name.
44354 (parse_args): Likewise.
44355 * sysdeps/i386/fpu/libm-test-ulps: Update.
44356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44357 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44358 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44360
80bad0cc
JM
44361 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44362 exceptions.
44363 * math/libm-test.inc ("Philosophy"): Update comment about
44364 exception testing.
44365 (UNDERFLOW_EXCEPTION): New macro.
44366 (UNDERFLOW_EXCEPTION_OK): Likewise.
44367 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44368 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44369 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44370 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44371 (INVALID_EXCEPTION_OK): Update value.
44372 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44373 (OVERFLOW_EXCEPTION_OK): Likewise.
44374 (IGNORE_ZERO_INF_SIGN): Likewise.
44375 (test_exceptions): Handle underflow exceptions.
44376 (acos_test): Update for underflow exception expectations.
44377 (cexp_test): Likewise.
44378 (clog_test): Likewise.
44379 (clog10_test): Likewise.
44380 (csqrt_test): Likewise.
44381 (ctan_test): Likewise.
44382 (ctanh_test): Likewise.
44383 (exp_test): Likewise.
44384 (exp10_test): Likewise.
44385 (exp2_test): Likewise.
44386 (expm1_test): Likewise.
44387 (fma_test): Likewise.
44388 (j0_test): Likewise.
44389 (jn_test): Likewise.
44390 (nexttoward_test): Likewise.
44391 (pow_test): Likewise.
44392 (scalbn_test): Likewise.
44393 (scalbln_test): Likewise.
44394 (tan_test): Likewise.
44395 (y1_test): Likewise.
44396 * sysdeps/i386/fpu/libm-test-ulps: Update.
44397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44398
9e0e3d0b
DM
443992012-05-23 David S. Miller <davem@davemloft.net>
44400
44401 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44402 (__libc_sigaction): Remove unused local variables.
44403
ccd0a08f
L
444042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44405
44406 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44407
62bdf9a6
PE
444082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44409
f8591f80
PE
44410 mktime: avoid signed integer overflow
44411 * time/mktime.c (__mktime_internal): Do not mishandle the case
44412 where diff == INT_MIN.
44413
94c7d826
PE
44414 mktime: simplify computation of average
44415 * time/mktime.c (ranged_convert): Use new time_t_avg function
44416 instead of rolling our own (probably-slower) code.
44417
ce73d683
PE
44418 mktime: do not assume signed right shift propagates sign bit
44419 * time/mktime.c (isdst_differ): New static function.
44420 (__mktime_internal): No need to normalize tm_isdst now.
44421 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44422 tm_isdst values.
44423
72a22e59
PE
44424 mktime: merge another wrapv change from gnulib
44425 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44426 from some compilers.
44427
68605433
PE
44428 mktime: remove incorrect attempt at unusual arithmetics
44429 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44430 The code didn't really work on such machines anyway.
44431 (TYPE_MINIMUM): Assume two's complement.
44432 (twos_complement_arithmetic): Verify that long_int and time_t
44433 are two's complement (or unsigned, in the latter case).
44434
03cf7fe3
PE
44435 mktime: check signed shifts on long_int and time_t, too
44436 * time/mktime.c (SHR): Check that shifts work as desired
44437 on the types long_int and time_t too, as SHR is used on
44438 such types.
44439
f04dfbc2
PE
44440 mktime: do not assume 'long' is wide enough
44441 * time/mktime.c (verify): Move decl up.
44442 (long_int): New type.
44443 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44444 to remove assumption in the code that 'long' is wide enough to
44445 store year values. This assumption is not true on x32 and on
44446 some non-glibc platforms.
44447
62bdf9a6
PE
44448 mktime: merge wrapv change from gnulib
44449 * time/mktime.c (WRAPV): New macro.
44450 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44451 (guess_time_tm, __mktime_internal): Do not assume that signed
44452 integer overflow wraps around; modern compilers generate code
44453 where this assumption is no longer valid.
44454
5e292e4f
L
444552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44456
44457 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44458 Replace "jmp L(pseudo_end)" with "ret".
44459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44460 Likewise.
44461
8caf8c87
AJ
444622012-05-23 Andreas Jaeger <aj@suse.de>
44463
44464 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44465 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44466
1a09dc56
AJ
444672012-05-23 Andreas Jaeger <aj@suse.de>
44468 Maximilian Attems <max@stro.at>
44469
44470 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44471 New macros.
44472
1c87aba0
L
444732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44474
44475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44476 code so that pseudo_end is just ret and the stack pointer is
44477 correct also for static library in error case.
44478
40e45bd5
JM
444792012-05-23 Joseph Myers <joseph@codesourcery.com>
44480
c2670533
JM
44481 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44482 move to syscalls.list.
44483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44487
40e45bd5
JM
44488 * manual/install.texi (Running make install): Do not mention Linux
44489 kernel version for which pt_chown is not needed.
44490 (Linux): Do not mention problems with nscd with 2.0 kernels.
44491 * INSTALL: Regenerated.
44492
be08eda5
AJ
444932012-05-23 Andreas Jaeger <aj@suse.de>
44494
44495 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44496 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44497 macro.
44498 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44499 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44500 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44501 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44502 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44503 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44504 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44505 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44506 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44507 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44508 * sysdeps/unix/sysv/linux/bits/in.h
44509 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44510
a6a056bb
RM
445112012-05-22 Roland McGrath <roland@hack.frob.com>
44512
44513 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44514 (PREPARE_VERSION): Just use assert instead, it will be elided
44515 under [NDEBUG] anyway.
44516
c9009328
L
445172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44518
44519 * sysdeps/unix/sysv/linux/Makefile: Include
44520 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 44521 (sysdep_routines): Remove sysctl.
c9009328
L
44522 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44523 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44524 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44525 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44526 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44527
73338355
AJ
445282012-05-22 Andreas Jaeger <aj@suse.de>
44529
44530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44531 that pseudo_end is just ret and the stack pointer is correct also
44532 for static library in error case.
44533
d44638b0
PP
445342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44535
44536 [BZ #14122]
44537 * nss/nsswitch.c (defconfig_entries): New variable.
44538 (__nss_database_lookup): Don't leak defconfig entries.
44539 (nss_parse_service_list): Don't leak on error paths.
44540 (free_database_entries): New function.
44541 (free_defconfig): New function.
44542 (free_mem): Move common code to free_database_entries.
44543
31a39bd8
L
445442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44545
da0331a8
L
44546 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44547 Add arch_prctl.
44548 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44549
31a39bd8
L
44550 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44551 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44553 New macro.
44554 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44555 (INTERNAL_SYSCALL_TYPES): Likewise.
44556 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44557 (LOAD_REGS_TYPES_[1-6]): Likewise.
44558 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44559 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44560
45470df3
AZ
445612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44562
44563 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44564 copysignl for GLIBC_2_0.
44565 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44566 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44568 logbl for GLIBC_2_0.
44569 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44570 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44571
98a61bcb
L
445722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44573
a4f6e481
L
44574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44575 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44576
f63d5db6
L
44577 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44578 Use "neg %eax".
44579
98a61bcb
L
44580 * time/mktime.c: Update copyright years.
44581
95770f14
PE
445822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
44583
6226efbd
PE
44584 mktime: merge comment-quoting-style change from gnulib
44585 * time/mktime.c: Quote 'like this' in comments.
44586 The GNU coding standards suggest that we no longer quote `like this',
44587 as "`" and "'" are typically rendered asymmetrically nowadays.
44588 The typical gnulib style is to quote 'like this' when quoting
44589 code, and "like this" when quoting English.
44590
b99e4f78
PE
44591 * time/mktime.c (compile-command): Add "-I.".
44592
643e01e6
PE
44593 mktime: merge mktime-internal.h change from gnulib
44594 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44595
2554247d
PE
44596 mktime: merge time_r change from gnulib
44597 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44598
826dd0ab
PE
44599 mktime: merge DEBUG change from gnulib
44600 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44601 case system <time.h> has a #define.
44602
bd83aabe
PE
44603 mktime: merge <sys/types.h> change from gnulib
44604 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44605 since <time.t> is now guaranteed to define time_t.
44606
95770f14
PE
44607 mktime: merge HAVE_CONFIG_H change from gnulib
44608 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44609
5e1a27a9
L
446102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44611
0e44a77e
L
44612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44613 Use "neg %eax".
44614
5e1a27a9
L
44615 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44616 __rlim_t cast.
44617 (struct rusage): Use anonymous union to pad each field to
44618 __syscall_slong_t.
44619
46259bec
DM
446202012-05-21 David S. Miller <davem@davemloft.net>
44621
44622 * Makefules (o-iterator): Remove .s cases.
44623 (compile-command.s): Delete.
44624 (COMPILE.s): Delete.
44625 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44626
59f0c22e
JM
446272012-05-21 Joseph Myers <joseph@codesourcery.com>
44628
44629 * configure.in (libc_cv_predef_stack_protector): Only consider
44630 "foobar" and "__stack_chk_fail" lines in libc_undefs.
44631 * configure: Regenerated.
44632
20c07380
L
446332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44634
bbb3154b
L
44635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44636 New macro. Use R*LP on int and pointer.
44637 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
44638 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44639 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
44640 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44641
20c07380
L
44642 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44643 [__WORDSIZE_TIME64_COMPAT32] instead of
44644 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44645 (struct utmp): Likewise.
44646 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44647 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44648 Renamed to ...
44649 (__WORDSIZE_TIME64_COMPAT32): This.
44650 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44651 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44652 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44653 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44654 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44655 (__WORDSIZE_TIME64_COMPAT32): New macro.
44656
d8d1017e
AJ
446572012-05-21 Andreas Jaeger <aj@suse.de>
44658
44659 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44660 only if [SHARED]. Add prototype for __wcschr_ia32.
44661
6c7fb145
RM
446622012-05-21 Roland McGrath <roland@hack.frob.com>
44663
44664 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44665 of %rbp unmolested in the jmp_buf while mangling the low bits.
44666 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44667 unmolested high bits of %rbp while demangling the low bits.
44668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44669
66274218
AJ
446702012-05-21 Andreas Jaeger <aj@suse.de>
44671
07c58f8f
AJ
44672 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44673 * sunrpc/svc_simple.c: Use it for registerrpc.
44674 * sunrpc/xcrypt.c: Use it for passwd2des.
44675
66274218
AJ
44676 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44677
61f65140
L
446782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44679
44680 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44681 Don't define if [__SYSCALL_WORDSIZE != 32].
44682 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44683 New macro.
44684
5fefb436
AJ
446852012-05-21 Bruno Haible <bruno@clisp.org>
44686 Andreas Jaeger <aj@suse.de>
44687
44688 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44689 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44690 inptr and inend for must_buffer_ch.
44691 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44692 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44693 * stdio-common/Makefile (tests): Remove bug15.
44694 (bug15-ENV): Remove macro.
44695 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44696 anymore.
44697
d8e272ab
AJ
446982012-05-19 Andreas Jaeger <aj@suse.de>
44699 Roland McGrath <roland@hack.frob.com>
44700
44701 * manual/contrib.texi: Completely rewritten. It contains now an
44702 alphabetical list of contributors and their contributions.
44703
4a56a162
RH
447042012-05-21 Richard Henderson <rth@twiddle.net>
44705
44706 * misc/getauxval.c (__getauxval): Use unsigned long int.
44707 * misc/sys/auxv.h: Include <sys/cdefs.h>.
44708 (getauxval): Use unsigned long int.
44709
d024d23c
L
447102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44711
44712 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44713
cbc00a03
RM
447142012-05-21 Roland McGrath <roland@hack.frob.com>
44715
44716 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44717 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44718 __alignof__ (long double).
44719
478143fa
AZ
447202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44721
44722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44723
c7683a6d
RH
447242012-05-20 Richard Henderson <rth@twiddle.net>
44725
44726 * misc/getauxval.c: New file.
44727 * misc/sys/auxv.h: New file.
44728 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44729 (routines): Add getauxval.
44730 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44731 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44732 * elf/dl-sysdep.c (_dl_auxv): Remove.
44733 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44734 * elf/dl-support.c (_dl_auxv): New variable.
44735 (_dl_aux_init): Initialize it.
44736 * manual/startup.texi (Auxiliary Vector): New node.
44737 * sysdeps/generic/bits/hwcap.h: New file.
44738 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44739 * sysdeps/powerpc/sysdep.h: ... here. Include it.
44740 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44741 * sysdeps/sparc/sysdep.h: ... here. Include it.
44742 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
44744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44745 Update.
c7683a6d
RH
44746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44754
a6f1845d
AZ
447552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44756
44757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44758
cbcbe830
DM
447592012-05-19 David S. Miller <davem@davemloft.net>
44760
44761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44762
e0b16cc2
JM
447632012-05-19 Joseph Myers <joseph@codesourcery.com>
44764
44765 [BZ #14123]
44766 * math/s_ccosh.c: Include <float.h>
44767 (__ccosh): Avoid internal overflow calculating sinh and cosh
44768 values before multiplying by sin and cos values.
44769 * math/s_ccoshf.c: Likewise.
44770 * math/s_ccoshl.c: Likewise.
44771 * math/s_csin.c: Likewise.
44772 * math/s_csinf.c: Likewise.
44773 * math/s_csinl.c: Likewise.
44774 * math/s_csinh.c: Likewise.
44775 * math/s_csinhf.c: Likewise.
44776 * math/s_csinhl.c: Likewise.
44777 * math/libm-test.inc (ccos_test): Add more tests.
44778 (ccosh_test): Likewise.
44779 (csin_test): Likewise.
44780 (csinh_test): Likewise.
44781 * sysdeps/i386/fpu/libm-test-ulps: Update.
44782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44783
6ad13e08
L
447842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
44785
f66f0ce8
L
44786 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44787 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44788
6ad13e08
L
44789 * sysdeps/x86_64/x32/_itoa.h: Add comment.
44790
b1d072a7
JM
447912012-05-19 Joseph Myers <joseph@codesourcery.com>
44792
44793 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44794 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44795 * sysdeps/powerpc/soft-fp/Versions: Likewise.
44796 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44797 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44798 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44799 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44800 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44801 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44802 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44803 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44804 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44805 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44806 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44807 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44808 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44809 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44810 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44811 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44812 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44813 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44814 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44815 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44816 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44817 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44818 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44819 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44820 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44821 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44822 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44823 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44824
9eae47cb
AJ
448252012-05-18 Andreas Jaeger <aj@suse.de>
44826
44827 * csu/.gitignore: Delete.
44828
bb07f69f
L
448292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44830
44831 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44832 (timex): Use __syscall_slong_t.
44833
e6bdb741
AJ
448342012-05-18 Andreas Jaeger <aj@suse.de>
44835 Carlos O'Donell <carlos_odonell@mentor.com>
44836
44837 * manual/install.texi (Configuring and compiling): Update
44838 description about files modified in the source directory.
d6c33fda 44839 * INSTALL: Regenerated.
e6bdb741 44840
1b74487e
L
448412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44842
44843 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44844 value. Use "or" to set return value to -1.
44845 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44846 negate return value.
44847
a88b64b9
TMQMF
448482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44849
57f41c40
AS
44850 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44851 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
44852 failure if the compiler has Graphite support disabled.
44853 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44854 Likewise.
57f41c40
AS
44855 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44856 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
44857 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44858 Likewise.
44859
3707636e
L
448602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44861
610b8622
L
44862 * sysdeps/x86_64/x32/_itoa.h: New file.
44863
7cd195df
L
44864 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44865 getdents system call only if kernel and user dirents have the
44866 same d_ino and d_off.
44867
94b07d20
L
44868 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44869 LLONG_MAX != LONG_MAX.
44870 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44871 (_fitoa_word): Likewise.
44872
18298070
L
44873 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44874 years.
44875 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44876 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44877 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44878
553c7ea4
L
44879 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44880 include <bits/wordsize.h>. Check __x86_64__ instead of
44881 __WORDSIZE.
44882 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44883 if __x86_64__ is defined. Use anonymous union on fpstate.
44884
3707636e
L
44885 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44886 anonymous union.
44887
b53ef01a
AS
448882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
44889
37fb1dc0
AS
44890 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44891 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44892 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44893 Refer to _rtld_local_ro instead of _rtld_global_ro.
44894 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44895 Likewise.
44896 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44897 Likewise.
44898 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44899 Likewise.
44900 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44901 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44902 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44903
b53ef01a
AS
44904 * sysdeps/powerpc/powerpc32/dl-machine.c
44905 (__elf_machine_runtime_setup) [PROF]: Don't reference
44906 _dl_prof_resolve.
44907
7a185db2
AJ
449082012-05-18 Andreas Jaeger <aj@suse.de>
44909
44910 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44911 function only available for GCCs before 3.4 since GCC 3.4
44912 introduced a builtin.
44913 (lrint): Likewise.
44914 (llrintf): Likewise.
44915 (llrint): Likewise.
44916 (fmaxf): Likewise.
44917 (fmax): Likewise.
44918 (fminf): Likewise.
44919 (fmin): Likewise.
44920 (rint): Likewise.
44921 (rintf): Likewise.
44922 (nearbyint): Likewise.
44923 (nearbyintf): Likewise.
44924 (ceil): Likewise.
44925 (ceilf): Likewise.
44926 (floor): Likewise.
44927 (floorf): Likewise.
44928
3e5aef87
L
449292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44930
428bd707
L
44931 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44932 on both fields and cast pointer to __syscall_ulong_t.
44933
3e5aef87
L
44934 * bits/types.h (__fsword_t): New type.
44935 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44936 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44938 (__FSWORD_T_TYPE): Likewise.
44939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44940 (__FSWORD_T_TYPE): Likewise.
44941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44942 (__FSWORD_T_TYPE): Likewise.
44943 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44944 (__FSWORD_T_TYPE): Likewise.
44945 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44946 __SWORD_TYPE with __fsword_t.
44947 (statfs64): Likewise.
44948
1ba7c3dc
DM
449492012-05-17 David S. Miller <davem@davemloft.net>
44950
44951 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44952
59910343
AJ
449532012-05-17 Andreas Jaeger <aj@suse.de>
44954
44955 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44956 warning.
44957
2e4c1e9e
L
449582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44959
44960 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44961
de7f5ce7
AJ
449622012-05-17 Andreas Jaeger <aj@suse.de>
44963
44964 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44965 when it is used.
44966
286abc3d
CM
449672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44968
44969 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44970
477cc68e
L
449712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44972
44973 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44974 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44975
1a0994f5
CD
449762012-05-17 Andreas Jaeger <aj@suse.de>
44977 Carlos O'Donell <carlos_odonell@mentor.com>
44978
44979 [BZ #14059]
44980 * sysdeps/x86_64/multiarch/init-arch.h
44981 (bit_YMM_Usable): Rename to...
44982 (bit_AVX_Usable): ... this.
44983 (bit_FMA4_Usable): New macro.
44984 (bit_XMM_state): New macro.
44985 (bit_YMM_state): New macro.
44986 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44987 [__ASSEMBLER__] (index_AVX_Usable): ... this.
44988 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44989 (CPUID_OSXSAVE): New macro.
44990 (CPUID_AVX): New macro.
44991 (CPUID_FMA4): New macro.
44992 (index_YMM_Usable): Rename to...
44993 (index_AVX_Usable): ... this.
44994 (HAS_AVX): Use HAS_ARCH_FEATURE.
44995 (HAS_FMA4): Likewise.
44996 (HAS_YMM_USABLE): Remove.
44997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44998 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44999 are present.
45000 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45001 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45002 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45003 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45004 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45005
0af797de
CM
450062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45007
45008 * math/libm-test.c: Support platforms without multiple rounding modes.
45009 * math/bug-nextafter.c: Support platforms without FP exceptions.
45010 * math/bug-nexttoward.c: Likewise.
45011 * math/test-fenv.c: Likewise.
45012 * math/test-misc.c: Likewise.
45013 * stdlib/bug-getcontext.c: Likewise.
45014
e39745ff
AJ
450152012-05-17 Andreas Jaeger <aj@suse.de>
45016
45017 * manual/examples/search.c (critter_cmp): Change signature to
45018 avoid warnings.
45019 * manual/string.texi (Collation Functions): Likewise.
45020
48970aba
L
450212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45022
45023 * bits/types.h: Fold copyright years.
45024 * bits/typesizes.h: Likewise.
45025 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45027 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45028 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45029 * time/time.h: Likewise.
45030
bedee953
PP
450312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45032
45033 [BZ #208]
45034 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45035 in instead of returning them. Return void.
45036 (__libc_mallinfo): Accumulate over all arenas.
45037 (__malloc_stats): Adjust for change in int_mallinfo interface.
45038
61653dfb
RM
450392012-05-16 Roland McGrath <roland@hack.frob.com>
45040
30b99d79
RM
45041 [BZ #10375]
45042 * configure.in (NM): Add AC_CHECK_TOOL for it.
45043 (libc_extra_cflags): New substituted variable.
45044 Check for -fstack-protector being used implicitly.
45045 * configure: Regenerated.
45046 * config.make.in (config-extra-cflags): New variable,
45047 gets @libc_extra_cflags@.
45048 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45049
61653dfb
RM
45050 [BZ #10375]
45051 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45052 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45053 * configure: Regenerated.
45054 * config.make.in (CPPUNDEFS): New substituted variable.
45055 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45056 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45057 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45058
661768bb
L
450592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45060
45061 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45062 (mq_attr): Use __syscall_slong_t.
45063
d4261567
L
450642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45065
45066 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45067 Check __x86_64__ instead of __WORDSIZE.
45068 (_STAT_VER_LINUX): Likewise.
45069 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45070 __syscall_ulong_t and __syscall_slong_t.
45071 (stat64): Likewise.
45072
cf3ff365
L
450732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45074
45075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45076
76cf3e4d
L
450772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45078
45079 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45080
a637753a
L
450812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45082
45083 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45084 __syscall_ulong_t.
45085
d5e05119
L
45086 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45087 include <bits/wordsize.h>. Check __x86_64__ instead of
45088 __WORDSIZE.
45089 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45090 defined.
45091 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45092
f62ee380
L
45093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45094 include <bits/wordsize.h>. Check __x86_64__ instead of
45095 __WORDSIZE.
45096 (user_regs_struct): Use "__extension__ unsigned long long"
45097 instead of "unsigned long" if __x86_64__ is defined.
45098 (user): Likewise. Pad after pointer field if __ILP32__ is
45099 defined.
45100
4e124ced
JM
451012012-05-16 Joseph Myers <joseph@codesourcery.com>
45102
6a3951a0
JM
45103 * configure.in (makeinfo): Require version 4.5 or later. Allow
45104 versions 5 to 9.
45105 * configure: Regenerated.
45106 * manual/install.texi (texinfo): Increase version requirement to
45107 4.5 or later.
45108 * INSTALL: Regenerated.
45109
4e124ced
JM
45110 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45111
953ca31a
L
451122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45113
45114 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45115
617aca05
L
45116 * sysdeps/x86_64/x32/ffs.c: New file.
45117
5762f7ae
L
45118 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45119 __syscall_ulong_t.
45120 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45121 defined. Use __syscall_ulong_t.
45122 (shminfo): Use __syscall_ulong_t.
45123 (shm_info): Likewise.
45124
a26b6856
L
45125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45126 __syscall_ulong_t.
45127
cb2b9ef7
L
45128 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45129 <bits/wordsize.h>.
45130 (msgqnum_t): Use __syscall_ulong_t.
45131 (msglen_t): Likewise.
45132 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45133 __syscall_ulong_t.
45134
34683bb0
L
45135 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45136 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45137
84a68786
L
45138 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45139
48baa5f1
L
45140 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45141 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45142
180be88b
L
45143 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45144 __syscall_slong_t.
45145
5e90c8ad
L
45146 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45147 include <bits/wordsize.h>. Check __x86_64__ instead of
45148 __WORDSIZE.
45149
23dfb58b
L
45150 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45151 "unsigned long long int" if __x86_64__ is defined.
45152 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45153
ce5d54b0
L
45154 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45155 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45156 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45157
13dc9eac
L
45158 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45159 <stdint.h>.
45160 (GET_PC): Cast to uintptr_t first.
45161 (GET_FRAME): Likewise.
45162 (GET_STACK): Likewise.
45163
a7895d15
L
45164 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45165 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45166 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45167 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45168 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45169 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45170 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45171 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45172 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45173 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45174 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45175 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45176 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45177 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45178 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45179 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45180 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45181 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45182 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45183 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45184 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45189 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45190 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45191 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45192 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45193
656416c9
AS
451942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45195
5bd66283
AS
45196 * Makerules (+depfiles): Also collect depfiles from .oS in
45197 $(extra-objs).
45198 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45199 .oS, $(libnldbl-routines)).
45200
656416c9
AS
45201 * Makerules (native-compile-mkdep-flags): Define.
45202 * sunrpc/Makefile (extra-objs): Add $(addprefix
45203 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45204 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45205 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45206 calling $(make-target-directory).
45207
a46f2169
L
452082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45209
45210 * bits/types.h (__snseconds_t): Removed.
45211 * time/time.h (struct timespec): Replace __snseconds_t with
45212 __syscall_slong_t.
45213 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45214 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45215 Likewise.
45216 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45217 (__SNSECONDS_T_TYPE): Likewise.
45218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45219 (__SNSECONDS_T_TYPE): Likewise.
45220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45221 (__SNSECONDS_T_TYPE): Likewise.
45222
6af6528b
L
452232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45224
45225 * sysdeps/mach/hurd/bits/typesizes.h
45226 (__SYSCALL_SLONG_TYPE): New macro.
45227 (__SYSCALL_ULONG_TYPE): Likewise.
45228
de986b56
L
452292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45230
45231 * bits/types.h (__syscall_slong_t): New type.
45232 (__syscall_ulong_t): Likewise.
45233
45234 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45235 (__SYSCALL_ULONG_TYPE): Likewise.
45236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45237 (__SYSCALL_SLONG_TYPE): Likewise.
45238 (__SYSCALL_ULONG_TYPE): Likewise.
45239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45240 (__SYSCALL_SLONG_TYPE): Likewise.
45241 (__SYSCALL_ULONG_TYPE): Likewise.
45242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45243 (__SYSCALL_SLONG_TYPE): Likewise.
45244 (__SYSCALL_ULONG_TYPE): Likewise.
45245
85736dc7
L
452462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45247
45248 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45249 Add sigaltstack-offsets.sym.
45250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45251 <sigaltstack-offsets.h>.
45252 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45253 longjmp_msg pointer.
45254 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45255 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45256 signal stack.
45257 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45258
cc03b296
JM
452592012-05-15 Joseph Myers <joseph@codesourcery.com>
45260
a9538892
JM
45261 * elf/stackguard-macros.h: Remove file.
45262 * sysdeps/generic/stackguard-macros.h: New file.
45263 * sysdeps/i386/stackguard-macros.h: Likewise.
45264 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45265 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45266 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45267 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45268 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45269 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45270 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45271 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45272 <elf/stackguard-macros.h>.
45273
cc03b296
JM
45274 [BZ #14109]
45275 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45276 __aligned__ in attribute.
45277 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45278 (gregset_t): Likewise.
45279
93171016
L
452802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45281
45282 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45283 * sysdeps/x86_64/64/Implies-after: Here. New file.
45284 * sysdeps/x86_64/x32/Implies-after: New file.
45285
d86813a0
L
452862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45287
45288 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45289 and access return value for _dl_profile_fixup. Use R10_LP to
45290 load frame size.
45291
2953ec75
L
452922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45293
45294 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45295
3b550e9e
L
452962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45297
45298 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45299 * sysdeps/x86_64/x32/sysdep.h: New file.
45300
eda41706
L
453012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45302
45303 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45304 * sysdeps/x86_64/setjmp.S: Likewise.
45305
9ea01d93
AZ
453062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45307
45308 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45309 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45310 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45311 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45312 remove unused global constant.
45313
02a91938
CM
453142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45315
45316 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45317 include of <not-cancel.h>.
45318
6540185f
RM
453192012-05-15 Roland McGrath <roland@hack.frob.com>
45320
45321 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45322
509072a0
AJ
453232012-05-15 Jeff Law <law@redhat.com>
45324 Andreas Jaeger <aj@suse.de>
45325
45326 [BZ #13594]
45327 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45328 out from...
45329 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45330 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45331 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45332 code changing __hst_map_handle.map.
45333
ba75122d
RM
453342012-05-15 Roland McGrath <roland@hack.frob.com>
45335
45336 * configure.in (sysnames): Look for Implies-before and Implies-after
45337 files.
45338 * configure: Regenerated.
45339
890d8bd8
L
453402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45341
45342 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45343 8-byte data alignment with LP_SIZE alignment.
45344
f6ee6623
L
453452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45346
45347 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45348 into R10_LP.
45349
ea2626f6
L
453502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45351
45352 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45353
085f715e
L
453542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45355
45356 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45357 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45358 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45359 Likewise.
45360 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45361
be8498fc
L
453622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45363
45364 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45365 (stackinfo_sub_sp): Likewise.
45366
70bc83b9
L
453672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45368
45369 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45370 RAX_LP.
45371
9bc0b730
L
453722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45373
45374 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45375 into R*_LP.
45376
6d2850e7
L
453772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45378
45379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45380 sizes into R*_LP.
45381
3cb84561
L
453822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45383
45384 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45385
54e2ed81
L
453862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45387
45388 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45389 into R11_LP and load __x86_64_shared_cache_size_half into
45390 R8_LP.
45391
8a17f349
L
453922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45393
45394 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45395 R8_LP.
45396
777b1eea
AZ
453972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45398
45399 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45400 logb for POWER7.
45401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45402 logbf for POWER7.
45403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45404 logbl for POWER7.
45405 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45406 powerpc32/power7/fpu/s_logb.c via #include.
45407 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45408 powerpc32/power7/fpu/s_logbf.c via #include.
45409 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45410 powerpc32/power7/fpu/s_logbl.c via #include.
45411
d20d4ac2
JM
454122012-05-15 Joseph Myers <joseph@codesourcery.com>
45413
45414 * README.libm: Remove file.
45415
6cdef1ab
L
454162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45417
45418 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45419 count for x32. Use R*_LP and omit operand-size suffix.
45420
0b254d8f
L
454212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45422
45423 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45424 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45425 * sysdeps/x86_64/x32/shlib-versions: New file.
45426
ceb809dc
RM
454272012-05-14 Roland McGrath <roland@hack.frob.com>
45428
45429 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45430 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45431 Use _dl_fatal_printf instead.
45432
37f1abd4
JM
454332012-05-14 Joseph Myers <joseph@codesourcery.com>
45434
45435 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45436 set if not set by the user. Do not allow for being unset.
45437 * sysdeps/unix/sysv/linux/configure: Regenerated.
45438
11de3a33
L
454392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45440
45441 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45442 the `q' suffix from lea and replace .quad with ASM_ADDR.
45443
e02f153a
L
454442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45445
45446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45447 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45448 instead of $17.
45449 (PTR_DEMANGLE): Likewise.
45450
520ae0fd
L
454512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45452
45453 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45454 (LP_OP): Likewise.
45455 (ASM_ADDR): Likewise.
45456 (RAX_LP): Likewise.
45457 (RBP_LP): Likewise.
45458 (RBX_LP): Likewise.
45459 (RCX_LP): Likewise.
45460 (RDI_LP): Likewise.
45461 (RSI_LP): Likewise.
45462 (RSP_LP): Likewise.
45463 (R8_LP): Likewise.
45464 (R9_LP): Likewise.
45465 (R10_LP): Likewise.
45466 (R10_LP): Likewise.
45467 (R11_LP): Likewise.
45468 (R12_LP): Likewise.
45469 (R13_LP): Likewise.
45470 (R14_LP): Likewise.
45471 (R15_LP): Likewise.
45472
b985be81
L
454732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45474
45475 * sysdeps/x86_64/x32/dl-machine.h: New file.
45476
6a4888ff
AJ
454772012-05-14 Andreas Jaeger <aj@suse.de>
45478
45479 * manual/Makefile (subdir): Remove export of subdir.
45480 (all): Remove target.
45481 (.PHONY): Remove all from list.
45482 (mkinstalldirs): Remove.
45483 (.PHONY): Remove installdirs from list.
45484 ($(inst_infodir)/libc.info): Use make-target-directory.
45485 (installdirs): Remove.
45486 (subdir_%): Remove.
45487 (glibc-targets): Remove.
45488 (lib): Remove.
45489 (stubs): Remove.
45490 ($(objpfx)stubs ../po/manual.pot): Remove.
45491 ($(objpfx)stamp%): Remove.
45492 (make-target-directory): Remove.
45493 (subdir_install): Remove.
45494 (routines): Remove.
45495 (aux): Remove.
45496 (sources): Remove.
45497 (objects): Remove.
45498 (headers): Remove.
45499
45500 [BZ #13750]
45501 * manual/.gitignore: Remove, it's not needed anymore.
45502 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45503 all files in it.
45504 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45505 directory.
45506 (texis): Renamed to $(objpfx)texis.
45507 (texis-path): New, contains path to generated files.
45508 (chapters.%): Use texis-path for complete path, add extra argument
45509 libc-texinfo.sh.
45510 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45511 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45512 (summary,texi, stamp-summary): Use complete path of
45513 files. Generate files in build dir.
45514 (dir-add.texi): Build in build dir.
45515 (libm-err.texi,stamp-libm-err): Likewise.
45516 (version.texi, stamp-version): Likewise.
45517 (.%c.texi): Likewise.
45518 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45519 (mostlyclean): Remove target.
45520 (realclean): Remove target.
45521 (generated): Add new variable with contents from mostlyclean and
45522 realclean, remove entries duplicated in common-mostlyclean, add
45523 stamp-libm-err and stamp-version.
45524 (generated-dirs): Add libc directory.
45525 ($(inst_infodir)/libc.info): Install files from build dir.
45526
45527 * manual/install.texi (Configuring and compiling): Adjust since
45528 the info files are not part of the tar ball anymore.
45529
7ac77294
AJ
455302012-05-14 Andreas Jaeger <aj@suse.de>
45531
45532 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45533 variable.
45534
ffb7875d
JM
455352012-05-14 Joseph Myers <joseph@codesourcery.com>
45536
45537 [BZ #13717]
45538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45539 to 2.2.0 where earlier.
45540 * sysdeps/unix/sysv/linux/configure: Regenerated.
45541 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45542 Remove conditional code.
45543 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45544 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45545 Remove conditional code.
45546 [!__NR_lchown]: Likewise.
45547 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45548 [__NR_lchown]: Likewise.
45549 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45550 comment referencing __ASSUME_LCHOWN_SYSCALL.
45551 * sysdeps/unix/sysv/linux/i386/sigaction.c
45552 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45553 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45554 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45555 Remove conditional code.
45556 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45557 (__protocol_available): Remove #if 0 code.
45558 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45559 conditional code.
45560 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45561 * sysdeps/unix/sysv/linux/kernel-features.h
45562 (__ASSUME_GETCWD_SYSCALL): Don't define.
45563 (__ASSUME_REALTIME_SIGNALS): Likewise.
45564 (__ASSUME_PREAD_SYSCALL): Likewise.
45565 (__ASSUME_PWRITE_SYSCALL): Likewise.
45566 (__ASSUME_POLL_SYSCALL): Likewise.
45567 (__ASSUME_LCHOWN_SYSCALL): Likewise.
45568 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45569 non-SPARC.
45570 (__ASSUME_SIOCGIFNAME): Don't define.
45571 (__ASSUME_MSG_NOSIGNAL): Likewise.
45572 (__ASSUME_SENDFILE): Define unconditionally.
45573 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45574 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45575 conditional code.
45576 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45577 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45578 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45579 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45580 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45581 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45582 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45584 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45590 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45607 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45608 Remove conditional code.
45609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45610 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45611 Remove conditional code.
45612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45613 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45614 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45615 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45616 Remove conditional code.
45617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45618 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45619 Remove conditional code.
45620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45621 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45622 Remove conditional code.
45623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45624 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45625 Remove conditional code.
45626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45627 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45628 Remove conditional code.
45629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45630 * sysdeps/unix/sysv/linux/sh/pwrite64.c
45631 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45633 * sysdeps/unix/sysv/linux/sigaction.c
45634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45636 * sysdeps/unix/sysv/linux/sigpending.c
45637 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45638 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45639 * sysdeps/unix/sysv/linux/sigprocmask.c
45640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45642 * sysdeps/unix/sysv/linux/sigsuspend.c
45643 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45644 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45645 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45646 (__libc_missing_rt_sigs): Remove.
45647 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45648 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45649 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45650 Remove conditional code.
45651 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45652 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45653 return 1.
45654 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45655 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45656 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45657 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45658
1bfb7291
AJ
456592012-05-14 Andreas Jaeger <aj@suse.de>
45660
caae5a81
AJ
45661 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45662 it's not used in glibc.
45663 (__coshm1): Likewise.
45664 (__acosh1p): Likewise.
45665 (__sgn): Likewise.
45666
1bfb7291
AJ
45667 * manual/string.texi (Copying and Concatenation): Add missing
45668 variable in concat example.
45669 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45670
c044d724
L
456712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45672
144c5467 45673 [BZ #14103]
c044d724
L
45674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45675 __builtin_clzl with __builtin_clzll.
45676
2523c62b
L
456772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45678
45679 [BZ #14104]
45680 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45681 libc_freeres_ptr.
45682
d7bb4c42
LD
456832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45684
45685 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45686 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45687 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45688 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45689
9dc4e1fb
MF
456902012-05-14 Mike Frysinger <vapier@gentoo.org>
45691
45692 * NEWS: Update ia64 info.
45693
c7df0112
AS
456942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
45695
45696 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45697 used as bcopy.
45698
dc70356c
TS
456992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
45700
45701 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45702 * sysdeps/unix/syscalls.list (dup3): Likewise.
45703 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45704 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45705
9fb1a21f
L
457062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45707
45708 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45709 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45710
4822a2a5
L
457112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45712
45713 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45714 thread pointer.
45715 (TLS_IE): Use mov/add instead of movq/addq to load thread
45716 pointer.
45717 (TLS_GD_PREFIX): New.
45718 (TLS_GD): Use it.
45719
842b81d6
DM
457202012-05-11 David S. Miller <davem@davemloft.net>
45721
45722 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45723 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45724 (_FPU_SETCW): Likewise.
45725
1cf463cd
L
457262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45727
45728 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45729 is 32-byte aligned.
45730
60cc4a18
AS
457312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
45732
45733 [BZ #11837]
45734 * iconvdata/gb18030.c: Update tables.
45735 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
45736 characters specially.
45737 (BODY for TO_LOOP): Add encoding of missing ranges.
45738
febb44a4
TS
457392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
45740
45741 [BZ #13673]
45742 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45743 * sysdeps/mach/hurd/dup3.c: Likewise.
45744 * sysdeps/mach/hurd/readlinkat.c: Likewise.
45745 * sysdeps/powerpc/memmove.c:: Likewise.
45746
0a10fb9e
L
457472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45748
45749 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45750 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45751
df8a552f
L
457522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45753
45754 * elf/elf.h (R_X86_64_RELATIVE64): New.
45755 (R_X86_64_NUM): Updated.
45756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45757 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
45758 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45759 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45760 tst-quad1pie tst-quad2pie
45761 (modules-names): Add tst-quadmod1 tst-quadmod2.
45762 ($(objpfx)tst-quad1): New dependency.
45763 ($(objpfx)tst-quad2): Likewise.
45764 ($(objpfx)tst-quad1pie): Likewise.
45765 ($(objpfx)tst-quad2pie): Likewise.
45766 * sysdeps/x86_64/tst-quad1.c: New file.
45767 * sysdeps/x86_64/tst-quad1pie.c: New file.
45768 * sysdeps/x86_64/tst-quad2.c: Likewise.
45769 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45770 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45771 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45772 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45773 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45774
f34d6f84
ST
457752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45776
f42d41d1
ST
45777 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45778 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45779 * streams/stropts.h (t_scalar_t): Define type.
45780
3c3571fc
ST
45781 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45782 (_PATH_PRESERVE): Set to "/var/lib".
45783 (_PATH_RWHODIR): Set to "/var/spool/rwho".
45784
61f06bd3
ST
45785 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45786 instead of int.
45787
918d4d71
ST
45788 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45789 if __dir_mkfile succeeded.
45790
f34d6f84
ST
45791 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45792 checking for _hurd_dtablesize. Unlock it right after having
45793 finished _hurd_dtable allocation.
45794
10589b4a
TS
457952012-05-10 Thomas Schwinge <thomas@schwinge.name>
45796
674cdbc7
TS
45797 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45798 * sysdeps/mach/hurd/configure: Regenerated.
45799 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45800 special-casing to...
45801 * sysdeps/gnu/configure.in: ... this new file.
45802 * sysdeps/unix/sysv/linux/configure: Regenerated.
45803 * sysdeps/gnu/configure: New generated file.
45804
8e41b99f
TS
45805 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45806 for Linux: use nsec instead of usec, as well as:
45807 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45808 members of type struct timespec.
45809 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45810 New macros.
45811 (struct stat64): Likewise.
45812 (_STATBUF_ST_NSEC): New macro.
45813 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45814
10589b4a
TS
45815 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45816 __strtoul_internal rather than strtoul.
45817
63643c85
PT
458182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45819
45820 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45821 and reject them.
45822
3faebe6a
ST
458232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45824
45825 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45826 which preserves existing values.
45827 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45828
c6474b07
PT
458292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45830
45831 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45832 TIMEOUT values. Return EINVAL for NFDS values either negative or
45833 greater than FD_SETSIZE.
45834
1043890b
ST
458352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45836
45837 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45838 allocated, call __vm_protect to finish enabling the existing space, and
45839 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45840 allocate the remainder.
45841
37ed8b9b
PT
458422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45843
45844 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45845 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
45846
db653660
ST
458472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45848
37ed8b9b
PT
45849 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45850 sysdeps/mach/hurd/readlink.c.
b29d4053 45851
db653660
ST
45852 * posix/tst-sysconf.c (posix_options): Only use
45853 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45854 _POSIX_SYNCHRONIZED_IO when they are defined
45855 * sysdeps/mach/hurd/bits/posix_opt.h:
45856 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45857 (_XOPEN_REALTIME): Undefine macro.
45858 (_XOPEN_REALTIME_THREADS): Undefine macro.
45859 (_XOPEN_SHM): Undefine macro.
45860 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45861 macro to -1.
45862 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45863 macro to -1.
45864 (_POSIX_ASYNC_IO): Undefine macro.
45865 (_POSIX_PRIORITIZED_IO): Undefine macro.
45866 (_POSIX_SPIN_LOCKS): Define macro to -1.
45867
ee16e894
ST
45868 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45869 SA_NODEFER, SA_RESETHAND.
45870 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45871 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45872 F_DUPFD_CLOEXEC.
45873
6103ae3b
TS
458742012-05-10 Thomas Schwinge <thomas@schwinge.name>
45875
45876 * elf/Makefile (pldd-modules): Define unconditionally.
45877
80b4e5f3
TS
458782012-05-10 Thomas Schwinge <thomas@schwinge.name>
45879
45880 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45881
edadcbd6
ST
458822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45883
45884 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45885 Return ENOENT when name is empty.
45886 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45887
80694780
TS
458882012-05-10 Thomas Schwinge <thomas@schwinge.name>
45889
1792c087
TS
45890 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45891
80694780
TS
45892 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45893
6b645f0d
ST
458942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45895
80694780
TS
45896 Fix mlock in all cases except non-readable pages.
45897 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45898 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 45899
6b645f0d
ST
45900 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45901 (__mkdir): When path is `/', just fail with EEXIST.
45902 * sysdeps/mach/hurd/mkdirat.c: Likewise.
45903
e468f8a3
TS
459042012-05-10 Thomas Schwinge <thomas@schwinge.name>
45905
45906 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45907 <sys/uio.h> (for writev).
45908 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45909 and <sys/param.h> (for MIN).
45910
a4186cff
PT
459112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45912
45913 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45914 REQUESTED_TIME. Properly set the remaining time and return EINTR
45915 if interrupted.
45916
510bbf14
TS
459172012-05-10 Thomas Schwinge <thomas@schwinge.name>
45918
45919 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45920 Depend on against $(link-rpcuserlibs).
45921
5d5722e8
ST
459222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45923
a4186cff
PT
45924 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45925 (__libc_stack_end): Do not use attribute_relro.
45926 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45927 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 45928 to libthread-provided value.
a4186cff
PT
45929 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45930 attribute_relro.
5d5722e8 45931
37233df9
TS
459322012-05-10 Thomas Schwinge <thomas@schwinge.name>
45933
be971a2b
TS
45934 [BZ #3748]
45935 * bits/libc-lock.h (__libc_once_get): New macro.
45936 * sysdeps/mach/bits/libc-lock.h: Likewise.
45937 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45939 instead of using implementation details.
45940
37233df9
TS
45941 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45942 * libio/freopen.c: Likewise.
45943 * libio/freopen64.c: Likewise.
45944 * misc/syslog.c: Likewise.
45945 * nscd/connections.c: Likewise.
45946 * nscd/netgroupcache.c: Likewise.
45947 * sysdeps/posix/getcwd.c: Likewise.
45948
38de94a5
RM
459492012-05-10 Roland McGrath <roland@hack.frob.com>
45950
45951 * math/w_ilogbf.c: Add #include <limits.h>.
45952
67530489
ST
459532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45954
a4186cff 45955 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
45956 path instead of returning without unlocking.
45957
67530489
ST
45958 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45959 immediate-write ioctls.
45960 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45961
5aa3a74a
TS
459622012-05-10 Thomas Schwinge <thomas@schwinge.name>
45963
18bad2ae
TS
45964 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45965 __builtin_frame_address instead of making assumptions about the
45966 location of the return address relative to DATA. Force early load of
45967 the return address.
45968 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45969 __builtin_frame_address.
45970
5aa3a74a
TS
45971 dup3 for GNU Hurd.
45972 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45973 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45974 implement dup3 and do some further code clean-ups.
45975 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45976 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45977
ecd0de9a
ST
459782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45979
cd9fa985
ST
45980 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45981
a4186cff
PT
45982 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45983 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45984 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45985 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45986 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45987 d->port.lock.
802ca5a5 45988
a4186cff
PT
45989 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45990 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
45991 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 45992
bcf55240
TS
459932012-05-10 Thomas Schwinge <thomas@schwinge.name>
45994
6960eb42
TS
45995 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45996 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45997 definitions.
45998
eb43375f
TS
45999 accept4 for GNU Hurd.
46000 * include/sys/socket.h (__libc_accept4): New prototype.
46001 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46002 to implement __libc_accept4.
46003 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46004 __libc_accept4.
46005 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46006
bcf55240
TS
46007 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46008 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46009 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46010 signal-defines.sym.
46011
6178c55b
ST
460122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46013
a4186cff 46014 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 46015
6f080c2f
TS
460162012-05-10 Thomas Schwinge <thomas@schwinge.name>
46017
46018 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46019 assertion on O_CLOEXEC flag.
46020 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46021 * hurd/intern-fd.c: Likewise.
46022 * hurd/port2fd.c: Likewise.
46023
bcfe3a54
ST
460242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46025
46026 [BZ #3906]
46027 * bits/in.h (IPV6_PKTINFO): Define new macro.
46028 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46029
89c9aa49
AZ
460302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46031
46032 [BZ #13954]
46033 [BZ #13955]
46034 [BZ #13956]
46035 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46037 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46038 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46039 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46040 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46041 * math/libm-test.inc (logb_test) : Additional logb tests.
46042
021db4be
AJ
460432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46044 Andreas Jaeger <aj@suse.de>
46045
46046 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46047 * configure: Regenerated.
46048 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46049 * config.make.in (link-obsolete-rpc): New substituted variable.
46050 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46051 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46052 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46053 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46054 so that libc.a contains the symbols.
46055 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46056 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46057 * sunrpc/auth_none.c: Likewise.
46058 * sunrpc/auth_unix.c: Likewise.
46059 * sunrpc/authdes_prot.c: Likewise.
46060 * sunrpc/authuxprot.c: Likewise.
46061 * sunrpc/clnt_gen.c: Likewise.
46062 * sunrpc/clnt_perr.c: Likewise.
46063 * sunrpc/clnt_raw.c: Likewise.
46064 * sunrpc/clnt_simp.c: Likewise.
46065 * sunrpc/clnt_tcp.c: Likewise.
46066 * sunrpc/clnt_udp.c: Likewise.
46067 * sunrpc/clnt_unix.c: Likewise.
46068 * sunrpc/des_crypt.c: Likewise.
46069 * sunrpc/des_soft.c: Likewise.
46070 * sunrpc/get_myaddr.c: Likewise.
46071 * sunrpc/key_call.c: Likewise.
46072 * sunrpc/key_prot.c: Likewise.
46073 * sunrpc/netname.c: Likewise.
46074 * sunrpc/pm_getmaps.c: Likewise.
46075 * sunrpc/pm_getport.c: Likewise.
46076 * sunrpc/pmap_clnt.c: Likewise.
46077 * sunrpc/pmap_prot.c: Likewise.
46078 * sunrpc/pmap_prot2.c: Likewise.
46079 * sunrpc/pmap_rmt.c: Likewise.
46080 * sunrpc/publickey.c: Likewise.
46081 * sunrpc/rpc_cmsg.c: Likewise.
46082 * sunrpc/rpc_common.c: Likewise.
46083 * sunrpc/rpc_dtable.c: Likewise.
46084 * sunrpc/rpc_prot.c: Likewise.
46085 * sunrpc/rpc_thread.c: Likewise.
46086 * sunrpc/rtime.c: Likewise.
46087 * sunrpc/svc.c: Likewise.
46088 * sunrpc/svc_auth.c: Likewise.
46089 * sunrpc/svc_raw.c: Likewise.
46090 * sunrpc/svc_run.c: Likewise.
46091 * sunrpc/svc_tcp.c: Likewise.
46092 * sunrpc/svc_udp.c: Likewise.
46093 * sunrpc/svc_unix.c: Likewise.
46094 * sunrpc/svcauth_des.c: Likewise.
46095 * sunrpc/xcrypt.c: Likewise.
46096 * sunrpc/xdr.c: Likewise.
46097 * sunrpc/xdr_array.c: Likewise.
46098 * sunrpc/xdr_float.c: Likewise.
46099 * sunrpc/xdr_intXX_t.c: Likewise.
46100 * sunrpc/xdr_mem.c: Likewise.
46101 * sunrpc/xdr_rec.c: Likewise.
46102 * sunrpc/xdr_ref.c: Likewise.
46103 * sunrpc/xdr_sizeof.c: Likewise.
46104 * sunrpc/xdr_stdio.c: Likewise.
46105
b5c086a2
RM
461062012-05-10 Roland McGrath <roland@hack.frob.com>
46107
46108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46109 change. Update copyright years.
46110
6d74dd09
JM
461112012-05-10 Joseph Myers <joseph@codesourcery.com>
46112
46113 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46114
28e72501
MK
461152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46116 Joseph Myers <joseph@codesourcery.com>
46117 Paul Pluzhnikov <ppluzhnikov@google.com>
46118
46119 [BZ #14012]
46120 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46121 requiring rpcgen.
46122 [cross-compiling] (extra-libs): Likewise.
46123 [cross-compiling] (extra-libs-others): Likewise.
46124 [cross-compiling] (librpcsvc-routines): Likewise.
46125 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46126 [cross-compiling] (omit-deps): Likewise.
46127 (sunrpc-CPPFLAGS): New variable.
46128 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46129 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46130 (cross-rpcgen-objs): New variable.
46131 (extra-objs): Append $(cross-rpcgen-objs).
46132 ($(cross-rpcgen-objs)): New rule.
46133 ($(objpfx)cross-rpcgen): Likewise.
46134 (rpcgen-cmd): Define to use $(built-program-file). Expand
46135 comment.
46136 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46137 ($(objpfx)x%.stmp): Likewise.
46138 * sunrpc/proto.h [IS_IN_build] (_): Define.
46139 [IS_IN_build] (_libc_intl_domainname): Likewise.
46140
c8c59454
L
461412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46142
46143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46144 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46145 and R_X86_64_TPOFF64.
46146
6f27cd16
JM
461472012-05-10 Joseph Myers <joseph@codesourcery.com>
46148
46149 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46150 sysdeps/unix/sysv/syscalls.list.
46151 (stime): Likewise.
46152 (utime): Likewise.
46153 * sysdeps/unix/sysv/syscalls.list: Remove file.
46154
02467e1c
PE
461552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46156
46157 [BZ #3440]
46158 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46159 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46160 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46161 (__LC_IDENTIFICATION): Make these macros useful in #if
46162 expressions, as required by C99.
46163
da392631
AS
461642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46165
46166 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46167 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46168 after this.
46169
8115f29b
L
461702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46171
46172 * stdlib/longlong.h: Updated from GCC.
46173
bdd74070
AJ
461742012-05-09 Andreas Jaeger <aj@suse.de>
46175
edfe0dbe
AJ
46176 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46177 default is first entry.
46178 (run_mode): Set type.
46179 (main): Remove informal message about syslog.
46180 (options): Fix typo.
46181
bcfe3a54
ST
46182 [BZ #14053]
46183 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 46184 to asm.
bcfe3a54
ST
46185 (lrint): Likewise.
46186 (llrintf): Likewise.
46187 (llrint): Likewise.
46188 (rint): Likewise.
46189 (rintf): Likewise.
46190 (nearbyint): Likewise.
46191 (nearbyintf): Likewise.
bdd74070 46192
91d8d69e
AJ
461932012-05-09 Andreas Jaeger <aj@suse.de>
46194 Pedro Alves <palves@redhat.com>
46195
46196 * nscd/nscd.c (run_mode): Use enum.
46197 (main): Cleanup coding style issue.
46198
bb90b80b
AJ
461992012-05-09 Alexandre Oliva <aoliva@redhat.com>
46200 Andreas Jaeger <aj@suse.de>
46201
bcfe3a54
ST
46202 * nscd/nscd.c (go_background): Replaced with...
46203 (run_mode): ... this.
bb90b80b 46204 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
46205 (options): Add -F --foreground.
46206 (main): Implement it.
46207 (parse_opt): Parse it.
bb90b80b 46208
1a4b75a1
AJ
462092012-05-09 Andreas Jaeger <aj@suse.de>
46210
46211 [BZ #14083]
46212 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46213 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46214 -Wconversion warning.
46215 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46216 Likewise.
46217
b1cc2472
JM
462182012-05-09 Joseph Myers <joseph@codesourcery.com>
46219
46220 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46221 == 0.
46222 (LC_ALL): Use macro-int-constant.
46223 (LC_COLLATE): Likewise.
46224 (LC_CTYPE): Likewise.
46225 (LC_MESSAGES): Likewise.
46226 (LC_MONETARY): Likewise.
46227 (LC_NUMERIC): Likewise.
46228 (LC_TIME): Likewise.
46229 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46230 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46232 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46233 Specify type.
46234 [C99-based standards] (float_t): Expect type.
46235 [C99-based standards] (double_t): Expect type.
46236 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46237 type.
46238 [C99-based standards] (HUGE_VALL): Likewise.
46239 [C99-based standards] (INFINITY): Likewise.
46240 [C99-based standards] (NAN): Likewise.
46241 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46242 [C99-based standards] (FP_NAN): Likewise.
46243 [C99-based standards] (FP_NORMAL): Likewise.
46244 [C99-based standards] (FP_SUBNORMAL): Likewise.
46245 [C99-based standards] (FP_ZERO): Likewise.
46246 [C99-based standards] (FP_FAST_FMA): Use
46247 optional-macro-int-constant. Specify type. Require == 1.
46248 [C99-based standards] (FP_FAST_FMAF): Likewise.
46249 [C99-based standards] (FP_FAST_FMAL): Likewise.
46250 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46251 [C99-based standards] (FP_ILOGBNAN): Likewise.
46252 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46253 Specify type.
46254 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46255 [C99-based standards] (math_errhandling): Specify type.
46256 [ISO99 || ISO11] (signgam): Do not allow.
46257 [non-C99-based standards] (copysignf): Do not allow.
46258 [non-C99-based standards] (exp2f): Likewise.
46259 [non-C99-based standards] (log2f): Likewise.
46260 [non-C99-based standards] (modff): Allow.
46261 [non-C99-based standards] (erff): Do not allow.
46262 [non-C99-based standards] (erfcf): Likewise.
46263 [non-C99-based standards] (gammaf): Likewise.
46264 [non-C99-based standards] (hypotf): Likewise.
46265 [non-C99-based standards] (j0f): Likewise.
46266 [non-C99-based standards] (j1f): Likewise.
46267 [non-C99-based standards] (jnf): Likewise.
46268 [non-C99-based standards] (lgammaf): Likewise.
46269 [non-C99-based standards] (tgammaf): Likewise.
46270 [non-C99-based standards] (y0f): Likewise.
46271 [non-C99-based standards] (y1f): Likewise.
46272 [non-C99-based standards] (ynf): Likewise.
46273 [non-C99-based standards] (isnanf): Likewise.
46274 [non-C99-based standards] (acoshf): Likewise.
46275 [non-C99-based standards] (asinhf): Likewise.
46276 [non-C99-based standards] (atanhf): Likewise.
46277 [non-C99-based standards] (cbrtf): Likewise.
46278 [non-C99-based standards] (expm1f): Likewise.
46279 [non-C99-based standards] (ilogbf): Likewise.
46280 [non-C99-based standards] (log1pf): Likewise.
46281 [non-C99-based standards] (logbf): Likewise.
46282 [non-C99-based standards] (nextafterf): Likewise.
46283 [non-C99-based standards] (remainderf): Likewise.
46284 [non-C99-based standards] (rintf): Likewise.
46285 [non-C99-based standards] (scalbf): Likewise.
46286 [non-C99-based standards] (copysignl): Likewise.
46287 [non-C99-based standards] (exp2l): Likewise.
46288 [non-C99-based standards] (log2l): Likewise.
46289 [non-C99-based standards] (modfl): Allow.
46290 [non-C99-based standards] (erfl): Do not allow.
46291 [non-C99-based standards] (erfcl): Likewise.
46292 [non-C99-based standards] (gammal): Likewise.
46293 [non-C99-based standards] (hypotl): Likewise.
46294 [non-C99-based standards] (j0l): Likewise.
46295 [non-C99-based standards] (j1l): Likewise.
46296 [non-C99-based standards] (jnl): Likewise.
46297 [non-C99-based standards] (lgammal): Likewise.
46298 [non-C99-based standards] (tgammal): Likewise.
46299 [non-C99-based standards] (y0l): Likewise.
46300 [non-C99-based standards] (y1l): Likewise.
46301 [non-C99-based standards] (ynl): Likewise.
46302 [non-C99-based standards] (isnanl): Likewise.
46303 [non-C99-based standards] (acoshl): Likewise.
46304 [non-C99-based standards] (asinhl): Likewise.
46305 [non-C99-based standards] (atanhl): Likewise.
46306 [non-C99-based standards] (cbrtl): Likewise.
46307 [non-C99-based standards] (expm1l): Likewise.
46308 [non-C99-based standards] (ilogbl): Likewise.
46309 [non-C99-based standards] (log1pl): Likewise.
46310 [non-C99-based standards] (logbl): Likewise.
46311 [non-C99-based standards] (nextafterl): Likewise.
46312 [non-C99-based standards] (remainderl): Likewise.
46313 [non-C99-based standards] (rintl): Likewise.
46314 [non-C99-based standards] (scalbl): Likewise.
46315 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46316 [non-C99-based standards] (FP_*): Do not allow.
46317 [C99-based standards] (FP_*): Change to
46318 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46319 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46320 allow.
46321 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46322 (SIG_ERR): Likewise.
46323 [X/Open-based standards] (SIG_HOLD): Likewise.
46324 (SIG_IGN): Likewise.
46325 (SIGABRT): Use macro-int-constant. Specify type. Require
46326 positive value.
46327 (SIGFPE): Likewise.
46328 (SIGILL): Likewise.
46329 (SIGINT): Likewise.
46330 (SIGSEGV): Likewise.
46331 (SIGTER): Likewise.
46332 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46333 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46334 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46335 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46336 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46337 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46338 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46339 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46340 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46341 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46342 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46343 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46344 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46345 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46346 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46347 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46348 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46349 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46350 [X/Open-based standards] (SIGTRAP): Likewise.
46351 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46352 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46353 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46354 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46355 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46356 allow.
46357
b9f1922d
IW
463582012-05-08 Ian Wienand <ianw@vmware.com>
46359
46360 [BZ #14080]
46361 * time/tzset.c (__tzset_parse_tz): Update default rules for
46362 daylight time changes in the Energy Policy Act of 2005.
46363
1db86e88
AJ
463642012-05-09 Andreas Jaeger <aj@suse.de>
46365
46366 [BZ #13983]
46367 * elf/ldconfig.c (parse_conf): Change string to make clear that
46368 ldconfig only issued a warning if ld.so.conf does not exist.
46369
dee4a4e3
DM
463702012-05-08 David S. Miller <davem@davemloft.net>
46371
ee0db190
DM
46372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46373 movxtod instead of popping the value on the stack.
46374
dee4a4e3
DM
46375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46376
6a43ec98
CD
463772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46378
46379 * config.h.in: Add HAVE_ARM_PCS_VFP.
46380
05c2c961
RMG
463812012-05-08 Roland Mc Grath <roland@hack.frob.com>
46382
bcfe3a54
ST
46383 [BZ #13979]
46384 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46385 checking but the checks are disabled for any reason.
05c2c961 46386
4b30f61a
L
463872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46388
46389 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46390 and ELF64_R_TYPE with ELFW(R_TYPE).
46391
eee2bc67
JM
463922012-05-08 Joseph Myers <joseph@codesourcery.com>
46393
7ea5391a
JM
46394 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46395 (ulimit): Likewise.
46396
eee2bc67
JM
46397 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46398 (settimeofday): Likewise.
46399
abb66a67
MF
464002012-05-08 Mike Frysinger <vapier@gentoo.org>
46401
46402 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46403 a struct th_u2 inside the union, and move tu_block/tu_code into
46404 a new th_u3 union of tu_block/tu_code inside of that. Move
46405 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46406 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46407 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46408 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46409 (th_stuff): Change to th_u1.tu_stuff.
46410 (th_data): Define.
46411 (th_msg): Change to th_u1.th_u2.tu_data.
46412
7f18b530
DM
464132012-05-07 David S. Miller <davem@davemloft.net>
46414
05760585
DM
46415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46416
7f18b530
DM
46417 [BZ #14074]
46418 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46419 (SETUP_PIC_REG): Use it.
46420 (SETUP_PIC_REG_LEAF): Use it.
46421
495fd99f
JM
464222012-05-07 Joseph Myers <joseph@codesourcery.com>
46423
46424 [BZ #13885]
46425 [BZ #13923]
46426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46427 USE_AS_EXPM1L.
46428 (EXPL_FINITE): Likewise.
46429 (FLDLOG): Likewise.
46430 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46431 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46432 e_expl.S.
46433 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46434 USE_AS_EXPM1L.
46435 (EXPL_FINITE): Likewise.
46436 (FLDLOG): Likewise.
46437 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46438 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46439 e_expl.S.
46440 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46441 test of -max_value argument for long double.
46442 * sysdeps/i386/fpu/libm-test-ulps: Update.
46443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46444
6693d694
DM
464452012-05-06 David S. Miller <davem@davemloft.net>
46446
46447 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46448 quad soft-float symbols whose references which are compiler
46449 generated.
46450 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46451
6c23e11c
JM
464522012-05-06 Joseph Myers <joseph@codesourcery.com>
46453
d8b82cad
JM
46454 [BZ #13884]
46455 [BZ #13914]
46456 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46457 USE_AS_EXP10L.
46458 (EXPL_FINITE): Likewise.
46459 (FLDLOG): Likewise.
46460 (c0): Likewise.
46461 (c1): Likewise.
46462 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46463 Adjust comments for base varying.
46464 (__expl_finite): Change alias to EXPL_FINITE.
46465 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46466 e_expl.S.
46467 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46468 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46469 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46470 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46471 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46472 USE_AS_EXP10L.
46473 (EXPL_FINITE): Likewise.
46474 (FLDLOG): Likewise.
46475 (c0): Likewise.
46476 (c1): Likewise.
46477 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46478 Adjust comments for base varying.
46479 (__expl_finite): Change alias to EXPL_FINITE.
46480 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46481 tests for bugs.
46482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46483
6c23e11c
JM
46484 [BZ #14064]
46485 * math/libm-test.inc (check_float_internal): Correct ulp
46486 calculation for subnormal expected results.
46487
29ba805c
AJ
464882012-05-06 Andreas Jaeger <aj@suse.de>
46489
46490 * Makeconfig (+math-flags): New, set to -frounding-math.
46491 (+cflags): Add +math-flags so that all of glibc gets compiled with
46492 it.
46493
46494 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46495
7b17aeda
JM
464962012-05-05 Joseph Myers <joseph@codesourcery.com>
46497
5779f134
JM
46498 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46499 Disable one test.
46500
41498f4d
JM
46501 [BZ #13787]
46502 [BZ #13922]
46503 [BZ #14036]
46504 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46505 (__ieee754_expl): Allow for and saturate large arguments.
46506 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46507 (u_threshold): Likewise.
46508 (__exp): Call __ieee754_exp before checking for overflow and
46509 underflow.
46510 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46511 (u_threshold): Likewise.
46512 (__expf): Call __ieee754_expf before checking for overflow and
46513 underflow.
46514 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46515 (u_threshold): Likewise.
46516 (__expl): Call __ieee754_expl before checking for overflow and
46517 underflow.
46518 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46519 (__ieee754_expl): Allow for and saturate large arguments.
46520 * math/libm-test.inc (exp_test): Add another test. Do not allow
46521 missing overflow exception on overflow.
46522 (expm1_test): Do not allow missing overflow exception on overflow.
46523
6698b8bf
JM
46524 * sysdeps/i386/fpu/e_expl.c: Move to ...
46525 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46526 rather than using inline asm.
46527 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46528 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46529 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46530
7b17aeda
JM
46531 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46532 (nice): Likewise.
46533 (poll): Likewise.
46534 (signal): Likewise.
46535 (time): Likewise.
46536 (times): Likewise.
46537
f7c85819
JM
465382012-05-04 Joseph Myers <joseph@codesourcery.com>
46539
46540 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46541 sysdeps/unix/common/syscalls.list.
46542 (fchmod): Likewise.
46543 (fchown): Likewise.
46544 (ftruncate): Likewise.
46545 (getrusage): Likewise.
46546 (gettimeofday): Likewise.
46547 (setpgid): Likewise.
46548 (setregid): Likewise.
46549 (setreuid): Likewise.
46550 (sigaction): Likewise.
46551 (truncate): Likewise.
46552 (vhangup): Likewise.
46553 * sysdeps/unix/common/syscalls.list: Remove file.
46554 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46555 * sysdeps/unix/sysv/linux/Implies: Likewise.
46556
336270d0
L
465572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
46558
46559 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46561 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46562 Moved to ...
46563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46564 Here.
46565 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46566 to ...
46567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46568 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46569 to ...
46570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46571 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46572 to ...
46573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46574 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46575 to ...
46576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46577 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46578 to ...
46579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46580 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46581 to ...
46582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46583 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46584 to ...
46585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46586 Here.
46587 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46588 to ...
46589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46590 Here.
46591 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46592 to ...
46593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46594 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46595 Moved to ...
46596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46597 Here.
46598 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46599 to ...
46600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46601
d128e450
JM
466022012-05-04 Joseph Myers <joseph@codesourcery.com>
46603
fa8ee516
JM
46604 * sysdeps/unix/common/bits/dirent.h: Remove file.
46605 * sysdeps/unix/common/bits/fcntl.h: Likewise.
46606
d128e450
JM
46607 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46608 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46609 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46610 * sysdeps/unix/bsd/isatty.c: Likewise.
46611 * sysdeps/unix/bsd/tcdrain.c: Likewise.
46612 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46613 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46614
ff8faaf0 466152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 46616
62881be4 46617 [BZ #13563]
31dc8730
AZ
46618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46619 long double comparison inaccuracies.
46620 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46622
6fef930c
AS
466232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
46624
46625 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46626 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46627
8f203e6c
JM
466282012-05-04 Joseph Myers <joseph@codesourcery.com>
46629
46630 [BZ #14049]
46631 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46632 nonzero digits before rounding a hex value.
46633 * stdlib/tst-strtod.c (tests): Add another test.
46634
5197d9c2
AK
466352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46636
46637 * sysdeps/s390/fpu/libm-test-ulps: Update.
46638
f0c1dedf
AJ
466392012-05-03 Andreas Jaeger <aj@suse.de>
46640
46641 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46642 does not get optimized out.
46643 (malloc_opt_barrier): New.
46644
a65ef2ae 466452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 46646 Roland McGrath <roland@hack.frob.com>
a65ef2ae 46647
2b942cb7 46648 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 46649 intermediate file deletion.
2b942cb7 46650 (generated): Add .symlist files.
a65ef2ae 46651
54b71e02
JM
466522012-05-03 Joseph Myers <joseph@codesourcery.com>
46653
46654 [BZ #13775]
46655 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46656 Redirect under this condition.
46657 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46658 [__USE_GNU] (__dprintf_chk): Not under this condition.
46659 [__USE_GNU] (__vdprintf_chk): Likewise.
46660 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46661 under this condition.
46662 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46663 [__USE_XOPEN2K8] (dprintf): Define under this condition.
46664 [__USE_XOPEN2K8] (vdprintf): Likewise.
46665 [__USE_GNU] (__dprintf_chk): Not under this condition.
46666 [__USE_GNU] (__vdprintf_chk): Likewise.
46667 [__USE_GNU] (dprintf): Likewise.
46668 [__USE_GNU] (vdprintf): Likewise.
46669
d3dfcc41
RM
466702012-05-03 Roland McGrath <roland@hack.frob.com>
46671
46672 * elf/Makefile (common-generated): Set this instead of generated for
46673 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
46674 $(all-built-dso)-derived lists.
46675
7ac30cc5
AJ
466762012-05-03 Andreas Jaeger <aj@suse.de>
46677
0c51e550
AJ
46678 * sysdeps/i386/fpu/libm-test-ulps: Update.
46679
7ac30cc5
AJ
46680 * FAQ: Removed.
46681 * FAQ.in: Likewise.
46682 * scripts/gen-FAQ.pl: Likewise.
46683 * manual/install.texi (Installation): Point to online location of
46684 FAQ.
46685 * Makefile (files-for-dist): Remove FAQ.
46686 (FAQ): Remove.
46687
d4c2917f
AM
466882012-05-02 Allan McRae <allan@archlinux.org>
46689
46690 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46691 (LDFLAGS-reldepmod5.so): Likewise.
46692 (LDFLAGS-reldep6mod1.so): Likewise.
46693 (LDFLAGS-reldep6mod4.so): Likewise.
46694 (LDFLAGS-reldep8mod3.so): Likewise.
46695 (LDFLAGS-unload4mod1.so): Likewise.
46696 (LDFLAGS-unload4mod2.so): Likewise.
46697 (LDFLAGS-tst-initorder): Likewise.
46698 (LDFLAGS-tst-initordera2.so): Likewise.
46699 (LDFLAGS-tst-initordera3.so): Likewise.
46700 (LDFLAGS-tst-initordera4.so): Likewise.
46701 (LDFLAGS-tst-initorderb2.so): Likewise.
46702 (LDFLAGS-noload): Likewise.
46703 (LDFLAGS-next): Likewise.
46704 (LDFLAGS-order2mod1.so): Likewise.
46705 (LDFLAGS-order2mod2.so): Likewise.
46706 (LDFLAGS-tst-initorder2): Likewise.
46707 (LDFLAGS-tst-initorder2a.so): Likewise.
46708 (LDFLAGS-tst-initorder2b.so): Likewise.
46709 (LDFLAGS-tst-initorder2c.so): Likewise.
46710 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46711
d77f993f
DM
467122012-05-02 David S. Miller <davem@davemloft.net>
46713
46714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46715
171a70b4
PP
467162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
46717
46718 [BZ #14055]
46719 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46720
0be196ad
AJ
467212012-05-02 Andreas Jaeger <aj@suse.de>
46722
46723 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46724 since we manipulate rounding mode.
46725 (CPPFLAGS-test-idouble.c): Likewise.
46726 (CPPFLAGS-test-ifloat.c): Likewise.
46727 (CFLAGS-test-ldouble.c): Likewise.
46728 (CFLAGS-test-double.c): Likewise.
46729 (CFLAGS-test-float.c): Likewise.
46730 (CFLAGS-test-misc.c): Likewise.
46731 (CFLAGS-test-test-fenv.c): Likewise.
46732
4f9d04aa
AZ
467332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46734
2b942cb7
RM
46735 [BZ #2550]
46736 [BZ #2570]
46737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46738 comparisons to determine direction to adjust input.
4f9d04aa 46739
82a79e7d
RM
467402012-05-01 Roland McGrath <roland@hack.frob.com>
46741
f5a01ca9
RM
46742 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46743 output to the target.
46744
90fe4186
RM
46745 * scripts/localplt.awk: New file.
46746 * elf/Makefile ($(objpfx)check-localplt): Target removed.
46747 (check-localplt-CFLAGS): Variable removed.
46748 ($(all-built-dso:=.jmprel)): New static pattern rule.
46749 (generated): Add those targets.
46750 (localplt-built-dso): New variable.
46751 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46752
46753 * elf/check-localplt.c: File removed.
46754
82397ed6
RM
46755 * scripts/check-execstack.awk: New file.
46756 * elf/Makefile ($(objpfx)check-execstack): Target removed.
46757 (check-execstack-CFLAGS): Variable removed.
46758 ($(objpfx)check-execstack.h): Target removed.
46759 ($(objpfx)execstack-default): New target.
46760 (generated): Add that instead of check-execstack.h.
46761 ($(all-built-dso:=.phdr)): New static pattern rule.
46762 (generated): Add those targets.
46763 * elf/check-execstack.c: File removed.
46764
82a79e7d
RM
46765 * scripts/check-textrel.awk: New file.
46766 * elf/Makefile ($(objpfx)check-textrel): Target removed.
46767 (check-textrel-CFLAGS): Variable removed.
46768 (all-built-dso): Use := to define.o
46769 ($(all-built-dso:=.dyn)): New static pattern rule.
46770 (generated): Add those targets.
46771 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46772 * config.make.in (READELF): New substituted variable.
46773 * elf/check-textrel.c: File removed.
46774
62fde54f 467752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 46776
615605c9
JM
46777 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46778 allow.
46779 * conform/data/ctype.h-data [C99-based standards] (isblank):
46780 Expect function.
46781 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46782 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46784 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46785 Specify type. Require positive value.
46786 (EILSEQ): Likewise.
46787 (ERANGE): Likewise.
46788 [ISO || POSIX] (EILSEQ): Do not expect.
46789 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46790 Specify type. Require positive value.
46791 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46792 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46793 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46794 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46795 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46796 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46797 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46798 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46799 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46800 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46801 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46802 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46803 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46804 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46805 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46806 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46807 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46808 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46809 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46810 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46811 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46812 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46813 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46814 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46815 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46816 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46817 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46818 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46819 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46820 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46821 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46822 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46823 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46824 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46825 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46826 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46827 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46828 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46829 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46830 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46831 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46832 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46833 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46834 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46835 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46836 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46837 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46838 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46839 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46840 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46841 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46842 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46843 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46844 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46845 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46846 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46847 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46848 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46849 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46850 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46851 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46852 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46853 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46854 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46855 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46856 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46857 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46858 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46859 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46860 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46861 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46862 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46863 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46864 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46865 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46866 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46867 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46868 Require >= 2.
46869 (FLT_ROUNDS): Expect as macro, not constant.
46870 (FLT_MANT_DIG): Use macro-int-constant.
46871 (DBL_MANT_DIG): Likewise.
46872 (LDBL_MANT_DIG): Likewise.
46873 (FLT_DIG): Likewise.
46874 (DBL_DIG): Likewise.
46875 (LDBL_DIG): Likewise.
46876 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
46877 (DBL_MIN_EXP): Likewise.
46878 (LDBL_MIN_EXP): Likewise.
46879 (FLT_MAX_EXP): Use macro-int-constant.
46880 (DBL_MAX_EXP): Likewise.
46881 (LDBL_MAX_EXP): Likewise.
46882 (FLT_MAX_10_EXP): Likewise.
46883 (DBL_MAX_10_EXP): Likewise.
46884 (LDBL_MAX_10_EXP): Likewise.
46885 (FLT_MAX): Use macro-constant.
46886 (DBL_MAX): Likewise.
46887 (LDBL_MAX): Likewise.
46888 (FLT_EPSILON): Use macro-constant. Give upper bound.
46889 (DBL_EPSILON): Likewise.
46890 (LDBL_EPSILON): Likewise.
46891 (FLT_MIN): Likewise.
46892 (DBL_MIN): Likewise.
46893 (LDBL_MIN): Likewise.
46894 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46895 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46896 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46897 [ISO11] (FLT_HAS_SUBNORM): Likewise.
46898 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46899 [ISO11] (DBL_DECIMAL_DIG): Likewise.
46900 [ISO11] (FLT_DECIMAL_DIG): Likewise.
46901 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46902 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46903 [ISO11] (FLT_TRUE_MIN): Likewise.
46904 [ISO11] (LDBL_TRUE_MIN): Likewise.
46905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46906 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46907 (SCHAR_MIN): Use macro-int-constant. Specify type.
46908 (SCHAR_MAX): Likewise.
46909 (UCHAR_MAX): Likewise.
46910 (CHAR_MIN): Likewise.
46911 (CHAR_MAX): Likewise.
46912 (MB_LEN_MAX): Use macro-int-constant.
46913 (SHRT_MIN): Use macro-int-constant. Specify type.
46914 (SHRT_MAX): Likewise.
46915 (USHRT_MAX): Likewise.
46916 (INT_MAX): Likewise.
46917 (INT_MIN): Use macro-int-constant. Specify type. Make upper
46918 bound negative.
46919 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
46920 bound with "U".
46921 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46922 bound with "L".
46923 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
46924 bound negative. Suffix upper bound with "L".
46925 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46926 bound with "UL".
46927 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46928 Specify type.
46929 [C99-based standards] (LLONG_MAX): Likewise.
46930 [C99-based standards] (ULLONG_MAX): Likewise.
46931 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
46932 == 0.
46933 [ISO11] (max_align_t): Require type.
46934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46935
c9140a62
JM
46936 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46937 from $CFLAGS, without defining away __attribute__ calls.
46938 (checknamespace): Use $CFLAGS_namespace.
46939
9af0bf29
JM
46940 * conform/conformtest.pl (@keywords): Only include C99 keywords
46941 for standards based on C99 or C11.
46942
343222a2
JM
46943 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46944 Disable tests.
46945 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46946 UNIX98]: Likewise.
46947
661f8cf0
JM
46948 * conform/conformtest.pl: Handle "macro-int-constant" and test for
46949 usability of symbols in #if.
46950
ee74b9cb
JM
46951 * conform/conformtest.pl: If macro or constant types start
46952 "promoted:", expect the symbol to be of the following type
46953 promoted by the integer promotions.
62fde54f 46954
aafc49b3
JM
46955 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46956 in one place. Also handle "macro-constant".
46957
fefdf574
JM
46958 * conform/conformtest.pl: Only accept expected macro values with
46959 "==". Parse all "macro" lines in one place.
46960 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46961
f2d922fe
JM
46962 * conform/conformtest.pl: Handle braced types on "constant" lines
46963 instead of handling "typed-constant".
46964 * conform/data/signal.h-data: Use "constant" instead of
46965 "typed-constant".
46966
d22956c9
JM
46967 * conform/conformtest.pl: Handle "optional-" at start of lines in
46968 one place rather than duplicating several cases. Handle each
46969 format of "macro" line with initial "optional-".
46970
028e2e38
JM
46971 * conform/conformtest.pl: Only accept expected constant or
46972 optional-constant values with "==". Parse all "constant" lines in
46973 one place. Parse all "optional-constant" lines in one place.
46974 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46975 * conform/data/fmtmsg.h-data: Likewise.
46976 * conform/data/netinet/in.h-data: Likewise.
46977 * conform/data/tar.h-data: Likewise.
46978 * conform/data/limits.h-data: Use "==" form on "constant" and
46979 "optional-constant" lines.
46980
1b8f2850
JM
46981 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46982 Use -std=c99 for XOPEN2K.
46983 (@knownproblems): Remove.
46984 (newtoken): Don't check %isknown.
46985
a05a144b
JM
46986 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46987 Do not expect macro.
46988 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46989 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46990 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46991 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46992 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46993 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46994 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46995 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46996 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46997 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46998 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46999 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47000 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47001 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47002 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47003 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47004 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47005 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47006 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47007 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47008 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47009 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47010 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47011 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47012 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47013 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47014 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47015 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47016 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47017 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47018 [XPG3] (acosh): Likewise.
47019 [XPG3] (asinh): Likewise.
47020 [XPG3] (atanh): Likewise.
47021 [XPG3] (cbrt): Likewise.
47022 [XPG3] (expm1): Likewise.
47023 [XPG3] (ilogb): Likewise.
47024 [XPG3] (log1p): Likewise.
47025 [XPG3] (logb): Likewise.
47026 [XPG3] (nextafter): Likewise.
47027 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47028 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47029 [XPG3] (remainder): Likewise.
47030 [XPG3] (rint): Likewise.
47031 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47032 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47033 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47034 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47035 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47036 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47037 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47038 [UNIX98 || XOPEN2K] (scalb): Expect.
47039 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47040 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47041 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47042 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47043 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47044 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47045 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47046 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47047 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47048 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47049 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47050 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47051 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47052 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47053 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47054 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47055 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47056 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47057 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47058 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47059 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47060 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47061 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47062 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47063 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47064 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47065 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47066 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47067 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47068 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47069 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47070 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47071 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47072 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47073 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47074 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47075 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47076 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47077 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47078 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47079 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47080 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47081 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47082 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47083 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47084 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47085 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47086 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47087 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47088 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47089 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47090 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47091 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47092 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47093 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47094 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47095 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47096 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47097 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47098 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47099 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47100 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47101 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47102 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47103 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47104 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47105 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47106 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47107 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47108 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47109 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47110 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47111 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47112 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47113 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47114 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47115 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47116 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47117 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47118 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47119 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47120 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47121 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47122 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47123 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47124 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47125 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47126 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47127 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47128 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47129 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47130 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47131 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47132 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47133 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47134 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47135 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47136 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47137 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47138 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47139 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47140 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47141 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47142 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47143 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47144 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47145 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47146 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47147 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47148 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47149 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47150 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47151 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47152 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47153 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47154 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47155 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47156 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47157 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47158 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47159 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47160 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47161 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47162 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47163 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47164 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47165 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47166 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47167 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47168 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47169 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47170 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47171 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47172 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47173 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47174 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47175 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47176
73c5ebe3
JM
47177 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47178 _XOPEN_SOURCE_EXTENDED for XPG4.
47179
39c33b6c
JM
47180 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47181
62fde54f
JM
47182 * Makeconfig (localtime): Remove variable.
47183 (inst_localtime-file): Likewise.
47184
0741d64c
AS
471852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47186
47187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47188 Update.
47189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47190 Update.
47191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47192 Update.
47193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47194 Update.
47195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47196 Update.
47197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47198 Update.
47199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47200 Update.
47201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47202 Update.
47203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47204 Update.
47205
7cb029ee
JM
472062012-05-01 Joseph Myers <joseph@codesourcery.com>
47207
47208 [BZ #2550]
47209 [BZ #2570]
47210 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47211 comparisons to determine direction to adjust input.
47212 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47213 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47215 Likewise.
47216 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47217 Likewise.
47218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47219 Likewise.
47220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47222 Likewise.
47223 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47224 Likewise.
47225 * math/libm-test.inc (nexttoward_test): Add more tests.
47226
412bd966
AS
472272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47228
47229 [BZ #14040]
47230 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47231 in version GLIBC_2.1, not GLIBC_2.0.
47232 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47233 Likewise.
47234
9568c0c2
JM
472352012-04-30 Joseph Myers <joseph@codesourcery.com>
47236
adfbc8ac
JM
47237 [BZ #13942]
47238 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47239 (1 - x) * (1 + x).
47240 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47241 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47242 * math/libm-test.inc (acos_test): Add more tests.
47243 (asin_test): Likewise.
47244 * sysdeps/i386/fpu/libm-test-ulps: Update.
47245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47246
5ba3cc69
JM
47247 [BZ #14034]
47248 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47249 of square root.
47250 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47251 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47252 * math/libm-test.inc (acos_test_tonearest): New function.
47253 (acos_test_towardzero): Likewise.
47254 (acos_test_downward): Likewise.
47255 (acos_test_upward): Likewise.
47256 (asin_test_tonearest): Likewise.
47257 (asin_test_towardzero): Likewise.
47258 (asin_test_downward): Likewise.
47259 (asin_test_upward): Likewise.
47260 (main): Call the new functions.
47261 * sysdeps/i386/fpu/libm-test-ulps: Update.
47262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47263
9568c0c2
JM
47264 [BZ #13884]
47265 [BZ #13924]
47266 * math/e_exp10.c: Include <float.h>.
47267 (__ieee754_exp10): Handle underflow here rather than multiplying
47268 large negative argument by M_LN10.
47269 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47270 of __ieee754_expf.
47271 * math/e_exp10l.c: Include <float.h>.
47272 (__ieee754_exp10l): Handle underflow here rather than multiplying
47273 large negative argument by M_LN10l.
47274 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47275 spurious overflow exception on underflow.
47276
5ac3ea17
MP
472772012-04-29 Marek Polacek <polacek@redhat.com>
47278
47279 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47280 (__fortify_function): New macro.
47281 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47282 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47283 __extern_always_inline.
47284 * libio/bits/stdio2.h: Likewise.
47285 * libio/bits/stdio.h: Likewise.
47286 * string/string.h: Likewise.
47287 * string/bits/string3.h: Likewise.
47288 * include/stdio.h: Likewise.
47289 * stdlib/bits/stdlib.h: Likewise.
47290 * stdlib/stdlib.h: Likewise.
47291 * rt/bits/mqueue2.h: Likewise.
47292 * rt/mqueue.h: Likewise.
47293 * posix/bits/unistd.h: Likewise.
47294 * posix/unistd.h: Likewise.
47295 * io/bits/poll2.h: Likewise.
47296 * io/bits/fcntl2.h: Likewise.
47297 * io/fcntl.h: Likewise.
47298 * io/sys/poll.h: Likewise.
47299 * misc/bits/syslog.h: Likewise.
47300 * misc/bits/syslog-ldbl.h: Likewise.
47301 * misc/sys/syslog.h: Likewise.
47302 * socket/bits/socket2.h: Likewise.
47303 * socket/sys/socket.h: Likewise.
47304 * debug/tst-chk1.c: Likewise.
47305 * wcsmbs/bits/wchar2.h: Likewise.
47306 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47307 * wcsmbs/wchar.h: Likewise.
47308
ecf0ebfb
AJ
473092012-04-29 Andreas Jaeger <aj@suse.de>
47310
47311 * Makerules (tests): Remove enable-check-abi protection.
47312 (check-abi-warn): Remove.
47313 (check-abi-%): Remove check-abi-warn usage.
47314
47315 * configure.in: Remove check-abi configure option.
47316 * configure: Regenerated.
47317 * config.make.in (enable-check-abi): Remove.
47318
6d5c57fa
AS
473192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47320
24c5d07e 47321 [BZ #14033]
ded5180a
AS
47322 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47323 double functions to double *_finite functions.
47324
7e0d315d
AS
47325 [BZ #13941]
47326 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47327 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47328 LDBL_MIN_EXP.
47329 * stdio-common/Makefile (tests): Add tst-sprintf3.
47330 * stdio-common/tst-sprintf3.c: New file.
47331
6d5c57fa
AS
47332 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47333 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47334
0749ff8b
JM
473352012-04-28 Joseph Myers <joseph@codesourcery.com>
47336
47337 * conform/conformtest.pl: Remove duplicate typed-constant
47338 handling.
47339
8dbd5d7b
DM
473402012-04-28 David S. Miller <davem@davemloft.net>
47341
47342 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47343 (check-abi-%): Remove AWK script prerequisite and explicit
47344 abilist directory.
47345 (check-abi): Rewrite to just diff the symlist with the abilist.
47346 (config-tls, config-abi-config): Delete, no longer used.
47347 (update-abi-%): Remove AWK script and explicit abilist directory.
47348 (update-abi): Rewrite to simply compare and conditionally copy the
47349 symlist and the sysdep abilist file. Remove update-abi-config
47350 checks.
47351 * abilist/ld.abilist: Remove.
47352 * abilist/libBrokenLocale.abilist: Remove.
47353 * abilist/libanl.abilist: Remove.
47354 * abilist/libcrypt.abilist: Remove.
47355 * abilist/libdl.abilist: Remove.
47356 * abilist/librt.abilist: Remove.
47357 * abilist/libthread_db.abilist: Remove.
47358 * abilist/libutil.abilist: Remove.
47359 * scripts/extract-abilist.awk: Remove.
47360 * scripts/merge-abilist.awk: Remove.
47361 * sysdeps/generic/libcidn.abilist: New file.
47362 * sysdeps/generic/libnss_compat.abilist: New file.
47363 * sysdeps/generic/libnss_db.abilist: New file.
47364 * sysdeps/generic/libnss_dns.abilist: New file.
47365 * sysdeps/generic/libnss_files.abilist: New file.
47366 * sysdeps/generic/libnss_hesiod.abilist: New file.
47367 * sysdeps/generic/libnss_nis.abilist: New file.
47368 * sysdeps/generic/libnss_nisplus.abilist: New file.
47369 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47370 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47371 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47372 file.
47373 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47374 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47375 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47376 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47377 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47378 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47379 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47380 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47381 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47382 file.
47383 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47384 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47385 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47386 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47387 file.
47388 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47389 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47390 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47391 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47392 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47393 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47394 file.
47395 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47396 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47397 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47398 file.
47399 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47401 New file.
47402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47403 New file.
47404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47405 New file.
47406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47407 New file.
47408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47409 New file.
47410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47411 New file.
47412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47413 New file.
47414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47415 New file.
47416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47417 New file.
47418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47419 New file.
47420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47421 New file.
47422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47423 New file.
47424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47425 New file.
47426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47427 file.
47428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47429 New file.
47430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47431 New file.
47432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47433 file.
47434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47435 New file.
47436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47437 New file.
47438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47439 file.
47440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47441 New file.
47442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47443 New file.
47444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47445 New file.
47446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47447 New file.
47448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47449 New file.
47450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47451 New file.
47452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47454 file.
47455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47456 New file.
47457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47458 file.
47459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47460 file.
47461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47462 file.
47463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47464 file.
47465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47466 file.
47467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47468 New file.
47469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47470 file.
47471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47472 file.
47473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47474 New file.
47475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47476 file.
47477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47479 file.
47480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47481 New file.
47482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47483 file.
47484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47485 file.
47486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47487 file.
47488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47489 file.
47490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47491 file.
47492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47493 New file.
47494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47495 file.
47496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47497 file.
47498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47499 New file.
47500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47501 file.
47502 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47503 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47504 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47505 file.
47506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47507 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47508 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47509 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47510 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47511 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47512 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47513 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47514 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47515 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47518 file.
47519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47520 New file.
47521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47522 file.
47523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47524 file.
47525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47526 file.
47527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47528 file.
47529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47530 file.
47531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47532 New file.
47533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47534 New file.
47535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47536 file.
47537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47538 New file.
47539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47540 file.
47541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47543 file.
47544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47545 New file.
47546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47547 file.
47548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47549 file.
47550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47551 file.
47552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47553 file.
47554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47555 file.
47556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47557 New file.
47558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47559 New file.
47560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47561 file.
47562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47563 New file.
47564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47565 file.
47566
41d73a1b
JM
475672012-04-28 Joseph Myers <joseph@codesourcery.com>
47568
47569 * conform/conformtest.pl: Fix typo in handling typed-constant from
47570 allow-header.
47571
28aeeda4
JM
475722012-04-27 Joseph Myers <joseph@codesourcery.com>
47573
adae8f5e
JM
47574 * README: Cut down references to pre-2.6 Linux kernels and
47575 Linuxthreads. Update lists of configurations in libc and ports
47576 and sort alphabetically. Say "or newer" with Linux kernel version
47577 requirements.
47578
28aeeda4
JM
47579 * config.h.in [IS_IN_build]: Allow compiling without optimization.
47580
a462cb63
RA
475812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47582
47583 [BZ #887]
47584 * math/libm-test.inc (logb_test_downward): New test to expose
47585 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47586 rounding mode.
47587
6ad3493e
JM
475882012-04-27 Joseph Myers <joseph@codesourcery.com>
47589
47590 [BZ #14027]
47591 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47592 to be done.
47593 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47594 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47595
2ce4f015
JM
475962012-04-26 Joseph Myers <joseph@codesourcery.com>
47597
5aeb141a
JM
47598 * sysdeps/unix/i386/brk.S: Remove file.
47599 * sysdeps/unix/i386/dl-brk.S: Likewise.
47600 * sysdeps/unix/i386/pipe.S: Likewise.
47601 * sysdeps/unix/i386/sigreturn.S: Likewise.
47602 * sysdeps/unix/i386/syscall.S: Likewise.
47603 * sysdeps/unix/i386/vfork.S: Likewise.
47604 * sysdeps/unix/i386/wait.S: Likewise.
47605
7143acae
JM
47606 * sysdeps/unix/common/tcsendbrk.c: Move to ...
47607 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47608
2ce4f015
JM
47609 * configure.in (arm*-none*): Do not allow without
47610 --enable-hacker-mode.
47611 (netbsd*): Remove case setting base_os.
47612 (386bsd*): Likewise.
47613 (freebsd*): Likewise.
47614 (bsdi*): Likewise.
47615 (osf*): Likewise.
47616 (sunos*): Likewise.
47617 (ultrix*): Likewise.
47618 (newsos*): Likewise.
47619 (dynix*): Likewise.
47620 (*bsd*): Likewise.
47621 (sysv*): Likewise.
47622 (isc*): Likewise.
47623 (esix*): Likewise.
47624 (sco*): Likewise.
47625 (minix*): Likewise.
47626 (irix4*): Likewise.
47627 (irix6*): Likewise.
47628 (solaris[2-9]*): Likewise.
47629 (none): Likewise.
47630 * configure: Regenerated.
47631
0ac229c8
AZ
476322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47633
47634 [BZ #11521]
47635 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47636 overflow or cancellation in calculating denominator.
47637 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47639 down expression to avoid unexpected rounding in newer GCCs.
47640 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47641
33f244f4
DM
476422012-04-26 David S. Miller <davem@davemloft.net>
47643
47644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47645 long-double compat symbols.
47646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47659
cfa1f3e8
DM
476602012-04-25 David S. Miller <davem@davemloft.net>
47661
47662 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47663 HWCAP_* values only after the memory barriers have been defined.
47664 (atomic_full_barrier): Define.
47665 (atomic_read_barrier): Define.
47666 (atomic_write_barrier): Define.
47667
6e236b92
SP
476682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47669
47670 * shlib-versions: Add libgcc_s version information.
47671 * sysdeps/generic/libgcc_s.h: Remove.
47672 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47673 libgcc_s.h.
47674 * sysdeps/gnu/unwind-resume.c: Likewise.
47675 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47676
aab39a09
DM
476772012-04-25 David S. Miller <davem@davemloft.net>
47678
47679 * sysdeps/unix/sparc/brk.S: Delete.
47680 * sysdeps/unix/sparc/dl-brk.S: Delete.
47681 * sysdeps/unix/sparc/pipe.S: Delete.
47682 * sysdeps/unix/sparc/sysdep.S: Delete.
47683 * sysdeps/unix/sparc/sysdep.h: Delete.
47684 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
47685 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47686 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47687 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47688 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
47689 (JUMPTARGET): Remove.
47690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47691 sysdeps/unix/sparc/sysdep.h
47692 (ENTRY, END): Remove.
47693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47694
a3cc4f48
JM
476952012-04-25 Joseph Myers <joseph@codesourcery.com>
47696
2ed8cda2
JM
47697 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47698 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47699 -DIS_IN_build.
47700
35d76d59
JM
47701 * timezone/README: Update upstream location and email address for
47702 tzcode and tzdata.
47703 * timezone/zdump.c: Update from tzcode 2012b.
47704 * timezone/zic.c: Likewise.
47705
a3cc4f48
JM
47706 * configure.in (libc_cv_as_needed): Remove test.
47707 * configure: Regenerated.
47708 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47709 conditional definition.
47710 [$(have-as-needed) != yes] (no-as-needed): Likewise.
47711 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47712 * config.make.in (have-as-needed): Remove variable.
47713
ceab42c3
SP
477142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47715 Paul Pluzhnikov <ppluzhnikov@google.com>
47716
47717 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47718 strings correctly.
47719
3ce2865f
CLT
477202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
47721
47722 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47723 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47724 * sysdeps/sh/strlen.S: Likewise.
47725
f37e0d68
JM
477262012-04-24 Joseph Myers <joseph@codesourcery.com>
47727
ae186e9a
JM
47728 * sysdeps/unix/fork.S: Remove file.
47729 * sysdeps/unix/i386/fork.S: Likewise.
47730 * sysdeps/unix/sparc/fork.S: Likewise.
47731
b96914af
JM
47732 * sysdeps/unix/system.c: Remove file.
47733 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47734
f37e0d68
JM
47735 * sysdeps/unix/getegid.S: Remove file.
47736 * sysdeps/unix/geteuid.S: Likewise.
47737
87ef29ca
RM
477382012-04-24 Roland McGrath <roland@hack.frob.com>
47739
83bcd236
RM
47740 * scripts/check-localplt.awk: New file.
47741 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47742 of diff.
47743 * scripts/data/localplt-generic.data: Add a comment.
47744
87ef29ca
RM
47745 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47746 NODE when __dir_mkfile failed.
47747 * sysdeps/mach/hurd/symlinkat.c: Likewise.
47748 Reported by Ludovic Courtès <ludo@gnu.org>.
47749
e5a6e567
AJ
477502012-04-24 Andreas Jaeger <aj@suse.de>
47751
47752 * Makerules (common-clean): Also remove gen-as-const-headers
47753 files.
47754
c1820385
JM
477552012-04-24 Joseph Myers <joseph@codesourcery.com>
47756
47757 * Makerules (native-compile): Do not change working directory for
47758 build. Use $(OUTPUT_OPTION) in command.
47759 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47760
94e02fc4
AZ
477612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47762
47763 [BZ #13886]
47764 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47765 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47766 * math/libm-test.inc (floor_test): Add more tests.
47767 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47768
3a533ca3
JM
477692012-04-24 Joseph Myers <joseph@codesourcery.com>
47770
940ab4b3
JM
47771 * sysdeps/unix/getdents.c: Remove file.
47772 * sysdeps/unix/sysv/getdents.c: Likewise.
47773 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47774
90e037bd
JM
47775 * sysdeps/unix/syscalls.list (madvise): Add syscall from
47776 sysdeps/unix/mman/syscalls.list.
47777 (mmap): Likewise.
47778 (mprotect): Likewise.
47779 (msync): Likewise.
47780 (munmap): Likewise.
47781 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47782 * sysdeps/unix/mman/syscalls.list: Remove.
47783 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47784
3a533ca3
JM
47785 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47786 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47787 * configure: Regenerated.
47788 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47789 $(libgcc_s_suffix).
47790 * config.make.in (libgcc_s_suffix): Remove variable.
47791
1ad743de
JM
477922012-04-23 Joseph Myers <joseph@codesourcery.com>
47793
4ad451e2
JM
47794 * sysdeps/unix/sysv/gethostname.c: Move to ...
47795 * sysdeps/posix/gethostname.c: ... here.
47796
5e37ce39
JM
47797 * sysdeps/unix/execve.S: Remove file.
47798
1ad743de
JM
47799 * sysdeps/unix/_exit.S: Remove file.
47800
4e681b5b
AJ
478012012-04-23 Andreas Jaeger <aj@suse.de>
47802
47803 [BZ #13739]
47804 * manual/Makefile: Remove make dist support, there's no
47805 need for a stand-alone documentation tar ball.
47806 (TEXI2DVI): Define always, it's not in Makeconfig.
47807 (dist): Removed.
47808 (tar-it): Removed.
47809 (edition): Removed.
47810 (glibc-doc-$(edition).tar): Removed
47811 (%.Z): Removed.
47812 (%.gz): Removed.
47813 (%.uu): Removed.
47814 (ETAGS): Remove, it's in Makeconfig.
47815 (move-if-change): Remove, it's in Makeconfig.
47816
38686a03 478172012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
47818
47819 [BZ #13970]
47820 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47821 (strtod, strtof, strtold, strtol, strtoul, strtoq)
47822 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47823 (strtod_l, strtof_l, strtold_l): Remove __wur.
47824 It is not necessarily an error to ignore strtol's return value.
47825 One can reliably look at the stored endptr to decide whether
47826 the number had valid syntax.
47827
7c0616fa
AJ
478282012-04-21 Andreas Jaeger <aj@suse.de>
47829
803cb6b7 47830 [BZ #13739]
7c0616fa
AJ
47831 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47832
b0fe253f
JM
478332012-04-21 Joseph Myers <joseph@codesourcery.com>
47834
47835 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47836 * sysdeps/unix/sysv/Versions: Remove file.
47837
8280f22d
MT
478382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
47839
47840 [BZ #13927]
47841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47842
75ce411f 478432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
47844
47845 [BZ #7064]
47846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47847 version from __vm86.
47848
097d59fa
JM
478492012-04-20 Joseph Myers <joseph@codesourcery.com>
47850
a90f3bcb
JM
47851 * sysdeps/unix/common/lxstat.c: Remove file.
47852 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47853
edc7ea78
JM
47854 * sysdeps/unix/sysv/Makefile: Remove file.
47855
cb78c221
JM
47856 * sysdeps/unix/sysv/direct.h: Remove file.
47857
efa6a45f
JM
47858 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47859 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47860 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47861 * sysdeps/unix/sysv/bits/signum.h: Likewise.
47862 * sysdeps/unix/sysv/bits/stat.h: Likewise.
47863 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47864 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47865
9c9f2d0c
JM
47866 * sysdeps/unix/sysv/setrlimit.c: Remove file.
47867
4541c83b
JM
47868 * sysdeps/unix/xmknod.c: Remove file.
47869 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47870
f5d153a0
JM
47871 * sysdeps/unix/sysv/settimeofday.c: Remove file.
47872
aa746595
JM
47873 * sysdeps/unix/sysv/i386/time.S: Remove file.
47874
cce5905e
JM
47875 * sysdeps/unix/fxstat.c: Remove file.
47876 * sysdeps/unix/xstat.c: Likewise.
47877 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47878
37fa3841
JM
47879 * sysdeps/unix/sysv/sigaction.c: Remove file.
47880
ff1962a3
JM
47881 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47882 (sysdep_headers): Remove variable.
47883 [termio.h not in sysdep_headers] (generated): Likewise.
47884 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47885 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47886 * sysdeps/unix/sysv/tcdrain.c: Likewise.
47887 * sysdeps/unix/sysv/tcflow.c: Likewise.
47888 * sysdeps/unix/sysv/tcflush.c: Likewise.
47889 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47890 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47891 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47892 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47893 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47894
e7740d31
JM
47895 * sysdeps/unix/siglist.c: Remove file.
47896
ee06f18b
JM
47897 * sysdeps/unix/getppid.S: Remove file.
47898
097d59fa
JM
47899 * sysdeps/unix/mkdir.c: Remove file.
47900 * sysdeps/unix/rmdir.c: Likewise.
47901
ff3d51ec
AS
479022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
47903
47904 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47905 ERR_MAX value.
47906 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47907 errlist-compat value.
47908
50f81fd7
DM
479092012-04-18 David S. Miller <davem@davemloft.net>
47910
47911 * sysdeps/generic/memcopy.h (reg_char): Delete.
47912 * debug/strcat_chk.c: Use char, not reg_char.
47913 * debug/strcpy_chk.c: Likewise.
47914 * debug/strncat_chk.c: Likewise.
47915 * debug/strncpy_chk.c: Likewise.
47916 * string/memchr.c: Likewise.
47917 * string/memrchr.c: Likewise.
47918 * string/rawmemchr.c: Likewise.
47919 * string/strcat.c: Likewise.
47920 * string/strchr.c: Likewise.
47921 * string/strchrnul.c: Likewise.
47922 * string/strcmp.c: Likewise.
47923 * string/strcpy.c: Likewise.
47924 * string/strncat.c: Likewise.
47925 * string/strncmp.c: Likewise.
47926 * string/strncpy.c: Likewise.
47927
8ff41c46
WS
479282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47929
47930 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47931 __builtin_memcopy is called when src and dest ranges are known to not
47932 overlap.
47933
6b652f46
WS
479342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47935
47936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47937 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47938 fwd_align_merge macro call.
47939 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47940 bwd_align_merge macro call.
47941 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47942
b282631e
WS
479432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47944
47945 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47946 bwd_align_merge macros.
47947 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47948 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47949 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47950
95aa737c
DM
479512012-04-18 David S. Miller <davem@davemloft.net>
47952
47953 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47954
7a99a614
AJ
479552012-04-18 Andreas Jaeger <aj@suse.de>
47956
47957 [BZ# 6794]
47958 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47959 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47960 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47961
47962 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47963 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47964 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47965
47966 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47967 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47968 Adjust for changed ldbl-128 files.
47969
47970 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47971 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47972 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47973
e5270c23
DM
479742012-04-17 David S. Miller <davem@davemloft.net>
47975
47976 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47977
fb5e92c9
AS
479782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47979
47980 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47981 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47982 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47983 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47984 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47985 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47986
76da7265
AZ
479872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47988
47989 [BZ #6794]
47990 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47991 * math/libm-test.inc: Add ilogb errno and exception tests.
47992 * math/w_ilogb.c: New file: ilogb wrapper.
47993 * math/w_ilogbf.c: New file: ilogbf wrapper.
47994 * math/w_ilogbl.c: New file: ilogbl wrapper.
47995 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47996 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47997 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47998 exception being thrown with 0.0 as argument.
47999 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48000 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48001 exception being thrown with 0.0 as argument.
48002 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48003 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48004 exception being thrown with 0.0 as argument.
48005 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48006 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48007 exception being thrown with 0.0 as argument.
48008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48009 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 48010 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
48011 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48012 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48013 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48014 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48015 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48016 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48017
0396e69d
PB
480182012-04-17 Petr Baudis <pasky@ucw.cz>
48019
48020 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48021 with altivec.
48022
750b5926
MP
480232012-04-16 Marek Polacek <polacek@redhat.com>
48024
48025 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48026
751728a1
MP
480272012-04-16 Marek Polacek <polacek@redhat.com>
48028
48029 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48030 operands of fdivp instruction.
48031
34a27407
L
480322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48033
48034 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48035 * elf/tst-auditmod3b.c: Likewise.
48036 * elf/tst-auditmod4b.c: Likewise.
48037 * elf/tst-auditmod5b.c: Likewise.
48038 * elf/tst-auditmod6b.c: Likewise.
48039 * elf/tst-auditmod6c.c: Likewise.
48040 * elf/tst-auditmod7b.c: Likewise.
48041 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48042 * sysdeps/x86_64/preconfigure.in: Likewise.
48043 * sysdeps/x86_64/preconfigure: Regenerated.
48044
7e73e17d
L
480452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48046
48047 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48048 __ILP32__.
48049
c7a6ab72
AB
480502012-04-13 Antoine Balestrat <merkil33@gmail.com>
48051
48052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48053 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48054
a9e8e0e0
CL
480552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48056
48057 [BZ #13973]
48058 * locale/iso-639.def: Fix gl language name. Spotted by
48059 Yaron Shahrabani.
48060
ec98af7d
RM
480612012-04-12 Roland McGrath <roland@hack.frob.com>
48062
48063 [BZ #2074]
48064 * libio/libio.h (__io_write_fn): Update comment.
48065
247c3ede
PB
480662012-04-12 Petr Baudis <pasky@ucw.cz>
48067
48068 [BZ #2074]
48069 * stdio.texi (Hook Functions): The user provided writer function
48070 is not allowed to return -1.
48071
55939d6d
DM
480722012-04-11 David S. Miller <davem@davemloft.net>
48073
48074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48075
90020f5a
MF
480762012-04-11 Mike Frysinger <vapier@gentoo.org>
48077
48078 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48079 Add a leading slash to rtkaio.
48080
288f9098
JM
480812012-04-11 Jim Meyering <meyering@redhat.com>
48082
90020f5a
MF
48083 [BZ #11959]
48084 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48085 It is not necessarily an error to ignore fwrite's return
48086 value. One can reliably use ferror to test for errors after
48087 the fact.
288f9098 48088
4be2b570
L
480892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48090
48091 * bits/types.h (__snseconds_t): New type.
48092 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48093
48094 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48096 (__SNSECONDS_T_TYPE): Likewise.
48097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48098 (__SNSECONDS_T_TYPE): Likewise.
48099 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48100 (__SNSECONDS_T_TYPE): Likewise.
48101
288f9098 481022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
48103
48104 [BZ #2636]
48105 * manual/time.texi (Processor Time): Return type of times is
48106 elapsed real time since an arbitrary point in the past.
48107 (CPU Time): Move CLK_TCK from here...
48108 (Processor Time): ...to here. Correct description.
48109 * manual/conf.texi (Constants for Sysconf): Correct description of
48110 _SC_CLK_TCK.
48111
d7dd4413
DM
481122012-04-10 David S. Miller <davem@davemloft.net>
48113
48114 [BZ #13967]
48115 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48116 where the is a gap between DT_REL(A) and DT_JMPREL.
48117
b46068fc
L
481182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48119
48120 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48121 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48122 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48123
73d65cc3
SP
481242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48125
48126 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48127 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48128 (dl_main): Handle --inhibit-cache.
48129 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48130 _dl_inhibit_cache.
48131 * elf/dl-load.c (_dl_map_object): Use it.
48132 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48133
bcc8d661
JM
481342012-04-09 Joseph Myers <joseph@codesourcery.com>
48135
8f9a2fae
JM
48136 [BZ #13872]
48137 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48138 (__ieee754_powl): Saturate large exponents rather than testing for
48139 overflow of y*log2(x).
48140 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48141 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48142 exceptions.
48143
bcc8d661
JM
48144 [BZ #11521]
48145 * math/s_ctan.c: Include <float.h>.
48146 (__ctan): Avoid internal overflow or cancellation in calculating
48147 denominator.
48148 * math/s_ctanf.c: Likewise.
48149 * math/s_ctanl.c: Likewise.
48150 * math/s_ctanh.c: Likewise.
48151 * math/s_ctanhf.c: Likewise.
48152 * math/s_ctanhl.c: Likewise.
48153 * math/libm-test.inc (ctan_test): Add more tests.
48154 (ctanh_test): Likewise.
48155 * sysdeps/i386/fpu/libm-test-ulps: Update.
48156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48157
823fbbb4
AJ
481582012-04-09 Andreas Jaeger <aj@suse.de>
48159
03879793
AJ
48160 [BZ #6894]
48161 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48162 is an optional BSD extension.
48163
823fbbb4
AJ
48164 [BZ #10254]
48165 * manual/stdio.texi (Opening Streams): Document additional fopen
48166 parameters.
48167
8de131cb
RM
481682012-04-09 Roland McGrath <roland@hack.frob.com>
48169
48170 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48171 %eax without telling the compiler.
48172
c0ed9d7d
CD
481732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48174
48175 [BZ # 13963]
48176 * manual/install.texi: Use sourceware.org.
48177
c483f6b4
JM
481782012-04-09 Joseph Myers <joseph@codesourcery.com>
48179
d7dd9453
JM
48180 [BZ #13873]
48181 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48182 (__ieee754_pow): Generate overflow and underflow using huge*huge
48183 and tiny*tiny rather than just returning constant infinity or zero
48184 for large exponents.
48185 * math/libm-test.inc (pow_test): Require overflow exceptions for
48186 applicable cases of large exponents.
48187
c483f6b4
JM
48188 [BZ #706]
48189 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48190 (__ieee754_pow): Use iterative multiplication algorithm only for
48191 integer exponents with absolute value below 1024. Check for odd
48192 integer exponents when using algorithm for real exponents.
48193 * math/libm-test.inc (pow_test): Add more tests.
48194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48195
d2de7579
JM
481962012-04-08 Joseph Myers <joseph@codesourcery.com>
48197
48198 [BZ #13705]
48199 * math/libm-test.inc (exp_test): Do not allow overflow exception
48200 on underflow test.
48201
f77f1232
AJ
482022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48203
48204 [BZ #13705]
48205 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48206 instead of __kernel_standard_f.
48207
3884932b
MF
482082012-04-08 Mike Frysinger <vapier@gentoo.org>
48209
48210 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48211 * sysdeps/x86_64/memset_chk.S: Likewise.
48212
54472e9c
AJ
482132012-04-08 Andreas Jaeger <aj@suse.de>
48214
6ab0fbfc
AJ
48215 [BZ #10153]
48216 * manual/startup.texi (Environment Access): Describe return value
48217 for putenv and setenv.
48218
61efba8c
AJ
48219 [BZ #6895]
48220 * manual/filesys.texi (Directory Entries): Add description for
48221 DT_LNK.
48222
95c3f29a
AJ
48223 [BZ #6890]
48224 * manual/filesys.texi (Directory Entries): Clarify that it's file
48225 system not operating system in the description of DT_UNKNOWN.
48226
54472e9c
AJ
48227 [BZ #6578]
48228 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48229
624254b1
SC
482302012-04-08 Stephen Compall <s11@member.fsf.org>
48231
48232 [BZ #6649]
48233 * manual/llio.texi (Opening and Closing Files): Add cross
48234 reference to explain mode argument.
48235
1e4920e0
MF
482362012-04-07 Mike Frysinger <vapier@gentoo.org>
48237
48238 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48239 * sysdeps/x86_64/memset_chk.S: Likewise.
48240
5ed848f3
DM
482412012-04-07 David S. Miller <davem@davemloft.net>
48242
48243 * elf/elf.h (R_SPARC_WDISP10): Define.
48244 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48245 R_SPARC_SIZE32.
48246 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48247 R_SPARC_SIZE64 and R_SPARC_H34.
48248
96154cd8
CD
482492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48250
48251 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48252 conditions and remove no longer applicable assertion.
48253
9904dc47
L
482542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48255
48256 * bits/byteswap.h: Include <features.h>.
48257 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48258 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48259
f8887d0a
L
482602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48261
48262 * bits/byteswap.h (__bswap_16): Removed.
48263 Include <bits/byteswap-16.h> to get __bswap_16.
48264 * sysdeps/i386/bits/byteswap.h: Likewise.
48265 * sysdeps/s390/bits/byteswap.h: Likewise.
48266 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48267 * bits/byteswap-16.h: New file.
48268 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48269 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48270 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48271 * string/Makefile (headers): Add bits/byteswap-16.h.
48272
62470f60
PP
482732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48274
48275 [BZ #13895]
48276 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48277 extra indirection.
48278 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48279 * nss/tst-nss-static.c: New.
48280
4dad7bab
RM
482812012-04-06 Robert Millan <rmh@gnu.org>
48282
48283 [BZ #6486]
48284 * manual/llio.texi (File Position Primitive): lseek
48285 refers to WHENCE when it really means OFFSET.
48286
e9142a17
AJ
482872012-04-06 Andreas Jaeger <aj@suse.de>
48288
2c040eff
AJ
48289 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48290 strncmp declarations.
48291
e9142a17
AJ
48292 * abilist/libc.abilist: Add __poll and __ppoll.
48293
ff9f1c5f
DM
482942012-04-05 David S. Miller <davem@davemloft.net>
48295
dcd2ae90
DM
48296 * scripts/check-local-headers.sh: Accept a host triplet in the
48297 path matched by the exclude regexp.
48298
993eb054
DM
48299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48300 definition.
48301 * sysdeps/powerpc/powerpc32/dl-machine.h
48302 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48303 * sysdeps/s390/s390-32/dl-machine.h
48304 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48305 * sysdeps/sparc/sparc32/dl-machine.h
48306 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48307 * sysdeps/sparc/sparc64/dl-machine.h
48308 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48309
ff9f1c5f
DM
48310 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48311 lazy binding.
48e2e132 48312 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
48313 undefined symbol errors.
48314
48e2e132 48315 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
48316 DT_NEEDED entries.
48317
e80d6f94
MM
483182012-04-05 Michael Matz <matz@suse.de>
48319
48320 [BZ #13592]
48321 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48322
349fa79f
AJ
483232012-04-05 Andreas Jaeger <aj@suse.de>
48324
48325 [BZ #13908]
48326 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48327 comment.
48328
f402708f
KK
483292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48330
48331 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48332 which ROUND is no valid rounding mode.
48333
2ecccfc9
KK
483342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48335
48336 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48337 read again.
48338 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48339
8a53f50f
KK
483402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48341
48342 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48343 an exception using FPU order intentionally.
48344
483452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48346
48347 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48348 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48349 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48350 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48351
d653abb7
SJ
483522012-04-05 Simon Josefsson <simon@josefsson.org>
48353
48354 [BZ #12340]
48355 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48356 EINVAL when BUFLEN is too smal.
48357
c3b1bf7d
TS
483582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48359
48360 [BZ #13553]
48361 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48362 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48363
b1aa60f3
AJ
483642012-04-03 Andreas Jaeger <aj@suse.de>
48365
c3b1bf7d 48366 [BZ #13938]
67f60a26
AJ
48367 * manual/setjmp.texi (System V contexts): Fix sentence.
48368
b1aa60f3
AJ
48369 [BZ #13926]
48370 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48371 New macro for this case.
48372 [!__GNUC__] (__bswap_64): New inline function for this case.
48373 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48374 * bits/byteswap.h: Likewise.
48375 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48376 ull, guard with __GLIBC_HAVE_LONG_LONG.
48377
48378 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48379 __GLIBC_HAVE_LONG_LONG.
48380
48381 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48382 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48383
39c59c35
TMQMF
483842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48385
48386 [BZ #13691]
48387 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48388 inptr and inend, rather than using last_ch.
48389
135ffda8
DM
483902012-04-02 David S. Miller <davem@davemloft.net>
48391
48392 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48393 * stdio-common/printf-parse.h (read_int): Change return type to
48394 'int', return -1 on INT_MAX overflow.
48395 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48396 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48397 overflows INT_MAX. Check for overflow of in-format-string precision
48398 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48399 SIZE_MAX not INT_MAX for integer overflow test.
48400 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48401 skip the construct in the format string but do not record anything.
48402 * stdio-common/bug22.c: Adjust to test both width/prevision
48403 INT_MAX overflow as well as total length INT_MAX overflow. Check
48404 explicitly for proper errno values.
48405
228c019e
TS
484062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48407
302cadd3
TS
48408 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48409 CHAR_MAX.
48410 * string/test-strcmp.c [! WIDE]: Likewise.
48411 * time/tst-mktime2.c: Likewise for INT_MAX.
48412 * string/test-string.h: #include <sys/param.h> for MIN.
48413
228c019e
TS
48414 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48415 * sysdeps/i386/init-first.c (init): Likewise.
48416 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48417 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48418 * sysdeps/sh/init-first.c (init): Likewise.
48419
cfa633f5
UD
484202012-04-01 Ulrich Drepper <drepper@gmail.com>
48421
48422 * po/ru.po: Update from translation team.
d1635ef8 48423 * po/vi.po: Likewise.
cfa633f5 48424
6cd0a5ea
SP
484252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48426
48427 * resolv/nss_dns/dns-host.c: Merge copyright years.
48428
4b43400f
LD
484292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48430
48431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48432 Optimize memcpy with prefetch if
48433 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48434 src, dst pointers have unequal 16 byte alignments.
48435
48c41d04
SP
484362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48437
48438 [BZ #13928]
48439 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48440 from a CNAME entry and return the minimum ttl for the query.
48441 (gaih_getanswer_slice): Likewise.
48442
b8dc394d
JL
484432012-03-30 Jeff Law <law@redhat.com>
48444
48445 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48446 due to long keys.
48447 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48448 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48449
2f5a5ed0
JL
48450 * resolv/nss_dns/dns-host.c: Update copyright year.
48451
1d39e359
UD
484522012-03-30 Ulrich Drepper <drepper@gmail.com>
48453
c030f70c 48454 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 48455 requests to save a system call. Fix check that all bytes are sent.
c030f70c 48456
1d39e359
UD
48457 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48458 comments for sendmmsg.
48459
484602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
48461
48462 [BZ #13691]
48463 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48464 with only 1 character between 0x0041 and 0x01b0.
48465 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48466 * wcsmbs/tst-mbsnrtowcs.c: New file.
48467
20fde227
DM
484682012-03-29 David S. Miller <davem@davemloft.net>
48469
48470 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48471 small copies by hand.
48472
984a4237
JL
484732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48474
48475 [BZ #13761]
57f41c40
AS
48476 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48477 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48478 group memberships.
984a4237 48479
18c9d62b
DM
484802012-03-28 David S. Miller <davem@davemloft.net>
48481
88d85d4f
DM
48482 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48483 that branches into memcpy.
48484 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48487 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48489 bits.
48490 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48491 implementation too.
48492 * sysdeps/sparc/mempcpy.S: New file.
48493
e5aa83e1
DM
48494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48495 the IFUNC routine in the libc case.
48496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48497
88570753
DM
48498 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48499 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48500 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48501 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48502 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48503 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48504 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48505 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48506
249d7567
DM
48507 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48508 loop to 256 bytes instead of 64 bytes and fix test signedness.
48509
18c9d62b
DM
48510 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48511 * sysdeps/sparc/sparc32/Makefile: rather than here...
48512 * sysdeps/sparc/sparc64/Makefile: and here.
48513
05f3d1f6
UD
485142012-03-28 Ulrich Drepper <drepper@gmail.com>
48515
48516 * malloc/mallocbug.c: Avoid warnings about unused variables.
48517
86ae07a8
JL
485182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48519
48520 [BZ #13760]
48521 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48522 in the right place. Discard and retry query if response is
48523 larger than input buffer size.
48524
41bf21a1
JM
485252012-03-28 Joseph Myers <joseph@codesourcery.com>
48526
d6270972
JM
48527 [BZ #369]
48528 [BZ #2678]
48529 [BZ #3866]
48530 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48531 x for large integer exponent.
48532 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48533 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48534 sign of result as needed afterwards.
48535 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48536 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48537 result for underflowing pow the same as for overflow.
48538 (__kernel_standard_l): Handle powl overflow and underflow here
48539 rather than calling __kernel_standard.
48540 * math/libm-test.inc (pow_test): Add more tests.
48541
414fca03 48542 [BZ #3868]
41bf21a1
JM
48543 [BZ #13879]
48544 [BZ #13910]
48545 [BZ #13911]
48546 [BZ #13912]
48547 [BZ #13913]
48548 [BZ #13915]
48549 [BZ #13916]
48550 [BZ #13917]
48551 [BZ #13918]
48552 [BZ #13919]
48553 [BZ #13920]
48554 [BZ #13921]
48555 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48556 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48557 (__kernel_standard_l): New function.
48558 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48559 __kernel_standard.
48560 * math/w_acosl.c (__acosl): Likewise.
48561 * math/w_asinl.c (__asinl): Likewise.
48562 * math/w_atan2l.c (__atan2l): Likewise.
48563 * math/w_atanhl.c (__atanhl): Likewise.
48564 * math/w_coshl.c (__coshl): Likewise.
48565 * math/w_exp10l.c (__exp10l): Likewise.
48566 * math/w_exp2l.c (__exp2l): Likewise.
48567 * math/w_fmodl.c (__fmodl): Likewise.
48568 * math/w_hypotl.c (__hypotl): Likewise.
48569 * math/w_j0l.c (__j0l, __y0l): Likewise.
48570 * math/w_j1l.c (__j1l, __y1l): Likewise.
48571 * math/w_jnl.c (__jnl, __ynl): Likewise.
48572 * math/w_lgammal.c (__lgammal): Likewise.
48573 * math/w_log10l.c (__log10l): Likewise.
48574 * math/w_log2l.c (__log2l): Likewise.
48575 * math/w_logl.c (__logl): Likewise.
48576 * math/w_powl.c (__powl): Likewise.
48577 * math/w_remainderl.c (__remainderl): Likewise.
48578 * math/w_scalbl.c (sysv_scalbl): Likewise.
48579 * math/w_sinhl.c (__sinhl): Likewise.
48580 * math/w_sqrtl.c (__sqrtl): Likewise.
48581 * math/w_tgammal.c (__tgammal): Likewise.
48582 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48583 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48584 * math/libm-test.inc (acos_test): Add more tests.
48585 (acosh_test): Likewise.
48586 (asin_test): Likewise.
48587 (atanh_test): Likewise.
48588 (exp_test): Likewise.
48589 (exp10_test): Likewise.
48590 (exp2_test): Likewise.
48591 (expm1_test): Likewise.
48592 (lgamma_test): Likewise.
48593 (log_test): Likewise.
48594 (log10_test): Likewise.
48595 (log1p_test): Likewise.
48596 (log2_test): Likewise.
48597 (pow_test): Do not allow some spurious overflow exceptions.
48598 (sqrt_test): Add more tests.
48599 (tgamma_test): Likewise.
48600 (y0_test): Likewise.
48601 (y1_test): Likewise.
48602 (yn_test): Likewise.
48603
dd62fda6
AB
486042012-03-27 Anton Blanchard <anton@samba.org>
48605
48606 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48607 MAP_HUGETLB.
48608 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48609 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48610 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48611
1e3cdfda
AJ
486122012-03-27 David S. Miller <davem@davemloft.net>
48613
b855ab85
DM
48614 * conform/Makefile: Run run-conformtest.sh using $(BASH).
48615
1e3cdfda
AJ
48616 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48617 have-as-vis3 check.
48618
486192012-03-27 Andreas Jaeger <aj@suse.de>
48620
48621 * sysdeps/x86_64/elf/configure.in: Moved to ...
48622 * sysdeps/x86_64/configure.in: ... here.
48623 * sysdeps/x86_64/elf/start.S: Moved to ...
48624 * sysdeps/x86_64/start.S: ... here.
48625 * sysdeps/x86_64/elf/configure: Delete.
48626
48627 * sysdeps/x86_64/configure.in: Merge contents from
48628 sysdeps/i386/configure.in (without i686 check).
48629
48630 * sysdeps/i386/elf/Versions: Merge into ...
48631 * sysdeps/i386/Versions: ... this.
48632 * sysdeps/i386/elf/Versions: Delete file.
48633 * sysdeps/i386/elf/start.S: Moved to ...
48634 * sysdeps/i386/start.S: ...here.
48635 * sysdeps/i386/elf/configure.in: Merge into...
48636 * sysdeps/i386/configure.in: ...here.
48637 * sysdeps/i386/elf/configure.in: Delete file.
48638 * sysdeps/i386/elf/configure: Delete file.
48639
48640 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48641 * debug/backtracesyms.c: ... here.
48642 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48643 * debug/backtracesymsfd.c: ... here.
48644 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48645 * sysdeps/generic/ifunc-sel.h: ... here.
48646
48647 * sysdeps/unix/i386/start.c: Delete file.
48648 * sysdeps/unix/sparc/start.c: Delete file.
48649 * sysdeps/unix/start.c: Delete file.
48650
48651 * sysdeps/sh/elf/configure.in: Moved to ...
48652 * sysdeps/sh/configure.in: ... here.
48653 * sysdeps/sh/elf/start.S: Moved to ...
48654 * sysdeps/sh/start.S: ... here.
48655 * sysdeps/sh/elf/configure: Delete file.
48656
48657 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48658 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48659 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48660 * sysdeps/powerpc/powerpc64/entry.h: ... here.
48661 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48662 * sysdeps/powerpc/powerpc64/start.S: here.
48663 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48664 * sysdeps/powerpc/powerpc64/Makefile: ... this.
48665 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48666 * sysdeps/powerpc/powerpc64/configure.in: ... this.
48667 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48668
48669 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48670 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48671 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48672 * sysdeps/powerpc/powerpc32/start.S: ... here.
48673 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48674 * sysdeps/powerpc/powerpc32/configure.in: ... this.
48675 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48676
48677 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48678 * sysdeps/powerpc/ifunc-sel.h: ... here.
48679 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48680 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48681
48682 * sysdeps/sparc/elf/configure.in: Moved to ...
48683 * sysdeps/sparc/configure.in: ... here.
48684 * sysdeps/sparc/elf/configure: Delete file.
48685 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48686 * sysdeps/sparc/sparc32/start.S: ... here.
48687 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48688 * sysdeps/sparc/sparc64/start.S: ... here.
48689 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48690 * sysdeps/sparc/sparc32/Makefile: ... this.
48691 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48692 * sysdeps/sparc/sparc64/Makefile: ... this.
48693
48694 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48695 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48696 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48697 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48698 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48699 * sysdeps/s390/s390-32/setjmp.S: ... here.
48700 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48701 * sysdeps/s390/s390-32/configure.in: ... here.
48702 * sysdeps/s390/s390-32/elf/configure: Delete file.
48703 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48704 * sysdeps/s390/s390-32/start.S: ... here.
48705
48706 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48707 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48708 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48709 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48710 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48711 * sysdeps/s390/s390-64/setjmp.S: ... here.
48712 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48713 * sysdeps/s390/s390-64/configure.in: ... here
48714 * sysdeps/s390/s390-64/elf/configure: Delete file.
48715 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48716 * sysdeps/s390/s390-64/start.S: ... here.
48717 * sysdeps/s390/s390-64/elf/configure: Delete.
48718
48719 * configure.in: Remove support for elf directories in sysdeps.
48720
48721 * configure: Regenerated.
48722 * sysdeps/i386/configure: Regenerated.
48723 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48724 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48725 * sysdeps/s390/s390-32/configure: Regenerated.
48726 * sysdeps/s390/s390-64/configure: Regenerated.
48727 * sysdeps/sh/configure: Regenerated.
48728 * sysdeps/sparc/configure: Regenerated.
48729 * sysdeps/x86_64/configure: Regenerated.
48730
a3f61311
AS
487312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
48732
c876e002
AS
48733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48734
a3f61311
AS
48735 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48736 denormal result into account.
48737
ac4c54f0
RM
487382012-03-25 Roland McGrath <roland@hack.frob.com>
48739
48740 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48741 Reported by Allan McRae <allan@archlinux.org>.
48742
6a9b9c02
JL
487432012-03-23 Jeff Law <law@redhat.com>
48744
48745 * nss/getnssent.c (__nss_getent): Fix typo.
48746
4c42a0c1
DM
487472012-03-23 David S. Miller <davem@davemloft.net>
48748
48749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48750
1532c7ac
L
487512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
48752
48753 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48754 to pad to uint64_t for each field.
48755 (dl_tls_index): Replace unsigned long with uint64_t.
48756
3ff42526
PP
487572012-03-23 Daniel Jacobowitz <dmj@google.com>
48758 Paul Pluzhnikov <ppluzhnikov@google.com>
48759
48760 [BZ #6528]
48761 * grp/Makefile (otherlibs): Don't set it.
48762 * inet/Makefile (otherlibs): Likewise.
48763 * login/Makefile (otherlibs): Likewise.
48764 * nscd/Makefile (otherlibs): Likewise.
48765 * posix/Makefile (otherlibs): Likewise.
48766 * pwd/Makefile (otherlibs): Likewise.
48767 * rt/Makefile (otherlibs): Likewise.
48768 * sunrpc/Makefile (otherlibs): Likewise.
48769 * nss/Makefile (otherlibs): Likewise.
48770 Add libnss_files to routines and static-only-routines.
48771 ($(objpfx)getent): Remove rule.
48772 * resolv/Makefile: Add libnss_dns and libresolv to routines and
48773 static-only-routines.
48774
7c69cd14
JM
487752012-03-22 Joseph Myers <joseph@codesourcery.com>
48776
48777 [BZ #13892]
48778 * math/s_cexp.c: Include <float.h>.
48779 (__cexp): Handle exp result overflowing not necessarily
48780 overflowing both real and imaginary parts of result.
48781 * math/s_cexpf.c: Likewise.
48782 * math/s_cexpl.c: Likewise.
48783 * math/libm-test.inc (cexp_test): Add more tests.
48784 * sysdeps/i386/fpu/libm-test-ulps: Update.
48785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48786
81b035fe
L
487872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48788
48789 * include/link.h (ELFW): New macro.
48790 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48791 Replace ELF64_R_TYPE with ELFW(R_TYPE).
48792
1da7940c
L
487932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48794
48795 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48796 with uint64_t.
48797
b749dbb9
L
487982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48799
48800 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48801 declaration.
48802 (struct La_x32_retval): Likewise.
48803
2ff87f3f
L
488042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48805
48806 * sysdeps/x86_64/preconfigure.in: New file.
48807 * sysdeps/x86_64/preconfigure: New generated file.
48808
c0df8e69
JM
488092012-03-22 Joseph Myers <joseph@codesourcery.com>
48810
48e44791
JM
48811 [BZ #13824]
48812 * math/e_exp2l.c: Include <float.h>.
48813 (__ieee754_exp2l): Handle overflow and underflow cases
48814 separately. Only pass fractional part of argument to
48815 __ieee754_expl.
48816 * math/libm-test.inc (exp2_test): Add more tests.
48817
c0df8e69
JM
48818 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48819 negating x to take absolute value.
48820 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48821 Likewise.
48822 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48823 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48824 Likewise.
48825 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48826 computing low part if x was negated.
48827 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48828
c8e43ba7
L
488292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48830
48831 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48832 la_x32_gnu_pltexit.
48833 (pltexit): Cast int_retval to ptrdiff_t.
48834 * elf/tst-auditmod3b.c: Likewise.
48835 * elf/tst-auditmod4b.c: Likewise.
48836 * elf/tst-auditmod5b.c: Likewise.
48837 * elf/tst-auditmod6b.c: Likewise.
48838 * elf/tst-auditmod6c.c: Likewise.
48839 * elf/tst-auditmod7b.c: Likewise.
48840
48841 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48842 and x32_gnu_pltexit.
48843
48844 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48845 __ELF_NATIVE_CLASS.
48846 (La_x32_regs): New macro.
48847 (La_x32_retval): Likewise.
48848 (la_x32_gnu_pltenter): New function prototype.
48849 (la_x32_gnu_pltexit): Likewise.
48850
7998fa78
AS
488512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
48852
dcb33988
AS
48853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48854 exponent.
48855
233fc563
AS
48856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48857
7998fa78
AS
48858 * configure.in (libc_cv_cc_nofma): Check for option to disable
48859 generation of FMA instructions.
48860 * configure: Regenerate.
48861 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48862 * sysdeps/ieee754/dbl-64/Makefile: New file.
48863 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48864 Remove brandred-fma4.
48865 (CFLAGS-brandred-fma4.c): Remove.
48866 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48867 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48868 define.
48869 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48870 define.
48871
8e95c99a
L
488722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48873
48874 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48875 LLONG_MAX != LONG_MAX.
48876 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48877 (_fitoa_word): Likewise.
48878 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48879 LLONG_MAX != LONG_MAX.
48880 * stdio-common/_itowa.h: Include <_itoa.h>.
48881 (_itowa_word): Use _ITOA_WORD_TYPE on value.
48882 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
48883 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
48884 only if not defined.
48885 (_ITOA_WORD_TYPE): Likewise.
48886 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48887 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48888
6f4db457
DM
488892012-03-21 David S. Miller <davem@davemloft.net>
48890
48891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48892
7785fe5a
L
488932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48894
48895 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48896 of x86_64 when setting libc_cv_slibdir, libdir and
48897 libc_cv_localedir.
48898 * sysdeps/unix/sysv/linux/configure: Regenerated.
48899
4535cd55
JM
489002012-03-21 Joseph Myers <joseph@codesourcery.com>
48901
48902 * manual/lang.texi (Old Varargs): Remove section.
48903 (How Variadic): Update menu.
48904 (va_start): Do not mention varargs.h.
48905
17228132
TS
489062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48907 Joseph Myers <joseph@codesourcery.com>
48908
48909 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48910 link test.
48911 * configure: Regenerated.
48912
8149f976
TS
489132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48914
05f3d1f6
UD
48915 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48916 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48917 conformtest.pl
8149f976 48918
1a4ac776
JM
489192012-03-21 Joseph Myers <joseph@codesourcery.com>
48920
be22ce65
JM
48921 * NOTES: Remove.
48922 * Makefile (files-for-dist): Remove NOTES.
48923 (NOTES): Remove rule.
48924 * README: Don't refer to NOTES.
48925 * manual/creature.texi: Don't include macros.texi.
48926 * manual/intro.texi (creature.texi): Remove comment referring to
48927 NOTES.
48928
40b601fb
JM
48929 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48930 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48931 * configure: Regenerated.
48932 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48933 LIBC_TRY_CC_OPTION.
48934 (libc_cv_as_i686): Likewise.
48935 (libc_cv_cc_avx): Likewise.
48936 (libc_cv_cc_sse2avx): Likewise.
48937 (libc_cv_cc_fma4): Likewise.
48938 (libc_cv_cc_novzeroupper): Likewise.
48939 * sysdeps/i386/configure: Regenerated.
48940
1a4ac776
JM
48941 [BZ #13883]
48942 * sysdeps/i386/fpu/s_cexp.S: Remove.
48943 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48944 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48945 * math/libm-test.inc (cexp_test): Add more tests.
48946 * sysdeps/i386/fpu/libm-test-ulps: Update.
48947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48948
a458e7fe
AM
489492012-03-21 Allan McRae <allan@archlinux.org>
48950
48951 * timezone/Makefile: Do not install iso3166.tab and zone.tab
48952
0cb7efc5
JM
489532012-03-21 Joseph Myers <joseph@codesourcery.com>
48954
48955 [BZ #13871]
48956 * math/w_exp2.c: Do not include <float.h>.
48957 (o_threshold, u_threshold): Remove.
48958 (__exp2): Calculate result before checking finiteness and calling
48959 __kernel_standard.
48960 * math/w_exp2f.c: Likewise.
48961 * math/w_exp2l.c: Likewise.
48962 * math/libm-test.inc (exp2_test): Require overflow exception for
48963 1e6 input.
2460d3aa
JM
48964
48965 [BZ #3866]
48966 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48967 range of signed 64-bit integers before using fistpll. Remove
48968 checks for whether integers fit in mantissa bits.
48969 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48970 the range of signed 32-bit integers before using fistpl. Remove
48971 checks for whether integers fit in mantissa bits.
48972 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48973 (__ieee754_powl): Test for y outside the range of signed 64-bit
48974 integers before using fistpll. Reduce 64-bit values to 63-bit
48975 ones as needed.
48976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48977 divide-by-zero is raised for zero to large negative powers.
48978 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48979 (__ieee754_powl): Test for y outside the range of signed 64-bit
48980 integers before using fistpll. Reduce 64-bit values to 63-bit
48981 ones as needed.
48982 * math/libm-test.inc (pow_test): Add more tests.
48983
eb96ffb0
L
489842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48985
48986 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48987 <stdio-common/_itoa.h>.
48988 * debug/segfault.c: Likewise.
48989 * elf/dl-cache.c: Likewise.
48990 * elf/dl-minimal.c: Likewise.
48991 * elf/dl-misc.c: Likewise.
48992 * elf/dl-sysdep.c: Likewise.
48993 * elf/dl-version.c: Likewise.
48994 * elf/rtld.c: Likewise.
48995 * hurd/hurdsock.c: Likewise.
48996 * hurd/lookup-retry.c: Likewise.
48997 * malloc/malloc.c: Likewise.
48998 * malloc/mtrace.c: Likewise.
48999 * nscd/nscd_getgr_r.c: Likewise.
49000 * nscd/nscd_getpw_r.c: Likewise.
49001 * nscd/nscd_getserv_r.c: Likewise.
49002 * posix/getopt_init.c: Likewise.
49003 * posix/wordexp.c: Likewise.
49004 * stdio-common/_itoa.c: Likewise.
49005 * stdio-common/printf_fphex.c: Likewise.
49006 * stdio-common/vfprintf.c: Likewise.
49007 * string/_strerror.c: Likewise.
49008 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49009 * sysdeps/i386/i686/hp-timing.h: Likewise.
49010 * sysdeps/mach/_strerror.c: Likewise.
49011 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49012 * sysdeps/mach/hurd/sethostid.c: Likewise.
49013 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49014 * sysdeps/mach/xpg-strerror.c: Likewise.
49015 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49017 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49018 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49019 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49020 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49021 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49022 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49023 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49024 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49025 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49026 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49027 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49028 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49029 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49030 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49031 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49032 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49033 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49034 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49035 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49036
49037 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49038
49039 * stdio-common/_itoa.h: Moved to ...
49040 * sysdeps/generic/_itoa.h: Here.
49041
49042 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49043
49044 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49045 instead of "_itoa.h" and "_itowa.h".
49046 * stdio-common/vfprintf.: Likewise.
49047
d1af992d
L
490482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49049
49050 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49051 <bits/wordsize.h>.
49052 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49053 (__signbit): Likwise.
49054 (llrintf): Likwise.
49055 (llrint): Likwise.
49056
114883e0
L
490572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49058
49059 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49060 __WORDSIZE != 64.
49061
c135cc1b
JM
490622012-03-20 Joseph Myers <joseph@codesourcery.com>
49063
49064 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49065 OVERFLOW_EXCEPTION_OK.
49066 * math/libm-test.inc ("Philosophy"): Update comment about
49067 exception testing.
49068 (OVERFLOW_EXCEPTION): Define.
49069 (OVERFLOW_EXCEPTION_OK): Likewise.
49070 (INVALID_EXCEPTION_OK): Renumber.
49071 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49072 (IGNORE_ZERO_INF_SIGN): Likewise.
49073 (test_exceptions): Handle FE_OVERFLOW.
49074 (exp10_test): Expect overflow exceptions.
49075 (exp2_test): Likewise.
49076 (expm1_test): Likewise.
49077 (nextafter_test): Likewise.
49078 (pow_test): Likewise.
49079 (scalbn_test): Likewise.
49080 (scalbln_test): Likewise.
49081
95443d88
L
490822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49083
49084 * sysdeps/x86_64/bits/atomic.h
49085 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49086 64bit integer.
49087 (atomic_exchange_acq): Likewise.
49088 (__arch_exchange_and_add_body): Likewise.
49089 (__arch_add_body): Likewise.
49090 (atomic_add_negative): Likewise.
49091 (atomic_add_zero): Likewise.
49092
490df6c4
L
490932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49094
c2722551 49095 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
49096 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49097
5e52b189
L
490982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49099
49100 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49101 Check __x86_64__ instead of __WORDSIZE.
49102
a9879d4c
L
491032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49104
49105 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49106
5df98260
DM
491072012-03-19 David S. Miller <davem@davemloft.net>
49108
e1497744
DM
49109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49110
5df98260
DM
49111 * sysdeps/sparc/fpu/fenv_private.h: New file.
49112 * sysdeps/sparc/fpu/math_private.h: Use it.
49113 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49114 Remove.
57f41c40 49115 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
49116 (libc_feholdexcept_setroundl): Remove.
49117 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49118 Remove.
49119 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49120 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49121
b4c35121
L
491222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49123
49124 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49125 int64_t instead of long int.
49126 (INSERT_WORDS64): Likwise.
49127
56965fd7
L
491282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49129
49130 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49131 _Unwind_GetCFA return to _Unwind_Ptr first.
49132
83d1aec8
JM
491332012-03-19 Joseph Myers <joseph@codesourcery.com>
49134
1897ad44
JM
49135 [BZ #13629]
49136 * math/s_clog.c: Include <float.h>.
49137 (__clog): Scale large or subnormal inputs.
49138 * math/s_clogf.c: Likewise.
49139 * math/s_clogl.c: Likewise.
49140 * math/s_clog10.c: Include <float.h>.
49141 (M_LOG10_2): Define.
49142 (__clog10): Scale large or subnormal inputs.
49143 * math/s_clog10f.c: Likewise.
49144 * math/s_clog10l.c: Likewise.
49145 * math/libm-test.inc (clog_test): Add more tests.
49146 (clog10_test): Likewise.
49147 * sysdeps/i386/fpu/libm-test-ulps: Update.
49148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49149
7726d6a9
JM
49150 [BZ #11451]
49151 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49152 x and y.
49153 * math/libm-test.inc (atan2_test): Add another test.
49154
83d1aec8
JM
49155 * Makerules (common-objdir-compile): Remove.
49156 * sysdeps/unix/Makefile (config-generated): Do not add
49157 $(unix-generated) to variable.
49158 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49159 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49160 Remove rule.
49161 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49162 Likewise.
49163 [generic bits/local_lim.h] (before-compile): Do not append to
49164 variable.
49165 [generic bits/local_lim.h] (common-generated): Likewise.
49166 [generic sys/param.h] (before-compile): Do not append to variable.
49167 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49168 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49169 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49170 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49171 include.
49172 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49173 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49174 [generic sys/param.h] ($(addprefix
49175 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49176 [generic sys/param.h] (common-generated): Do not append to
49177 variable.
49178 [generic sys/param.h] (sysdep_headers): Likewise.
49179 [generic bits/errno.h] (before-compile): Do not append to
49180 variable.
49181 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49182 rule.
49183 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49184 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49185 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49186 [generic bits/errno.h] (common-generated): Do not append to
49187 variable.
49188 [generic bits/ioctls.h] (before-compile): Do not append to
49189 variable.
49190 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49191 rule.
49192 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49193 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49194 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49195 rule.
49196 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49197 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49198 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49199 [generic bits/ioctls.h] (common-generated): Do not append to
49200 variable.
49201 [generic sys/syscall.h] (syscall.h): Remove variable.
49202 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49203 rule.
49204 [generic sys/syscall.h] (before-compile): Do not append to
49205 variable.
49206 [generic sys/syscall.h] (common-generated): Likewise.
49207 * sysdeps/unix/errnos-tmpl.c: Remove file.
49208 * sysdeps/unix/errnos.awk: Likewise.
49209 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49210 * sysdeps/unix/ioctls.awk: Likewise.
49211 * sysdeps/unix/mk-local_lim.c: Likewise.
49212 * sysdeps/unix/snarf-ioctls: Likewise.
49213
4851a949
RH
492142012-03-19 Richard Henderson <rth@twiddle.net>
49215
bd37f2ee
RH
49216 * sysdeps/i386/fpu/fenv_private.h: New file.
49217 * sysdeps/i386/fpu/math_private.h: Use it.
49218 (math_opt_barrier, math_force_eval): Remove.
49219 (libc_feholdexcept_setround_53bit): Remove.
49220 (libc_feupdateenv_53bit): Remove.
49221 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49222 (math_opt_barrier, math_force_eval): Remove.
49223 (libc_feholdexcept): Remove.
49224 (libc_feholdexcept_setround): Remove.
49225 (libc_fetestexcept, libc_fesetenv): Remove.
49226 (libc_feupdateenv_test): Remove.
49227 (libc_feupdateenv, libc_feholdsetround): Remove.
49228 (libc_feresetround): Remove.
49229
d0adc922
RH
49230 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49231 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49232
0fe0f1f8
RH
49233 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49234 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49235 (libc_feupdateenv_testl): New.
49236 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49237 (libc_feupdateenv_testf): New.
49238 (libc_feupdateenv): Use libc_feupdateenv_test.
49239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49240 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49241
eb92c487
RH
49242 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49243 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49244 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49245 (libc_feresetround_noex): New.
49246 (libc_feresetround_noexf): New.
49247 (libc_feresetround_noexl): New.
49248 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49249 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49250 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49251 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49252 SET_RESTORE_ROUND.
49253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49255 (__cos): Likewise.
49256 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49257 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49258 SET_RESTORE_ROUND_NOEX.
49259 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49260 SET_RESTORE_ROUND_NOEXF.
49261 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49262 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49263 (libc_feholdsetroundf): New.
49264 (libc_feresetround, libc_feresetroundf): New.
49265
7d2e8012
RH
49266 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49267 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49268 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49269
b4dabbb4
RH
49270 * sysdeps/generic/math_private.h: Include <fenv.h>.
49271 (default_libc_feholdexcept): New.
49272 (default_libc_feholdexcept_setround): New.
49273 (default_libc_fesetenv, default_libc_feupdateenv): New.
49274 (libc_feholdexcept): Only define if undefined.
49275 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49276 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49277 (libc_feholdexcept_setroundl): Likewise.
49278 (libc_feholdexcept_setround_53bit): Likewise.
49279 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49280 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49281 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49282 (libc_feupdateenv_53bit): Likewise.
49283 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49284 (libc_feholdexcept): Convert from macro to inline function.
49285 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49286 (libc_fesetenv, libc_feupdateenv): Likewise.
49287
4851a949
RH
49288 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49289 not previously defined.
49290 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49291 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49292 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49293 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49294 * sysdeps/ieee754/flt-32/math_private.h: New file.
49295 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49296 math_private.h below SET_FLOAT_WORD.
49297 (__isnan, __isinf_ns, __finite): Remove.
49298 (__isnanf, __isinf_nsf, __finitef): Remove.
49299
e79d442e
AS
493002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49301
49302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49303
90b80344
DM
493042012-03-17 David S. Miller <davem@davemloft.net>
49305
49306 [BZ #6471]
49307 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49308 for 2.16.
49309
edc21804
DM
493102012-03-16 David S. Miller <davem@davemloft.net>
49311
77e927af
DM
49312 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49313 warnings.
49314
374976dd
DM
49315 [BZ #6471]
49316 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49317 properly.
49318 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49319 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49320 sysdep_routines when subdir is sysvipc.
49321 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49322 __getshmlba helper.
49323
edc21804
DM
49324 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49325
473c3ef3
L
493262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49327
49328 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49329 [__LP64__].
49330
eb0f39b6
L
493312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49332
49333 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49334 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49335 (__lround): Renamed to ...
49336 (__llround): This. Replace long int with long long int.
49337 Define lround functions as aliases of llround functions.
49338 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49339
6b6cd74b
L
493402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49341
49342 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49343 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49344 adresses to uintptr_t. Replace "long int" and "unsigned long
49345 int" with "greg_t" on va_arg.
49346
f1a77b01
L
493472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49348
49349 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49350 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49351
49352 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49353 Move e_machine check before EI_CLASS check. Handle x32
49354 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49355 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49356 SKIP_EM_IA_64 and include
49357 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49358
49359 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49360 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49361 (add_system_dir): New macro.
49362
49363 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49364 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49365
11b90b9f
JM
493662012-03-16 Joseph Myers <joseph@codesourcery.com>
49367
c36e1d23
JM
49368 [BZ #2551]
49369 [BZ #2552]
49370 [BZ #2553]
49371 [BZ #2554]
49372 [BZ #2562]
49373 [BZ #2563]
49374 [BZ #2565]
49375 [BZ #2566]
49376 [BZ #2576]
49377 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49378 (y0): Likewise.
49379 * math/w_j0f.c (j0f): Likewise.
49380 (y0f): Likewise.
49381 * math/w_j0l.c (__j0l): Likewise.
49382 (__y0l): Likewise.
49383 * math/w_j1.c (j1): Likewise.
49384 (y1): Likewise.
49385 * math/w_j1f.c (j1f): Likewise.
49386 (y1f): Likewise.
49387 * math/w_j1l.c (__j1l): Likewise.
49388 (__y1l): Likewise.
49389 * math/w_jn.c (jn): Likewise.
49390 (yn): Likewise.
49391 * math/w_jnf.c (jnf): Likewise.
49392 (ynf): Likewise.
49393 * math/w_jnl.c (__jnl): Likewise.
49394 (__ynl): Likewise.
49395 * math/libm-test.inc (j0_test): Add more tests.
49396 (j1_test): Likewise.
49397 (jn_test): Likewise. Add trailing semicolon to existing test.
49398 (y0_test): Likewise.
49399 (y1_test): Likewise.
49400 * sysdeps/i386/fpu/libm-test-ulps: Update.
49401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49402
11b90b9f
JM
49403 [BZ #13851]
49404 [BZ #13854]
49405 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49406 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49407 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49408 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49409 (__tanl): Set errno for infinite argument.
49410 * sysdeps/i386/fpu/mptan.c: Remove.
49411 * sysdeps/i386/fpu/s_tan.S: Likewise.
49412 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49413 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49414 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49415 * math/libm-test.inc (tan_test): Add more tests and enable more
49416 tests for double and long double.
49417 * sysdeps/i386/fpu/libm-test-ulps: Update.
49418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49419
6a1bd2a1
JK
494202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49421
49422 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49423 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49424
10a803e0
RM
494252012-03-16 Roland McGrath <roland@hack.frob.com>
49426
49427 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49428 * configure.in: Use it for both main tree and add-ons.
49429 * configure: Regenerated.
49430
f196c7f7
L
494312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49432
49433 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49434
8848d99d
JM
494352012-03-16 Joseph Myers <joseph@codesourcery.com>
49436
96cbe7f4
JM
49437 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49438 in comment.
49439
8848d99d
JM
49440 [BZ #13851]
49441 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49442 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49443 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49444 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49445 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49446 infinite argument.
49447 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49448 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49449 != 0 for prec == 2.
49450 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49451 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49452 * sysdeps/i386/fpu/s_cosl.S: Likewise.
49453 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49454 * sysdeps/i386/fpu/s_sinl.S: Likewise.
49455 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49456 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49457 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49458 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49459 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49460 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49461 * math/libm-test.inc (cos_test): Add more tests and enable more
49462 tests for long double.
49463 (sin_test): Likewise.
49464 (sincos_test): Likewise.
49465 * sysdeps/i386/fpu/libm-test-ulps: Update.
49466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49467
dd7f4703
DM
494682012-03-16 David S. Miller <davem@davemloft.net>
49469
49470 * sysdeps/sparc/fpu/math_private.h: New file.
49471
006f1daa
DM
494722012-03-15 David S. Miller <davem@davemloft.net>
49473
c0c83bc8
DM
49474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49475 file.
e6a62e18 49476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
49477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49478 file.
e6a62e18
DM
49479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49484 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49485 sysdep routines.
49486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49487
88cb87d9
DM
49488 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49489 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49490
006f1daa 49491 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
49492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49493 sparc-ifunc.h
006f1daa 49494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
49495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49496 Likewise.
49497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49498 Likewise.
006f1daa
DM
49499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
49502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49503 Likewise.
006f1daa
DM
49504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
49508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49509 Likewise.
49510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49511 Likewise.
006f1daa
DM
49512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49518 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49534 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49535 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49536
11e0098e
AS
495372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49538
49539 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49540 scaling.
49541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49542
e85b09d0
AJ
495432012-03-15 Andreas Jaeger <aj@suse.de>
49544
49545 [BZ #13852]
49546 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49547 ieee754/flt-32 implementation for sin, cos and sincos.
49548 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49549 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49550 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49551 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49552 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49553 ieee754/flt-32 implementation for tan.
49554
49555 * math/libm-test.inc (cos_test): Enable some large input tests for
49556 float as well
49557 (sin_test): Likewise.
49558 (sincos_test): Likewise.
49559 (tan_test): Add tests for large input.
49560
49561 * sysdeps/i386/fpu/libm-test-ulps: Update.
49562
81c64153
AJ
495632012-03-15 Andreas Jaeger <aj@suse.de>
49564
49565 [BZ #13658]
49566 * math/libm-test.inc (cos_test): Add more test cases.
49567 (sin_test): Likewise.
49568 (sincos_test): Likewise.
49569
7bbfa5c6
AJ
495702012-03-15 Andreas Jaeger <aj@suse.de>
49571
49572 [BZ #13837]
49573 * math/libm-test.inc (cos_test): Add a test case for large input
49574 value.
49575 (sin_test): Likewise.
49576 (sincos_test): Likewise.
49577
57f41c40
AS
495782012-03-15 Andreas Jaeger <aj@suse.de>
49579 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
49580
49581 [BZ #13658]
0671f479 49582 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
49583 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49584 * sysdeps/i386/fpu/branred.c: Likewise.
49585 * sysdeps/i386/fpu/dosincos.c: Likewise.
49586 * sysdeps/i386/fpu/mpa.c: Likewise.
49587 * sysdeps/i386/fpu/s_cos.S: Likewise.
49588 * sysdeps/i386/fpu/s_sin.S: Likewise.
49589 * sysdeps/i386/fpu/s_sincos.S: Likewise.
49590 * sysdeps/i386/fpu/sincos32.c: Likewise.
49591
49592 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49593 Define.
49594 (libc_feupdateenv_53bit): Define.
49595 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49596 Define.
49597 (libc_feupdateenv_53bit): Define.
49598
49599 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49600 53 bit (without extend i386 double precision).
49601
49602 * math/libm-test.inc (sincos_test): Add tests for large input.
49603 (sin): Likewise.
49604 (cos): Likewise.
49605
49606 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49607
9cad04ea
AS
496082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49609
49610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49611
f7062b9a
DM
496122012-03-15 David S. Miller <davem@davemloft.net>
49613
49614 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49615 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49616 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49617 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
49629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49630 file.
f7062b9a 49631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
49632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49633 file.
f7062b9a 49634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
49635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49636 file.
f7062b9a 49637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
49638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49639 file.
f7062b9a
DM
49640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49641 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49642 fmin/fmax sysdep routines.
49643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49644
7bd951ff
DM
496452012-03-14 David S. Miller <davem@davemloft.net>
49646
559398ab
DM
49647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49651 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49652 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49653 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49654 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49672 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49673 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
49675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49676 routines.
49677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49678 file.
559398ab 49679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
49680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49681 file.
559398ab 49682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
49683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49684 file.
559398ab 49685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
49686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49687 file.
559398ab 49688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
49689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49690 file.
559398ab 49691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
49692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49693 file.
49694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49695 file.
49696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49697 file.
49698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49699 file.
49700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49701 New file.
49702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49703 file.
49704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49705 file.
559398ab 49706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
49707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49708 file.
559398ab 49709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
49710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49711 file.
559398ab 49712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
49713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49714 file.
559398ab 49715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
49716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49717 VIS3 routines.
559398ab
DM
49718
49719 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49720 New file.
49721
5a1c1e32
DM
49722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49723
eae47a36
DM
49724 * sysdeps/sparc/configure.in: New file.
49725 * sysdeps/sparc/configure: Generate.
49726 * configure.in (libc_cv_sparc_as_vis3): Substitute.
49727 * configure: Regenerate.
49728 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49729 * config.make.in (have-as-vis3): New.
49730 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49731 available use -Av9d instead of -Av9a.
49732 * sysdeps/sparc/sparc64/Makefile: Likewise.
49733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
49734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49735 New file.
49736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49737 file.
49738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49739 New file.
49740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49741 file.
eae47a36
DM
49742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49744 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49745 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49747
c0c83bc8
DM
49748 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49749 fzeros/fnegs to load 0x80000000 into a float register instead of
49750 using the stack.
7bd951ff
DM
49751 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49752
bd951ccb
JM
497532012-03-14 Joseph Myers <joseph@codesourcery.com>
49754
49755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49756 bits/syscall.h.
49757 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49758 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49759 ($(inst_includedir)/bits/syscall.h): Remove rule.
49760 ($(objpfx)bits/syscall.d): Include instead of
49761 $(objpfx)syscall-list.d.
49762 (generated): Change syscall-list.h and syscall-list.d to
49763 bits/syscall.h and bits/syscall.d.
49764
bb4e6db2
RM
497652012-03-14 Roland McGrath <roland@hack.frob.com>
49766
49767 [BZ #13846]
49768 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49769
aa4a2ae1
JM
497702012-03-14 Joseph Myers <joseph@codesourcery.com>
49771
e456826d
JM
49772 [BZ #13841]
49773 * math/s_csqrt.c: Include <float.h>.
49774 (__csqrt): Scale large or subnormal inputs.
49775 * math/s_csqrtf.c: Likewise.
49776 * math/s_csqrtl.c: Likewise.
49777 * math/libm-test.inc (csqrt_test): Add more tests.
49778 * sysdeps/i386/fpu/libm-test-ulps: Update.
49779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49780
aa4a2ae1
JM
49781 [BZ #13840]
49782 * math/libm-test.inc (hypot_test): Add more tests.
49783
7c10fd35
DM
497842012-03-13 David S. Miller <davem@davemloft.net>
49785
49786 [BZ #13840]
49787 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49788 double-precision for the calculation instead of scaling.
49789
f453b98b
JM
497902012-03-13 Joseph Myers <joseph@codesourcery.com>
49791
49792 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49793 manipulate bits before adding and subtracting TWO52[sx].
49794 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49795 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49796 Likewise.
49797 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49798
09a3453f
DM
497992012-03-13 David S. Miller <davem@davemloft.net>
49800
8e59da90
DM
49801 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49802 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49804 rtld-global-offsets.h
49805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49806
2a8ab7f2
DM
49807 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49808 large parameters.
49809
10f62770
DM
49810 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49811
5f0bdb18
DM
49812 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49813 'err' in the ifdef scope in which it is actually used.
49814
09a3453f
DM
49815 * nss/nss_db/db-init.c: Include string.h
49816
b4b2eb5e
DM
498172012-03-12 David S. Miller <davem@davemloft.net>
49818
98bb2f1c
DM
49819 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49820 masking out of the most significant byte of random value used.
49821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49822 Fix coding style in previous change.
49823
b4b2eb5e
DM
49824 * sysdeps/unix/sysv/linux/kernel-features.h
49825 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49826 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49827 expression.
49828 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49829 later.
49830
6e226b09
DM
498312012-03-11 David S. Miller <davem@davemloft.net>
49832
a1bcbd40
DM
49833 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49834 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49836 for 'resultvar' otherwise things get truncated on 64-bit.
49837
cb9d6174
DM
49838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49839 Fix masking out of the most significant byte of random value used.
49840
6e226b09
DM
49841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49842
058c132d
AS
498432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
49844
49845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49846
2d2cd515
DM
498472012-03-09 David S. Miller <davem@davemloft.net>
49848
49849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49850 variables with appropriate CPP guards.
57f41c40
AS
49851 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49852 from the frame pointer, not the stack pointer. Correct layout
49853 comments. Fix test on resulting framesize and the management of
49854 the outregs buffer for pltexit. Preserve floating point return
49855 values across _dl_call_pltexit call.
2d2cd515
DM
49856 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49857 framesize and the management of the outregs buffer for pltexit.
49858 Preserve floating point return values across _dl_call_pltexit
49859 call.
57f41c40
AS
49860 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49861 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49862 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
49863 (print_exit): Fix format string for return register value.
49864
9a07f9d0
JM
498652012-03-10 Joseph Myers <joseph@codesourcery.com>
49866
49867 * sunrpc/Makefile (others): Add rpcgen.
49868 ($(objpfx)rpcgen): Remove special build rule and dependency on
49869 libc.
49870 * sunrpc/rpcgen.c: New file.
49871
547b5e30
PE
498722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
49873
c524201a
PE
49874 [BZ #13673]
49875 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49876 * stdio-common/bug-vfprintf-nargs.c: Likewise.
49877 * sysdeps/i386/crti.S: Likewise.
49878 * sysdeps/i386/crtn.S: Likewise.
49879 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49880 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49881 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49882 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49883 * sysdeps/sh/crti.S: Likewise.
49884 * sysdeps/sh/crtn.S: Likewise.
49885 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49886
7b6235f2
PE
49887 [BZ #13673]
49888 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49889 with URL.
49890 * locale/programs/locfile-kw.gperf: Likewise.
49891 * locale/programs/charmap-kw.h: Regenerated.
49892 * locale/programs/locfile-kw.h: Likewise.
49893
547b5e30
PE
49894 [BZ #13673]
49895 * intl/plural.y: Replace FSF snail mail address with URL.
49896 * intl/plural.c: Regenerated.
49897
5f0a5dae
RH
498982012-03-09 Richard Henderson <rth@twiddle.net>
49899
49900 * include/math_private.h: Remove file.
49901 * math/math_private.h: Move file ...
49902 * sysdeps/generic/math_private.h: ... here.
49903
b8c03620
RH
49904 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49905 * sysdeps/powerpc/fpu/math_private.h: Likewise.
49906 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49907
4e234f5d 49908 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
49909 and <math_private.h>.
49910 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49911 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49912 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49913 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49914 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49915 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49916 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49918 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49919 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49921 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49922 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49923 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49924 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49925 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49927 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49928 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49929 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49930 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49931 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49932 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49934 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49935 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49936 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49937 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49940 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49941 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49942 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49943 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49944 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49945 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49946 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49947 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49948 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49949 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49950 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49951 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49952 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49953 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49954 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49955 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49956 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49957 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49958 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49959 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49960 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49961 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49962 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49963 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49964 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49965 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49966 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49968 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49969 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49970 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49971 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49973 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49974 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49975 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49976 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49977 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49978 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49979 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49980 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49981 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49983 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49984 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49985 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49994 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49998 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49999 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50000 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50001 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50002 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50003 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50004 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50005 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50006 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50007 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50008 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50009 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50010 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50011 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50012 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50013 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50015 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50016 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50017 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50018 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50019 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50020 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50021 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50022 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50023 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50024 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50025 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50026 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50027 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50028 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50029 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50030 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50031 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50032 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50033 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50034 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50035 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50036 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50037 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50038 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50039 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50040 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50041 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50042 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50043 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50044 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50045 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50046 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50047 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50048 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50049 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50050 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50051 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50052 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50053 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50054 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50055 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50056 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50057 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50058 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50059 * sysdeps/ieee754/k_standard.c: Likewise.
50060 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50061 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50062 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50063 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50064 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50065 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50066 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50067 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50068 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50069 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50070 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50071 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50072 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50073 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50074 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50075 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50076 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50077 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50078 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50079 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50080 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50081 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50082 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50083 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50084 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50085 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50086 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50087 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50088 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50090 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50091 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50092 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50093 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50094 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50095 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50096 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50097 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50098 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50099 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50100 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50101 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50102 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50103 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50104 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50105 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50106 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50107 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50108 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50110 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50111 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50112 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50113 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50114 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50115 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50116 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50117 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50118 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50119 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50120 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50121 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50122 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50123 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50126 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50127 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50130 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50131 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50132 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50133 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50134 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50135 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50136 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50137 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50138 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50139 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50140 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50141 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50142 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50143 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50144 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50145 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50146 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50147 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50148 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50149 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50150 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50151 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50152 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50153 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50154 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50155 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50156 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50157 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50158 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50159 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50160 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50161 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50162 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50163 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50164 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50165 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50166 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50167 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50168 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50169 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50170 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50171 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50172 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50173 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50174 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50175 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50176 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50177 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50178 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50179 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50180 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50181 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50182 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50183 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50184 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50185 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50186 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50187 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50188 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50189 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50190 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50191 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50192 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50193 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50194 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50195 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50196 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50197 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50198 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50199 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50200 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50201 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50202 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50203 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50204 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50205 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50206 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50207 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50208 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50209 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50210 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50211 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50212 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50213 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50214 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50215 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50216 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50217 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50218 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50219 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50220 * sysdeps/ieee754/s_lib_version.c: Likewise.
50221 * sysdeps/ieee754/s_matherr.c: Likewise.
50222 * sysdeps/ieee754/s_signgam.c: Likewise.
50223 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50224 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50225 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50226 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50227 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50228 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50229 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50230 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50231 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50232 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50233 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50234 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50235 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50236 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50237 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50238 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50240 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50241 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 50244
1991fa03
JM
502452012-03-09 Joseph Myers <joseph@codesourcery.com>
50246
50247 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50248 * sunrpc/rpc_main.c: Likewise.
50249 * sunrpc/rpc_svcout.c: Likewise.
50250
60d6f5a6
DM
502512012-03-09 David S. Miller <davem@davemloft.net>
50252
50253 * include/math_private.h: New file.
50254
4962050e
JM
502552012-03-09 Joseph Myers <joseph@codesourcery.com>
50256
02a6f887
JM
50257 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50258 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50259 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50260 from <bits/socket_type.h>.
50261 (enum __socket_type): Don't define here.
50262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50264 bits/socket_type.h.
50265
c6e013c1
JM
50266 [BZ #13566]
50267 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50268 checking __USE_GNU.
50269
4962050e
JM
50270 * Makerules ($(inst_includedir)/%.h): New rule.
50271 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50272 (install-others): Remove variable setting.
50273 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50274
38842f45
RH
502752012-03-08 Richard Henderson <rth@twiddle.net>
50276
67bb6da6
RH
50277 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50278 from macro to inline function; merge with the
50279 !__LIBC_INTERNAL_MATH_INLINES version.
50280 (__ieee754_sqrtf): Likewise.
50281
15194b4b
RH
50282 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50283 to inline function.
50284 (__rintf, __floor, __floorf): Likewise.
50285
64e21ede
RH
50286 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50287 macro to inline function.
50288 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50289
38842f45
RH
50290 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50291 not <math/math_private.h>.
50292
c64bf5fe
DM
502932012-03-08 David S. Miller <davem@davemloft.net>
50294
50295 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50296 copyright year.
50297 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50298
82d86f28
TS
502992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50300
50301 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50302 normalization.
50303 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50304 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50305
aea5d727
UD
503062012-03-08 Ulrich Drepper <drepper@gmail.com>
50307
50308 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50309 be defined individually, they must be defined as a block. Define
50310 S for printing a string instead of hidint the different by using a
50311 macro for adding the 'l'.
50312 * stdio-common/tst-fphex-wide.c: Adjust.
50313
70bca0a3
MP
503142012-03-07 Marek Polacek <polacek@redhat.com>
50315
50316 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50317
65b81130
MP
503182012-03-08 Marek Polacek <polacek@redhat.com>
50319
50320 [BZ #13806]
50321 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50322 * stdio-common/tst-fphex.c: Define a few macros to make the
50323 test reusable. Use them.
50324 * stdio-common/tst-fphex-wide.c: New file.
50325
07037eeb
JM
503262012-03-08 Joseph Myers <joseph@codesourcery.com>
50327
a7a93d50
JM
50328 [BZ #6911]
50329 * manual/macros.texi (gnusystems): New macro.
50330 (nongnusystems): Likewise.
50331 (gnulinuxhurdsystems): Likewise.
50332 (gnuhurdsystems): Likewise..
50333 (gnulinuxsystems): Likewise.
50334 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50335 variants of the GNU system, not "GNU system".
50336 * manual/conf.texi: Likewise.
50337 * manual/errno.texi: Likewise. Update example of errno macro
50338 expansion.
50339 * manual/filesys.texi: Likewise.
50340 (getumask): Document as specific to GNU/Hurd.
50341 * manual/install.texi: Likewise. Reword some references to
50342 GNU/Linux.
50343 * manual/intro.texi: Likewise.
50344 * manual/io.texi: Likewise.
50345 (File Name Portability): Detail which constraints are inapplicable
50346 to all GNU systems and which are only inapplicable to GNU/Hurd.
50347 * manual/job.texi: Likewise.
50348 * manual/llio.texi: Likewise.
50349 (O_NOCTTY): Document as present on GNU/Linux.
50350 * manual/maint.texi: Likewise.
50351 * manual/memory.texi: Likewise.
50352 * manual/pattern.texi: Likewise.
50353 * manual/pipe.texi: Likewise.
50354 * manual/process.texi: Likewise.
50355 * manual/resource.texi: Likewise.
50356 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50357 child on GNU/Hurd.
50358 * manual/setjmp.texi: Likewise.
50359 * manual/signal.texi: Likewise.
50360 * manual/startup.texi: Likewise.
50361 * manual/stdio.texi: Likewise.
50362 * manual/terminal.texi: Likewise.
50363 (ONLCR): Document as POSIX.
50364 (OXTABS): Document availability on GNU/Linux as XTABS.
50365 (ONOEOT): Document availability separately from other bits.
50366 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50367 * manual/time.texi: Likewise.
50368 * manual/users.texi: Likewise.
50369 * INSTALL: Regenerated.
50370 * sysdeps/gnu/errlist.c: Regenerated.
50371
07037eeb
JM
50372 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50373 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50374 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50375 puts.
50376 * configure: Regenerated.
50377
d1d3431a
JM
503782012-03-07 Joseph Myers <joseph@codesourcery.com>
50379
af6a1e37
JM
50380 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50381 default includes instead of AC_HEADER_CHECK.
50382 * sysdeps/i386/configure: Regenerated.
50383
d1d3431a
JM
50384 [BZ #10716]
50385 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50386 * math/s_cacoshf.c (__cacoshf): Likewise.
50387 * math/s_cacoshl.c (__cacoshl): Likewise.
50388 * math/s_casinh.c (__casinh): Set signs of result from argument.
50389 * math/s_casinhf.c (__casinhf): Likewise.
50390 * math/s_casinhl.c (__casinhl): Likewise.
50391 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50392 (casinh_test): Add more tests.
50393 * sysdeps/i386/fpu/libm-test-ulps: Update.
50394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50395
482ff4da
UD
503962012-03-07 Ulrich Drepper <drepper@gmail.com>
50397
872fda05
UD
50398 * po/zh_TW.po: Update from translation team.
50399
a4300c7a
UD
50400 * login/Makefile (distribute): Remove variable.
50401 * catgets/Makefile: Likewise.
50402 * mach/Makefile: Likewise.
50403 * malloc/Makefile: Likewise.
50404 * misc/Makefile: Likewise.
50405 * iconv/Makefile: Likewise.
50406 * nscd/Makefile: Likewise.
50407 * hurd/Makefile: Likewise.
50408 * manual/Makefile: Likewise.
50409 * locale/Makefile: Likewise.
50410 * intl/Makefile: Likewise.
50411 * conform/Makefile: Likewise.
50412 * nss/Makefile: Likewise.
50413 * time/Makefile: Likewise.
50414 * soft-fp/Makefile: Likewise.
50415 * dirent/Makefile: Likewise.
50416 * gmon/Makefile: Likewise.
50417 * po/Makefile: Likewise.
50418 * rt/Makefile: Likewise.
50419 * socket/Makefile: Likewise.
50420 * math/Makefile: Likewise.
50421 * signal/Makefile: Likewise.
50422 * debug/Makefile: Likewise.
50423 * elf/Makefile: Likewise.
50424 * timezone/Makefile: Likewise.
50425 * stdlib/Makefile: Likewise.
50426 * iconvdata/Makefile: Likewise.
50427 * sunrpc/Makefile: Likewise.
50428 * io/Makefile: Likewise.
50429 * argp/Makefile: Likewise.
50430 * inet/Makefile: Likewise.
50431 * hesiod/Makefile: Likewise.
50432 * grp/Makefile: Likewise.
50433 * csu/Makefile: Likewise.
50434 * wctype/Makefile: Likewise.
50435 * crypt/Makefile: Likewise.
50436 * libio/Makefile: Likewise.
50437 * string/Makefile: Likewise.
50438 * nis/Makefile: Likewise.
50439 * resolv/Makefile: Likewise.
50440 * stdio-common/Makefile: Likewise.
50441 * wcsmbs/Makefile: Likewise.
50442 * dlfcn/Makefile: Likewise.
50443 * posix/Makefile: Likewise.
50444
3b7c4e74 50445 [BZ #6959]
482ff4da
UD
50446 * timezone/Makefile: Don't install timezone files, just the programs
50447 and scripts.
50448
f72ed77d
UD
504492012-03-06 Ulrich Drepper <drepper@gmail.com>
50450
a000466f
UD
50451 * nss/databases.def: Add missing gshadow entry.
50452
f72ed77d
UD
50453 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
50454
a53b7a4e
MP
504552012-03-06 Marek Polacek <polacek@redhat.com>
50456
50457 [BZ #13726]
50458 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50459 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50460 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50461 * stdio-common/tst-long-dbl-fphex.c: New file.
50462
e9258400
DM
504632012-03-06 David S. Miller <davem@davemloft.net>
50464
50465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50466 (set_obp_int): New function.
50467 (get_obp_int): New function.
50468 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
50469 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50470 Avoid unused variable warnings on 'val' and use builtin_expect.
50471 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50472 __builtin_expect.
e9258400
DM
50473 (INLINE_CLONE_SYSCALL): Likewise.
50474
3bd2c723
DM
504752012-03-05 David S. Miller <davem@davemloft.net>
50476
50477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50478
bbb78d03
AS
504792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50480
884c5db4
AS
50481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50482
bbb78d03
AS
50483 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50484 only for |x| >= 40.
50485 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50486
1c9f702a 504872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
50488
50489 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50490 Replace gettimeofday with __vdso_gettimeofday.
50491
7be16f82
RM
50492 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50493 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50494 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
50495
50496 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50497 time with __vdso_time.
50498
ed58a00f
JM
504992012-03-05 Joseph Myers <joseph@codesourcery.com>
50500
50501 * manual/lang.texi (size_t): Note types to which size_t may be
50502 equivalent with the GNU C Library, but do not describe when
50503 differences between them are significant.
50504
30ee4ced
AJ
505052012-03-05 Andreas Jaeger <aj@suse.de>
50506
50507 * sysdeps/i386/fpu/libm-test-ulps: Update.
50508
b7cd39e8
JM
505092012-03-05 Joseph Myers <joseph@codesourcery.com>
50510
50511 [BZ #3976]
50512 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50513 (__ieee754_pow): Save and restore rounding mode and use
50514 round-to-nearest for main computations.
50515 * math/libm-test.inc (pow_test_tonearest): New function.
50516 (pow_test_towardzero): Likewise.
50517 (pow_test_downward): Likewise.
50518 (pow_test_upward): Likewise.
50519 (main): Call the new functions.
50520 * sysdeps/i386/fpu/libm-test-ulps: Update.
50521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
50522
50523 [BZ #3976]
50524 * math/libm-test.inc (cosh_test_tonearest): New function.
50525 (cosh_test_towardzero): Likewise.
50526 (cosh_test_downward): Likewise.
50527 (cosh_test_upward): Likewise.
50528 (sinh_test_tonearest): Likewise.
50529 (sinh_test_towardzero): Likewise.
50530 (sinh_test_downward): Likewise.
50531 (sinh_test_upward): Likewise.
50532 (main): Call the new functions.
50533 * sysdeps/i386/fpu/libm-test-ulps: Update.
50534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50535
6c6a98c9
TV
505362012-03-05 Tom de Vries <tom@codesourcery.com>
50537
50538 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50539 default stack guard is set in last bytes.
50540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50541
21bb2d2e 505422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 50543
21bb2d2e 50544 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 50545
21bb2d2e
AJ
50546 [BZ #13656]
50547 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50548 possibly allocate from heap instead of stack.
50549 * stdio-common/bug-vfprintf-nargs.c: New file.
50550 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 50551
c6922934
AS
505522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50553
50554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50555
bc957d53
MP
505562012-03-03 Marek Polacek <polacek@redhat.com>
50557
50558 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50559 * math/math_private.h: Likewise.
50560 * stdlib/tst-strtod.c: Likewise.
50561 * sysdeps/i386/i486/bits/atomic.h: Likewise.
50562 * sysdeps/x86_64/bits/atomic.h: Likewise.
50563
6358490d
DM
505642012-03-02 David S. Miller <davem@davemloft.net>
50565
50566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50570 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50571 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50572 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50573 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50574
01ae168d
RM
505752012-03-02 Roland McGrath <roland@hack.frob.com>
50576
d9a17c07
RM
50577 [BZ #13792]
50578 * manual/examples/README: New file, says the example source files
50579 can be used under GPL>=2.
50580 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50581 line containing just "*/".
50582 * manual/examples/add.c: Add copyright header (GPL>=2).
50583 * manual/examples/argp-ex1.c: Likewise.
50584 * manual/examples/argp-ex2.c: Likewise.
50585 * manual/examples/argp-ex3.c: Likewise.
50586 * manual/examples/argp-ex4.c: Likewise.
50587 * manual/examples/atexit.c: Likewise.
50588 * manual/examples/db.c: Likewise.
50589 * manual/examples/dir.c: Likewise.
50590 * manual/examples/dir2.c: Likewise.
50591 * manual/examples/execinfo.c: Likewise.
50592 * manual/examples/filecli.c: Likewise.
50593 * manual/examples/filesrv.c: Likewise.
50594 * manual/examples/fmtmsgexpl.c: Likewise.
50595 * manual/examples/genpass.c: Likewise.
50596 * manual/examples/inetcli.c: Likewise.
50597 * manual/examples/inetsrv.c: Likewise.
50598 * manual/examples/isockad.c: Likewise.
50599 * manual/examples/longopt.c: Likewise.
50600 * manual/examples/memopen.c: Likewise.
50601 * manual/examples/memstrm.c: Likewise.
50602 * manual/examples/mkfsock.c: Likewise.
50603 * manual/examples/mkisock.c: Likewise.
50604 * manual/examples/mygetpass.c: Likewise.
50605 * manual/examples/pipe.c: Likewise.
50606 * manual/examples/popen.c: Likewise.
50607 * manual/examples/rprintf.c: Likewise.
50608 * manual/examples/search.c: Likewise.
50609 * manual/examples/select.c: Likewise.
50610 * manual/examples/setjmp.c: Likewise.
50611 * manual/examples/sigh1.c: Likewise.
50612 * manual/examples/sigusr.c: Likewise.
50613 * manual/examples/stpcpy.c: Likewise.
50614 * manual/examples/strdupa.c: Likewise.
50615 * manual/examples/strftim.c: Likewise.
50616 * manual/examples/strncat.c: Likewise.
50617 * manual/examples/subopt.c: Likewise.
50618 * manual/examples/swapcontext.c: Likewise.
50619 * manual/examples/termios.c: Likewise.
50620 * manual/examples/testopt.c: Likewise.
50621 * manual/examples/testpass.c: Likewise.
50622 * manual/examples/timeval_subtract.c: Likewise.
50623
01ae168d
RM
50624 [BZ #13792]
50625 * manual/time.texi (Elapsed Time): Move timeval_subtract example
50626 function to ...
50627 * manual/timeval_subtract.c.texi: ... here, new file.
50628
49efa33d
DM
506292012-03-02 David S. Miller <davem@davemloft.net>
50630
50631 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50632
28afd92d
JM
506332012-03-02 Joseph Myers <joseph@codesourcery.com>
50634
804360ed
JM
50635 [BZ #3976]
50636 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50637 (__sin): Save and restore rounding mode and use round-to-nearest
50638 for all computations.
50639 (__cos): Save and restore rounding mode and use round-to-nearest
50640 for all computations.
50641 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50642 <fenv.h>.
50643 (tan): Save and restore rounding mode and use round-to-nearest for
50644 all computations.
50645 * math/libm-test.inc (cos_test_tonearest): New function.
50646 (cos_test_towardzero): Likewise.
50647 (cos_test_downward): Likewise.
50648 (cos_test_upward): Likewise.
50649 (sin_test_tonearest): Likewise.
50650 (sin_test_towardzero): Likewise.
50651 (sin_test_downward): Likewise.
50652 (sin_test_upward): Likewise.
50653 (tan_test_tonearest): Likewise.
50654 (tan_test_towardzero): Likewise.
50655 (tan_test_downward): Likewise.
50656 (tan_test_upward): Likewise.
50657 (main): Call the new functions.
50658 * sysdeps/i386/fpu/libm-test-ulps: Update.
50659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50660
a6d06d7b
JM
50661 [BZ #10135]
50662 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50663 small n, then large n, before computing and testing k+n.
50664 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50666 Likewise.
50667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50668 Likewise.
50669 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50670 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50671 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50672 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50673 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50674 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50675 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50676 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50677 * math/libm-test.inc (scalbn_test): Add more tests.
50678 (scalbln_test): Likewise.
50679
07e12bb3
JM
50680 * manual/filesys.texi (mode_t): Describe constraints on size and
50681 signedness, not exact equivalence to a particular type.
50682 (ino_t): Likewise.
50683 (ino64_t): Likewise.
50684 (dev_t): Likewise.
50685 (nlink_t): Likewise.
50686 (blkcnt_t): Likewise.
50687 (blkcnt64_t): Likewise.
50688 * manual/llio.texi (off_t): Likewise.
50689
28afd92d
JM
50690 [BZ #3976]
50691 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50692 (__ieee754_exp): Save and restore rounding mode and use
50693 round-to-nearest for all computations.
50694 * math/libm-test.inc (exp_test_tonearest): New function.
50695 (exp_test_towardzero): Likewise.
50696 (exp_test_downward): Likewise.
50697 (exp_test_upward): Likewise.
50698 (main): Call the new functions.
50699 * sysdeps/i386/fpu/libm-test-ulps: Update.
50700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50701
b1eeb65d
CD
507022012-03-01 Chris Demetriou <cgd@google.com>
50703
50704 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50705 have predictable order.
50706
53362a4b
DM
507072012-03-01 David S. Miller <davem@davemloft.net>
50708
3c969083
DM
50709 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50710
759707de
DM
50711 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50712 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50713 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50714 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50715
dfdb8ff2
DM
50716 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50717 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50718 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50720 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50721 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50722 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50723 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50724 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50725
ead89f96
DM
50726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50727
7f66bd07
DM
50728 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50729 * sysdeps/sparc/fpu/libm-test-ulps: to here.
50730 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50731
53362a4b
DM
50732 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50733 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50734 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50735 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50736 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50737 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50739 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50740 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50741 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50742 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50743 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50745 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50746 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50748 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50749 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50750 * sysdeps/sparc/elf/configure: Regenerated.
50751
7b1902cb
JM
507522012-03-01 Joseph Myers <joseph@codesourcery.com>
50753
bec039bc
JM
50754 * configure.in (AS, LD): Require binutils 2.20 or later.
50755 * configure: Regenerated.
50756 * manual/install.texi (Tools for Compilation): Give binutils 2.20
50757 as required minimum version.
50758 * INSTALL: Regenerated.
50759
7b1902cb
JM
50760 [BZ #2541]
50761 [BZ #4108]
50762 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50763 before squaring exponent.
50764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50765 bottom long double and 27 bits of top long double before squaring
50766 exponent.
50767 * math/libm-test.inc (erfc_test): Add more tests.
50768 * sysdeps/i386/fpu/libm-test-ulps: Update.
50769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50771
f775c276
KT
507722012-03-01 Kai Tietz <ktietz@redhat.com>
50773
50774 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50775 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50776 containing bit-fields.
50777 * soft-fp/extended.h (_FP_UNION_E): Likewise.
50778 * soft-fp/single.h (_FP_UNION_S): Likewise.
50779 * soft-fp/double.h (_FP_UNION_D): Likewise.
50780
5b8a4d4a
JM
507812012-02-29 Joseph Myers <joseph@codesourcery.com>
50782
0bab47b6
JM
50783 [BZ #13786]
50784 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50785 not include ../strcmp.S.
50786 [USE_AS_STRNCASECMP_L]: Likewise.
50787 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50788 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50789 * sysdeps/i386/i686/multiarch/strncase_l-c.c
50790 (__strncasecmp_l_ia32): Define as alias to
50791 __strncasecmp_l_nonascii.
50792
0fcad3e2
JM
50793 [BZ #5794]
50794 * math/libm-test.inc (expm1_test): Add test for bug 5794.
50795 * sysdeps/i386/fpu/libm-test-ulps: Update.
50796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50797
5b8a4d4a
JM
50798 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50800
8fdceb2e
JL
508012012-02-29 Jeff Law <law@redhat.com>
50802
50803 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50804 out of bounds read.
50805
1f393a11
MP
508062012-02-29 Marek Polacek <polacek@redhat.com>
50807
50808 [BZ #13706]
50809 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50810 * elf/Makefile: Add rules to run tst-unused-dep.out.
50811
8847f037
DM
508122012-02-28 David S. Miller <davem@davemloft.net>
50813
50814 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50815 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50816 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50818 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50819 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50820
169d7f11
JM
508212012-02-29 Joseph Myers <joseph@codesourcery.com>
50822
50823 * math/libm-test.inc (llround_test): Move one test from
50824 lround_test. Use TEST_f_L in moved test.
50825 (lround_test): Move misplaced test to llround_test. Add testcase
50826 from bug 2561.
50827
39adf059
UD
508282012-02-28 Ulrich Drepper <drepper@gmail.com>
50829
50830 * sysdeps/x86_64/fpu/e_expf.S: New file.
50831 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50832
71b5d1c5
SB
508332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
50834
50835 [BZ #13637]
50836 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50837 of remain_len that may cause incomplete multi-byte character and
50838 false match.
50839 * posix/bug-regex33.c: New file.
50840 * posix/Makefile (tests): Add bug-regex33.
50841
1f77f049
JM
508422012-02-28 Joseph Myers <joseph@codesourcery.com>
50843
50844 * manual/macros.texi: New file.
50845 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50846 * manual/libc.texinfo: Include macros.texi.
50847 * manual/creatute.texi: Likewise.
50848 * manual/install.texi: Likewise.
50849 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50850 @glibcadj{} in references to the GNU C Library.
50851 * manual/charset.texi: Likewise.
50852 * manual/conf.texi: Likewise.
50853 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
50854 when not using those macros.
50855 * manual/creature.texi: Likewise.
50856 * manual/crypt.texi: Likewise.
50857 * manual/errno.texi: Likewise.
50858 * manual/filesys.texi: Likewise.
50859 * manual/header.texi: Likewise.
50860 * manual/install.texi: Likewise.
50861 * manual/intro.texi: Likewise.
50862 * manual/io.texi: Likewise.
50863 * manual/job.texi: Likewise.
50864 * manual/lang.texi: Likewise.
50865 * manual/libc.texiinfo: Likewise.
50866 * manual/llio.texi: Likewise.
50867 * manual/locale.texi: Likewise.
50868 * manual/maint.texi: Likewise.
50869 * manual/math.texi: Likewise.
50870 * manual/memory.texi: Likewise.
50871 * manual/message.texi: Likewise.
50872 * manual/nss.texi: Likewise.
50873 * manual/pattern.texi: Likewise.
50874 * manual/process.texi: Likewise.
50875 * manual/resource.texi: Likewise.
50876 * manual/search.texi: Likewise.
50877 * manual/setjmp.texi: Likewise.
50878 * manual/signal.texi: Likewise.
50879 * manual/socket.texi: Likewise.
50880 * manual/startup.texi: Likewise.
50881 * manual/stdio.texi: Likewise.
50882 * manual/string.texi: Likewise.
50883 * manual/sysinfo.texi: Likewise.
50884 * manual/syslog.texi: Likewise.
50885 * manual/terminal.texi: Likewise.
50886 * manual/time.texi: Likewise.
50887 * manual/users.texi: Likewise.
50888 * INSTALL: Regenerated.
50889 * NOTES: Regenerated.
d40c5d54 50890 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 50891
450bf206
AS
508922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
50893
50894 * include/dirent.h: Include <dirstream.h> before
50895 <dirent/dirent.h>.
50896
741a235b
DM
508972012-02-28 David S. Miller <davem@davemloft.net>
50898
50899 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50900 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50901 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50902 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50903
d6b5aa58
DM
509042012-02-27 David S. Miller <davem@davemloft.net>
50905
1aff59a3
DM
50906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50908 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50909 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50910
d6b5aa58
DM
50911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50912 frame pointer instead of stack pointer relative arg slot.
50913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50914 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50915 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50916
433f48bf
CD
509172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
50918
50919 [BZ #3992]
50920 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50921
d674b76d
DM
509222012-02-27 David S. Miller <davem@davemloft.net>
50923
50924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50928 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50929 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50930 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50931 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50932
0e7727f7
JM
509332012-02-27 Joseph Myers <joseph@codesourcery.com>
50934
50935 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50936 later. Allow versions 5-9.
43be4ca2 50937 * configure: Regenerated.
0e7727f7
JM
50938 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50939 required minimum version and 4.6 as recommended version. Do not
50940 mention bugs in GCC 2.7 and 2.8.
43be4ca2 50941 * INSTALL: Regenerated.
0e7727f7 50942
a78bc654
DM
509432012-02-27 David S. Miller <davem@davemloft.net>
50944
428d5830
DM
50945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50949 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50950 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50951 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50952 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50953
a78bc654
DM
50954 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50955 manipulate bits before adding and subtracting TWO112[sx].
50956 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50957
4579f81c
RM
509582012-02-27 Roland McGrath <roland@hack.frob.com>
50959
36c8acb4
RM
50960 [BZ #13775]
50961 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50962 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50963 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50964 being in POSIX, because they are in 1003.1-2008.
50965
84ad622b
RM
50966 * rt/tst-aio.c: Include <fcntl.h>.
50967 * rt/tst-aio7.c: Likewise.
50968 * rt/tst-aio64.c: Likewise.
50969
4579f81c
RM
50970 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50971
abd923db
JM
509722012-02-27 Joseph Myers <joseph@codesourcery.com>
50973
50974 * manual/install.texi (--with-headers): Describe headers as
50975 interface headers, not private headers.
50976 (Specific advice for GNU/Linux systems): Describe use of headers
50977 from "make headers_install", not private headers from older
50978 kernels.
43be4ca2 50979 * INSTALL: Regenerated.
abd923db
JM
50980 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50981 Change to 2.6.19.
50982 * sysdeps/unix/sysv/linux/configure: Regenerated.
50983
6664049b
JM
50984 * manual/llio.texi (fclean): Remove documentation.
50985
bb8b6697
JM
50986 * manual/Makefile (libc-texi-generated): New variable. Include
50987 version.texi.
50988 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50989 $(libc-texi-generated), not duplicated list of files.
50990 (version.texi, stamp-version): New rules.
50991 (realclean): Remove $(libc-texi-generated), not individual files
50992 from that list. Do not remove dir-add.texinfo.
50993 * manual/libc.texinfo: Comment out uses of edition numbers and
50994 references to printed manual. Remove last-updated dates.
50995 (EDITION): Comment out.
50996 (ISBN): Likewise.
50997 (VERSION, UPDATED): Remove.
50998 (version.texi): Include.
50999
12e5c3b9
AS
510002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51001
51002 * sysdeps/posix/spawni.c: Include <signal.h>.
51003 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51004 * sysdeps/pthread/aio_fsync.c: Likewise.
51005
4efeffc1 510062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 51007
ba63ba08
UD
51008 * conform/Makefile (tests): Run only when not cross-compiling and
51009 when fast-check is not defined.
51010
d94a4670
UD
51011 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51012 * conform/data/limits.h-data: Fixes for POSIX2008.
51013 * conform/run-conformtest.sh: Run all tests.
51014 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51015 headers.
51016 * include/bits/dlfcn.h: Likewise.
51017 * include/langinfo.h: Likewise.
51018 * include/monetary.h: Likewise.
51019 * include/sys/poll.h: Likewise.
51020
51021 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51022 for __USE_GNU.
51023 * posix/spawn.h: Define __need_sigset_t.
51024 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51025 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51026 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51027 to get sigevent_t only.
51028 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51029 only for __USE_GNU.
51030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51031 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51032 process_vm_writev only for __USE_GNU.
51033 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
51034
51035 * conform/Makefile: For now ignore errors from run-conformtest.
51036 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51037 POSIX to avoid namespace pollution. Don't prepend headers.
51038 * conform/data/aio.h-data: Fixes for POSIX testing.
51039 * conform/data/fcntl.h-data: Likewise.
51040 * conform/data/glob.h-data: Likewise.
51041 * conform/data/grp.h-data: Likewise.
51042 * conform/data/pthread.h-data: Likewise.
51043 * conform/data/pwd.h-data: Likewise.
51044 * conform/data/signal.h-data: Likewise.
51045 * conform/data/spawn.h-data: Likewise.
51046 * conform/data/stdio.h-data: Likewise.
51047 * conform/data/stdlib.h-data: Likewise.
51048 * conform/data/stropts.h-data: Likewise.
51049 * conform/data/sys/mman.h-data: Likewise.
51050 * conform/data/sys/stat.h-data: Likewise.
51051 * conform/data/sys/types.h-data: Likewise.
51052 * conform/data/sys/wait.h-data: Likewise.
51053 * conform/data/time.h-data: Likewise.
51054 * conform/data/unistd.h-data: Likewise.
51055 * conform/data/utime.h-data: Likewise.
51056
51057 * io/sys/stat.h: fchmod was always in POSIX.
51058 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51059 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51060 * rt/aio.h: Define __need_timespec before including <time.h>.
51061 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51062 struct. Add forward declaration of pthread_attr_t and use it in
51063 sigevent.
51064 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51065 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51066 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51067 always remove CLK_TCK definition.
51068
c20105c3
AS
510692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51070
51071 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51072
7a270350
UD
510732012-02-25 Ulrich Drepper <drepper@gmail.com>
51074
31341567
UD
51075 * conform/run-conformtest.sh: New file.
51076 * conform/Makefile: Run run-conformtest for tests.
51077 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51078 support.
51079
51080 * conform/data/uchar.h-data: New file.
51081 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51082 * conform/data/arpa/inet.h-data: Likewise.
51083 * conform/data/assert.h-data: Likewise.
51084 * conform/data/complex.h-data: Likewise.
51085 * conform/data/cpio.h-data: Likewise.
51086 * conform/data/ctype.h-data: Likewise.
51087 * conform/data/dirent.h-data: Likewise.
51088 * conform/data/dlfcn.h-data: Likewise.
51089 * conform/data/errno.h-data: Likewise.
51090 * conform/data/fcntl.h-data: Likewise.
51091 * conform/data/float.h-data: Likewise.
51092 * conform/data/fmtmsg.h-data: Likewise.
51093 * conform/data/fnmatch.h-data: Likewise.
51094 * conform/data/ftw.h-data: Likewise.
51095 * conform/data/glob.h-data: Likewise.
51096 * conform/data/grp.h-data: Likewise.
51097 * conform/data/iconv.h-data: Likewise.
51098 * conform/data/inttypes.h-data: Likewise.
51099 * conform/data/langinfo.h-data: Likewise.
51100 * conform/data/libgen.h-data: Likewise.
51101 * conform/data/limits.h-data: Likewise.
51102 * conform/data/locale.h-data: Likewise.
51103 * conform/data/math.h-data: Likewise.
51104 * conform/data/monetary.h-data: Likewise.
51105 * conform/data/mqueue.h-data: Likewise.
51106 * conform/data/ndbm.h-data: Likewise.
51107 * conform/data/net/if.h-data: Likewise.
51108 * conform/data/netdb.h-data: Likewise.
51109 * conform/data/netinet/in.h-data: Likewise.
51110 * conform/data/nl_types.h-data: Likewise.
51111 * conform/data/poll.h-data: Likewise.
51112 * conform/data/pthread.h-data: Likewise.
51113 * conform/data/pwd.h-data: Likewise.
51114 * conform/data/regex.h-data: Likewise.
51115 * conform/data/sched.h-data: Likewise.
51116 * conform/data/search.h-data: Likewise.
51117 * conform/data/semaphore.h-data: Likewise.
51118 * conform/data/setjmp.h-data: Likewise.
51119 * conform/data/signal.h-data: Likewise.
51120 * conform/data/spawn.h-data: Likewise.
51121 * conform/data/stdarg.h-data: Likewise.
51122 * conform/data/stdio.h-data: Likewise.
51123 * conform/data/stdlib.h-data: Likewise.
51124 * conform/data/string.h-data: Likewise.
51125 * conform/data/strings.h-data: Likewise.
51126 * conform/data/stropts.h-data: Likewise.
51127 * conform/data/sys/ipc.h-data: Likewise.
51128 * conform/data/sys/mman.h-data: Likewise.
51129 * conform/data/sys/msg.h-data: Likewise.
51130 * conform/data/sys/resource.h-data: Likewise.
51131 * conform/data/sys/select.h-data: Likewise.
51132 * conform/data/sys/sem.h-data: Likewise.
51133 * conform/data/sys/shm.h-data: Likewise.
51134 * conform/data/sys/socket.h-data: Likewise.
51135 * conform/data/sys/stat.h-data: Likewise.
51136 * conform/data/sys/statvfs.h-data: Likewise.
51137 * conform/data/sys/time.h-data: Likewise.
51138 * conform/data/sys/timeb.h-data: Likewise.
51139 * conform/data/sys/times.h-data: Likewise.
51140 * conform/data/sys/types.h-data: Likewise.
51141 * conform/data/sys/uio.h-data: Likewise.
51142 * conform/data/sys/un.h-data: Likewise.
51143 * conform/data/sys/utsname.h-data: Likewise.
51144 * conform/data/sys/wait.h-data: Likewise.
51145 * conform/data/syslog.h-data: Likewise.
51146 * conform/data/tar.h-data: Likewise.
51147 * conform/data/termios.h-data: Likewise.
51148 * conform/data/utime.h-data: Likewise.
51149 * conform/data/utmpx.h-data: Likewise.
51150 * conform/data/varargs.h-data: Likewise.
51151 * conform/data/wchar.h-data: Likewise.
51152 * conform/data/wctype.h-data: Likewise.
51153 * conform/data/wordexp.h-data: Likewise.
51154
51155 * include/stropts.h: New file.
51156 * include/uchar.h: New file.
51157 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51158 * include/assert.h: Likewise.
51159 * include/ctype.h: Likewise.
51160 * include/dirent.h: Likewise.
51161 * include/dlfcn.h: Likewise.
51162 * include/fcntl.h: Likewise.
51163 * include/fnmatch.h: Likewise.
51164 * include/glob.h: Likewise.
51165 * include/grp.h: Likewise.
51166 * include/libio.h: Likewise.
51167 * include/locale.h: Likewise.
51168 * include/math.h: Likewise.
51169 * include/net/if.h: Likewise.
51170 * include/netdb.h: Likewise.
51171 * include/netinet/in.h: Likewise.
51172 * include/pthread.h: Likewise.
51173 * include/pwd.h: Likewise.
51174 * include/regex.h: Likewise.
51175 * include/sched.h: Likewise.
51176 * include/search.h: Likewise.
51177 * include/setjmp.h: Likewise.
51178 * include/signal.h: Likewise.
51179 * include/stdio.h: Likewise.
51180 * include/stdlib.h: Likewise.
51181 * include/string.h: Likewise.
51182 * include/sys/cdefs.h: Likewise.
51183 * include/sys/mman.h: Likewise.
51184 * include/sys/msg.h: Likewise.
51185 * include/sys/resource.h: Likewise.
51186 * include/sys/select.h: Likewise.
51187 * include/sys/socket.h: Likewise.
51188 * include/sys/stat.h: Likewise.
51189 * include/sys/statvfs.h: Likewise.
51190 * include/sys/time.h: Likewise.
51191 * include/sys/times.h: Likewise.
51192 * include/sys/uio.h: Likewise.
51193 * include/sys/utsname.h: Likewise.
51194 * include/sys/wait.h: Likewise.
51195 * include/termios.h: Likewise.
51196 * include/time.h: Likewise.
51197 * include/ulimit.h: Likewise.
51198 * include/unistd.h: Likewise.
51199 * include/utime.h: Likewise.
51200 * include/wchar.h: Likewise.
51201 * include/wctype.h: Likewise.
51202 * include/wordexp.h: Likewise.
51203
51204 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51205
7a270350
UD
51206 * time/time.h: TIME_UTC must be a macro.
51207 Make timespec_get available for ISO C11 only as well.
51208
7724defc
UD
512092012-02-24 Ulrich Drepper <drepper@gmail.com>
51210
51211 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51212 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51213
6b1d1d46
JM
512142012-02-24 Joseph Myers <joseph@codesourcery.com>
51215
51216 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 51217
0f8bbd69
JM
512182012-02-24 Joseph Myers <joseph@codesourcery.com>
51219
51220 * manual/texinfo.tex: Update to version 2012-01-19.16.
51221
66ab80bc
JM
512222012-02-24 Joseph Myers <joseph@codesourcery.com>
51223
51224 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51225
74981cc5
RM
512262012-02-24 Roland McGrath <roland@hack.frob.com>
51227
ee968201
RM
51228 [BZ #13738]
51229 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51230 * manual/fdl-1.3.texi: New file.
51231 * manual/fdl-1.1.texi: File removed.
51232
74981cc5
RM
51233 [BZ #13738]
51234 * manual/libc.texinfo (FDL_VERSION): New @set.
51235 Use it for mention of FDL in cover text.
51236 (Documentation License): Use it in @include file name.
51237
7bb764bc
JM
512382012-02-22 Joseph Myers <joseph@codesourcery.com>
51239 Roland McGrath <roland@hack.frob.com>
51240
51241 [BZ #5461]
57f41c40
AS
51242 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51243 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
51244 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51245 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51246 name.
51247 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51248
6cbeae47
JM
512492012-02-22 Joseph Myers <joseph@codesourcery.com>
51250
51251 [BZ #2547]
51252 [BZ #11365]
51253 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51254 manipulate bits before adding and subtracting TWO23[sx].
51255 * math/libm-test.inc (nearbyint_test): Add more tests.
51256
fe45ce09
JM
512572012-02-22 Joseph Myers <joseph@codesourcery.com>
51258
51259 [BZ #2548]
51260 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51261 bits before adding and subtracting TWO23[sx].
51262 * math/libm-test.inc (rint_test): Add more tests.
51263 (rint_test_tonearest): Likewise.
51264 (rint_test_towardzero): Likewise.
51265 (rint_test_downward): Likewise.
51266 (rint_test_upward: Likewise.
51267
ff3b3d82
JM
512682012-02-22 Joseph Myers <joseph@codesourcery.com>
51269
51270 [BZ #10110]
51271 * include/stdc-predef.h: New file. Extracted from features.h.
51272 * include/features.h: Include stdc-predef.h.
51273 * Makefile (headers): Add stdc-predef.h.
51274 * CONFORMANCE (Compiler limitations): Update.
51275
ef0aab35
JM
512762012-02-22 Joseph Myers <joseph@codesourcery.com>
51277
51278 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51279
58639409
DM
512802012-02-21 David S. Miller <davem@davemloft.net>
51281
51282 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51283 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51284
c0e70b25
DM
512852012-02-20 David S. Miller <davem@davemloft.net>
51286
51287 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51288 using a normal save/restore sequence, rather than allocating a
51289 dummy stack frame just to store a frame pointer and restore.
51290 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51291
fb06851d
JM
512922012-02-21 Joseph Myers <joseph@codesourcery.com>
51293
51294 * manual/install.texi: Fix stray word in line-wrapped comment.
51295
7a8b71c3
DM
512962012-02-20 David S. Miller <davem@davemloft.net>
51297
d510c123
DM
51298 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51299 both binutils and gcc support GOTDATA.
51300
0722d7c2
DM
51301 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51302 "rd %pc" in the PIC register setup sequences.
51303
3d2b3019
DM
51304 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51305 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51306 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51307 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51308 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51310 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51311 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51313 (SYSCALL_ERROR_HANDLER): Likewise.
51314 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51315 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51317 (SYSCALL_ERROR_HANDLER): Likewise.
51318
c80098a9
DM
51319 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51320 (HAVE_GCC_GOTDATA): New.
51321 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51322 relocation support in both binutils and gcc.
51323 * sysdeps/sparc/elf/configure: Regenerate.
51324
3a2545a0
DM
51325 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51326 * sysdeps/sparc/sparc32/elf/configure: Delete.
51327 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51328 * sysdeps/sparc/sparc64/elf/configure: Delete.
51329 * sysdeps/sparc/elf/configure.in: New file.
51330 * sysdeps/sparc/elf/configure: Generate.
51331
7a8b71c3
DM
51332 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51333 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51334 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51335 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51336 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51337
f1e86fca
JM
513382012-02-21 Joseph Myers <joseph@codesourcery.com>
51339
51340 * manual/install.texi: Do not mention specific glibc version
51341 numbers.
51342 * manual/libc.texinfo (VERSION, UPDATED): Update.
51343 (@copying): Use @copyright{} and range of years.
51344
0e7dfaef
JM
513452012-02-21 Joseph Myers <joseph@codesourcery.com>
51346
51347 [BZ #13695]
51348 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51349 [crti.S not in sysdirs] (generated): Do not append.
51350 [crti.S not in sysdirs] (omit-deps): Likewise.
51351 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51352 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51353 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51354 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51355 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51356 Likewise.
51357 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51358 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51359 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51360 * csu/defs.awk: Remove file.
51361 * sysdeps/generic/initfini.c: Likewise.
51362 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51363 variable.
51364 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51365 Likewise.
51366
599af3ca
JM
513672012-02-20 Joseph Myers <joseph@codesourcery.com>
51368
51369 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51370 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51371 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51372 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51374 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51375 <bits/epoll.h>.
51376 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51377 (__EPOLL_PACKED): Define to empty if not defined by
51378 <bits/epoll.h>.
51379 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51381 bits/epoll.h.
51382
0e499750
JM
513832012-02-20 Joseph Myers <joseph@codesourcery.com>
51384
51385 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51386 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51387 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51388 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51389 <bits/timerfd.h>.
51390 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51392 bits/timerfd.h.
51393
5ad91f6e
JM
513942012-02-20 Joseph Myers <joseph@codesourcery.com>
51395
51396 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51397 in C locale.
51398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51399 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51402
06b99b02
AJ
514032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51404
51405 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51406 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51407
7638c0fd
AS
514082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51409
51410 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51411 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51412 defined.
51413 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51414 Likewise.
51415 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51416 entry for 2.16.
51417
92221550
AJ
514182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51419
51420 * math/w_acos.c: Use non-signaling floating-point comparisons.
51421 * math/w_acosf.c: Likewise.
51422 * math/w_acosh.c: Likewise.
51423 * math/w_acoshf.c: Likewise.
51424 * math/w_acoshl.c: Likewise.
51425 * math/w_acosl.c: Likewise.
51426 * math/w_asin.c: Likewise.
51427 * math/w_asinf.c: Likewise.
51428 * math/w_asinl.c: Likewise.
51429 * math/w_atanh.c: Likewise.
51430 * math/w_atanhf.c: Likewise.
51431 * math/w_atanhl.c: Likewise.
51432 * math/w_exp2.c: Likewise.
51433 * math/w_exp2f.c: Likewise.
51434 * math/w_exp2l.c: Likewise.
51435 * math/w_j0.c: Likewise.
51436 * math/w_j0f.c: Likewise.
51437 * math/w_j0l.c: Likewise.
51438 * math/w_j1.c: Likewise.
51439 * math/w_j1f.c: Likewise.
51440 * math/w_j1l.c: Likewise.
51441 * math/w_jn.c: Likewise.
51442 * math/w_jnf.c: Likewise.
51443 * math/w_log.c: Likewise.
51444 * math/w_log10.c: Likewise.
51445 * math/w_log10f.c: Likewise.
51446 * math/w_log10l.c: Likewise.
51447 * math/w_log2.c: Likewise.
51448 * math/w_log2f.c: Likewise.
51449 * math/w_log2l.c: Likewise.
51450 * math/w_logf.c: Likewise.
51451 * math/w_logl.c: Likewise.
51452 * math/w_sqrt.c: Likewise.
51453 * math/w_sqrtf.c: Likewise.
51454 * math/w_sqrtl.c: Likewise.
51455 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51456 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51457 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51458 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51459 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51460
ebaf36eb
JM
514612012-02-19 Joseph Myers <joseph@codesourcery.com>
51462
51463 [BZ #9739]
51464 * manual/string.texi (strnlen): Use correct parameter name in
51465 equivalent expression.
51466
71c254a6
JM
514672012-02-19 Joseph Myers <joseph@codesourcery.com>
51468
51469 [BZ #11174]
51470 * manual/users.texi (seteuid): Consistently use neweuid for
51471 argument name.
51472
16d2c631
JM
514732012-02-19 Joseph Myers <joseph@codesourcery.com>
51474
51475 [BZ #13704]
51476 * manual/nss.texi (Services in the NSS configuration): Correct
51477 list of services in example configuration file.
51478
cd837b09
NB
514792012-02-19 Nick Bowler <nbowler@draconx.ca>
51480
51481 [BZ #11322]
51482 * manual/arith.texi: Remove statements about negative zero
51483 behaving identically to zero.
51484
02c4bbad
JM
514852012-02-18 Joseph Myers <joseph@codesourcery.com>
51486
51487 [BZ #5993]
51488 * manual/install.texi: Do not document upgrading from libc5.
51489
366842e7
JM
514902012-02-18 Joseph Myers <joseph@codesourcery.com>
51491
51492 [BZ #4596]
51493 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51494
dd54084d
DM
514952012-02-18 David S. Miller <davem@davemloft.net>
51496
51497 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51498 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51499 %o7 across the call.
51500 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51501 instead.
51502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51503 SETUP_PIC_REG_LEAF.
51504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51505 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51506 * sysdeps/sparc/crtn.S: Likewise.
51507
2bcc53a3
UD
515082012-02-17 Ulrich Drepper <drepper@gmail.com>
51509
51510 * aout/Makefile: Remove.
51511
09c093b5
RK
515122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51513
51514 [BZ #13058]
51515 * manual/examples/argp-ex1.c (main): Format definition in GNU
51516 style.
51517 * manual/examples/argp-ex2.c (main): Likewise.
51518 * manual/examples/argp-ex3.c (main): Likewise.
51519 * manual/examples/argp-ex4.c (main): Likewise.
51520 * manual/examples/longopt.c (main): Use new-style prototype
51521 definition.
51522 * manual/examples/strncat.c (main): Specify return type and use
51523 (void) for arguments.
51524 * manual/examples/subopt.c (main): Use char **argv argument.
51525
2ee633a2
JM
515262012-02-17 Joseph Myers <joseph@codesourcery.com>
51527
51528 [BZ #5077]
51529 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51530 rounding modes.
51531
0520adde
FB
515322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51533
51534 [BZ #6907]
51535 * manual/string.texi (strchr): Change when strchrnul is
51536 recommended.
51537
3f4081cd
DGM
515382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51539
51540 [BZ #174]
51541 * manual/locale.texi (setlocale): Document LOCPATH.
51542
d1b10e78
JM
515432012-02-17 Joseph Myers <joseph@codesourcery.com>
51544
51545 [BZ #10210]
51546 * manual/process.texi (execle): Move @dots{} before last argument.
51547
79c6869c
PB
515482012-02-17 Paul Bolle <pebolle@tiscali.nl>
51549
51550 [BZ #12047]
51551 * manual/charset.texi (Generic Charset Conversion): Fix typo
51552 (LC_TYPE -> LC_CTYPE).
51553
cc6e48bc
NB
515542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51555
51556 [BZ #5805]
51557 * manual/arith.texi (scalbn): Use @var{} on parameter names.
51558 (scalbnf): Likewise.
51559 (scalbnl): Likewise.
51560 (scalbln): Likewise.
51561 (scalblnf): Likewise.
51562 (scalblnl): Likewise.
51563 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51564 (vwarnx): Likewise.
51565 (verr): Likewise.
51566 (verrx): Likewise.
51567 * manual/filesys.texi (telldir): Use braces around return type.
51568 * manual/llio.texi (mmap): Add space after comma.
51569 (mmap64): Likewise.
51570 * manual/math.texi (jn): Use @var{} on parameter names.
51571 (jnf): Likewise.
51572 (jnl): Likewise.
51573 (yn): Likewise.
51574 (ynf): Likewise.
51575 (ynl): Likewise.
51576 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51577 line.
51578 * manual/resource.texi (ulimit): Use @dots{} instead of literal
51579 "...".
51580 (sched_get_priority_min): Remove semicolon on @deftypefun line.
51581 (sched_get_priority_max): Likewise.
51582 * manual/signal.texi (sigvec): Add space after comma.
51583 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51584 names.
51585 (if_indextoname): Likewise.
51586 (if_freenameindex): Likewise.
51587 (sendto): Use ',' instead of '.' in prototype.
51588 * manual/startup.texi (syscall): Use @dots{} instead of literal
51589 "...".
51590 * manual/stdio.texi (__fpending): Separate initial words of
51591 paragraph from @deftypefun line.
51592 * manual/syslog.texi (syslog): Use @dots{} instead of literal
51593 "...".
51594 (vsyslog): Use @var{} on parameter names.
51595 * manual/terminal.texi (stty): Use @var{} on parameter names.
51596 * manual/users.texi (getutmp): Use @var{} on parameter names.
51597 (getutmpx): Likewise.
51598
5b23062f
JM
515992012-02-17 Joseph Myers <joseph@codesourcery.com>
51600
51601 [BZ #6884]
51602 * manual/stdio.texi (fopen): Fix typos in description of
51603 ",ccs=STRING".
51604
8dee4833
AJ
516052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
51606
51607 [BZ #4026]
51608 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51609 get clock_id definition.
51610
9078ce93
TS
516112012-02-17 Thomas Schwinge <thomas@schwinge.name>
51612
51613 [BZ #4822]
51614 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51615 (madvise): Cast every argument to void on its own.
51616
3835c55f
JM
516172012-02-17 Joseph Myers <joseph@codesourcery.com>
51618
51619 [BZ #9902]
51620 * manual/startup.texi (Exit Status): Fix typo.
51621
35c47e37
JM
516222012-02-17 Joseph Myers <joseph@codesourcery.com>
51623
51624 [BZ #10140]
51625 * manual/examples/argp-ex1.c: Include <stdlib.h>.
51626 * manual/examples/argp-ex2.c: Likewise.
51627 * manual/examples/argp-ex3.c: Likewise.
51628
e3b69ca7
RH
516292012-02-16 Richard Henderson <rth@redhat.com>
51630
51631 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51632 * sysdeps/s390/s390-32/initfini.c: Remove.
51633 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51634 * sysdeps/s390/s390-64/initfini.c: Remove.
51635
df83af67
KK
516362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51637
51638 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51639 compiler output for sysdeps/generic/initfini.c.
51640 * sysdeps/sh/elf/initfini.c: Remove file.
51641
f63f3380
DM
516422012-02-16 David S. Miller <davem@davemloft.net>
51643
fb59b3a4
DM
51644 [BZ #11494]
51645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51646
f63f3380
DM
51647 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51648 * sysdeps/sparc/crti.S: New file.
51649 * sysdeps/sparc/crtn.S: New file.
51650 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51651 * sysdeps/sparc/sparc64/Makefile: Likewise.
51652
df6a4a4a
MF
516532012-02-15 Mike Frysinger <vapier@gentoo.org>
51654
6dd8f3dc 51655 [BZ #3335]
df6a4a4a
MF
51656 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51657
1cac7236
RM
516582012-02-15 Roland McGrath <roland@hack.frob.com>
51659
d2c736f8
RM
51660 [BZ #4822]
51661 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51662
1cac7236
RM
51663 * mach/devstream.c (cookie_io_functions_t): Macro removed.
51664 (write, read, close): Likewise.
51665 Patch by Aurelien Jarno <aurelien@aurel32.net>.
51666
8e475601
JM
516672012-02-15 Joseph Myers <joseph@codesourcery.com>
51668
51669 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51670 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51671 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51672 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51673 <bits/signalfd.h>.
51674 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51676 bits/signalfd.h.
51677
ed656b40
MP
516782012-02-14 Marek Polacek <polacek@redhat.com>
51679
51680 * sysdeps/x86_64/crti.S: New file.
51681 * sysdeps/x86_64/crtn.S: New file.
51682 * sysdeps/x86_64/elf/initfini.c: Remove file.
51683
2a979d3a
JM
516842012-02-13 Joseph Myers <joseph@codesourcery.com>
51685
51686 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51687 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51688 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51689 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51690 <bits/inotify.h>.
51691 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51693 bits/inotify.h.
51694
2a418ac3
JM
516952012-02-13 Joseph Myers <joseph@codesourcery.com>
51696
51697 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51698 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51699 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51700 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51701 <bits/eventfd.h>.
51702 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51704 bits/eventfd.h.
51705
fb779be7
TS
517062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
51707
e19e83c5
RM
51708 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51709 __feraiseexcept instead of feraiseexcept.
7c35ffed 51710
fb779be7
TS
51711 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51712 nanosleep invocations.
51713 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51714 strings, and add error checking for a nanosleep invocations.
51715
59ba27a6
PE
517162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
51717
51718 Replace FSF snail mail address with URLs, as per GNU coding standards.
51719 Most of the snail mail addresses were wrong anyway, and omitting
51720 them makes the source code easier to maintain. Almost all of the
51721 changes are to license notices and to locale LC_IDENTIFICATION
51722 addresses, except for this one:
51723 * manual/libc.texinfo: In "Published by", give the FSF's URL,
51724 not its snail mail address.
51725
57b957eb
RH
517262012-02-09 Richard Henderson <rth@twiddle.net>
51727
af850b1c
RH
51728 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51729 of kernel-features.h.
51730
57b957eb
RH
51731 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51732
6b73181a
MP
517332012-02-08 Marek Polacek <polacek@redhat.com>
51734
51735 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51736 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51737 * sysdeps/gnu/_G_config.h: Likewise.
51738 * sysdeps/generic/_G_config.h: Likewise.
51739
26ecc33a
AS
517402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
51741
6c6dbc63
AS
51742 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51743 tests.
51744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51745
e216c012
AS
51746 * sysdeps/powerpc/powerpc32/crti.S: New file.
51747 * sysdeps/powerpc/powerpc32/crtn.S: New file.
51748 * sysdeps/powerpc/powerpc64/crti.S: New file.
51749 * sysdeps/powerpc/powerpc64/crtn.S: New file.
51750
26ecc33a
AS
51751 * Makeconfig (have-initfini): Don't set.
51752 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51753 * configure.in (nopic_initfini): Don't substitute.
51754 * config.h.in (HAVE_INITFINI): Don't #undef.
51755 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51756 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51757
3add8e13
JM
517582012-02-08 Joseph Myers <joseph@codesourcery.com>
51759
51760 Support crti.S and crtn.S provided directly by architectures.
51761 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51762 [crti.S in sysdirs] (omit-deps): Likewise.
51763 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51764 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51765 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51766 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51767 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51768 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51769 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51770 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51771 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51772 compiler output for sysdeps/generic/initfini.c.
51773 * sysdeps/i386/elf/Makefile: Remove file.
51774 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51775
a22f12b4
MP
517762012-02-07 Marek Polacek <polacek@redhat.com>
51777
51778 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51779 * sysdeps/gnu/_G_config.h: Likewise.
51780 * sysdeps/mach/hurd/_G_config.h: Likewise.
51781
148cf100
MP
517822012-02-07 Marek Polacek <polacek@redhat.com>
51783
51784 * math/Makefile (tests): Add tst-CMPLX2.
51785 * math/tst-CMPLX2.c: New file.
51786
cfdc0dd7
AS
517872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
51788
84ba42c4
AS
51789 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51790
cfdc0dd7
AS
51791 * math/libm-test.inc (jn_test): Add missing L suffix.
51792
622c86f4
MP
517932012-02-06 Marek Polacek <polacek@redhat.com>
51794
51795 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51796 * sysdeps/i386/fpu/e_powf.S: Likewise.
51797 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51798 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51799 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51800 * sysdeps/i386/fpu/e_pow.S: Likewise.
51801 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51802 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51803 * sysdeps/i386/fpu/s_expm1.S: Likewise.
51804 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51805 * sysdeps/i386/fpu/e_log2.S: Likewise.
51806 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51807 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51808 * sysdeps/i386/fpu/e_powl.S: Likewise.
51809 * sysdeps/i386/fpu/s_log1p.S: Likewise.
51810 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51811 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51812 * sysdeps/i386/fpu/e_logl.S: Likewise.
51813 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51814 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51815 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51816 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51817 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51818 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51819 * sysdeps/i386/fpu/e_log.S: Likewise.
51820 * sysdeps/i386/fpu/s_cexp.S: Likewise.
51821 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51822 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51823 * sysdeps/i386/fpu/e_logf.S: Likewise.
51824 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51825 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51826 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51827 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51828 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51829 * sysdeps/i386/fpu/e_log10.S: Likewise.
51830 * sysdeps/i386/fpu/s_frexp.S: Likewise.
51831 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51832 * sysdeps/i386/fpu/s_asinh.S: Likewise.
51833 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51834 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51835 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51836 * sysdeps/i386/asm-syntax.h: Likewise.
51837 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51838 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51839 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51840 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51841 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51842 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51843 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51844 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51845 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51846 * sysdeps/powerpc/sysdep.h: Likewise.
51847 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51848 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51849
d4a54ac6
JM
518502012-02-06 Joseph Myers <joseph@codesourcery.com>
51851
51852 [BZ #411]
51853 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51854
314054ea
JM
518552012-02-06 Joseph Myers <joseph@codesourcery.com>
51856
51857 * sysdeps/i386/sysdep.h: Include <features.h>.
51858 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51859 version.
51860
d8e0ca50
JM
518612012-02-05 Joseph Myers <joseph@codesourcery.com>
51862
51863 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51864 Define.
51865 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51866 LOAD_PIC_REG_STR.
51867
b1da7dd9
JM
518682012-02-03 Joseph Myers <joseph@codesourcery.com>
51869
51870 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51871 (SETUP_PIC_REG): Use GET_PC_THUNK.
51872 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51873 macro.
51874
9a1d9254
JM
518752012-02-03 Joseph Myers <joseph@codesourcery.com>
51876
51877 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51878 for non-PIC compilation.
51879 (SETUP_PIC_REG): Add .p2align directive.
51880 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51881 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51882 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51883 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51884 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51885 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51886 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51887 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51888 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51889 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51890 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51891 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51892 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51893 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51894 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51895 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51896 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51897 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51898 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51899 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51900 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51901 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51902 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51903 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51904 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51906 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51907 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51908 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51909 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51910 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51911 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51912 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51913 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51914 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51915 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51916 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51917 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51918 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51919 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51920 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51921
65dc3b75
JM
519222012-02-03 Joseph Myers <joseph@codesourcery.com>
51923
51924 * math/tst-CMPLX.c: Include <stdio.h>.
51925
d55bf177
JM
519262012-01-31 Joseph Myers <joseph@codesourcery.com>
51927
51928 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51929 float.
51930 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51931 * sysdeps/sparc/bits/mathdef.h: Likewise.
51932
69db4f8f
MP
519332012-01-31 Marek Polacek <polacek@redhat.com>
51934
51935 * libio/libio.h: Don't define _PARAMS.
51936 * locale/programs/config.h: Don't define PARAMS.
51937 * stdlib/strtol_l.c: Likewise.
51938 (__strtol_l): Remove PARAMS from the prototype.
51939
41b81892
UD
519402012-01-31 Ulrich Drepper <drepper@gmail.com>
51941
3b49edc0
UD
51942 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
51943 names. Just use the correct names. Remove unnecessary wrapper
51944 functions.
51945 * malloc/arena.c: Likewise.
51946 * malloc/hooks.c: Likewise.
51947
41b81892
UD
51948 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51949 ARENA_TEST says not to. Simplify test for creation of a new arena.
51950 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51951
27a25b6e
UD
519522012-01-30 Ulrich Drepper <drepper@gmail.com>
51953
51954 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51955 into tail calls.
51956 (update_get_addr): New function.
51957 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51958 GET_ADDR_MODULE parameter.
51959
c8a89e7d
JM
519602012-01-30 Joseph Myers <joseph@codesourcery.com>
51961
51962 * crypt/cert.c: Remove __STDC__ conditionals.
51963 * crypt/crypt-entry.c: Likewise.
51964 * crypt/crypt_util.c: Likewise.
51965 * libio/filedoalloc.c: Likewise.
51966 * libio/fileops.c: Likewise.
51967 * libio/genops.c: Likewise.
51968 * libio/iofclose.c: Likewise.
51969 * libio/iofdopen.c: Likewise.
51970 * libio/iofopen.c: Likewise.
51971 * libio/iofopen64.c: Likewise.
51972 * libio/iogetdelim.c: Likewise.
51973 * libio/iopopen.c: Likewise.
51974 * libio/obprintf.c: Likewise.
51975 * libio/oldfileops.c: Likewise.
51976 * libio/oldiofclose.c: Likewise.
51977 * libio/oldiofdopen.c: Likewise.
51978 * libio/oldiofopen.c: Likewise.
51979 * libio/oldiopopen.c: Likewise.
51980 * libio/wfiledoalloc.c: Likewise.
51981 * libio/wgenops.c: Likewise.
51982 * locale/programs/xmalloc.c: Likewise.
51983 * misc/syslog.c: Likewise.
51984 * stdio-common/xbug.c: Likewise.
51985 * string/memchr.c: Likewise.
51986 * string/memcmp.c: Likewise.
51987 * string/memrchr.c: Likewise.
51988 * string/rawmemchr.c: Likewise.
51989 * sysdeps/posix/getcwd.c: Likewise.
51990 * time/strftime_l.c: Likewise.
51991
3b100462
JM
519922012-01-30 Joseph Myers <joseph@codesourcery.com>
51993
51994 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
51995 * config.make.in (config-cflags-sse2avx): Define.
51996 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51997 Fix typo.
51998
607998af
CM
519992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52000
52001 * scripts/config.guess: Update from upstream config git repository.
52002 * scripts/config.sub: Likewise.
52003
3601428f
CM
520042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52005
3ac8b282
CM
52006 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52007 (EM_NUM): Update.
52008 (R_TILEPRO_*, R_TILEGX_*): New macros.
52009
e034841e
CM
52010 * scripts/firstversions.awk: Fix bug in version range handling.
52011
540d7568
CM
52012 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52013
3601428f
CM
52014 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52015
463de862
CM
52016 * include/sys/epoll.h: New file.
52017 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52018 libc_hidden_def.
52019
73139a76
UD
520202012-01-28 Ulrich Drepper <drepper@gmail.com>
52021
96bc5b45
UD
52022 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52023 Avoid unnecessary __WORDSIZE == 64 test.
52024 (fmaxf): Use VEX format if possible.
52025 (fmax): Likewise.
52026 (fminf): Likewise.
52027 (fmin): Likewise.
52028
56f6f6a2
UD
52029 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52030 * math/math_private.h: Remove libc_fegetround* and
52031 libc_fesetround*.
52032 * sysdeps/i386/configure.in: Check for -msse2avx.
52033 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52034 also if SSE2AVX is defined.
52035 Remove libc_fegetround* and libc_fesetround*.
52036 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52037 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52038 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52039 of HAS_YMM_USABLE.
52040 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52041 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52044 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52045
73139a76
UD
52046 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52047
d73f93a4
AZ
520482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52049
52050 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52051 size is not set.
52052 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52053
6ee65ed6
UD
520542012-01-27 Ulrich Drepper <drepper@gmail.com>
52055
52056 [BZ #13618]
52057 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52058 relocation.
52059 * Makeconfig (libm): Define.
52060 * elf/Makefile: Add rules to build and run tst-relsort1.
52061 * elf/tst-relsort1.c: New file.
52062 * elf/tst-relsort1mod1.c: New file.
52063 * elf/tst-relsort1mod2.c: New file.
52064
8db21882
JM
520652012-01-27 Joseph Myers <joseph@codesourcery.com>
52066
52067 * math/s_ldexp.c: Remove __STDC__ conditionals.
52068 * math/s_ldexpf.c: Likewise.
52069 * math/s_ldexpl.c: Likewise.
52070 * math/s_nextafter.c: Likewise.
52071 * math/s_nexttowardf.c: Likewise.
52072 * math/s_significand.c: Likewise.
52073 * math/s_significandf.c: Likewise.
52074 * math/s_significandl.c: Likewise.
52075 * math/w_jnl.c: Likewise.
52076 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52077 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52078 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52079 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52080 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52082 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52083 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52084 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52085 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52086 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52087 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52088 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52089 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52090 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52091 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52092 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52093 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52095 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52096 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52097 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52098 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52100 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52101 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52102 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52103 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52104 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52105 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52106 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52107 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52108 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52109 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52110 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52111 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52113 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52114 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52115 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52116 * sysdeps/ieee754/k_standard.c: Likewise.
52117 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52118 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52119 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52120 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52121 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52124 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52125 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52126 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52127 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52128 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52129 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52130 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52131 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52134 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52135 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52136 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52137 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52138 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52140 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52141 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52142 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52149 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52150 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52152 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52153 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52155 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52156 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52157 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52158 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52159 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52160 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52163 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52164 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52165 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52166 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52169 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52170 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52171 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52172 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52173 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52174 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52177 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52178 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52180 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52181 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52183 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52185 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52186 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52187 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52188 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52191 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52192 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52196 * sysdeps/ieee754/s_matherr.c: Likewise.
52197 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52198 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52199 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52201
965a54a4
JM
522022012-01-26 Joseph Myers <joseph@codesourcery.com>
52203
52204 * crypt/md5.h: Remove __STDC__ conditionals.
52205 * libio/libioP.h: Likewise.
52206 * locale/programs/config.h: Likewise.
52207 * sysdeps/generic/sysdep.h: Likewise.
52208 * sysdeps/i386/asm-syntax.h: Likewise.
52209 * sysdeps/s390/asm-syntax.h: Likewise.
52210 * sysdeps/unix/sysdep.h: Likewise.
52211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52213
7071ad79
JM
522142012-01-26 Joseph Myers <joseph@codesourcery.com>
52215
52216 * libio/libio.h: Remove __STDC__ conditionals.
52217 * malloc/obstack.h: Likewise.
52218 * math/complex.h: Likewise.
52219 * math/math.h: Likewise.
52220 * sysdeps/generic/_G_config.h: Likewise.
52221 * sysdeps/gnu/_G_config.h: Likewise.
52222 * sysdeps/mach/hurd/_G_config.h: Likewise.
52223 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52224 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52225 * sysdeps/sparc/bits/mathdef.h: Likewise.
52226
afc5ed09
UD
522272012-01-26 Ulrich Drepper <drepper@gmail.com>
52228
52229 [BZ #13583]
52230 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 52231 Clean up HAS_* macros.
afc5ed09 52232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
52233 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52234 possible.
52235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52236 HAS_AVX.
52237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52238 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52240 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52241 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 52242
bdb6de1d
JM
522432012-01-25 Joseph Myers <joseph@codesourcery.com>
52244
52245 * elf/tst-unique3.cc (gets): Remove declaration.
52246 * elf/tst-unique3lib.cc (gets): Likewise.
52247 * elf/tst-unique3lib2.cc (gets): Likewise.
52248 * elf/tst-unique4.cc (gets): Likewise.
52249
b15549e6
UD
522502012-01-24 Ulrich Drepper <drepper@gmail.com>
52251
52252 * include/stdio.h: Add C++ protection. Add gets declarations and
52253 definitions.
52254 * debug/tst-chk1.c: Don't declare gets here.
52255 * stdio-common/tst-gets.c: Likewise.
52256
a037381f
JM
522572012-01-24 Joseph Myers <joseph@codesourcery.com>
52258
52259 * posix/glob: Remove directory.
52260
f1d4aa75
JM
522612012-01-24 Joseph Myers <joseph@codesourcery.com>
52262
52263 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52264
81c0c964
PT
522652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52266
52267 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52268 of the non-standard EPFNOSUPPORT.
52269
0ea698ae
ST
522702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52271
52272 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52273 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52274 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52275
d220b117
UD
522762012-01-21 Ulrich Drepper <drepper@gmail.com>
52277
52278 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52279
3e1aa84e
UD
522802012-01-20 Ulrich Drepper <drepper@gmail.com>
52281
52282 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52283 transient errors.
52284 * nscd/grpcache.c (cache_addgr): Likewise.
52285 * nscd/hstcache.c (cache_addhst): Likewise.
52286 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52287 * nscd/pwdcache.c (cache_addpw): Likewise.
52288 * nscd/servicescache.c (cache_addserv): Likewise.
52289
400aa020
UD
522902012-01-16 Ulrich Drepper <drepper@gmail.com>
52291
d77e7869
UD
52292 * malloc/malloc.c: Various cleanups.
52293 * malloc/hooks.c: Likewise.
52294
400aa020
UD
52295 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52296 * stdlib/bug-fmtmsg1.c: New file.
52297
52298 * stdlib/fmtmsg.c (init): Add missing unlock.
52299 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52300
e0a309cf
MP
523012012-01-12 Marek Polacek <polacek@redhat.com>
52302
52303 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52304 and _GNU_SOURCE.
52305
929d11c7
WS
523062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52307
52308 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52309 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52310 macro to ensure uniqueness of label name.
52311 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52312 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52313
41d0e869
UD
523142012-01-11 Ulrich Drepper <drepper@gmail.com>
52315
0cc5ed3b
UD
52316 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52317
41d0e869
UD
52318 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52319 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52320 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52321 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52322
a47a831a
UD
523232012-01-10 Ulrich Drepper <drepper@gmail.com>
52324
daa891c0
UD
52325 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52326
52327 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52328 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52329 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52330
e58ef0f2
UD
52331 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52332
a47a831a 52333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
52334 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52335 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 52336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
52337
52338 * math/bits/math-finite.h: Add ldexp support.
52339
a0bfc9c7
MP
523402012-01-10 Marek Polacek <polacek@redhat.com>
52341
52342 * locale/programs/localedef.h (show_archive_content): Add noreturn
52343 attribute.
52344
d6e97a1d
UD
523452012-01-09 Ulrich Drepper <drepper@gmail.com>
52346
52347 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52348
d5835c26
UD
523492012-01-08 Ulrich Drepper <drepper@gmail.com>
52350
e5f484c6
UD
52351 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52352
d5835c26
UD
52353 * io/Makefile (headers): Add bits/poll2.h.
52354
d1f741e9
WS
523552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52356
52357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52358 typo #include statement.
52359
ec09c1c4
UD
523602012-01-08 Ulrich Drepper <drepper@gmail.com>
52361
52362 * include/sys/cdefs.h: Define __attribute_alloc_size.
52363 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52364 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52365 * elf/pldd.c: Likewise.
52366 * iconv/iconv_charmap.c: Likewise.
52367 * iconv/iconvconfig.c: Likewise.
52368 * iconv/strtab.c: Likewise.
52369 * locale/programs/locale.c: Likewise.
52370 * locale/programs/localedef.h: Likewise.
52371 * locale/programs/simple-hash.c: Likewise.
52372 * nscd/nscd.h: Likewise.
52373 * nss/makedb.c: Likewise.
52374 * sysdeps/generic/ldconfig.h: Likewise.
52375 * locale/programs/localedef.c: Remove xmalloc prototype.
52376 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52377
20b38e03
PP
523782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52379
52380 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52381 appropriate.
52382
a0da5fe1
UD
523832012-01-08 Ulrich Drepper <drepper@gmail.com>
52384
1d5a644a 52385 * math/Makefile (tests): Add tst-CMPLX.
669704fd 52386 * math/tst-CMPLX.c: New file.
1d5a644a 52387
8784a6db
UD
52388 * math/complex.h (CMPLXL): Fix typo.
52389
d9a216c0
UD
52390 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52391 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52392 GLIBC_2.16.
52393 * debug/tst-chk1.c: Add poll and ppoll tests.
52394 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52395 * include/sys/poll.h: Add hidden proto for ppoll.
52396 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52397 * sysdeps/mach/hurd/ppoll.c: Likewise.
52398 * io/ppoll.c: Likewise.
52399 * debug/poll_chk.c: New file.
52400 * debug/ppoll_chk.c: New file.
52401 * include/bits/poll2.h: New file.
52402 * io/bits/poll2.h: New file.
52403
ac097f5c
UD
52404 [BZ #1350]
52405 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52406
2119dcfa
UD
52407 * configure.in: static is always set to yes. Remove.
52408 * config.make.in: Don't set build-static.
52409 * Makeconfig: Remove use of build-static.
52410 * dlfcn/Makefile: Likewise.
52411 * elf/Makefile: Likewise.
52412 * math/Makefile: Likewise.
52413 * misc/Makefile: Likewise.
52414 * nptl/Makefile: Likewise.
52415 * sysdeps/mach/hurd/Makefile: Likewise.
52416
121766a9
UD
52417 * configure.in: PWD_P is not used anymore.
52418 * config.make.in: Remove PWD_P entry.
52419
51a1d39c 52420 * configure.in: Remove last remnants of RANLIB.
8720d066 52421 No need to check for signed size_t anymore.
215f4bdc
UD
52422 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52423 and IA-64.
3857022a 52424 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
52425 * aclocal.m4: Likewise.
52426
d3ed7225
UD
52427 * wcsmbs/mbrtoc16.c: Implement using towc function.
52428 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52429 * wcsmbs/wcsmbsload.c: Likewise.
52430 * iconv/gconv_simple.c: Likewise.
52431 * iconv/gconv_int.h: Likewise.
52432 * iconv/gconv_builtin.h: Likewise.
52433 * iconv/iconv_prog.c: Remove CHAR16 handling.
52434
52435 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52436
52437 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52438
a0da5fe1
UD
52439 * configure.in: Remove --with-elf and --enable-bounded options.
52440 Dont set base_machine for ia64. More non-ELF conditions removed.
52441 Remove testing and setting of leading underscore information.
52442 * config.make.in (build-bounded): Set to no.
52443 * config.h.in: Remove NO_UNDERSCORES entry.
52444 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52445 them.
52446 * csu/start.c: Remove !NO_UNDERSCORE code.
52447 * locale/localeinfo.h: Likewise.
52448 * sysdeps/generic/machine-gmon.h: Likewise.
52449 * sysdeps/generic/sysdep.h: Likewise.
52450 * sysdeps/i386/sysdep.h: Likewise.
52451 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52452 * sysdeps/mach/sysdep.h: Likewise.
52453 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52455 * sysdeps/sh/sysdep.h: Likewise.
52456 * sysdeps/sparc/sparc32/alloca.S: Likewise.
52457 * sysdeps/unix/i386/sysdep.S: Likewise.
52458 * sysdeps/unix/sparc/start.c: Likewise.
52459 * sysdeps/unix/sparc/sysdep.S: Likewise.
52460 * sysdeps/unix/sparc/sysdep.h: Likewise.
52461 * sysdeps/unix/start.c: Likewise.
52462 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52463 * sysdeps/x86_64/sysdep.h: Likewise.
52464
df78418a
UD
524652012-01-07 Ulrich Drepper <drepper@gmail.com>
52466
a784e502
UD
52467 [BZ #13553]
52468 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52469 for non-gcc.
52470 * argp/argp-fmtstream.h: Use const instead __const.
52471 * argp/argp.h: Likewise.
52472 * assert/assert.h: Likewise.
52473 * bits/fenv.h: Likewise.
52474 * bits/sched.h: Likewise.
52475 * bits/sigset.h: Likewise.
52476 * bits/sigthread.h: Likewise.
52477 * catgets/nl_types.h: Likewise.
52478 * conform/data/pthread.h-data: Likewise.
52479 * crypt/crypt-private.h: Likewise.
52480 * crypt/crypt.h: Likewise.
52481 * crypt/crypt_util.c: Likewise.
52482 * ctype/ctype.h: Likewise.
52483 * debug/execinfo.h: Likewise.
52484 * debug/mbsnrtowcs_chk.c: Likewise.
52485 * debug/mbsrtowcs_chk.c: Likewise.
52486 * debug/wcsnrtombs_chk.c: Likewise.
52487 * debug/wcsrtombs_chk.c: Likewise.
52488 * debug/wcstombs_chk.c: Likewise.
52489 * dirent/dirent.h: Likewise.
52490 * dlfcn/dlfcn.h: Likewise.
52491 * elf/neededtest4.c: Likewise.
52492 * grp/grp.h: Likewise.
52493 * gshadow/gshadow.h: Likewise.
52494 * iconv/gconv.h: Likewise.
52495 * iconv/gconv_int.h: Likewise.
52496 * iconv/gconv_simple.c: Likewise.
52497 * iconv/iconv.h: Likewise.
52498 * iconv/loop.c: Likewise.
52499 * iconv/skeleton.c: Likewise.
52500 * include/aio.h: Likewise.
52501 * include/aliases.h: Likewise.
52502 * include/argz.h: Likewise.
52503 * include/arpa/inet.h: Likewise.
52504 * include/assert.h: Likewise.
52505 * include/dirent.h: Likewise.
52506 * include/dlfcn.h: Likewise.
52507 * include/execinfo.h: Likewise.
52508 * include/fcntl.h: Likewise.
52509 * include/fenv.h: Likewise.
52510 * include/glob.h: Likewise.
52511 * include/grp.h: Likewise.
52512 * include/libintl.h: Likewise.
52513 * include/mntent.h: Likewise.
52514 * include/netdb.h: Likewise.
52515 * include/pwd.h: Likewise.
52516 * include/rpc/netdb.h: Likewise.
52517 * include/sched.h: Likewise.
52518 * include/search.h: Likewise.
52519 * include/shadow.h: Likewise.
52520 * include/signal.h: Likewise.
52521 * include/stdio.h: Likewise.
52522 * include/stdlib.h: Likewise.
52523 * include/string.h: Likewise.
52524 * include/sys/socket.h: Likewise.
52525 * include/sys/stat.h: Likewise.
52526 * include/sys/statfs.h: Likewise.
52527 * include/sys/statvfs.h: Likewise.
52528 * include/sys/syslog.h: Likewise.
52529 * include/sys/time.h: Likewise.
52530 * include/sys/uio.h: Likewise.
52531 * include/time.h: Likewise.
52532 * include/unistd.h: Likewise.
52533 * include/utmp.h: Likewise.
52534 * include/wchar.h: Likewise.
52535 * include/wctype.h: Likewise.
52536 * inet/aliases.h: Likewise.
52537 * inet/arpa/inet.h: Likewise.
52538 * inet/netinet/ether.h: Likewise.
52539 * inet/netinet/in.h: Likewise.
52540 * intl/libintl.h: Likewise.
52541 * io/bits/fcntl2.h: Likewise.
52542 * io/fcntl.h: Likewise.
52543 * io/ftw.h: Likewise.
52544 * io/sys/poll.h: Likewise.
52545 * io/sys/stat.h: Likewise.
52546 * io/sys/statfs.h: Likewise.
52547 * io/sys/statvfs.h: Likewise.
52548 * io/utime.h: Likewise.
52549 * libio/bits/stdio.h: Likewise.
52550 * libio/bits/stdio2.h: Likewise.
52551 * libio/libio.h: Likewise.
52552 * libio/libioP.h: Likewise.
52553 * libio/stdio.h: Likewise.
52554 * locale/lc-ctype.c: Likewise.
52555 * locale/locale.h: Likewise.
52556 * login/utmp.h: Likewise.
52557 * malloc/arena.c: Likewise.
52558 * malloc/malloc.c: Likewise.
52559 * malloc/malloc.h: Likewise.
52560 * malloc/mcheck.c: Likewise.
52561 * malloc/mtrace.c: Likewise.
52562 * math/bits/mathcalls.h: Likewise.
52563 * math/fenv.h: Likewise.
52564 * math/math_private.h: Likewise.
52565 * misc/bits/error.h: Likewise.
52566 * misc/bits/syslog.h: Likewise.
52567 * misc/err.h: Likewise.
52568 * misc/error.h: Likewise.
52569 * misc/fstab.h: Likewise.
52570 * misc/mntent.h: Likewise.
52571 * misc/regexp.h: Likewise.
52572 * misc/search.h: Likewise.
52573 * misc/sgtty.h: Likewise.
52574 * misc/sys/mman.h: Likewise.
52575 * misc/sys/syslog.h: Likewise.
52576 * misc/sys/uio.h: Likewise.
52577 * misc/sys/xattr.h: Likewise.
52578 * misc/ttyent.h: Likewise.
52579 * nis/rpcsvc/ypclnt.h: Likewise.
52580 * nss/nss.h: Likewise.
52581 * posix/bits/unistd.h: Likewise.
52582 * posix/fnmatch.h: Likewise.
52583 * posix/glob.h: Likewise.
52584 * posix/sched.h: Likewise.
52585 * posix/spawn.h: Likewise.
52586 * posix/sys/wait.h: Likewise.
52587 * posix/unistd.h: Likewise.
52588 * posix/wordexp.h: Likewise.
52589 * pwd/pwd.h: Likewise.
52590 * resolv/netdb.h: Likewise.
52591 * resource/sys/resource.h: Likewise.
52592 * rt/aio.h: Likewise.
52593 * rt/bits/mqueue2.h: Likewise.
52594 * rt/mqueue.h: Likewise.
52595 * shadow/shadow.h: Likewise.
52596 * signal/signal.h: Likewise.
52597 * socket/send.c: Likewise.
52598 * socket/sendto.c: Likewise.
52599 * socket/sys/socket.h: Likewise.
52600 * stdio-common/printf.h: Likewise.
52601 * stdlib/bits/stdlib.h: Likewise.
52602 * stdlib/fmtmsg.h: Likewise.
52603 * stdlib/monetary.h: Likewise.
52604 * stdlib/stdlib.h: Likewise.
52605 * stdlib/ucontext.h: Likewise.
52606 * streams/stropts.h: Likewise.
52607 * string/argz.h: Likewise.
52608 * string/bits/string2.h: Likewise.
52609 * string/string.h: Likewise.
52610 * string/strings.h: Likewise.
52611 * sunrpc/rpc/auth.h: Likewise.
52612 * sunrpc/rpc/auth_des.h: Likewise.
52613 * sunrpc/rpc/clnt.h: Likewise.
52614 * sunrpc/rpc/netdb.h: Likewise.
52615 * sunrpc/rpc/pmap_clnt.h: Likewise.
52616 * sunrpc/rpc/xdr.h: Likewise.
52617 * sysdeps/generic/inttypes.h: Likewise.
52618 * sysdeps/generic/net/if.h: Likewise.
52619 * sysdeps/generic/sys/swap.h: Likewise.
52620 * sysdeps/gnu/net/if.h: Likewise.
52621 * sysdeps/gnu/utmpx.h: Likewise.
52622 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52623 * sysdeps/i386/i486/bits/string.h: Likewise.
52624 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52625 * sysdeps/s390/bits/string.h: Likewise.
52626 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52627 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52628 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52629 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52630 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52631 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52632 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52633 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52634 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52635 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52636 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52637 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52638 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52639 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52640 * sysdeps/unix/sysv/linux/readv.c: Likewise.
52641 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52642 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52644 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52645 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52646 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52647 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52648 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52649 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52650 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52651 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52652 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52654 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52655 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52656 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52657 * sysvipc/sys/ipc.h: Likewise.
52658 * sysvipc/sys/msg.h: Likewise.
52659 * sysvipc/sys/sem.h: Likewise.
52660 * sysvipc/sys/shm.h: Likewise.
52661 * termios/termios.h: Likewise.
52662 * time/sys/time.h: Likewise.
52663 * time/time.h: Likewise.
52664 * wcsmbs/bits/wchar2.h: Likewise.
52665 * wcsmbs/uchar.h: Likewise.
52666 * wcsmbs/wchar.h: Likewise.
52667 * wctype/wctype.h: Likewise.
52668
0269750c
UD
52669 [BZ #13551]
52670 * Makeconfig: Remove all but ELF support including AIX support.
52671 * Makerules: Likewise.
52672 * config.h.in: Likewise.
52673 * config.make.in: Likewise.
52674 * configure: Likewise.
52675 * configure.in: Likewise.
52676 * csu/Makefile: Likewise.
52677 * csu/version.c: Likewise.
52678 * debug/Makefile: Likewise.
52679 * dlfcn/Makefile: Likewise.
52680 * elf/Makefile: Likewise.
52681 * extra-lib.mk: Likewise.
52682 * iconv/Makefile: Likewise.
52683 * include/libc-symbols.h: Likewise.
52684 * include/shlib-compat.h: Likewise.
52685 * resolv/Makefile: Likewise.
52686 * resolv/res_libc.c: Likewise.
52687 * rt/Makefile: Likewise.
52688 * sysdeps/i386/asm-syntax.h: Likewise.
52689 * sysdeps/i386/sysdep.h: Likewise.
52690 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52691 * sysdeps/mach/sysdep.h: Likewise.
52692 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52693 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52694 * sysdeps/s390/asm-syntax.h: Likewise.
52695 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52697 * sysdeps/sh/sysdep.h: Likewise.
52698 * sysdeps/unix/sparc/sysdep.h: Likewise.
52699 * sysdeps/wordsize-32/divdi3.c: Likewise.
52700 * sysdeps/x86_64/sysdep.h: Likewise.
52701
00bbd29b
UD
52702 * argp/Versions: Remove _argp_unlock_xxx.
52703
52704 [BZ #13559]
52705 * abilist/ld.abilist: Update. Adjust for removal of tls option.
52706 * abilist/libBrokenLocale.abilist: Likewise.
52707 * abilist/libanl.abilist: Likewise.
52708 * abilist/libc.abilist: Likewise.
52709 * abilist/libcrypt.abilist: Likewise.
52710 * abilist/libdl.abilist: Likewise.
52711 * abilist/libm.abilist: Likewise.
52712 * abilist/libnsl.abilist: Likewise.
52713 * abilist/libpthread.abilist: Likewise.
52714 * abilist/libresolv.abilist: Likewise.
52715 * abilist/librt.abilist: Likewise.
52716 * abilist/libthread_db.abilist: Likewise.
52717 * abilist/libutil.abilist: Likewise.
52718 * abilist/libnss_db.abilist: New file.
52719
52720 * scripts/abilist.awk: Add support for indirect functions.
52721
a2693a0e
UD
52722 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52723
3f05895f
UD
52724 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52725
ecb6fb48
UD
52726 * shlib-versions: Remove entries for ports architectures.
52727
664f8cb9
UD
52728 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
52729 files in ports.
52730 * elf/stackguard-macros.h: Remove support for IA-64.
52731 * elf/tst-auditmod1.c: Likewise.
52732 * sysdeps/generic/ldsodefs.h: Likewise.
52733
7ae81d88
UD
52734 * sysdeps/unix/sysv/linux/configure.in: Ports should define
52735 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52736 configure files.
52737
bdeba135
UD
52738 [BZ #13552]
52739 * configure.in: Remove --enable-omitfp support.
52740 * FAQ.in: Adjust.
52741 * config.make.in: Likewise.
52742 * Makeconfig: Likewise.
52743 * manual/install.texi: Likewise.
52744
d75a0a62
UD
52745 In case anyone cares, the IA-64 architecture could move to ports.
52746 * sysdeps/ia64/*: Removed.
52747 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 52748 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 52749
dcc9756b
UD
52750 [BZ #13555]
52751 * configure.in: Remove entries for unsupported architectures.
52752
d3761ebc 52753 [BZ #13533]
9954432e
UD
52754 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52755 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
52756 routines.
52757 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52758 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52759 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
52760 fall back to using wcrtomb.
52761 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52762 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
52763 renaming.
52764 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52765 * wcsmbs/tst-c16c32-1.c: New file.
52766
52767 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52768 local variable.
52769
c3a87236
UD
52770 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52771
28926a1b
UD
52772 * elf/tst-unique3.cc: Add explicit declaration of gets.
52773 * elf/tst-unique3lib.cc: Likewise.
52774 * elf/tst-unique3lib2.cc: Likewise.
52775 * elf/tst-unique4.cc: Likewise.
52776
df78418a
UD
52777 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52778
8ecd6b2a
JM
527792012-01-06 Joseph Myers <joseph@codesourcery.com>
52780
52781 [BZ #13566]
52782 * assert/assert.h (static_assert): Don't define for C++.
52783 * libio/stdio.h (gets): Do declare for C++ <= C++11.
52784 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52785
9f115170
UD
527862012-01-03 Ulrich Drepper <drepper@gmail.com>
52787
5e0d0300
UD
52788 * iconv/loop.c (single loop): Fix assertion in storing of
52789 remaining bytes.
52790
9f115170
UD
52791 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52792
81fb02b0
UD
527932012-01-01 Ulrich Drepper <drepper@gmail.com>
52794
52795 * posix/getconf.c: Update copyright year.
52796 * nss/getent.c: Likewise.
a316c1f6 52797 * nss/makedb.c: Likewise.
81fb02b0
UD
52798 * iconv/iconvconfig.c: Likewise.
52799 * iconv/iconv_prog.c: Likewise.
52800 * elf/ldconfig.c: Likewise.
a316c1f6
UD
52801 * elf/pldd.c: Likewise.
52802 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
52803 * catgets/gencat.c: Likewise.
52804 * csu/version.c: Likewise.
52805 * elf/ldd.bash.in: Likewise.
52806 * elf/sprof.c (print_version): Likewise.
52807 * locale/programs/locale.c: Likewise.
52808 * locale/programs/localedef.c: Likewise.
a316c1f6 52809 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
52810 * nscd/nscd.c (print_version): Likewise.
52811 * debug/xtrace.sh: Likewise.
52812 * malloc/memusage.sh: Likewise.
52813 * malloc/mtrace.pl: Likewise.
52814 * debug/catchsegv.sh: Likewise.
52815
2ba92745
JJ
528162011-12-30 Jakub Jelinek <jakub@redhat.com>
52817
52818 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52819 pure attribute.
52820
dadebdae
UD
528212011-12-24 Ulrich Drepper <drepper@gmail.com>
52822
d3761ebc 52823 [BZ #13533]
db6af3eb
UD
52824 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52825 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52826 transformations.
52827 * iconv/gconv_int.h: Likewise.
52828 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52829 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52830 from libc for GLIBC_2.16.
52831 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52832 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52833 * wcsmbs/uchar.h: Really define mbstate_t.
52834 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52835 * wcsmbs/c16rtomb.c: New file.
52836 * wcsmbs/mbrtoc16.c: New file.
52837 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52838 for C/POSIX locale.
52839 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52840 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52841
dadebdae
UD
52842 * wcsmbs/wchar.h: Add missing __restrict.
52843
67371b56
UD
528442011-12-23 Ulrich Drepper <drepper@gmail.com>
52845
74033a25
UD
52846 [BZ #13532]
52847 * time/Makefile (routines): Add timespec_get.
52848 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52849 * time/time.h: Define TIME_UTC and declare timespec_get. Define
52850 timespec for ISO C11.
52851 * time/timespec_get.c: New file.
52852 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52853 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52854
380d7e87
UD
52855 [BZ #13531]
52856 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52857 * stdlib/stdlib.h: Declare aligned_alloc.
52858 * Versions.def: Add GLIBC_2.16 for libc.
52859 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52860
4e9e7a35
UD
52861 [BZ 13527]
52862 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52863 ISO C11.
52864
380d7e87 52865 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
52866 code.
52867
03a71829
UD
52868 [BZ #13528]
52869 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52870
839e283e
UD
52871 [BZ #13529]
52872 * assert/assert.h (static_assert): Define.
52873
ce5294e2 52874 * version.h: Update for 2.16 development version.
90fa7312 52875
8d44e150 52876 [BZ #13526]
d7809905
UD
52877 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52878 _ISOC11_SOURCE.
52879
c0da14cd
UD
52880 * version.h (RELEASE): Bump for 2.15 release.
52881 * include/features.h (__GLIBC_MINOR__): Bump to 15.
52882
530a3249
MP
52883 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52884 Patch by Marek Polacek <mpolacek@redhat.com>.
52885
67371b56
UD
52886 * bits/byteswap.h: Protect long long constants with __extension__.
52887 * sysdeps/i386/bits/byteswap.h: Likewise.
52888 * sysdeps/ia64/bits/byteswap.h: Likewise.
52889 * sysdeps/s390/bits/byteswap.h: Likewise.
52890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52891
15db4de1
LD
528922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52893
52894 [BZ #13540]
bbe315ea
LD
52895 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52896 destination buffer.
15db4de1
LD
52897 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52898
2b2596b1
MP
528992011-12-23 Marek Polacek <polacek@redhat.com>
52900
52901 * elf/dl-addr.c (determine_info): Add inline keyword.
52902 * elf/tst-auditmod4b.c (check_avx): Likewise.
52903 * elf/tst-auditmod6b.c (check_avx): Likewise.
52904 * elf/tst-auditmod6c.c (check_avx): Likewise.
52905 * elf/tst-auditmod7b.c (check_avx): Likewise.
52906
70c6c246
UD
529072011-12-23 Ulrich Drepper <drepper@gmail.com>
52908
52909 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52910 !__SSE_MATH__.
52911
c044cf14
LD
529122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52913
15db4de1 52914 [BZ #13540]
c044cf14
LD
52915 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52916 processing for last bytes.
52917
6b13d9d9
BH
529182011-08-06 Bruno Haible <bruno@clisp.org>
52919
d455f537
BH
52920 [BZ #13061]
52921 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52922 U+0385, not to U+1FEE.
52923
6b13d9d9
BH
52924 [BZ #13062]
52925 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52926 entry for U+00A5 U+0301.
52927
db910efd
UD
529282011-12-22 Ulrich Drepper <drepper@gmail.com>
52929
27deeafc
UD
52930 [BZ #13166]
52931 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52932 buffer for the output is too small.
52933
aed9d171
UD
52934 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52935 optimization.
52936
db910efd
UD
52937 [BZ #13185]
52938 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52939 SSE flags if possible.
52940
2bd779ae
LD
529412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52942
e7f9dac3 52943 [BZ #13540]
2bd779ae
LD
52944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52945 processing for last bytes.
52946
154bfc16
JM
529472011-12-22 Joseph Myers <joseph@codesourcery.com>
52948
52949 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52950 (syscall-list-default-options, syscall-list-default-condition)
52951 (syscall-list-includes): Define.
52952 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52953 list of ABIs and options and #if conditions for each ABI. Do not
52954 handle common syscalls between ABIs specially.
52955 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52956 Remove.
52957 (syscall-list-variants, syscall-list-32bit-options)
52958 (syscall-list-32bit-condition, syscall-list-64bit-options)
52959 (syscall-list-64bit-condition): Define.
52960 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52961 (syscall-list-variants, syscall-list-32bit-options)
52962 (syscall-list-32bit-condition, syscall-list-64bit-options)
52963 (syscall-list-64bit-condition): Define.
52964 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52965 Remove.
52966 (syscall-list-variants, syscall-list-32bit-options)
52967 (syscall-list-32bit-condition, syscall-list-64bit-options)
52968 (syscall-list-64bit-condition): Define.
52969 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52970 Remove.
52971 (syscall-list-variants, syscall-list-32bit-options)
52972 (syscall-list-32bit-condition, syscall-list-64bit-options)
52973 (syscall-list-64bit-condition): Define.
52974
21eaf3a5
UD
529752011-12-22 Ulrich Drepper <drepper@gmail.com>
52976
16c6f992
UD
52977 * locale/iso-639.def: Add brx entry.
52978
41043168
UD
52979 [BZ #13328]
52980 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52981 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52982
21eaf3a5
UD
52983 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52984 __feraiseexcept_renamed.
52985
e3a851a2
UD
529862011-12-21 Ulrich Drepper <drepper@gmail.com>
52987
4920765e
UD
52988 [BZ #13538]
52989 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52990 EPOLLET with unsigned values.
52991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52992 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52993
e3a851a2
UD
52994 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52995 to large cancellation.
52996 * math/s_cacoshf.c: Likewise.
52997 * math/s_cacoshl.c: Likewise.
52998
b27e24b8
RK
529992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53000
53001 [BZ #13305]
aebefeee 53002 [BZ #12786]
b27e24b8
RK
53003 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53004 * math/s_cacoshf.c: Likewise.
53005 * math/s_cacoshl.c: Likewise.
53006
ee190f67
UD
530072011-12-21 Ulrich Drepper <drepper@gmail.com>
53008
53009 [BZ #13439]
53010 * iconv/gconv.h: Define __GCONV_SWAP.
53011 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53012 * iconvdata/utf-16.c: Likewise.
53013 * iconvdata/utf-32.c: Likewise.
53014
707f25df
AS
530152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53016
53017 [BZ #13524]
53018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53019 numerator after shifting it by one limb.
53020
d2daaa1e
RÁE
530212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53022
53023 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53024 under [__USE_EXTERN_INLINES].
53025
a4647e72
UD
530262011-12-17 Ulrich Drepper <drepper@gmail.com>
53027
53028 [BZ #13446]
53029 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53030
f0b264f1
AZ
530312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53032
53033 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53034 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53035 optimized code.
53036 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53037 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53038 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53039 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53040 for strncasecmp/strncasecmp_l compilation.
53041 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53042 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53043
8ef4f244
MP
530442011-12-08 Marek Polacek <mpolacek@redhat.com>
53045
53046 [BZ #13484]
53047 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53048 of __asm__.
53049
97ac2654
UD
530502011-12-17 Ulrich Drepper <drepper@gmail.com>
53051
53052 [BZ #13506]
53053 * time/tzfile.c (__tzfile_read): Check values from file header.
53054
91d2a845
WS
530552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53056
53057 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53058 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53059 * powerpc/powerpc32/dl-start.S: Likewise.
53060 * powerpc/powerpc32/elf/start.S: Likewise.
53061 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53062 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53063 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53064 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53065 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53066 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53067 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53068 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53069 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53070 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53071 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53072 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53073 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53074 * powerpc/powerpc32/memset.S: Likewise.
53075 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53076 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53077 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53078 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53079 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53080 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53081 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53082 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53083 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53084 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53085 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53086 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53087 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53088
a1267ba1
AZ
530892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53090
53091 * math/libm-test.inc: Added more nearbyint tests.
53092 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53093 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53094 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53096
ad8ac1bd
RL
530972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53098
53099 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53100 FD_CLOEXEC.
53101
1d3e4b61
UD
531022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53103
53104 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53105 Add wcscpy-ssse3 wcscpy-c.
53106 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53107 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53108 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53109 * sysdeps/x86_64/wcschr.S: New file.
53110 * sysdeps/x86_64/wcsrchr.S: New file.
53111 * string/test-strcmp.c: Remove checking of wcscmp function for
53112 wrong alignments.
53113 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53114 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53115 wcsrchr-sse2 wcsrchr-c.
53116 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53117 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53118 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53119 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53120 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53121 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53122 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53123 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53124 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53125 * wcsmbc/wcschr.c (WCSCHR): New macro.
53126
5b330a2d
UD
531272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53128
53129 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53130 * wcsmbs/test-wcsrchr.c: New file.
53131 * string/test-strrchr.c: Add wcsrchr support.
53132 (WIDE): New macro.
53133 * wcsmbs/test-wcscpy.c: New file.
53134 * string/test-strcpy.c: Add wcscpy support.
53135 (WIDE): New macro.
26428b7c 53136
f039c043
UD
531372011-12-10 Ulrich Drepper <drepper@gmail.com>
53138
53139 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53140 the inner loop.
53141
850fb039
AS
531422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53143
53144 [BZ #13472]
53145 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53146
4efbd5cb
UD
531472011-12-04 Ulrich Drepper <drepper@gmail.com>
53148
52ff5dd0 53149 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 53150 Minor optimizations.
52ff5dd0 53151
4efbd5cb
UD
53152 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53153 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53154 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53155
8a426e12
UD
531562011-12-03 Ulrich Drepper <drepper@gmail.com>
53157
aff2453d
UD
53158 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53159 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53160 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53161 for gcc to avoid warnings.
53162 * inet/Makefile (tests): Add tst-checks.
53163 * inet/tst-checks.c: New file.
53164
53165 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53166 warning.
53167
53168 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53169 __wmemcmp_sse2.
53170
53171 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53172 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53173
8a426e12
UD
53174 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53175
9bea3473
UD
531762011-12-02 Ulrich Drepper <drepper@gmail.com>
53177
3a965496
UD
53178 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53179 problem.
53180
9bea3473
UD
53181 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53182
f101631b
UD
531832011-11-29 Joseph Myers <joseph@codesourcery.com>
53184
53185 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53186 conditional on GCC version.
53187 (__arch_compare_and_exchange_val_8_acq)
53188 (__arch_compare_and_exchange_val_16_acq)
53189 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53190 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53191 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53192
a98275aa
UD
531932011-12-02 Joseph Myers <joseph@codesourcery.com>
53194
53195 * sysdeps/sh/backtrace.c: New file.
53196
d4cc29a2
AS
531972011-12-02 Andreas Schwab <schwab@redhat.com>
53198
53199 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53200 parenthesis.
53201
6257af2d
AS
532022011-12-01 Andreas Schwab <schwab@redhat.com>
53203
53204 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53205 falling back to utime.
53206
b5f44c1a
AS
532072011-11-30 Andreas Schwab <schwab@redhat.com>
53208
53209 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53210 expectations for float.
53211
f3a6cc0a
AS
532122011-11-29 Andreas Schwab <schwab@redhat.com>
53213
53214 * locale/weight.h (findidx): Add parameter len.
53215 * locale/weightwc.h (findidx): Likewise.
53216 * posix/fnmatch_loop.c (FCT): Adjust caller.
53217 * posix/regcomp.c (build_equiv_class): Likewise.
53218 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53219 * posix/regexec.c (check_node_accept_bytes): Likewise.
53220 * string/strcoll_l.c (STRCOLL): Likewise.
53221 * string/strxfrm_l.c (STRXFRM): Likewise.
53222
9d65ea3a
UD
532232011-11-17 Ulrich Drepper <drepper@gmail.com>
53224
53225 * Makefile.in: Remove CVSOPT handling.
53226 * configure.in: Remove use of AC_REVISION.
53227 * iconvdata/Makefile (distribute): No need to filter out CVS.
53228 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53229 handling.
53230
5583a086
AS
532312011-11-16 Andreas Schwab <schwab@redhat.com>
53232
53233 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53234 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53235 [USE_AS_STRNCASECMP_L]: Likewise.
53236 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53237 NO_TLS_DIRECT_SEG_REFS.
53238 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53239 Fix argument offsets for non-PIC.
53240 [USE_AS_STRNCASECMP_L]: Likewise.
53241 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53242 NO_TLS_DIRECT_SEG_REFS.
53243
d62a8200
UD
532442011-11-15 Ulrich Drepper <drepper@gmail.com>
53245
9d65ea3a 53246 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
53247 O_CLOEXEC.
53248 * locale/loadlocale.c (_nl_load_locale): Likewise.
53249
09f93bd3
AS
532502011-11-15 Andreas Schwab <schwab@redhat.com>
53251
446514f9
AS
53252 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53253 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53254 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53255 (SYSCALL_GETTIME): Set errno on error.
53256
09f93bd3
AS
53257 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53258 count references to noai6ai_cached.
53259
312be3f9
UD
532602011-11-15 Ulrich Drepper <drepper@gmail.com>
53261
53262 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53263
53264 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53265 FD_CLOEXEC for /proc/self/maps.
53266
53267 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53268 FD_CLOEXEC for /proc/meminfo.
53269
53270 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53271 gai.conf.
53272
53273 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53274 FD_CLOEXEC for given file.
53275
53276 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53277
53278 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53279 FD_CLOEXEC for /etc/hosts.
53280 (_gethtent): Likewise.
53281
53282 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53283
53284 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53285 cancellation and set FD_CLOEXEC for /etc/netgroup.
53286
53287 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53288 reading /etc/publickey.
53289
53290 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53291 allow cancellation when reading /etc/group.
53292
53293 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53294 cancellation.
53295 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53296
53297 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53298 when using data file.
53299
53300 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53301
53302 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53303 (write_nis_obj): Use "c" and "e" in fopen.
53304
53305 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53306
53307 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53308
53309 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53310
53311 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53312
53313 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53314 locale.alias.
53315
53316 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53317
53318 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53319
53320 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53321
53322 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53323 file parsing and set FD_CLOEXEC.
53324
82af0fa8
UD
533252011-11-14 Ulrich Drepper <drepper@gmail.com>
53326
53327 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53328
a5fb313c
AS
533292011-11-14 Andreas Schwab <schwab@redhat.com>
53330
53331 * malloc/arena.c (arena_get2): Don't call reused_arena when
53332 _int_new_arena failed.
53333
6abf3465
UD
533342011-11-14 Ulrich Drepper <drepper@gmail.com>
53335
53336 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53337 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53338 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53339 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53340 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53341 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53342 to compile strcasecmp and strncasecmp.
53343 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53344 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53345
53346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53347
76e3966e
UD
533482011-11-13 Ulrich Drepper <drepper@gmail.com>
53349
53350 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53351 locale-defines.sym to gen-as-const-headers.
53352 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53353 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53355 to compile strcasecmp and strncasecmp.
53356 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53357 strcasecmp_l and strncasecmp_l.
53358 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53359 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53360 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53361 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53362 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53363 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53364 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53365 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53366 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53367 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53368 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53369
ab26144e
UD
533702011-11-12 Ulrich Drepper <drepper@gmail.com>
53371
7edb22ef
UD
53372 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53373 result of SYSDEP_GETTIME_CPU to retval.
53374 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53375 parameter list to macro. Remove trailing semicolon. Adjust users.
53376
9694fc44
UD
53377 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53378 variable.
53379
8ad89ef8
UD
53380 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53381 mantissa words.
53382 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53383
0c822ef9
UD
53384 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53385 from unused variable.
53386
874e0564
UD
53387 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53388 DWARF definitions.
53389 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53390 for assembling.
53391
3a2edc79
UD
53392 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53393 over namespaces.
53394
f3c2577f
UD
53395 * sunrpc/rpc_prot.c (rejected): Fix case value.
53396
294ce126
UD
53397 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53398 unsigned long long int to avoid warnings in shift.
53399
5e2b63c6
UD
53400 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53401 of use of trans.
53402 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53403 variable tmp.
53404
e7f4b08e
UD
53405 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53406 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53407 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53408
ab26144e
UD
53409 * nis/nis_table.c (nis_list): Use variable of correct type for
53410 result of __follow_path call.
53411
8a6d5255
AZ
534122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53413
53414 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53415 of math functions ceil, trunc, floor, round, and sqrt, when
53416 avaliable on the platform.
53417 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53418 name clash.
53419 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53420 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53421 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53422
aaddc98c
MP
534232011-10-30 Marek Polacek <mpolacek@redhat.com>
53424
53425 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53426 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53427
95b7042b
RM
534282011-11-11 Roland McGrath <roland@hack.frob.com>
53429
53430 * include/unistd.h: Fix __readlink return type.
53431 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53432
57769839
UD
534332011-11-11 Ulrich Drepper <drepper@gmail.com>
53434
53435 * stdlib/ucontext.h: Undo last change for makecontext.
53436
edc5984d
AS
534372011-11-11 Andreas Schwab <schwab@redhat.com>
53438
98591e58
AS
53439 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53440
edc5984d
AS
53441 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53442 * setjmp/setjmp.h: Mark functions as non-leaf.
53443 * setjmp/bits/setjmp2.h: Likewise.
53444 * stdlib/ucontext.h: Likewise.
53445
77cdc054
AS
534462011-11-10 Andreas Schwab <schwab@redhat.com>
53447
53448 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53449 (reused_arena): Don't check arena limit.
53450 (arena_get2): Atomically check arena limit.
53451
fe72eebd
UD
534522011-11-08 Ulrich Drepper <drepper@gmail.com>
53453
5f078c32
UD
53454 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53455 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53456
fe72eebd
UD
53457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53458 instructions.
53459
ae1bc2fa
AS
534602011-11-07 Andreas Schwab <schwab@redhat.com>
53461
7583a88d
AS
53462 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53463 handler when locking.
53464
ae1bc2fa
AS
53465 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53466 Fix size of allocated buffer.
53467
10fb0bfa
AS
534682011-11-04 Andreas Schwab <schwab@redhat.com>
53469
998832a4
AS
53470 [BZ #10103]
53471 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53472 declarations for long double functions.
53473 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53474
10fb0bfa
AS
53475 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53476
3d7ba52b
AS
534772011-11-03 Andreas Schwab <schwab@redhat.com>
53478
a9ae54a1
AS
53479 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53480 installed.
53481
3d7ba52b
AS
53482 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53483 is disabled.
53484
bc8db248
ST
534852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53486
53487 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53488
45b96dd6
AS
534892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53490
647776f6
AS
53491 * include/alloca.h (stackinfo_alloca_round): Define.
53492 (extend_alloca): Use it.
53493 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53494 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53495 here.
53496
d91a8b93
AS
53497 * scripts/check-local-headers.sh: Ignore libaudit.h.
53498
45b96dd6
AS
53499 * nscd/Makefile (extra-objs): Make recursively expanded.
53500
432d41ce
UD
535012011-11-01 Ulrich Drepper <drepper@gmail.com>
53502
34372fc6
UD
53503 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53504 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53505
fadb59f8
UD
53506 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53507 * posix/tst-rfc3484-2.c: Likewise.
53508 * posix/tst-rfc3484-3.c: Likewise.
53509
78239589
UD
53510 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53511 process_vm_writev.
53512 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53513 process_vm_writev.
53514 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53515 process_vm_writev from libc using GLIBC_2.15 version.
53516
432d41ce
UD
53517 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53518
02f9c6cf
PP
535192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53520
53521 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53522 stack usage.
53523
3a2c0242
UD
535242011-10-31 Ulrich Drepper <drepper@gmail.com>
53525
f4ec4833
UD
53526 [BZ #13367]
53527 * nss/getent.c (initgroups_keys): Show error message in case no group
53528 names are given.
53529
3a2c0242
UD
53530 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53531 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53532 __bump_nl_timestamp.
53533 * nscd/connections (nscd_init): When host database is served open
53534 netlink socket and request notification about configuration changes.
53535 (main_loop_poll): Track netlink file descriptor and bump timestamp
53536 in case data becomes available.
53537 (main_loop_epoll): Likewise.
53538 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53539 (database_pers_head): Add extra_data fileds.
53540 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53541 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53542 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53543 Adjust caller.
53544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53545 in6ai data, call __free_in6ai.
53546 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53547 Add -DHAVE_NETLINK.
53548 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53549 interface information. Reuse previous data if netlink timestamp
53550 is not changed.
53551 (__bump_nl_timestamp): New function.
53552 (__free_in6ai): New function.
53553
636064eb
UD
535542011-10-30 Ulrich Drepper <drepper@gmail.com>
53555
53556 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53557 close_not_cancel_no_status here.
53558 (__check_pf): Reorganize code a bit to not call close twice if OOM.
53559
9beb2334
UD
535602011-10-29 Ulrich Drepper <drepper@gmail.com>
53561
6ef76f3b
UD
53562 [BZ #13276]
53563 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53564 return value.
53565
0ffc4f3e 53566 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
53567 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53568 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53569
cb95113e
UD
535702011-07-03 Andreas Jaeger <aj@suse.de>
53571
53572 [BZ #10709]
53573 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53574 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53575 * math/libm-test.inc (sin_test): Add test case.
53576
a1b560ff
UD
535772011-10-29 Ulrich Drepper <drepper@gmail.com>
53578
c9aaface
UD
53579 [BZ #13337]
53580 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53581 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53582
d272e7f1
UD
53583 * elf/chroot_canon.c (chroot_canon): Cleanups.
53584
1bc33071
UD
53585 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53586
1760874d
TJ
53587 [BZ #13335]
53588 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53589 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53590
51d91b18
UD
53591 * string/test-strchr.c: Make usable for strchrnul testing.
53592 * string/test-strchrnul.c: New file.
53593 * string/Makefile (strop-tests): Add strchrnul.
53594
a1b560ff 53595 * po/it.po: Update from translation team.
b611fb81 53596 * po/es.po: Likewise.
a1b560ff 53597
a5b81e1f
UD
535982011-10-28 Ulrich Drepper <drepper@gmail.com>
53599
fd52bc6d
UD
53600 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53601 the three constants needed as parameters. Drop the others.
53602 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53603 __m128i_strloadu_tolower.
52e4b9eb
UD
53604 Create and initialize variable zero and use it in all the places
53605 where _mm_setzero_si128 was used.
fd52bc6d 53606
a5b81e1f
UD
53607 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53608 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53609 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53610 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53611 anymore.
53612 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53613 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53614 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53615 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53616 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53617 __mpranred, __mptan.
53618 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53619 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53620 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53621 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53622 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53623 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53624 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53625 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53626 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53627
b4343346
AS
536282011-10-28 Andreas Schwab <schwab@redhat.com>
53629
0c92d8a8
AS
53630 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53631 redefine if SHARED.
53632 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53633
b4343346
AS
53634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53635 wide char related routines to wcsmbs subdir.
53636
3871f58f
AS
536372011-10-27 Andreas Schwab <schwab@redhat.com>
53638
53639 [BZ #13344]
53640 * misc/sys/cdefs.h (__THROWNL): Define.
53641 * posix/unistd.h: Use __THREADNL instead of __THREAD
53642 for memory synchronization functions.
53643
94d44d9f
RM
536442011-10-26 Roland McGrath <roland@hack.frob.com>
53645
21b64b15 53646 [BZ #13349]
94d44d9f
RM
53647 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53648 doesn't exist.
53649 * manual/stdio.texi (Obstack Streams): Node removed.
53650
f6ce9294
AS
536512011-10-26 Andreas Schwab <schwab@redhat.com>
53652
80479147
AS
53653 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53654 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53655 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53656
f6ce9294
AS
53657 * math/math_private.h (math_force_eval): Allow non-addressable
53658 arguments.
53659 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53660
618280a1
UD
536612011-10-25 Ulrich Drepper <drepper@gmail.com>
53662
e0016b11
UD
53663 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53664 file is not needed.
53665
53666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53667 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53668 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53669 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53672 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53673 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53674 Add AVX variants.
53675 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53676 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53677 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53678 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53679 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53680 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53681 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53682 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53683 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53684 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53685 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53686 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53687 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53688 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53689 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53690 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53691 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53692 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53693 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53694
53695 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53696 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
53697
618280a1
UD
53698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53699 place. Use VEX encoding when compiling for AVX.
53700
37822576
AS
537012011-10-25 Andreas Schwab <schwab@redhat.com>
53702
1f1e1947
AS
53703 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53704 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53705
37822576
AS
53706 * string/test-strchr.c (do_test): Don't generate NUL bytes.
53707
31ea014d
UD
537082011-10-25 Ulrich Drepper <drepper@gmail.com>
53709
d7826aa1 53710 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 53711 useless if() expression.
d7826aa1
UD
53712 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53713 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53715 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53716 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53717 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53718 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53720 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53721 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53722 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53723 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53724 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53725 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53726 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53727 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53728 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53729 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53730 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53731
31ea014d
UD
53732 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53733
16437fec
AS
537342011-10-25 Andreas Schwab <schwab@redhat.com>
53735
53736 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53737 condition.
53738 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53739
31d3cc00
UD
537402011-10-25 Ulrich Drepper <drepper@gmail.com>
53741
53742 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53743 .text section. Avoid duplicate constants.
53744 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53746 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53748 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53751 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53752 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53753 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53754 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53755 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53756 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53757 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53758 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53759 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53760 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53761 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53762 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53763 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53764 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53765 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53766 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53767 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53768 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53769 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53770 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53771 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53772 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53773 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53774 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53775 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53776 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53777 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53778 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53779 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53780 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53781 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53782 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53783 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53785 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53786 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53787 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53788 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53789
58985aa9
UD
537902011-10-24 Ulrich Drepper <drepper@gmail.com>
53791
202c9deb
UD
53792 * sysdeps/x86_64/dla.h: Move to ...
53793 * sysdeps/x86_64/fpu/dla.h: ...here.
53794 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53795 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 53796
af968f62
UD
53797 * config.make.in: Add have-mfma4 entry.
53798 * configure.in: Substitute libc_cv_cc_fma4.
53799 * math/Makefile (dbl-only-routines): Add sincostab.
53800 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53801 Use __sincostab not sincos.
53802 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53803 name is a macro.
53804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
53808 using __copysign.
53809 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
53810 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
53811 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53812 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53813 and __inv.
53814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53815 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53816 __copysign.
53817 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
53818 define aliases when function name is a macro.
53819 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53820 sysdeps/ieee754/dbl-64/sincos.tbl.
53821 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53822 fma4-enabled routines.
53823 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53824 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53825 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53826 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53827 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53828 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53829 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53830 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53832 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53833 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53834 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53835 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53836 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53837 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53838 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53839 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53840 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53841 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53842 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53843 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53844 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53845 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53846 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53847 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53848 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53849 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53850 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53852 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53853
58985aa9
UD
53854 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53855 rename.
53856 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53864
a201fbcf
AS
538652011-10-24 Andreas Schwab <schwab@redhat.com>
53866
53867 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53868
fc2ee42a
LD
538692011-10-23 Ulrich Drepper <drepper@gmail.com>
53870
bb3129bd
UD
53871 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53872
0275fff8
UD
53873 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53874 prediction.
53875 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53876
2fa2ae85
UD
53877 * string/strnlen.c: Don't define STRNLEN, reverse logic.
53878 Remove unused variable magic_bits.
53879 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53880
fc2ee42a
LD
53881 * string/strnlen.c: Define and use STRNLEN macro.
53882 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53883 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53884 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53885 * wcsmbs/wcslen.c: Define and use WCSLEN.
53886 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53887 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53888 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53889 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53890 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53891 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53892 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53893
ce7dd29f
LD
538942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53895
53896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53897 strnlen-sse2-no-bsf.
53898 Rename strlen-no-bsf to strlen-sse2-no-bsf.
53899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53900 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53901 Add strnlen support.
53902 (USE_AS_STRNLEN): New macro.
53903 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53904 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53905 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53906 * sysdeps/x86_64/wcslen.S: New file.
53907
979c70a3
MZ
539082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
53909
53910 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53911 XMM-moves are used for copying on small sizes.
53912
2d09f82f
LD
539132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53914
53915 * wcsmbs/Makefile (strop-tests): Add wcschr.
53916 * wcsmbs/test-wcschr.c: New file.
53917 * string/test-strchr.c: Update.
53918 Add wcschr support.
53919 (WIDE): New macro.
53920
619fccca
LD
539212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53922
2d09f82f 53923 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
53924 * wcsmbs/test-wcslen.c: New file.
53925 * string/test-strlen.c: Update.
53926 Add wcslen support.
53927 (WIDE): New macro.
53928
09f699ea
UD
539292011-10-23 Ulrich Drepper <drepper@gmail.com>
53930
53931 * po/it.po: Update from translation team.
53932
95584d3b
LD
539332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53934
53935 * sysdeps/x86_64/wcscmp.S: Update.
53936 Fix wrong comparison semantics.
53937 wcscmp shall use signed comparison not unsigned.
53938 Don't use substraction to avoid overflow bug.
53939 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53940 * wcsmbc/wcscmp.c: Likewise.
53941 * string/test-strcmp.c: Likewise.
53942 Add new tests to check cases with negative values.
53943
c8b3296b
UD
539442011-10-23 Ulrich Drepper <drepper@gmail.com>
53945
53946 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53947 * sysdeps/x86_64/dla.h: ...here. New file.
53948 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53953 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53957
246ad57a
AS
539582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53959
53960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53961 __ynl_finite aliases.
53962
a1a87169
UD
539632011-10-22 Ulrich Drepper <drepper@gmail.com>
53964
0d355eb7
UD
53965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53966
a1a87169
UD
53967 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53968 define DLA_FMA.
53969 [DLA_FMA] (EMULV): Use DLA_FMA.
53970 [DLA_FMA] (MUL12): Use EMULV.
53971 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53972 that are not needed.
53973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53974 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53979 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53980
ee2aafe0
AS
539812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53982
53983 * math/s_nan.c: Undef __nan.
53984 * math/s_nanf.c: Undef __nanf.
53985 * math/s_nanl.c: Undef __nanl.
53986 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53987 "math_private.h".
53988
bc62c2fb
UD
539892011-10-22 Ulrich Drepper <drepper@gmail.com>
53990
77425c63
UD
53991 * math/s_catan.c: Add branch predictions.
53992 * math/s_catanf.c: Likewise.
53993 * math/s_catanh.c: Likewise.
53994 * math/s_catanhf.c: Likewise.
53995 * math/s_catanhl.c: Likewise.
53996 * math/s_catanl.c: Likewise.
53997 * math/s_cexp.c: Likewise.
53998 * math/s_cexpf.c: Likewise.
53999 * math/s_cexpl.c: Likewise.
54000 * math/s_clog.c: Likewise.
54001 * math/s_clog10.c: Likewise.
54002 * math/s_clog10f.c: Likewise.
54003 * math/s_clog10l.c: Likewise.
54004 * math/s_clogf.c: Likewise.
54005 * math/s_clogl.c: Likewise.
54006 * math/s_csqrt.c: Likewise.
54007 * math/s_csqrtf.c: Likewise.
54008 * math/s_csqrtl.c: Likewise.
54009 * math/s_ctanf.c: Likewise.
54010 * math/s_ctanh.c: Likewise.
54011 * math/s_ctanhf.c: Likewise.
54012 * math/s_ctanhl.c: Likewise.
54013 * math/s_ctanl.c: Likewise.
54014
bc62c2fb
UD
54015 * math/math_private.h: Define __nan, __nanf, __nanl.
54016 * math/s_cacosh.c: Include <math_private.h>.
54017 * math/s_cacoshl.c: Likewise.
54018 * math/s_casinh.c: Likewise.
54019 * math/s_casinhf.c: Likewise.
54020 * math/s_casinhl.c: Likewise.
54021 * math/s_ccos.c: Rely entire on ccosh.
54022 * math/s_ccosf.c: Rely entire on ccoshf.
54023 * math/s_ccosl.c: Rely entirely on ccoshl.
54024 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54025 Remove tests for FE_INVALID.
54026 * math/s_ccoshf.c: Likewise.
54027 * math/s_ccoshl.c: Likewise.
54028 * math/s_csin.c: Likewise.
54029 * math/s_csinf.c: Likewise.
54030 * math/s_csinh.c Likewise.
54031 * math/s_csinhf.c: Likewise.
54032 * math/s_csinhl.c: Likewise.
54033 * math/s_csinl.c: Likewise.
54034 * math/s_ctan.c: Likewise.
54035 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54036 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54037 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54038
8ec250a4
UD
540392011-10-21 Ulrich Drepper <drepper@gmail.com>
54040
c196fed8
UD
54041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54042 compilation problems.
54043
8ec250a4
UD
54044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54045 __builtin_expect.
54046
8d4f46c6
UD
540472011-10-20 Ulrich Drepper <drepper@gmail.com>
54048
ed72b654
UD
54049 * sysdeps/i386/configure.in: Test for -mfma4 option.
54050 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54051 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54052 COMMON_CPUID_INDEX_80000001.
54053 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54054 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54055 use it if FMA3 is not supported.
54056 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54057
8d4f46c6
UD
54058 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54059 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54060
d45c60c2
AS
540612011-10-20 Andreas Schwab <schwab@redhat.com>
54062
54063 [BZ #12892]
54064 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54065 it would create a cycle with a link time dependency.
54066
d9a4d2ab
UD
540672011-10-19 Ulrich Drepper <drepper@gmail.com>
54068
855d1560
UD
54069 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54070 instruction.
54071 * string/Makefile (strop-tests): Add rawmemchr.
54072 * string/test-rawmemchr.c: New file.
54073
d9a4d2ab
UD
54074 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54075 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54076 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54077 when compiling str{,n}casecmp and when AVX is available. Hook up
54078 new optimized code in initializers.
54079
8f3b1ffe
AS
540802011-10-19 Andreas Schwab <schwab@redhat.com>
54081
54082 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54083 __feraiseexcept instead of feraiseexcept.
54084
d38f1dba
UD
540852011-10-18 Ulrich Drepper <drepper@gmail.com>
54086
d9a8d0ab
UD
54087 * math/math_private.h: Define defaults for libc_fetestexcept and
54088 libc_feupdateenv.
54089 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54090 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54091 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54092 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54093 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54094 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54095 libc_fetestexcept and libc_feupdateenv.
54096
4855e3dd
UD
54097 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54098 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54099 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54100 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54101 libc_feholdexcept_setround.
54102
581d30e3
UD
54103 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54104 Add s_nearbyint-c and s_nearbyintf-c.
54105 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54106 nearbyintf inlines.
54107 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54108 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54109 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54110 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54111
d38f1dba
UD
54112 * math/math_private.h: Define defaults for libc_fegetround,
54113 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54114 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54115 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54116 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54117 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54118 standard functions.
54119 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54120 Remove comments and hacks for old compiler versions.
54121 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54122 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54123 libc_feholdexceptl.
54124
caa6c9d8
AS
541252011-10-18 Andreas Schwab <schwab@redhat.com>
54126
54127 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
54128 (__feraiseexcept_renamed): Add __NTH.
54129 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
54130 namespace violations.
54131
97c066e6
UD
541322011-10-17 Ulrich Drepper <drepper@gmail.com>
54133
99ce7b04
UD
54134 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54135
1004d182
UD
54136 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54137
228a984d
UD
54138 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54139 recently added interfaces.
54140 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54141
c8553a6a
UD
54142 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54143 about macro parameter expansion.
54144
ed22dcf6
UD
54145 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54146 __NO_MATH_INLINES is defined. Cleanups.
54147
54148 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54149 and __floorf is target has SSE4.1.
54150 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54151 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54152 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54153 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54154
b171c137
UD
54155 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54156 name.
54157 (floorf): Likewise.
54158
97c066e6
UD
54159 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54160
629f62ef
AS
541612011-10-17 Andreas Schwab <schwab@redhat.com>
54162
49a43d80
AS
54163 * misc/sys/cdefs.h: Fix last change.
54164
629f62ef
AS
54165 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54166 database lookup.
54167
e453f6cd
UD
541682011-10-16 Ulrich Drepper <drepper@gmail.com>
54169
aa78043a
UD
54170 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54171
ad0f5cad
UD
54172 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54174 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54177 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54178 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54179 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54180 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54181 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54182 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54183 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54184 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54185 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54186 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54187 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54188 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54189 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54190 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54191 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54192 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54193 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54194
54195 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54196 ceil, ceilf, floor, floorf.
54197
54198 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54199 Perform IRELATIVE relocations last.
54200
e453f6cd
UD
54201 * elf/do-rel.h: Add another parameter nrelative, replacing the
54202 local variable with the same name. Change name of the function
54203 to end in Rel or Rela (uppercase).
54204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54205 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54206 elf_dynamic_do_##reloc function.
54207
fd5bdc09
UD
542082011-10-15 Ulrich Drepper <drepper@gmail.com>
54209
79b195b5
UD
54210 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54211 is sufficient, at least on modern CPUs.
54212
d4a28569
UD
54213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54214
b61099b5
UD
54215 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54216 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54217
bcf01e6d
UD
54218 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54219 __expl_finite.
54220 * math/bits/math-finite.h: Add entries for exp.
54221 * math/e_expl.c: Add __*_finite alias.
54222 * sysdeps/i386/fpu/e_exp.S: Likewise.
54223 * sysdeps/i386/fpu/e_expf.S: Likewise.
54224 * sysdeps/i386/fpu/e_expl.c: Likewise.
54225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54226 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54229 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54230 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54231 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54232
ba1a0d59
UD
54233 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54234 is sufficient, at least on modern CPUs.
54235
fd5bdc09
UD
54236 * ctype/ctype-info.c (__ctype_init): Define.
54237 * include/ctype.h (__ctype_init): Declare.
54238 (__ctype_b_loc): The variable is always initialized.
54239 (__ctype_toupper_loc): Likewise.
54240 (__ctype_tolower_loc): Likewise.
54241 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54242 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54243
7872cfb0
AS
542442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54245
b468825a
AS
54246 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54247
7872cfb0
AS
54248 * configure.in: Also look in $cxxmachine/include for C++ system
54249 headers.
54250
be13f7bf
LD
542512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54252
54253 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54254 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54255 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54256 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54257 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54258 (USE_AS_WMEMCMP): New macro.
54259 Fixing indents.
54260 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54261 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54262 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54263 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54265 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54266 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54267 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54268 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54269 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54270 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54271 (USE_AS_WMEMCMP): New macro.
54272 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54273 * sysdeps/string/test-memcmp.c: Update.
54274 Fix simple_wmemcmp.
54275 Add new tests.
54276 * wcsmbs/wmemcmp.c: Update.
54277 (WMEMCMP): New macro.
54278 Fix overflow bug.
54279
556a2007
AJ
542802011-10-12 Andreas Jaeger <aj@suse.de>
54281
54282 [BZ #13268]
54283 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54284
538faaa7
UD
542852011-10-15 Ulrich Drepper <drepper@gmail.com>
54286
ab6737ff
UD
54287 * libio/iofwide.c (do_length): Avoid warning.
54288
538faaa7
UD
54289 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54290
396a21b1
UD
542912011-10-14 Ulrich Drepper <drepper@gmail.com>
54292
cdf2901f
UD
54293 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54294
38ad40ce
UD
54295 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54296 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54297 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54298 * sysdeps/i386/i686/fpu/e_log.S: New file.
54299 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54300 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54301
396a21b1
UD
54302 * ctype/ctype.h: Add support for inlined isXXX functions when
54303 compiling C++ code.
54304
6b1f68c9
AS
543052011-10-14 Andreas Schwab <schwab@redhat.com>
54306
349290c0
AS
54307 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54308
6b1f68c9
AS
54309 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54310
f2282d42
RM
543112011-10-13 Roland McGrath <roland@hack.frob.com>
54312
54313 [BZ #13291]
54314 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54315
5298ffa8
AS
543162011-10-13 Andreas Schwab <schwab@redhat.com>
54317
714fad23
AS
54318 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54319 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54320 feraiseexcept.
54321
81dcc7fb
AS
54322 * sysdeps/x86_64/memrchr.S: Check for zero size.
54323
5298ffa8
AS
54324 * string/stratcliff.c: Add memrchr tests.
54325
951fbcec
LD
543262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54327
54328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54329 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54330 rawmemchr-sse2 rawmemchr-sse2-bsf.
54331 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54332 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54333 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54334 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54335 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54336 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54337 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54338 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54339 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54340 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54341 * string/memrchr.c (MEMRCHR): New macro.
54342
0ac5ae23
UD
543432011-10-12 Ulrich Drepper <drepper@gmail.com>
54344
54345 Add integration with gcc's -ffinite-math-only and optimize wrapper
54346 functions in libm.
54347 * Versions.def: Define GLIBC_2.15 version for libm.
54348 * math/Makefile (headers): Add bits/math-finite.h.
54349 * math/bits/math-finite.h: New file.
54350 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54351 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54352 * math/e_acoshl.c: Add __*_finite alias.
54353 * math/e_acosl.c: Likewise.
54354 * math/e_asinl.c: Likewise.
54355 * math/e_atan2l.c: Likewise.
54356 * math/e_atanhl.c: Likewise.
54357 * math/e_coshl.c: Likewise.
54358 * math/e_exp10.c: Likewise.
54359 * math/e_exp10f.c: Likewise.
54360 * math/e_exp10l.c: Likewise.
54361 * math/e_exp2l.c: Likewise.
54362 * math/e_fmodl.c: Likewise.
54363 * math/e_gammal_r.c: Likewise.
54364 * math/e_hypotl.c: Likewise.
54365 * math/e_j0l.c: Likewise.
54366 * math/e_j1l.c: Likewise.
54367 * math/e_jnl.c: Likewise.
54368 * math/e_lgammal_r.c: Likewise.
54369 * math/e_log10l.c: Likewise.
54370 * math/e_log2l.c: Likewise.
54371 * math/e_logl.c: Likewise.
54372 * math/e_powl.c: Likewise.
54373 * math/e_sinhl.c: Likewise.
54374 * math/e_sqrtl.c: Likewise.
54375 * math/e_scalb.c: Completely rewritten and optimized.
54376 * math/e_scalbf.c: Likewise.
54377 * math/e_scalbl.c: Likewise.
54378 * math/w_acos.c: Likewise.
54379 * math/w_acosf.c: Likewise.
54380 * math/w_acosl.c: Likewise.
54381 * math/w_acosh.c: Likewise.
54382 * math/w_acoshf.c: Likewise.
54383 * math/w_acoshl.c: Likewise.
54384 * math/w_asin.c: Likewise.
54385 * math/w_asinf.c: Likewise.
54386 * math/w_asinl.c: Likewise.
54387 * math/w_atan2.c: Likewise.
54388 * math/w_atan2f.c: Likewise.
54389 * math/w_atan2l.c: Likewise.
54390 * math/w_atanh.c: Likewise.
54391 * math/w_atanhf.c: Likewise.
54392 * math/w_atanhl.c: Likewise.
54393 * math/w_exp10.c: Likewise.
54394 * math/w_exp10f.c: Likewise.
54395 * math/w_exp10l.c: Likewise.
54396 * math/w_fmod.c: Likewise.
54397 * math/w_fmodf.c: Likewise.
54398 * math/w_fmodl.c: Likewise.
54399 * math/w_j0.c: Likewise.
54400 * math/w_j0f.c: Likewise.
54401 * math/w_j0l.c: Likewise.
54402 * math/w_j1.c: Likewise.
54403 * math/w_j1f.c: Likewise.
54404 * math/w_j1l.c: Likewise.
54405 * math/w_jn.c: Likewise.
54406 * math/w_jnf.c: Likewise.
54407 * math/w_log.c: Likewise.
54408 * math/w_logf.c: Likewise.
54409 * math/w_logl.c: Likewise.
54410 * math/w_log10.c: Likewise.
54411 * math/w_log10f.c: Likewise.
54412 * math/w_log10l.c: Likewise.
54413 * math/w_log2.c: Likewise.
54414 * math/w_log2f.c: Likewise.
54415 * math/w_log2l.c: Likewise.
54416 * math/w_pow.c: Likewise.
54417 * math/w_powf.c: Likewise.
54418 * math/w_powl.c: Likewise.
54419 * math/w_remainder.c: Likewise.
54420 * math/w_remainderf.c: Likewise.
54421 * math/w_remainderl.c: Likewise.
54422 * math/w_scalb.c: Likewise.
54423 * math/w_scalbf.c: Likewise.
54424 * math/w_scalbl.c: Likewise.
54425 * math/w_sqrt.c: Likewise.
54426 * math/w_sqrtf.c: Likewise.
54427 * math/w_sqrtl.c: Likewise.
54428 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54429 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54430 used.
54431 * math/math_private.h: Declare __kernel_standard_f.
54432 * math/w_cosh.c: Remove cruft and optimize a bit.
54433 * math/w_coshf.c: Likewise.
54434 * math/w_coshl.c: Likewise.
54435 * math/w_exp2.c: Likewise.
54436 * math/w_exp2f.c: Likewise.
54437 * math/w_exp2l.c: Likewise.
54438 * math/w_hypot.c: Likewise.
54439 * math/w_hypotf.c: Likewise.
54440 * math/w_hypotl.c: Likewise.
54441 * math/w_lgamma.c: Likewise.
54442 * math/w_lgamma_r.c: Likewise.
54443 * math/w_lgammaf.c: Likewise.
54444 * math/w_lgammaf_r.c: Likewise.
54445 * math/w_lgammal.c: Likewise.
54446 * math/w_lgammal_r.c: Likewise.
54447 * math/w_sinh.c: Likewise.
54448 * math/w_sinhf.c: Likewise.
54449 * math/w_sinhl.c: Likewise.
54450 * math/w_tgamma.c: Likewise.
54451 * math/w_tgammaf.c: Likewise.
54452 * math/w_tgammal.c: Likewise.
54453 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54454 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54455 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54456 Minor optimizations. Pretty printing. Remove cruft.
54457 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54458 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54459 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54460 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54461 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54462 * sysdeps/i386/fpu/e_asin.S: Likewise.
54463 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54464 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54465 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54466 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54467 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54468 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54469 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54470 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54471 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54472 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54473 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54474 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54475 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54476 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54477 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54478 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54479 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54480 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54481 * sysdeps/i386/fpu/e_log.S: Likewise.
54482 * sysdeps/i386/fpu/e_log10.S: Likewise.
54483 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54484 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54485 * sysdeps/i386/fpu/e_log2.S: Likewise.
54486 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54487 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54488 * sysdeps/i386/fpu/e_logf.S: Likewise.
54489 * sysdeps/i386/fpu/e_logl.S: Likewise.
54490 * sysdeps/i386/fpu/e_pow.S: Likewise.
54491 * sysdeps/i386/fpu/e_powf.S: Likewise.
54492 * sysdeps/i386/fpu/e_powl.S: Likewise.
54493 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54494 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54495 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54496 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54497 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54498 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54499 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54500 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54501 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54502 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54505 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54507 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54508 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54518 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54519 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54522 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54523 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54524 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54525 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54526 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54527 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54528 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54529 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54530 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54531 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54532 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54533 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54534 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54535 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54536 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54537 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54538 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54539 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54540 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54541 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54542 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54543 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54544 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54545 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54546 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54547 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54548 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54549 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54550 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54551 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54552 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54554 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54557 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54558 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54559 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54560 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54561 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54562 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54563 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54566 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54567 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54568 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54569 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54570 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54572 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54573 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54574 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54575 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54577 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54578 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54579 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54580 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54581 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54582 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54583 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54584 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54585 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54586 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54587 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54588 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54589 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54590 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54591 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54592 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54593 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54594 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54595 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54596 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54597 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54598 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54599 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54600 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54601 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54602 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54603 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54604 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54605 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54606 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54607 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54608 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54609 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54610 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54611 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54612 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
54613 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54614 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54615 (__isnanf): Likewise.
54616 (__isinf_ns): Likewise.
54617 (__isinf_nsf): Likewise.
54618 (__finite): Likewise.
54619 (__finitef): Likewise.
54620 (__ieee754_sqrt): Define as macro.
54621 (__ieee754_sqrtf): Define as macro.
54622 (__ieee754_sqrtl): Define as macro.
54623 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54624 inlined copy.
54625 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54626 __FINITE_MATH_ONLY__ consistent.
54627 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54628
12cc2fcd
AS
546292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
54630
a843a204
AS
54631 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54632 of rawmemchr.
54633
12cc2fcd
AS
54634 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54635
c853acd5
UD
546362011-10-09 Ulrich Drepper <drepper@gmail.com>
54637
54638 * po/ja.po: Update from translation team.
54639
c658d255
RM
546402011-10-08 Roland McGrath <roland@hack.frob.com>
54641
110946e4
RM
54642 * locale/programs/locarchive.c (prepare_address_space): New function.
54643 (create_archive, enlarge_archive, open_archive): Use it.
54644
50604220
RM
54645 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54646 inside [SHARED], where it is used.
54647
c658d255
RM
54648 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54649
54650 * nss/getent.c (netgroup_keys): Remove unused variable.
54651 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54652
6a621eb7
UD
546532011-10-08 Ulrich Drepper <drepper@gmail.com>
54654
7edb55ce
UD
54655 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54656 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54658 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54659 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54660 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54661 * math/Makefile (libm-calls): Add s_isinf_ns.
54662 * math/divtc3.c: Use __isinf_nsl instead of isinf.
54663 * math/multc3.c: Likewise.
54664 * math/s_casin.c: Likewise.
54665 * math/s_casinf.c: Likewise.
54666 * math/s_casinl.c: Likewise.
54667 * math/s_ccos.c: Likewise.
54668 * math/s_ccosf.c: Likewise.
54669 * math/s_ccosl.c: Likewise.
54670 * math/s_ctan.c: Likewise.
54671 * math/s_ctanf.c: Likewise.
54672 * math/s_ctanh.c: Likewise.
54673 * math/s_ctanhf.c: Likewise.
54674 * math/s_ctanhl.c: Likewise.
54675 * math/s_ctanl.c: Likewise.
54676 * math/w_fmod.c: Likewise.
54677 * math/w_fmodf.c: Likewise.
54678 * math/w_fmodl.c: Likewise.
54679 * math/w_remainder.c: Likewise.
54680 * math/w_remainderf.c: Likewise.
54681 * math/w_remainderl.c: Likewise.
54682 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54683 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54684 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54686 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54687 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54688 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54689 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54690
187da0ae
UD
54691 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54692 of the number.
54693 * stdio-common/printf_fphex.c: Likewise.
54694 * stdio-common/printf_size.c: Likewise.
54695
9277c064
UD
54696 * math/e_exp10.c: Include math_private.h using <...> not "...".
54697 * math/e_exp10f.c: Likewise.
54698 * math/e_exp10l.c: Likewise.
54699 * math/e_exp2l.c: Likewise.
54700 * math/e_j0l.c: Likewise.
54701 * math/e_j1l.c: Likewise.
54702 * math/e_jnl.c: Likewise.
54703 * math/e_lgammal_r.c: Likewise.
54704 * math/e_rem_pio2l.c: Likewise.
54705 * math/e_scalb.c: Likewise.
54706 * math/e_scalbf.c: Likewise.
54707 * math/e_scalbl.c: Likewise.
54708 * math/k_cosl.c: Likewise.
54709 * math/k_sinl.c: Likewise.
54710 * math/k_tanl.c: Likewise.
54711 * math/s_cacoshf.c: Likewise.
54712 * math/s_catan.c: Likewise.
54713 * math/s_catanf.c: Likewise.
54714 * math/s_catanh.c: Likewise.
54715 * math/s_catanhf.c: Likewise.
54716 * math/s_catanhl.c: Likewise.
54717 * math/s_catanl.c: Likewise.
54718 * math/s_ccosh.c: Likewise.
54719 * math/s_ccoshf.c: Likewise.
54720 * math/s_ccoshl.c: Likewise.
54721 * math/s_cexp.c: Likewise.
54722 * math/s_cexpf.c: Likewise.
54723 * math/s_cexpl.c: Likewise.
54724 * math/s_clog.c: Likewise.
54725 * math/s_clog10.c: Likewise.
54726 * math/s_clog10f.c: Likewise.
54727 * math/s_clog10l.c: Likewise.
54728 * math/s_clogf.c: Likewise.
54729 * math/s_clogl.c: Likewise.
54730 * math/s_csin.c: Likewise.
54731 * math/s_csinf.c: Likewise.
54732 * math/s_csinh.c: Likewise.
54733 * math/s_csinhf.c: Likewise.
54734 * math/s_csinhl.c: Likewise.
54735 * math/s_csinl.c: Likewise.
54736 * math/s_csqrt.c: Likewise.
54737 * math/s_csqrtf.c: Likewise.
54738 * math/s_csqrtl.c: Likewise.
54739 * math/s_ctan.c: Likewise.
54740 * math/s_ctanf.c: Likewise.
54741 * math/s_ctanh.c: Likewise.
54742 * math/s_ctanhf.c: Likewise.
54743 * math/s_ctanhl.c: Likewise.
54744 * math/s_ctanl.c: Likewise.
54745 * math/s_ldexp.c: Likewise.
54746 * math/s_ldexpf.c: Likewise.
54747 * math/s_ldexpl.c: Likewise.
54748 * math/s_significand.c: Likewise.
54749 * math/s_significandf.c: Likewise.
54750 * math/s_significandl.c: Likewise.
54751 * math/w_acos.c: Likewise.
54752 * math/w_acosf.c: Likewise.
54753 * math/w_acosh.c: Likewise.
54754 * math/w_acoshf.c: Likewise.
54755 * math/w_acoshl.c: Likewise.
54756 * math/w_acosl.c: Likewise.
54757 * math/w_asin.c: Likewise.
54758 * math/w_asinf.c: Likewise.
54759 * math/w_asinl.c: Likewise.
54760 * math/w_atan2.c: Likewise.
54761 * math/w_atan2f.c: Likewise.
54762 * math/w_atan2l.c: Likewise.
54763 * math/w_atanh.c: Likewise.
54764 * math/w_atanhf.c: Likewise.
54765 * math/w_atanhl.c: Likewise.
54766 * math/w_cosh.c: Likewise.
54767 * math/w_coshf.c: Likewise.
54768 * math/w_coshl.c: Likewise.
54769 * math/w_dremf.c: Likewise.
54770 * math/w_exp10.c: Likewise.
54771 * math/w_exp10f.c: Likewise.
54772 * math/w_exp10l.c: Likewise.
54773 * math/w_exp2.c: Likewise.
54774 * math/w_exp2f.c: Likewise.
54775 * math/w_fmod.c: Likewise.
54776 * math/w_fmodf.c: Likewise.
54777 * math/w_fmodl.c: Likewise.
54778 * math/w_hypot.c: Likewise.
54779 * math/w_hypotf.c: Likewise.
54780 * math/w_hypotl.c: Likewise.
54781 * math/w_j0.c: Likewise.
54782 * math/w_j0f.c: Likewise.
54783 * math/w_j0l.c: Likewise.
54784 * math/w_j1.c: Likewise.
54785 * math/w_j1f.c: Likewise.
54786 * math/w_j1l.c: Likewise.
54787 * math/w_jn.c: Likewise.
54788 * math/w_jnf.c: Likewise.
54789 * math/w_jnl.c: Likewise.
54790 * math/w_lgamma.c: Likewise.
54791 * math/w_lgamma_r.c: Likewise.
54792 * math/w_lgammaf.c: Likewise.
54793 * math/w_lgammaf_r.c: Likewise.
54794 * math/w_lgammal.c: Likewise.
54795 * math/w_lgammal_r.c: Likewise.
54796 * math/w_log.c: Likewise.
54797 * math/w_log10.c: Likewise.
54798 * math/w_log10f.c: Likewise.
54799 * math/w_log10l.c: Likewise.
54800 * math/w_log2.c: Likewise.
54801 * math/w_log2f.c: Likewise.
54802 * math/w_log2l.c: Likewise.
54803 * math/w_logf.c: Likewise.
54804 * math/w_logl.c: Likewise.
54805 * math/w_pow.c: Likewise.
54806 * math/w_powf.c: Likewise.
54807 * math/w_powl.c: Likewise.
54808 * math/w_remainder.c: Likewise.
54809 * math/w_remainderf.c: Likewise.
54810 * math/w_remainderl.c: Likewise.
54811 * math/w_scalb.c: Likewise.
54812 * math/w_scalbf.c: Likewise.
54813 * math/w_scalbl.c: Likewise.
54814 * math/w_sinh.c: Likewise.
54815 * math/w_sinhf.c: Likewise.
54816 * math/w_sinhl.c: Likewise.
54817 * math/w_sqrt.c: Likewise.
54818 * math/w_sqrtf.c: Likewise.
54819 * math/w_sqrtl.c: Likewise.
54820 * math/w_tgamma.c: Likewise.
54821 * math/w_tgammaf.c: Likewise.
54822 * math/w_tgammal.c: Likewise.
54823
6a621eb7
UD
54824 * po/ja.po: Update from translation team.
54825
bf582445
AJ
548262011-09-29 Andreas Jaeger <aj@suse.de>
54827
f9efbf3a
AJ
54828 [BZ #13179]
54829 * sunrpc/netname.c (netname2host): Fix logic.
54830
bf582445
AJ
54831 [BZ #6779]
54832 [BZ #6783]
54833 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54834 correctly.
54835 * math/w_remainder.c (__remainder): Likewise.
54836 * math/w_remainderf.c (__remainderf): Likewise.
54837 * math/libm-test.inc (remainder_test): Add test cases.
54838
48693bea
AK
548392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54840
54841 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
54842 sdiv_qrnnd.
54843
42622229
LD
548442011-10-07 Ulrich Drepper <drepper@gmail.com>
54845
54846 * string/test-memcmp.c: Avoid unncessary #defines.
54847 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54848
093ecf92
LD
548492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54850
54851 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54852 Use new sse2 version for core i3 - i7 as it's faster
54853 than sse42 version.
54854 (bit_Prefer_PMINUB_for_stringop): New.
54855 * sysdeps/x86_64/rawmemchr.S: Update.
54856 Replace with faster SSE2 version.
54857 * sysdeps/x86_64/memrchr.S: New file.
54858 * sysdeps/x86_64/memchr.S: Update.
54859 Replace with faster SSE2 version.
54860
fde56e5c
MP
548612011-09-12 Marek Polacek <mpolacek@redhat.com>
54862
54863 * elf/dl-load.c (lose): Add cast to avoid warning.
54864
21fd49a9
UD
548652011-10-07 Ulrich Drepper <drepper@gmail.com>
54866
5a06e643
UD
54867 * po/ca.po: Update from translation team.
54868
684ae515
UD
54869 * inet/getnetgrent_r.c: Hook up nscd.
54870 * nscd/Makefile (routines): Add nscd_netgroup.
54871 (nscd-modules): Add netgroupcache.
54872 (CFLAGS-netgroupcache.c): Define.
54873 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54874 (cache_search): Add const to second parameter.
54875 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54876 INNETGR.
54877 (dbs): Add netgrdb entry.
54878 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54879 (verify_persistent_db): Handle netgrdb.
54880 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54881 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54882 GETFDNETGR.
54883 (netgroup_response_header): Define.
54884 (innetgroup_response_header): Define.
54885 (datahead): Add netgroup_response_header and innetgroup_response_header
54886 elements.
54887 * nscd/nscd.conf: Add entries for netgroup cache.
54888 * nscd/nscd.h (dbtype): Add netgrdb.
54889 (_PATH_NSCD_NETGROUP_DB): Define.
54890 (netgroup_iov_disabled): Declare.
54891 (xmalloc, xcalloc, xrealloc): Move declarations here.
54892 (cache_search): Adjust prototype.
54893 Add netgroup-related prototypes.
54894 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54895 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54896 (__nscd_innetgr): Declare.
54897 * nscd/selinux.c (perms): Use access_vector_t as element type and
54898 add netgroup-related initializers.
54899 * nscd/netgroupcache.c: New file.
54900 * nscd/nscd_netgroup.c: New file.
54901 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54902 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54903 For four parameters use innetgr.
54904 * nss/nss_files/files-init.c: Add definition and callback for netgr.
54905 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54906 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54907 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54908
21fd49a9
UD
54909 * nscd/connections.c (register_traced_file): Don't register file
54910 for disabled databases.
54911
054c0457
UD
549122011-10-06 Ulrich Drepper <drepper@gmail.com>
54913
32b63198
UD
54914 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54915
054c0457
UD
54916 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54917 from tree and freeing node.
54918
64031225
JO
549192011-09-25 Jiri Olsa <jolsa@redhat.com>
54920
54921 * nss/nsswitch.c (__nss_database_lookup): Handle
54922 nss_parse_service_list out of memory case.
54923
0490345c
JO
549242011-09-15 Jiri Olsa <jolsa@redhat.com>
54925
54926 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54927 out of memory case.
54928
3a62d00d
AS
549292011-10-04 Andreas Schwab <schwab@redhat.com>
54930
54931 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54932 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54933 pass it down.
54934 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54935 elf_machine_rela, elf_machine_lazy_rel.
54936 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54937 (ELF_DYNAMIC_DO_REL): Likewise.
54938 (ELF_DYNAMIC_DO_RELA): Likewise.
54939 (ELF_DYNAMIC_RELOCATE): Likewise.
54940 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54941 to ELF_DYNAMIC_DO_REL.
54942 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54943 (dl_main): In trace mode always set __RTLD_NOIFUNC.
54944 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54945 elf_machine_rela.
54946 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54947 skip_ifunc, don't call ifunc function if non-zero.
54948 (elf_machine_rela): Likewise.
54949 (elf_machine_lazy_rel): Likewise.
54950 (elf_machine_lazy_rela): Likewise.
54951 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54952 (elf_machine_lazy_rel): Likewise.
54953 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54954 Likewise.
54955 (elf_machine_lazy_rel): Likewise.
54956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54957 Likewise.
54958 (elf_machine_lazy_rel): Likewise.
54959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54960 (elf_machine_lazy_rel): Likewise.
54961 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54962 (elf_machine_lazy_rel): Likewise.
54963 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54964 (elf_machine_lazy_rel): Likewise.
54965 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54966 (elf_machine_lazy_rel): Likewise.
54967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54968 (elf_machine_lazy_rel): Likewise.
54969 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54970 (elf_machine_lazy_rel): Likewise.
54971
68577918
UD
549722011-09-28 Ulrich Drepper <drepper@gmail.com>
54973
54974 * nss/nss_files/files-init.c (_nss_files_init): Use static
54975 initialization for all the *_traced_file variables.
54976
68822d74
AS
549772011-09-28 Andreas Schwab <schwab@redhat.com>
54978
54979 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54980
2056100b
RM
549812011-09-27 Roland McGrath <roland@hack.frob.com>
54982
54983 [BZ #13226]
54984 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54985
32c76b63
AS
549862011-09-27 Andreas Schwab <schwab@redhat.com>
54987
54988 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54989 Reread the line before reparsing it.
54990
bf972c9d
AS
549912011-09-26 Andreas Schwab <schwab@redhat.com>
54992
54993 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54994
e057a1b5
JM
549952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
54996 Maxim Kuvyrkov <maxim@codesourcery.com>
54997 Joseph Myers <joseph@codesourcery.com>
54998
54999 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55000 if needed for __stack_chk_guard.
55001
bc7e1c36
RM
550022011-09-19 Roland McGrath <roland@hack.frob.com>
55003
ecb1482f
RM
55004 * sysdeps/posix/spawni.c (script_execute): Always define it.
55005 It will be optimized away if unused.
55006 (maybe_script_execute): New function.
55007 (__spawni): Call it.
55008
bc7e1c36
RM
55009 * Makerules: Don't include tls.make.
55010 (config-tls): Always set to thread.
55011 * tls.make.c: File removed.
55012
1c3b002b
MF
550132011-09-19 Mike Frysinger <vapier@gentoo.org>
55014
55015 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55016 * config.make.in (CPPFLAGS-config): New substituted variable.
55017
2840865d
UD
550182011-09-15 Ulrich Drepper <drepper@gmail.com>
55019
88738eb6
UD
55020 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55021
cbf645a6 55022 [BZ #13192]
2840865d
UD
55023 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55024 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55025
b402e91a
RM
550262011-09-15 Roland McGrath <roland@hack.frob.com>
55027
55028 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55029 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55031 (CALL_FAIL): Likewise.
55032 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55033 (CALL_FAIL): Macro removed.
55034 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55035
4c1a1f71
UD
550362011-09-15 Ulrich Drepper <drepper@gmail.com>
55037
55038 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55039 for __FINITE_MATH_ONLY__ == 1.
55040
edc121be
AS
550412011-09-15 Andreas Schwab <schwab@redhat.com>
55042
55043 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55044 __ieee754_sqrt instead of sqrt.
55045 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55046 __ieee754_sqrtf instead of sqrtf.
55047 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55048 __floorf instead of floorf.
55049 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55050 __floorf, __truncf instead of floorf, truncf.
55051
cd205654
UD
550522011-09-14 Ulrich Drepper <drepper@gmail.com>
55053
ee4d0315
UD
55054 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55055
cd205654
UD
55056 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55057 __extern_always_inline.
55058 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55059 32-bit.
55060
48b67d71
AS
550612011-09-14 Andreas Schwab <schwab@redhat.com>
55062
55063 * elf/rtld.c (dl_main): Also relocate in dependency order when
55064 doing symbol dependency testing.
55065
1ae12c75
AS
550662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55067
55068 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55069 Always define `refsym'.
55070
995a80df
AS
550712011-09-13 Andreas Schwab <schwab@redhat.com>
55072
e529793b
AS
55073 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55074 (__FD_ELT): Renamed from __FDELT.
55075 * misc/bits/select2.h (__FD_ELT): Likewise.
55076 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55077 __FD_MASK instead of __FDELT, __FDMASK.
55078 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55079 Likewise.
55080 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55081 Likewise.
55082
52d4fef8
AS
55083 * elf/Makefile (gen-ldd): Fix pattern.
55084
995a80df
AS
55085 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55086 (init_tls): Likewise.
55087
8682f8b0
UD
550882011-09-12 Ulrich Drepper <drepper@gmail.com>
55089
55090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55091
de82006d
AS
550922011-09-12 Andreas Schwab <schwab@redhat.com>
55093
a7c8e6a1
AS
55094 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55095 `struct cmsghdr *' instead of `void *'.
55096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55097 Likewise.
55098
0f31fe77
AS
550992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55100
55101 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55102 if non-absolute.
55103 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55104 ldd_rewrite_script.
0f31fe77 55105
32b4c839
UD
551062011-09-11 Ulrich Drepper <drepper@gmail.com>
55107
83cd1420
UD
55108 * configure.in: Remove --with-tls option.
55109 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55110 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55111 out in case it is missing.
55112 * sysdeps/ia64/elf/configure.in: Likewise.
55113 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55114 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55115 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55116 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55117 * sysdeps/sh/elf/configure.in: Likewise.
55118 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55119 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55120 * sysdeps/x86_64/elf/configure.in: Likewise.
55121 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55122 * sysdeps/mach/hurd/tls.h: Likewise.
55123
633f745d
UD
55124 [BZ #13067]
55125 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55126
f318beb8
UD
55127 [BZ #13090]
55128 * configure.in: Fix use of AC_INIT.
55129
32b4c839
UD
55130 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55131
3ce1f295
UD
551322011-09-10 Ulrich Drepper <drepper@gmail.com>
55133
bb016596
UD
55134 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55135 __set_errno.
8e58439c
UD
55136 * malloc/hooks.c: Likewise.
55137
aebae053 55138 [BZ #11929]
02d46fc4
UD
55139 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55140 variables statically.
55141 (narenas): Initialize.
55142 (list_lock): Initialize.
bb016596
UD
55143 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55144 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
55145 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55146 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55147 Add initializers to main_arena and mp_.
55148 (malloc_state): Remove pagesize member. Change all users to use
55149 GLRO(dl_pagesize).
55150
55151 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55152 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55153 is always initialized.
55154
22a89187
UD
55155 * malloc/malloc.c: Removed unused configurations and dead code.
55156 * malloc/arena.c: Likewise.
55157 * malloc/hooks.c: Likewise.
02d46fc4 55158 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 55159
d063d164
UD
55160 * include/tls.h: Removed. USE___THREAD must always be defined.
55161 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55162 * elf/dl-libc.c: Likewise.
55163 * elf/dl-tsd.c: Likewise.
55164 * include/errno.h: Likewise.
55165 * include/netdb.h: Likewise.
55166 * include/resolv.h: Likewise.
55167 * inet/herrno-loc.c: Likewise.
55168 * inet/herrno.c: Likewise.
55169 * malloc/arena.c: Likewise.
55170 * malloc/hooks.c: Likewise.
55171 * malloc/malloc.c: Likewise.
55172 * resolv/res-state.c: Likewise.
55173 * resolv/res_libc.c: Likewise.
55174 * sysdeps/i386/dl-machine.h: Likewise.
55175 * sysdeps/ia64/dl-machine.h: Likewise.
55176 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55177 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55178 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55179 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55180 * sysdeps/sh/dl-machine.h: Likewise.
55181 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55182 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55183 * sysdeps/unix/i386/sysdep.S: Likewise.
55184 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55185 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55188 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55190 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55194 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55195 * sysdeps/x86_64/dl-machine.h: Likewise.
55196 * tls.make.c: Likewise.
55197
3ce1f295
UD
55198 * configure.in: Remove --with-__thread option. Make tests for
55199 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55200 tls_model attribute fail if no support is available. Remove
55201 USE_IN_LIBIO.
55202 * Makeconfig: Adjust for dropped configure option. All features are
55203 now mandatory.
55204 * Makerules: Likewise.
55205 * Versions.def: Likewise.
55206 * argp/argp-fmtstream.c: Likewise.
55207 * argp/argp-fmtstream.h: Likewise.
55208 * argp/argp-help.c: Likewise.
55209 * assert/assert.c: Likewise.
55210 * config.h.in: Likewise.
55211 * config.make.in: Likewise.
55212 * configure: Likewise.
55213 * configure.in: Likewise.
55214 * csu/Versions: Likewise.
55215 * csu/init.c: Likewise.
55216 * elf/tst-audit2.c: Likewise.
55217 * elf/tst-tls10.c: Likewise.
55218 * elf/tst-tls10.h: Likewise.
55219 * elf/tst-tls11.c: Likewise.
55220 * elf/tst-tls12.c: Likewise.
55221 * elf/tst-tls14.c: Likewise.
55222 * elf/tst-tlsmod11.c: Likewise.
55223 * elf/tst-tlsmod12.c: Likewise.
55224 * elf/tst-tlsmod13.c: Likewise.
55225 * elf/tst-tlsmod13a.c: Likewise.
55226 * elf/tst-tlsmod14a.c: Likewise.
55227 * elf/tst-tlsmod15b.c: Likewise.
55228 * elf/tst-tlsmod16a.c: Likewise.
55229 * elf/tst-tlsmod16b.c: Likewise.
55230 * elf/tst-tlsmod7.c: Likewise.
55231 * elf/tst-tlsmod8.c: Likewise.
55232 * elf/tst-tlsmod9.c: Likewise.
55233 * gmon/gmon.c: Likewise.
55234 * grp/fgetgrent_r.c: Likewise.
55235 * grp/putgrent.c: Likewise.
55236 * hurd/fopenport.c: Likewise.
55237 * include/libc-symbols.h: Likewise.
55238 * include/tls.h: Likewise.
55239 * intl/gettextP.h: Likewise.
55240 * intl/loadinfo.h: Likewise.
55241 * locale/global-locale.c: Likewise.
55242 * locale/localeinfo.h: Likewise.
55243 * mach/devstream.c: Likewise.
55244 * malloc/arena.c: Likewise.
55245 * malloc/set-freeres.c: Likewise.
55246 * misc/err.c: Likewise.
55247 * misc/getttyent.c: Likewise.
55248 * misc/mntent_r.c: Likewise.
55249 * posix/getopt.c: Likewise.
55250 * posix/wordexp.c: Likewise.
55251 * pwd/fgetpwent_r.c: Likewise.
55252 * resolv/Versions: Likewise.
55253 * resolv/res_hconf.c: Likewise.
55254 * shadow/fgetspent_r.c: Likewise.
55255 * shadow/putspent.c: Likewise.
55256 * stdio-common/printf_fphex.c: Likewise.
55257 * stdio-common/tmpfile.c: Likewise.
55258 * stdlib/abort.c: Likewise.
55259 * stdlib/fmtmsg.c: Likewise.
55260 * sunrpc/auth_unix.c: Likewise.
55261 * sunrpc/clnt_perr.c: Likewise.
55262 * sunrpc/clnt_tcp.c: Likewise.
55263 * sunrpc/clnt_udp.c: Likewise.
55264 * sunrpc/clnt_unix.c: Likewise.
55265 * sunrpc/openchild.c: Likewise.
55266 * sunrpc/svc_simple.c: Likewise.
55267 * sunrpc/svc_tcp.c: Likewise.
55268 * sunrpc/svc_udp.c: Likewise.
55269 * sunrpc/svc_unix.c: Likewise.
55270 * sunrpc/xdr.c: Likewise.
55271 * sunrpc/xdr_array.c: Likewise.
55272 * sunrpc/xdr_rec.c: Likewise.
55273 * sunrpc/xdr_ref.c: Likewise.
55274 * sunrpc/xdr_stdio.c: Likewise.
55275
1248c1c4
PB
552762011-09-09 Ulrich Drepper <drepper@gmail.com>
55277
55278 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55279
552802011-07-03 Andreas Jaeger <aj@suse.de>
55281
55282 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55283 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55284 regenerate with gen-libm-tests.pl.
55285
552862010-05-12 Petr Baudis <pasky@suse.cz>
55287
55288 [BZ #11589]
55289 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55290 around j0() zero points by switching to j1().
55291 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55292 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55294 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55295
f22e1074
UD
552962011-09-09 Ulrich Drepper <drepper@gmail.com>
55297
f19009c1
UD
55298 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55299 instead of 0.
55300 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 55301 instead of 0.
f19009c1
UD
55302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55303 Patch in part by Pavel Roskin <proski@gnu.org>.
55304
3f8cc204
UD
55305 [BZ #13138]
55306 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55307 realloc.
55308 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55309 Free memory block if necessary.
55310
f22e1074
UD
55311 [BZ #12847]
55312 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55313 be NULL. Don't lock in this case.
55314
0a2349f9
RM
553152011-09-09 Roland McGrath <roland@hack.frob.com>
55316
55317 * elf/elf.h (ELFOSABI_GNU): New macro.
55318 (ELFOSABI_LINUX): Define to that.
55319
f3cdd467
DZ
553202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55321
55322 * string/strncat.c (strncat): Undef the symbol in case it has been
55323 defined in bits/string.h.
55324
74718d13
UD
553252011-09-09 Ulrich Drepper <drepper@gmail.com>
55326
633e9e0f
UD
55327 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55328
0a2349f9 55329 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
55330 link map.
55331
f9924780
AJ
553322011-08-17 Andreas Jaeger <aj@suse.de>
55333
55334 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55335
7f5517aa
PP
553362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55337 Ian Lance Taylor <iant@google.com>
55338
55339 * math/libm-test.inc (lround_test): New testcase.
55340 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55341
762011fe
UD
553422011-09-08 Ulrich Drepper <drepper@gmail.com>
55343
92963737
UD
55344 * Makefile: Remove support for automatic cvs check-ins.
55345 * Makerules: Likewise.
55346 * config.make.in: Likewise.
55347 * configure.in: Likewise.
55348 * intl/Makefile: Likewise.
55349 * locale/Makefile: Likewise.
55350 * po/Makefile: Likewise.
55351 * posix/Makefile: Likewise.
55352 * sysdeps/gnu/Makefile: Likewise.
55353 * sysdeps/mach/hurd/Makefile: Likewise.
55354 * sysdeps/sparc/sparc32/Makefile: Likewise.
55355
b0727fd8
JS
55356 [BZ #13118]
55357 * posix/Makefile (bug-regex32-ENV): Define.
55358 Patch by John Stanley <jpsinthemix@verizon.net>.
55359
a0f33f99
UD
55360 * misc/Makefile (headers): Add bits/select2.h.
55361 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55362 * misc/bits/select2.h: New file.
55363 * include/bits/select2.h: New file.
55364 * debug/Makefile (routines): Add fdelt_chk.
55365 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55366 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55367 FD_ISSET.
55368 * debug/fdelt_chk.c: New file.
55369
762011fe
UD
55370 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55371 * wcsmbs/test-wmemcmp.c: Likewise.
55372 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 55373 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
55374
553752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55376
55377 * string/Makefile (strop-tests): Add memcmp.
55378 * string/test-wmemcmp.c: New file.
55379 * string/test-memcmp.c: Add wmemcmp support.
55380
7f513ec8
RM
553812011-09-08 Roland McGrath <roland@hack.frob.com>
55382
0442afb4
RM
55383 [BZ #13153]
55384 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55385 2011-07-19 change.
55386
7f513ec8
RM
55387 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55388 garbage value in a __mach_port_mod_refs call in the cases of the
55389 task-self and thread-self ports.
55390
a12b2239
ST
553912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55392
55393 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55394
610f9ab4
AS
553952011-09-08 Andreas Schwab <schwab@redhat.com>
55396
7f513ec8 55397 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 55398
48882a1a
LD
553992011-09-07 Ulrich Drepper <drepper@gmail.com>
55400
b49865be
UD
55401 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55402
fdc86bc9
UD
55403 * elf/dl-libc.c (dlerror_run): Pass back error code from
55404 dl_catch_error.
55405
c966526a
UD
55406 [BZ #13123]
55407 * elf/dl-load.c (lose): Free l_origin if it is valid.
55408
48882a1a
LD
55409 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55410 names.
55411 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55412 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55414 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55415 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55416 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55417
77a2a8b4
AZ
554182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55419
55420 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55421 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55422 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55423 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55424 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55425 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55426 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55427 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55428 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55429 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55430
24f579d8
AM
554312011-08-15 Alan Modra <amodra@gmail.com>
55432
55433 [BZ #13092]
55434 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55435 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55436 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55437 ppc_mcount to static-only-routines.
55438 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55439 __mcount_internal.
55440 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55441 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55442
3d4837df
UD
554432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55444
55445 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55446 for finite and infinity parameters.
55447
22700377
WS
554482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55449
55450 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55451 and add nop instructions for throughput optimization.
55452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55453
5025581e
WS
554542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
55455
55456 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55457 aligned copy for power7 with vector-scalar instructions.
55458 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55459
08a300c9
L
554602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55461
55462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55463 AVX check.
55464
59178ef9
AS
554652011-09-07 Andreas Schwab <schwab@redhat.com>
55466
55467 [BZ #13144]
55468 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55469 last change.
55470
e38ba7ab
UD
554712011-09-07 Ulrich Drepper <drepper@gmail.com>
55472
55473 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55474 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55475 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55476 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55477 clock_gettime.
55478
d53a73ac
UD
554792011-09-06 Ulrich Drepper <drepper@gmail.com>
55480
fc8bffcc
UD
55481 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55482 Forgot to demangle the pointer.
55483
ceaa0c5d
UD
55484 * sysdeps/i386/sysdep.h: Define atom_text_section.
55485 * sysdeps/x86_64/sysdep.h: Likewise.
55486 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55487 section with atom_text_section.
55488 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55490 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55492 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55493
a77d3c17
UD
55494 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55495 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55496 already be defined. Change to take two parameters and don't assign
55497 result to variable. Adjust all users.
55498 Define INTERNAL_GETTIME if not already defined.
55499 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55500 call.
55501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55502 HAVE_CLOCK_GETTIME_VSYSCALL.
55503 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55504
d53a73ac
UD
55505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55506 gettimeofday vsyscall, just use time.
55507
a8f84144
AS
555082011-09-06 Andreas Schwab <schwab@redhat.com>
55509
55510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55511 <errno.h>.
55512
ef606249
UD
555132011-09-06 Ulrich Drepper <drepper@gmail.com>
55514
55515 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55516 syscall on x86-64.
55517 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55518 syscall.
55519 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55520 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55521 syscall if possible.
55522
6585cb60
UD
555232011-09-05 Ulrich Drepper <drepper@gmail.com>
55524
55525 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55526 e_ident. Don't pass to find_mapsXX.
55527 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55528
a5f524e4
LD
555292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55530
55531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55532 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55533 * sysdeps/x86_64/multiarch/strchr.S: Update.
55534 Check bit_slow_BSF bit.
55535 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55536 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55537 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55538
554881ef
UD
555392011-09-05 Ulrich Drepper <drepper@gmail.com>
55540
d96de963
UD
55541 [BZ #13134]
55542 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55543 before glibc 2.15.
55544 (tryshell): Define.
55545 (__spawni): Change last parameter to be flag. Test
55546 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55547 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55548 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55549 * posix/spawni.c: Likewise.
55550 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55551 * posix/spawnp.c: Likewise. Change normal version to use
55552 SPAWN_XFLAGS_USE_PATH.
55553 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55554 SPAWN_XFLAGS_TRY_SHELL.
55555
d48e5868
UD
55556 [BZ #13150]
55557 * posix/glob.h: Remove gcc 1.x support.
55558
554881ef
UD
55559 [BZ #13068]
55560 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55561
693fb948
LD
555622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55563
55564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55565 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55566 strrchr-sse2-bsf
55567 * sysdeps/i386/i686/multiarch/strchr.S: New file.
55568 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55569 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55570 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55571 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55572 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55573
1b48c537
UD
555742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55575
49d42c37
UD
55576 * sysdeps/x86_64/wcscmp.S: New file.
55577
1b48c537
UD
55578 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55579 wcscmp-c wcscmp-sse2
55580 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55581 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55582 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55583 * wcsmbs/wcscmp.c: Allow renaming.
55584
15c95c5d
DM
555852011-09-05 David S. Miller <davem@davemloft.net>
55586
55587 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55588 stack slot, rather than the struct return pointer slot.
55589 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55590 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55592 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55593
2f0ad8f3
UD
555942011-09-05 Ulrich Drepper <drepper@gmail.com>
55595
d88ae418
UD
55596 * po/ja.po: Update from translation team.
55597
2f0ad8f3
UD
55598 [BZ #13144]
55599 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55600 kernel in 64-bit binaries.
55601
5f4318d1
DM
556022011-09-01 David S. Miller <davem@davemloft.net>
55603
55604 * elf/elf.h (HWCAP_SPARC_*): Move to..
55605 * sysdeps/sparc/sysdep.h: this new file and add new values.
55606 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55607 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55608 _DL_HWCAP_COUNT to 24.
55609 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55610 entries.
55611 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55612 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55613 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55615 instead of magic constants.
55616 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55617
3ba57516
DM
556182011-08-31 David S. Miller <davem@davemloft.net>
55619
55620 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55622 Reimplement to do errno handling inline.
55623 (SYSCALL_ERROR_HANDLER): New macro.
55624 (__SYSCALL_STRING): Do not do errno handling in asm.
55625 (__CLONE_SYSCALL_STRING): Delete.
55626 (__INTERNAL_SYSCALL_STRING): Delete.
55627 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55628 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55629 (PSEUDO): Reimplement to do errno handling inline.
55630 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55631 (SYSCALL_ERROR_HANDLER): New macro.
55632 (__SYSCALL_STRING): Do not do errno handling in asm.
55633 (__CLONE_SYSCALL_STRING): Delete.
55634 (__INTERNAL_SYSCALL_STRING): Delete.
55635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55636 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55637 i386.
55638 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55639 (inline_syscall*): Add 'err' argument.
55640 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55641 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55642 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55643 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55644
55645 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55646 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55647
2bc17433
AS
556482011-08-30 Andreas Schwab <schwab@redhat.com>
55649
55650 * elf/rtld.c (dl_main): Relocate objects in dependency order.
55651
fbeb5f4d
JO
556522011-08-29 Jiri Olsa <jolsa@redhat.com>
55653
55654 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55655 directive.
55656
ad69cc26
DM
556572011-08-24 David S. Miller <davem@davemloft.net>
55658
55659 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55660
39dd69df
AS
556612011-08-24 Andreas Schwab <schwab@redhat.com>
55662
55663 * elf/Makefile: Add rules to build and run unload8 test.
55664 * elf/unload8.c: New file.
55665 * elf/unload8mod1.c: New file.
55666 * elf/unload8mod1x.c: New file.
55667 * elf/unload8mod2.c: New file.
55668 * elf/unload8mod3.c: New file.
55669
55670 * elf/dl-close.c (_dl_close_worker): Reset private search list if
55671 it wasn't used.
55672
2c0b250a
DM
556732011-08-23 David S. Miller <davem@davemloft.net>
55674
55675 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55676 subtract stack bias.
55677 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55678 %sp not %fp in calculations.
55679 (_JMPBUF_UNWINDS_ADJ): Likewise.
55680
22044b48
DM
55681 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55682 (aio_suspend): Call it to force an exception region around the
55683 AIO_MISC_WAIT() invocation.
55684
2cae4995
AS
556852011-08-23 Andreas Schwab <schwab@redhat.com>
55686
55687 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55688 backslash.
55689
873a772e
AJ
556902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
55691
55692 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55693 protection macro.
55694 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55695 and <dl-machine.h>.
55696 (Elf64_FuncDesc): Remove.
55697
25ad0df1
DM
556982011-08-22 David S. Miller <davem@davemloft.net>
55699
55700 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55701 sigaltstack check, add missing cfi directives.
55702 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55703 missing cfi directives, and sigaltstack handling.
55704
e888bcbe
AS
557052011-08-16 Andreas Schwab <schwab@redhat.com>
55706
55707 [BZ #11724]
55708 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55709 object is seen twice.
55710 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55711
55712 * elf/Makefile (distribute): Add tst-initorder2.c.
55713 (tests): Add tst-initorder2.
55714 (modules-names): Add tst-initorder2a tst-initorder2b
55715 tst-initorder2c tst-initorder2d. Add rules to build them.
55716 ($(objpfx)tst-initorder2.out): New rule.
55717 * elf/tst-initorder2.c: New file.
55718 * elf/tst-initorder2.exp: New file.
55719
87162f46
AS
557202011-08-22 Andreas Schwab <schwab@redhat.com>
55721
70538b7f
AS
55722 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55723
f55ffe58
AS
55724 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55725 dependencies back to end of function.
55726
87162f46
AS
55727 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55728 $(elfobjdir)/ld.so.
55729
91b392a4
UD
557302011-08-21 Ulrich Drepper <drepper@gmail.com>
55731
55732 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55733 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55734 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55735 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55736 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55737 of __vdso_gettimeofday.
55738 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55739 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
55740 attribute_hidden.
55741 (_libc_vdso_platform_setup): Remove initialization of
55742 __vdso_gettimeofday and __vdso_time.
55743
5c43483f
UD
557442011-08-20 Ulrich Drepper <drepper@gmail.com>
55745
775a77e7
UD
55746 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55747 and fgetc_unlocked.
55748 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55749 getc_unlocked.
89f447ed 55750
49c74ba9
UD
55751 * elf/dl-open.c (add_to_global): Report additions to the global scope
55752 for LD_DEBUG=scopes.
55753 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 55754 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 55755
5c43483f
UD
55756 [BZ #13114]
55757 * stdio-common/Makefile (tests): Add bug24.
55758 * stdio-common/bug24.c: New file.
55759
a101b025
AJ
557602011-08-19 Andreas Jaeger <aj@suse.de>
55761
55762 [BZ #13114]
55763 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55764 non-existant file when using close-on-exec mode.
55765
c88f1766
UD
557662011-08-20 Ulrich Drepper <drepper@gmail.com>
55767
0276a718
UD
55768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55769 the very first instruction.
55770
c88f1766
UD
55771 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55772 the CFI state in the end.
55773 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55774 inclusion of dl-trampoline.h.
55775 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55776
51ccffa0
AS
557772011-08-19 Andreas Schwab <schwab@redhat.com>
55778
94d7165f
AS
55779 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55780 expectations for long double.
55781
51ccffa0
AS
55782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55783 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55784
fd708658 557852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
55786
55787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55788 artificual limit depends upon the system page size.
55789
44f0a71e
UD
557902011-08-17 Ulrich Drepper <drepper@gmail.com>
55791
55792 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55793 * resolv/Makefile: Define CFLAGS-libresolv.
55794
8de79a24
AS
557952011-08-17 Andreas Schwab <schwab@redhat.com>
55796
55797 * nss/makedb.c (compute_tables): Make variables used in nested
55798 function static.
55799
27724598
UD
558002011-08-17 Ulrich Drepper <drepper@gmail.com>
55801
c5305d88
UD
55802 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55803 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55804 if buffer was too small.
55805
27724598
UD
55806 * elf/pldd.c (main): Attach to all threads in the process.
55807 Rewrite /proc handling to use *at functions.
55808
076fe015
UD
558092011-08-16 Ulrich Drepper <drepper@gmail.com>
55810
174baab3
UD
55811 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55812 specifies first scope to show.
55813 (dl_open_worker): Update callers. Move printing scope of new
55814 object to before the relocation.
44f0a71e 55815 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
55816 * sysdeps/generic/ldsodefs.h: Update declaration.
55817
076fe015
UD
55818 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55819 string for the scope number.
55820
a60df2c3
UD
558212011-08-14 Ulrich Drepper <drepper@gmail.com>
55822
55823 * nscd/servicescache.c (cache_addserv): Make sure written is always
55824 initialized.
55825
5e4287d1
RM
558262011-08-14 Roland McGrath <roland@hack.frob.com>
55827
85ae0589
RM
55828 * sysdeps/i386/i486/bits/atomic.h
55829 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55830 statement expression, so as to suppress "set but not used" warning.
55831 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55832
69f63097
RM
55833 * string/strncat.c (STRNCAT): Use prototype definition.
55834
675456ef
RM
55835 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55836 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55837 -Iprograms here.
55838 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55839 (localedef-modules): Add localedef.
55840 (locale-modules): Add locale.
55841
5e4287d1
RM
55842 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55843 * elf/rtld.c (dl_main): Invert order of assignment in last change,
55844 to avoid a warning.
55845
9c96ff23
DM
558462011-08-14 David S. Miller <davem@davemloft.net>
55847
55848 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55849 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55850
f9ddf089
UD
558512011-08-13 Ulrich Drepper <drepper@gmail.com>
55852
44f0a71e 55853 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
55854 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55855 * elf/rtld.c (dl_main): Set l_name of vDSO.
55856 Call _dl_show_scope when DL_DEBUG_SCOPES.
55857 (process_dl_debug): Recognize scopes flag and also set it for all.
55858 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55859 Declare _dl_show_scope.
55860
1dc27704
UD
55861 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55862 (do_dlopen): Pass caller_dlopen to dl_open.
55863 (__libc_dlopen_mode): Initialize caller_dlopen.
55864
f9ddf089
UD
55865 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55866 of libc. Make tolower call locale-independent. Optimize a bit by
55867 using isdigit instead of isalnum.
55868 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55869
9ac533d3
UD
558702011-08-12 Ulrich Drepper <drepper@gmail.com>
55871
55872 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55873 was a dependency or dynamically loaded.
55874
89edf2e9
UD
558752011-08-11 Ulrich Drepper <drepper@gmail.com>
55876
8e999d29
UD
55877 * intl/l10nflist.c: Allow architecture-specific pop function.
55878 * sysdeps/x86_64/l10nflist.c: New file.
55879
89edf2e9
UD
55880 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55881 classification.
55882
14d96785
AS
558832011-08-10 Andreas Schwab <schwab@redhat.com>
55884
55885 * include/dirent.h: Add libc_hidden_proto for scandirat and
55886 scandirat64. Don't declare __scandirat64.
55887 * dirent/scandirat.c: Add libc_hidden_def.
55888 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55889 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55890
6761ac04
DM
558912011-08-10 David S. Miller <davem@davemloft.net>
55892
55893 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55894 enum.
55895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55898
c55fbd1e
UD
558992011-08-09 Ulrich Drepper <drepper@gmail.com>
55900
55901 * Versions.def [libc]: Add GLIBC_2.15.
55902 * dirent/Makefile (routines): Add scandirat and scandirat64.
55903 * dirent/Versions [libc]: Export scandirat and scandirat64 for
55904 GLIBC_2.15.
55905 * dirent/dirent.h: Declare scandirat and scandirat64.
55906 * dirent/scandirat.c: New file.
55907 * dirent/scandirat64.c: New file.
55908 * sysdeps/wordsize-64/scandirat.c: New file.
55909 * sysdeps/wordsize-64/scandirat64.c: New file.
55910 * dirent/opendir.c: Define opendirat.
55911 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
55912 using scandirat.
55913 * dirent/scandir64.c: Adjust for scandir.c change.
55914 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
55915 __scandirat64, and __scandir_cancel_handler.
55916 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
55917 additional parameter and use openat instead of open (outside of ld.so).
55918 Add new __opendir as wrapper around __opendirat.
55919 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55920 here without requiring old scandirat implementation.
55921
879165f2
UD
559222011-08-08 Ulrich Drepper <drepper@gmail.com>
55923
55924 * dirent/scandir.c (cancel_handler): Renamed to
55925 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
55926 defined. Adjust users.
55927 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55928 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55929
cb7e923b
UD
559302011-08-04 Ulrich Drepper <drepper@gmail.com>
55931
16292edd
UD
55932 * string/test-string.h (IMPL): Use __STRING to expand name and then
55933 stringify it.
55934
cb7e923b
UD
55935 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
55936 of cleanups.
55937
cff82933
LD
559382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55939
55940 * string/Makefile: Update.
55941 (strop-tests): Append strncat.
55942 * string/test-wcscmp.c: New file.
55943 New comprehensive test for wcscmp.
55944 * string/test-strcmp.c: Update.
55945 (WIDE): New define.
55946
9be9bfcc
AS
559472011-07-22 Andreas Schwab <schwab@redhat.com>
55948
55949 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55950 line.
55951
2e96f1c7
AS
559522011-07-26 Andreas Schwab <schwab@redhat.com>
55953
55954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55955 encoding to ACE if AI_IDN.
55956
85188888
JJ
559572011-08-01 Jakub Jelinek <jakub@redhat.com>
55958
55959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55960 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55961
5fa16e9b
LD
559622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55963
55964 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55965 Fix overflow bug in strncat.
55966 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55967
55968 * string/test-strncat.c: Update.
55969 Add new tests for checking overflow bugs.
55970
559712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55972
55973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55974 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55975 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55976 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55978 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55979 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55980 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55981 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55982
55983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55984 (USE_AS_STRCAT): Define.
55985 Add strcat and strncat support.
55986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55987
8c1a459f
AS
559882011-07-25 Andreas Schwab <schwab@redhat.com>
55989
55990 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55991 __n bigger than INT_MAX+1.
55992 (__strncmp_g): Likewise.
55993
bba33c28
UD
559942011-07-23 Ulrich Drepper <drepper@gmail.com>
55995
798be72d
UD
55996 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55997 * libio/stido.h: Likewise.
55998
8accd4dc
UD
55999 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56000 (AF_NFC): Define.
56001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56002 (AF_NFC): Define.
56003
cbff0d96
UD
56004 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56005 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56006 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56007 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56009
9191c04a
UD
56010 [BZ #13021]
56011 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56012 installed.
56013
bba33c28
UD
56014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56015 typo.
56016 (_dl_x86_64_save_sse): Likewise.
56017
90f139dd
UD
560182011-07-22 Ulrich Drepper <drepper@gmail.com>
56019
1aae088a
UD
56020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56021 OSXSAVE.
56022 (_dl_x86_64_save_sse): Likewise.
56023
8e2045f5
UD
56024 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56025
90f139dd
UD
56026 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56027
1d002f25
AS
560282011-07-21 Andreas Schwab <schwab@redhat.com>
56029
56030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56031 change.
56032 (_dl_x86_64_save_sse): Use correct AVX check.
56033
21137f89
UD
560342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56035
56036 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56037 bug in strncpy/strncat.
56038 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56039
a65c0b7a
UD
560402011-07-21 Ulrich Drepper <drepper@gmail.com>
56041
56042 * string/tester.c (test_strcat): Add tests for different alignments
56043 of source and destination.
56044 (test_strncat): Likewise.
56045
6986b98a
UD
560462011-07-20 Ulrich Drepper <drepper@gmail.com>
56047
90bb2039
UD
56048 [BZ #12852]
56049 * posix/glob.c (glob): Check passed in values before using them in
56050 expressions to avoid some overflows.
56051 (glob_in_dir): Likewise.
56052
5644ef54
UD
56053 [BZ #13007]
56054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56055 check for AVX enablement so that we don't crash with old kernels and
56056 new hardware.
56057 * elf/tst-audit4.c: Add same checks here.
56058 * elf/tst-audit6.c: Likewise.
56059
56060 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 56061
bfc9dc9b
AS
560622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56063
56064 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56065
702e64bb
UD
560662011-07-20 Ulrich Drepper <drepper@gmail.com>
56067
56068 * po/cs.po: Update from translation team.
56069 * po/bg.po: Likewise.
56070
295e904f
MP
560712011-07-12 Marek Polacek <mpolacek@redhat.com>
56072
56073 * misc/sys/cdefs.h: Add support for const attribute.
56074 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56075 to gnu_dev_{major,minor,makedev} functions.
56076
3ff94596
MP
560772011-07-20 Marek Polacek <mpolacek@redhat.com>
56078
56079 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56080
28b59fca
AS
560812011-07-20 Andreas Schwab <schwab@redhat.com>
56082
56083 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56084 strlen results.
56085
19df733e
AK
560862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56087
56088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56089 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56090 register in order to avoid conflicts with the soft frame pointer
56091 being held in r11 when necessary.
56092 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56093 (INTERNAL_VSYSCALL_NCS): Likewise.
56094
c8835729
MP
560952011-07-14 Marek Polacek <mpolacek@redhat.com>
56096
56097 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56098 * elf/dl-fini.c (_dl_fini): Adjust caller.
56099 * elf/dl-close.c (_dl_close_worker): Likewise.
56100 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56101
b902330c
MP
561022011-07-15 Marek Polacek <mpolacek@redhat.com>
56103
8991e135
MP
56104 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56105 "aux_cache->nlibs < 0".
56106
b902330c
MP
56107 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56108 in the reload-count case.
56109
99710781
LD
561102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56111
56112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56113 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56114 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56115 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56116 * sysdeps/x86_64/multiarch/strcat.S: New file.
56117 * sysdeps/x86_64/multiarch/strncat.S: New file.
56118 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56119 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56120 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56121 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56122 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56123 (USE_AS_STRCAT): Define.
56124 Add strcat and strncat support.
56125 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56126 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56127 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56128 * string/strncat.c: Update.
56129 (USE_AS_STRNCAT): Define.
56130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56131 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56132 and i7.
56133 * sysdeps/x86_64/multiarch/init-arch.h
56134 (bit_Prefer_PMINUB_for_stringop): New.
56135 (index_Prefer_PMINUB_for_stringop): Likewise.
56136 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56137 bit_Prefer_PMINUB_for_stringop.
56138
7dc6bd90
UD
561392011-07-19 Ulrich Drepper <drepper@gmail.com>
56140
56141 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56142 buffer64.
56143 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56144 of casting of buffer.
56145 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56146 buffer32 and buffer64.
56147 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56148 writes instead of casting of buffer.
56149 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56150 buffer32.
56151 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56152 casting of buffer.
56153
e0e72284
AS
561542011-07-19 Andreas Schwab <schwab@redhat.com>
56155
56156 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56157
feb1eb0b
UD
561582011-07-19 Ulrich Drepper <drepper@gmail.com>
56159
56160 * nscd/nscd.c (termination_handler): Don't do anything for a database
56161 if it has not yet been initialized.
56162
298711ff
UD
561632011-07-18 Ulrich Drepper <drepper@gmail.com>
56164
56165 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56166
561672011-07-15 Marek Polacek <mpolacek@redhat.com>
56168
56169 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56170
f9d68389
UD
561712011-07-18 Ulrich Drepper <drepper@gmail.com>
56172
56173 * po/nl.po: Update from translation team.
56174 * po/sv.po: Likewise.
56175
db290cf5
RM
561762011-07-16 Roland McGrath <roland@hack.frob.com>
56177
56178 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56179 now disallowed by GCC.
5c550700 56180
fd5e21c7
RM
56181 * configure.in (use-default-link): Default to yes if a test -shared
56182 link meets our qualifications.
56183 * configure: Regenerated.
56184
5c550700
RM
56185 * config.make.in (output-format): New variable.
56186 * configure.in: Check for ld --print-output-format support.
56187 * configure: Regenerated.
56188 * Makerules ($(common-objpfx)format.lds)
56189 [$(output-format) != unknown]: Just use $(output-format),
56190 instead of the linker-script munging.
56191
9fa2c032
RM
561922011-07-14 Roland McGrath <roland@hack.frob.com>
56193
a6928d51
RM
56194 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56195 of $(common-objpfx)shlib.lds.
56196 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56197
661607b3
RM
56198 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56199 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56200
9fa2c032
RM
56201 * configure.in (-z relro check): Adjust test code to add a large
56202 writable data section after it.
56203 * configure: Regenerated.
56204
defe9061
RM
562052011-07-11 Roland McGrath <roland@hack.frob.com>
56206
56207 * configure.in (-z relro check): Fix test code to make the variable
56208 truly const.
56209 * configure: Regenerated.
56210
319b9ad4
UD
562112011-07-11 Ulrich Drepper <drepper@gmail.com>
56212
56213 * nscd/nscd.h (struct traced_file): Define.
56214 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56215 elements. Add traced_files.
56216 (inotify_fd): Declare.
56217 (register_traced_file): Declare.
56218 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56219 (inotify_fd): Export.
56220 (resolv_conf_descr): Remove.
56221 (nscd_init): Move inotify descriptor creation to main.
56222 Don't register files for notification here.
56223 (register_traced_file): New function.
56224 (invalidate_cache): Don't use reset_res to determine whether to call
56225 res_init, go through the list of registered files.
56226 (main_loop_poll): The inotify descriptors are now stored in the
56227 structures for the traced files.
56228 (main_loop_epoll): Likewise
56229 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56230 to __nss_disable_nscd.
56231 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56232 for a database anymore. Check the records for all the registered
56233 files instead.
56234 * nss/Makefile (libnss_files-routines): Add files-init.
56235 (libnss_db-routines): Add db-init.
56236 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56237 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56238 * nss/nss_db/db-init.c: New file.
56239 * nss/nss_files/files-init.c: New file.
56240 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56241 __nss_lookup_function.
56242 (__nss_lookup_function): Call nss_load_library.
56243 (nss_load_all_libraries): New function.
56244 (__nss_disable_nscd): Take parameter with callback function for files
56245 to register. Set is_nscd. Load all the DSOs for the NSS modules
56246 used for the cached services.
56247 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56248 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56249 options for features to all the files in nscd.
56250
56251 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56252
23bee3e8
RM
562532011-07-10 Roland McGrath <roland@hack.frob.com>
56254
56255 * csu/elf-init.c (__libc_csu_init): Comment typo.
56256
46a5b7f0
UD
562572011-07-09 Ulrich Drepper <drepper@gmail.com>
56258
56259 * po/pl.po: Update from translation team.
56260 * po/ja.po: Likewise.
56261 * po/ru.po: Likewise.
56262 * po/ko.po: Likewise.
56263 * po/fr.po: Likewise.
56264
d30cf5bb
RM
562652011-07-09 Roland McGrath <roland@hack.frob.com>
56266
113ddea4
RM
56267 * configure.in (.ctors/.dtors header and trailer check):
56268 Use an empirical test on a built program.
56269 * configure: Regenerated.
56270
574920b4
RM
56271 * configure.in (-z relro check): Use an empirical test on a built DSO.
56272 Detect, but do not require, on ia64.
56273 * configure: Regenerated.
56274
d30cf5bb
RM
56275 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56276 Update tests that use readelf to use $READELF instead.
56277 * configure: Regenerated.
56278
8538fdb3
UD
562792011-07-08 Ulrich Drepper <drepper@gmail.com>
56280
56281 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56282 if the result is not used.
56283
04d08991
AJ
562842011-07-05 Andreas Jaeger <aj@suse.de>
56285
56286 [BZ#9696]
56287 * stdlib/tst-strtod.c: Add testcase.
56288
de283087
AD
562892011-07-07 Ulrich Drepper <drepper@gmail.com>
56290
4e5f31c8 56291 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 56292 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
56293 The latter has a higher limit. Take additional parameter to pass to
56294 the new function.
56295 (__pathconf): Pass file to __statfs_link_max.
56296 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56297 __statfs_link_max.
56298 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56299 __statfs_link_max.
56300
de283087
AD
56301 [BZ #12868]
56302 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56304 Handle Lustre.
56305 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56306 (__statfs_filesize_max): Likewise.
56307 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56308
c75fa153
AJ
563092011-07-05 Andreas Jaeger <aj@suse.de>
56310
56311 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56312
1a544854
UD
563132011-07-06 Marek Polacek <mpolacek@redhat.com>
56314
56315 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56316 `status' variable.
56317 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56318 Likewise.
56319
6f0eec67
UD
563202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56321
56322 * Makefile (strop-tests): Add strncat.
56323 * string/test-strncat.c: New file.
56324
aae30307
UD
563252011-06-30 Marek Polacek <mpolacek@redhat.com>
56326
56327 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56328
c0cfb5eb
UD
563292011-06-21 Andreas Jaeger <aj@suse.de>
56330
56331 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56332 Copy rule from iconvdata/Makefile.
56333
01636b21
UD
563342011-07-06 Ulrich Drepper <drepper@gmail.com>
56335
56336 [BZ #12922]
56337 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56338 but no long options are defined, just return 'W'.
56339
9895c8bc
UD
563402011-06-22 Marek Polacek <mpolacek@redhat.com>
56341
56342 [BZ #9696]
56343 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56344
5d4cf042
UD
563452011-07-06 Ulrich Drepper <drepper@gmail.com>
56346
56347 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56348 netgroups to read.
960e5535 56349 (innetgr): Likewise.
5d4cf042 56350
751eb97e
RM
563512011-07-05 Roland McGrath <roland@hack.frob.com>
56352
56353 * config.make.in (install_root): Default to $(DESTDIR).
56354
f15f1e45
UD
563552011-07-05 Ulrich Drepper <drepper@gmail.com>
56356
56357 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56358
4e34ac6a
RM
563592011-07-02 Roland McGrath <roland@hack.frob.com>
56360
5e9b6af4
RM
56361 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56362
84f9ea0f
RM
56363 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56364 containing directory rather than embedding absolute directory names.
56365
ea5ee9f7
RM
56366 * scripts/check-local-headers.sh: Rewritten using awk.
56367 Match by word, not by line. Print error messages for matches.
56368 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56369
1b74661a
RM
56370 * Makerules [shlib-lds-flags empty]:
56371 ($(common-objpfx)libc_pic.opts): New target.
56372 ($(common-objpfx)libc_pic.os.clean): New target.
56373 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56374
56375 * config.make.in (OBJCOPY): New variable.
56376 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56377 * configure: Regenerated.
56378
f781ef40
RM
56379 * config.make.in (use-default-link): New variable.
56380 * configure.in (use_default_link): Grok --with-default-link to set it.
56381 * configure: Regenerated.
56382 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56383 (shlib-lds, shlib-lds-flags): Define to empty.
56384
2d4fa81e
RM
56385 * Makerules (shlib-lds): New variable.
56386 (shlib-lds-flags): New variable.
56387 (build-shlib, build-moduile, build-module-asneeded): Use it.
56388 ($(common-objpfx)libc.so): Use $(shlib-lds).
56389 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56390 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56391
31fffa6b
RM
56392 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56393 DT_FLAGS/DT_FLAGS_1 with zero flags.
56394
4e34ac6a
RM
56395 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56396 linker script munging.
56397
fcfc776b
UD
563982011-07-02 Ulrich Drepper <drepper@gmail.com>
56399
56400 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56401 as 128-bit value.
56402 * crypt/sha512.c (sha512_process_block): Perform total addition using
56403 128-bit if possible.
56404 (__sha512_finish_ctx): Likewise.
56405 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56406 as 64-bit value.
56407 * crypt/sha256.c (SWAP64): Define.
56408 (sha256_process_block): Perform total addition using 64-bit if
56409 possible.
56410 (__sha256_finish_ctx): Likewise.
56411
99231d9a
UD
564122011-07-01 Ulrich Drepper <drepper@gmail.com>
56413
56414 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56415 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56416 * nscd/hstcache.c (cache_addhst): Likewise.
56417 * nscd/grpcache.c (cache_addgr): Likewise.
56418 * nscd/aicache.c (addhstaiX): Likewise
56419 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56420
445b4a53
TK
564212011-07-01 Thorsten Kukuk <kukuk@suse.de>
56422
56423 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56424 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56425 * nscd/hstcache.c (cache_addhst): Likewise.
56426 * nscd/grpcache.c (cache_addgr): Likewise.
56427 * nscd/aicache.c (addhstaiX): Likewise
56428
6d4d8e8e
AS
564292011-07-01 Andreas Schwab <schwab@redhat.com>
56430
56431 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56432 domain only when needed.
56433
89f654c5
AS
564342011-06-30 Andreas Schwab <schwab@redhat.com>
56435
56436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56437 is always restored.
56438
cf3b23ff
UD
564392011-06-29 Ulrich Drepper <drepper@gmail.com>
56440
56441 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56442 are re-adding the entry.
56443 * nscd/servicescache.c (cache_addserv): Likewise.
56444
751626f9
AJ
564452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56446
56447 * sysdeps/generic/dl-irel.h: fix protection against multiple
56448 inclusions.
56449 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56450
9113ea1f
UD
564512011-06-28 Ulrich Drepper <drepper@gmail.com>
56452
5c0b8d90
UD
56453 [BZ #12935]
56454 * malloc/memusage.sh: Fix quoting in message.
56455 * debug/xtrace.sh: Likewise.
56456
9113ea1f
UD
56457 * configure.in: Remove support for --experimental-malloc option, make
56458 it the default.
56459 * config.make.in: Likewise.
56460 * malloc/Makefile: Likewise.
56461
a4172181
AS
564622011-06-27 Andreas Schwab <schwab@redhat.com>
56463
56464 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56465 two-byte characters.
56466
78a7eee7
RM
564672011-06-27 Roland McGrath <roland@hack.frob.com>
56468
62bede13
RM
56469 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56470 AC_CACHE_CHECK invocation.
56471 * configure: Regenerated.
56472
78a7eee7
RM
56473 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56474
5ce33a62
UD
564752011-06-27 Ulrich Drepper <drepper@gmail.com>
56476
034807a9
UD
56477 [BZ #12350]
56478 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56479 bit from old_res_options.
56480
4902da17
UD
56481 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56482
5ce33a62
UD
56483 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56484 value type for setfct.
56485
c2344f56
L
564862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56487
56488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56489 __gettimeofday instead of gettimeofday.
56490
68468076
UD
564912011-06-26 Ulrich Drepper <drepper@gmail.com>
56492
56493 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56494
acb0d739
L
564952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56496
56497 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56498
56499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56500 info.
56501
8912479f
L
565022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56503
56504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56505 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56506 strcpy-sse2-unaligned strncpy-sse2-unaligned
56507 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56508 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56509 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56510 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56511 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56512 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56514 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56515 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56516 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56517 (STRCPY): Support SSE2 and SSSE3 versions.
56518
d5495a11
UD
565192011-06-24 Ulrich Drepper <drepper@gmail.com>
56520
56521 [BZ #12874]
56522 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56523 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56524 kernels which artificially limit size of requests.
56525
0b1cbaae
L
565262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56527
56528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56529 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56530 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56531 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56532 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56533 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56534 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56535 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56536 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56537 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56538 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56539 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56540 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56541 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56542 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56544 Enable unaligned load optimization for Intel Core i3, i5 and i7
56545 processors.
56546 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56547 Define.
56548 (index_Fast_Unaligned_Load): Define.
56549 (HAS_FAST_UNALIGNED_LOAD): Define.
56550
07f494a0
MP
565512011-06-23 Marek Polacek <mpolacek@redhat.com>
56552
56553 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56554
fa3fc0fe
UD
565552011-06-22 Ulrich Drepper <drepper@gmail.com>
56556
56557 [BZ #12907]
56558 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56559 until it is clear that the information is realy needed.
56560 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56561
e12df166
AS
565622011-06-22 Andreas Schwab <schwab@redhat.com>
56563
56564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56565
852eb34d
UD
565662011-06-22 Ulrich Drepper <drepper@gmail.com>
56567
84e2a551
UD
56568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56569 /sys/devices/system/cpu/online if it is usable.
56570
852eb34d
UD
56571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56572 reading the information from the /proc filesystem to once a second.
56573
6e502e19
UD
565742011-06-21 Andreas Jaeger <aj@suse.de>
56575
56576 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56577 NULL after inclusion of kernel headers.
56578
75d39ff2
UD
565792011-06-21 Ulrich Drepper <drepper@gmail.com>
56580
51f9aa6a
UD
56581 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56582 calls to internal_setent.
56583
c0244a9d
UD
56584 [BZ #12885]
56585 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56586 addresses using gethostbyname4_r ignore IPv4 addresses.
56587
c5e3c2ae
UD
56588 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56589 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
56590
75d39ff2
UD
56591 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56592
42675c6f
DM
565932011-06-20 David S. Miller <davem@davemloft.net>
56594
56595 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56596 inclusions.
56597 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56598
56599 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56600 (elf_irel): Use it.
56601 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56602 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56603 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56604 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56605 * sysdeps/x86_64/dl-irel.h: Likewise.
56606
56607 * elf/dl-runtime.c: Use elf_ifunc_invoke.
56608 * elf/dl-sym.c: Likewise.
56609
57912a71
UD
566102011-06-15 Ulrich Drepper <drepper@gmail.com>
56611
56612 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
56613 need to dereference resplen2.
56614
ee22793d
AS
566152011-06-14 Andreas Schwab <schwab@redhat.com>
56616
56617 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56618
a9e836b0
UD
566192011-06-15 Ulrich Drepper <drepper@gmail.com>
56620
77fb9117
UD
56621 * Makeconfig: Define vardbdir and inst_vardbdir.
56622 * nss/Makefile: Add rules to install db-Makefile.
56623
40c1b22c
UD
56624 * nss/nss_db/db-XXX.c: Cleanup.
56625
9f2da732
UD
56626 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56627 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56628 GLIBC_PRIVATE.
56629 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56630 * nss/makedb.c: Implement -g option to specify that value strings
56631 are generated and should not be added to table iterated over for
56632 get*ent calls.
56633 * nss/nss_db/db-initgroups.c: New file.
56634
82e9a1f7
UD
56635 * nss/getent.c: Add support for initgroups lookups through getgrouplist
56636 interface.
56637
c41af17e
UD
56638 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56639 (internal_getgrouplist): Adjust to name change.
56640 Update use_initgroups_entry if this is not the first call.
56641 * nss/databases.def: Add initgroups entry.
56642
a9e836b0
UD
56643 * nss/makedb.c (compute_tables): Check result of multiple hash table
56644 sizes to minimize maximum chain length.
56645
2666d441
UD
566462011-06-14 Ulrich Drepper <drepper@gmail.com>
56647
56648 * Versions.def: Add entry for libnss_db.
56649 * shlib-versions: Likewise.
56650 * nss/Makefile: Add rules to build libnss_db.
56651 * nss/Versions: Add libnss_db information. Organize libnss_files
56652 entries better.
56653 * nss/db-Makefile: Add gshadow support. Change rules for the new
56654 makedb progra. Some minor improvements to generate smaller files.
56655 * nss/nss_db/nss_db.h: Move NSS database header data structures to
56656 here from...
56657 * nss/makedb.c: ...here.
56658 Improve database format to be smaller and require less memory at
56659 runtime.
56660 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
56661 db anymore.
56662 * nss/nss_db/db-netgrp.c: Likewise.
56663 * nss/nss_db/db-open.c: Likewise.
56664 * nss/nss_files/flies-XXX.x: Adjust comments.
56665 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56666 * nss/nss_files/files-grp.c: Likewise.
56667 * nss/nss_files/files-hosts.c: Likewise.
56668 * nss/nss_files/files-network.c: Likewise.
56669 * nss/nss_files/files-proto.c: Likewise.
56670 * nss/nss_files/files-pwd.c: Likewise.
56671 * nss/nss_files/files-rpc.c: Likewise.
56672 * nss/nss_files/files-service.c: Likewise.
56673 * nss/nss_files/files-sgrp.c: Likewise.
56674 * nss/nss_files/files-spwd.c: Likewise.
56675 * nss/nss_db/db-alias.c: Removed.
56676 * nss/nss_db/dummy-db.h: Removed.
56677
9ee76b5a
UD
566782011-06-02 Ulrich Drepper <drepper@gmail.com>
56679
56680 * nss/makedb.c: Rewritten to not use database library.
56681 * nss/Makefile: Update to build new makedb program.
56682
c71ca1f8
AJ
566832011-06-14 Andreas Jaeger <aj@suse.de>
56684
56685 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56686 memset declaration.
56687
3154bfb8
UD
566882011-06-10 Andreas Schwab <schwab@redhat.com>
56689
56690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56691 tmpbuf.
56692
b350afab
RM
566932011-06-10 Roland McGrath <roland@hack.frob.com>
56694
decd4e50
RM
56695 * Makerules (shlib.lds): Fail if the linker script comes out empty.
56696 * elf/Makefile ($(objpfx)ld.so): Likewise.
56697
5615eaf2
RM
56698 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56699 Don't list ld.so twice in dependencies.
56700
56701 * posix/bug-regex31.c: Include <stdlib.h>.
56702
56703 * nscd/hstcache.c (cache_addhst): Remove unused variable.
56704
56705 * nis/nss_compat/compat-spwd.c
56706 (getspent_next_nss_netgr): Remove unused variable.
56707 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56708
56709 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56710 nonmembers" output to use the right array.
56711
56712 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56713
56714 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56715
56716 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56717 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56718 * catgets/gencat.c (read_input_file): Likewise.
56719 * locale/programs/locarchive.c (enlarge_archive): Likewise.
56720
56721 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56722 variable definition inside #if's controlling its use.
56723
56724 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56725
56726 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56727
56728 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56729
56730 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56731 unreachable code.
56732
56733 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56734
b68e08db
RM
56735 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56736 * configure: Regenerated.
56737
b350afab
RM
56738 * Makerules: Revert last change.
56739 * elf/Makefile: Likewise.
56740
28368601
RM
567412011-06-09 Roland McGrath <roland@hack.frob.com>
56742
56743 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56744 * elf/Makefile ($(objpfx)librtld.os): Likewise.
56745 (reloc-link): Likewise.
56746
11988f8f
UD
567472011-06-09 Ulrich Drepper <drepper@gmail.com>
56748
56749 * elf/Makefile: Add rules to build pldd.
56750 * elf/pldd.c: New file.
56751 * elf/pldd-xx.c: New file.
56752
e80fab37
UD
567532011-06-07 Ulrich Drepper <drepper@gmail.com>
56754
56755 * version.h: Update for 2.15 development version.
56756
9b849836
DM
567572011-06-07 David S. Miller <davem@davemloft.net>
56758
56759 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56760 ifuncs.
56761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56762 elf_machine_lazy_rel): Likewise.
56763 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56764 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56765 elf_machine_lazy_rel): Likewise.
56766 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56767 dl_hwcap via passed in argument.
56768 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56769 Likewise.
56770
5a31b283
AK
567712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56772
56773 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
56774
069e52f8
RM
567752011-06-06 Roland McGrath <roland@hack.frob.com>
56776
56777 [BZ #12849]
56778 * manual/fdl-1.1.texi: New file, verbatim from:
56779 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56780 * manual/lgpl-2.1.texi: New file, verbatim from:
56781 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56782 * manual/Makefile (licenses): New variable, list those new file names.
56783 (texis): Use it.
56784 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56785
56786 * manual/fdl.texi: File removed.
56787 * manual/lesser.texi: File removed.
56788 * manual/libc.texinfo (Copying, Documentation License):
56789 Use new @include file names, put @appendix directive before @include.
56790
f16846a5
JJ
567912011-06-04 Jakub Jelinek <jakub@redhat.com>
56792
56793 [BZ #12841]
56794 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56795 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56796 (mq_open): Add __NTH.
56797
3d29045b
L
567982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
56799
56800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56801 Assume Intel Core i3/i5/i7 processor if AVX is available.
56802
8c297311
UD
568032011-05-31 Ulrich Drepper <drepper@gmail.com>
56804
56805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56806 typo.
56807
c8fc0c91
UD
568082011-05-31 Andreas Schwab <schwab@redhat.com>
56809
56810 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56811 memory. Use alloca_account. Fix memory leak when retrying.
56812
5b27a807
UD
568132011-05-31 Ulrich Drepper <drepper@gmail.com>
56814
356f8bc6
UD
56815 * version.h (RELEASE): Bump for 2.14 release.
56816 * include/features.h (__GLIBC_MINOR__): Bump to 14.
56817
5b27a807
UD
56818 * config.make.in (RANLIB): Remove entry.
56819
01f16ab0
UD
568202011-05-30 Ulrich Drepper <drepper@gmail.com>
56821
41fce8bd
UD
56822 * po/Makefile (po-sed-cmd): Add ksh to extensions.
56823 (libc.pot): Work around missing support for .ksh extension in xgettext.
56824
4769ae77
UD
56825 [BZ #12684]
56826 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56827 if both request failed.
56828 (send_dg): In case of server errors clear resplen or *resplen2.
56829
6b1e7d19
UD
56830 [BZ #12454]
56831 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56832 when there are multiple maps.
56833 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56834 (_dl_fini): Remove test here.
56835
01f16ab0
UD
56836 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56837
b1ebd700
UD
568382011-05-29 Ulrich Drepper <drepper@gmail.com>
56839
7ae22829
UD
56840 [BZ #12350]
56841 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56842 bit from old_res_options.
56843 (gaih_inet): Likewise.
56844
553149f6 56845 [BZ #11099]
18a84741 56846 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
56847 as signed.
56848
652ffab1
UD
56849 * resolv/res_init.c (res_setoptions): Make the code more compact.
56850
16985fd0
UD
56851 [BZ #11558]
56852 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56853 set RES_USEVC.
56854
0464f746
UD
56855 [BZ #11634]
56856 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56857
7d17596c
UD
56858 * malloc/malloc.h: Mark malloc hook variables as deprecated.
56859
cf6bbbd7
UD
56860 [BZ #11781]
56861 * malloc/malloc.h: Declare malloc hook variables as volatile.
56862
13f1ab36
UD
56863 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56864 in last patch.
56865
b1ebd700
UD
56866 [BZ #11799]
56867 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 56868 raise in the comment.
80e2212d
UD
56869 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56870 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56871 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 56872
ce67228d
UD
568732011-05-28 Ulrich Drepper <drepper@gmail.com>
56874
8887a920
UD
56875 [BZ #12811]
56876 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56877 grow the buffers more if it already has to be sufficient.
56878 (build_wcs_upper_buffer): Likewise.
56879 * posix/regexec.c (check_matching): Likewise.
56880 (clean_state_log_if_needed): Likewise.
56881 (extend_buffers): Don't enlarge buffers beyond size of the input
56882 buffer.
56883 Patches mostly by Emil Wojak <emil@wojak.eu>.
56884 * posix/bug-regex32.c: New file.
56885 * posix/Makefile (tests): Add bug-regex32.
56886
4f031072
UD
56887 * locale/findlocale.c (_nl_find_locale): Return right away if
56888 _nl_explode_name failed.
56889 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56890
d0478f0c
UD
56891 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56892
de81b246
UD
56893 * debug/xtrace.sh: Unify messages.
56894 * malloc/memusage.sh: Likewise.
56895
c738465a
UD
56896 [BZ #12813]
56897 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56898 time symbol from vDSO. Substitute with vsyscall if not available.
56899 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56900 __vdso_time.
56901
f1f929d7
UD
56902 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56903 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56904 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56905 Add sendmmsg and internal_sendmmsg.
56906 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56907 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56908 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56909
ce67228d
UD
56910 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56911 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56913
e57420c6
UD
569142011-05-27 Ulrich Drepper <drepper@gmail.com>
56915
a8509ca5
UD
56916 [BZ #12813]
56917 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56918 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
56919 available.
56920 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56921 __vdso_getcpu.
56922
e57420c6
UD
56923 [BZ #12814]
56924 * iconvdata/Makefile (tests): Add bug-iconv9.
56925 * iconvdata/bug-iconv9.c: New file.
56926
4d07db15
AS
569272011-05-27 Andreas Schwab <schwab@redhat.com>
56928
56929 [BZ #12814]
56930 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56931
ea486f69
JJ
569322011-05-25 Jakub Jelinek <jakub@redhat.com>
56933
56934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56935 (struct user_regs_struct): Change intcs field back to cs.
56936
6f038433
UD
569372011-05-25 Ulrich Drepper <drepper@gmail.com>
56938
56939 * po/ja.po: Update from translation team.
56940
67f86a25
UD
569412011-05-23 Ulrich Drepper <drepper@gmail.com>
56942
56943 [BZ #12795]
56944 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56945 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56946
def7fbd6
AS
569472011-05-20 Andreas Schwab <schwab@redhat.com>
56948
56949 * stdlib/longlong.h: Update from GCC.
56950
f50ef8f1
AS
569512011-05-23 Andreas Schwab <schwab@redhat.com>
56952
56953 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56954 parameter name.
56955 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56956 Add parameter name.
56957 (__sysconf): Pass it down.
56958
de7ce8f1
UD
569592011-05-22 Ulrich Drepper <drepper@gmail.com>
56960
f2962a71
UD
56961 [BZ #12671]
56962 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56963 some situations.
56964 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56965 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56966 add in in __libc_use_alloca calls. Adjust callers.
56967 (glob): Use malloc in some situations.
56968
de7ce8f1
UD
56969 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56970 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56971 pltexit.
56972
aec84f53
UD
569732011-05-21 Ulrich Drepper <drepper@gmail.com>
56974
05bb4a68
UD
56975 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56976 and CLOCK_BOOTTIME_ALARM.
56977
7ea72f99
UD
56978 [BZ #12782]
56979 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56980 is returned.
56981
7e4afad5
UD
56982 * string/_strerror.c (__strerror_r): Print negative errors as signed
56983 numbers.
56984
8e211fec
UD
56985 [BZ #12777]
56986 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56987 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56988 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56989
f7d82dc9
UD
56990 * configure.in: Fix typo in redirection and correct removal of test
56991 files in two cases.
56992
cc9e536d
UD
56993 [BZ #12788]
56994 * locale/setlocale.c (new_composite_name): Fix test to check for
56995 identical name of all categories.
56996
aec84f53
UD
56997 [BZ #12792]
56998 * libio/filedoalloc.c (local_isatty): New function.
56999 (_IO_file_doallocate): Use local_isatty.
57000 * stdio-common/perror.c (perror): In case a new stream is used
57001 forward the stream error.
57002 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57003 error flag.
57004
78e64fdc
RT
570052011-05-20 Ulrich Drepper <drepper@gmail.com>
57006
34a9094f
UD
57007 [BZ #11869]
57008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57009 alloca.
57010 * include/alloca.h (extend_alloca_account): Define.
57011
78e64fdc
RT
57012 [BZ #11857]
57013 * posix/regex.h: Fix comments with documentation of user-accessible
57014 fields after compilation and describe correct free'ing of pattern
57015 after re_compile_pattern.
57016 Patch by Reuben Thomas <rrt@sc3d.org>.
57017
457bddfc
RA
570182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57019
57020 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57021 and -mno-altivec to prevent the compiler from using Altivec and/or
57022 VSX instructions when the corresponding registers are not available.
57023
a4527b51
AS
570242011-05-19 Andreas Schwab <schwab@redhat.com>
57025
57026 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57027
ed690b2f
UD
570282011-05-19 Ulrich Drepper <drepper@gmail.com>
57029
57030 * libio/freopen.c (freopen): Use __dup2, not dup2.
57031 * libio/freopen64.c (freopen64): Likewise.
57032
8db73634
L
570332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57034
57035 [BZ #12775]
57036 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57037 * math/Makefile (tests): Add test-powl.
57038 (CFLAGS-test-powl.c): Define.
57039 * math/test-powl.c: New file.
57040
0a197a9d
L
570412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57042
57043 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57044
ee30c380
UD
570452011-05-17 Ulrich Drepper <drepper@gmail.com>
57046
57047 [BZ #11837]
57048 * iconvdata/gb18030.c: Update to GB18020-2005.
57049
6ce75379
UD
570502011-05-16 Ulrich Drepper <drepper@gmail.com>
57051
a4b89fd8
AR
57052 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57053 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57054 Patch by Aharon Robbins <arnold@skeeve.com>.
57055
ea389b12
UD
57056 [BZ #11892]
57057 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57058 on the stack.
57059
68a3f91f
UD
57060 [BZ #11895]
57061 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57062 through underflows.
57063
15cc7dd1
UD
57064 [BZ #12766]
57065 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57066 point to strings before performing equality test for error_one_per_line
57067 mode.
57068
f3799213
UD
57069 [BZ #11697]
57070 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57071
d79a9c94
UD
57072 [BZ #11820]
57073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57074 (struct user_fpregs_struct): Avoid __uint*_t types.
57075
56e5eb46
UD
57076 [BZ #6420]
57077 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57078 symbol info. Use it instead of calling _dl_addr locally.
57079 (lock_and_info): New function.
57080 (tr_freehook): Call lock_and_info and pass symbol info as additional
57081 parameter to tr_where.
57082 (tr_mallochook): Likewise.
57083 (tr_reallochook): Likewise.
57084 (tr_memalignhook): Likewise.
57085
6ce75379
UD
57086 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57087 used and couldn't be at all thread-safe.
57088
f8a3b5bf
UD
570892011-05-15 Ulrich Drepper <drepper@gmail.com>
57090
94b7cc37
UD
57091 * libio/freopen.c (freopen): Don't close old file descriptor
57092 before the new one is opened. Instead dup the new file descriptor
57093 to the old one after the new stream is created.
57094 * libio/freopen64.c (freopen64): Likewise.
57095 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57096 * libio/fileops.c (_IO_new_file_close_it): Handle new
57097 _IO_FLAGS2_NOCLOSE flag.
57098 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57099 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57100 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57101 _IO_FLAGS2_NOCLOSE flag.
57102 * include/unistd.h: Add hidden_proto for dup3.
57103 Define __have_dup3.
57104 * io/dup3.c: Define hidden symbol.
57105 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57106
bd25564e
UD
57107 [BZ #7101]
57108 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57109 when an incomplete long option is used.
57110 * posix/tst-getopt_long1.c: New file.
57111 * posix/Makefile (tests): Add tst-getopt_long1.
57112
c84cfef4
UD
57113 [BZ #10138]
57114 * scripts/config.guess: Update from autoconf-2.68.
57115 * scripts/config.sub: Likewise.
57116
3b85df27
UD
57117 [BZ #10157]
57118 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57119 tests into ...
57120 (has_cpuclock): ...this. New function.
57121 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57122 macro here based on has_cpuclock code.
57123
15a856b1
UD
57124 [BZ #10149]
57125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57126 First byte (not low byte) is now always NUL.
57127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57128
05f399e6
UD
57129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57130 Use non-cancelable interfaces.
57131
10a52685 57132 [BZ #9809]
94ecc67d
UD
57133 * locale/iso-639.def: Add entry for Sorani.
57134
f8a3b5bf
UD
57135 [BZ #11901]
57136 * include/stdlib.h: Move include protection to the right place.
57137 Define abort_msg_s. Declare __abort_msg with it.
57138 * stdlib/abort.c (__abort_msg): Adjust type.
57139 * assert/assert.c (__assert_fail_base): New function. Majority
57140 of code from __assert_fail. Allocate memory for __abort_msg with
57141 mmap.
57142 (__assert_fail): Now call __assert_fail_base.
57143 * assert/assert-perr.c: Remove bulk of implementation. Use
57144 __assert_fail_base.
57145 * include/assert.hL Declare __assert_fail_base.
57146 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57147 mmap.
57148 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57149
1af4e298
UD
571502011-05-14 Ulrich Drepper <drepper@gmail.com>
57151
f8a3b5bf 57152 [BZ #11952]
d26dfc60
MG
57153 [BZ #12453]
57154 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57155 until all modules are registered in the DTV.
57156 * elf/Makefile: Add rules to build and run tst-tls19.
57157 * elf/tst-tls19.c: New file.
57158 * elf/tst-tls19mod1.c: New file.
57159 * elf/tst-tls19mod2.c: New file.
57160 * elf/tst-tls19mod3.c: New file.
57161 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57162
2fc54d6f
UD
57163 [BZ #12083]
57164 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57165 correctly.
57166
98d76b46
UD
57167 [BZ #12601]
57168 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57169 two-byte sequence errors.
57170 * iconvdata/Makefile (tests): Add bug-iconv8.
57171 * iconvdata/bug-iconv8.c: New file.
57172
da3c19ef
UD
57173 [BZ #12626]
57174 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57175 buf2 definition.
57176
ca408c15
UD
57177 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57178
d6f67f7d
UD
57179 [BZ #12432]
57180 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57181 (dummy_getcfa): New function.
57182 (init): Get _Unwind_GetCFA address, use dummy if not found.
57183 (backtrace_helper): In recursion check, also check whether CFA changes.
57184 (__backtrace): Completely initialize arg.
57185
1af4e298 57186 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
57187 storing incomplete byte sequence in state object. Avoid testing for
57188 guaranteed too small input if we know there is enough data available.
1af4e298 57189
da62f81b
AS
571902011-05-11 Andreas Schwab <schwab@redhat.com>
57191
57192 * Makeconfig (+link-pie): Indent.
57193 * Rules (binaries-pie): Define if $(have-fpie) and
57194 $(build-shared).
57195 (binaries-shared): Also filter out $(binaries-pie).
57196 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57197 * nscd/Makefile (others-pie): Add nscd.
57198 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57199 ($(objpfx)nscd): Remove command override.
57200 * login/Makefile (others-pie): Add pt_chown.
57201 ($(objpfx)pt_chown): Remove command override.
57202 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57203 remove command overrides.
57204
fcabc0f8
UD
572052011-05-13 Ulrich Drepper <drepper@gmail.com>
57206
20030ae6
UD
57207 * libio/tst_putwc.c: Fix error messages.
57208
fcabc0f8
UD
57209 [BZ #12724]
57210 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57211 currently writing and seek to current position when not.
57212 * libio/Makefile (tests): Add bug-fclose1.
57213 * libio/bug-fclose1.c: New file.
57214
320a5dc0
PB
572152011-05-12 Ulrich Drepper <drepper@gmail.com>
57216
57217 [BZ #12511]
57218 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57219 don't set DF_1_NODELETE here.
57220 (do_lookup_x): When entering new entry test for copy relocation
57221 and if necessary set DF_1_NODELETE flag.
57222 * elf/tst-unique4.cc: New file.
57223 * elf/tst-unique4.h: New file.
57224 * elf/tst-unique4lib.cc: New file.
57225 * elf/Makefile: Add rules to build and run tst-unique4.
57226 Patch by Piotr Bury <pbury@goahead.com>.
57227
22836f52
UD
572282011-05-11 Ulrich Drepper <drepper@gmail.com>
57229
f574184a
UD
57230 [BZ #12052]
57231 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57232
e1fb097f
UD
57233 [BZ #12625]
57234 * misc/mntent_r.c (addmntent): Flush the stream after the output
57235
22836f52
UD
57236 [BZ #12393]
57237 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57238 (is_trusted_path_normalize): Skip initial colon. Append slash
57239 to empty buffer. Duplicate is_trusted_path code but allow
57240 constructed patch to be prefix.
57241 (is_dst): Allow $ORIGIN followed by /.
57242 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57243 Correct testing of result of is_trusted_path_normalize
57244 (decompose_rpath): Fix warning.
57245
7b3b0b2a
UD
572462011-05-10 Ulrich Drepper <drepper@gmail.com>
57247
57248 [BZ #11257]
57249 * grp/initgroups.c (internal_getgrouplist): When we found the service
57250 list through the initgroups entry in nsswitch.conf do not always
57251 continue on a successful lookup. Don't always use the
eac80ce2 57252 __nss_group_database value if it is set.
7b3b0b2a
UD
57253 * nss/nsswitch.conf (initgroups): Change action for successful db
57254 lookup to continue for compatibility.
57255
2a81eaa5
UD
572562011-05-09 Ulrich Drepper <drepper@gmail.com>
57257
be97a69e
UD
57258 [BZ #11532]
57259 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57260 and CP774 modules.
57261 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57262 and CP774 modules.
57263 * iconvdata/tst-tables.sh: Likewise.
57264 * iconvdata/cp770.c: New file.
57265 * iconvdata/cp771.c: New file.
57266 * iconvdata/cp772.c: New file.
57267 * iconvdata/cp773.c: New file.
57268 * iconvdata/cp774.c: New file.
57269 * iconvdata/testdata/CP770: New file.
57270 * iconvdata/testdata/CP770..UTF8: New file.
57271 * iconvdata/testdata/CP771: New file.
57272 * iconvdata/testdata/CP771..UTF8: New file.
57273 * iconvdata/testdata/CP772: New file.
57274 * iconvdata/testdata/CP772..UTF8: New file.
57275 * iconvdata/testdata/CP773: New file.
57276 * iconvdata/testdata/CP773..UTF8: New file.
57277 * iconvdata/testdata/CP774: New file.
57278 * iconvdata/testdata/CP774..UTF8: New file.
57279
57280 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57281 END CHARMAP line.
57282 * iconvdata/gen-8bit-gap.sh: Likewise.
57283 * iconvdata/gen-8bit.sh: Likewise.
57284
c1e9e399
UD
57285 * locale/iso-639.def: Add ary entry.
57286
24c55fb3 57287 [BZ #11258]
96b4b1b0
UD
57288 * locale/C-translit.h.in: Add U20A1 transliteration.
57289
bdc2f971
KB
57290 [BZ #12178]
57291 * locale/iso-639.def: Add wae entry.
57292 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57293
2952b117
UD
57294 [BZ #12545]
57295 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57296 for n.
57297
2a81eaa5
UD
57298 [BZ #12711]
57299 * locale/C-translit.h.in: Add entry for U20B9.
57300 Patch by pravin.d.s@gmail.com.
57301
28377d1b
UD
573022011-05-08 Ulrich Drepper <drepper@gmail.com>
57303
7fb90fb8
UD
57304 [BZ #12713]
57305 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57306 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
57307 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57308 in rtld. Use *stat64.
7fb90fb8 57309 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 57310 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 57311 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
57312 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57313 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57314 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57315 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57316 __fstatat64 macros.
7fb90fb8
UD
57317 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57318 * dirent/rewinddir.c: Add libc_hidden_def.
57319 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 57320 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 57321
28377d1b
UD
57322 * include/dirent.h (__alloc_dir): Add flags parameter.
57323 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57324 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57325 __alloc_dir.
57326 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57327 from fdopendir if O_CLOEXEC is already set.
57328
66bdbaa4
AM
573292011-03-15 Alan Modra <amodra@gmail.com>
57330
57331 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57332 l_tls_firstbyte_offset non-zero. Save padding offset in
57333 l_tls_firstbyte_offset for later use.
57334 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57335 freeing static tls block.
57336
95721191
JN
573372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57338
57339 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57340 where #ifdef was intended. The intent is to prevent ARG_MAX from
57341 being defined by the kernel headers.
57342
f87dfb1f
UD
573432011-05-07 Ulrich Drepper <drepper@gmail.com>
57344
57345 [BZ #12734]
57346 * resolv/resolv.h: Define RES_NOTLDQUERY.
57347 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57348 no-tld-query and set RES_NOTLDQUERY.
57349 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57350 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57351 modern BIND to search name as TLD unless forbidden.
57352
47c3cd7a
UD
573532011-05-07 Petr Baudis <pasky@suse.cz>
57354 Ulrich Drepper <drepper@gmail.com>
57355
57356 [BZ #12393]
57357 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57358 (is_trusted_path): ...to here.
c1e9ea35 57359 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 57360 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 57361 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 57362
8a35c912
PP
573632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57364
57365 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57366 __BEGIN/__END_DECLS.
57367
acd41f47
UD
573682011-05-06 Ulrich Drepper <drepper@gmail.com>
57369
57370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57371 NSS_STATUS_NOTFOUND if no record was found.
57372
597df647
AS
573732011-05-05 Andreas Schwab <schwab@redhat.com>
57374
57375 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57376 (headers-not-in-tirpc): Remove rpc/netdb.h
57377 * resolv/netdb.h: Revert last change.
57378
b9af1301
PP
573792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57380
57381 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57382 circular dependency between libgcc.a and libc.a.
57383
4e34d5f5
AS
573842011-05-05 Andreas Schwab <schwab@redhat.com>
57385
57386 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57387 * nis/Makefile: Don't install rpcsvc/*.
57388 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57389 instead of <rpc/types.h>.
57390 (MAXHOSTNAMELEN): Define.
57391
00ee369c
AS
573922011-05-03 Andreas Schwab <schwab@redhat.com>
57393
57394 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57395
0b592a30
MB
573962011-04-28 Maciej Babinski <mbabinski@google.com>
57397
57398 [BZ #12714]
57399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57400 gethostbyname4_r when IPv6 results are possible.
57401
6e04cbbe
UD
574022011-05-02 Ulrich Drepper <drepper@gmail.com>
57403
57404 [BZ #12723]
57405 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57406 _PC_PIPE_BUF handling.
57407
e4ecafe0
BH
574082011-04-30 Bruno Haible <bruno@clisp.org>
57409
57410 [BZ #12717]
57411 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57412 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57413 to 'int'.
57414 * inet/getnameinfo.c (getnameinfo): Likewise.
57415
125ee683
UD
574162011-04-29 Ulrich Drepper <drepper@gmail.com>
57417
57418 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57419 to groups setting in database lookup.
57420 * nss/nsswitch.conf: Add initgroups entry.
57421
b722481a
EB
574222011-04-22 Ulrich Drepper <drepper@gmail.com>
57423
57424 [BZ #12685]
57425 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57426 mode string.
57427 Patch by Eric Blake <eblake@redhat.com>.
57428
4df46dbd
L
574292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57430
57431 * sunrpc/Makefile (need-export-routines): Add svc_run.
57432 (routines): Remove svc_run.
57433 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57434 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57435 * sunrpc/svc_run.c (svc_run): Likewise.
57436 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57437
e84142d2
UD
574382011-04-21 Ulrich Drepper <drepper@gmail.com>
57439
57440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57441 problem in reallocation in last patch.
57442
877175d8
UD
574432011-04-20 Ulrich Drepper <drepper@gmail.com>
57444
57445 * sunrpc/Makefile: Move inclusion of Rules.
57446
ab8eed78
UD
574472011-04-19 Ulrich Drepper <drepper@gmail.com>
57448
57449 * nss/nss_files/files-initgroups.c: New file.
57450 * nss/Makefile (libnss_files-routines): Add files-initgroups.
57451 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57452 _nss_files_initgroups_dyn.
57453
e3d8f584
RS
574542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
57455
57456 * elf/elf.h (R_ARM_IRELATIVE): Define.
57457
af190f45
UD
574582011-04-19 Ulrich Drepper <drepper@gmail.com>
57459
57460 * po/ru.po: Update from translation team.
57461
53cf59ef
UD
574622011-04-17 Ulrich Drepper <drepper@gmail.com>
57463
57464 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57465 dependencies.
57466
4c559bcd
MF
574672011-02-06 Mike Frysinger <vapier@gentoo.org>
57468
57469 [BZ #12653]
57470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57471 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57472 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57473 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57474 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57475
4420675c
AS
574762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57477
57478 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57479 differing bytes.
57480 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57483
75ea32ab
UD
574842011-04-17 Ulrich Drepper <drepper@gmail.com>
57485
57486 [BZ #12420]
57487 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57488 storing it.
57489 * stdlib/bug-getcontext.c: New file.
57490 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57491
27390476
AK
574922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57493
57494 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57495 instructions into .machine "z9-109".
57496 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57497 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57498
10442705
AK
574992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57500
57501 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57502 between environment variables and auxiliary vector.
57503
7b57bfe5
UD
575042011-04-16 Ulrich Drepper <drepper@gmail.com>
57505
57506 * Makefile: Add rules to build linkobj/libc.so.
57507 * include/libc-symbols.h: Define libc_hidden_nolink.
57508 * include/rpc/auth.h: Mark functions which are to be hidden.
57509 * include/rpc/auth_des.h: Likewise.
57510 * include/rpc/auth_unix.h: Likewise.
57511 * include/rpc/clnt.h: Likewise.
57512 * include/rpc/des_crypt.h: Likewise.
57513 * include/rpc/key_prot.h: Likewise.
57514 * include/rpc/pmap_clnt.h: Likewise.
57515 * include/rpc/pmap_prot.h: Likewise.
57516 * include/rpc/pmap_rmt.h: Likewise.
57517 * include/rpc/rpc_msg.h: Likewise.
57518 * include/rpc/svc.h: Likewise.
57519 * include/rpc/svc_auth.h: Likewise.
57520 * include/rpc/xdr.h: Likewise.
57521 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57522 * nss/Makefile: Likewise.
57523 * sunrpc/Makefile: Don't install headers. Build library with normal
57524 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57525 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57526 for the compat linking library. Remove use of INTDEF/INTUSE.
57527 * sunrpc/auth_none.c: Likewise.
57528 * sunrpc/auth_unix.c: Likewise.
57529 * sunrpc/authdes_prot.c: Likewise.
57530 * sunrpc/authuxprot.c: Likewise.
57531 * sunrpc/clnt_gen.c: Likewise.
57532 * sunrpc/clnt_perr.c: Likewise.
57533 * sunrpc/clnt_raw.c: Likewise.
57534 * sunrpc/clnt_simp.c: Likewise.
57535 * sunrpc/clnt_tcp.c: Likewise.
57536 * sunrpc/clnt_udp.c: Likewise.
57537 * sunrpc/clnt_unix.c: Likewise.
57538 * sunrpc/des_crypt.c: Likewise.
57539 * sunrpc/des_soft.c: Likewise.
57540 * sunrpc/get_myaddr.c: Likewise.
57541 * sunrpc/key_call.c: Likewise.
57542 * sunrpc/key_prot.c: Likewise.
57543 * sunrpc/netname.c: Likewise.
57544 * sunrpc/pm_getmaps.c: Likewise.
57545 * sunrpc/pm_getport.c: Likewise.
57546 * sunrpc/pmap_clnt.c: Likewise.
57547 * sunrpc/pmap_prot.c: Likewise.
57548 * sunrpc/pmap_prot2.c: Likewise.
57549 * sunrpc/pmap_rmt.c: Likewise.
57550 * sunrpc/publickey.c: Likewise.
57551 * sunrpc/rpc_cmsg.c: Likewise.
57552 * sunrpc/rpc_common.c: Likewise.
57553 * sunrpc/rpc_dtable.c: Likewise.
57554 * sunrpc/rpc_prot.c: Likewise.
57555 * sunrpc/rpc_thread.c: Likewise.
57556 * sunrpc/rtime.c: Likewise.
57557 * sunrpc/svc.c: Likewise.
57558 * sunrpc/svc_auth.c: Likewise.
57559 * sunrpc/svc_authux.c: Likewise.
57560 * sunrpc/svc_raw.c: Likewise.
57561 * sunrpc/svc_run.c: Likewise.
57562 * sunrpc/svc_simple.c: Likewise.
57563 * sunrpc/svc_tcp.c: Likewise.
57564 * sunrpc/svc_udp.c: Likewise.
57565 * sunrpc/svc_unix.c: Likewise.
57566 * sunrpc/svcauth_des.c: Likewise.
57567 * sunrpc/xcrypt.c: Likewise.
57568 * sunrpc/xdr.c: Likewise.
57569 * sunrpc/xdr_array.c: Likewise.
57570 * sunrpc/xdr_float.c: Likewise.
57571 * sunrpc/xdr_intXX_t.c: Likewise.
57572 * sunrpc/xdr_mem.c: Likewise.
57573 * sunrpc/xdr_rec.c: Likewise.
57574 * sunrpc/xdr_ref.c: Likewise.
57575 * sunrpc/xdr_sizeof.c: Likewise.
57576 * sunrpc/xdr_stdio.c: Likewise.
57577
e6c61494
UD
575782011-04-10 Ulrich Drepper <drepper@gmail.com>
57579
57580 [BZ #12650]
57581 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57582 * sysdeps/ia64/dl-tls.h: Likewise.
57583 * sysdeps/powerpc/dl-tls.h: Likewise.
57584 * sysdeps/s390/dl-tls.h: Likewise.
57585 * sysdeps/sh/dl-tls.h: Likewise.
57586 * sysdeps/sparc/dl-tls.h: Likewise.
57587 * sysdeps/x86_64/dl-tls.h: Likewise.
57588 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57589
34fe483e
AS
575902011-03-14 Andreas Schwab <schwab@redhat.com>
57591
57592 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57593 rpath element also skip the following colon.
57594 (expand_dynamic_string_token): Add is_path parameter and pass
57595 down to DL_DST_REQUIRED and _dl_dst_substitute.
57596 (decompose_rpath): Call expand_dynamic_string_token with
57597 non-zero is_path. Ignore empty rpaths.
57598 (_dl_map_object_from_fd): Call expand_dynamic_string_token
57599 with zero is_path.
57600
f12a32e6
AS
576012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
57602
57603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57604 Make cancelable.
57605
38a7d692
UD
576062011-04-09 Ulrich Drepper <drepper@gmail.com>
57607
57608 [BZ #12655]
57609 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57610 Patch by Filipe David Manana <fdmanana@apache.org>.
57611
e451d22b
AS
576122011-04-07 Andreas Schwab <schwab@redhat.com>
57613
57614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57615 Maintain aligned stack.
57616 (CHECK_RSP): Remove unused macro.
57617
dedc7c7b
UD
576182011-04-03 Ulrich Drepper <drepper@gmail.com>
57619
57620 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57621 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57622
94521213
UD
576232011-04-02 Ulrich Drepper <drepper@gmail.com>
57624
57625 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57626
8cb700c0 57627 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 57628
0354e355
L
576292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
57630
57631 [BZ #12518]
57632 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57633 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57634 * sysdeps/x86_64/memmove.c: New file.
57635 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57636 (memcpy): Renamed to ...
57637 (__new_memcpy): This.
57638 (memcpy): Provide GLIBC_2_14 memcpy.
57639 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57640 (memcpy): Provide GLIBC_2_2_5 memcpy.
57641
8593482f
UD
576422011-04-01 Ulrich Drepper <drepper@gmail.com>
57643
57644 [BZ #12631]
57645 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57646
81a5726b
AS
576472011-03-30 Andreas Schwab <schwab@redhat.com>
57648
57649 * misc/syncfs.c: New file.
57650 * misc/Makefile (routines): Add syncfs.
57651 * posix/unistd.h: Declare syncfs.
57652 * sysdeps/unix/syscalls.list: Add syncfs.
57653
00e5419f
AS
576542011-04-01 Andreas Schwab <schwab@redhat.com>
57655
57656 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57657 open_by_handle_at.
57658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57659 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57661 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57663 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57664 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57665
748876bf
UD
576662011-04-01 Ulrich Drepper <drepper@gmail.com>
57667
658e451d
UD
57668 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57669 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57670 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57672 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57675
748876bf
UD
57676 * io/Makefile: Compile fallocate.c, fallocate64.c, and
57677 sync_file_range.c with -fexceptions.
57678 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57679 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57680 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57681 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57682 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57683 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57684 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
57685 sync_file_range as cancellation point
57686 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
57687 now a wrapper around __call_sync_file_range with cancellation handling.
57688 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57689 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
57690 function name to __call_sync_file_range.
57691 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57692 Add call_sync_file_range.
748876bf 57693
6e63d5e1
AS
576942011-04-01 Andreas Schwab <schwab@redhat.com>
57695
57696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 57697 bits/timex.h.
6e63d5e1 57698
46998f74
UD
576992011-04-01 Ulrich Drepper <drepper@gmail.com>
57700
4c1423ed
UD
57701 * iconv/iconv.h: Fix typo in comment.
57702 * io/fcntl.h: Likewise.
57703 * libio/stdio.h: Likewise.
57704 * posix/spawn.h: Likewise.
57705 * posix/unistd.h: Likewise.
57706 * stdlib/stdlib.h: Likewise.
57707 * time/time.h: Likewise.
57708 * wcsmbs/wchar.h: Likewise.
57709
158648c0
UD
57710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57711 open_by_handle): Add.
57712 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57713 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
57714 Augment a few comments.
57715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57720 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57721 open_by_handle.
57722
46998f74
UD
57723 * io/fcntl.h (AT_EMPTY_PATH): Define.
57724
83fe108b
UD
577252011-03-30 Ulrich Drepper <drepper@gmail.com>
57726
57727 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57728 * sysdeps/unix/sysv/linux/bits/time.h: New file.
57729 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57730 to...
57731 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
57732 * Versions.def: Add GLIBC_2.14.
57733 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57734 Export.
83fe108b 57735
bb242059
UD
577362011-03-22 Ulrich Drepper <drepper@gmail.com>
57737
57738 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57739 round counter.
57740 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57741
c97a1282
L
577422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
57743
57744 [BZ #12597]
57745 * string/test-strncmp.c (do_page_test): New function.
57746 (check2): Likewise.
57747 (test_main): Call check2.
57748 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57749
2a115601
UD
577502011-03-20 Ulrich Drepper <drepper@gmail.com>
57751
57752 [BZ #12587]
57753 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57754 Handle cache information in CPU leaf 4.
57755 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57756
8126d904
UD
577572011-03-18 Ulrich Drepper <drepper@gmail.com>
57758
042c49c6 57759 [BZ #12583]
8126d904
UD
57760 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57761 character representation.
57762 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57763
ccfe366e
RA
577642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
57765
57766 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57767 END(__isnan) to END(__isnanf) to match function entry point/label
57768 EALIGN(__isnanf,...).
57769
c6e13027
JJ
577702011-03-10 Jakub Jelinek <jakub@redhat.com>
57771
57772 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57773
33f85a3f
UD
577742011-03-10 Ulrich Drepper <drepper@gmail.com>
57775
028478fa
UD
57776 [BZ #12510]
57777 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57778 copy from the symbol referenced in the relocation to initialize the
57779 used variable.
57780 Patch by Piotr Bury <pbury@goahead.com>.
57781 * elf/Makefile: Add rules to build and tst-unique3.
57782 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57783 * elf/tst-unique3.cc: New file.
57784 * elf/tst-unique3.h: New file.
57785 * elf/tst-unique3lib.cc: New file.
57786 * elf/tst-unique3lib2.cc: New file.
57787
33f85a3f
UD
57788 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57789
03592fc7
MF
577902011-03-10 Mike Frysinger <vapier@gentoo.org>
57791
57792 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57793 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
57794 to _start.
03592fc7 57795
6a5ee102
UD
577962011-03-06 Ulrich Drepper <drepper@gmail.com>
57797
57798 * elf/dl-load.c (_dl_map_object): If we are looking for the first
57799 to-be-loaded object along a path to loader is ld.so.
57800
7e4ba49c
HJ
578012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57802 Ulrich Drepper <drepper@gmail.com>
57803
57804 * sysdeps/x86_64/memset.S: After aligning destination, code
57805 branches to different locations depending on the value of
57806 misalignment, when multiarch is enabled. Fix this.
57807
578082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57809
57810 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57811 Set _x86_64_preferred_memory_instruction for AMD processsors.
57812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57813 Set bit_Prefer_SSE_for_memop for AMD processors.
57814
13a804de
UD
578152011-03-04 Ulrich Drepper <drepper@gmail.com>
57816
57817 * libio/fmemopen.c (fmemopen): Optimize a bit.
57818
9d25c392
AS
578192011-03-03 Andreas Schwab <schwab@redhat.com>
57820
57821 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57822
a5543c6a
RM
578232011-03-03 Roland McGrath <roland@redhat.com>
57824
57825 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57826
012d35f7
DM
578272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
57828
7e4ba49c 57829 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
57830 __bzero_ultra1 instead of __memset_ultra1.
57831
4bff6e01
AS
578322011-02-23 Andreas Schwab <schwab@redhat.com>
57833 Ulrich Drepper <drepper@gmail.com>
57834
57835 [BZ #12509]
57836 * include/link.h (struct link_map): Add l_orig_initfini.
57837 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57838 returning unsuccessfully.
57839 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57840 close of a file loaded at startup, restore the original l_initfini
57841 list.
57842 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57843 list, store the pointer.
57844 * elf/Makefile ($(objpfx)noload-mem): New rule.
57845 (noload-ENV): Define.
57846 (tests): Add $(objpfx)noload-mem.
57847 * elf/noload.c: Include <memcheck.h>.
57848 (main): Call mtrace. Close all opened handles.
57849
f2092faf
AS
578502011-02-17 Andreas Schwab <schwab@redhat.com>
57851
57852 [BZ #12454]
57853 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57854 dependencies are missing.
57855
6c8a2e88
ST
578562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
57857
f2092faf 57858 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
57859 Hurd needs munmap.
57860 * sysdeps/mach/hurd/ifreq.h: New file.
57861
84a42118
PB
578622011-01-27 Petr Baudis <pasky@suse.cz>
57863 Ulrich Drepper <drepper@gmail.com>
57864
071f805e 57865 [BZ 12445]#
84a42118
PB
57866 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57867 to extend_alloca().
57868 * stdio-common/bug23.c: New file.
57869 * stdio-common/Makefile (tests): Add bug23.
57870
e23fe25b
AS
578712010-09-28 Andreas Schwab <schwab@redhat.com>
57872 Ulrich Drepper <drepper@gmail.com>
57873
57874 [BZ #12489]
57875 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57876 before performing relro protection. At old place add assertion
57877 to make sure nothing changed.
57878
d3f02e10
NS
578792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
57880 Glauber de Oliveira Costa <glommer@gmail.com>
57881
57882 * elf/elf.h: Add new ARM TLS relocs.
57883
d55fd7a5
RA
578842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
57885
57886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57887 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57888 cast from r3.
57889 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
57890 'tests' variable.
57891 * sysdeps/wordsize-64/tst-writev.c: New file.
57892
2206397e
RA
578932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
57894
57895 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57896 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57897 insns in _dl_start to prevent a TOC reference before relocs are
57898 resolved.
57899
e9433893
UD
579002011-02-15 Ulrich Drepper <drepper@gmail.com>
57901
57902 [BZ #12469]
57903 * Makeconfig: Remove RANLIB definition.
57904 * Makerules: Don't use RANLIB.
57905 * aclocal.m4: Remove ranlib test.
57906 * configure.in: No need to check for ranlib.
57907 * elf/rtld-Rules: Don't use RANLIB.
57908
f75286c6
ST
579092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
57910
8e31c82d
ST
57911 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57912 protection macro.
57913 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57914 inclusion protection macro.
57915
f75286c6
ST
57916 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57917 SIGRTMIN and SIGRTMAX and print information in that case only when
57918 SIGRTMIN is defined.
57919
c1d0e639
JJ
579202011-02-11 Jakub Jelinek <jakub@redhat.com>
57921
57922 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57923 arginfo fn returning -1.
57924
57925 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57926 and thousands string is zero terminated.
57927
edf9294e
AS
579282011-02-03 Andreas Schwab <schwab@redhat.com>
57929
57930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57931 sysdeps/unix/sysv/linux/bits/socket.h.
57932
2b7e92df
ST
579332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
57934
edf9294e
AS
57935 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57936 (__CPU_COUNT): Remove old macros.
57937 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57938 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57939 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
57940 (__sched_cpualloc, __sched_cpufree): Add declarations.
57941
a4c7ea7b
UD
579422011-02-05 Ulrich Drepper <drepper@gmail.com>
57943
57944 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57945 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57946 * nscd/aicache.c (addhstaiX): Return timeout of added value.
57947 (readdhstai): Return value of addhstaiX call.
57948 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57949 (addgrbyX): Return value returned by cache_addgr.
57950 (readdgrbyname): Return value returned by addgrbyX.
57951 (readdgrbygid): Likewise.
57952 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57953 (addpwbyX): Return value returned by cache_addpw.
57954 (readdpwbyname): Return value returned by addhstbyX.
57955 (readdpwbyuid): Likewise.
57956 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57957 (addservbyX): Return value returned by cache_addserv.
57958 (readdservbyname): Return value returned by addservbyX:
57959 (readdservbyport): Likewise.
57960 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57961 (addhstbyX): Return value returned by cache_addhst.
57962 (readdhstbyname): Return value returned by addhstbyX.
57963 (readdhstbyaddr): Likewise.
57964 (readdhstbynamev6): Likewise.
57965 (readdhstbyaddrv6): Likewise.
57966 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57967 (readdinitgroups): Return value returned by addinitgroupsX.
57968 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57969 (prune_cache): Keep track of timeout value of re-added entries.
57970 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57971 * nscd/nscd.h: Adjust prototypes of readd* functions.
57972
a0bf67cc
RM
579732011-02-04 Roland McGrath <roland@redhat.com>
57974
57975 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57976 (nis_stats): Likewise.
57977 * nis/nis_modify.c (nis_modify): Likewise.
57978 * nis/nis_remove.c (nis_remove): Likewise.
57979 * nis/nis_add.c (nis_add): Likewise.
57980
57981 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57982
57983 * posix/fnmatch_loop.c: Add some consts.
57984
57985 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57986
435b95eb
L
579872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
57988
57989 [BZ #12460]
57990 * config.make.in (config-cflags-novzeroupper): Define.
57991 * configure.in: Substitute libc_cv_cc_novzeroupper.
57992 * elf/Makefile (AVX-CFLAGS): Define.
57993 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57994 (CFLAGS-tst-auditmod4a.c): Likewise.
57995 (CFLAGS-tst-auditmod4b.c): Likewise.
57996 (CFLAGS-tst-auditmod6b.c): Likewise.
57997 (CFLAGS-tst-auditmod6c.c): Likewise.
57998 (CFLAGS-tst-auditmod7b.c): Likewise.
57999 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58000
8517b15e
UD
580012011-02-02 Ulrich Drepper <drepper@gmail.com>
58002
58003 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58004 function to the callback.
58005 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58006
10a656fe
AS
580072011-02-02 Andreas Schwab <schwab@redhat.com>
58008
58009 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58010 of errno.
58011
968dad0a
UD
580122011-01-19 Ulrich Drepper <drepper@gmail.com>
58013
9f94d2ea 58014 [BZ #11724]
968dad0a
UD
58015 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58016 of constructors.
58017 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58018 of destructors.
58019 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58020
58021 [BZ #11724]
58022 * elf/Makefile: Add rules to build and run new test.
58023 * elf/tst-initorder.c: New file.
58024 * elf/tst-initorder.exp: New file.
58025 * elf/tst-initordera1.c: New file.
58026 * elf/tst-initordera2.c: New file.
58027 * elf/tst-initordera3.c: New file.
58028 * elf/tst-initordera4.c: New file.
58029 * elf/tst-initorderb1.c: New file.
58030 * elf/tst-initorderb2.c: New file.
58031 * elf/tst-order-a1.c: New file.
58032 * elf/tst-order-a2.c: New file.
58033 * elf/tst-order-a3.c: New file.
58034 * elf/tst-order-a4.c: New file.
58035 * elf/tst-order-b1.c: New file.
58036 * elf/tst-order-b2.c: New file.
58037 * elf/tst-order-main.c: New file.
58038 New test case by George Gensure <werkt0@gmail.com>.
58039
86e92359
UD
580402010-10-01 Andreas Schwab <schwab@redhat.com>
58041
58042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58043 decoding ACE if AI_CANONIDN.
58044
5d5732b0
UD
580452011-01-18 Ulrich Drepper <drepper@gmail.com>
58046
58047 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58048
a77e8cbc
UD
580492011-01-17 Ulrich Drepper <drepper@gmail.com>
58050
6392473f
UD
58051 * version.h (RELEASE): Bump for 2.13 release.
58052 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58053
620a0529
UD
58054 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58055
18ba70a5
UD
58056 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58057 MADV_NOHUGEPAGE.
32465c3e
UD
58058 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58059 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58060 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58061 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58062 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58063 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58064
c0dafcf1
UD
58065 * posix/getconf.c: Update copyright year.
58066 * catgets/gencat.c: Likewise.
58067 * csu/version.c: Likewise.
58068 * debug/catchsegv.sh: Likewise.
58069 * debug/xtrace.sh: Likewise.
58070 * elf/ldconfig.c: Likewise.
58071 * elf/ldd.bash.in: Likewise.
58072 * elf/sprof.c (print_version): Likewise.
58073 * iconv/iconv_prog.c: Likewise.
58074 * iconv/iconvconfig.c: Likewise.
58075 * locale/programs/locale.c: Likewise.
58076 * locale/programs/localedef.c: Likewise.
58077 * malloc/memusage.sh: Likewise.
58078 * malloc/mtrace.pl: Likewise.
58079 * nscd/nscd.c (print_version): Likewise.
58080 * nss/getent.c: Likewise.
58081
a77e8cbc
UD
58082 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58083 PF_CAIF, and PF_ALG.
58084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58085
77e8bddf
AS
580862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58087
1f20b93a
AS
58088 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58089 (modules-names): Use them.
58090 (ifunc-test-modules, ifunc-pie-tests): Define.
58091 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58092 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58093 (test-extras): Likewise.
58094 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58095 $(compile-command.c).
58096 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58097 (all-built-dso): Define.
58098 (check-textrel.out, check-execstack.out): Depend on it.
58099
77e8bddf
AS
58100 * configure.in: Don't override --enable-multi-arch.
58101
bc425b33
UD
581022011-01-15 Ulrich Drepper <drepper@gmail.com>
58103
58104 [BZ #6812]
58105 * nscd/hstcache.c (tryagain): Define.
58106 (cache_addhst): Return tryagain not notfound for temporary errors.
58107 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58108 failed.
58109
794c3ad3
UD
581102011-01-14 Ulrich Drepper <drepper@gmail.com>
58111
70181fdd
UD
58112 [BZ #10563]
58113 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58114 to make the syscall.
58115 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58116
794c3ad3
UD
58117 [BZ #12378]
58118 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58119 and fall back to matching as normal character if the string ends before
58120 the matching ']' is found. This is what POSIX requires.
58121 * posix/testfnm.c: Adjust test result.
58122 * posix/globtest.sh: Adjust test result. Add new test.
58123 * posix/tst-fnmatch.input: Likewise.
58124 * posix/tst-fnmatch2.c: Add new test.
58125
68dc9497
AS
581262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58127
58128 * elf/Makefile (check-execstack): Revert last change. Depend on
58129 check-execstack.h.
58130 (check-execstack.h): New target.
58131 (generated): Add check-execstack.h.
58132 * elf/check-execstack.c: Include "check-execstack.h".
58133 (main): Revert last change.
58134 (handle_file): Return zero if GNU_STACK is absent and
58135 DEFAULT_STACK_PERMS doesn't include PF_X.
58136
451f001b
UD
581372011-01-13 Ulrich Drepper <drepper@gmail.com>
58138
cfa28e56
UD
58139 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58140 in child fails because the descriptor is already closed.
8cf8ce17
UD
58141 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58142 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58143 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 58144
1086d70d
UD
58145 [BZ #12397]
58146 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58147 syscall.
58148
451f001b
UD
58149 [BZ #10484]
58150 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58151 temporary buffer used to handle multi lookups locally.
a85b5cb4 58152 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 58153
08769175
UD
581542011-01-12 Ulrich Drepper <drepper@gmail.com>
58155
58156 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58157 loader is ld.so.
58158
5e49c52e
UD
581592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58160
58161 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58162 alignment for SSE2.
58163
60522a5f
UD
581642011-01-12 Ulrich Drepper <drepper@gmail.com>
58165
58166 [BZ #12394]
58167 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58168 characters. When rounding increased number of integer digits recompute
58169 number of groups.
58170 * stdio-common/tst-grouping.c: New file.
58171 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58172
f257bbd7
UD
581732011-01-09 Ulrich Drepper <drepper@gmail.com>
58174
58175 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58176 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58177
58178 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58179 void.
58180 * bits/select.h: Likewise.
58181
fa9c15cb
UD
581822011-01-08 Ulrich Drepper <drepper@gmail.com>
58183
58184 * po/ja.po: Update from translation team.
58185
16c2895f
DM
581862011-01-04 David S. Miller <davem@sunset.davemloft.net>
58187
58188 [BZ #11155]
58189 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58190 implementation just like for lxstat, fxstatat, et al.
58191
2543fef2
JM
581922010-12-27 Jim Meyering <meyering@redhat.com>
58193
58194 [BZ #12348]
58195 * posix/regexec.c (build_trtable): Return failure indication upon
58196 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58197
98727dbe
UD
581982010-12-25 Ulrich Drepper <drepper@gmail.com>
58199
5bd6dc5c
UD
58200 [BZ #12201]
58201 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58202 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58203 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58204 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58205
97983464
UD
58206 [BZ #12207]
58207 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58208
98727dbe
UD
58209 [BZ #12204]
58210 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58211 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58212
4a531bb0
L
582132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58214
58215 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58216 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58217 script has SORT_BY_INIT_PRIORITY.
58218 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58219 NO_CTORS_DTORS_SECTIONS is defined.
58220 * elf/soinit.c: Likewise.
58221 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58222 NO_CTORS_DTORS_SECTIONS is defined.
58223 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58224 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58225 * sysdeps/sh/init-first.c: Likewise.
58226 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58227
07eb4b71
UD
582282010-12-24 Ulrich Drepper <drepper@gmail.com>
58229
58230 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58231 always use the slow path.
58232
30950a5f
RA
582332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58234
58235 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58236 similar rule which adds the sysdep directories to the header search in
58237 order to pick up the correct platform stackinfo.h.
58238 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58239 perform test if it is, otherwise return successfully without testing.
58240 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58241 DEFAULT_STACK_PERMS define in stackinfo.h.
58242 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58243 defined in stackinfo.h.
58244 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58245 DEFAULT_STACK_PERMS defined in stackinfo.h.
58246 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58247 * sysdeps/ia64/stackinfo.h: Likewise.
58248 * sysdeps/s390/stackinfo.h: Likewise.
58249 * sysdeps/sh/stackinfo.h: Likewise.
58250 * sysdeps/sparc/stackinfo.h: Likewise.
58251 * sysdeps/x86_64/stackinfo.h: Likewise.
58252 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58253 PF_X for powerpc64. Retain PF_X for powerpc32.
58254
db753e2c
UD
582552010-12-19 Ulrich Drepper <drepper@gmail.com>
58256
14b697f7
UD
58257 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58258 accurately.
db753e2c
UD
58259 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58260 GETDENTS_64BIT_ALIGNED.
58261
28300719
UD
582622010-12-14 Ulrich Drepper <dreper@gmail.com>
58263
14b697f7 58264 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 58265
4f197237
AS
582662010-12-10 Andreas Schwab <schwab@redhat.com>
58267
dbb0472f
AS
58268 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58269 _GNU_SOURCE.
58270
4f197237
AS
58271 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58272 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58273 Remove __restrict.
58274 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58275 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58276
fb88ac72
UD
582772010-12-09 Ulrich Drepper <drepper@gmail.com>
58278
58279 [BZ #11655]
58280 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58281 are initialized.
58282
42acbb92
JJ
582832010-12-09 Jakub Jelinek <jakub@redhat.com>
58284
58285 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58286
c038d98d
UD
582872010-12-03 Ulrich Drepper <drepper@gmail.com>
58288
58289 * po/it.po: Update from translation team.
58290
3a4a2499
L
582912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58292
58293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58294 unused codes.
58295
1e24cf6e
UD
582962010-11-30 Ulrich Drepper <drepper@gmail.com>
58297
58298 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58299
a7690819
AS
583002010-11-24 Andreas Schwab <schwab@redhat.com>
58301
58302 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58303 specially.
58304 (gaih_getanswer_slice): Likewise.
58305
3bf8d1b1
JJ
583062010-10-20 Jakub Jelinek <jakub@redhat.com>
58307
58308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58309
6db52fbb
PB
583102010-05-31 Petr Baudis <pasky@suse.cz>
58311
58312 [BZ #11149]
58313 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58314 silently even in the chroot mode.
58315
eaca7569
UD
583162010-11-22 Ulrich Drepper <drepper@gmail.com>
58317
58318 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58319 last patch a bit. Pretty printing
58320
3056dcdb
UD
583212010-05-31 Petr Baudis <pasky@suse.cz>
58322
58323 [BZ #10085]
58324 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58325 initialization of skip_initgroups_dyn.
58326
cf7c9078
UD
583272010-11-19 Ulrich Drepper <drepper@gmail.com>
58328
58329 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58330 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58331
a1fb5e3e
UD
583322010-11-16 Ulrich Drepper <drepper@gmail.com>
58333
58334 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58335
3540d66b
AS
583362010-11-11 Andreas Schwab <schwab@redhat.com>
58337
58338 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58339 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58340 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58341 ($(objpfx)tst-fnmatch-mem): New rule.
58342 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58343 * posix/tst-fnmatch.c (main): Call mtrace.
58344
13b69574
L
583452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58346
58347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58348 Support Intel processor model 6 and model 0x2c.
58349
da93d214
LM
583502010-11-10 Luis Machado <luisgpm@br.ibm.com>
58351
58352 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58353 signed comparison.
58354
8ca52c6e
L
583552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58356
58357 [BZ #12205]
58358 * string/test-strncasecmp.c (check_result): New function.
58359 (do_one_test): Use it.
58360 (check1): New function.
58361 (test_main): Use it.
58362 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58363 Support strcasecmp and strncasecmp.
58364
69da074d
UD
583652010-11-08 Ulrich Drepper <drepper@gmail.com>
58366
58367 [BZ #12194]
58368 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58369 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58370
ff02d528
L
583712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58372
58373 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58374 IFUNC support.
58375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58376 memset-x86-64.
58377 * sysdeps/x86_64/multiarch/bzero.S: New file.
58378 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58379 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58380 * sysdeps/x86_64/multiarch/memset.S: New file.
58381 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58383 Set bit_Prefer_SSE_for_memop for Intel processors.
58384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58385 Define.
58386 (index_Prefer_SSE_for_memop): Define.
58387 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58388
344d0b54
LM
583892010-11-04 Luis Machado <luisgpm@br.ibm.com>
58390
58391 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58392 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58393
c0dde15b
UD
583942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58395
58396 [BZ #12191]
58397 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58398 (__x86_64_raw_data_cache_size_half): Likewise.
58399 (__x86_64_raw_shared_cache_size): Likewise.
58400 (__x86_64_raw_shared_cache_size_half): Likewise.
58401
58402 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58403 (__x86_64_raw_data_cache_size_half): Likewise.
58404 (__x86_64_raw_shared_cache_size): Likewise.
58405 (__x86_64_raw_shared_cache_size_half): Likewise.
58406 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58407 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58408 and __x86_64_raw_shared_cache_size_half. Round
58409 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58410 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58411 to multiple of 256 bytes.
58412
0e516e0e
MS
584132010-11-03 Ulrich Drepper <drepper@gmail.com>
58414
58415 [BZ #12167]
58416 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58417 of inacessible symlinks. Verify result of symlink before returning it.
58418 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58419 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58420
0e012e87
ER
584212010-10-28 Erich Ritz <erichritz@gmail.com>
58422
58423 * math/math.h (isinf): Fix typo in comment.
58424
de0ff7bc
UD
584252010-11-01 Ulrich Drepper <drepper@gmail.com>
58426
58427 * po/da.po: Update from translation team.
58428
fa41c84d
UD
584292010-10-26 Ulrich Drepper <drepper@gmail.com>
58430
58431 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58432 is added to the list.
58433
f0967738
AK
584342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58435 Ulrich Drepper <drepper@gmail.com>
58436
58437 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58438 the global list here. Move code to...
58439 (_dl_add_to_namespace_list): ...here. New function.
58440 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58441 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58442 * elf/dl-load.c (lose): Don't remove the element from the list.
58443 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58444 (_dl_map_object): Likewise.
58445
584462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
58447
58448 [BZ #12159]
58449 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58450 into all bytes of SSE register.
58451 Patch by Richard Li <richardpku@gmail.com>.
58452
f0967738 584532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
58454
58455 [BZ #12140]
58456 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58457 perturbing.
58458
d0b9e94f
MB
584592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58460
58461 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58462 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58463 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58464 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58466 submachine.
58467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58468
8e9f92e9
AS
584692010-10-22 Andreas Schwab <schwab@redhat.com>
58470
58471 * include/dlfcn.h (__RTLD_SECURE): Define.
58472 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58473 mode & __RTLD_SECURE instead.
58474 (open_path): Rename preloaded parameter to secure.
58475 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58476 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58477 * elf/dl-deps.c (openaux): Likewise.
58478 * elf/rtld.c (struct map_args): Remove is_preloaded.
58479 (map_doit): Don't use it.
58480 (dl_main): Likewise.
58481 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58482 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58483
bc96fbda
AS
584842010-09-09 Andreas Schwab <schwab@redhat.com>
58485
58486 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58487 (sysd-rules-targets): Remove duplicates.
58488 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58489 rtld-%.$o dependency.
58490
22cd1c9b
AS
584912010-10-18 Andreas Schwab <schwab@redhat.com>
58492
58493 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58494 _dl_map_object do it.
58495
18edac48
UD
584962010-10-19 Ulrich Drepper <drepper@gmail.com>
58497
58498 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58499 fast fma builtins, define the macros in the C99 standard.
58500 (FP_FAST_FMAF): Likewise.
58501 (FP_FAST_FMAL): Likewise.
58502 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58503
58504 * bits/mathdef.h: Update copyright year.
58505 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58506
d2050124
MM
585072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58508
58509 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58510 builtins, define the macros in the C99 standard.
58511 (FP_FAST_FMAF): Likewise.
58512 (FP_FAST_FMAL): Likewise.
58513 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58514 multiply/add.
58515 (FP_FAST_FMAF): Likewise.
58516
475facd1
JJ
585172010-10-15 Jakub Jelinek <jakub@redhat.com>
58518
58519 [BZ #3268]
58520 * math/libm-test.inc (fma_test): Some new testcases.
58521 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58522 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58523 y and infinite z. Do multiplication by C already in long double.
58524 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58526 y and infinite z. Do bitwise or of inexact bit into u.d.
58527 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58528 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58529 * sysdeps/i386/fpu/s_fma.S: Removed.
58530 * sysdeps/i386/fpu/s_fmal.S: Removed.
58531
7c08a05c
JJ
585322010-10-16 Jakub Jelinek <jakub@redhat.com>
58533
58534 [BZ #3268]
58535 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58537 computation is not scheduled after fetestexcept. Fix value
58538 of minimum denormal long double.
58539
f3f7372d
JJ
585402010-10-14 Jakub Jelinek <jakub@redhat.com>
58541
58542 [BZ #3268]
58543 * math/libm-test.inc (fma_test): Add some more tests.
58544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58545 correctly.
58546
14d43591
AS
585472010-10-15 Andreas Schwab <schwab@redhat.com>
58548
58549 * scripts/data/localplt-s390-linux-gnu.data: New file.
58550 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58551
5e908464
JJ
585522010-10-13 Jakub Jelinek <jakub@redhat.com>
58553
58554 [BZ #3268]
58555 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58556 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58557 instead of dbl-64.
58558 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58559 inlines.
58560 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58562 if one of x and y is very large and the other is subnormal.
58563 * sysdeps/s390/fpu/s_fmaf.c: New file.
58564 * sysdeps/s390/fpu/s_fma.c: New file.
58565 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58566 * sysdeps/powerpc/fpu/s_fma.S: New file.
58567 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58568 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58569 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58570
585712010-10-12 Jakub Jelinek <jakub@redhat.com>
58572
58573 [BZ #3268]
58574 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58575 fma tests.
58576 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58577 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58578 * sysdeps/i386/i686/multiarch/s_fma.c: Include
58579 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58580 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58581 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58582 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58583
b833d51f
UD
585842010-10-12 Ulrich Drepper <drepper@redhat.com>
58585
58586 [BZ #12078]
58587 * posix/regcomp.c (parse_branch): One more memory leak plugged.
58588 * posix/bug-regex31.input: Add test case.
58589
1751705d
UD
585902010-10-11 Ulrich Drepper <drepper@gmail.com>
58591
e9b9cbf5
UD
58592 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58593 * posix/bug-regex31.input: New file.
58594
58595 [BZ #12078]
58596 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58597 (parse_sub_exp): Fix last change, use postorder.
58598
ef06edbe
UD
58599 * posix/bug-regex31.c: New file.
58600 * posix/Makefile: Add rules to build and run bug-regex31.
58601
a129c80d
UD
58602 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58603
58604 [BZ #12078]
58605 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58606
b76b818e
UD
58607 [BZ #12108]
58608 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58609 to have entries in sys_siglist.
58610
1751705d
UD
58611 [BZ #12093]
58612 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58613 be NULL.
58614
9ff8d36f
JJ
586152010-10-07 Jakub Jelinek <jakub@redhat.com>
58616
58617 [BZ #3268]
58618 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58619 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58620 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58621 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58622 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58623 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58624 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58625 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58626 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58627 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58628 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58629 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58630 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58631 * math/ftestexcept.c (fetestexcept): Likewise.
58632 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58633 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58634 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58635 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58636 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58637 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58638 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58639
af325969
UD
586402010-10-11 Ulrich Drepper <drepper@gmail.com>
58641
c579b202 58642 [BZ #12107]
af325969
UD
58643 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58644 newline.
58645
67a67b95
UD
586462010-10-06 Ulrich Drepper <drepper@gmail.com>
58647
58648 * string/bug-strstr1.c: New file.
58649 * string/Makefile: Add rules to build and run bug-strstr1.
58650
5fb308bc
EB
586512010-10-05 Eric Blake <eblake@redhat.com>
58652
58653 [BZ #12092]
58654 * string/str-two-way.h (two_way_long_needle): Always clear memory
58655 when skipping input due to the shift table.
58656
45db99c7
UD
586572010-10-03 Ulrich Drepper <drepper@gmail.com>
58658
3b111893
UD
58659 [BZ #12005]
58660 * malloc/mcheck.c: Handle large requests.
58661
45db99c7
UD
58662 [BZ #12077]
58663 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58664 for strncmp and strncasecmp.
58665 * string/stratcliff.c: Add tests for strcmp and strncmp.
58666 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58667
cf7a1eb8
NI
586682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
58669
58670 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58671 __set_fpscr.
58672
6484ba5e
AJ
586732010-09-30 Andreas Jaeger <aj@suse.de>
58674
58675 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58676 (CGROUP_SUPER_MAGIC): Define.
58677 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58678 Handle btrfs and cgroup file systems.
58679 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58680 Likewise.
58681
91c42559
LM
586822010-09-27 Luis Machado <luisgpm@br.ibm.com>
58683
58684 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58685 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58686
87a97932
AK
586872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58688
58689 [BZ #12067]
58690 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58691 trying to locate the ELF header.
58692
c21cc9bc
AS
586932010-09-27 Andreas Schwab <schwab@redhat.com>
58694
58695 [BZ #11611]
58696 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58697 Mask out sign-bit copies when constructing f_fsid.
58698
315970f6
PB
586992010-09-24 Petr Baudis <pasky@suse.cz>
58700
58701 * debug/stack_chk_fail_local.c: Add missing licence exception.
58702 * debug/warning-nop.c: Likewise.
58703
1ac7a2c7
JM
587042010-09-15 Joseph Myers <joseph@codesourcery.com>
58705
58706 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58707 implementing getdents64 using getdents syscall, set d_type if
58708 __ASSUME_GETDENTS32_D_TYPE.
58709
56801c50
AS
587102010-09-16 Andreas Schwab <schwab@redhat.com>
58711
58712 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58713 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58714
dda51327
UD
587152010-09-21 Ulrich Drepper <drepper@redhat.com>
58716
58717 [BZ #12037]
58718 * posix/unistd.h: Undo change of feature selection for ftruncate from
58719 2010-01-11.
58720
8ffcee4a
UD
587212010-09-20 Ulrich Drepper <drepper@redhat.com>
58722
a545ecd9 58723 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
58724 detection.
58725
e24f0a8b
AS
587262010-09-20 Andreas Schwab <schwab@redhat.com>
58727
58728 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58729 fanotify_mark.
58730 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58731
7291c56f
AS
587322010-09-14 Andreas Schwab <schwab@redhat.com>
58733
58734 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58735 variables after CHECK_SP call.
58736 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58737
bc5fb037
AS
587382010-09-13 Andreas Schwab <schwab@redhat.com>
58739 Ulrich Drepper <drepper@redhat.com>
58740
58741 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58742 re-relocationg ld.so.
58743 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58744 _dl_init_paths call.
58745 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
58746 here anymore.
58747
e66e7419
UD
587482010-09-14 Ulrich Drepper <drepper@redhat.com>
58749
58750 * resolv/res_init.c (__res_vinit): Count the default server we added.
58751
c044aa75
CLT
587522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
58753 Ulrich Drepper <drepper@redhat.com>
58754
58755 [BZ #11968]
58756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58757 (____longjmp_chk): Use %ebx for saving value across system call.
58758 Add unwind info.
58759
32cf4069
AS
587602010-09-06 Andreas Schwab <schwab@redhat.com>
58761
58762 * manual/Makefile: Don't mix pattern rules with normal rules.
58763
817328ee
AS
587642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
58765
58766 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58767 operation.
58768 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58769 * libio/iofopncook.c (_IO_cookie_init): Likewise.
58770 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58771 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58773 Likewise.
58774
29fddf61
UD
587752010-09-04 Ulrich Drepper <drepper@redhat.com>
58776
58777 [BZ #11979]
58778 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58779 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58780
0959ffc9
UD
587812010-09-02 Ulrich Drepper <drepper@redhat.com>
58782
58783 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58784 * sysdeps/x86_64/addmul_1.S: Likewise.
58785 * sysdeps/x86_64/lshift.S: Likewise.
58786 * sysdeps/x86_64/mul_1.S: Likewise.
58787 * sysdeps/x86_64/rshift.S: Likewise.
58788 * sysdeps/x86_64/sub_n.S: Likewise.
58789 * sysdeps/x86_64/submul_1.S: Likewise.
58790
ece29840
ST
587912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
58792
0959ffc9
UD
58793 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58794 Define __sched_param instead of SCHED_* and sched_param when
ece29840 58795 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 58796 * bits/sched.h [__need_schedparam]
ece29840 58797 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
58798 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58799 (__defined_schedparam): Define to 1.
ece29840
ST
58800 (__sched_param): New structure, identical to sched_param.
58801 (__need_schedparam): Undefine.
58802
e53a31fe
MF
588032010-08-31 Mike Frysinger <vapier@gentoo.org>
58804
fdc0c10d
MF
58805 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58806 (epoll_create1): Declare.
58807
e53a31fe
MF
58808 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58809
a726d796
AS
588102010-08-31 Andreas Schwab <schwab@redhat.com>
58811
58812 [BZ #7066]
58813 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58814 shifting retval into place.
58815
2f3e3dc7
UD
588162010-09-01 Ulrich Drepper <drepper@redhat.com>
58817
f2933da9
UD
58818 * nis/rpcsvc/nis.h: Update copyright notice.
58819 * nis/rpcsvc/nis.x: Likewise.
58820 * nis/rpcsvc/nis_callback.h: Likewise.
58821 * nis/rpcsvc/nis_callback.x: Likewise.
58822 * nis/rpcsvc/nis_object.x: Likewise.
58823 * nis/rpcsvc/nis_tags.h: Likewise.
58824 * nis/rpcsvc/yp.h: Likewise.
58825 * nis/rpcsvc/yp.x: Likewise.
58826 * nis/rpcsvc/ypupd.h: Likewise.
58827 * nis/yp_xdr.c: Likewise.
58828 * nis/ypupdate_xdr.c: Likewise.
58829
2f3e3dc7
UD
58830 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
58831 mainly the body of pmap_getport. Add parameters to specify timeouts.
58832 (pmap_getport): Use __libc_rpc_getport.
58833 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58834 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58835 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58836
f3dcc2f9
AS
588372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
58838
58839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58840 fanotify_mark.
58841
6d34eb5b
RM
588422010-08-27 Roland McGrath <roland@redhat.com>
58843
58844 * sysdeps/i386/i686/multiarch/Makefile
58845 (CFLAGS-varshift.c): New variable.
58846
9ea3de11
UD
588472010-08-27 Ulrich Drepper <drepper@redhat.com>
58848
c96d23fc
UD
58849 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58850 * sysdeps/i386/i686/multiarch/varshift.c: New file.
58851
9ea3de11
UD
58852 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58853
58854 * sysdeps/x86_64/strlen.S: Minimal code improvement.
58855
623aac7f
L
588562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
58857
58858 * sysdeps/x86_64/strlen.S: Unroll the loop.
58859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58860 strlen-sse2 strlen-sse2-bsf.
58861 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58862 __strlen_no_bsf if bit_Slow_BSF is set.
58863 (__strlen_sse42): Removed.
58864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58865 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58866
8b2b7715
RM
588672010-08-25 Roland McGrath <roland@redhat.com>
58868
58869 * sysdeps/x86_64/multiarch/varshift.S: File removed.
58870 * sysdeps/x86_64/multiarch/varshift.c: New file.
58871 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58872 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58873 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58874 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58875
e73015f2
L
588762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
58877
58878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58879 strlen-sse2 strlen-sse2-bsf.
58880 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58881 __strlen_sse2_bsf if bit_Slow_BSF is unset.
58882 (__strlen_sse2): Removed.
58883 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58884 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58886 bit_Slow_BSF for Atom.
58887 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58888 (index_Slow_BSF): Define.
58889 (HAS_SLOW_BSF): Define.
58890
df24a73e
UD
588912010-08-25 Ulrich Drepper <drepper@redhat.com>
58892
58893 [BZ #10851]
58894 * resolv/res_init.c (__res_vinit): When no server address at all
58895 is given default to loopback.
58896
f2ac4868
RM
588972010-08-24 Roland McGrath <roland@redhat.com>
58898
09055553
RM
58899 * configure.in: Remove config-name.h generation.
58900 * configure: Regenerated.
58901 * config-name.in: File removed.
58902 * scripts/config-uname.sh: New file.
58903 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58904 ($(objdir)config-name.h): New target.
58905
f2ac4868
RM
58906 * sunrpc/rpc_parse.h: Avoid nested comment.
58907
73f27d5e
RH
589082010-08-24 Richard Henderson <rth@redhat.com>
58909 Ulrich Drepper <drepper@redhat.com>
58910 H.J. Lu <hongjiu.lu@intel.com>
58911
58912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58914 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58915 Replace _mm_srli_si128 with __m128i_shift_right. Replace
58916 _mm_alignr_epi8 with _mm_loadu_si128.
58917 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58918 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58919 (__m128i_shift_right): Removed.
58920 * sysdeps/i386/i686/multiarch/varshift.h: New file.
58921 * sysdeps/i386/i686/multiarch/varshift.S: New file.
58922 * sysdeps/x86_64/multiarch/varshift.h: New file.
58923 * sysdeps/x86_64/multiarch/varshift.S: New file.
58924
84b9230c
MF
589252010-08-21 Mike Frysinger <vapier@gentoo.org>
58926
58927 * configure.in: Move assembler checks to before sysdep dir checking.
58928
9bbd0ddc
PB
589292010-08-20 Petr Baudis <pasky@suse.cz>
58930
58931 * LICENSES: Sync the sunrpc license.
58932
9da4bb31
UD
589332010-08-19 Ulrich Drepper <drepper@redhat.com>
58934
a7ab6ec8
UD
58935 * sunrpc/auth_des.c: Update copyright notice once again.
58936 * sunrpc/auth_none.c: Likewise.
58937 * sunrpc/auth_unix.c: Likewise.
58938 * sunrpc/authdes_prot.c: Likewise.
58939 * sunrpc/authuxprot.c: Likewise.
58940 * sunrpc/bindrsvprt.c: Likewise.
58941 * sunrpc/clnt_gen.c: Likewise.
58942 * sunrpc/clnt_perr.c: Likewise.
58943 * sunrpc/clnt_raw.c: Likewise.
58944 * sunrpc/clnt_simp.c: Likewise.
58945 * sunrpc/clnt_tcp.c: Likewise.
58946 * sunrpc/clnt_udp.c: Likewise.
58947 * sunrpc/clnt_unix.c: Likewise.
58948 * sunrpc/des_crypt.c: Likewise.
58949 * sunrpc/des_soft.c: Likewise.
58950 * sunrpc/get_myaddr.c: Likewise.
58951 * sunrpc/getrpcport.c: Likewise.
58952 * sunrpc/key_call.c: Likewise.
58953 * sunrpc/key_prot.c: Likewise.
58954 * sunrpc/openchild.c: Likewise.
58955 * sunrpc/pm_getmaps.c: Likewise.
58956 * sunrpc/pm_getport.c: Likewise.
58957 * sunrpc/pmap_clnt.c: Likewise.
58958 * sunrpc/pmap_prot.c: Likewise.
58959 * sunrpc/pmap_prot2.c: Likewise.
58960 * sunrpc/pmap_rmt.c: Likewise.
58961 * sunrpc/rpc/auth.h: Likewise.
58962 * sunrpc/rpc/auth_unix.h: Likewise.
58963 * sunrpc/rpc/clnt.h: Likewise.
58964 * sunrpc/rpc/des_crypt.h: Likewise.
58965 * sunrpc/rpc/key_prot.h: Likewise.
58966 * sunrpc/rpc/netdb.h: Likewise.
58967 * sunrpc/rpc/pmap_clnt.h: Likewise.
58968 * sunrpc/rpc/pmap_prot.h: Likewise.
58969 * sunrpc/rpc/pmap_rmt.h: Likewise.
58970 * sunrpc/rpc/rpc.h: Likewise.
58971 * sunrpc/rpc/rpc_des.h: Likewise.
58972 * sunrpc/rpc/rpc_msg.h: Likewise.
58973 * sunrpc/rpc/svc.h: Likewise.
58974 * sunrpc/rpc/svc_auth.h: Likewise.
58975 * sunrpc/rpc/types.h: Likewise.
58976 * sunrpc/rpc/xdr.h: Likewise.
58977 * sunrpc/rpc_clntout.c: Likewise.
58978 * sunrpc/rpc_cmsg.c: Likewise.
58979 * sunrpc/rpc_common.c: Likewise.
58980 * sunrpc/rpc_cout.c: Likewise.
58981 * sunrpc/rpc_dtable.c: Likewise.
58982 * sunrpc/rpc_hout.c: Likewise.
58983 * sunrpc/rpc_main.c: Likewise.
58984 * sunrpc/rpc_parse.c: Likewise.
58985 * sunrpc/rpc_parse.h: Likewise.
58986 * sunrpc/rpc_prot.c: Likewise.
58987 * sunrpc/rpc_sample.c: Likewise.
58988 * sunrpc/rpc_scan.c: Likewise.
58989 * sunrpc/rpc_scan.h: Likewise.
58990 * sunrpc/rpc_svcout.c: Likewise.
58991 * sunrpc/rpc_tblout.c: Likewise.
58992 * sunrpc/rpc_util.c: Likewise.
58993 * sunrpc/rpc_util.h: Likewise.
58994 * sunrpc/rpcinfo.c: Likewise.
58995 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58996 * sunrpc/rpcsvc/key_prot.x: Likewise.
58997 * sunrpc/rpcsvc/klm_prot.x: Likewise.
58998 * sunrpc/rpcsvc/mount.x: Likewise.
58999 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59000 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59001 * sunrpc/rpcsvc/rex.x: Likewise.
59002 * sunrpc/rpcsvc/rstat.x: Likewise.
59003 * sunrpc/rpcsvc/rusers.x: Likewise.
59004 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59005 * sunrpc/rpcsvc/spray.x: Likewise.
59006 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59007 * sunrpc/rtime.c: Likewise.
59008 * sunrpc/svc.c: Likewise.
59009 * sunrpc/svc_auth.c: Likewise.
59010 * sunrpc/svc_authux.c: Likewise.
59011 * sunrpc/svc_raw.c: Likewise.
59012 * sunrpc/svc_run.c: Likewise.
59013 * sunrpc/svc_simple.c: Likewise.
59014 * sunrpc/svc_tcp.c: Likewise.
59015 * sunrpc/svc_udp.c: Likewise.
59016 * sunrpc/svc_unix.c: Likewise.
59017 * sunrpc/svcauth_des.c: Likewise.
59018 * sunrpc/xcrypt.c: Likewise.
59019 * sunrpc/xdr.c: Likewise.
59020 * sunrpc/xdr_array.c: Likewise.
59021 * sunrpc/xdr_float.c: Likewise.
59022 * sunrpc/xdr_mem.c: Likewise.
59023 * sunrpc/xdr_rec.c: Likewise.
59024 * sunrpc/xdr_ref.c: Likewise.
59025 * sunrpc/xdr_sizeof.c: Likewise.
59026 * sunrpc/xdr_stdio.c: Likewise.
59027
9da4bb31
UD
59028 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59029 handling.
59030
bdaa77bc
AS
590312010-08-19 Andreas Schwab <schwab@redhat.com>
59032
59033 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59034
fe2f79db
LM
590352010-08-19 Luis Machado <luisgpm@br.ibm.com>
59036
59037 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59038 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59039 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59040 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59041 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59042 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59043 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59044 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59045 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59047 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59048 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59049 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59050 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59051
b9b42ee0
AB
590522010-07-26 Anton Blanchard <anton@samba.org>
59053
59054 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59055 * malloc/arena.c (heap_trim): Likewise.
59056
1c06ba31
UD
590572010-08-16 Ulrich Drepper <drepper@redhat.com>
59058
59059 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59060 here. Not...
59061 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59062 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59063
f8392f40
L
590642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59065
59066 * sysdeps/i386/elf/Makefile: New file.
59067
3162f12e
AS
590682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59069
59070 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59071 from fanotify_init.
59072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59074
28c90b2c
UD
590752010-08-15 Ulrich Drepper <drepper@redhat.com>
59076
59077 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59078 of strncasecmp_l.
1feccb6c 59079 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 59080
ca6bb004
UD
590812010-08-14 Ulrich Drepper <drepper@redhat.com>
59082
e9f82e0d
UD
59083 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59084 strncase_l-nonascii.
59085 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59086 Add strncase_l-ssse3.
59087 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59088 * sysdeps/x86_64/strcmp.S: Likewise.
59089 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59090 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59091 * sysdeps/x86_64/strncase.S: New file.
59092 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59093 * sysdeps/x86_64/strncase_l.S: New file.
59094 * string/Makefile (strop-tests): Add strncasecmp.
59095 * string/test-strncasecmp.c: New file.
59096
59097 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59098 warning.
59099
ca6bb004
UD
59100 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59101 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59102
052fa7b3
AS
591032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59104
59105 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59106
962dba78
UD
591072010-08-12 Ulrich Drepper <drepper@redhat.com>
59108
59109 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59110 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59111 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59112
bebff237
AM
591132010-05-01 Alan Modra <amodra@gmail.com>
59114
59115 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59116 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59117 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59118 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59119 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59120 tidying. Don't tail-call __sigjmp_save for static lib.
59121 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59122 save location.
59123 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59124 (CALL_MCOUNT): Add eh info, and nop after bl.
59125 (TAIL_CALL_SYSCALL_ERROR): New macro.
59126 (PSEUDO_RET): Use it.
59127 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59128 Correct save location of integer regs and cr.
59129 (_dl_profile_resolve): Correct cr save location. Delete nops
59130 after bl when SHARED. Reduce cfi size a little by better
59131 placement of cfi directives.
59132 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59133 make a stack frame. Instead use parm save area as a temp.
59134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59135 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59137 Don't make a stack frame for parent, use parm save area.
59138 Increase child stack frame to 112 bytes. Don't save unused reg,
59139 and adjust reg usage. Set up cfi on error recovery and
59140 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59142 (__makecontext): Add dummy nop after jump to exit.
59143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59144 Use correct parm save area and cr save, reduce stack frame.
59145 Correct cfi for possible PSEUDO_RET frame setup.
59146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59147 Branch to local label emitted by PSEUDO_RET rather than
59148 __syscall_error.
59149
02637374
AS
591502010-08-12 Andreas Schwab <schwab@redhat.com>
59151
59152 [BZ #11904]
59153 * locale/programs/locale.c (print_assignment): New function.
59154 (show_locale_vars): Use it.
59155
c3e2f19b
UD
591562010-08-11 Ulrich Drepper <drepper@redhat.com>
59157
3cdaa6ad
UD
59158 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59159 field.
59160 (struct statfs64): Likewise.
59161 (_STATFS_F_FLAGS): Define.
59162 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59163 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59164 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59165 (ST_VALID): Define locally.
59166 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59167 __statvfs_getflags, use the provided value.
59168 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59169 __ASSUME_STATFS_F_FLAGS.
59170
754f7da3
UD
59171 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59172
10b3bedc
UD
59173 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59174 Add sys/fanotify.h.
59175 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59176 fanotify_mask for GLIBC_2.13.
59177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59178 fanotify_init and fanotify_mark.
59179 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59180 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59181
c08fb0d7
UD
59182 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59183 Add prlimit.
59184 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59185 prlimit64 for GLIBC_2.13.
59186 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59187 prlimit64.
59188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59189 syscall.
59190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59191 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59192 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59193 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59195 add prlimit alias.
59196 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59197
15bac72b
UD
59198 [BZ #11903]
59199 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59200 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59201
c3e2f19b
UD
59202 * nss/Makefile: Add rules to build and run tst-nss-test1.
59203 * shlib-versions: Add entry for libnss_test1.
59204 * nss/nss_test1.c: New file.
59205 * nss/tst-nss-test1.c: New file.
59206
59207 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59208 (__nss_configure_lookup): Set appropriate entry in
59209 __nss_configure_lookup to true.
59210 * nss/nsswitch.h: Define enum with indeces of databases in
59211 databases and __nss_database_custom arrays. Declare
59212 __nss_database_custom.
59213 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59214 to avoid using nscd when custom rules are installed.
59215 * nss/getXXbyYY_r.c: Likewise.
59216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59217
59218 * nss/nss_files/files-parse.c: Whitespace fixes.
59219
f15ce4d8
UD
592202010-08-09 Ulrich Drepper <drepper@redhat.com>
59221
59222 [BZ #11883]
59223 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59224 * posix/fnmatch_loop.c: Likewise.
59225
d22e4cc9
AK
592262010-07-17 Andi Kleen <ak@linux.intel.com>
59227
59228 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59229 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59230 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59231 * Versions.def [GLIBC_2.13]: Add.
59232
805bc17d
UD
592332010-08-06 Ulrich Drepper <drepper@redhat.com>
59234
59235 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59236 Also fail if tpwd after pwuid call is NULL.
59237
5a42321d
ST
592382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59239
59240 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59241 when converting to ms.
59242
fd3ebeda
ST
592432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59244
59245 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59246 EOPNOTSUPP errors with ENOTTY.
59247 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59248 EOPNOTSUPP errors with ENOTTY.
59249
73507d3a
UD
592502010-07-31 Ulrich Drepper <drepper@redhat.com>
59251
59252 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59253 Add strcasecmp_l-ssse3.
59254 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59255 strcasecmp.
59256 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59257 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59258 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59259
fe36dd02
UD
592602010-07-30 Ulrich Drepper <drepper@redhat.com>
59261
66f6765a
UD
59262 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59263
42e08a54
UD
59264 * string/Makefile (strop-tests): Add strcasecmp.
59265 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59266 strcasecmp_l-nonascii.
59267 (gen-as-const-headers): Add locale-defines.sym.
59268 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59269 * sysdeps/x86_64/strcasecmp.S: New file.
59270 * sysdeps/x86_64/strcasecmp_l.S: New file.
59271 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59272 * sysdeps/x86_64/locale-defines.sym: New file.
59273 * string/test-strcasecmp.c: New file.
59274
fe36dd02
UD
59275 * string/test-strcasestr.c: Test both ends of the range of characters.
59276 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59277
48cbc0d6
RM
592782010-07-29 Roland McGrath <roland@redhat.com>
59279
76e6d6bc 59280 [BZ #11856]
48cbc0d6
RM
59281 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59282
880113d9
UD
592832010-07-27 Ulrich Drepper <drepper@redhat.com>
59284
59285 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59286 for ld.so.
59287
deb9cabb
AS
592882010-07-27 Andreas Schwab <schwab@redhat.com>
59289
59290 * manual/memory.texi (Malloc Tunable Parameters): Document
59291 M_PERTURB.
59292
1c7570ff
RM
592932010-07-26 Roland McGrath <roland@redhat.com>
59294
59295 [BZ #11840]
59296 * configure.in (-fgnu89-inline check): Set and substitute
59297 gnu89_inline, not libc_cv_gnu89_inline.
59298 * configure: Regenerated.
59299 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59300
24fb0f88
UD
593012010-07-26 Ulrich Drepper <drepper@redhat.com>
59302
59303 * string/test-strnlen.c: New file.
59304 * string/Makefile (strop-tests): Add strnlen.
59305 * string/tester.c (test_strnlen): Add a few more test cases.
59306 * string/tst-strlen.c: Better error reporting.
59307
59308 * sysdeps/x86_64/strnlen.S: New file.
59309
8e96b93a
UD
593102010-07-24 Ulrich Drepper <drepper@redhat.com>
59311
59312 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59313 lower-latency instructions.
59314
dbc676d4
UD
593152010-07-23 Ulrich Drepper <drepper@redhat.com>
59316
59317 * string/test-strcasestr.c: New file.
59318 * string/test-strstr.c: New file.
59319 * string/Makefile (strop-tests): Add strstr and strcasestr.
59320 * string/str-two-way.h: Don't undefine MAX.
59321 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59322
f6a31e0e
AS
593232010-07-21 Andreas Schwab <schwab@redhat.com>
59324
59325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59326 strcasestr-nonascii.
59327 (CFLAGS-strcasestr-nonascii.c): Define.
59328 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59329 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59330 Remove unused attribute.
59331
5dbc3b6c
RM
593322010-07-20 Roland McGrath <roland@redhat.com>
59333
59334 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59335 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59336 ld.so.cache was broken. With it, there is no way to disable dsocaps
59337 like LD_HWCAP_MASK can disable hwcaps.
59338
23d101d8
EPM
593392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59340
59341 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59342
cc9f2e47
UD
593432010-07-16 Ulrich Drepper <drepper@redhat.com>
59344
59345 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59346 call in strcasestr.
59347 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59348 __strcasestr_sse42_nonascii.
59349 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59350 strcasestr-nonascii.c.
59351 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59352
77c1b069
LM
593532010-06-15 Luis Machado <luisgpm@br.ibm.com>
59354
59355 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59356 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59357 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59358 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59359
440566c3
UD
593602010-07-09 Ulrich Drepper <drepper@redhat.com>
59361
59362 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59363 fcntl.
59364
5be9d05d
AS
593652010-07-06 Andreas Schwab <schwab@redhat.com>
59366
c30b7ee2 59367 [BZ #11577]
5be9d05d
AS
59368 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59369 dl_signal_cerror.
59370
8a492a67
UD
593712010-07-06 Ulrich Drepper <drepper@redhat.com>
59372
59373 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59374 _PC_PIPE_BUF using F_GETPIPE_SZ.
59375
713df3d5
RM
593762010-07-05 Roland McGrath <roland@redhat.com>
59377
59378 * manual/arith.texi (Rounding Functions): Fix rint description
59379 implicit in round description.
59380
702e8f14
UD
593812010-07-02 Ulrich Drepper <drepper@redhat.com>
59382
59383 * elf/Makefile: Fix linking for a few tests to make recent linker
59384 happy.
59385
52ed8be9
AS
593862010-06-30 Andreas Schwab <schwab@redhat.com>
59387
59388 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59389 $(common-objpfx)libc_nonshared.a.
59390
f47c9a11
LM
593912010-06-21 Luis Machado <luisgpm@br.ibm.com>
59392
59393 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59394 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59395 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59396 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59397 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59398 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59399 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59400 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59415 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59416 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59417 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59418 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59419 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59420 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59421 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59422 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59423 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59424 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59425 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59426 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59441
6fb8cbcb
L
594422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59443
59444 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59445 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59446 * string/memmove.c (memmove): Renamed to ...
59447 (MEMMOVE): ...this. Default to memmove.
59448 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59449 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59450 (END_CHK): Define.
59451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59452 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59453 mempcpy-ssse3-back memmove-ssse3-back.
59454 * sysdeps/x86_64/multiarch/bcopy.S: New file .
59455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59457 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59458 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59459 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59460 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59461 * sysdeps/x86_64/multiarch/memmove.c: New file.
59462 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59463 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59464 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59465 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59466 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59467 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59468 Define.
59469 (index_Fast_Copy_Backward): Define.
59470 (HAS_ARCH_FEATURE): Define.
59471 (HAS_FAST_REP_STRING): Define.
59472 (HAS_FAST_COPY_BACKWARD): Define.
59473
4e733bac 594742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
59475
59476 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59477 Restore proper fallback handling.
59478
63c4ed22
UD
594792010-06-19 Ulrich Drepper <drepper@redhat.com>
59480
ac2b484c
UD
59481 [BZ #11701]
59482 * posix/group_member.c (__group_member): Correct checking loop.
59483
63c4ed22
UD
59484 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59485 OOM in getpwuid_r correctly. Return error number when the caller
59486 should return, otherwise -1.
59487 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59488 call returning > 0 value.
59489 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59490
765ade4b
AS
594912010-06-07 Andreas Schwab <schwab@redhat.com>
59492
59493 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59494 libc_nonshared.a from targets in modules-names.
59495
80da2e09
KS
594962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59497
59498 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59499 requires it.
59500
158db122
LM
595012010-06-10 Luis Machado <luisgpm@br.ibm.com>
59502
59503 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59504 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59506 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59507
caa78cf8
AS
595082010-06-02 Andreas Schwab <schwab@redhat.com>
59509
59510 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59511
b2ef2c01
UD
595122010-06-14 Ulrich Drepper <drepper@redhat.com>
59513
59514 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59515 and F_GETPIPE_SZ.
59516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59521 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59522
fbd643b6
RM
595232010-06-14 Roland McGrath <roland@redhat.com>
59524
59525 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59526
f32f2869
JJ
595272010-06-07 Jakub Jelinek <jakub@redhat.com>
59528
59529 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59530 __REDIRECT followed by __THROW.
59531 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59532 * posix/getopt.h (getopt): Likewise.
59533
2a50c078
EPM
595342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59535
59536 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59537 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59538 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59539 in AT_FLAGS.
59540 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59541 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59542
eb5ad2eb
LM
595432010-05-28 Luis Machado <luisgpm@br.ibm.com>
59544
59545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59546
3c88fe1e
L
595472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59548
59549 [BZ #11640]
59550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59551 Properly check family and model.
59552
d2f73151
TY
595532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59554
59555 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59556
ebd2e13d
LM
595572010-05-24 Luis Machado <luisgpm@br.ibm.com>
59558
59559 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59560
b32b8b45
UD
595612010-05-21 Ulrich Drepper <drepper@redhat.com>
59562
59563 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59564 symbol reference.
59565
9acbe24d
AS
595662010-05-19 Andreas Schwab <schwab@redhat.com>
59567
59568 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59569 symbol reference.
59570
f0ccf6ea
AS
595712010-05-21 Andreas Schwab <schwab@redhat.com>
59572
3d04ff3a
AS
59573 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59574 and internal_recvmmsg.
59575 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59576 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59577 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59578 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59579
f0ccf6ea
AS
59580 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59581 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59582 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59583
5b08ac57
AS
595842010-05-20 Andreas Schwab <schwab@redhat.com>
59585
59586 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59587
4828935d
LM
595882010-05-17 Luis Machado <luisgpm@br.ibm.com>
59589
59590 POWER7 optimizations.
59591 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59592 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59593
373d545e
UD
595942010-05-19 Ulrich Drepper <drepper@redhat.com>
59595
59596 * version.h: Update for 2.13 development version.
59597
21a2b1ae
AS
595982010-05-12 Andrew Stubbs <ams@codesourcery.com>
59599
59600 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59601 exceptions. Return 0.
59602
3f7dcb2b
RM
596032010-05-07 Roland McGrath <roland@redhat.com>
59604
59605 * elf/ldconfig.c (main): Add a const.
59606
5f24d53a 596072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 59608
a160f8d8
UD
59609 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59610 (args_options): Add no-idn option.
59611 (ahosts_keys_int): Add idn_flags to ai_flags.
59612 (parse_option): Handle 'i' option to clear idn_flags.
59613
5f24d53a
UD
59614 * malloc/malloc.c (_int_free): Possible race in the most recently
59615 added check. Only act on the data if no current modification
59616 happened.
265bb1ce
UD
59617
59618See ChangeLog.17 for earlier changes.