]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ #18116: Mark fixed in NEWS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
db8fed87
MS
12015-03-11 Martin Sebor <msebor@redhat.com>
2
3 [BZ #18116]
4 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5 (__setcontext): Use extended four-operand version of mtsf whenever
6 possible.
7 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8 (__novec_swapcontext): Likewise.
9
0994b9b6
SP
102015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11
0cd28286
SP
12 * benchtests/scripts/compare_bench.py: New file.
13 * benchtests/scripts/import_bench.py (mean): New function.
14 (split_list): Likewise.
15 (do_for_all_timings): Likewise.
16 (compress_timings): Likewise.
17
0994b9b6
SP
18 * benchtests/scripts/import_bench.py: New file.
19 * benchtests/scripts/validate_benchout.py: Import import_bench
20 instead of jsonschema.
21 (validate_bench): Remove function.
22 (main): Use import_bench.
23
2483fa85
SE
242015-06-01 Steve Ellcey <sellcey@imgtec.com>
25
26 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
27 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28
fd57d826
AZ
292015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30
31 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32
f2175470
RM
332015-05-28 Roland McGrath <roland@hack.frob.com>
34
3ed01512
RM
35 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36 set THREAD_SELF->tid to a magic value and futex-wake it.
37 Pass its address to the thread_exit system call.
38 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
39 bit is clear.
40 * sysdeps/nacl/lowlevellock.h: New file.
41 * sysdeps/nacl/lll_timedwait_tid.c: New file.
42
f2175470
RM
43 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
44 Add TIMEOUT to current time, don't subtract it.
45
58007e9e
L
462015-05-28 H.J. Lu <hongjiu.lu@intel.com>
47
48 [BZ #18422]
49 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
50 ($(objpfx)tst-audit2.out): Also depend on
51 $(objpfx)tst-auditmod9b.so.
52 * elf/tst-audit2.c: Include <dlfcn.h>.
53 (calloc_called): New.
54 (calloc): Allow to be called more than once.
55 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
56
be2e25bb
WD
572015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
58
59 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
60 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
61
d28311a1
MM
622015-05-27 Marko Myllynen <myllynen@redhat.com>
63
64 * stdlib/monetary.h: Fix comment.
65
18270599
CM
662015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
67
68 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
69 Avoid using variables in #defines that might cause shadowing.
70 (INTERNAL_VSYSCALL_CALL): Likewise.
71
68c97aef
RM
722015-05-26 Roland McGrath <roland@hack.frob.com>
73
1f3a37b1
RM
74 * sysdeps/nacl/lll_timedlock_wait.c: New file.
75
68c97aef
RM
76 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
77 * nptl/lll_timedlock_wait.c: ... to this new file.
78 * nptl/Makefile (libpthread-routines): Add it.
79 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
80 * nptl/lll_timedwait_tid.c: ... to this new file.
81 * nptl/Makefile (libpthread-routines): Add it.
82 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
83 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
84 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
85 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
86 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
87 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
88 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
89 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
90 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
91 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
92
97554e43
AZ
932015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
94
95 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
96 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
97 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
98 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
99 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
101 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
103 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
104 * sysdeps/unix/sysv/linux/tile/sysdep.h
105 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
106 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
107 using vDSO syscall macro.
108
6afb9c01
AR
1092015-05-26 Andriy Rysin <arysin@gmail.com>
110
111 [BZ #17293]
112 * uk_UA: Fix sorting order for Ukrainian locale
113
f09b8615
SP
1142015-05-26 Marko Myllynen <myllynen@redhat.com>
115
116 * stdlib/monetary.h: Fix comment.
117
a06b40cd
SN
1182015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
119
120 [BZ #18234]
121 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
122 st_mtim and st_ctim members.
123 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
124 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
125 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
126 (struct stat64): Likewise.
127 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
128 (struct stat64): Likewise.
129 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
130 (struct stat64): Likewise.
131
f534255e
AZ
1322015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
133
134 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
135 Define and include sysdep-vdso.h.
136 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
137 Likewise.
138 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
139 Likewise.
140 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
141 Define with VDSO_SYMBOL and use PTR_MANGLE.
142 (__vdso_clock_gettime): Likewise.
143 (__vdso_clock_getres): Likewise.
144 (_libc_vdso_platform_setup): Likewise.
145 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
146 Likewise.
147 (_libc_vdso_platform_setup): Likewise.
148 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
149 Likewise.
150 (__vdso_clock_gettime): Likewise.
151 (__vdso_clock_getres): Likewise.
152 (__vdso_get_tbfreq): Likewise.
153 (__vdso_getcpu): Likewise.
154 (__vdso_time): Likewise.
155 (__vdso_sigtramp_rt64): Likewise.
156 (__vdso_signtramp32): Likewise.
157 (__vdso_sigtramp_rt32): Likewise.
158 (_libc_vdso_platform_setup): Likewise.
159 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
160 Likewise.
161 (__vdso_clock_gettime): Likewise.
162 (__vdso_clock_getres): Likewise.
163 (_libc_vdso_platform_setup): Likewise.
164 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
165 Likewise.
166 (__vdso_clock_gettime): Likewise.
167 (_libc_vdso_platform_setup): Likewise.
168 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
169 Likewise.
170 (__vdso_getcpu): Likewise.
171 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
172 Use VDSO_SYMBOL macro to define.
173 (__vdso_clock_gettime): Likewise.
174 (__vdso_clock_getres): Likewise.
175 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
176 Likewise.
177 (__vdso_clock_gettime): Likewise.
178 (__vdso_clock_getres): Likewise.
179 (__vdso_get_tbfreq): Likewise.
180 (__vdso_getcpu): Likewise.
181 (__vdso_time): Likewise.
182 (__vdso_sigtramp_rt64): Likewise.
183 (__vdso_signtramp32): Likewise.
184 (__vdso_sigtramp_rt32): Likewise.
185 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
186 Likewise.
187 (__vdso_clock_gettime): Likewise.
188 (__vdso_clock_getres): Likewise.
189 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
190 Likewise.
191 (__vdso_clock_gettime): Likewise.
192 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
193 Likewise.
194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
195 macro.
196 (INTERNAL_VSYSCALL): Likewise.
197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
198 Remove macro.
199 (INTERNAL_VSYSCALL): Likewise.
200 (INTERNAL_VSYSCALL_NCS): Likewise.
201 (INTERNAL_VSYSCALL_CALL): New macro.
202 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
204 Likewise.
205 (INTERNAL_VSYSCALL): Likewise.
206 (INTERNAL_VSYSCALL_NCS): Likewise.
207 (INTERNAL_VSYSCALL_CALL): New macro.
208 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
210 (INLINE_VSYSCALL): Remove macro.
211 (INTERNAL_VSYSCALL): Remove macro.
212 (INTERNAL_VSYSCALL_NCS): Remove macro.
213 (INTERNAL_VSYSCALL_CALL): New macro.
214 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
215 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
216 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
217 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
218 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
220 (INLINE_VSYSCALL): Remove macro.
221 (INTERNAL_VSYSCALL): Likewise.
222 (INTERNAL_VSYSCALL_NCS): Likewise.
223 (INTERNAL_VSYSCALL_CALL): New macro.
224 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
225 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
226 PTR_DEMANGLE on vDSO pointer.
227 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
228 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
229 macro.
230 (INTERNAL_SYSCALL): Likewise.
231 (INTERNAL_VSYSCALL_NCS): Remove macro.
232 (INTERNAL_VSYSCALL_CALL): New macro.
233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
234 Remove macro.
235 (INTERNAL_VSYSCALL): Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
237 sysdep-vdso.h instead of libc-vdso.h.
238 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
239 definition.
240 (INLINE_VSYSCALL): Likewise.
241 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
242 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
243 definition.
244 (INLINE_VSYSCALL): Likewise.
245 (INTERNAL_VSYSCALL): Likewise.
246 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
247 * sysdeps/unix/sysv/linux/timespec_get.c
248 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
249 (timespec_get): Use ANSI prototype.
250 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
251 and definition for Linux.
252
829a679f
AS
2532015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
254
255 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
256 * include/libc-symbols.h: libmvec_hidden_* macro series added.
257
3e058c9d
L
2582015-05-22 H.J. Lu <hongjiu.lu@intel.com>
259
260 [BZ #18410]
261 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
262 for missing DT_PLTRELSZ.
263
333e1ba4
PE
2642015-05-22 Paul Eggert <eggert@cs.ucla.edu>
265
266 Remove obsolete aliases that broke 'locale -a'
267 [BZ #18412]
268 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
269 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
270 breaking some applications that use 'locale -a' output.
271 Change the encoding of this file from Latin-1 to ASCII to avoid
272 other potential problems with people grepping this file.
273
60dce8b9
AZ
2742015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
275
276 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
277 -fasynchronous-unwind-tables.
278 (CFLAGS-sendto.c): Likewise.
279 (CFLAGS-sendmsg.c): Likewise.
280 (CFLAGS-connect.c): Likewise.
281 (CFLAGS-recvmsg.c): Likewise.
282 (CFLAGS-recvfrom.c): Likewise.
283 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
284 (SOCKETCALL): New macro: non-cancellable socketcall.
285 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
286 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
287 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
288 * sysdeps/unix/sysv/linux/accept.c: New file.
289 * sysdeps/unix/sysv/linux/bind.c: Likewise.
290 * sysdeps/unix/sysv/linux/connect.c: Likewise.
291 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
292 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
293 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
294 * sysdeps/unix/sysv/linux/listen.c: Likewise.
295 * sysdeps/unix/sysv/linux/recv.c: Likewise.
296 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
297 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
298 * sysdeps/unix/sysv/linux/send.c: Likewise.
299 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
300 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
301 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
302 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
303 * sysdeps/unix/sysv/linux/socket.c: Likewise.
304 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
305 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
306 prototype.
307 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
308 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
309 instead of __internal_xxx function.
310 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
311 prototype.
312 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
313 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
314 instead of __internal_xxx function.
315 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
316 prototype.
317 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
318 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
319 instead of __internal_xxx function.
320 * sysdeps/unix/sysv/linux/accept.S: Remove file.
321 * sysdeps/unix/sysv/linux/bind.S: Likewise.
322 * sysdeps/unix/sysv/linux/connect.S: Likewise.
323 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
324 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
325 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
326 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
327 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
328 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
329 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
330 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
331 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
332 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
333 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
334 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
335 * sysdeps/unix/sysv/linux/listen.S: Likewise.
336 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
337 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
338 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
339 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
342 * sysdeps/unix/sysv/linux/recv.S: Likewise.
343 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
344 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
346 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
347 * sysdeps/unix/sysv/linux/send.S: Likewise.
348 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
349 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
350 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
351 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
352 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
353 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
356 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
357 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
358 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
359 socketcall is implemented in GLIBC.
360
fded7ed6
JM
3612015-05-22 Joseph Myers <joseph@codesourcery.com>
362
dc6b5aed
JM
363 * soft-fp/fmadf4.c: Include <libc-internal.h>.
364 (__fma): Ignore uninitialized warnings around packing.
365 * soft-fp/fmasf4.c: Include <libc-internal.h>.
366 (__fmaf): Ignore uninitialized warnings around packing.
367 * soft-fp/fmatf4.c: Include <libc-internal.h>.
368 (__fmal): Ignore uninitialized warnings around packing.
369
0c3717e7
JM
370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
371 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
372 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
373 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
374
31a8780d
JM
375 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
376 switch statement into default case.
377 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
378
fded7ed6
JM
379 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
380 a conditional in forcing "inexact".
381 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
382 Likewise.
383
992328e5
RM
3842015-05-22 Roland McGrath <roland@hack.frob.com>
385
386 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
387 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
388 for each INTERNAL_SYSCALL use.
389
cf06a4e3
JM
3902015-05-22 Joseph Myers <joseph@codesourcery.com>
391
4e5f9259
JM
392 [BZ #438]
393 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
394 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
395 variable.
396
cf06a4e3
JM
397 [BZ #18444]
398 * string/basename.c (basename): Rename to __basename and define as
399 weak alias of __basename. Use libc_hidden_weak.
400 * include/string.h (__basename): Declare. Use libc_hidden_proto.
401 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
402 __basename instead of basename.
403 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
404 Remove variable.
405 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
406
e69dcccb
FW
4072015-05-18 Florian Weimer <fweimer@redhat.com>
408
409 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
410 (_IO_JUMPS_FILE_plus): New.
411 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
412 _IO_CAST_FIELD_ACCESS.
413 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
414 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
415 * libio/freopen.c (freopen): Likewise.
416 * libio/freopen64.c (freopen64): Likewise.
417 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
418 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
419 * libio/iofwide.c (_IO_fwide): Likewise.
420 * libio/memstream.c (open_memstream): Likewise.
421 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
422 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
423 * libio/oldiopopen.c (_IO_old_popen): Likewise.
424
9d12d765
JM
4252015-05-21 Joseph Myers <joseph@codesourcery.com>
426
9124ccf7
JM
427 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
428 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
429 NADJ.
430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
431 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
432 NADJ.
433 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
434 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
435 NADJ.
436
89f3b6e1
JM
437 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
438 (p == 4) case.
439
9d12d765
JM
440 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
441 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
442 Remove variable.
443 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
444 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
445 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
446
0f87de79
FW
4472015-05-21 Florian Weimer <fweimer@redhat.com>
448
449 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
450 Adjust jump table label generation macros.
451
f8194fa6
FW
4522015-05-21 Florian Weimer <fweimer@redhat.com>
453
454 * stdio-common/vfprintf.c (vfprintf): Move local variables
455 args_malloced, specs, specs_malloced, and the code after
456 do_positional to the printf_positional function.
457 (printf_positional): New function.
458
f0f98189
FW
4592015-05-21 Florian Weimer <fweimer@redhat.com>
460
461 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
462 function.
463 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
464 STEP4_TABLE, process_arg): Move macro definitions
465 out of the vfprintf function. (Cosmetic change only.)
466
608f8971
CD
4672015-05-21 Carlos O'Donell <carlos@redhat.com>
468
469 * benchtests/Makefile (stdio-common-bench): Define.
470 (benchset): Add stdio-common-bench.
471 * sprintf-inputs: New file.
472 * sprintf-source.c: New file.
473
2212c142
AS
4742015-05-21 Andreas Schwab <schwab@suse.de>
475
476 [BZ #13028]
477 [BZ #17053]
478 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
479 of struct __res_state.
480 * resolv/res_send.c (__libc_res_nsend): Likewise.
481 (get_nsaddr): New function.
482 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
483 statp directly.
484
be8b8f17
JM
4852015-05-20 Joseph Myers <joseph@codesourcery.com>
486
f5857378
JM
487 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
488 -D_POSIX_C_SOURCE=199506L.
489
38d3d5b7
JM
490 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
491
be8b8f17
JM
492 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
493 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
494 Do not mention otherwise.
495 [POSIX] (_XOPEN_VERSION): Do not expect.
496 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
497 [POSIX] (_POSIX2_C_BIND): Likewise.
498 [POSIX] (_POSIX2_VERSION): Likewise.
499 [POSIX] (_XOPEN_XPG2): Likewise.
500 [POSIX] (_XOPEN_XPG3): Likewise.
501 [POSIX] (_XOPEN_XPG4): Likewise.
502 [POSIX] (_XOPEN_UNIX): Likewise.
503 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
504 [POSIX] (_POSIX_BARRIERS): Likewise.
505 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
506 [POSIX] (_POSIX_CPUTIME): Likewise.
507 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
508 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
509 [POSIX] (_POSIX_SHELL): Likewise.
510 [POSIX] (_POSIX_SPAWN): Likewise.
511 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
512 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
513 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
514 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
515 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
516 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
517 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
518 [POSIX] (_XBS5_LP64_OFF64): Likewise.
519 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
520 [POSIX] (_POSIX_TIMEOUTS): Likewise.
521 [POSIX] (_POSIX2_PBS): Likewise.
522 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
523 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
524 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
525 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
526 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
527 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
528 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
529 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
530 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
531 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
532 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
533 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
534 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
535 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
536 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
537 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
538 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
539 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
540 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
541 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
542 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
543 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
544 [POSIX] (_SC_2_C_BIND): Likewise.
545 [POSIX] (_SC_2_C_VERSION): Likewise.
546 [POSIX] (_SC_2_PBS): Likewise.
547 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
548 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
549 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
550 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
551 [POSIX] (_SC_2_PBS_TRACK): Likewise.
552 [POSIX] (_SC_ATEXIT_MAX): Likewise.
553 [POSIX] (_SC_BARRIERS): Likewise.
554 [POSIX] (_SC_BASE): Likewise.
555 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
556 [POSIX] (_SC_DEVICE_IO): Likewise.
557 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
558 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
559 [POSIX] (_SC_FD_MGMT): Likewise.
560 [POSIX] (_SC_FIFO): Likewise.
561 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
562 [POSIX] (_SC_FILE_LOCKING): Likewise.
563 [POSIX] (_SC_FILE_SYSTEM): Likewise.
564 [POSIX] (_SC_IOV_MAX): Likewise.
565 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
566 [POSIX] (_SC_NETWORKING): Likewise.
567 [POSIX] (_SC_PAGE_SIZE): Likewise.
568 [POSIX] (_SC_PASS_MAX): Likewise.
569 [POSIX] (_SC_PIPE): Likewise.
570 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
571 [POSIX] (_SC_REGEXP): Likewise.
572 [POSIX] (_SC_SHELL): Likewise.
573 [POSIX] (_SC_SIGNALS): Likewise.
574 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
575 [POSIX] (_SC_SPIN_LOCKS): Likewise.
576 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
577 [POSIX] (_SC_USER_GROUPS): Likewise.
578 [POSIX] (_SC_USER_GROUPS_R): Likewise.
579 [POSIX] (_SC_STREAMS): Likewise.
580 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
581 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
582 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
583 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
584 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
585 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
586 [POSIX] (_PC_FILESIZEBITS): Likewise.
587 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
588 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
589 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
590 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
591 [POSIX] (uid_t): Likewise.
592 [POSIX] (gid_t): Likewise.
593 [POSIX] (off_t): Likewise.
594 [POSIX] (pid_t): Likewise.
595 [POSIX] (cuserid): Allow.
596 (_SC_2_CHAR_TERM): Require constant.
597 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
598 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
599 variable.
600
5e2aa9a4
RM
6012015-05-20 Roland McGrath <roland@hack.frob.com>
602
7cea6212
RM
603 * sysdeps/nacl/pthread-pids.h: New file.
604 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
605 (create_thread): Use __nacl_get_tid to initialize PD->tid.
606
607 * nptl/pthread-pids.h: New file.
608 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
609 * nptl/nptl-init.c: Include <pthread-pids.h>.
610 (__pthread_initialize_minimal_internal):
611 Call __pthread_initialize_pids instead of set_tid_address syscall.
612
5e2aa9a4
RM
613 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
614 * sysdeps/posix/usleep.c: ... here.
615
96dffc26
AZ
6162015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
617
618 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
619 call_pselect6 object.
620 [$(subdir) = io]: Remove call_sync_file_range object.
621 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
622 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
623 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
624 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
625
5be91118
WD
6262015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
627
628 * math/s_cproj.c: Add include "math_private.h".
629 * math/s_cprojf.c: Likewise.
630 * math/s_cprojl.c: Likewise.
631
526af541
JM
6322015-05-19 Joseph Myers <joseph@codesourcery.com>
633
3ce2232e
JM
634 [BZ #18244]
635 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
636 high mantissa bit when testing whether P is a NaN.
637 * math/libm-test.inc (remainder_test_data): Add more tests.
638 (remquo_test_data): Likewise.
639
526af541
JM
640 [BZ #18049]
641 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
642 below -32, return the argument, with underflow if subnormal.
643 * math/auto-libm-test-in: Add more tests of atanh.
644 * math/auto-libm-test-out: Regenerated.
645
88ed594f
RM
6462015-05-19 Roland McGrath <roland@hack.frob.com>
647
648 [BZ #18434]
649 * nptl/tst-sem15.c: New file.
650 * nptl/Makefile (tests): Add it.
651 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
652 s/<</>>/ to fix typo in EOVERFLOW check.
653 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
654
654055e0
SP
6552015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * manual/strings.texi (envz_remove): Fix typo in safety
658 annotations.
659
eb286115
SE
6602015-05-19 Paul Eggert <eggert@cs.ucla.edu>
661 Steve Ellcey <sellcey@imgtec.com>
662
663 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
664 in order to avoid strict alias warnings.
665 (iruserok_af): Ditto for ra.
666
265cbed8
JL
6672015-05-19 James Lemke <jwlemke@codesourcery.com>
668
669 [BZ #17581]
670 * malloc/hooks.c
671 (magicbyte): Convert to a function and avoid returning 0x01.
672 (mem2mem_check): Avoid using a length byte equal to the magic byte.
673 (mem2chunk_check): Fix unsigned comparisons to zero.
674 Hoist defs of sz and magic.
675
1c5df816
RH
6762015-05-19 Richard Henderson <rth@redhat.com>
677
85bae5a1
RH
678 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
679
1c5df816
RH
680 * sysdeps/alpha/fpu/libm-test-ulps: Update.
681
920d7012
SP
6822015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
683
fff94fa2
SP
684 [BZ #16159]
685 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
686 * malloc/arena.c (arena_lock): Check if arena is corrupt.
687 (reused_arena): Find a non-corrupt arena.
688 (heap_trim): Pass arena to unlink.
689 * malloc/hooks.c (malloc_check_get_size): Pass arena to
690 malloc_printerr.
691 (top_check): Likewise.
692 (free_check): Likewise.
693 (realloc_check): Likewise.
694 * malloc/malloc.c (malloc_printerr): Add arena argument.
695 (unlink): Likewise.
696 (munmap_chunk): Adjust.
697 (ARENA_CORRUPTION_BIT): New macro.
698 (arena_is_corrupt): Likewise.
699 (set_arena_corrupt): Likewise.
700 (sysmalloc): Use mmap if there are no usable arenas.
701 (_int_malloc): Likewise.
702 (__libc_malloc): Don't fail if arena_get returns NULL.
703 (_mid_memalign): Likewise.
704 (__libc_calloc): Likewise.
705 (__libc_realloc): Adjust for additional argument to
706 malloc_printerr.
707 (_int_free): Likewise.
708 (malloc_consolidate): Likewise.
709 (_int_realloc): Likewise.
710 (_int_memalign): Don't touch corrupt arenas.
711 * malloc/tst-malloc-backtrace.c: New test case.
712
99db95db
SP
713 * Makefile (summarize-tests): Fix return value on success.
714
920d7012
SP
715 * manual/string.texi (Envz Functions): Add envz_remove.
716
46f894d8
RM
7172015-05-18 Roland McGrath <roland@hack.frob.com>
718
719 * sysdeps/posix/opendir.c: Include <stdbool.h>.
720 (invalid_name): New function, broken out of ...
721 (__opendirat): ... here. Call it.
722 (need_isdir_precheck): New function, broken out of ...
723 (__opendirat): ... here. Call it.
724 Use __fxstatat64, not __xstatat64.
725 (opendir_oflags): New function, broken out of ...
726 (__opendirat): ... here. Call it.
727 (opendir_tail): New function, broken out of ...
728 (__opendirat): ... here. Call it.
729 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
730 opendir_tail, rather than punting to __opendirat.
731 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
732
eefe64b9
SP
7332015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
734
735 * .gitignore: Ignore generated *.pyc.
736
330fadfc
AS
7372015-05-18 Arjun Shankar <arjun.is@lostca.se>
738
739 * include/stdio.h: Define __need_wint_t.
740 * test-skeleton.c: Avoid `for' loop initial declaration.
741 * nptl/tst-initializers1.c: Use test-skeleton.c.
742
b40a4e1a
AZ
7432015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
744
745 [BZ #18418]
746 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
747
ff069f02
JM
7482015-05-15 Joseph Myers <joseph@codesourcery.com>
749
8020a808
JM
750 [BZ #16352]
751 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
752 (__ieee754_atanh): Force underflow exception for results with
753 small absolute value.
754 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
755 (__ieee754_atanhf): Force underflow exception for results with
756 small absolute value.
757 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
758 (__ieee754_atanh): Force underflow exception for results with
759 small absolute value.
760 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
761 (__ieee754_atanhf): Force underflow exception for results with
762 small absolute value.
763 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
764 (__ieee754_atanhl): Force underflow exception for results with
765 small absolute value.
766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
767 (__ieee754_atanhl): Force underflow exception for results with
768 small absolute value.
769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
770 (__ieee754_atanhl): Force underflow exception for results with
771 small absolute value.
772 * math/auto-libm-test-in: Do not allow missing underflow
773 exceptions from atanh.
774 * math/auto-libm-test-out: Regenerated.
775
5a608ccc
JM
776 [BZ #18221]
777 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
778 2**-28 as threshold for returning x or +/- 1/x.
779 * math/auto-libm-test-in: Add more tests of tan.
780 * math/auto-libm-test-out: Regenerated.
781
ff069f02
JM
782 [BZ #18220]
783 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
784 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
785 * math/auto-libm-test-in: Add another test of lgamma.
786 * math/auto-libm-test-out: Regenerated.
787
0e9be4db
WD
7882015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
789
790 * stdio-common/printf_fp.c (___printf_fp): Use abs.
791 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
792 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
793 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
794 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
795 (ADD2A): Use fabs. (SUB2A): Use fabs.
796 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
797 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
799 (log1): Use fabs. (my_log2): Use fabs.
800 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
801 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
802 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
803 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
805 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
806 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
807 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
808 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
809 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
810 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
811
fbc68f03
JM
8122015-05-15 Joseph Myers <joseph@codesourcery.com>
813
814 [BZ #18217]
815 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
816 as threshold for returning 1 - x.
817 * math/auto-libm-test-in: Add more tests of erfc.
818 * math/auto-libm-test-out: Regenerated.
819
0b7a5f92
JM
8202015-05-14 Joseph Myers <joseph@codesourcery.com>
821
9a71f1fc
JM
822 [BZ #18196]
823 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
824 threshold for large arguments.
825 * math/auto-libm-test-in: Add another test of atan.
826 * math/auto-libm-test-out: Regenerated.
827
0b7a5f92
JM
828 [BZ #16339]
829 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
830 (__log1p): Force underflow exception for results with small
831 absolute value.
832 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
833 (__log1pf): Force underflow exception for results with small
834 absolute value.
835 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
836 (__log1p): Force underflow exception for results with small
837 absolute value.
838 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
839 (__log1pf): Force underflow exception for results with small
840 absolute value.
841 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
842 (__log1pl): Force underflow exception for results with small
843 absolute value.
844 * math/auto-libm-test-in: Do not allow missing underflow
845 exceptions from log1p.
846 * math/auto-libm-test-out: Regenerated.
847
95b07fbc
AZ
8482015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
849 Adhemerval Zanella <adhemerval.zanella@linaro.org>
850
b2fb2524 851 [BZ #16704]
95b07fbc
AZ
852 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
853
ee971601
AS
8542015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
855
5695d46f
AS
856 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
857 (libmvec): New variable.
858 * configure.ac: Added option for mathvec build.
859 * configure: Regenerated.
860 * mathvec/Depend: New file.
861 * mathvec/Makefile: New file.
862 * shlib-versions: Added libmvec.
863 * math/Makefile: Added rule for libm.so installation.
864
202d48da
AS
865 * bits/math-vector.h: New file.
866 * bits/libm-simd-decl-stubs.h: New header.
867 * math/Makefile (headers): Added new header
868 libm-simd-decl-stubs.h.
869 * math/math.h (__MATHCALL_VEC): New macro.
870
58c50f06
AS
871 * math/gen-libm-have-vector-test.sh: Script generates series of macros
872 for conditions in testing functions.
873 * math/Makefile: Added call of libm-have-vector-test.sh.
874 * math/libm-test.inc (HAVE_VECTOR): New macros.
875
a6cdcd75
AS
876 * math/libm-test.inc: START refactored.
877 * math/test-double.c (TEST_MATHVEC): Add define.
878 * math/test-float.c: Likewise.
879 * math/test-idouble.c: Likewise.
880 * math/test-ifloat.c: Likewise.
881 * math/test-ildoubl.c: Likewise.
882 * math/test-ldouble.c: Likewise.
883 * sysdeps/generic/math-tests-arch.h
884 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
885 architecture check.
886
ee971601
AS
887 * math/test-double.c (FUNC_TEST): New macro.
888 * math/test-float.c: Likewise.
889 * math/test-idouble.c: Likewise.
890 * math/test-ifloat.c: Likewise.
891 * math/test-ildoubl.c: Likewise.
892 * math/test-ldouble.c: Likewise.
893 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
894
b88a18e1
RM
8952015-05-13 Roland McGrath <roland@hack.frob.com>
896
9e4ec74f
RM
897 * sysdeps/nacl/fdopendir.c: New file.
898
95341673 899 * dirent/scandir-tail.c: New file.
d2ee815a
RM
900 * dirent/scandir64-tail.c: New file.
901 * dirent/Makefile (routines): Add them.
95341673 902 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
903 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
904 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
905 [!SCANDIR] (SCANDIR_TAIL): New macro.
906 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
907 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
908 (SCANDIRAT): Macro removed.
909 (SCANDIR_TAIL): New macro.
910 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
911 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
912 (SCANDIRAT): Just call __opendirat and __scandir_tail.
913 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
914 (READDIR): Macro removed.
915 (SCANDIR_TAIL): New macro.
916 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
917 (SCANDIR_TAIL): New macro.
918
83c10893
RM
919 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
920 * dirent/scandir-cancel.c: ... to this new file.
921 * dirent/Makefile (routines): Add it.
922 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
923 * sysdeps/unix/sysv/linux/i386/scandir64.c
924 (SKIP_SCANDIR_CANCEL): Macro removed.
925 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
926
b88a18e1
RM
927 * dirent/tst-scandir.c: New file.
928 * dirent/tst-scandir64.c: New file.
929 * dirent/Makefile (tests): Add them.
930
d9efd775
L
9312015-05-13 H.J. Lu <hongjiu.lu@intel.com>
932
933 [BZ #18409]
934 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
935
265a9b73
SN
9362015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
937
938 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
939 list.
940
60ccaf75
LH
9412015-05-13 Leonhard Holz <leonhard.holz@web.de>
942
943 * benchtests/bench-strcoll.c: New benchmark.
944 * benchtests/Makefile: Generate locales and run benchmark.
945 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
946 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
947 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
948 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
949 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
950 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
951 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
952 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
953 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
954 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
955 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
956 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
957 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
958 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
959 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
960 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
961 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
962 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
963 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
964 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
965 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
966 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
967 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
968 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
969
0f4840be
OB
9702015-05-12 Ondřej Bílka <neleai@seznam.cz>
971
972 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
973 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
974
7327b333
RM
9752015-05-12 Roland McGrath <roland@hack.frob.com>
976
977 * posix/uname-values.h: New file.
978 * posix/uname.c: Include that instead of <config-name.h>.
979 * sysdeps/nacl/uname-values.h: New file.
980 * sysdeps/arm/nacl/uname-values.h: New file.
981
8e65ea4d
JM
9822015-05-12 Joseph Myers <joseph@codesourcery.com>
983
984 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
985 splitting into fields.
986
a964c6e4 9872015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
988
989 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
990 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
991 * locale/localeinfo.h: Add enum collation_encoding_type.
992 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
993 * programs/ld-collate.c (collate_output): Add encoding type info.
994 * string/strcoll_l.c (STRDIFF): New function.
995 * (STRCOLL): Use STRDIFF to skip over equal prefix.
996 * wcsmbs/wcscoll_l.c: Define STRDIFF.
997
34cb304e
JM
9982015-05-11 Joseph Myers <joseph@codesourcery.com>
999
1000 [BZ #18397]
1001 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1002 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1003 <fpu_control.h> instead of <math/fpu_control.c>.
1004 * sysdeps/mips/mips32/fpu/Makefile: New file.
1005
b13b96ca
AS
10062015-05-11 Andreas Schwab <schwab@suse.de>
1007
1008 [BZ #18007]
1009 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1010 nss_endgrent.
1011 (_nss_compat_endgrent): Call nss_endgrent.
1012 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1013 nss_endpwent.
1014 (_nss_compat_endpwent): Call nss_endpwent.
1015 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1016 needent, call nss_setspent only if non-zero.
1017 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1018 (internal_endspent): Don't call nss_endspent.
1019 (_nss_compat_endspent): Call nss_endspent.
1020 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1021 Remove. All uses removed.
1022 (internal_setent): Remove parameter stayopen, add parameter
1023 stream. Use it instead of global variable.
1024 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1025 (internal_endent, internal_getent): Add parameter stream. Use it
1026 instead of global variable.
1027 (CONCAT(_nss_files_end,ENTNAME))
1028 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1029 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1030 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1031 uses removed.
1032 (internal_setent, internal_endent): Add parameter stream. Use it
1033 instead of global variable.
1034 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1035 stream.
1036 (get_next_alias): Add parameter stream.
1037 (_nss_files_getaliasent_r): Pass global stream.
1038 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1039 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1040 (_nss_files_gethostbyname4_r): Pass local stream to
1041 internal_setent, internal_getent and internal_endent. Remove
1042 locking.
1043
e1b6cb04
SL
10442015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1045
1046 * tst-strfmon1.c (tests): Update expected currency symbol.
1047
c4c977c6
RM
10482015-05-08 Roland McGrath <roland@hack.frob.com>
1049
1050 * sysdeps/nacl/gethostname.c: New file.
1051
14f36098
JM
10522015-05-08 Joseph Myers <joseph@codesourcery.com>
1053
1054 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1055 and sinh.
1056 * math/auto-libm-test-out: Regenerated.
1057 * sysdeps/i386/fpu/libm-test-ulps: Update.
1058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1059
c92d40c0
CD
10602015-05-08 Carlos O'Donell <carlos@redhat.com>
1061
1062 [BZ #18125]
1063 * stdlib/tst-setcontext3.c: New file.
1064 * stdlib/tst-setcontext3.sh: New file.
1065 * stdlib/Makefile (tests): Add tst-setcontext3.
1066 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1067 to verify test program created output file.
1068 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1069 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1070 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1071 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1072
48276b67
RM
10732015-05-06 Roland McGrath <roland@hack.frob.com>
1074
b5fe8ec8
RM
1075 [BZ #18383]
1076 * elf/tst-tlsalign.c: New file.
1077 * elf/tst-tlsalign-static.c: New file.
1078 * elf/tst-tlsalign-lib.c: New file.
1079 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1080 (tests-static): Add tst-tlsalign-static.
1081 (modules-names): Add tst-tlsalign-lib.
1082 (test-xfail-tst-tlsalign): New variable.
1083 (test-xfail-tst-tlsalign-static): New variable.
1084
48276b67
RM
1085 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1086 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1087
471dffa1
JM
10882015-05-06 Joseph Myers <joseph@codesourcery.com>
1089
1090 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1091 csqrt, erfc, sin and sincos.
1092 * math/auto-libm-test-out: Regenerated.
1093 * sysdeps/i386/fpu/libm-test-ulps: Update.
1094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1095
eda361c8
WD
10962015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1097
1098 * sysdeps/aarch64/libm-test-ulps: Update.
1099
31450d9a
JM
11002015-05-05 Joseph Myers <joseph@codesourcery.com>
1101
1102 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1103 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1104 * math/auto-libm-test-out: Regenerated.
1105 * sysdeps/i386/fpu/libm-test-ulps: Update.
1106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1107
a6ab6ccd
DM
11082015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1109
1110 [BZ #18265]
1111 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1112 (wcsncpy): Likewise.
1113
d0ccd0d9
FW
11142015-05-05 Florian Weimer <fweimer@redhat.com>
1115
1116 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1117 Assume __ASSUME_FALLOCATE is always true.
1118 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1119 (__posix_fallocate64_l64): Likweise.
1120 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1121 (posix_fallocate): Likewise.
1122 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1123 (__posix_fallocate64_l64): Likewise.
1124 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1125 [!__ASSUME_FALLOCATE]: Add comment.
1126
4bd40bcf
FW
11272015-05-05 Florian Weimer <fweimer@redhat.com>
1128
1129 * sysdeps/unix/sysv/linux/i386/Makefile
1130 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1131 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1132 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1133 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1134 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1135 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1136 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1137
305392ea
JM
11382015-05-02 Joseph Myers <joseph@codesourcery.com>
1139
1140 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1141 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1142 tgamma.
1143 * math/auto-libm-test-out: Regenerated.
1144 * sysdeps/i386/fpu/libm-test-ulps: Update.
1145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1146
a0d31f36
JM
11472015-05-01 Joseph Myers <joseph@codesourcery.com>
1148
51e15247
JM
1149 * math/auto-libm-test-in: Add more tests of tgamma.
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
5ffb9a53
JM
1154 * math/auto-libm-test-in: Add more tests of tanh.
1155 * math/auto-libm-test-out: Regenerated.
1156 * sysdeps/i386/fpu/libm-test-ulps: Update.
1157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1158
0957e15d
JM
1159 * math/auto-libm-test-in: Add more tests of tan.
1160 * math/auto-libm-test-out: Regenerated.
1161 * sysdeps/i386/fpu/libm-test-ulps: Update.
1162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1163
827bb585
JM
1164 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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
86793ae7
JM
1169 * math/auto-libm-test-in: Add another test of pow.
1170 * math/auto-libm-test-out: Regenerated.
1171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1172
038e4be9
JM
1173 * math/auto-libm-test-in: Add more tests of lgamma.
1174 * math/auto-libm-test-out: Regenerated.
1175 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1177
a0d31f36
JM
1178 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1179 log1p.
1180 * math/auto-libm-test-out: Regenerated.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1183
b4336ba4
MW
11842015-05-01 Mark Wielaard <mjw@redhat.com>
1185
1186 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1187 Elf64_Chdr structs and ELFCOMPRESS constants.
1188
c5a3a509
JM
11892015-05-01 Joseph Myers <joseph@codesourcery.com>
1190
e1483b36
JM
1191 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1192 expm1.
1193 * math/auto-libm-test-out: Regenerated.
1194 * sysdeps/i386/fpu/libm-test-ulps: Update.
1195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1196
c5a3a509
JM
1197 * math/auto-libm-test-in: Add more tests of erf and erfc.
1198 * math/auto-libm-test-out: Regenerated.
1199 * sysdeps/i386/fpu/libm-test-ulps: Update.
1200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1201
44cb254f
SN
12022015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1203
1204 * config.h.in (HAVE_AARCH64_BE): Add.
1205
0833cecd
JM
12062015-04-30 Joseph Myers <joseph@codesourcery.com>
1207
9862ab1f
JM
1208 * math/auto-libm-test-in: Add more tests of csqrt.
1209 * math/auto-libm-test-out: Regenerated.
1210 * sysdeps/i386/fpu/libm-test-ulps: Update.
1211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1212
094fca83
JM
1213 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1214 * math/auto-libm-test-out: Regenerated.
1215 * sysdeps/i386/fpu/libm-test-ulps: Update.
1216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1217
0833cecd
JM
1218 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1219
314647f7
RM
12202015-04-29 Roland McGrath <roland@hack.frob.com>
1221
45c2c564
RM
1222 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1223 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1224
3600cf1e
RM
1225 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1226 (euidaccess, eaccess): Define as weak aliases.
1227
314647f7
RM
1228 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1229 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1230 but __suseconds_t is often 'long int' so some sources assume that
1231 type is being used (e.g. they use %ld to print tv_usec).
1232
03d2730b
FW
12332015-04-29 Florian Weimer <fweimer@redhat.com>
1234
1235 [BZ #18007]
1236 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1237 (CVE-2014-8121)
1238 * nss/tst-nss-getpwent.c: New file.
1239 * nss/Makefile (tests): Add new test.
1240
7d0b2575
JM
12412015-04-28 Joseph Myers <joseph@codesourcery.com>
1242
1243 [BZ #18346]
1244 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1245 exponents less than 48 as cases where high part of mantissa needs
1246 examining to determine whether argument is integral.
1247 * math/libm-test.inc (round_test_data): Add more tests.
1248
fb4041ae
MW
12492015-04-28 Mark Wielaard <mjw@redhat.com>
1250
1251 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1252
3f2e21e9
DM
12532015-04-27 David S. Miller <davem@davemloft.net>
1254
1255 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1256 __tls_get_addr.
1257 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1258
5cffc05e
L
12592015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1260
1261 [BZ#18333]
1262 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1263
cc8dcf96
FW
12642015-04-27 Florian Weimer <fweimer@redhat.com>
1265
1266 [BZ#18333]
1267 * time/tzset.c (parse_tzname): Return error on memory allocation
1268 failure.
1269 * test-skeleton.c (struct temp_name_list): Change type of name
1270 member to non-const.
1271 (add_temp_file): Create a copy of the file name.
1272 (delete_temp_files): Deallocate memory.
1273 (create_temp_file): Add comment.
1274
2dd6ee79
FW
12752015-04-24 Florian Weimer <fweimer@redhat.com>
1276
1277 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1278 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1279
c25fec6f
RM
12802015-04-24 Roland McGrath <roland@hack.frob.com>
1281
1282 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1283 * sysdeps/arm/configure: Regenerated.
1284
42261ad7
FW
12852015-04-24 Florian Weimer <fweimer@redhat.com>
1286
1287 [BZ #17715]
1288 * time/tzfile.c (__tzfile_read): Check for large values of
1289 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1290 * time/tzset.c (__tzstring_len): New function, based on the old
1291 __tzstring function.
1292 (__tzstring): Call __tzstring_len.
1293 (parse_tzname): New helper function extracted from
1294 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1295 the input string.
1296 (parse_offset): New helper function extracted from
1297 __tzset_parse_tz. Replace switch with fallthrough with
1298 initialization before sscanf.
1299 (parse_rule): Likewise.
1300 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1301 new-style function definition.
1302 * timezone/Makefile (tests): Add tst-tzset.
1303 (tst-tzset.out): Dependencies on time zone files.
1304 (tst-tzset-ENV): Set TZDIR.
1305 (testdata/XT%): Copy crafted time zone files.
1306 * timezone/README: Mention crafted time zone files.
1307 * timezone/testdata/XT1, timezone/testdata/XT2,
1308 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1309 files.
1310 * timezone/tst-tzset.c: New test.
1311
ed159672
FW
13122015-04-24 Florian Weimer <fweimer@redhat.com>
1313
1314 * Makeconfig (+gccwarn): Remove -Winline.
1315
8666ab5c
SL
13162015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1317
1318 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1319
f7fba805
SL
13202015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1321
1322 * NEWS: Mention sysconf() cache information support for s390.
1323 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1324
92f28979
WD
13252015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1326
1327 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1328 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1329 (__nearbyint): Likewise.
1330 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1331 (copysignl): Likewise.
1332
2959eda9
AS
13332015-04-21 Arjun Shankar <arjun.is@lostca.se>
1334
1335 [BZ #18287]
1336 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1337 based on padding. (CVE-2015-1781)
1338
7bf8fb10
AZ
13392015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1340
1341 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1342 libc-vdso.h.
1343 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1344 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1345 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1346 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1347 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1348 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1350 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1354 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1355 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1356 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1357 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1358 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1359 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1360 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1361 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1362 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1363 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1364 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1365 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1366
03c1e456
PE
13672015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1368
1369 * stdlib/setenv.c (__add_to_environ):
1370 Dump core quickly if setenv (..., NULL, ...) is called.
1371 This time, do it the right way, and pacify GCC with a pragma.
1372
328c44c3
RM
13732015-04-17 Roland McGrath <roland@hack.frob.com>
1374
2bd2cad9
RM
1375 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1376 IMAP->l_prev cannot be null, and #if out the code for the contrary
1377 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1378 believe that NS (&_dl_ns[NSID]) could point outside the array.
1379
328c44c3
RM
1380 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1381 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1382 before using NSID as an index.
1383
aa4980fc
DM
13842015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1385
1386 [BZ #17825]
1387 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1388 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1389 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1390
d1e44df1
RM
13912015-04-17 Roland McGrath <roland@hack.frob.com>
1392
1393 Add preliminary port to Google Native Client on ARM.
1394 * abi-tags (.*-.*-nacl.*): New entry.
1395 * sysdeps/arm/nacl: New directory.
1396 * sysdeps/nacl: New directory.
1397
f7092599
DM
13982015-04-16 David S. Miller <davem@davemloft.net>
1399
1400 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1401 lowlevellock-futex.h
1402
da6989f9
CM
14032015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1404
1405 * sysdeps/tile/configure.ac: New file.
1406 * sysdeps/tile/configure: Regenerated.
1407
fb78612a
AZ
14082015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1409
1410 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1411 conditionals for weak_alias and libc_hidden_weak.
1412 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1413 libc_hidden_weak and weak_alias.
1414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1415 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1416 and weak_alias for static one.
1417
a8b6a3a6
DM
14182015-04-15 David S. Miller <davem@davemloft.net>
1419
1420 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1421
920a0395
SL
14222015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1423
1424 [BZ #18206]
1425 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1426 Use signed comparision instead of substraction to avoid
1427 overflow bug.
1428 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1429 Take the sign of ret.
1430 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1431 Do not expect precise return values. Only the sign matters.
1432 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1433 * wcsmbs/test-wcsncmp.c: New File.
1434 * string/test-strncmp.c: Add wcsncmp support.
1435
de8aadd5
SL
14362015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1437
1438 [BZ #6792]
1439 * math/w_log1p.c: New file.
1440 * math/w_log1pf.c: Likewise.
1441 * math/w_log1pl.c: Likewise.
1442 * math/Makefile (libm-calls): Add w_log1p.
1443 * math/s_log1pl.c (log1pl): Remove weak_alias.
1444 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1445 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1446 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1447 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1448 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1449 [NO_LONG_DOUBLE] (log1pl): Likewise.
1450 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1451 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1452 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1453 (log1p): Remove long_double_symbol.
1454 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1455 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1456 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1457 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1458 remove weak_alias for corresponding log1p function.
1459 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1460 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1461 * sysdeps/ia64/fpu/w_log1p.c: New file.
1462 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1463 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1464 * math/libm-test.inc (log1p_test_data): Add errno expectations.
1465
5556d30c
JM
14662015-04-10 Joseph Myers <joseph@codesourcery.com>
1467
1468 [BZ #18247]
1469 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1470 decimal exponent by 1.
1471 * stdlib/tst-strtod-round-data: Add more tests.
1472 * stdlib/tst-strtod-round.c (tests): Regenerated.
1473
b3c66c53
JM
14742015-04-09 Joseph Myers <joseph@codesourcery.com>
1475
1476 * math/auto-libm-test-in: Add more tests of clog and clog10.
1477 * math/auto-libm-test-out: Regenerated.
1478 * sysdeps/i386/fpu/libm-test-ulps: Update.
1479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1480
b0b88abc
RM
14812015-04-09 Roland McGrath <roland@hack.frob.com>
1482
8a257e2c
RM
1483 * Makeconfig (module-cppflags): Exclude all .v.i files.
1484 (skip-module-cppflags): Variable removed.
1485
05439291
RM
1486 * configure.ac (libc_config_ok): Initialize before reading
1487 preconfigure scripts, not after.
1488 * configure: Regenerated.
1489
b0b88abc
RM
1490 * test-skeleton.c (TIMEOUT): Move #define to top level.
1491 (main): Grok environment variable TEST_DIRECT. If set, print
1492 test expectation details into that file and then behave as if
1493 given --direct.
1494
2902af16
FW
14952015-04-09 Florian Weimer <fweimer@redhat.com>
1496
1497 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1498 warning on 32-bit.
1499
23ebf743
DM
15002015-04-08 David S. Miller <davem@davemloft.net>
1501
1502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1503
024bcc51
JM
15042015-04-08 Joseph Myers <joseph@codesourcery.com>
1505
787d22bc
JM
1506 * math/auto-libm-test-in: Add more tests of atanh.
1507 * math/auto-libm-test-out: Regenerated.
1508 * sysdeps/i386/fpu/libm-test-ulps: Update.
1509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1510
024bcc51
JM
1511 * math/auto-libm-test-in: Add more tests of atan.
1512 * math/auto-libm-test-out: Regenerated.
1513 * sysdeps/i386/fpu/libm-test-ulps: Update.
1514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1515
7b8399f4
FW
15162015-04-08 Florian Weimer <fweimer@redhat.com>
1517
1518 * elf/pldd.c (main): Rewrite to use struct
1519 scratch_buffer instead of extend_alloca.
1520 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
1521 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1522 <alloca.h>.
1523 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1524 scratch_buffer instead of extend_alloca.
1525 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1526 grp/compat-initgroups.c.
794a74af
FW
1527 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1528 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 1529 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 1530 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 1531
ae63c7eb
JM
15322015-04-08 Joseph Myers <joseph@codesourcery.com>
1533
da0cf658
JM
1534 * math/auto-libm-test-in: Add more tests of cbrt.
1535 * math/auto-libm-test-out: Regenerated.
1536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1537
80352c01
JM
1538 * math/auto-libm-test-in: Add more tests of cabs.
1539 * math/auto-libm-test-out: Regenerated.
1540 * sysdeps/i386/fpu/libm-test-ulps: Update.
1541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1542
8431838d
JM
1543 [BZ #18210]
1544 [BZ #18211]
1545 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1546 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1547 computations.
1548 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1549 clog10.
1550 * math/auto-libm-test-out: Regenerated.
1551 * sysdeps/i386/fpu/libm-test-ulps: Update.
1552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1553
ae63c7eb
JM
1554 [BZ #18197]
1555 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1556 (atan): Set FE_TONEAREST mode for internal computations.
1557 * math/auto-libm-test-in: Add more tests of atan.
1558 * math/auto-libm-test-out: Regenerated.
1559
d5856d06
JC
15602015-04-07 James Cowgill <james410@cowgill.org.uk>
1561
1562 [BZ #17930]
1563 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1564
72301304
FW
15652015-04-07 Florian Weimer <fweimer@redhat.com>
1566
1567 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1568
cfcfd461
FW
15692015-04-07 Florian Weimer <fweimer@redhat.com>
1570
1571 * include/scratch_buffer.h: New file.
1572 * malloc/scratch_buffer_grow.c: Likewise.
1573 * malloc/scratch_buffer_grow_preserve.c: Likewise.
1574 * malloc/scratch_buffer_set_array_size.c: Likewise.
1575 * malloc/tst-scratch_buffer.c: Likewise.
1576 * malloc/Makefile (routines): Add scratch_buffer_grow.
1577 (tests): Add test case.
1578 * malloc/Versions (GLIBC_PRIVATE): Export
1579 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1580 __libc_scratch_buffer_set_array_size.
1581
cc47c824
RH
15822015-04-06 Richard Henderson <rth@redhat.com>
1583
1584 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 1585 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 1586
9e8c0381
RH
1587 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1588 unsigned int before printing.
1589
9781a370
OB
15902015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1591
1592 [BZ #17596]
1593 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1594 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1595
37d60d97
FW
15962015-04-02 Florian Weimer <fweimer@redhat.com>
1597
1598 * include/libc-internal.h (libc_max_align_t): Define.
1599
b763f6ae
AS
16002015-04-02 Andreas Schwab <schwab@suse.de>
1601
1602 [BZ #16850]
1603 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1604
c26efef9
MG
16052015-04-02 Mel Gorman <mgorman@suse.de>
1606
1607 [BZ #17195]
1608 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1609 as well as the main arena.
1610
a3d9ab50
L
16112015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1612
1613 [BZ #18185]
1614 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1615 sharing L2 cache to 2 for Silvermont/Knights Landing.
1616
83569fb8
L
16172015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1618
1619 [BZ #17711]
1620 * config.make.in (have-protected-data): New.
1621 * configure.ac: Check linker support for protected data symbol.
1622 * configure: Regenerated.
1623 * elf/Makefile (modules-names): Add tst-protected1moda and
1624 tst-protected1modb if $(have-protected-data) is yes.
1625 (tests): Add tst-protected1a and tst-protected1b if
1626 $(have-protected-data) is yes.
1627 ($(objpfx)tst-protected1a): New.
1628 ($(objpfx)tst-protected1b): Likewise.
1629 (tst-protected1modb.so-no-z-defs): Likewise.
1630 * elf/tst-protected1a.c: New file.
1631 * elf/tst-protected1b.c: Likewise.
1632 * elf/tst-protected1mod.h: Likewise.
1633 * elf/tst-protected1moda.c: Likewise.
1634 * elf/tst-protected1modb.c: Likewise.
1635
62da1e3b
L
16362015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 [BZ #17711]
1639 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1640 indicates it is called from do_lookup_x on relocation against
1641 protected data, skip the data definion in the executable from
1642 copy reloc.
1643 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1644 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1645 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1646 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1647 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1648 otherwise to 0.
1649 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1650 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1651 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1652 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1653 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1654 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1655
675ddb71
MG
16562015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
1657
1658 * sysdeps/nptl/pthread.h: Remove duplicate definition of
1659 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1660
4d611e12
MG
16612015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
1662
1663 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1664 THREAD_SETMEM_NC.
1665 * sysdeps/x86_64/nptl/tls.h: Ditto.
1666
7285eb53
RM
16672015-03-27 Roland McGrath <roland@hack.frob.com>
1668
1669 * dlfcn/tststatic.c (main): Converted to ...
1670 (do_test): ... this.
1671 (TEST_FUNCTION): New macro.
1672 Include test-skeleton.c.
1673
19a6a3ac
AM
16742015-03-26 Alan Modra <amodra@gmail.com>
1675
1676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1677 Don't segfault if ifunc resolver returns a NULL. Do set plt to
1678 zero for undefined weak.
1679 (elf_machine_plt_conflict): Similarly.
1680
a9fe4c5a
JM
16812015-03-25 Joseph Myers <joseph@codesourcery.com>
1682
efd5b641
JM
1683 * math/auto-libm-test-in: Add more tests of acosh, asinh and
1684 atanh.
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
e9b10151
JM
1689 * math/auto-libm-test-in: Add another test of asin.
1690 * math/auto-libm-test-out: Regenerated.
1691 * sysdeps/i386/fpu/libm-test-ulps: Update.
1692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1693
9fa55373
JM
1694 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1695 Remove macro.
1696 (LLL_EBX_REG): Likewise.
1697 (LLL_ENTER_KERNEL): Likewise.
1698
38755f14
JM
1699 * math/auto-libm-test-in: Add more tests of asin.
1700 * math/auto-libm-test-out: Regenerated.
1701 * sysdeps/i386/fpu/libm-test-ulps: Update.
1702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1703
a9fe4c5a
JM
1704 [BZ #18138]
1705 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1706 libc_do_syscall_args): New structure.
1707 (INTERNAL_SYSCALL_MAIN_0): New macro.
1708 (INTERNAL_SYSCALL_MAIN_1): Likewise.
1709 (INTERNAL_SYSCALL_MAIN_2): Likewise.
1710 (INTERNAL_SYSCALL_MAIN_3): Likewise.
1711 (INTERNAL_SYSCALL_MAIN_4): Likewise.
1712 (INTERNAL_SYSCALL_MAIN_5): Likewise.
1713 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
1714 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1715 Replace conditional definitions by conditional definitions of ....
1716 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
1717 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1718 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1719 (libpthread-sysdep_routines): Add libc-do-syscall.
1720 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1721 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1722 to __NR_futex not 240.
1723
afcd9480
AM
17242015-03-25 Alan Modra <amodra@gmail.com>
1725
1726 * NEWS: Advertise TLS optimization.
1727 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1728 (DT_PPC_NUM): Increment.
1729 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1730 (CHECK_STATIC_TLS): Use here.
1731 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1732 TLS descriptors.
1733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1734 * sysdeps/powerpc/dl-tls.c: New file.
1735 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1736 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1737 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1738 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1742
da9f3334
AM
17432015-03-25 Alan Modra <amodra@gmail.com>
1744
1745 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1746 for overlapping .opd entries" to "support...".
1747 * sysdeps/powerpc/powerpc64/configure: Regenerate
1748
bc899ea0
JM
17492015-03-25 Joseph Myers <joseph@codesourcery.com>
1750
8d643971
JM
1751 * math/auto-libm-test-in: Add more tests of acos.
1752 * math/auto-libm-test-out: Regenerated.
1753 * sysdeps/i386/fpu/libm-test-ulps: Update.
1754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1755
bc899ea0
JM
1756 * math/auto-libm-test-in: Add more tests of expm1.
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
7c84a504
JM
17612015-03-24 Joseph Myers <joseph@codesourcery.com>
1762
239ed6f3
JM
1763 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1764 * math/auto-libm-test-out: Regenerated.
1765 * sysdeps/i386/fpu/libm-test-ulps: Update.
1766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1767
a737e826
JM
1768 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1770
7c84a504
JM
1771 * math/auto-libm-test-in: Add more tests of log2.
1772 * math/auto-libm-test-out: Regenerated.
1773 * sysdeps/i386/fpu/libm-test-ulps: Update.
1774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1775
7e9c7b9b
RM
17762015-03-23 Roland McGrath <roland@hack.frob.com>
1777
1778 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1779 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
1780 _IO_IS_APPENDING bit in READ_WRITE instead.
1781
98734cc5
FW
17822015-03-23 Florian Weimer <fweimer@redhat.com>
1783
1784 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1785 (__determine_cpumask_size): Replace extend_alloca with a
1786 variable-length array. Do not treat res == 0 as an error.
1787
2b028564
FW
17882015-03-23 Florian Weimer <fweimer@redhat.com>
1789
1790 [BZ #18100]
1791 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1792 and integer overflow.
1793 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1794 (main): Add integer overflow tests.
1795 * manual/pattern.texi (Calling Wordexp): Document additional use
1796 for WRDE_SYNTAX.
1797
59261ad3
AM
17982015-03-23 Alan Modra <amodra@gmail.com>
1799
1800 * config.h.in: Remove HAVE_ASM_PPC_REL16.
1801 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1802 and false branch of conditional.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1804 Likewise.
1805
d583531a
ST
18062015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
1807
1808 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1809 libc-modules.h
868df0f9
ST
1810 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1811 unused declaration of _hurd_intr_rpc_msg_in_trap.
1812 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1813 defined instead of whether it is non-zero.
1814 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1815 input constraint instead of both input and output constraint. Use ecx
1816 clobber instead of %ecx.
1817 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1818 mutex_unlock): Use a statement expression instead of an expression list.
1819 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1820 type to vm_size_t instead of vm_address_t.
1821 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1822 defined instead of whether it is non-zero.
1823 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1824 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1825 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1826 comparisons with mapaddr.
1827 * nscd/nscd-client.h: Include <time.h>.
1828 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1829 9th parameter to __vm_region instead of int.
661a7dba 1830 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
1831 * scripts/check-local-headers.sh (exclude): Add device/,
1832 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1833 cthreads.h.
d583531a 1834
298e5d56
RM
18352015-03-19 Roland McGrath <roland@hack.frob.com>
1836
1837 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1838 to account for alignment padding.
1839 * sysdeps/arm/memmove.S: Likewise.
1840
becb26b8
CM
18412015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
1842
1843 * sysdeps/unix/sysv/linux/generic/README: New file.
1844
c2f5813a
JM
18452015-03-18 Joseph Myers <joseph@codesourcery.com>
1846
1847 [BZ #18138]
1848 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1849 (futex_abstimed_wait)
1850 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1851 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1852 of lll_futex_timed_wait.
1853
ed6b0fe7
BH
18542015-03-18 Brad Hubbard <bhubbard@redhat.com>
1855
1856 [BZ #17542]
1857 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1858
f8aeae34
AO
18592015-03-17 Alexandre Oliva <aoliva@redhat.com>
1860
1861 [BZ #17090]
1862 [BZ #17620]
1863 [BZ #17621]
1864 [BZ #17628]
1865 * NEWS: Update.
1866 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1867 entries with Static TLS too. Skip entries past the end of the
1868 allocated DTV, from Alan Modra.
1869 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
1870 Static TLS DTV entry set up from...
1871 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1872 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1873 * nptl/allocatestack.c (init_one_static_tls): ... and here...
1874 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1875 for Static TLS.
1876 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
1877 that the slot we find is associated with the given map before
1878 using its generation count.
1879 * nptl_db/db_info.c: Include ldsodefs.h.
1880 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1881 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1882 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1883 (link_map::l_tls_offset): New struct field.
1884 (dtv_t::counter): Likewise.
1885 (rtld_global): New struct.
1886 (_rtld_global): New rtld variable.
1887 (dl_tls_dtv_slotinfo_list): New rtld global field.
1888 (dtv_slotinfo_list): New struct.
1889 (dtv_slotinfo): Likewise.
1890 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1891 (td_lookup): Rename to...
1892 (td_mod_lookup): ... this. Use new mod parameter instead of
1893 LIBPTHREAD_SO.
1894 * nptl_db/td_thr_tlsbase.c: Include link.h.
1895 (dtv_slotinfo_list, dtv_slotinfo): New functions.
1896 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
1897 addresses even if the DTV is out of date or missing them.
1898 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1899 index zero-length arrays.
1900 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1901 (td_lookup): Make it a macro implemented in terms of...
1902 (td_mod_lookup): ... this declaration.
1903 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1904 (DB_MAIN_VARIABLE): Likewise.
1905
b97eb2bd
L
19062015-03-16 H.J. Lu <hongjiu.lu@intel.com>
1907
1908 [BZ #18134]
1909 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1910
cb219290
PE
19112015-03-15 Paul Eggert <eggert@cs.ucla.edu>
1912
1913 * stdlib/setenv.c (__add_to_environ): Revert previous change.
1914
a3905fd9
AS
19152015-03-14 Andreas Schwab <schwab@linux-m68k.org>
1916
1917 [BZ #18128]
1918 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1919 (atomic_add, atomic_increment_and_test)
1920 (atomic_decrement_and_test): Fix 64-bit arithmetic.
1921
2ecccaed
PE
19222015-03-13 Paul Eggert <eggert@cs.ucla.edu>
1923
1924 * stdlib/setenv.c (__add_to_environ):
1925 Dump core quickly if setenv (..., NULL, ...) is called.
1926
cdaf79d0
RM
19272015-03-13 Roland McGrath <roland@hack.frob.com>
1928
1929 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1930 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1931 all the necessary asm magic in one place.
1932 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1933 using those.
1934
cf9313e7
CD
19352015-03-13 Carlos O'Donell <carlos@redhat.com>
1936
1937 [BZ #14906]
1938 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1939 traced file mtime. Use consistent log message.
1940 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1941 (register_traced_file): Call install_watches. Always set mtime.
1942 (invalidate_cache): Iterate over all trace files. Call install_watches.
1943 (inotify_check_files): Don't inline. Handle watching parent
1944 directories and configuration file movement in and out.
1945 (handle_inotify_events): New function.
1946 (main_loop_poll): Call handle_inotify_events.
1947 (main_loop_epoll): Likewise.
1948 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1949 (struct traced_file): Use array of inotify fds. Add parent directory,
1950 and basename.
1951 (struct database_dyn): Remove unused file_mtime.
1952 (init_traced_file): New inline function.
1953 (define_traced_file): New macro.
1954 * nss/nss_db/db-init.c: Use define_traced_file.
1955 (_nss_db_init): Use init_traced_file.
1956 * nss/nss_files/files-init.c: Use define_traced_file.
1957 (_nss_files_init): Use init_traced_file.
1958
7d67a196
JM
19592015-03-12 Joseph Myers <joseph@codesourcery.com>
1960
1961 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1962 [_LIBC]: Do not include <stdlib.h>.
1963 [!_LIBC] (abort): Remove declaration.
1964 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1965 _FP_STATIC_ASSERT instead of conditionally calling abort.
1966 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1967 (_FP_EXTEND_CNAN): Likewise.
1968 (FP_TRUNC): Likewise.
1969 (__FP_CLZ): Likewise.
1970 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1971
af85ebcd
YS
19722015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1973
1974 * manual/string.texi (XPG basename): Fix prototype.
1975
2e807f29
SL
19762015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1977
1978 [BZ #18080]
1979 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1980 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1981 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1982 (__setcontext): Likewise.
1983 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1984 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1985 Call rt_sigprocmask syscall one time to set new signal mask
1986 and retrieve the current signal mask instead of two calls.
1987 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1988 (__swapcontext): Likewise.
1989 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1990 * stdlib/tst-setcontext2.c: New file.
1991
1b2bebe6
SL
19922015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1993
1994 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1995
6a1cf708
AJ
19962015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1997
1998 [BZ #18093]
1999 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2000 the wrong size.
2001
a2d4cf72
PP
20022015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2003
2004 [BZ #18043]
2005 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2006
5ca10a0c
AZ
20072015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2008
2009 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2010 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2011 Remove define.
2012 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2013 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2014 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2015 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2016 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2017 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2018 define.
2019 * nptl_db/td_symbol_list.c (td_lookup): Remove
2020 HAVE_ASM_GLOBAL_DOT_NAME code.
2021 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2022 HAVE_ASM_GLOBAL_DOT_NAME check.
2023 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2024 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2025 (DOT_LABEL): Remove define.
2026 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2027 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2028 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2029 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2030 (__TLS_GET_ADDR): Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2032 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2033
e4363cfb
CD
20342015-03-11 Carlos O'Donell <carlos@redhat.com>
2035
2036 [BZ #18111]
2037 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2038 (_FPU_SETCW): Initialize cw from fpsr before storing.
2039 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2040 (fesetexceptflag): Rewrite using fpu_control.h.
2041 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2042
fae1aa8d
JDA
20432015-03-11 John David Anglin <danglin@gcc.gnu.org>
2044
2045 [BZ #18110]
2046 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2047 asms.
2048 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2049
068a6274
JM
20502015-03-11 Joseph Myers <joseph@codesourcery.com>
2051
2052 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2053 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2054 abort.
2055 (_FP_FMA): Likewise.
2056 (_FP_DIV): Likewise.
2057
d3821ab0
RM
20582015-03-10 Roland McGrath <roland@hack.frob.com>
2059
44a6213c
RM
2060 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2061 with 0 in that case.
2062 * Makefile (summarize-tests): New canned sequence, factored out of
2063 commands for targets tests and xtests. Display summary lines that
2064 don't start with PASS: or XFAIL: rather than ones that do start with
2065 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2066 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2067 do start with ERROR: or FAIL:.
2068 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2069 (except for [$(build-shared) = yes]).
2070 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2071 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2072 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2073 * nptl/Makefile: Revert 2015-03-04 changes.
2074 [$(CXX) empty] (tests-unsupported): New variable.
2075 * debug/Makefile: Likewise.
2076
d3821ab0
RM
2077 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2078 gnulib file. Replace __attribute with __attribute__ throughout.
2079
85ca85ae
CD
20802015-03-10 Carlos O'Donell <carlos@redhat.com>
2081
2082 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2083
6411f81d
JM
20842015-03-10 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #18104]
2087 * math/auto-libm-test-in: Add another test of pow.
2088 * math/auto-libm-test-out: Regenerated.
2089
d421868b
AZ
20902015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091
2092 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2093 $(config-cflags-nofma).
2094
a2f8be9c
JM
20952015-03-10 Joseph Myers <joseph@codesourcery.com>
2096
2097 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2098 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2099 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2100 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2101 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2102 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2103 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2104 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2105 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2106 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2107 Add comment on closing #endif.
2108
01d032e0
PP
21092015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2110
2111 * posix/wordexp.c (CHAR_IN_SET): New macro.
2112 (parse_param): Use it.
2113
d439bc56
AZ
21142015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115
2116 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2117
5f85a4bf
PP
21182015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2119
2120 [BZ #18043]
2121 * posix/wordexp.c (parse_param): Fix buffer overflow.
2122 * posix/wordexp-test.c (test_case): Add test case.
2123
f8ba70e9
PP
21242015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2125
2126 [BZ #18042]
2127 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2128 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2129
36103ba2
PP
21302015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2131
2132 [BZ #18043]
2133 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2134 (do_bz18043): Delete.
2135 (at_page_end): New.
2136 (testit): Refactor to have words at the edge of unreadable page.
2137
18d26750
PP
21382015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2139
2140 [BZ #16734]
2141 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2142 Cleanup read-only streams as well.
2143 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2144
9f95dc5d
ST
21452015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2146
2147 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2148 <bits/libc-lockP.h>
2149
b838844b
JM
21502015-03-07 Joseph Myers <joseph@codesourcery.com>
2151
2152 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2153 on [__KERNEL__].
2154 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2155 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2156 * soft-fp/op-common.h (_FP_DECL): Likewise.
2157
e0ed2fb4
L
21582015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2159
2160 * elf/ifuncdep2.c (global): Replace
2161 __attribute__((visibility("protected"))) with
2162 asm (".protected global").
2163 * elf/ifuncmod1.c (global): Likewise.
2164 * elf/ifuncmod5.c (global): Likewise.
2165
fa9dda64
JM
21662015-03-06 Joseph Myers <joseph@codesourcery.com>
2167
2168 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2169 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2170
4acc27ed
RM
21712015-03-06 Roland McGrath <roland@hack.frob.com>
2172
2173 * manual/install.texi (Configuring and compiling):
2174 Document test-wrapper-env-only.
2175 * INSTALL: Regenerated.
2176
895c30cb
PP
21772015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2178
2179 [BZ #18043]
2180 * posix/wordexp.c (parse_param): Fix buffer overflow.
2181 * posix/wordexp-test.c (do_bz18043): Add test case.
2182
5df56c7e
VB
21832015-03-06 Vincent Bernat <vincent@bernat.im>
2184
2185 * time/tst-strptime2.c (do_test): Ensure failing tests are
2186 reported correctly.
2187 * time/tst-strptime3.c (do_test): Likewise.
2188
1cdf2ea1
ST
21892015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2190
2191 Fix aio_error thread-safety.
1cdf2ea1
ST
2192 * sysdeps/pthread/aio_error.c: New file
2193 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2194 synchronization.
2195
d176a41a
FW
21962015-03-06 Florian Weimer <fweimer@redhat.com>
2197
2198 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2199 (group_number, vfprintf): Use it.
1597b744
FW
2200 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2201 (JUMP, REF): Use it.
2202 (WORK_BUFFER_SIZE): New enum constant.
2203 (process_arg, vfprintf): Use it.
d176a41a 2204
7e7af349
RJ
22052015-03-06 Rical Jasan <ricaljasan@pacific.net>
2206
2207 * manual/errno.texi (Error Messages): Complete example function
2208 by adding missing #define.
2209 (program_invocation_name): Add statement indicating GNU
2210 extension and reference which header file declares the variable.
2211 (program_invocation_short_name): Likewise.
2212
4ca8ddfb
MF
22132015-03-06 Mike Frysinger <vapier@gentoo.org>
2214
2215 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2216 compatibility note.
2217
9162c01d
RM
22182015-03-05 Roland McGrath <roland@hack.frob.com>
2219
2220 * Makeconfig (test-wrapper-env-only): New variable.
2221 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2222 then use that with $(test-wrapper-env-only) rather than using
2223 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2224
209826bc
L
22252015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 [BZ #18082]
2228 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2229 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2230 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2231 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2232 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2233 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2234 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2235 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2236 Likewise.
2237 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2238 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2239 Likewise.
2240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2241 Likewise.
2242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2243 Likewise.
2244 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2245 Likewise.
2246 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2248 Likewise.
2249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2250 Likewise.
2251 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2252 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2253
2cfe32bc
RM
22542015-03-04 Roland McGrath <roland@hack.frob.com>
2255
8bff5aab
RM
2256 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2257 (ETH_ALEN): New macro.
2258 (struct ether_addr): Use it for length of ether_addr_octet.
2259
2752f338
RM
2260 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2261 (setdb): Don't call __nss_configure_lookup for "rpc".
2262 (do_test): Don't call test_rpc.
2263 (output_rpcent, test_rpc): Functions moved ...
2264 * sunrpc/test-rpcent.c: ... to this new file.
2265 * sunrpc/Makefile (tests): Add it.
2266
2cfe32bc
RM
2267 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2268 __xpg_sigpause.
2269 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2270 * nptl/tst-signal6.c: Likewise.
2271 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2272 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2273
e4693aa7
RM
2274 * configure.ac (libc_cv_cxx_link_ok): New check.
2275 Reset CXX to empty if it fails to link.
2276 * configure: Regenerated.
2277 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2278 bug-atexit3-lib only if $(CXX) is nonempty.
2279 * nptl/Makefile (tests): Likewise for tst-cancel24.
2280 (tests, tests-static): Likewise for tst-cancel24-static.
2281 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2282 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
2283 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2284 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 2285
8e2e833a
AS
22862015-03-04 Andreas Schwab <schwab@suse.de>
2287
2288 [BZ #17631]
2289 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2290 for non-GCC compilers.
2291 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2292 Likewise.
2293
85b29045
AZ
22942015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2295
2296 [BZ #17776]
2297 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2298 integer before bitwise and assembly operations.
2299 (feclearexcept): Likewise.
2300 * math/test-fenvinline.c: New file.
2301 * math/Makefile: Add test-fenvinline test.
2302
a0af371c
AM
23032015-03-03 Alan Modra <amodra@gmail.com>
2304
2305 [BZ #16512]
2306 * scripts/localplt.awk: Strip off symbol version.
2307 * NEWS: Mention bug fix.
2308
47465629
RM
23092015-03-02 Roland McGrath <roland@hack.frob.com>
2310
2311 * sysdeps/pthread/timer_routines.c
2312 (timer_free_list, thread_free_list, thread_active_list): Make static.
2313
6d08b022
JM
23142015-03-02 Joseph Myers <joseph@codesourcery.com>
2315
2316 [BZ #17779]
2317 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2318 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2319 Undefine.
2320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2321 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2322 Likewise.
2323 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2324 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2325 Likewise.
2326
c2c6d39f
PP
23272015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2328
2329 [BZ #18036]
2330 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2331 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2332
e8b6be00
AS
23332015-03-02 Andreas Schwab <schwab@suse.de>
2334
2335 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2336 variable name.
2337
1a2d98af
FW
23382015-03-02 Florian Weimer <fweimer@redhat.com>
2339
2340 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2341 Return error status.
2342
e7f07af5
AO
23432015-02-27 Alexandre Oliva <aoliva@redhat.com>
2344
2345 [BZ #15969]
2346 * locale/findlocale.c (_nl_find_locale): Introduce const
2347 version of loc_name and drop unsafe type casts.
2348
c7b19ca9
RM
23492015-02-27 Roland McGrath <roland@hack.frob.com>
2350
2351 * dlfcn/tststatic2.c (main): Converted to ...
2352 (do_test): ... this.
2353 (TEST_FUNCTION): New macro.
2354 Include test-skeleton.c.
2355
ef4ad06f
L
23562015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2357
2358 [BZ #17711]
2359 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2360 (tests-pie): Add vismain.
2361 (CFLAGS-vismain.c): New.
2362 * elf/vismain.c: Add comments for PIE requirement.
2363
2ca725c5
JM
23642015-02-27 Joseph Myers <joseph@codesourcery.com>
2365
2366 [BZ #18046]
2367 [BZ #18047]
2368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2369 0x1p-56L as threshold for just returning the argument.
2370 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2371 0x1p-32L as threshold for just returning the argument.
2372 * math/auto-libm-test-in: Add more tests of atanh.
2373 * math/auto-libm-test-out: Regenerated.
2374 * sysdeps/i386/fpu/libm-test-ulps: Update.
2375 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2376
af96be34
WD
23772015-02-27 Wilco Dijkstra wdijkstr@arm.com
2378
2379 * string/bcopy.c (bcopy): Call memmove for performance.
2380
ddcf6798
WD
23812015-02-27 Wilco Dijkstra wdijkstr@arm.com
2382
2383 * string/bzero.c (__bzero): Call memset for performance.
2384
49f476f4
JDA
23852015-02-27 John David Anglin <dave.anglin@bell.net>
2386
b42e14ff 2387 [BZ #18068]
49f476f4
JDA
2388 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2389 to 00100000.
2390
f8ab5d38
JM
23912015-02-27 Joseph Myers <joseph@codesourcery.com>
2392
2393 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2394
380bd0fd
JM
23952015-02-26 Joseph Myers <joseph@codesourcery.com>
2396
31331a07
JM
2397 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2398 (__kernel_standard): Use CSTR macro when setting exc.name.
2399 * sysdeps/ieee754/Makefile [$(subdir) = math]
2400 (CFLAGS-k_standard.c): Remove variable.
2401
09220e66
JM
2402 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2403 setting p and q from "else if" to "else".
2404 (qzero): Likewise.
2405 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2406 (qone): Likewise.
2407 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2408 (qzerof): Likewise.
2409 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2410 (qonef): Likewise.
2411 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2412 (qzero): Likewise.
2413 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2414 (qone): Likewise.
2415
1d9ab20c
JM
2416 [BZ #18038]
2417 [BZ #18039]
2418 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2419 return pi/2 for arguments below 0x1p-113L.
2420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2421 return pi/2 for arguments below 0x1p-106L.
2422 * math/auto-libm-test-in: Add more tests of acos.
2423 * math/auto-libm-test-out: Regenerated.
2424
ec0ce0d3
JM
2425 [BZ #16351]
2426 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2427 (MO): New macro.
2428 (__ieee754_asin): Force underflow exception for results with small
2429 absolute value.
2430 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2431 (MO): New macro.
2432 (__ieee754_asinf): Force underflow exception for results with
2433 small absolute value.
2434 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2435 (__ieee754_asin): Force underflow exception for results with small
2436 absolute value.
2437 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2438 (__ieee754_asinf): Force underflow exception for results with
2439 small absolute value.
2440 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2441 (__ieee754_asinl): Force underflow exception for results with
2442 small absolute value.
2443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2444 (__ieee754_asinl): Force underflow exception for results with
2445 small absolute value.
2446 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2447 (__ieee754_asinl): Force underflow exception for results with
2448 small absolute value.
2449 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2450 Include <math.h>.
2451 * math/auto-libm-test-in: Do not mark underflow exceptions as
2452 possibly missing for bug 16351.
2453 * math/auto-libm-test-out: Regenerated.
2454
380bd0fd
JM
2455 [BZ #18030]
2456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2457 of power of 2 down when low part has opposite sign.
2458 * math/libm-test.inc (logb_test_data): Add more tests.
2459
4a28f4d5
AS
24602015-02-26 Andreas Schwab <schwab@suse.de>
2461
2462 [BZ #18032]
2463 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2464 over collating symbol inside a bracket expression. Minor cleanup.
2465 * posix/tst-fnmatch3.c (do_test): Add test case.
2466
524ae9ea
JM
24672015-02-26 Joseph Myers <joseph@codesourcery.com>
2468
2469 [BZ #18029]
2470 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2471 Adjust exponent of power of 2 down when low part has opposite
2472 sign.
2473 * math/libm-test.inc (ilogb_test_data): Add more tests.
2474
23d43090
AO
24752015-02-26 Alexandre Oliva <aoliva@redhat.com>
2476
2477 [BZ #15969]
2478 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2479 the previous change.
0d822a01
AO
2480
2481 [BZ #15969]
2482 * locale/findlocale.c (_nl_find_locale): Retry archive search
2483 after alias expansion.
2484
d19df6ac
RM
24852015-02-25 Roland McGrath <roland@hack.frob.com>
2486
ca681b7b
RM
2487 * iconv/tst-iconv3.c (main): Converted to ...
2488 (do_test): ... this.
2489 (TEST_FUNCTION): New macro.
2490 Include test-skeleton.c.
2491
fd1f2f1c
RM
2492 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2493 (convert): Make function static.
2494 (test_unalign): Likewise. Add const to argument pointee types.
2495 (main): Replace with static function do_test.
2496 Print "Succeeded." only if RET is zero.
2497 (TEST_FUNCTION): New macro.
2498 Include test-skeleton.c.
2499
d19df6ac
RM
2500 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2501 returns a null pointer.
2502
115e0de7
AZ
25032015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2504
2505 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2506 to __memcpy_ppc only for static builds.
2507
137cef7d
JM
25082015-02-25 Joseph Myers <joseph@codesourcery.com>
2509
2510 [BZ #18020]
2511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2512 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2513 * math/auto-libm-test-in: Add more tests of asinh.
2514 * math/auto-libm-test-out: Regenerated.
2515 * sysdeps/i386/fpu/libm-test-ulps: Update.
2516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517
cb43bb0d
CW
25182015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2519
2520 [BZ #15850]
2521 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2522 and ip6_mtuinfo definitions here.
2523 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2524 in this define too. Update comment.
2525
9be1052b
BS
25262015-02-24 Benno Schulenberg <bensberg@justemail.net>
2527
2528 * elf/sprof.c (load_shobj): Tweak error message to match others.
2529
6807b1db
KE
25302015-02-24 Kevin Easton <kevin@guarana.org>
2531
2532 [BZ #16145] (partial fix)
2533 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2534 to reduce lock contention.
2535
b433df00
ML
25362015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2537
2538 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2539 (struct timex): Update time comment.
2540 (ADJ_SETOFFSET): Define.
2541
440169d6
JM
25422015-02-24 Joseph Myers <joseph@codesourcery.com>
2543
2544 [BZ #18019]
2545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2546 2**56 not 2**28 as threshold for log (2x) formula.
2547 * math/auto-libm-test-in: Add more tests of acosh.
2548 * math/auto-libm-test-out: Regenerated.
2549 * sysdeps/i386/fpu/libm-test-ulps: Update.
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2551
ba7d2c54
MF
25522015-02-24 Mike Frysinger <vapier@gentoo.org>
2553
2554 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2555 parenthesis around the buf assignment.
2556 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2557
9438b237
JM
25582015-02-24 Joseph Myers <joseph@codesourcery.com>
2559
2560 [BZ #16783]
2561 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2562 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2563 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2564 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2565 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2566 * math/libm-test.inc (scalb_test_data): Add more tests.
2567
6909d276
PP
25682015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2569
2570 [BZ #17916]
2571 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2572 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2573
65f6f938
ER
25742015-02-24 Eric Rannaud <e@nanocritical.com>
2575
2576 [BZ #17523]
2577 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2578 * io/bits/fcntl2.h (open): Use it.
2579 (openat): Likewise.
2580 * io/open.c (__libc_open): Likewise.
2581 * io/open64.c (__libc_open64): Likewise.
2582 * io/open64_2.c (__open64_2): Likewise.
2583 * io/open_2.c (__open_2): Likewise.
2584 * io/openat.c (__openat): Likewise.
2585 * io/openat64.c (__openat64): Likewise.
2586 * io/openat64_2.c (__openat64_2): Likewise.
2587 * io/openat_2.c (__openat_2): Likewise.
2588 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2589 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2590 * sysdeps/posix/open64.c (__libc_open64): Likewise.
2591 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2592 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2593 (__open_nocancel): Likewise.
2594 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2595 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2596 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2597
3e3002ff
SP
25982015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2599
2600 [BZ #14841]
2601 * resolv/gethnamaddr.c (getanswer): Skip logging if
2602 RES_USE_DNSSEC is set.
2603 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2604
9813dd58
MF
26052015-02-24 Mike Frysinger <vapier@gentoo.org>
2606
2607 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2608
7b1ec6a0
AO
26092015-02-23 Alexandre Oliva <aoliva@redhat.com>
2610
2611 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2612 201304L, for Unicode 7.
2613
d49499c1
L
26142015-02-23 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 [BZ #17836]
2617 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2618 shared library. Add gmon-start.os otherwise.
2619 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2620 $(objpfx)gmon-start.os if builing shared library.
2621 ($(objpfx)g$(static-start-installed-name)): Likewise.
2622
51225803
AS
26232015-02-23 Andreas Schwab <schwab@suse.de>
2624
2625 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2626
bdf1ff05
PP
26272015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2628
2629 [BZ #17269]
2630 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2631 (enlarge_userbuf): Likewise.
2632
95296112
CLT
26332015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
2634
2635 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2636 * math/atest-exp.c (TIMEOUT): Adjust to 200.
2637 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2638 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2639
e4a399dc
JM
26402015-02-20 Joseph Myers <joseph@codesourcery.com>
2641
2642 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2643 expression inside statement expression.
2644
7133957f
SL
26452015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2646
2647 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2648 <sysdeps/nptl/lowlevellock.h> and remove macros and
2649 functions that are now defined there.
2650 (SYS_futex): Remove.
2651 (lll_compare_and_swap): Remove.
2652 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2653
40176158
JM
26542015-02-19 Joseph Myers <joseph@codesourcery.com>
2655
2656 [BZ #17999]
2657 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2658 instead of scandirat.
2659 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2660 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2661 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2662 __scandirat.
2663 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2664 (__scandirat): Declare. Use libc_hidden_proto.
2665 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2666 Remove variable.
2667 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2668
4629c866
JM
26692015-02-18 Joseph Myers <joseph@codesourcery.com>
2670
2671 [BZ #15319]
2672 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2673 (MO): New macro.
2674 (__ieee754_atan2): For results with small absolute value, force
2675 underflow exception and remove excess range and precision from
2676 return value.
2677 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2678 (MO): New macro.
2679 (__ieee754_atan2f): For results with small absolute value, force
2680 underflow exception and remove excess range and precision from
2681 return value.
2682 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2683 (MO): New macro.
2684 (__atan): For results with small absolute value, force underflow
2685 exception and remove excess range and precision from return value.
2686 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2687 (MO): New macro.
2688 (__atanf): For results with small absolute value, force underflow
2689 exception and remove excess range and precision from return value.
2690 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2691 <math.h>.
2692 (__ieee754_atan2): Force underflow exception for results with
2693 small absolute value.
2694 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2695 <math_private.h>.
2696 (atan): Force underflow exception for results with small absolute
2697 value.
2698 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2699 (__atanf): Force underflow exception for results with small
2700 absolute value.
2701 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2702 <math.h>.
2703 (__atanl): Force underflow exception for results with small
2704 absolute value.
2705 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2706 (__atanl): Force underflow exception for results with small
2707 absolute value.
2708 * sysdeps/x86/fpu/bits/mathinline.h
2709 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2710 (__ieee754_atan2): Only define inline for long double.
2711 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2712 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2713 * math/auto-libm-test-in: Do not mark underflow exceptions as
2714 possibly missing for bug 15319. Add more tests of atan2.
2715 * math/auto-libm-test-out: Regenerated.
2716 * math/libm-test.inc (casin_test_data): Do not mark underflow
2717 exceptions as possibly missing for bug 15319.
2718 (casinh_test_data): Likewise.
2719 * sysdeps/i386/fpu/libm-test-ulps: Update.
2720
9ee16d8b
SE
27212015-02-18 Steve Ellcey <sellcey@imgtec.com>
2722
2723 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2724 * sysdeps/mips/bits/endian.h: Fix comments.
2725
4ffb1771
JM
27262015-02-18 Joseph Myers <joseph@codesourcery.com>
2727
2728 [BZ #17996]
2729 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2730 (hdestroy_r): Likewise.
2731 (hsearch_r): Likewise.
2732 (__hcreate_r): Declare and use libc_hidden_proto.
2733 (__hdestroy_r): Likewise.
2734 (__hsearch_r): Likewise.
2735 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2736 (hcreate): Call __hcreate_r instead of hcreate_r.
2737 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2738 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2739 as weak alias of __hcreate_r.
2740 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2741 __hdestroy_r.
2742 (hsearch_r): Rename to __hsearch_r and define as weak alias of
2743 __hsearch_r.
2744 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2745 Remove variable.
2746 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2747 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2748 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2749 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2750
94c5a52a
SP
27512015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2752
2753 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2754 arena_lock into a single arena_get.
2755
8a35c3fe
CD
27562015-02-17 Carlos O'Donell <carlos@redhat.com>
2757
2758 * dl-reloc.c: Inlucde libc-internal.h.
2759 (_dl_try_allocate_static_tls): Call ALIGN_UP.
2760 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2761 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2762 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2763 (grow_heap): Likewise.
2764 * malloc/malloc.c: Include libc-internal.h.
2765 (do_check_malloc): Call powerof2.
2766 (sysmalloc): Use pagesize. Call ALIGN_UP.
2767 (systrim): Use pagesize.
2768 (mremap_chunk): Use pagesize. Call ALIGN_UP.
2769 (__libc_valloc): Use pagesize.
2770 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2771
1a2325c0
JM
27722015-02-17 Joseph Myers <joseph@codesourcery.com>
2773
2774 [BZ #17991]
2775 * include/sys/resource.h (__getrlimit64): Declare. Use
2776 libc_hidden_proto.
2777 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2778 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
2779 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2780 getrlimit64.
2781 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2782 __getrlimit64.
2783 [!getrlimit64] (getrlimit64): Define as weak alias of
2784 __getrlimit64. Use libc_hidden_weak.
2785 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2786 using __getrlimit64 not __new_getrlimit64.
2787 (__GI_getrlimit64): Likewise.
2788 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2789 Likewise.
2790 (__GI_getrlimit64): Likewise.
2791 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2793 (getrlimit): Add __getrlimit64 alias.
2794 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2795 Likewise.
2796 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2797 Remove variable.
2798 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2799 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2800
8ae4bb5a
PP
28012015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2802
2803 * libio/fileops.c: Add missing sys/mman.h
2804 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2805
18a218b7
JM
28062015-02-17 Joseph Myers <joseph@codesourcery.com>
2807
2808 * manual/math.texi (Errors in Math Functions): Clarify goals
2809 regarding inexact and underflow exceptions.
2810
e72ad0ef
SE
28112015-02-17 Steve Ellcey <sellcey@imgtec.com>
2812
2813 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2814 * sysdeps/mips/memset.S: Ditto.
2815
2caa4099
SE
28162015-02-17 Steve Ellcey <sellcey@imgtec.com>
2817
2818 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2819
f20bfc9b
SL
28202015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2821
2822 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2823 (__v1longjmp): Remove versioned symbol.
2824 (__v1siglongjmp): Remove alias and versioned symbol.
2825 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2826 (__v2siglongjmp): Likewise.
2827
71c06b69
TR
28282015-02-16 Torvald Riegel <triegel@redhat.com>
2829
2830 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2831
a9a05adb
MF
28322015-02-16 Mike Frysinger <vapier@gentoo.org>
2833
2834 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2835
ce8fc784
JM
28362015-02-16 Joseph Myers <joseph@codesourcery.com>
2837
2838 [BZ #17987]
2839 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2840 zero result does not depend on the sign resulting from
2841 subtraction.
2842 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2843 Likewise.
2844 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2845 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2846 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2847 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2848 * math/libm-test.inc (remquo_test_data): Add more tests.
2849
0d7036bd
PE
28502015-02-16 Paul Eggert <eggert@cs.ucla.edu>
2851
2852 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2853 Problem reported by J William Piggott.
2854
86c56b16
JM
28552015-02-16 Joseph Myers <joseph@codesourcery.com>
2856
a820f9b3
JM
2857 [BZ #17978]
2858 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2859 products 4 * y and 2 * y where those would overflow.
2860 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2861 Likewise.
2862 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2863 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2864 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2865 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2866 * math/libm-test.inc (remquo_test_data): Add more tests.
2867
be802953
JM
2868 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2869
e5e72fe9
JM
2870 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2871 [defined _COMPILING_NEWLIB].
2872 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2873 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2874
86c56b16
JM
2875 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2876 [!defined __mips_isa_rev || __mips_isa_rev < 6].
2877
35264d14
TR
28782015-02-16 Torvald Riegel <triegel@redhat.com>
2879
2880 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2881 acquired.
2882
6f49e32a
MF
28832015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
2884
2885 [BZ #17792]
2886 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2887 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2888 HOST_STACK_END_ADDR): Likewise.
2889
e525154e
SE
28902015-02-13 Steve Ellcey <sellcey@imgtec.com>
2891
2892 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2893 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2894 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2895
4ab770b7
RM
28962015-02-13 Roland McGrath <roland@hack.frob.com>
2897
2898 * sysdeps/generic/c++-types.data: New file.
2899 * sysdeps/generic/ld.abilist: New file.
2900 * sysdeps/generic/libBrokenLocale.abilist: New file.
2901 * sysdeps/generic/libanl.abilist: New file.
2902 * sysdeps/generic/libc.abilist: New file.
2903 * sysdeps/generic/libcrypt.abilist: New file.
2904 * sysdeps/generic/libdl.abilist: New file.
2905 * sysdeps/generic/libm.abilist: New file.
2906 * sysdeps/generic/libpthread.abilist: New file.
2907 * sysdeps/generic/libresolv.abilist: New file.
2908 * sysdeps/generic/librt.abilist: New file.
2909
d9afe48d
JM
29102015-02-13 Joseph Myers <joseph@codesourcery.com>
2911
2912 [BZ #17569]
2913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2914 Compute absolute value of x as modified by fmod, not original
2915 value of x.
2916 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2917 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
2918 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
2919 RUN_TEST_ffI_f1_mod8.
2920 (remquo_test_data): Add more tests.
2921
3846188b
RM
29222015-02-13 Roland McGrath <roland@hack.frob.com>
2923
2924 * sysdeps/init_array/pt-crti.S: New file.
2925
95c26233
JM
29262015-02-13 Joseph Myers <joseph@codesourcery.com>
2927
2928 [BZ #17967]
2929 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2930 __builtin_fmaf instead of relying on contraction of a * b + c.
2931
3f293d61
WP
29322015-02-12 J William Piggott <elseifthen@gmx.com>
2933
2934 [BZ #17969]
2935 * manual/time.texi: correct the zoneinfo path in the TZ Variable
2936 node.
2937
e8bd5286
JM
29382015-02-12 Joseph Myers <joseph@codesourcery.com>
2939
2940 [BZ #17964]
2941 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2942 __builtin_fma instead of relying on contraction of a * b + c.
2943
04f5a636
RM
29442015-02-12 Roland McGrath <roland@hack.frob.com>
2945
96a15749
RM
2946 * Makeconfig (ASFLAGS): Add -Werror=undef.
2947 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2948 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2949 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2950
04f5a636
RM
2951 * Makeconfig (after-link): New variable.
2952 (+link-pie, +link-pie-tests): Use it.
2953 (+link-static, +link-static-tests): Likewise.
2954 (+link, +link-tests): Likewise.
2955 * Makerules (build-module, build-module-asneeded): Likewise.
2956 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2957 Likewise.
2958 * elf/Makefile ($(objpfx)ld.so): Likewise.
2959
87a629c5
RS
29602015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2961
2962 [BZ #17965]
2963 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2964 both struct timeval and struct timespec.
2965
03d95bd4
JM
29662015-02-12 Joseph Myers <joseph@codesourcery.com>
2967
2968 [BZ #16560]
2969 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2970 and redefine.
2971 (__ieee754_exp2l): Do not multiply small fractional parts by
2972 M_LN2l.
2973 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2974 small argument.
2975 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2976 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2977 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2978 * math/auto-libm-test-in: Add more tests of exp2.
2979 * math/auto-libm-test-out: Regenerated.
2980
98408b95
RS
29812015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2982
2983 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2984 unaligned path.
2985
6f741503
AZ
29862015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2987
2988 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2989 little endian.
2990
2868e070
AS
29912015-02-12 Andreas Schwab <schwab@suse.de>
2992
2993 [BZ #15790]
2994 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2995 Filter out elision flags from value returned in kind.
2996 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2997 * nptl/tst-pthread-mutexattr.c: New file.
2998
ebf27d12
ST
29992015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3000
3001 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3002 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3003 into gnu-gnu, and update comment to refer to abi-tags.
3004
d435569c
JM
30052015-02-11 Joseph Myers <joseph@codesourcery.com>
3006
3007 [BZ #15467]
3008 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3009 (__sincos): Set errno to EDOM for infinite argument.
3010 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3011 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3012 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3013 (__sincosl): Set errno to EDOM for infinite argument.
3014 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3015 (__sincosl): Set errno to EDOM for infinite argument.
3016 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3017 (__sincosl): Set errno to EDOM for infinite argument.
3018 * math/libm-test.inc (sincos_test_data): Test errno setting.
3019
d35273f2
LH
30202015-02-11 Leonhard Holz <leonhard.holz@web.de>
3021
3022 * string/strxfrm_l.c: Remove #define STRCMP.
3023 * string/strcoll_l.c: Remove #define STRLEN.
3024 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3025 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3026
306bc0d1
JM
30272015-02-10 Joseph Myers <joseph@codesourcery.com>
3028
3029 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3030 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3031 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3032 * sysdeps/mips/mips64/Makefile: ... here.
3033 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3034 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3035 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3036 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3037 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3038 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3039 * sysdeps/mips/mips64/n64/Implies: Likewise.
3040
92b67e8d
RM
30412015-02-10 Roland McGrath <roland@hack.frob.com>
3042
3043 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3044 <sys/time.h>, <string.h>, and <errno.h>.
3045 (dest_offset, dest_address, value, zero): Remove unused variables.
3046 (ldouble): Remove typedef.
3047 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3048 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3049 1). Fix code style.
3050 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3051 (check): Function removed.
3052 (CHECK): New macro.
3053 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3054 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3055 Don't call set_sigaction_FP and remove_sigaction_FP here.
3056 (ldouble_test): Just use 'long double' as macro argument, no need for
3057 the 'ldouble' typedef.
3058 (do_test): Set up SIGFPE handler at start, using plain signal rather
3059 than sigaction. Fix code style.
3060
132a1328
EF
30612015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3062
3063 [BZ #17949]
3064 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3065 jump label.
3066
3001e54c
AZ
30672015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3068
bc0cdc49
AZ
3069 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3070 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3071
83658961
AZ
3072 * sysdeps/powerpc/configure.ac: Remove file.
3073 * sysdeps/powerpc/configure: Likewise.
3074
10169938
AZ
3075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3076 [sysdep_routines]: Remove wordcopy-power6 object.
3077 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3078 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3079 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3080 (__memmove_ppc32): Likewise.
3081 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3082 file.
3083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3084 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3085 Remove preprocessor.
3086
8548a53d
AZ
3087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3088 [sysdep_routines]: Remove wide chars objects.
3089 [wcsmbs]: New rule for wide char objects.
3090
b2692114
AZ
3091 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3092 Remove wordcopy-power6 obejct.
3093 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3094 Use local call for wordcopy and memcpy symbols.
3095 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3096 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3097 implementation for loader.
3098 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3099
18e270aa
AZ
3100 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3101 Remove wordcopy-power7 object.
3102 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3103 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3104 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3105 (_wordcopy_fwd_dest_aligned): Likewise.
3106 (_wordcopy_bwd_aligned): Likewise.
3107 (_wordcopy_bwd_dest_aligned): Likewise.
3108
6f0993a6
AZ
3109 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3110 Rewrite to call __memmove_ppc instead of include default
3111 implementation.
3112
3001e54c
AZ
3113 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3114 Remove wide chars objects.
3115 [wcsmbs]: New rule for wide char objects.
3116
59b61c82
AS
31172015-02-09 Andreas Schwab <schwab@suse.de>
3118
3119 [BZ #17912]
3120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3121 in terms of __O_DIRECTORY.
3122
ebd7aede
ST
31232015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3124
3125 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
3126 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3127 call PTR_MANGLE.
3128 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3129 PTR_DEMANGLE.
ebd7aede 3130
3999d26e
PE
31312015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3132
3133 Add ersatz _Static_assert on older C hosts
3134 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3135 pre-C11 C platform that is not known to support _Static_assert.
3136
e9a5bc1c
ST
31372015-02-07 Richard Braun <rbraun@sceen.net>
3138
3139 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3140 sigstate.
e86c5b64 3141 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 3142
e2049d17
ST
31432015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3144
3145 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3146 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
3147 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3148 instead of int.
3149 * misc/fchflags.c (fchflags): Likewise.
3150 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3151 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3152 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3153 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3154 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3155 Declare macros.
3156 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
3157 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3158 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
3159 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3160 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3161 45.
a9a002fb
ST
3162 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3163 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
3164 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3165 MACH_RCV_TIMED_OUT.
f96ec27a
ST
3166 * hurd/hurd/signal.h (_hurd_self_sigstate,
3167 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3168 Explicit casts from void *.
4fc81a77 3169 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 3170 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 3171
f05826f0
ST
3172 [BZ #4719]
3173 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3174 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3175 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3176 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3177 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3178 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3179
a5eb23de
ST
3180 [BZ #17944]
3181 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3182 duplicates ADDR->sun_path with sockaddr LEN limitation.
3183 * sysdeps/mach/hurd/connect.c: Include <string.h>
3184 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3185 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3186 * sysdeps/mach/hurd/sendto.c: Likewise.
3187 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3188 implementing it by hand.
3189
ac9e0e5e
RM
31902015-02-06 Roland McGrath <roland@hack.frob.com>
3191
f8d1bb4c
RM
3192 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3193 Use sfi_breg on ldr.
3194 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3195 Likewise.
3196
022f4812
RM
3197 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3198 it's defined.
3199 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3200 Test SIGSETXID only if it's defined.
3201
1ac074e6
RM
3202 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3203
f50ad78b
RM
3204 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3205 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3206
9e7265f4
RM
3207 * nptl/tst-align2.c: Moved ...
3208 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3209 * nptl/Makefile (tests): Remove tst-align2.
3210 * sysdeps/unix/sysv/linux/Makefile
3211 [$(subdir) = nptl] (tests): Add tst-align-clone.
3212 * nptl/tst-getpid1.c: Moved ...
3213 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3214 * nptl/tst-getpid2.c: Moved ...
3215 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3216 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3217 * sysdeps/unix/sysv/linux/Makefile
3218 [$(subdir) = nptl] (tests): ... here.
3219 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3220 * sysdeps/unix/sysv/linux/Makefile
3221 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3222
62ad2abc
RM
3223 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3224 Drop trailing \n from perror argument. Use return rather than exit.
3225
cfa69b0b
RM
3226 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3227 on [SA_SIGINFO].
3228 * nptl/tst-cancel21.c (do_test): Likewise.
3229 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3230 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3231 [!SA_SIGINFO]: Make it a stub test.
3232
82727806
RM
3233 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3234 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3235
da3a1594
RM
3236 * posix/tst-getlogin.c: Move to ...
3237 * login/tst-getlogin.c: ... here.
3238 * posix/Makefile (tests): Move tst-getlogin to ...
3239 * login/Makefile (tests): ... here.
3240
b65c0ff9
RM
3241 * libio/tst-atime.c (do_test): Move local variables SV and E
3242 inside [ST_NOATIME] conditional.
3243
56606ab3
RM
3244 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3245
ebf7d6ee
RM
3246 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3247
ca0e0675
RM
3248 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3249 (wait_code): New function replaces macro.
3250 Call nanosleep rather than syscall.
3251
8c28bbc6
RM
3252 * nptl/pt-system.c: Rewritten. Put everything under
3253 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3254 Use IFUNC to redirect when possible.
3255
ec2a88b3
RM
3256 * nptl/pt-longjmp.c: Rewritten. Put everything under
3257 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3258 Use IFUNC to redirect when possible.
3259
beff1d13
RM
3260 * nptl/pt-fork.c: Rewritten. Put everything under
3261 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3262 Use IFUNC to redirect when possible.
3263 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3264
ea02c6b8
RM
3265 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3266 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3267 unconditionally nowadays. This included the only reference to
3268 __vdso_clock_gettime that appears outside libc proper.
3269 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3270 Remove version set (containing only __vdso_clock_gettime).
3271 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3272 Add attribute_hidden.
3273 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3274 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3275 libc_hidden_data_def.
3276 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3278
a1309c2b
RM
3279 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3280 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3281 setrpcent, and getrpcport to ...
3282 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3283 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3284 getrpcbynumber_r, and getrpcent_r to ...
3285 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3286 * inet/getrpcbyname.c: Moved ...
3287 * sunrpc/getrpcbyname.c: ... here.
3288 * inet/getrpcbyname_r.c: Moved ...
3289 * sunrpc/getrpcbyname_r.c: ... here.
3290 * inet/getrpcbynumber.c: Moved ...
3291 * sunrpc/getrpcbynumber.c: ... here.
3292 * inet/getrpcbynumber_r.c: Moved ...
3293 * sunrpc/getrpcbynumber_r.c: ... here.
3294 * inet/getrpcent.c: Moved ...
3295 * sunrpc/getrpcent.c: ... here.
3296 * inet/getrpcent_r.c: Moved ...
3297 * sunrpc/getrpcent_r.c: ... here.
3298 * inet/Makefile (routines): Move those to ...
3299 * sunrpc/Makefile (routines): ... here.
3300 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3301 the $(subdirs) list.
3302 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3303 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3304 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3305 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3306
ac9e0e5e
RM
3307 * elf/Makefile (routines): Include $(all-dl-routines), not just
3308 $(dl-routines).
3309 (rtld-routines): Likewise. Use = rather than :=.
3310 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3311 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3312 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3313 * sysdeps/arm/Makefile: Likewise.
3314 * sysdeps/i386/Makefile: Likewise.
3315 * sysdeps/x86_64/Makefile: Likewise.
3316 * sysdeps/hppa/Makefile [$(subdir) = elf]
3317 (sysdep_routines, sysdep-rtld-routines): Don't add
3318 $(sysdep-dl-routines) to these.
3319 * sysdeps/ia64/Makefile: Likewise.
3320 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3321 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3322 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3323 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3324 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3325 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3326 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3327 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3328 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3329 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3330 these; sysdep-dl-routines alone is enough.
3331
639e42eb
JM
33322015-02-06 Joseph Myers <joseph@codesourcery.com>
3333
1c7a4a51
JM
3334 [BZ #17932]
3335 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3336 where multiplication results in zero and third argument is finite
3337 and nonzero.
3338 * math/auto-libm-test-in: Add more tests of fma.
3339 * math/auto-libm-test-out: Regenerated.
3340
61f006c1
JM
3341 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3342 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3343 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3344 (_FP_CMP_EQ): Likewise.
3345 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3346
639e42eb
JM
3347 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3348 extra argument CHECK_NAN. Redefine as wrapper around
3349 _FP_EXTEND_CNAN.
3350
3c0c543b
CD
33512015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3352
4e42b5b8
CD
3353 * version.h (RELEASE): Set to "stable".
3354 (VERSION): Set to "2.21"
3355 * include/features.h (__GLIBC_MINOR__): Set to 21.
3356
3c0c543b
CD
3357 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3358
5bd80bfe 33592015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 3360 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
3361
3362 [BZ #16618]
3363 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3364 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3365 size in bytes. Store needed elements in wpmax. Use needed size
3366 in bytes for extend_alloca.
3367
3f823f48
CD
33682015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3369
04cb913d
CD
3370 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3371 binutls 2.25, and texinfo 5.2.
3372 * INSTALL: Regenerate.
3373 * sysdeps/nios2/configure: Regenerate.
3374 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3375 * manual/contrib.texi: Update.
3376 * po/be.po: Update.
3377 * po/bg.po: Update.
3378 * po/ca.po: Update.
3379 * po/cs.po: Update.
3380 * po/da.po: Update.
3381 * po/de.po: Update.
3382 * po/el.po: Update.
3383 * po/eo.po: Update.
3384 * po/es.po: Update.
3385 * po/fi.po: Update.
3386 * po/fr.po: Update.
3387 * po/gl.po: Update.
3388 * po/hr.po: Update.
3389 * po/hu.po: Update.
3390 * po/ia.po: Update.
3391 * po/id.po: Update.
3392 * po/it.po: Update.
3393 * po/ja.po: Update.
3394 * po/ko.po: Update.
3395 * po/lt.po: Update.
3396 * po/nb.po: Update.
3397 * po/nl.po: Update.
3398 * po/pl.po: Update.
3399 * po/pt_BR.po: Update.
3400 * po/ru.po: Update.
3401 * po/rw.po: Update.
3402 * po/sk.po: Update.
3403 * po/sl.po: Update.
3404 * po/sv.po: Update.
3405 * po/tr.po: Update.
3406 * po/uk.po: Update.
3407 * po/vi.po: Update.
3408 * po/zh_CN.po: Update.
3409 * po/zh_TW.po: Update.
3410
3f823f48
CD
3411 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3412 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3413 * sysdeps/hppa/dl-irel.h: Remove #warning.
3414 * sysdeps/hppa/entry.h: Provide prototype for
3415 __canonicalize_funcptr_for_compare and cast argument.
3416 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3417 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3418 * sysdeps/hppa/sotruss-lib.c: New file.
3419 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3420 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3421 (atomic_compare_and_exchange_bool_acq): Likewise.
3422 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3423 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3424
3425 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3426 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3427 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3428
34c56048
CLT
34292015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3430
3431 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3432 called function in non-PIC case.
3433
d4abeca5
DM
34342015-01-31 David S. Miller <davem@davemloft.net>
3435
edac0a60
DM
3436 * sysdeps/sparc/sparc32/bits/atomic.h
3437 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3438 unlock not after it.
3439 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3440 volatile register usage warnings from the compiler.
3441
d4abeca5
DM
3442 * sysdeps/sparc/nptl/sem_init.c: Delete.
3443 * sysdeps/sparc/nptl/sem_post.c: Delete.
3444 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3445 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3446 * sysdeps/sparc/sparc32/sem_init.c: New file.
3447 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3448 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3449 padding explicitly initialized.
3450 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3451 padding for in-semaphore spinlock.
3452 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3453 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3454 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3455 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3456 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3457 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3458 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3459 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3460 version.
3461 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3462 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3463
5f3d0b78
L
34642015-01-30 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 [BZ #17801]
3467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3468 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3469 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3470 New.
3471 (index_AVX_Fast_Unaligned_Load): Likewise.
3472 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3473 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3474 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3475 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3476 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3477 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3478 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3479 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3480 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3481
b658fdd8
AS
34822015-01-29 Andreas Schwab <schwab@suse.de>
3483
3484 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3485
3cb26316
SP
34862015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3487
3488 [BZ #17892]
3489 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3490
527de9e4
MS
34912015-01-28 Martin Sebor <msebor@redhat.com>
3492
3493 * math/README.libm-test: Clarify. Add "How to read the test output."
3494
06991eb8
CM
34952015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3496
3497 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3498 Define to 0.
3499
df341342
JM
35002015-01-28 Joseph Myers <joseph@codesourcery.com>
3501
3502 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3503 (__HAVE_64B_ATOMICS): Define to 0.
3504
08cee2a4
AZ
35052015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3506
d4d0ecb2
AZ
3507 [BZ #17885]
3508 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3509 value to set as new flag.
3510
08cee2a4
AZ
3511 [BZ #16576]
3512 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3513 and use _ARCH_PPCSQ instead.
3514 (__ieee754_sqrt): Likewise.
3515 (__ieee754_sqrtf): Likewise.
3516 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3517 _ARCH_PPCSQ is defined.
3518 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3519 fsqrt instruction.
3520 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3521 _ARCH_PPCSQ is defined.
3522 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3523 fsqrts instruction.
3524 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3525
5fe8e359
AK
35262015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3527
3528 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3529 bug (GCC BZ #64739).
3530
24bb7432
AS
35312015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3532
fa20da31
AS
3533 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3534 Mark _retval as used.
3535 (lll_futex_wake_unlock): Likewise.
3536 (lll_futex_timed_wait_requeue_pi): Likewise.
3537
45819cbc
AS
3538 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3539 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3540 register variables.
3541
403cc231
AS
3542 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3543 libm_hidden_def.
3544
24bb7432
AS
3545 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3546 (__bswap_64): Mark as __always_inline.
3547
9317ea65
B
35482015-01-25 Bram <bug_rh@spam.wizbit.be>
3549
3550 [BZ #15378]
3551 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3552 when none of the search directories exist.
3553
0e87343e
AZ
35542015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3555
bea58013
AZ
3556 [BZ #17869]
3557 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3558 power8 in .machine directive.
3559
0e87343e
AZ
3560 [BZ #17868]
3561 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3562 set dependency from opd value.
3563
ede0236c
L
35642015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3565
3566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
3567 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3568 architecture.
ede0236c 3569
22971c35
L
35702015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3571
3572 [BZ #17870]
3573 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3574 with uint64_t.
3575 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3576 (uint64_t) 1.
e0da28a1 3577 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
3578 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3579 Replace 1UL with (uint64_t) 1.
3580 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3581 int with uint64_t.
3582
da5bf245
RM
35832015-01-23 Roland McGrath <roland@hack.frob.com>
3584
2ec2d703
RM
3585 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3586 (if_freenameindex): Likewise.
3587
da5bf245
RM
3588 * resource/getrlimit64.c: Add missing libc_hidden_def.
3589
d7423856
JM
35902015-01-22 Joseph Myers <joseph@codesourcery.com>
3591
3592 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3593 __label__.
3594 (_FP_FMA): Likewise.
3595 (_FP_TO_INT_ROUND): Likewise.
3596 (_FP_FROM_INT): Likewise.
3597
6b2ba95b
AZ
35982015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3599
3600 [BZ #16418]
3601 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3602 Make code racy and cancel safe.
3603
ccdb048d
CD
36042015-01-21 Carlos O'Donell <carlos@redhat.com>
3605
191220b3
CD
3606 * sysdeps/arm/unwind-resume.h: Fix copyright year.
3607 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3608 attribution.
3609
0897c551
CD
3610 * pwd/tst-getpw.c: Rewrite.
3611
ccdb048d
CD
3612 [BZ #17702]
3613 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3614 (modules-names): Add moddummy1 and moddummy2.
3615 ($(objpfx)tst-rec-dlopen): Define.
3616 * dlfcn/moddummy1.c: New file.
3617 * dlfcn/moddummy2.c: New file.
3618 * dlfcn/tst-rec-dlopen.c: New file.
3619 * elf/dl-cache.c (_dl_load_cache_lookup):
3620 Return char*. Copy result with alloca/strcpy/strdup.
3621 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3622 returns char*. Free cached. If not saving realname
3623 free cached.
3624 * elf/dl-open.c (dl_open_worker): Do not assert that
3625 _r_debug->r_state is RT_CONSISTENT.
3626 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3627 returns char*.
3628
042e1521
CD
36292015-01-21 Torvald Riegel <triegel@redhat.com>
3630 Carlos O'Donell <carlos@redhat.com>
3631
3632 [BZ #12674]
3633 * nptl/sem_waitcommon.c: New file.
3634 * nptl/sem_wait.c: Include sem_waitcommon.c.
3635 (__sem_wait_cleanup, do_futex_wait): Remove.
3636 (__new_sem_wait): Adapt.
3637 (__new_sem_trywait): New function.
3638 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3639 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3640 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3641 (sem_timedwait): Adapt.
3642 * nptl/sem_post.c (__new_sem_post): Adapt.
3643 (futex_wake): New function.
3644 (__old_sem_post): Add release MO fence.
3645 * nptl/sem_open.c (sem_open): Adapt.
3646 * nptl/sem_init.c (__new_sem_init): Adapt.
3647 (futex_private_if_supported): New function.
3648 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3649 (__old_sem_getvalue): Add using previous code.
3650 * sysdeps/nptl/internaltypes.h: Adapt.
3651 * nptl/tst-sem13.c (do_test): Adapt.
3652 * nptl/tst-sem11.c (main): Adapt.
3653 * nptl/sem_trywait.c: Remove.
3654 * nptl/DESIGN-sem.txt: Remove.
3655 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3656 (gen-as-const-headers): Remove structsem.sym.
3657 * nptl/structsem.sym: Remove.
3658 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3659 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3660 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3661 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3662 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3663 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3664 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3665 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3666 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3667 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3668 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3669 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3670 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3671 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3672 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3673 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3674 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3675 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3676 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3677 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3678 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3679 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3680
fe0e85af
CD
36812015-01-20 Carlos O'Donell <carlos@redhat.com>
3682
a8db092e
CD
3683 * INSTALL: Regenerated.
3684
fe0e85af
CD
3685 * po/libc.pot: Regenerated.
3686
522e6ee3
CLT
36872015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
3688 Sandra Loosemore <sandra@codesourcery.com>
3689 Andrew Jenner <andrew@codesourcery.com>
3690 Joseph Myers <joseph@codesourcery.com>
3691 Nathan Sidwell <nathan@codesourcery.com>
3692
3693 * NEWS: Mention new Nios II port.
3694 * sysdeps/nios2/Implies: New file.
3695 * sysdeps/nios2/Makefile: New file.
3696 * sysdeps/nios2/Subdirs: New file.
3697 * sysdeps/nios2/Versions: New file.
3698 * sysdeps/nios2/__longjmp.S: New file.
3699 * sysdeps/nios2/abort-instr.h: New file.
3700 * sysdeps/nios2/backtrace.c: New file.
3701 * sysdeps/nios2/bits/endian.h: New file.
3702 * sysdeps/nios2/bits/fenv.h: New file.
3703 * sysdeps/nios2/bits/link.h: New file.
3704 * sysdeps/nios2/bits/setjmp.h: New file.
3705 * sysdeps/nios2/bsd-_setjmp.S: New file.
3706 * sysdeps/nios2/bsd-setjmp.S: New file.
3707 * sysdeps/nios2/configure: New generated file.
3708 * sysdeps/nios2/configure.ac: New file.
3709 * sysdeps/nios2/crti.S: New file.
3710 * sysdeps/nios2/crtn.S: New file.
3711 * sysdeps/nios2/dl-init.c: New file.
3712 * sysdeps/nios2/dl-machine.h: New file.
3713 * sysdeps/nios2/dl-sysdep.h: New file.
3714 * sysdeps/nios2/dl-tls.h: New file.
3715 * sysdeps/nios2/dl-trampoline.S: New file.
3716 * sysdeps/nios2/gccframe.h: New file.
3717 * sysdeps/nios2/gmp-mparam.h: New file.
3718 * sysdeps/nios2/jmpbuf-offsets.h: New file.
3719 * sysdeps/nios2/jmpbuf-unwind.h: New file.
3720 * sysdeps/nios2/ldsodefs.h: New file.
3721 * sysdeps/nios2/libc-tls.c: New file.
3722 * sysdeps/nios2/libm-test-ulps: New file.
3723 * sysdeps/nios2/machine-gmon.h: New file.
3724 * sysdeps/nios2/math-tests.h: New file.
3725 * sysdeps/nios2/math_private.h: New file.
3726 * sysdeps/nios2/memusage.h: New file.
3727 * sysdeps/nios2/nptl/Makefile: New file.
3728 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3729 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3730 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3731 * sysdeps/nios2/nptl/pthreaddef.h: New file.
3732 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3733 * sysdeps/nios2/nptl/tls.h: New file.
3734 * sysdeps/nios2/preconfigure: New file.
3735 * sysdeps/nios2/s_fma.c: New file.
3736 * sysdeps/nios2/s_fmaf.c: New file.
3737 * sysdeps/nios2/setjmp.S: New file.
3738 * sysdeps/nios2/sfp-machine.h: New file.
3739 * sysdeps/nios2/sotruss-lib.c: New file.
3740 * sysdeps/nios2/stackguard-macros.h: New file.
3741 * sysdeps/nios2/stackinfo.h: New file.
3742 * sysdeps/nios2/start.S: New file.
3743 * sysdeps/nios2/sysdep.h: New file.
3744 * sysdeps/nios2/tls-macros.h: New file.
3745 * sysdeps/nios2/tst-audit.h: New file.
3746 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3747 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3748 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3749 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3750 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3751 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3752 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3753 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3754 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3755 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3756 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3757 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3758 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3759 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3760 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3761 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3762 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3763 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3764 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3765 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3766 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3767 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3768 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3769 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3770 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3771 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3772 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3773 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3774 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3775 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3776 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3777 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3778 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3779 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3780 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3781 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3782 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3783 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3784 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3785 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3786 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3787 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3788 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3789 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3790
026eb207
SL
37912015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3792
3793 [BZ #17844]
3794 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3795 (getutent): Use weak_alias in non SHARED case
3796 and default_symbol_version in SHARED case.
3797 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3798 (getutent_r, pututline): Likewise.
3799 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3800 (getutid): Likewise.
3801 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3802 (getutid_r): Likewise.
3803 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3804 (getutline): Likewise.
3805 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3806 (getutline_r): Likewise.
3807 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3808 (updwtmp): Likewise.
3809
1d532483
SL
38102015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3811
3812 [BZ #17848]
3813 * sysdeps/s390/s390-32/memcmp.S
3814 (memcmp_g5): Rename to __memcmp_g5.
3815 * sysdeps/s390/s390-32/memcpy.S
3816 (memcpy_g5): Rename to __memcpy_g5.
3817 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3818 (memcpy_mvcle) Rename to __memcpy_mvcle.
3819 * sysdeps/s390/s390-32/memset.S
3820 (memset_g5): Rename to __memset_g5.
3821 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3822 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3823 and use prefixed functions.
3824 * sysdeps/s390/s390-32/multiarch/memcmp.S
3825 (memcmp_z196): Rename to __memcmp_z196.
3826 (memcmp_z10): Rename to __memcmp_z10.
3827 (memcmp): Set alias to __memcmp_g5.
3828 (bcmp): Set alias to __memcmp_g5.
3829 * sysdeps/s390/s390-32/multiarch/memcpy.S
3830 (memcpy_z196): Rename to __memcpy_z196.
3831 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3832 (memcpy_z10): Rename to __memcpy_z10.
3833 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3834 (memcpy): Set alias to __memcpy_g5.
3835 * sysdeps/s390/s390-32/multiarch/memset.S
3836 (memset_z196): Rename to __memset_z196.
3837 Jump to __memset_mvcle instead of memset_mvcle.
3838 (memset_z10): Rename to __memset_z10.
3839 Jump to __memset_mvcle instead of memset_mvcle.
3840 (memset_mvcle) Rename to __memset_mvcle.
3841 (memset): Set alias to __memset_g5.
3842 * sysdeps/s390/s390-64/memcmp.S
3843 (memcmp_z900): Rename to __memcmp_z900.
3844 * sysdeps/s390/s390-64/memcpy.S
3845 (memcpy_z900): Rename to __memcpy_z900.
3846 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3847 (memcpy_mvcle) Rename to __memcpy_mvcle.
3848 * sysdeps/s390/s390-64/memset.S
3849 (memset_z900): Rename to __memset_z900.
3850 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3851 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3852 and use prefixed functions.
3853 * sysdeps/s390/s390-64/multiarch/memcmp.S
3854 (memcmp_z196): Rename to __memcmp_z196.
3855 (memcmp_z10): Rename to __memcmp_z10.
3856 (memcmp): Set alias to __memcmp_z900.
3857 (bcmp): Set alias to __memcmp_z900.
3858 * sysdeps/s390/s390-64/multiarch/memcpy.S
3859 (memcpy_z196): Rename to __memcpy_z196.
3860 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3861 (memcpy_z10): Rename to __memcpy_z10.
3862 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3863 (memcpy): Set alias to __memcpy_z900.
3864 * sysdeps/s390/s390-64/multiarch/memset.S
3865 (memset_z196): Rename to __memset_z196.
3866 Jump to __memset_mvcle instead of memset_mvcle.
3867 (memset_z10): Rename to __memset_z10.
3868 Jump to __memset_mvcle instead of memset_mvcle.
3869 (memset_mvcle) Rename to __memset_mvcle.
3870 (memset): Set alias to __memset_z900.
3871
53fbd169
JM
38722015-01-14 Joseph Myers <joseph@codesourcery.com>
3873
3874 [BZ #17748]
3875 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3876 __fesetenv instead of fesetenv.
3877
d639a363
SP
38782015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3879
3880 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3881 macro.
3882
d3b00f46
AZ
38832015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3884
ce6615c9
AZ
3885 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3886 regression on LE.
3887
d3b00f46
AZ
3888 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3889 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3890 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3891 strncmp-power8 object.
3892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3893 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3894 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3895 * NEWS: Update.
3896
72607db0
RS
38972015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3898 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3899
3900 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3901 trailing byte check.
3902
54dc5461
DM
39032015-01-13 David S. Miller <davem@davemloft.net>
3904
3905 * include/signal.h (__sigreturn): Guard with __USE_MISC.
3906
1c6e6f23
RM
39072015-01-13 Roland McGrath <roland@hack.frob.com>
3908
3909 * login/logout.c (logout): Use memset rather than bzero.
3910 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3911 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3912 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3913 (_gethtbyaddr): Likewise.
3914 * locale/programs/simple-hash.c (bcopy): Macro removed.
3915
96d6fd6c
AZ
39162015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3917
8bedcb5f
AZ
3918 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3919 Add strcmp-power8 object.
3920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3921 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3922 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3923 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3924 __strcmp_power8 implementation.
3925 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3926 * NEWS: Update.
3927
f06a4faf
AZ
3928 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3929 Add strncpy-power8 and stpncpy-power8 objects.
3930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3931 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3932 implementations.
3933 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3934 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3935 __stpncpy_power8 implementation.
3936 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3937 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3938 __strncpy_power8 implementation.
3939 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3940 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3941 * NEWS: Update.
3942
9f2f36e5
AZ
3943 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3944 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3945 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3946
96d6fd6c 3947 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
3948 strncat-power8 object.
3949 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3950 __strcat_power8 implementation.
3951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3952 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3953 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3954 optimized strcat for power8.
3955
3956 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
3957 strcpy-power8 and stpcpy-power8 objects.
3958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3959 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3960 implementations.
3961 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3962 multiarch stpcpy implementation for POWER8.
3963 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3964 multiarch strcpy implementation for POWER8.
3965 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3966 __strcpy_power8 function.
3967 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3968 stpcpy for POWER8.
3969 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3970 strcpy for POWER8.
3971 * NEWS: Update.
3972
0f9e5854
LH
39732015-01-13 Leonhard Holz <leonhard.holz@web.de>
3974
3975 [BZ #16009]
3976 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3977 weights and rules. Use do_xfrm_cached if data fits in cache,
3978 do_xfrm otherwise. Moved former main loop to...
3979 * (do_xfrm_cached): New function.
3980 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3981 find_idx, find_position and stack_push.
3982 * (find_idx): New function.
3983 * (find_position): Likewise.
3984 * localedata/sort-test.sh: Added test run for do_xfrm.
3985 * localedata/xfrm-test.c (main): Added command line option
3986 -nocache to run the test with strings that are too large for
3987 the STRXFRM cache.
3988
c60ec0e0
TR
39892015-01-13 Torvald Riegel <triegel@redhat.com>
3990
3991 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3992 variable to lll_futex_wake call, not the value itself.
3993
34e93d6c
JM
39942015-01-12 Joseph Myers <joseph@codesourcery.com>
3995
5a9e4c09
JM
3996 [BZ #17803]
3997 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3998 twom64. Adjust value to 0x1p-64L.
3999 (__scalblnl): Only return standard underflowing result for K <=
4000 -64 not K <= -63; adjust exponent for underflowing result by 64
4001 not 63.
4002 * math/libm-test.inc (scalbn_test_data): Add more tests.
4003 (scalbln_test_data): Likewise.
4004
34e93d6c
JM
4005 [BZ #17834]
4006 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4007 0x1p63L.
4008 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4009 not HX.
4010 * math/libm-test.inc (scalbn_test_data): Add more tests.
4011 (scalbln_test_data): Likewise.
4012
ca677d3c
AZ
40132015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4014 Stefani Seibold <stefani@seibold.net>
4015
4016 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4017 (sysdep_routines): Add dl-vdso here, ...
4018 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4019 (sysdep_routines): ... not here.
4020 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4021 fallback when vDSO is not presented.
4022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4023 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4024 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4025 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4026 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4027 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4028 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4030 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4032 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4033 fallback configurable symbol when vDSO is not available.
4034 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4035 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4036 be able to redefine fallback symbol when vDSO is not available.
4037 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4038 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4039
49a9f6ab 40402015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 4041
56cf2763
AZ
4042 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4043 (TLS_INIT_TP): Add tm_capable initialization.
4044 (TLS_DEFINE_INIT_TP): Likewise.
4045 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4046 TCB.
4047 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4048 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4049 calculation.
4050 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4051 transactoion is lock elision is built and TCB tm_capable is set.
4052 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4054 (INTERNAL_SYSCALL_NCS): Likewise.
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4056 (INTERNAL_SYSCALL_NCS): Likewise.
4057 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4058
4b45943a
AZ
4059 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4060 for powerpc.
4061 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4062 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4063 and remove it for 32 bits case.
4064 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4065 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4066 initialization.
4067 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4068 Disable lock elision with rdlocks if elision is not available.
4069
8d2c0a59
AZ
4070 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4071 (sysdep_routines): Add lock elision objects.
4072 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4073 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4074 [pthread_mutex_t] (__elision): Add field.
4075 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4076 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4077 elision definitions for powerpc.
4078 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4079 implementation of lock elision for powerpc.
4080 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4081 implementation of timed lock elision for powerpc.
4082 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4083 implementation of trylock with lock elision for powerpc.
4084 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4085 implementaion of unlock for lock elision for powerpc.
4086 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4087 automatic enable lock elision for mutexes.
4088 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4089 transaction execution definitions for powerpc.
4090 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4091 definitions.
4092 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4093 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4094 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4095 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4096 * NEWS: Update.
4097
bc0ed9f7
RM
40982015-01-09 Roland McGrath <roland@hack.frob.com>
4099
4100 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4101 for #include of <shm-directory.h>.
4102
585d9c18
CLT
41032015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4104
4105 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4106 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4107
aee6626c
MF
41082015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4109
4110 [BZ #17791]
4111 * NEWS: Mention bug fix.
4112 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4113 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4114 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4115
9e560f48
TR
41162015-01-09 Torvald Riegel <triegel@redhat.com>
4117
4118 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4119
e1cfbd0c
TR
41202015-01-09 Torvald Riegel <triegel@redhat.com>
4121
4122 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4123
cf71e44f
DH
41242015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4125
4126 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4127 pointer and cast to uintptr_t.
4128
b360ee62
DH
41292015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4130
4131 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4132 removed.
4133 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4134
caff764e
DH
41352015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4136
4137 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4138 of 0.
4139
59ff172f
RM
41402015-01-08 Roland McGrath <roland@hack.frob.com>
4141
c97d27f1
RM
4142 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4143 <nptl/pthreadP.h> instead.
4144 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4145
08734ccd
RM
4146 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4147 already defined.
4148 [__SIGRTMIN] (init): Function removed.
4149 [__SIGRTMIN] (initialized): Variable removed.
4150 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4151 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4152 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4153 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4154 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4155 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4156 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4157 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4158 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4159 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4160 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4161 * sysdeps/nptl/allocrtsig.c: New file.
4162 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4163 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4164 * sysdeps/generic/testrtsig.h: File removed.
4165
7b052e33
RM
4166 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4167 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4168
cc40d25e
RM
4169 * nptl/nptl-init.c (pthread_functions): Conditionalize
4170 .ptr__nptl_setxid initialization on [SIGSETXID].
4171
9287adf0
RM
4172 * sysdeps/nptl/sys/procfs.h: New file.
4173 * nptl_db/Makefile (headers): Add it.
4174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4175
59ff172f
RM
4176 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4177 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4178 * nptl/pthread_attr_setaffinity.c: Include it.
4179 * nptl/pthread_setattr_default_np.c: Likewise.
4180 * nptl/check-cpuset.h: New file.
4181
b9205857
RH
41822015-01-08 Richard Henderson <rth@redhat.com>
4183
4184 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4185 (CFLAGS-tst-execstack-prog.c): Likewise.
4186 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4187
1a0a8d15
CLT
41882015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4189 Sandra Loosemore <sandra@codesourcery.com>
4190 Andrew Jenner <andrew@codesourcery.com>
4191 Joseph Myers <joseph@codesourcery.com>
4192 Nathan Sidwell <nathan@codesourcery.com>
4193
4194 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4195 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4196 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4197 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4198 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4199 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4200 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
4201 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4202 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4203 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4204 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4205 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4206 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
4207 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4208 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4209 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4210 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4211
dd6e8af6
AZ
42122015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4213
4214 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4215 timespec struct member in syscall macro.
4216 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4217 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4218 first timeval struct member in syscall macro.
4219 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4220
8116321f
JM
42212015-01-07 Joseph Myers <joseph@codesourcery.com>
4222
4223 [BZ #17748]
4224 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4225 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4226 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4227 __feupdateenv and define as weak alias of __feupdateenv. Use
4228 libm_hidden_weak.
4229 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4230 libm_hidden_def.
4231 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4232 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4233 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4234 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4235 libm_hidden_def.
4236 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4237 __feupdateenv and define as weak alias of __feupdateenv. Use
4238 libm_hidden_weak.
4239 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4240 libm_hidden_def.
4241 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4242 __feupdateenv and define as weak alias of __feupdateenv. Use
4243 libm_hidden_weak.
4244 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4245 libm_hidden_def.
4246 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4247 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4248 (__feupdateenv): Likewise.
4249 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4250 __feupdateenv and define as weak alias of __feupdateenv. Use
4251 libm_hidden_weak.
4252 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4253 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4254 libm_hidden_def.
4255 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4256 function.
4257 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4258 libm_hidden_def.
4259 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4260 __feupdateenv instead of feupdateenv.
4261 (default_libc_feupdateenv_test): Likewise.
4262 (libc_feresetround_ctx): Likewise.
4263
882dfe18
AZ
42642015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4265
4266 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4267 prototype.
4268
39a12f8d
CM
42692015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4270
4271 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4272 COLL_SYM in a couple of places to avoid uninitialized variable
4273 wanings on tilegx gcc 4.8.2.
4274
dc400d7b
RE
42752015-01-07 Richard Earnshaw <rearnsha@arm.com>
4276
4277 * sysdeps/aarch64/strcpy.S: New file.
4278 * sysdeps/aarch64/stpcpy.S: New file.
4279 * NEWS: Updated.
4280
ec582ca0
RE
42812015-01-07 Richard Earnshaw <rearnsha@arm.com>
4282
4283 * sysdeps/aarch64/strrchr.S: New file.
4284 * NEWS: Updated.
4285
d5b1c5ed
EB
42862015-01-07 Eric Biggers <ebiggers3@gmail.com>
4287
4288 [BZ #17658]
4289 * stdlib/setenv.c: Fix memory leak when setting large,
4290 duplicate string.
4291
fb87ee96
VN
42922015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4293
60f046a8 4294 [BZ #17273]
fb87ee96
VN
4295 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4296 and tabs from buffer before parsing fstab entry.
4297 * misc/tst-mntent.c (main): Add test for mount entry with
4298 trailing spaces and tabs.
4299
cd42798a
JM
43002015-01-06 Joseph Myers <joseph@codesourcery.com>
4301
01238691
JM
4302 [BZ #17748]
4303 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4304 * math/fesetround.c (fesetround): Rename to __fesetround and
4305 define as weak alias of __fesetround. Use libm_hidden_weak.
4306 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4307 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4308 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4309 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4310 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4311 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4312 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4313 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4314 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4315 __fesetround_inline.
4316 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4317 __fesetround_inline instead of __fesetround.
4318 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4319 __fesetround and define as weak alias of __fesetround. Use
4320 libm_hidden_weak. Call __fesetround_inline instead of
4321 __fesetround.
4322 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4323 __fesetround and define as weak alias of __fesetround. Use
4324 libm_hidden_weak.
4325 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4326 Likewise.
4327 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4328 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4329 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4330 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4331 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4332 __fesetround and define as weak alias of __fesetround. Use
4333 libm_hidden_weak.
4334 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4335 __fesetround instead of fesetround.
4336 (default_libc_feholdexcept_setround): Likewise.
4337 (libc_feholdsetround_ctx): Likewise.
4338 (libc_feholdsetround_noex_ctx): Likewise.
4339
cd42798a
JM
4340 [BZ #17748]
4341 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4342 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4343 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4344 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4345 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4346 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4347 define as weak alias of __fesetenv. Use libm_hidden_weak.
4348 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4349 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4350 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4351 define as weak alias of __fesetenv. Use libm_hidden_weak.
4352 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4353 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4354 define as weak alias of __fesetenv. Use libm_hidden_weak.
4355 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4356 libm_hidden_def.
4357 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4358 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4359 Likewise.
4360 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4361 define as weak alias of __fesetenv. Use libm_hidden_weak.
4362 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4363 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4364 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4365 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4366 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4367 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4368 __fesetenv instead of fesetenv.
4369 (libc_feresetround_noex_ctx): Likewise.
4370 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4371 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4372 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4373 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4374 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4375 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4376 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4377 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4378 (__feupdateenv): Likewise.
4379 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4380 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4381 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4382 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4383
38949026
AJ
43842015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4385
1cf98e27 4386 [BZ #17806]
38949026
AJ
4387 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4388 addresses have been freed.
4389
5fe55e9c
AJ
43902015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4391
4392 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4393 and nservall.
4394
dc8ab018
OB
43952015-01-06 Ondřej Bílka <neleai@seznam.cz>
4396
4397 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4398 Clean up check_pf allocation pattern. addresses
4399
14bb4e57
AZ
44002015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4401
4402 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4403 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4404 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4405 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4406 * nptl/pthread_join.c (pthread_join): Likewise.
4407 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4408 * sysdeps/posix/waitid.c (__waitid): Likewise.
4409 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4410 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4411 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4412 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4413 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4414 Likewise.
4415 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4416 (__libc_pread64): Likewise.
4417 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4418 (__libc_pwrite): Likewise.
4419 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4420 (__libc_pwrite64): Likewsie.
4421 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4422 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4423 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4424 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4425 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4426 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4427 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4429 Likewise.
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4431 (__libc_pread64): Likewise.
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4433 Likewise.
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4435 (__libc_pwrite64): Likewise.
4436 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4437 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4438 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4439 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4440 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4441 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4442 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4443 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4444 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4445 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4446 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4447 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4448 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4449 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4450 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4452 Likewise.
4453
10a5e112
AS
44542015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4455
4456 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4457 (CFLAGS-test-double.c): Likewise.
4458 (CFLAGS-test-ldouble.c): Likewise.
4459 (CPPFLAGS-test-ifloat.c): Likewise.
4460 (CPPFLAGS-test-idouble.c): Likewise.
4461 (CPPFLAGS-test-ildoubl.c): Likewise.
4462 (CFLAGS-test-test-fenv.c): Remove variable.
4463 (CFLAGS-test-misc.c): Likewise.
4464
57ada0e7
L
44652015-01-06 H.J. Lu <hongjiu.lu@intel.com>
4466
4467 [BZ #17797]
4468 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4469 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4470 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4471 CLOCKS_PER_SEC == 1000000.
4472 * time/clocktest.c (main): Replace %ld with %jd and cast to
4473 intmax_t.
4474
46abb64d
RM
44752015-01-05 Roland McGrath <roland@hack.frob.com>
4476
4477 * sysdeps/generic/unwind-resume.h: New file.
4478 * sysdeps/gnu/unwind-resume.c: Include it.
4479 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4480 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4481 argument list.
4482 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4483 global rather than static.
4484 (_Unwind_Resume): Update user.
4485 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4486 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4487 rather than static. Add __attribute__ ((cold)).
4488 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4489 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4490 * sysdeps/arm/arm-unwind-resume.S: New file.
4491 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4492 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4493 * sysdeps/arm/Makefile [$(subdir) = csu]
4494 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4495 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4496 Add rt-arm-unwind-resume.
4497 [$(subdir) = nptl]
4498 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4499 Add pt-arm-unwind-resume.
4500 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4501 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4502
ef9faf13
JM
45032015-01-05 Joseph Myers <joseph@codesourcery.com>
4504
4505 [BZ #17748]
4506 * include/fenv.h (__feholdexcept): Declare. Use
4507 libm_hidden_proto.
4508 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4509 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4510 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4511 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4512 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4513 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4514 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4515 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4516 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4517 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4518 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4519 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4520 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4521 (feholdexcept): Likewise.
4522 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4523 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4524 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4525 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4526 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4527 __feholdexcept instead of feholdexcept.
4528 (default_libc_feholdexcept_setround): Likewise.
4529
295a453e
SE
45302015-01-05 Steve Ellcey <sellcey@imgtec.com>
4531
4532 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4533 to avoid using stl/str to align destination.
4534
882c4b9f
SE
45352015-01-05 Steve Ellcey <sellcey@imgtec.com>
4536
4537 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4538
ac4c11f5
JM
45392015-01-05 Joseph Myers <joseph@codesourcery.com>
4540
4541 [BZ #17796]
4542 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4543 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4544 Define as weak alias not strong alias.
4545
03403e30
SE
45462015-01-05 Steve Ellcey <sellcey@imgtec.com>
4547
4548 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4549 bltzal with addiupc.
4550 (RTLD_START): Ditto.
4551
1dca195e
CM
45522015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4553
00b8b9ba
SP
4554 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4555 for __vdso_* functions in declarations.
4556 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4557 definitions.
4558 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4559 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 4560
1dca195e
CM
4561 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4562 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4563 function with cast from llround().
4564 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4565 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4566 Define.
4567
a287953a
JM
45682015-01-05 Joseph Myers <joseph@codesourcery.com>
4569
ab70da77
JM
4570 [BZ #17793]
4571 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4572 Define as weak alias not strong alias.
4573
b8986484
JM
4574 [BZ #17635]
4575 * ctype/ctype-c99.c: New file. isblank implementation moved from
4576 ...
4577 * ctype/ctype-extn.c: ... here.
4578 (__isblank_l): Move to ...
4579 * ctype/ctype-c99_l.c: ... here. New file.
4580 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4581 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4582 Remove variable.
4583 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4584 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4585 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4586 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4587 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4588
a287953a
JM
4589 [BZ #17777]
4590 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4591 (posix_fadvise64): Define as weak alias not strong alias.
4592 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4593 (posix_fallocate64): Likewise.
4594 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4595 Remove variable.
4596 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4597 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4598 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4599 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4600 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4601
b1efe3bb
MF
46022015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
4603
4604 [BZ #16191]
4605 * NEWS: Mention bug fix.
4606 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4607 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4608 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4609 (HOST_STACK_END_ADDR): Likewise.
4610
9706dc5f
JM
46112015-01-02 Joseph Myers <joseph@codesourcery.com>
4612
b93c2205
JM
4613 [BZ #17748]
4614 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
4615 * math/fegetround.c (fegetround): Rename to __fegetround and
4616 define as weak alias of __fegetround. Use libm_hidden_weak.
4617 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4618 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4619 * sysdeps/arm/fegetround.c (fegetround): Likewise.
4620 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4621 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4622 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4623 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4624 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4625 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4626 Undefine after rather than before function definition; use
4627 parentheses around function name in definition.
4628 (__fegetround): Also undefine macro after function definition.
4629 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4630 __fegetround and define as weak alias of __fegetround. Use
4631 libm_hidden_weak. Do not undefine as macro.
4632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4633 Likewise.
4634 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4635 __fegetround and define as weak alias of __fegetround. Use
4636 libm_hidden_weak.
4637 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4638 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4639 * sysdeps/tile/math_private.h (__fegetround): New inline function.
4640 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4641 __fegetround and define as weak alias of __fegetround. Use
4642 libm_hidden_weak.
4643 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4644 __fegetround instead of fegetround.
4645
253a59cc
JM
4646 [BZ #17782]
4647 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4648 Condition macro definition on [__USE_MISC].
4649
27dae011
JM
4650 [BZ #17781]
4651 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4652 (struct sigaction): Change type of sa_flags field to int.
4653
172019c0
JM
4654 [BZ #17780]
4655 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4656 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4657 __glibc_reserved0.
4658
522ad1d6
JM
4659 * nptl/version.c (banner): Use single year in copyright notice.
4660
9706dc5f
JM
4661 * NEWS: Update copyright dates.
4662 * catgets/gencat.c (print_version): Likewise.
4663 * csu/version.c (banner): Likewise.
4664 * debug/catchsegv.sh: Likewise.
4665 * debug/pcprofiledump.c (print_version): Likewise.
4666 * debug/xtrace.sh (do_version): Likewise.
4667 * elf/ldconfig.c (print_version): Likewise.
4668 * elf/ldd.bash.in: Likewise.
4669 * elf/pldd.c (print_version): Likewise.
4670 * elf/sotruss.sh: Likewise.
4671 * elf/sprof.c (print_version): Likewise.
4672 * iconv/iconv_prog.c (print_version): Likewise.
4673 * iconv/iconvconfig.c (print_version): Likewise.
4674 * locale/programs/locale.c (print_version): Likewise.
4675 * locale/programs/localedef.c (print_version): Likewise.
4676 * login/programs/pt_chown.c (print_version): Likewise.
4677 * malloc/memusage.sh (do_version): Likewise.
4678 * malloc/memusagestat.c (print_version): Likewise.
4679 * malloc/mtrace.pl: Likewise.
4680 * manual/libc.texinfo: Likewise.
4681 * nptl/version.c (banner): Likewise.
4682 * nscd/nscd.c (print_version): Likewise.
4683 * nss/getent.c (print_version): Likewise.
4684 * nss/makedb.c (print_version): Likewise.
4685 * posix/getconf.c (main): Likewise.
4686 * scripts/test-installation.pl: Likewise.
4687 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4688
b8607aac
WN
46892015-01-02 Will Newton <will.newton@linaro.org>
4690
4691 * sysdeps/arm/armv7/configure: Removed.
4692 * sysdeps/arm/armv7/configure.ac: Likewise.
4693
b168057a
JM
46942015-01-02 Joseph Myers <joseph@codesourcery.com>
4695
4696 * All files with FSF copyright notices: Update copyright dates
4697 using scripts/update-copyrights.
4698 * intl/plural.c: Regenerated.
4699 * locale/programs/charmap-kw.h: Likewise.
4700 * locale/programs/locfile-kw.h: Likewise.
4701
b217c15f
SP
47022015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4703
4704 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4705
73a268c7
JM
47062014-12-31 Joseph Myers <joseph@codesourcery.com>
4707
4708 [BZ #17748]
4709 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4710 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4711 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4712 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4713 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4714 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4715 define as weak alias of __fegetenv. Use libm_hidden_weak.
4716 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4717 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4718 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4719 define as weak alias of __fegetenv. Use libm_hidden_weak.
4720 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4721 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4722 define as weak alias of __fegetenv. Use libm_hidden_weak.
4723 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4724 libm_hidden_def.
4725 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4726 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4727 Likewise.
4728 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4729 define as weak alias of __fegetenv. Use libm_hidden_weak.
4730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4731 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4732 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4733 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4734 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4735 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4736 __fegetenv instead of fegetenv.
4737 (libc_feholdsetround_noex_ctx): Likewise.
4738
0bd95672
MF
47392014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
4740
4741 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4742 (Elf_MIPS_ABIFlags_v0): New structure.
4743 (EF_MIPS_FP64): Define.
4744 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4745 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4746 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4747 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4748 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4749 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4750 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4751 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4752 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4753 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4754 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4755 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4756 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4757 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4758 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4759 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4760 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4761 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4762 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4763 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4764 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4765 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4766 field.
4767 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4768 EF_MIPS_FP64.
4769 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4770 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4771 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4772 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4773 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4774 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4775 * sysdeps/mips/tst-abi-interlink.c: Likewise.
4776 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4777 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4778 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4779 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4780 record the current FP ABI extension.
4781 (mips-mode-switch): Define to show if kernel headers support mode
4782 switching.
4783 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4784 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4785 supported SYSV ABI version to 3.
4786 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4787 feature.
4788
f59ad976
RS
47892014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4790 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4791
4792 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4793 path.
4794 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4795
4a3d3999
JM
47962014-12-31 Joseph Myers <joseph@codesourcery.com>
4797
4798 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4799 __fegetround and redefine to call __fegetround. Remove condition
4800 on [!__NO_MATH_INLINES].
4801 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4802 function.
4803 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4804 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4805 Remove macro.
4806 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4807 instead of <fenv_libc.h>.
4808 (__llrintl): Call fegetround instead of __fegetround.
4809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4810 instead of <fenv_libc.h>.
4811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4812 (__lrintl): Call fegetround instead of __fegetround.
4813 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4814 instead of <fenv_libc.h>.
4815 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4816 (__rintl): Call fegetround instead of __fegetround.
4817
195f3afc
SP
48182014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4819
4820 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4821 arrays.
4822
7062bd42
L
48232014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4824
4825 [BZ #17775]
4826 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4827 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4828 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4829
07256e18
AS
48302014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4831
4832 * sysdeps/i386/tls-macros.h: Include <features.h>.
4833 (TLS_LE): Use non-PIC version for GCC >= 5.0.
4834 (TLS_IE): Likewise.
4835 (TLS_LD): Likewise.
4836 (TLS_GD): Likewise.
4837 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4838 define for GCC >= 5.0.
4839
1ff950ad
CM
48402014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
4841
4842 * math/test-fenv.c (test_single_exception, set_single_exc,
4843 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4844 feexcp_mask_test, feenable_test, fe_single_test): Add
4845 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4846 case where they are not used.
4847 * math/libm-test.inc: Likewise.
4848 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4849 unused in the absence of FP rounding/exception support.
4850 * stdio-common/tst-printf-round.c: Likewise.
4851 * stdlib/tst-strtod-round.c: Likewise.
4852 * stdlib/tst-strtod-underflow.c: Likewise.
4853
0747f818
JM
48542014-12-30 Joseph Myers <joseph@codesourcery.com>
4855
4856 [BZ #17723]
4857 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4858 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4859 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4860 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4861 libm_hidden_weak.
4862 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4863 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4864 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4865 libm_hidden_def.
4866 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4867 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4868 libm_hidden_weak.
4869 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4870 Likewise.
4871 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4872 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4873 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4874 libm_hidden_weak.
4875 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4876 libm_hidden_def.
4877 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4878 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4879 (__feraiseexcept): Likewise.
4880 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4881 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4882 libm_hidden_weak.
4883 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4884 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4885 libm_hidden_def.
4886 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4887 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4888 Use libm_hidden_def.
4889 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4890 libm_hidden_def.
4891 (feraiseexcept): Define as weak not strong alias. Use
4892 libm_hidden_weak.
4893 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4894 New inline function. Factored out of ...
4895 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
4896 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4897 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4898 feraiseexcept.
4899 * math/w_acos.c (__acos): Likewise.
4900 * math/w_asin.c (__asin): Likewise.
4901 * math/w_ilogb.c (__ilogb): Likewise.
4902 * math/w_j0.c (y0): Likewise.
4903 * math/w_j1.c (y1): Likewise.
4904 * math/w_jn.c (yn): Likewise.
4905 * math/w_log.c (__log): Likewise.
4906 * math/w_log10.c (__log10): Likewise.
4907 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4908 * sysdeps/aarch64/fpu/math_private.h
4909 (libc_feupdateenv_test_aarch64): Likewise.
4910 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4911 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4912 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4913 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4914 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4915 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4916 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4917 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4918 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4919 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4920
8d2b2763
L
49212014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4922
4923 [BZ #17732]
4924 * io/test-utime.c (main): Replace %ld with %jd and cast to
4925 intmax_t.
41fad830 4926 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
4927 * nptl/tst-mutex5.c: Include <stdint.h>.
4928 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
4929 * posix/tst-regex.c (run_test): Likewise.
4930 (run_test_backwards): Likewise.
5d619de4
L
4931 * rt/tst-clock.c: Include <stdint.h>.
4932 (clock_test): Replace %ld with %jd and cast to intmax_t.
4933 * rt/tst-cpuclock1.c: Include <stdint.h>.
4934 (do_test): Replace %lu with %ju and cast to uintmax_t.
4935 * rt/tst-cpuclock2.c: Include <stdint.h>.
4936 (do_test): Replace %lu with %ju and cast to uintmax_t.
4937 * rt/tst-mqueue1.c: Include <stdint.h>.
4938 (check_attrs): Replace %ld with %jd and cast to intmax_t.
4939 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4940 intmax_t.
4941 * rt/tst-mqueue4.c (do_test): Likewise.
4942 * rt/tst-timer4.c: Include <stdint.h>.
4943 (check_ts): Replace %ld with %jd and cast to intmax_t.
4944 (do_test): Likewise.
ad86fbc3
L
4945 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4946 and cast to intmax_t.
37f46900 4947 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
4948 * time/clocktest.c (main): Likewise.
4949 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 4950 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 4951
8b4416d8
AS
49522014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4953 H.J. Lu <hongjiu.lu@intel.com>
4954
4955 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4956 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4960 version if bit_Fast_Unaligned_Load is set.
4961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4968 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4969 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4970 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4971 to 4.
4972 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4973 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4974 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4975 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4976
e47b8d3b
CM
49772014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4978
6d6d7fde
CM
4979 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4980 instead of #if to avoid a Wundef warning.
4981 * stdlib/tst-limits.c (do_test): Likewise.
4982
cd2c37c9
CM
4983 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4984 parallel other exception macros.
4985 (fegetenv): Convert from macro to extern inline so that it applies
4986 retroactively to inline functions already seen by the compiler.
4987 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4988
e47b8d3b
CM
4989 * posix/Makefile (before-compile): Use $(objpfx) for
4990 posix-conf-vars-def.h.
4991
4a6aca7b
SP
49922014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4993
7910c2ae
SP
4994 * posix/getconf.c (main): Use size_t for type of I.
4995 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4996 NSPEC.
4997
50cbbaa9
SP
4998 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4999 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5000 * posix/posix-envs.def: Likewise.
5001 * sysdeps/posix/sysconf.c: Likewise.
5002 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5003 (specs): Remove array.
5004 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5005 array.
5006
3b566046
SP
5007 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5008 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5009 (__sysconf): Use CONF_IS_* macros.
5010
4a6aca7b
SP
5011 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5012 ($(objpfx)posix-conf-vars-def.h): New target.
5013 * posix/posix-conf-vars.list: New file.
5014 * posix/posix-conf-vars.h: New file.
5015 * posix/confstr.c: Include posix-conf-vars.h.
5016 (confstr): Use CONF_IS_* macros.
5017 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5018 CONF_IS_* macros.
5019 * scripts/gen-posix-conf-vars.awk: New file.
5020
7c1395a7
CM
50212014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5022
0025b4cc
CM
5023 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5024 fegetround): Add no-op macros to avoid linknamespace issues.
5025
d8aaf74b
CM
5026 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5027 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5028
5d24aa60
CM
5029 * sysdeps/unix/sysv/linux/tile/sysdep.h
5030 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5031 assembly-specific section to avoid a redefinition warning.
5032
7c1395a7
CM
5033 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5034 long before casting to pointer to avoid a cast warning.
5035
3c87c616
CM
50362014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5037
5038 * sysdeps/tile/tilegx/Implies: New file.
5039
f559d8cf
RE
50402014-12-23 Richard Earnshaw <rearnsha@arm.com>
5041
5042 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5043
7d81e8d6
FW
50442014-12-23 Florian Weimer <fweimer@redhat.com>
5045
5046 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5047
90aa3d09
JM
50482014-12-22 Joseph Myers <joseph@codesourcery.com>
5049
5050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5051 not define.
5052 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5053 <kernel-features.h>.
5054 (__utimes) [__NR_utimes]: Make code unconditional.
5055 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5056 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5057 (__ASSUME_UTIMES): Do not undefine.
5058 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5059 (__ASSUME_UTIMES): Likewise.
5060 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5061 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5062 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5063 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5064
4c0c0e2a
SE
50652014-12-22 Steve Ellcey <sellcey@imgtec.com>
5066
5067 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5068
0dacd7a3
CM
50692014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5070
b638f96a
CM
5071 [BZ #17747]
5072 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5073 alias to weak alias for j0l, y0l.
5074 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5075 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5076
0dacd7a3
CM
5077 [BZ #17746]
5078 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5079 conversion.
5080
528479c4
SE
50812014-12-22 Steve Ellcey <sellcey@imgtec.com>
5082
5083 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5084 to zero if not already defined.
5085
f56f9124
JM
50862014-12-22 Joseph Myers <joseph@codesourcery.com>
5087
5088 [BZ #17724]
5089 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5090 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5091 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5092 (char *) casts added.
5093 * sysdeps/ieee754/k_standardf.c: New file.
5094 * sysdeps/ieee754/k_standardl.c: Likewise.
5095 * math/Makefile (libm-support): Remove k_standard.
5096 (libm-calls): Add k_standard.
5097
8622d556
WD
50982014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5099
5100 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5101 Optimize to avoid an unnecessary FPCR read.
5102
f3806bdb
WD
51032014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5104
5105 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5106 Optimize to reduce FPCR/FPSR accesses.
5107
9b47df58
WD
51082014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5109
5110 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5111 Call libc_fetestexcept_aarch64.
5112
97be3cac
WD
51132014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5114
5115 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5116 Call libc_fesetround_aarch64.
5117
935ab817
JM
51182014-12-22 Joseph Myers <joseph@codesourcery.com>
5119
5120 [BZ #17733]
5121 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5122 (__bind): Do not define as weak alias.
5123 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5124 define.
5125 (__getsockname): Do not define as weak alias.
5126
cc8623f1
WN
51272014-12-22 Will Newton <will.newton@linaro.org>
5128
5129 * manual/install.texi: Document that we require bison 2.7
5130 or above.
5131 * INSTALL: Regenerate.
5132 * configure.ac: Use AC_CHECK_PROG_VER instead of
5133 AC_PATH_PROG when checking for bison and check for
5134 version 2.7 or above.
5135 * configure: Regenerate.
5136
a19ca65a
CM
51372014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5138
92901170 5139 [BZ #17745]
e969965a
CM
5140 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5141 * sysdeps/tile/ffsll.c (ffsll): To here.
5142
a19ca65a
CM
5143 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5144
050f7298
L
51452014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5146
5147 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5148 if not defined.
5149 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5150 definition.
5151 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5152 hidden ___tls_get_addr.
5153 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5154 hidden __tls_get_addr.
5155 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5156 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5157 Likewise.
5158
6df5547e
AS
51592014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5160
5161 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5162 _dl_init call.
5163
7432d613
L
51642014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5165
5166 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5167 from "call _dl_init@PLT".
5168 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 5169
98fe149e
AK
51702014-12-21 Anders Kaseorg <andersk@mit.edu>
5171
5172 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5173 guarantees.
5174
d12455f5
CM
51752014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5176
5177 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5178
95dee05f
CM
51792014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5180
92901170 5181 [BZ #17744]
95dee05f
CM
5182 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5183 strnlen.
5184
2ef4b74a
SE
51852014-12-19 Steve Ellcey <sellcey@imgtec.com>
5186
5187 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5188 of multu on MIPSr6.
5189 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5190 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5191 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5192 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5193 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5194
51952014-12-19 Steve Ellcey <sellcey@imgtec.com>
5196
5197 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5198 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5199 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5200 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 5201 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
5202 mips32r6/mips64r6.
5203 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5204
3eb38795
OB
52052014-12-19 Ondřej Bílka <neleai@seznam.cz>
5206
5207 * string/strncat.c (STRNCAT): Simplify implementation.
5208
6d4188dd
DM
52092014-12-19 David S. Miller <davem@davemloft.net>
5210
0d4ba8be
DM
5211 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5212 access the quad as both a long double and as a series of 4 words.
5213
6d4188dd
DM
5214 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5215 link_map->l_info array access.
5216
4ef91cdc
CM
52172014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5218
804c54f7
CM
5219 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5220
4ef91cdc
CM
5221 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5222 * math/atest-exp2.c (TIMEOUT): Likewise.
5223 * math/atest-sincos.c (TIMEOUT): Likewise.
5224
afd176d6
L
52252014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5228 -Wno-error with -fno-builtin-lround.
5229
a4a43a90
TR
52302014-12-19 Torvald Riegel <triegel@redhat.com>
5231
5232 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5233 Contains futex constants and functions moved over from ...
5234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5235 <lowlevellock-futex.h>.
5236 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5237 (lll_timedwait_tid): Add comments and parentheses around macro
5238 arguments.
5239
76f71081
TR
52402014-12-19 Torvald Riegel <triegel@redhat.com>
5241
5242 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5243 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5244 (__lll_private_flag): Remove.
5245 (lll_futex_wait): Likewise.
5246 (lll_futex_timed_wait): Likewise.
5247 (lll_futex_wake): Likewise.
5248 (lll_futex_requeue): Likewise.
5249 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5250 (__lll_timedwait_tid): Spell out argument names.
5251 (lll_timedwait_tid): Add comments and parentheses around macro
5252 arguments.
5253 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5254 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5255
6b814909
TR
52562014-12-19 Torvald Riegel <triegel@redhat.com>
5257
5258 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5259 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5260 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5261 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5262 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5263 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5264 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5265 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5266 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5267 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5269 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5270 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5271 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5272 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5273 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5274 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5275 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5276 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5277
9cd4d4ab
L
52782014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5279
5280 * sysdeps/x86_64/x32/Makefile: New file.
5281
c9c1a2d0
L
52822014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5283
5284 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5285 1L with (mp_limb_t) 1.
5286
af102d95
RM
52872014-12-17 Roland McGrath <roland@hack.frob.com>
5288
dd690454
RM
5289 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5290 * nptl/libc_pthread_init.c: ... here.
5291 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5292 * nptl/register-atfork.c: ... here.
5293
74eb826c
RM
5294 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5295 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5296 Use assert_perror to check its return value.
5297 (__gai_create_helper_thread): Likewise.
5298
c9ce306b
RM
5299 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5300
af102d95
RM
5301 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5302
8ac5a76a
JM
53032014-12-17 Joseph Myers <joseph@codesourcery.com>
5304
ea41469b
JM
5305 [BZ #17725]
5306 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5307 __profil_counter.
5308 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5309 Likewise.
5310 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5311 Likewise.
5312 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5313 Likewise.
5314 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5315 (profil_counter): Likewise.
5316 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5317 (profil_counter): Likewise.
5318 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5319 Likewise.
5320 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5323 (profil_counter): Likewise.
5324 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5325 Likewise.
5326 [!__profil_counter] (profil_counter): Define as weak alias of
5327 __profil_counter.
5328 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5329 (profil_counter): Rename to __profil_counter.
5330 [!__profil_counter] (profil_counter): Define as weak alias of
5331 __profil_counter.
5332 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5333 (profil_counter): Rename to __profil_counter.
5334 [!__profil_counter] (profil_counter): Define as weak alias of
5335 __profil_counter.
5336 * sysdeps/posix/profil.c: Update comment referring to
5337 profil_counter.
5338 (__profil): Use __profil_counter instead of profil_counter.
5339 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5340 __profil_counter. Use __profil_counter_ushort and
5341 __profil_counter_uint in definitions.
5342 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5343 instead of profil_counter_uint and profil_counter_ushort.
5344
8ac5a76a
JM
5345 [BZ #17722]
5346 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5347 define as weak alias of __inet_makeaddr.
5348 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5349 as weak alias of __inet_addr.
5350 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5351 as weak alias of __inet_pton. Use libc_hidden_weak.
5352 * include/arpa/inet.h (__inet_pton): Declare. Use
5353 libc_hidden_proto.
5354 (inet_makeaddr): Don't use libc_hidden_proto.
5355 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5356 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5357 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5358 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5359 Remove variable.
5360 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5361 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5362
66ce3cb1
SE
53632014-12-17 Steve Ellcey <sellcey@imgtec.com>
5364
5365 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5366
d22ce01b
SL
53672014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5368
5369 * stdio-common/bug-vfprintf-nargs.c (do_test):
5370 Cast value to intptr_t to avoid format warning
5371 for usage with PRIdPTR printing macro.
5372
eca2772b
SL
53732014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5374
5375 * libio/tst-widetext.c (do_test):
5376 Use format type %td instead of %Zd for ptrdiff_t
5377 in order to avoid format warning.
5378
bdf079da
AS
53792014-12-17 Andreas Schwab <schwab@suse.de>
5380
5381 * nscd/mem.c (gc): Add size_t cast to match printf format.
5382
3eb5d2fc
RM
53832014-12-16 Roland McGrath <roland@hack.frob.com>
5384
5385 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5386 (init): Apply PTR_MANGLE to pointers before storing them.
5387 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5388 before using them.
5389
d003ada2
JM
53902014-12-16 Joseph Myers <joseph@codesourcery.com>
5391
380292ba
JM
5392 [BZ #17719]
5393 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5394 define as weak alias of __memrchr.
5395 (__memrchr): Do not define as strong alias of memrchr.
5396 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5397 Remove variable.
5398 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5399 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5400 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5401
9a44d530
JM
5402 [BZ #17717]
5403 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5404 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5405 (if_indextoname): Rename to __if_indextoname and define as weak
5406 alias of __if_indextoname. Use libc_hidden_weak.
5407 (if_freenameindex): Rename to __if_freenameindex and define as
5408 weak alias of __if_freenameindex.
5409 (if_nameindex): Rename to __if_nameindex and define as weak alias
5410 of __if_nameindex.
5411 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5412 __if_nametoindex and define as weak alias of __if_nametoindex.
5413 Use libc_hidden_weak.
5414 (if_freenameindex): Rename to __if_freenameindex and define as
5415 weak alias of __if_freenameindex.
5416 (if_nameindex): Rename to __if_nameindex and define as weak alias
5417 of __if_nameindex.
5418 (if_indextoname): Rename to __if_indextoname and define as weak
5419 alias of __if_indextoname. Use libc_hidden_weak.
5420 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5421 __if_nametoindex and define as weak alias of __if_nametoindex.
5422 Use libc_hidden_weak.
5423 (if_freenameindex): Rename to __if_freenameindex and define as
5424 weak alias of __if_freenameindex. Use libc_hidden_weak.
5425 (if_nameindex_netlink): Use __if_freenameindex instead of
5426 if_freenameindex.
5427 (if_nameindex): Rename to __if_nameindex and define as weak alias
5428 of __if_nameindex. Use libc_hidden_weak.
5429 (if_indextoname): Rename to __if_indextoname and define as weak
5430 alias of __if_indextoname. Use libc_hidden_weak.
5431 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5432 libc_hidden_proto.
5433 [!_ISOMAC] (__if_freenameindex): Likewise.
5434 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5435 if_nametoindex.
5436 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5437 variable.
5438 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5439 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5440 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5441 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5442 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5443 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5444 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5445
d003ada2
JM
5446 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5447 Remove variable.
5448 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5449 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5450
a0d424ef
SP
54512014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5452
0cd85520
SP
5453 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5454 subscript above bounds'
5455
a0d424ef
SP
5456 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5457 bounds.
5458
0e426475
AS
54592014-12-16 Arjun Shankar <arjun.is@lostca.se>
5460
8b460906
AS
5461 * libio/tst-fopenloc.c: Use test-skeleton.c.
5462
fa13e15b
AS
5463 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5464 (entry): Rename to ITEM.
5465 (do_test, comp): Adjust.
5466
0e426475
AS
5467 * stdio-common/tst-fseek.c: Use test-skeleton.c.
5468
4f646bce
TR
54692014-12-16 Torvald Riegel <triegel@redhat.com>
5470
5471 * string/tester.c: Include <libc-internal.h>.
5472 (test_memset): Ignore -Wmemset-transposed-args.
5473
a07c4427
TR
54742014-12-16 Torvald Riegel <triegel@redhat.com>
5475
5476 * misc/tst-mntent2.c (do_test): Fix warning.
5477
1469f466
TR
54782014-12-16 Torvald Riegel <triegel@redhat.com>
5479
5480 * elf/tst-unique4lib.cc(a): Mark as used.
5481
11e3417a
FW
54822014-12-16 Florian Weimer <fweimer@redhat.com>
5483
5484 [BZ #17630]
5485 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5486 names.
5487
ae61fc7b
AM
54882014-12-16 Allan McRae <allan@archlinux.org>
5489
5490 * stdio-common/Makefile (tests): Re-add bug26.
5491
363a9899
OB
54922014-12-15 Ondřej Bílka <neleai@seznam.cz>
5493
5494 [BZ #17657]
5495 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5496 static array.
5497
d52c62df
TR
54982014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5499
5500 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5501 (__lll_lock_wait): Likewise.
5502 (__lll_timedlock_wait): Likewise.
5503 (__lll_timedwait_tid): Likewise.
5504 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5505 (__lll_robust_timedlock_wait): Likewise.
5506 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5507 (lll_cond_trylock): Likewise.
5508 (__lll_lock): Likewise.
5509 (__lll_robust_lock): Likewise.
5510 (__lll_cond_lock): Likewise.
5511 (lll_robust_cond_lock): Likewise.
5512 (__lll_timedlock): Likewise.
5513 (__lll_robust_timedlock): Likewise.
5514 (__lll_unlock): Likewise.
5515 (__lll_robust_unlock): Likewise.
5516 (lll_wait_tid): Likewise.
5517 (lll_timedwait_tid): Likewise.
5518
045a6bcd
TR
55192014-12-15 Torvald Riegel <triegel@redhat.com>
5520
5521 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5522
7f786dc1
TR
55232014-12-15 Torvald Riegel <triegel@redhat.com>
5524
5525 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5526
e7e21cba
AZ
55272014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5528
5529 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5530 * stdio-common/tst-sprintf.c: Likewise.
5531
bc89c0fc
TR
55322014-12-15 Torvald Riegel <triegel@redhat.com>
5533
5534 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5535
a5357b7c
JL
55362014-12-15 Jeff Law <law@redhat.com>
5537
5538 [BZ #16617]
5539 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5540 on the heap. (CVE-2012-3406)
5541 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5542 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5543 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5544
3a12c70f
WN
55452014-12-15 Will Newton <will.newton@linaro.org>
5546
5547 * manual/install.texi: Bump required version of texinfo
5548 to 4.7 from 4.5.
5549 * INSTALL: Regenerated.
5550 * configure.ac: Check for makeinfo version 4.7 and above.
5551 * configure: Regenerated.
5552
e4f639e4
RM
55532014-12-12 Roland McGrath <roland@hack.frob.com>
5554
5555 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5556 PREFIX, string constant to insert between directory and name.
5557 * sysdeps/posix/shm_open.c: Update caller.
5558 * sysdeps/posix/shm_unlink.c: Likewise.
5559 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5560 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5561 (SEM_SHM_PREFIX): New macro.
5562 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5563 [$(have-thread-library) = no].
5564 * nptl/Makefile (libpthread-routines): Add shm-directory.
5565 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5566 * sysdeps/nptl/shm-directory.h: New file.
5567 * sysdeps/posix/shm-directory.c
5568 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5569 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5570 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5571 INTERNAL_SYSCALL.
5572 (__where_is_shmfs): Function removed.
5573 (mountpoint, defaultmount, defaultdir, __namedsem_once):
5574 Variables removed.
5575 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5576 Use SHM_GET_NAME.
5577 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
5578
5579 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5580 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5581 unconditional for use inside libpthread.
5582 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5583
439c43f6
RM
55842014-12-12 Roland McGrath <roland@hack.frob.com>
5585
c76d1ff5
RM
5586 * nptl/pthread_getaffinity.c: New file.
5587 * nptl/pthread_setaffinity.c: New file.
5588 * nptl/pthread_getname.c: New file.
5589 * nptl/pthread_setname.c: New file.
5590
439c43f6
RM
5591 * nptl/pthread_create.c (START_THREAD_DEFN)
5592 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5593
48e435cd
SL
55942014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5595 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596
5597 * resolv/res_send.c (send_vc): Disable warning resplen may
5598 be used uninitialized.
5599
9d9c0019
SL
56002014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5601
5602 * nptl/tst-mutex6.c
5603 (ATTR_NULL): New define checks ATTR against NULL.
5604 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5605 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5606
9173840b
JL
56072014-12-11 James Lemke <jwlemke@codesourcery.com>
5608
5609 [BZ #17581]
5610 * malloc/hooks.c
5611 (mem2mem_check): Revert my previous change.
5612 (malloc_check_get_size): Revert my previous change.
5613 (mem2chunk_check): Revert my previous change.
5614
78e21c5d
RM
56152014-12-11 Roland McGrath <roland@hack.frob.com>
5616
5617 * sysdeps/posix/shm-directory.c: New file.
5618 * sysdeps/posix/shm-directory.h: New file.
5619 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5620 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5621 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
5622 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5623 Transmute EPERM to EACCES.
5624 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5625 from ...
5626 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
5627 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5628
f82c43af
KK
56292014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5630
5631 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5632 pointer and cast to uintptr_t.
5633 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5634 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5635 Add cast to avoid warning.
5636 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5637
fc00cf7b
JM
56382014-12-11 Joseph Myers <joseph@codesourcery.com>
5639
5640 * nptl/semaphore.h: Move to ...
5641 * sysdeps/pthread/semaphore.h: ... here.
5642 * Makefile (installed-headers): Change nptl/semaphore.h to
5643 sysdeps/pthread/semaphore.h.
5644
1c4053db
RM
56452014-12-11 Roland McGrath <roland@hack.frob.com>
5646
73b0c1a1
RM
5647 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5648 generated error format strings.
5649
1c4053db
RM
5650 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5651 -Wformat-extra-args warnings for scanf formats.
5652 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5653 test of zero-length format (duh).
5654 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5655 corner-case scanf format test.
5656 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5657 generated fprintf format string.
5658 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5659 corner-case sprintf format tests.
5660 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5661 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5662 -Wformat-extra-args warnings throughout.
5663 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5664 (CFLAGS-scanf4.c): Likewise.
5665 (CFLAGS-scanf7.c): Likewise.
5666 (CFLAGS-tst-sprintf.c): Likewise.
5667 (CFLAGS-tst-printf.c): Likewise.
5668 (CFLAGS-tst-printfsz.c): Likewise.
5669
47d51f4f
JM
56702014-12-11 Joseph Myers <joseph@codesourcery.com>
5671
a1edbf3c
JM
5672 * include/cpio.h: New file.
5673 * include/fmtmsg.h: Likewise.
5674
47d51f4f
JM
5675 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
5676 corresponding format argument to size_t.
5677 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
5678 arguments.
5679 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
5680 corresponding format argument to size_t.
5681 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
5682 arguments.
5683 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
5684 corresponding format argument to size_t.
5685 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5686 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5687 (CFLAGS-tst-mbswcs2.c): Likewise.
5688 (CFLAGS-tst-mbswcs3.c): Likewise.
5689 (CFLAGS-tst-mbswcs4.c): Likewise.
5690 (CFLAGS-tst-mbswcs5.c): Likewise.
5691 (CFLAGS-tst-trans.c): Likewise
5692
e9813cfb
RM
56932014-12-11 Roland McGrath <roland@hack.frob.com>
5694
5695 * posix/regexbug1.c (main): Use "%s" format with regerror results,
5696 rather than assuming they won't contain any '%'s.
5697
f627ca82
CM
56982014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
5699
5700 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5701 inhibit_loop_to_libcall to avoid recursive calls.
5702 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5703 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5704
7f296942
AZ
57052014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5706
5707 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5708 prototype.
5709
d0276e18
SE
57102014-12-11 Steve Ellcey <sellcey@imgtec.com>
5711
5712 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5713 integer value instead of boolean.
5714
fc56e970
SE
57152014-12-11 Steve Ellcey <sellcey@imgtec.com>
5716
5717 * malloc/malloc.c: Fix powerof2 check.
5718
40e53917
SL
57192014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5720
5721 * locale/programs/locfile.h (maybe_swap_uint32):
5722 Remove inline and add unused attribute.
5723
1ea166df
SL
57242014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5725
9d9c0019 5726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
5727 Truncating assembler expression to a .long expression.
5728
acf869f4
AS
57292014-12-11 Andreas Schwab <schwab@suse.de>
5730
5731 * elf/rtld.c (struct map_args): Constify str member.
5732 (do_preload): Constify fname argument.
5733
9d969099
AZ
57342014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5737 constants definition.
5738
da5bcaa4
AS
57392014-12-11 Andreas Schwab <schwab@suse.de>
5740
b0a3c164
AS
5741 [BZ #16657]
5742 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5743 FORCE_ELISION instead of DO_ELISION.
5744 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5745 Remove.
5746 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5747 Likewise.
5748
da5bcaa4
AS
5749 * iconvdata/gconv-modules: Remove duplicate entry.
5750
6d248857
WN
57512014-12-11 Will Newton <will.newton@linaro.org>
5752
5753 Merge gettext 0.19.3 into intl/.
5754
5755 This involves a number of cosmetic changes to comments
5756 and ANSI function definitions and prototypes throughout
5757 all the files. The gettext copyright header is used but
5758 with the date ranges taken from the glibc copy.
5759
5760 * NEWS: Add gettext merge to 2.21.
5761 * intl/bindtextdom.c: Switch to gettext copyright.
5762 Use ANSI definitions and prototypes.
5763 Use gl_* locking primitives rather than __libc_* ones.
5764 Use __builtin_expect rather than __glibc_likely/unlikely.
5765 * intl/dcgettext.c: Switch to gettext copyright.
5766 Use ANSI definitions and prototypes.
5767 * intl/dcigettext.c: Switch to gettext copyright.
5768 Use ANSI definitions and prototypes.
5769 (INTDIV0_RAISES_SIGFPE): New define.
5770 Use gl_* locking primitives rather than __libc_* ones.
5771 Include eval-plural.h instead of plural-eval.c.
5772 Use __builtin_expect rather than __glibc_likely/unlikely.
5773 * intl/dcngettext.c: Switch to gettext copyright.
5774 Use ANSI definitions and prototypes.
5775 * intl/dgettext.c: Likewise.
5776 * intl/dngettext.c: Likewise.
5777 * intl/plural-eval.c: Renamed to...
5778 * intl/eval-plural.h: ...this.
5779 * intl/explodename.c: Switch to gettext copyright.
5780 Use ANSI definitions and prototypes.
5781 (_nl_explode_name): Use strchr instead of __rawmemchr.
5782 * intl/finddomain.c: Switch to gettext copyright.
5783 Use ANSI definitions and prototypes.
5784 Use gl_* locking primitives rather than __libc_* ones.
5785 (_nl_find_domain): Use malloc rather than alloca for
5786 allocation of temporary locale name.
5787 * intl/gettext.c: Switch to gettext copyright.
5788 Use ANSI definitions and prototypes.
5789 * intl/gettextP.h: Switch to gettext copyright.
5790 Use ANSI definitions and prototypes.
5791 Use gl_* locking primitives rather than __libc_* ones.
5792 * intl/gmo.h: Switch to gettext copyright.
5793 (struct sysdep_string): Move struct segment_pair outside of
5794 struct definition.
5795 * intl/hash-string.c: Use ANSI definitions and prototypes.
5796 * intl/hash-string.h: Switch to gettext copyright.
5797 Use ANSI definitions and prototypes.
5798 * intl/l10nflist.c: Switch to gettext copyright.
5799 Use ANSI definitions and prototypes.
5800 (_nl_normalize_codeset): Avoid integer overflow.
5801 * intl/loadinfo.h: Switch to gettext copyright.
5802 Use ANSI definitions and prototypes.
5803 (LIBINTL_DLL_EXPORTED): New define.
5804 (PATH_SEPARATOR): New define.
5805 * intl/loadmsgcat.c: Switch to gettext copyright.
5806 * intl/localealias.c: Switch to gettext copyright.
5807 Use ANSI definitions and prototypes.
5808 (_nl_expand_alias): Use PATH_SEPARATOR.
5809 * intl/ngettext.c: Switch to gettext copyright.
5810 Use ANSI definitions and prototypes.
5811 * intl/plural-exp.c: Likewise.
5812 * intl/plural-exp.h: Switch to gettext copyright.
5813 Use ANSI definitions and prototypes.
5814 (struct expression): Move definition of enum operator outside
5815 of struct definition.
5816 * intl/plural.c: Regenerate.
5817 * intl/plural.y: Switch to gettext copyright.
5818 Use ANSI definitions and prototypes.
5819 Port to bison 3.0.
5820 * intl/textdomain.c: Switch to gettext copyright.
5821 Use ANSI definitions and prototypes.
5822 Use gl_* locking primitives rather than __libc_* ones.
5823
48c43298
SE
58242014-12-10 Steve Ellcey <sellcey@imgtec.com>
5825
5826 * debug/warning-nop.c: Add used atrribute.
5827
2b89bce9
JM
58282014-12-10 Joseph Myers <joseph@codesourcery.com>
5829
c153ac9f
JM
5830 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5831
2b89bce9
JM
5832 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5833 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5834 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5835
2cfbdb9a
JM
58362014-12-10 Joseph Myers <joseph@codesourcery.com>
5837 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838
5839 [BZ #17634]
5840 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5841 Undefine after defining function. Define as weak alias of
5842 __wcschr. Use libc_hidden_weak.
5843 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
5844 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5845 (libc_hidden_def): Also define __GI___wcschr alias.
5846 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5847 __wcschr and define as weak alias of __wcschr.
5848 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5849 __wcschr.
5850 [!WCSCHR] (DEFAULT_WCSCHR): Define.
5851 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5852 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
5853 libc_hidden_weak. Do not use libc_hidden_def.
5854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5855 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5856 __GI___wcschr alias.
5857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5858 [IS_IN (libc)] (wcschr): Define as macro expanding to
5859 __redirect_wcschr.
5860 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5861 [IS_IN (libc)] (__wcschr_power6): Likewise.
5862 [IS_IN (libc)] (__wcschr_power7): Likewise.
5863 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
5864 instead of wcschr.
5865 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5866 __libc_wcschr.
5867 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5868 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5869 __wcschr and define as weak alias of __wcschr. Use
5870 libc_hidden_builtin_def.
5871 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5872 as weak alias of __wcschr. Use libc_hidden_weak.
5873 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5874 wcschr.
5875 * time/era.c (_nl_init_era_entries): Likewise.
5876 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5877 variable.
5878 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5879 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5880
1b8bf351
JM
58812014-12-10 Joseph Myers <joseph@codesourcery.com>
5882
5883 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5884 format for long int variable.
5885
f5f46d51
AK
58862014-12-10 Anders Kaseorg <andersk@MIT.EDU>
5887
5888 [BZ #10672]
07008f7d 5889 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
5890 qsort stable.
5891
217a74a8
AS
58922014-12-10 Andreas Schwab <schwab@suse.de>
5893
5894 [BZ #12847]
5895 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5896 user-controlled locks.
5897
aa76a5c7
RE
58982014-12-10 Richard Earnshaw <rearnsha@arm.com>
5899
5900 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5901 register.
5902
2084e7ca
JM
59032014-12-10 Joseph Myers <joseph@codesourcery.com>
5904
a4ecc9eb
JM
5905 * configure.ac (--disable-werror): New configure option.
5906 (enable_werror): New AC_SUBST.
5907 * configure: Regenerated.
5908 * config.make.in (enable-werror): New variable.
5909 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5910 -Wno-error=undef.
5911 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5912 * manual/install.texi (Configuring and compiling): Document
5913 --disable-werror.
5914 * INSTALL: Regenerated.
5915 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5916 (CFLAGS-tst-chk2.c): Likewise.
5917 (CFLAGS-tst-chk3.c): Likewise.
5918 (CFLAGS-tst-chk4.cc): Likewise.
5919 (CFLAGS-tst-chk5.cc): Likewise.
5920 (CFLAGS-tst-chk6.cc): Likewise.
5921 (CFLAGS-tst-lfschk1.c): Likewise.
5922 (CFLAGS-tst-lfschk2.c): Likewise.
5923 (CFLAGS-tst-lfschk3.c): Likewise.
5924 (CFLAGS-tst-lfschk4.cc): Likewise.
5925 (CFLAGS-tst-lfschk5.cc): Likewise.
5926 (CFLAGS-tst-lfschk6.cc): Likewise.
5927
0f88636c
JM
5928 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5929 (main): Disable -Wdeprecated-declarations around calls to
5930 register_printf_function.
5931
c81e9deb
JM
5932 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5933 (do_test): Disable -Wdiv-by-zero around some calls to
5934 fwrite_unlocked and fread_unlocked.
5935
2084e7ca
JM
5936 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5937 (DIAG_POP_NEEDS_COMMENT): Likewise.
5938 (_DIAG_STR1): Likewise.
5939 (_DIAG_STR): Likewise.
5940 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5941 * stdio-common/bug21.c: Include <libc-internal.h>.
5942 (do_test): Disable -Wformat around call to sscanf.
5943 * stdio-common/scanf14.c: Include <libc-internal.h>.
5944 (main): Disable -Wformat around some calls to scanf functions.
5945
df7ecc6b
TR
59462014-12-09 Torvald Riegel <triegel@redhat.com>
5947
5948 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5949
2aa3862e
AZ
59502014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951
5952 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5953 stack variable alignment.
5954
c5c2b7c3
JM
59552014-12-06 Joseph Myers <joseph@codesourcery.com>
5956
5957 [BZ #17682]
5958 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5959 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5960 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5961 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5962 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5963 __getrlimit instead of getrlimit.
5964 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5965 __gettimeofday instead of gettimeofday.
5966 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5967 Likewise.
5968 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5969 Likewise.
5970 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5971 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5972 Remove variable.
5973 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5974 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5975
9752c3cd
AZ
59762014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5977
5978 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5979 for wide-character tests.
5980
4bee4cd9
RM
59812014-12-04 Roland McGrath <roland@hack.frob.com>
5982
5983 * io/openat64.c: #include <libc-internal.h>
5984 (__openat64): Prototypify. Use ignore_value on MODE.
5985 * io/openat.c: Likewise.
5986 * misc/reboot.c: #include <libc-internal.h>
5987 (reboot): Prototypify. Use ignore_value on HOWTO.
5988 * misc/ptrace.c: #include <libc-internal.h>
5989 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5990
84dbedb6
JM
59912014-12-04 Joseph Myers <joseph@codesourcery.com>
5992
5993 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5994 XPG4, UNIX98 and XOPEN2K.
5995 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5996 Remove variable.
5997 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5998
b7a3e1c4 59992014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 6000
af50dfc1 6001 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
6002 * libio/iofopen.c: Likewise.
6003 * libio/wfileops.c: Likewise.
6004
fe8b4d98
SP
6005 [BZ #17653]
6006 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6007 offset on EOF.
6008 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6009 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6010 (fgets_func): Function pointer to fgets and fgetws.
6011 (do_ftell_test): Add test to verify ftell value after read
6012 EOF.
6013 (do_test): Set fgets_func.
6014
61b4f792
SP
6015 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6016 O_TRUNC flag for w and w+ modes.
6017 (do_rewind_test): Likewise.
6018 (do_ftell_test): Likewise.
6019 (do_write_test): Likewise.
6020
be349d70
SP
6021 [BZ #17647]
6022 * libio/fileops.c (do_ftell): Seek only when there are
6023 unflushed writes.
6024 * libio/wfileops.c (do_ftell_wide): Likewise.
6025 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6026 test case.
6027 (do_one_test): Call it.
6028
e3d6dba5
JM
60292014-12-03 Joseph Myers <joseph@codesourcery.com>
6030
6031 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6032 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6033 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6034 Remove variable.
6035 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6036 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6037 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6038
7f994279
JM
60392014-12-02 Joseph Myers <joseph@codesourcery.com>
6040
28a91e8f
JM
6041 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6042 Remove variable.
6043 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6044
7f994279
JM
6045 [BZ #17668]
6046 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6047 as weak alias of __getifaddrs. Use libc_hidden_weak.
6048 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6049 __freeifaddrs. Use libc_hidden_weak.
6050 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6051 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6052 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6053 __freeifaddrs. Use libc_hidden_weak.
6054 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6055 __getifaddrs and define as weak alias of __getifaddrs. Use
6056 libc_hidden_weak.
6057 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6058 __freeifaddrs. Use libc_hidden_weak.
6059 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6060 Remove variable.
6061 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6062 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6063
bbe4c142
PJ
60642014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6065
6066 [BZ #17601]
6067 * sysdeps/mips/start.S (__start): Use indirect jump to call
6068 __libc_start_main.
6069
66cadc05
JM
60702014-12-02 Joseph Myers <joseph@codesourcery.com>
6071
909e16d9
JM
6072 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6073
4e0b9016
JM
6074 * nptl/tst-mutex1.c: Include <stdbool.h>.
6075 [!ATTR] (ATTR_NULL): New macro.
6076 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6077 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6078 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6079
b1aff6a4
JM
6080 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6081 to char *.
6082
266865c0
JM
6083 [BZ #17665]
6084 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6085 Change conditional to [__USE_MISC].
6086
84e5e756
JM
6087 [BZ #17664]
6088 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6089 fgets_unlocked.
6090 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6091 __fgets_unlocked.
6092 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6093 fgets_unlocked.
6094 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6095 Remove variable.
6096 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6097 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6098 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6099 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6100 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6101 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6102 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6103 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6104 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6105
66cadc05
JM
6106 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6107
2e8a2de2 61082014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
6109
6110 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6111 Remove strpbrk objects.
6112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6113 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6114 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6115 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6116 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6117 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6118
bb2542e0
AZ
6119 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6120 Remove strcspn objects.
6121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6122 (__libc_ifunc_impl_list): Remove strcspn implementation.
6123 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6124 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6125 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6126 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
6127
6128 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6129 Remove strspn objetcs.
6130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6131 (__libc_ifunc_impl_list): Remove strspn implementation.
6132 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6133 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6134 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6135 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6136
08f1e1d2
JL
61372014-12-01 James Lemke <jwlemke@codesourcery.com>
6138
6139 [BZ #17581]
6140 * malloc/hooks.c
6141 (mem2mem_check): Add a terminator to the chain of checking blocks.
6142 (malloc_check_get_size): Use it here.
6143 (mem2chunk_check): Ditto.
6144
a8a7d7d2
RS
61452014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6146
6147 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6148 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6149
97114a38
CD
61502014-11-29 Carlos O'Donell <carlos@redhat.com>
6151
c8dc1727
CD
6152 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6153
6d03458e
CD
6154 * nptl/nptl-init.c: Include libc-internal.h.
6155 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6156
97114a38
CD
6157 * elf/ldconfig.c (search_dir): Expand comment.
6158
0e7e69ba
JM
61592014-11-29 Joseph Myers <joseph@codesourcery.com>
6160
6161 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6162 variable.
6163 (linknamespace-symlist-stdlibs-tests): Likewise.
6164 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6165 instead of $(objpfx)symlist-stdlibs.
6166 (linknamespace-libs-isoc): New variable.
6167 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6168 (linknamespace-libs-ISO): New variable.
6169 (linknamespace-libs-ISO99): Likewise.
6170 (linknamespace-libs-ISO11): Likewise.
6171 (linknamespace-libs-XPG3): Likewise.
6172 (linknamespace-libs-XPG4): Likewise.
6173 (linknamespace-libs-POSIX): Likewise.
6174 (linknamespace-libs-UNIX98): Likewise.
6175 (linknamespace-libs-XOPEN2K): Likewise.
6176 (linknamespace-libs-POSIX2008): Likewise.
6177 (linknamespace-libs-XOPEN2K8): Likewise.
6178 ($(objpfx)symlist-stdlibs): Replace by
6179 $(linknamespace-symlist-stdlibs-tests). Use
6180 $(linknamespace-libs-$*) as set of libraries.
6181 ($(linknamespace-header-tests)): Update dependencies. Use
6182 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6183 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6184 * conform/linknamespace.pl: Remove comment about considering
6185 definitions of symbols from irrelevant libraries.
6186
d8dd0080
L
61872014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6188
6189 [BZ #13862]
6190 * elf/dl-tls.c: Include <atomic.h>.
6191 (oom): Remove #ifdef SHARED/#endif.
6192 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6193 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6194 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6195 big enough.
6196 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6197 * nptl/Makefile (tests): Add tst-stack4.
6198 (modules-names): Add tst-stack4mod.
6199 ($(objpfx)tst-stack4): New.
6200 (tst-stack4mod.sos): Likewise.
6201 ($(objpfx)tst-stack4.out): Likewise.
6202 ($(tst-stack4mod.sos)): Likewise.
6203 (clean): Likewise.
6204 * nptl/tst-stack4.c: New file.
6205 * nptl/tst-stack4mod.c: Likewise.
6206
167da422
B
62072014-11-27 J. Brown <jb999@gmx.de>
6208
6209 * sysdeps/x86/bits/string.h: Add recent CPUs.
6210
9114625b
JM
62112014-11-27 Joseph Myers <joseph@codesourcery.com>
6212
6b5189eb
JM
6213 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6214 sigblock.
6215
49051f8e
JM
6216 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6217 feof.
6218
9114625b
JM
6219 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6220 variable.
6221
e7300fef
SL
62222014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6223
6224 * nscd/connections.c: Include libc-internal.h because of macro
6225 usage ignore_value.
6226
1721f0a4
SP
62272014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6228
6229 * string/bits/string3.h (__warn_memset_zero_len): Don't
6230 declare for gcc newer than 5.0.
6231 (memset): Don't test for zero-length __LEN for gcc newer than
6232 5.0.
6233
be970916
JM
62342014-11-27 Joseph Myers <joseph@codesourcery.com>
6235
d88548f4
JM
6236 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6237 size_t for %zu format.
6238
be970916
JM
6239 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6240 difference, not %ju.
6241
3b20fd5c
JM
62422014-11-26 Joseph Myers <joseph@codesourcery.com>
6243
8915eace
JM
6244 * include/libc-internal.h (ignore_value): New macro.
6245 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6246 with ignore_value.
6247
f1a5a0e3
JM
6248 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6249 definition.
6250
59ef1715
JM
6251 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6252 pthread_cleanup_push to void *.
6253
a6f3079b
JM
6254 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6255 Undefine.
6256
706688aa
JM
6257 [BZ #16619]
6258 [BZ #16740]
6259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6260 instead of 1L << 52.
6261
12da14a5
JM
6262 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6263 * libio/bug-rewind2.c (do_test): Likewise.
6264
bd5dadac
JM
6265 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6266 * debug/test-strcpy_chk-ifunc.c: Likewise.
6267 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6268 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6269 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6270 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6271 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6272 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6273 * Rules [$(multi-arch) = no] (tests): Do not filter out
6274 $(tests-ifunc).
6275 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6276 * debug/Makefile (tests-ifunc): Remove variable.
6277 (tests): Do not add $(tests-ifunc).
6278 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6279 (tests): Do not add $(tests-ifunc).
6280 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6281 [TEST_IFUNC]: Remove conditionals.
6282 * string/test-string.h (TEST_IFUNC): Remove macro.
6283 [TEST_IFUNC]: Remove conditionals.
6284
3b20fd5c
JM
6285 * string/test-strchr.c [!WIDE] (L): New macro.
6286 [WIDE] (L): Likewise.
6287 (check1): Use CHAR instead of char. Use L on string and character
6288 constants.
6289
704f7947
AZ
62902014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6291
6292 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6293 tests.
6294 * sysdeps/powerpc/bits/atomic.h
6295 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6296 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6297 (atomic_exchange_and_add_acq): Likewise.
6298 (atomic_exchange_and_add_rel): Likewise.
6299 * sysdeps/powerpc/powerpc32/bits/atomic.h
6300 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6301 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6302 * sysdeps/powerpc/powerpc64/bits/atomic.h
6303 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6304 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6305
cdcb42d7
TR
63062014-11-26 Torvald Riegel <triegel@redhat.com>
6307
6308 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6309 Change synchronization of __sched_fifo_min_prio and
6310 __sched_fifo_max_prio.
6311 * nptl/pthread_mutexattr_getprioceiling.c
6312 (pthread_mutexattr_getprioceiling): Likewise.
6313 * nptl/pthread_mutexattr_setprioceiling.c
6314 (pthread_mutexattr_setprioceiling): Likewise.
6315 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6316 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6317 Likewise.
6318
c82f5c0c
JM
63192014-11-26 Joseph Myers <joseph@codesourcery.com>
6320
6321 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6322 void.
6323
439e1ad6
JM
63242014-11-25 Joseph Myers <joseph@codesourcery.com>
6325
6326 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6327 third argument const.
6328
b1eda10e
PE
63292014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6330
6331 fnmatch: work around GCC compiler warning bug with uninit var
6332 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6333 This works around a bug with x86-64 GCC 4.9.2 and earlier
6334 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6335 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6336 used uninitialized in this function [-Wmaybe-uninitialized]".
6337
bde2667a
JM
63382014-11-25 Joseph Myers <joseph@codesourcery.com>
6339
6340 * posix/bug-regex31.c (main): Return RES not 0.
6341
5fbb5691
AB
63422014-11-25 Anton Blanchard <anton@samba.org>
6343
6344 * sysdeps/powerpc/bits/atomic.h
6345 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6346
467fec0b
BM
63472014-11-24 Sterling Augustine <saugustine@google.com>
6348
6349 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6350
e9ff8efb
RC
63512014-11-24 Ryan Cumming <etaoins@gmail.com>
6352
6353 [BZ #17608]
6354 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6355
9744496f
JM
63562014-11-24 Joseph Myers <joseph@codesourcery.com>
6357
6358 [BZ #17633]
6359 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6360 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6361 variable.
6362 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6363 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6364
6423d475
WD
63652014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6366
6367 * string/strncpy.c (strncpy): Improve performance by using memset.
6368
63692014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
6370
6371 * string/strcpy.c (strcpy):
6372 Improve performance by using strlen and memcpy.
6373
5d178c37
LH
63742014-11-24 Leonhard Holz <leonhard.holz@web.de>
6375
6376 * string/strcoll_l.c (get_next_seq): __always_inline.
6377 * string/strcoll_l.c (do_compare): __always_inline.
6378
279bc5b3
SP
63792014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6380
7a9ebfa1
SP
6381 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6382 defined.
6383 * include/mqueue.h: Likewise.
6384 * include/stdlib.h: Likewise.
6385
4f41c682
SP
6386 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6387 (get_null_defines): Adjust.
6388 * sunrpc/Makefile: Adjust comment.
6389 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6390 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6391 (CFLAGS-interp.c): Likewise.
6392 (CFLAGS-ldconfig.c): Likewise.
6393 (CPPFLAGS-.os): Likewise.
6394 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6395 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6396 * extra-modules.mk (extra-modules.mk): Likewise.
6397 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6398 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6399 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6400 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6401 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6402 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6403 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6404 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6405 * iconvdata/Makefile (CPPFLAGS): Likewise.
6406 (cpp-srcs-left): Add libof for all iconvdata routines.
6407 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6408 * include/assert.h: Likewise.
6409 * include/ctype.h: Likewise.
6410 * include/errno.h: Likewise.
6411 * include/libc-symbols.h: Likewise.
6412 * include/math.h: Likewise.
6413 * include/netdb.h: Likewise.
6414 * include/resolv.h: Likewise.
6415 * include/stdio.h: Likewise.
6416 * include/stdlib.h: Likewise.
6417 * include/string.h: Likewise.
6418 * include/sys/stat.h: Likewise.
6419 * include/wctype.h: Likewise.
6420 * intl/l10nflist.c: Likewise.
6421 * libidn/idn-stub.c: Likewise.
6422 * libio/libioP.h: Likewise.
6423 * nptl/libc_multiple_threads.c: Likewise.
6424 * nptl/pthreadP.h: Likewise.
6425 * posix/regex_internal.h: Likewise.
6426 * resolv/res_hconf.c: Likewise.
6427 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6428 * sysdeps/arm/memmove.S: Likewise.
6429 * sysdeps/arm/sysdep.h: Likewise.
6430 * sysdeps/generic/_itoa.h: Likewise.
6431 * sysdeps/generic/symbol-hacks.h: Likewise.
6432 * sysdeps/gnu/errlist.awk: Likewise.
6433 * sysdeps/gnu/errlist.c: Likewise.
6434 * sysdeps/i386/i586/memcpy.S: Likewise.
6435 * sysdeps/i386/i586/memset.S: Likewise.
6436 * sysdeps/i386/i686/memcpy.S: Likewise.
6437 * sysdeps/i386/i686/memmove.S: Likewise.
6438 * sysdeps/i386/i686/mempcpy.S: Likewise.
6439 * sysdeps/i386/i686/memset.S: Likewise.
6440 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6441 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6442 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6443 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6444 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6445 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6446 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6447 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6457 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6470 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6473 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6476 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6477 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6480 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6481 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6482 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6483 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6484 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6485 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6486 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6487 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6488 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6489 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6490 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6491 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6492 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6493 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6494 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6495 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6496 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6497 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6498 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6499 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6500 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6501 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6502 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6503 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6504 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6505 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6506 * sysdeps/posix/closedir.c: Likewise.
6507 * sysdeps/posix/opendir.c: Likewise.
6508 * sysdeps/posix/readdir.c: Likewise.
6509 * sysdeps/posix/rewinddir.c: Likewise.
6510 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6511 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6512 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6513 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6514 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6515 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6516 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6517 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6521 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6522 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6523 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6524 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6525 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6526 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6528 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6530 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6531 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6532 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6534 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6535 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6536 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6537 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6538 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6543 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6545 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6546 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6547 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6548 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6549 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6550 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6551 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6552 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6556 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6557 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6558 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6559 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6560 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6561 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6562 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6563 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6564 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6567 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6568 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6569 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6570 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6571 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6572 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6573 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6574 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6575 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6576 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6577 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6578 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6579 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6581 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6582 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6583 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6584 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6585 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6586 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6587 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6588 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6589 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6590 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6591 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6592 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6593 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6594 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6596 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6597 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6598 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6599 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6600 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6601 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6602 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6604 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6606 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6608 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6609 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6610 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6611 * sysdeps/unix/alpha/sysdep.S: Likewise.
6612 * sysdeps/unix/alpha/sysdep.h: Likewise.
6613 * sysdeps/unix/make-syscalls.sh: Likewise.
6614 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6615 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6616 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6617 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6618 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6619 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6620 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6621 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6622 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6623 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6624 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6625 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6626 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6627 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6628 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6629 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6630 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6631 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6632 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6633 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6634 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6635 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6636 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6637 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6638 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6639 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6640 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6643 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6644 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6648 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6652 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6653 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6654 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6655 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6656 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6657 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6658 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6664 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6665 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6666 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6667 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6668 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6669 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6670 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6672 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6673 * sysdeps/x86_64/memcpy.S: Likewise.
6674 * sysdeps/x86_64/memmove.c: Likewise.
6675 * sysdeps/x86_64/memset.S: Likewise.
6676 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6677 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6678 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6679 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6680 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6681 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6683 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6684 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6685 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6686 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6687 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6688 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6689 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6690 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6691 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6692 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6693 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6694 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6695 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6696 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6697 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6700 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6701 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6702 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6703 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6704 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6705 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6706 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6707 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6708 * sysdeps/x86_64/strcmp.S: Likewise.
6709
76ca86a5
SP
6710 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6711
a3848485
SP
6712 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6713 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6714 * elf/rtld-Rules: Likewise.
6715 * elf/setup-vdso.h: Likewise.
6716 * include/assert.h: Likewise.
6717 * include/bits/stdlib-float.h: Likewise.
6718 * include/errno.h: Likewise.
6719 * include/sys/stat.h: Likewise.
6720 * include/unistd.h: Likewise.
6721 * sysdeps/aarch64/setjmp.S: Likewise.
6722 * sysdeps/alpha/setjmp.S: Likewise.
6723 * sysdeps/arm/__longjmp.S: Likewise.
6724 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6725 * sysdeps/arm/setjmp.S: Likewise.
6726 * sysdeps/arm/sysdep.h: Likewise.
6727 * sysdeps/generic/_itoa.h: Likewise.
6728 * sysdeps/generic/dl-sysdep.h: Likewise.
6729 * sysdeps/generic/ldsodefs.h: Likewise.
6730 * sysdeps/i386/dl-tls.h: Likewise.
6731 * sysdeps/i386/setjmp.S: Likewise.
6732 * sysdeps/m68k/setjmp.c: Likewise.
6733 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6734 * sysdeps/mach/hurd/opendir.c: Likewise.
6735 * sysdeps/posix/getcwd.c: Likewise.
6736 * sysdeps/posix/opendir.c: Likewise.
6737 * sysdeps/posix/profil.c: Likewise.
6738 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6739 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6740 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6742 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6745 * sysdeps/s390/dl-tls.h: Likewise.
6746 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6747 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6748 * sysdeps/sh/sh3/setjmp.S: Likewise.
6749 * sysdeps/sh/sh4/setjmp.S: Likewise.
6750 * sysdeps/unix/alpha/sysdep.h: Likewise.
6751 * sysdeps/unix/arm/sysdep.S: Likewise.
6752 * sysdeps/unix/i386/sysdep.S: Likewise.
6753 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6754 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6755 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6756 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6757 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6758 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6759 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6760 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6761 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6762 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6763 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6764 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6765 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6768 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6770 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6771 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6772 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6773 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6776 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6777 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6778 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6780 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6781 * sysdeps/x86_64/setjmp.S: Likewise.
6782
a109996e
SP
6783 * include/math.h: Use IS_IN instead of IS_IN_libm.
6784 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6796 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6804 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6805 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6806 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6807 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6808 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6809 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6811 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6812 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6813 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6814 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6815 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6816 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6818 Likewise.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6820 Likewise.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6822 Likewise.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6824 Likewise.
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6826 Likewise.
6827 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6828 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6829 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6830 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6831 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6832 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6838 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6839 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6840 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6841 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6843 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6844 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6845 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6846 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6847 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6848 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6850 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6851 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6853 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6854
ce9f10f7
SP
6855 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6856 * nptl/pthreadP.h: Likewise.
6857 * nptl_db/structs.def: Likewise.
6858 * sysdeps/arm/sysdep.h: Likewise.
6859 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6860 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6861 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6862 * sysdeps/unix/alpha/sysdep.h: Likewise.
6863 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6864 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6865 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6866 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6867 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6868 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6869 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6870 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6871 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6872 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6873 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6874 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6875 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6876 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6879 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6880 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6881 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6884 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6885 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6886 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6887 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6888 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6889
016afc75
SP
6890 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6891 * nptl/pthreadP.h: Likewise.
6892 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6893 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6894 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6895 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6896 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6897 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6898 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6899 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6900 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6901 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6902 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6903 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6905 Likewise.
6906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6907 Likewise.
6908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6910 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6913 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6914 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6915 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6916
9b42a0b3
SP
6917 * dlfcn/dladdr.c: Use IS_IN.
6918 * dlfcn/dladdr1.c: Likewise.
6919 * dlfcn/dlclose.c: Likewise.
6920 * dlfcn/dlerror.c: Likewise.
6921 * dlfcn/dlinfo.c: Likewise.
6922 * dlfcn/dlmopen.c: Likewise.
6923 * dlfcn/dlopen.c: Likewise.
6924 * dlfcn/dlsym.c: Likewise.
6925 * dlfcn/dlvsym.c: Likewise.
6926
85f36372
SP
6927 * include/ifaddrs.h: Use IS_IN.
6928 * inet/check_pf.c: Likewise.
6929 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6930 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6931
fb6784e3
SP
6932 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6933 IS_IN_ldconfig.
6934 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6935 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6936
2886d2d1
SP
6937 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6938 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6939 IS_IN (libc).
6940
9a484857
SP
6941 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6942
a10178bd
SP
6943 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6944 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6945 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6946 * include/libc-symbols.h (IS_IN_LIB): New macro.
6947 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6948 * include/netdb.h: Likewise.
6949 * include/stap-probe.h: Remove all uses of IN_LIB.
6950
279bc5b3
SP
6951 * Makeconfig (module-cppflags-real): Define MODULE_NAME
6952 instead of IN_MODULE.
6953 * include/libc-symbols.h (IN_MODULE): Define using
6954 MODULE_NAME.
6955 (PASTE_NAME, PASTE_NAME1): New macros.
6956 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6957 of IN_LIB.
6958 (STAP_PROBE_ASM): Likewise.
6959
e0cfa510
ST
69602014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
6961
6962 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6963 __mach_init in dlopened libc.
6964
34d97d87
MF
69652014-11-22 Mike Frysinger <vapier@gentoo.org>
6966
6967 * sysdeps/arm/preconfigure.ac: Delete EABI check.
6968 * sysdeps/arm/preconfigure: Regenerate.
6969
33cd1f74
RM
69702014-11-21 Roland McGrath <roland@hack.frob.com>
6971
6972 * nptl/pthread_create.c (__pthread_create_2_1): Set
6973 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6974 when copying values from IATTR into PD.
6975
8c230039
WN
69762014-11-21 Will Newton <will.newton@linaro.org>
6977 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6978
6d3db89b
AP
6979 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6980 Refactor inline-asm. Also add comment.
6981
01194ba1
WN
6982 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6983 ElfW macro instead of hardcoded Elf64 types.
6984 (la_aarch64_gnu_pltenter): Likewise.
6985 * sysdeps/aarch64/dl-machine.h
6986 (elf_machine_runtime_setup): Use ElfW(Addr).
6987
8c230039
WN
6988 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6989 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6990 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6991 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6992 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6993 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6994 (R_AARCH64_TLS_DTPMOD): This.
6995 (R_AARCH64_TLS_DTPREL64): Rename to ...
6996 (R_AARCH64_TLS_DTPREL): This.
6997 (R_AARCH64_TLS_TPREL64): Rename to ...
6998 (R_AARCH64_TLS_TPREL): This.
6999 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7000 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7001 R_AARCH64_TLS_TPREL64.
7002 (elf_machine_rela): Likewise.
7003
0d79fa53
TR
70042014-11-21 Torvald Riegel <triegel@redhat.com>
7005
7006 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7007 by setting it to 0. 64b atomics are not supported currently.
7008
b59d114b
AO
70092014-11-21 Alexandre Oliva <aoliva@redhat.com>
7010
7011 [BZ #16469]
7012 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7013 search domain names.
7014
f3d945d5
AO
70152014-11-21 Alexandre Oliva <aoliva@redhat.com>
7016
7017 [BZ #16469]
7018 * NEWS: Update.
7019 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7020 trailing dot.
7021 * posix/tst-getaddrinfo5.c: New.
7022 * posix/Makefile (tests): Add it.
7023
49698902
AO
70242014-11-21 Alexandre Oliva <aoliva@redhat.com>
7025
7026 [BZ #14498]
7027 * NEWS: Fixed.
7028 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7029 after parsing line but before break_if_match.
7030 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7031 if there is a protocol mismatch.
7032
81959214
MS
70332014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7034
7035 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7036 because the potential race is on the user-supplied stream.
7037
7729e0e9
AO
70382014-11-21 Alexandre Oliva <aoliva@redhat.com>
7039
7040 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7041 string literal if not passed a buffer.
7042 * manual/job.texi (ctermid): Update reasoning, note deviation
7043 from posix, suggest mtasurace when not passed a buffer, for
7044 future non-preliminary safety notes.
7045
a4ea5e28
AO
70462014-11-21 Alexandre Oliva <aoliva@redhat.com>
7047
7048 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7049 of not passing it a buffer.
7050 Reported by Peng Haitao.
7051
a2b581cb
AO
70522014-11-21 Alexandre Oliva <aoliva@redhat.com>
7053
7054 * manual/Makefile ($(objpfx)stamp-summary): Require
7055 check-safety.sh to pass.
7056 * manual/check-safety.sh: Wish for verification that every
7057 @deftypefn and @deftypefun is followed by a @safety remark.
7058
f214ff74
RM
70592014-11-20 Roland McGrath <roland@hack.frob.com>
7060
7f0dfae0
RM
7061 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7062
2f531bbb
RM
7063 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7064 PTHREAD_CANCEL_ASYNCHRONOUS.
7065 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7066 send SIGCANCEL.
7067
f214ff74
RM
7068 * nptl/default-sched.h: New file.
7069 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7070 * nptl/pthread_create.c: Include it.
7071 (__pthread_create_2_1): Use collect_default_sched instead of making
7072 Linux syscalls here directly.
7073
e37c91d4
TR
70742014-11-20 Torvald Riegel <triegel@redhat.com>
7075
7076 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7077 __pthread_once): Use C11 atomics.
7078
1eccfecd
TR
70792014-11-20 Torvald Riegel <triegel@redhat.com>
7080
7081 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7082
ff871426
TR
70832014-11-20 Torvald Riegel <triegel@redhat.com>
7084
7085 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7086 atomic_thread_fence_acquire, atomic_thread_fence_release,
7087 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7088 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7089 atomic_compare_exchange_weak_relaxed,
7090 atomic_compare_exchange_weak_acquire,
7091 atomic_compare_exchange_weak_release,
7092 atomic_exchange_acquire, atomic_exchange_release,
7093 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7094 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7095 atomic_fetch_and_acquire,
7096 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7097
1ea339b6
TR
70982014-11-20 Torvald Riegel <triegel@redhat.com>
7099
7100 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7101 USE_ATOMIC_COMPILER_BUILTINS): Define.
7102 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7104 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7106 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7108 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7110 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7111 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7112 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7114 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7116 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7117 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7118 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7119 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7120 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7121 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7122 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7124 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7125 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7126 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7128 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7129 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7130 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7131 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7132 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7133 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7134 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7135 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7136 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7137 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7138 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7139 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7140 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7141 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7142
cbd463e2
RM
71432014-11-19 Roland McGrath <roland@hack.frob.com>
7144
d960211f
RM
7145 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7146 the sched_priority value here. It was already checked when the user
7147 called pthread_attr_setschedparam.
7148
cbd463e2
RM
7149 * nptl/tst-bad-schedattr.c: New file.
7150 * nptl/Makefile (tests): Add it.
7151
a39208bd
CD
71522014-11-19 Carlos O'Donell <carlos@redhat.com>
7153 Florian Weimer <fweimer@redhat.com>
7154 Joseph Myers <joseph@codesourcery.com>
7155 Adam Conrad <adconrad@0c3.net>
7156 Andreas Schwab <schwab@suse.de>
7157 Brooks <bmoses@google.com>
7158
7159 [BZ #17625]
7160 * wordexp-test.c (__dso_handle): Add prototype.
7161 (__register_atfork): Likewise.
7162 (__app_register_atfork): New function.
7163 (registered_forks): New global.
7164 (register_fork): New function.
7165 (test_case): Add 3 new tests for WRDE_CMDSUB.
7166 (main): Call __app_register_atfork.
7167 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7168 fork count is non-zero fail the test.
7169 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7170 is set.
7171 (parse_dollars): Remove check for WRDE_NOCMD.
7172 (parse_dquote): Likewise.
7173
9cd47470
SP
71742014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7175
130ac68c
SP
7176 * Makeconfig (built-modules): List non-library modules to be
7177 built.
7178 (module-cppflags): Include libc-modules.h for
7179 everything except shlib-versions.v.i.
7180 (CPPFLAGS): Use it.
7181 (before-compile): Add libc-modules.h.
7182 ($(common-objpfx)libc-modules.h,
7183 $(common-objpfx)libc-modules.stmp): New targets.
7184 (common-generated): Add libc-modules.h and libc-modules.stmp.
7185 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7186 * include/libc-symbols.h: Don't include libc-modules.h.
7187 * include/libc-modules.h: Remove file.
7188 * scripts/gen-libc-modules.awk: New script to generate
7189 libc-modules.h.
7190 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7191 Depend on libc-modules.stmp.
7192
286663c3
SP
7193 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7194
9cd47470
SP
7195 * Makeconfig (in-module): Get value of libof set for the
7196 translation unit.
7197 (CPPFLAGS): Use $(in-module).
7198 * Makerules: Don't suffix routine names for nonlib.
7199 * include/libc-modules.h: New file.
7200 * include/libc-symbols.h: Include libc-modules.h
7201 (IS_IN): New macro to replace IS_IN_* macros.
7202 * elf/Makefile: Set libof-* for each routine.
7203 * elf/rtld-Rules: Likewise.
7204 * extra-modules.mk: Likewise.
7205 * iconv/Makefile: Likewise.
7206 * iconvdata/Makefile: Likewise.
7207 * locale/Makefile: Likewise.
7208 * malloc/Makefile: Likewise.
7209 * nss/Makefile: Likewise.
7210 * sysdeps/gnu/Makefile: Likewise.
7211 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7212 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7213 * sysdeps/s390/s390-64/Makefile: Likewise.
7214 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7215 CPPFLAGS for nscd instead of nonlib.
7216
32fed10f
RM
72172014-11-18 Roland McGrath <roland@hack.frob.com>
7218
d71035bd
RM
7219 * nptl/createthread.c: New file.
7220
6540b991
RM
7221 * nptl/createthread.c: Moved ...
7222 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7223
32fed10f
RM
7224 * nptl/createthread.c: Add proper top-line comment.
7225 (do_clone): Folded into ...
7226 (create_thread): ... here. Take new arguments STOPPED_START and
7227 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7228 increment __nptl_threads, do event-reporting logic, do
7229 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7230 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7231 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7232 just send SIGCANCEL.
7233 * nptl/pthread_create.c: Forward-declare create_thread before
7234 including createthread.c.
7235 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7236 declaration, and new macro START_THREAD_SELF to replace argument.
7237 Remove return statement.
7238 (report_thread_creation): New function.
7239 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7240 synchronization logic, and __nptl_nthreads increment here, around
7241 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7242 PD->parent_cancelhandling here, before create_thread. When
7243 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7244 __deallocate_stack, and ENOMEM translation here.
7245
107a5bf0
JM
72462014-11-18 Joseph Myers <joseph@codesourcery.com>
7247
7248 [BZ #17616]
7249 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7250 (mptwo): Rename to __mptwo.
7251 (__inv): Use __mptwo instead of mptwo.
7252 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7253 (mptwo): Rename to __mptwo.
7254 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7255 of mpone and __mptwo instead of mptwo.
7256 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7257 instead of mpone.
7258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7259 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7260 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7261 of mpone and __mptwo instead of mptwo.
7262 (__mpranred): Use __mpone instead of mpone.
7263 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7264 variable.
7265 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7266 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7267 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7268 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7269 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7270 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7271 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7272 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7273 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7274 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7275 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7276 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7277 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7278 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7279 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7280 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7281 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7282 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7283 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7284
3b679ab3
TV
72852014-11-18 Tom de Vries <tom@codesoucery.com>
7286
7287 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7288 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
7289
72902014-11-17 Richard Henderson <rth@redhat.com>
7291
7292 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7293 (_FP_PACK_RAW_2): Remove.
7294 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7295 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7296 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7297 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7298 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7299 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7300 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7301 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7302 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7303 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7304 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7305 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7306 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7307 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7308 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7309 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7310
0781a777
RM
73112014-11-14 Roland McGrath <roland@hack.frob.com>
7312
7313 * signal/signal.h [__USE_MISC]
7314 (struct sigvec): Remove type.
7315 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7316 (sigvec): Remove declaration.
7317 * sysdeps/posix/sigvec.c: Moved ...
7318 * signal/sigvec.c: ... here, replacing old file.
7319 (struct sigvec): New type, copied from old signal.h definition.
7320 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7321 (__sigvec): Convert definition to prototype.
7322 (sigvec): Replace weak_alias with compat_symbol.
7323 * signal/Versions (libc: GLIBC_2.21): New version set.
7324 * include/signal.h: Remove __sigvec declaration.
7325 * sysdeps/unix/bsd/sigvec.c: Remove file.
7326 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7327 * manual/signal.texi (BSD Handler): Remove subsection.
7328 Move siginterrupt up to ...
7329 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7330 (Blocking in BSD): Fold subsection into its parent.
7331 * NEWS: Mention sigvec removal.
7332
a4733812
JM
73332014-11-14 Joseph Myers <joseph@codesourcery.com>
7334
5ae4fe60
JM
7335 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7336 (DLA_FMS): Make definition conditional only on [__FMA4__].
7337 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7338 definition.
7339
6a0dd472
JM
7340 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7341 Make definition conditional only on [PROF].
7342 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7343 definition.
7344 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7345 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7346
a4733812
JM
7347 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7348 !__GNUC__].
7349 * include/signal.h (__sigpause): Move declaration above call to
7350 libc_hidden_proto.
7351 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7352 variable.
7353 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7354 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7355
cf7246dd
DM
73562014-11-14 David S. Miller <davem@davemloft.net>
7357
7358 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7359 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7360
c1b0aadc
JM
73612014-11-14 Joseph Myers <joseph@codesourcery.com>
7362
4863355a
JM
7363 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7364 * configure: Regenerated.
7365 * manual/install.texi (Tools for Compilation): Document a
7366 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7367 compiler verified to work.
7368 * INSTALL: Regenerated.
7369
c1b0aadc
JM
7370 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7371 redeclare with asm name.
7372 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7373 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7374 including <string.h>.
7375 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7376 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7377 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7378 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7379 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7380 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7381 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7382
2a1cfd94
JM
73832014-11-13 Joseph Myers <joseph@codesourcery.com>
7384
bf438382
JM
7385 * stdlib/strtol.c (__strtol): Use prototype definition.
7386
2a1cfd94
JM
7387 [BZ #17594]
7388 * stdlib/strtol.c (SYM__): New macro.
7389 (SYM__1): Likewise.
7390 (__strtol): Likewise.
7391 (strtol): Rename to __strtol and define as weak alias of
7392 __strtol. Use libc_hidden_weak.
7393
20ed0d26
SL
73942014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7395
7396 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7397 Use numbered labels in inline assembly.
7398
53244a4e
SL
73992014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7400
7401 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7402 Add setjmp LIBC_PROBE.
7403 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7404 Likewise.
7405 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7406 Add longjmp, longjmp_target LIBC_PROBE.
7407 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7408 Likewise.
7409
47df8251
SL
74102014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7411
7412 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7413 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7414 to get rid of unused variable warning.
7415
618cebef
SL
74162014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7417
7418 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7419 Check for unwind_backtrace == NULL only in SHARED case.
7420 (__backchain_backtrace): Compile only in SHARED case.
7421 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7422 Likewise.
7423 (__backchain_backtrace): Declare as static.
7424
c6aab2cb
RM
74252014-11-12 Roland McGrath <roland@hack.frob.com>
7426
7427 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7428 (__libc_multiple_threads_ptr): Variable moved ...
7429 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7430
5a6fa4d7
JM
74312014-11-12 Joseph Myers <joseph@codesourcery.com>
7432
24f4f825
JM
7433 * conform/GlibcConform.pm: New file.
7434 * conform/conformtest.pl: Use GlibcConform module.
7435 * conform/linknamespace.pl: New file.
7436 * conform/list-header-symbols.pl: Likewise.
7437 * conform/Makefile (linknamespace-symlists-base): New variable.
7438 (linknamespace-symlists-tests): Likewise.
7439 (linknamespace-header-base): Likewise.
7440 (linknamespace-header-tests): Likewise.
7441 (tests-special): Add new tests.
7442 ($(linknamespace-symlists-tests)): New rule.
7443 (linknamespace-libs): New variable.
7444 ($(objpfx)symlist-stdlibs): New rule.
7445 ($(linknamespace-header-tests)): Likewise.
7446 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7447 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7448 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7449 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7450 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7451 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7452 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7453 (test-xfail-ISO/math.h/linknamespace): Likewise.
7454 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7455 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7456 (test-xfail-ISO/time.h/linknamespace): Likewise.
7457 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7458 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7459 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7460 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7461 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7462 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7463 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7464 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7465 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7466 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7467 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7468 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7469 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7470 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7471 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7472 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7473 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7474 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7475 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7476 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7477 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7478 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7479 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7480 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7481 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7482 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7483 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7484 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7485 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7486 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7487 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7488 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7489 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7490 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7491 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7492 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7493 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7494 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7495 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7496 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7497 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7498 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7499 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7500 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7501 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7502 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7503 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7504 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7505 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7506 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7507 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7508 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7509 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7510 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7511 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7512 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7513 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7514 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7515 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7516 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7517 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7518 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7519 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7520 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7521 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7522 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7523 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7524 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7525 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7526 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7527 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7528 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7529 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7530 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7531 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7532 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7533 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7534 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7535 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7536 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7537 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7538 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7539 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7540 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7541 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7542 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7543 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7544 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7545 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7546 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7547 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7548 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7549 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7550 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7551 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7552 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7553 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7554 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7555 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7556 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7557 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7558 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7559 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7560 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7561 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7562 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7563 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7564 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7565 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7566 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7567 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7568 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7569 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7570 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7571 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7572 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7573 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7574 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7575 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7576 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7577 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7578 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7579 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7580 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7581 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7582 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7583 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7584 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7585 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7586 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7587 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7588 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7589 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7590 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7591 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7592 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7593 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7594 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7595 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7596 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7597 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7598 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7599 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7600 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7601 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7602 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7603 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7604 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7605 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7606 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7607
cc67478e
JM
7608 [BZ #17589]
7609 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7610 of fgets_unlocked.
7611
9975e3d3
JM
7612 [BZ #17585]
7613 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7614 (memmem): Rename to __memmem and define as weak alias of
7615 __memmem. Use libc_hidden_weak.
7616 (__memmem): Use libc_hidden_def.
7617 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
7618 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7619 memmem.
7620
c4eae752
JM
7621 [BZ #17582]
7622 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7623 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
7624 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7625 and define as weak alias of __fgets_unlocked. Use
7626 libc_hidden_weak.
7627 (__fgets_unlocked): Use libc_hidden_def.
7628 * include/stdio.h (__fgets_unlocked): Declare. Use
7629 libc_hidden_proto.
7630 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7631 __fgets_unlocked instead of fgets_unlocked.
7632 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7633 (GET_NPROCS_CONF_PARSER): Likewise.
7634 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7635 (GET_NPROCS_CONF_PARSER): Likewise.
7636
01cad84e
JM
7637 [BZ #17574]
7638 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7639 weak alias of __wmemset. Use libc_hidden_weak.
7640 (__wmemset): Use libc_hidden_def.
7641 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
7642 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7643 of wmemset.
7644
939da411
JM
7645 [BZ #17573]
7646 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7647 with asm name __mempcpy.
7648 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7649
293d9a41
JM
7650 [BZ #17572]
7651 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7652 and define as weak alias of __rawmemchr.
7653 (__rawmemchr): Do not define as strong alias of rawmemchr.
7654
bef8fd60
JM
7655 [BZ #17571]
7656 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7657 alias of __qsort_r.
7658 (qsort): Call __qsort_r instead of qsort_r.
7659 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7660 (__qsort_r): Declare. Call libc_hidden_proto.
7661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7662 instead of qsort_r.
7663 * nscd/gai.c (__qsort_r): Define to qsort_r.
7664 * posix/tst-rfc3484.c (__qsort_r): Likewise.
7665 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7666 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7667
c52ff39e
JM
7668 [BZ #17570]
7669 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7670 define as weak alias of __malloc_info.
7671
2f5c1b00
JM
7672 [BZ #17584]
7673 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7674 as weak alias of __rewinddir. Don't use libc_hidden_def.
7675 (__rewinddir): Use libc_hidden_def.
7676 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7677 as weak alias of __rewinddir. Don't use libc_hidden_def.
7678 (__rewinddir): Use libc_hidden_def.
7679 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7680 weak alias of __rewinddir. Don't use libc_hidden_def.
7681 (__rewinddir): Use libc_hidden_def.
7682 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7683 (__rewinddir): Use libc_hidden_proto.
7684 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7685 rewinddir.
7686 (__getcwd): Use __rewinddir instead of rewinddir.
7687
5a6fa4d7
JM
7688 [BZ #17583]
7689 * libio/fileno.c (fileno): Rename to __fileno and define as weak
7690 alias of __fileno. Use libc_hidden_weak.
7691 (__fileno): Use libc_hidden_def.
7692 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7693 * libio/ftello.c (ftello): Rename to __ftello and define as weak
7694 alias of __ftello.
7695 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7696 __ftello.
7697 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7698 (__fread_unlocked): Define as strong alias of _IO_fread. Use
7699 libc_hidden_def.
7700 (fread_unlocked): Don't use libc_hidden_ver.
7701 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7702 and define as weak alias of __fread_unlocked. Don't use
7703 libc_hidden_def.
7704 (__fread_unlocked): Use libc_hidden_def.
7705 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
7706 (ftello): Don't use libc_hidden_proto.
7707 (__ftello): Declare. Use libc_hidden_proto.
7708 (fread_unlocked): Don't use libc_hidden_proto.
7709 (__fread_unlocked): Declare. Use libc_hidden_proto.
7710 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7711 and __ftello instead of fileno, fread_unlocked and ftello.
7712
2581b98e
SP
77132012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7714
7715 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7716 GOT12.
7717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7718 Likewise.
7719 (_dl_start_user): Likewise.
7720 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7721
533bb7c2
SP
77222014-11-12 Carlos O'Donell <carlos@redhat.com>
7723 Siddhesh Poyarekar <siddhesh@redhat.com>
7724
7725 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7726 Move argv and envp down instead of moving argc up.
7727 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7728
fffa1cf8
LH
77292014-11-12 Leonhard Holz <leonhard.holz@web.de>
7730
7731 [BZ #17506]
7732 * test-skeleton.c (main): Return successful if one of
7733 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7734 * string/tst-strcoll-overflow.c: Define expected status.
7735
fb89b46d
TU
77362014-11-12 Tatiana Udalova <t.udalova@samsung.com>
7737
7738 [BZ #17475]
7739 * locale/iso-639.def: Define Bhili and Tulu language codes.
7740
5c40c3ba
AH
77412014-11-11 Alan Hayward <alan.hayward@arm.com>
7742
7743 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7744
b17fe01b 77452014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
7746
7747 [BZ #17555]
7748 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7749
bd805071
AS
77502014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7751
7752 * configure.ac: Updated check of minimal required version to
7753 2.22.
7754 * manual/install.texi (Tools for Compilation): Updated version
7755 number.
7756 * configure: Regenerated.
7757 * INSTALL: Likewise.
7758
1400983e
AS
77592014-11-07 Andreas Schwab <schwab@linux-m68k.org>
7760
7761 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7762 __tls_get_addr.
7763
2c46a66a
JM
77642014-11-07 Joseph Myers <joseph@codesourcery.com>
7765
7766 * include/sys/wait.h (__libc_waitpid): Remove declaration.
7767 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7768 (__waitpid): Don't define as alias. Use libc_hidden_def not
7769 libc_hidden_weak.
7770 (waitpid): Define as alias of __waitpid.
7771 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7772 __waitpid.
7773 (__waitpid): Don't define as alias. Use libc_hidden_def not
7774 libc_hidden_weak.
7775 (waitpid): Define as alias of __waitpid.
7776 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7777 __libc_waitpid alias.
7778 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7779 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7780 Likewise.
7781 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7783 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7784 alias.
7785 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7786 __waitpid.
7787 (__waitpid): Don't define as alias. Use libc_hidden_def not
7788 libc_hidden_weak.
7789 (waitpid): Define as alias of __waitpid.
7790
da53d6db
CD
77912014-11-06 Carlos O'Donell <carlos@redhat.com>
7792
a2887bdb
CD
7793 * manual/llio.texi: Add comment that write safety has been
7794 fixed in Linux.
7795
da53d6db
CD
7796 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7797 (localplt-build-dso): Add elf/ld.so.
7798 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7799 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7800 and free for ld.so.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7802 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7804 Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7806 Likewise.
7807 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7808 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7809 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7810 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7811 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7812 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7813 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7814 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7815 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7816 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7817 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7818
9cf27b8d
JM
78192014-11-05 Joseph Myers <joseph@codesourcery.com>
7820
7821 [BZ #14132]
7822 * include/libc-symbols.h (INTUSE): Remove macro.
7823 (INTDEF): Likewise.
7824 (INTVARDEF): Likewise.
7825 (_INTVARDEF): Likewise.
7826 (INTDEF2): Likewise.
7827 (INTVARDEF2): Likewise.
7828 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7829 rtld_hidden_def instead of INTVARDEF.
7830 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7831 (_dl_starting_up_internal): Remove declaration.
7832 (_dl_starting_up): Use rtld_hidden_proto.
7833 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7834 declaration.
7835 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7836 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7837 _dl_starting_up.
7838 * elf/dl-writev.h (_dl_writev): Likewise.
7839 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7840 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7841 _dl_starting_up_internal.
7842
af83568d
AZ
78432014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844
7845 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7846 test-skeleton.c.
7847
b01ee67c
WN
78482014-11-05 Will Newton <will.newton@linaro.org>
7849
7850 * benchtests/Makefile: (bench-malloc): Add malloc thread
7851 scalability benchmark.
7852 * benchtests/bench-malloc-threads.c: New file.
7853
be9d4ccc
RE
78542014-11-05 Richard Earnshaw <rearnsha@arm.com>
7855
7856 * sysdeps/aarch64/strchrnul.S: New file.
7857
7110166d
AZ
78582014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7859
7860 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7861 definition.
7862 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7863 Likwise.
7864 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7865 Likewise.
7866 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7867 Likewise.
7868 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7869 Likewise.
7870 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7871 Likewise.
7872
78732014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
7874
7875 * catgets/test-gencat.c: Use test-skeleton.c.
7876 * catgets/tst-catgets.c: Likewise.
7877 * csu/tst-empty.c: Likewise.
7878 * elf/tst-audit2.c: Likewise.
7879 * elf/tst-global1.c: Likewise.
7880 * elf/tst-pathopt.c: Likewise.
7881 * elf/tst-piemod1.c: Likewise.
7882 * elf/tst-tls10.c: Likewise.
7883 * elf/tst-tls11.c: Likewise.
7884 * elf/tst-tls12.c: Likewise.
7885 * gnulib/tst-gcc.c: Likewise.
7886 * iconvdata/tst-e2big.c: Likewise.
7887 * iconvdata/tst-loading.c: Likewise.
7888 * iconv/tst-iconv1.c: Likewise.
7889 * iconv/tst-iconv2.c: Likewise.
7890 * inet/test-inet6_opt.c: Likewise.
7891 * inet/tst-gethnm.c: Likewise.
7892 * inet/tst-network.c: Likewise.
7893 * inet/tst-ntoa.c: Likewise.
7894 * intl/tst-codeset.c: Likewise.
7895 * intl/tst-gettext2.c: Likewise.
7896 * intl/tst-gettext3.c: Likewise.
7897 * intl/tst-ngettext.c: Likewise.
7898 * intl/tst-translit.c: Likewise.
7899 * io/test-stat.c: Likewise.
7900 * libio/test-fmemopen.c: Likewise.
7901 * libio/tst-freopen.c: Likewise.
7902 * libio/tst-sscanf.c: Likewise.
7903 * libio/tst-ungetwc1.c: Likewise.
7904 * libio/tst-ungetwc2.c: Likewise.
7905 * libio/tst-widetext.c: Likewise.
7906 * localedata/tst-ctype.c: Likewise.
7907 * localedata/tst-digits.c: Likewise.
7908 * localedata/tst-leaks.c: Likewise.
7909 * localedata/tst-mbswcs1.c: Likewise.
7910 * localedata/tst-mbswcs2.c: Likewise.
7911 * localedata/tst-mbswcs3.c: Likewise.
7912 * localedata/tst-mbswcs4.c: Likewise.
7913 * localedata/tst-mbswcs5.c: Likewise.
7914 * localedata/tst-setlocale.c: Likewise.
7915 * localedata/tst-trans.c: Likewise.
7916 * localedata/tst-wctype.c: Likewise.
7917 * localedata/tst-xlocale1.c: Likewise.
7918 * login/tst-grantpt.c: Likewise.
7919 * malloc/tst-calloc.c: Likewise.
7920 * malloc/tst-malloc.c: Likewise.
7921 * malloc/tst-mallocstate.c: Likewise.
7922 * malloc/tst-mcheck.c: Likewise.
7923 * malloc/tst-mtrace.c: Likewise.
7924 * malloc/tst-obstack.c: Likewise.
7925 * math/atest-exp2.c: Likewise.
7926 * math/atest-exp.c: Likewise.
7927 * math/atest-sincos.c: Likewise.
7928 * math/test-matherr.c: Likewise.
7929 * math/test-misc.c: Likewise.
7930 * math/test-powl.c: Likewise.
7931 * math/tst-definitions.c: Likewise.
7932 * misc/tst-dirname.c: Likewise.
7933 * misc/tst-efgcvt.c: Likewise.
7934 * misc/tst-fdset.c: Likewise.
7935 * misc/tst-hsearch.c: Likewise.
7936 * misc/tst-mntent2.c: Likewise.
7937 * nptl/tst-sem7.c: Likewise.
7938 * nptl/tst-sem8.c: Likewise.
7939 * nptl/tst-sem9.c: Likewise.
7940 * nss/test-netdb.c: Likewise.
7941 * posix/tst-fnmatch.c: Likewise.
7942 * posix/tst-getlogin.c: Likewise.
7943 * posix/tst-gnuglob.c: Likewise.
7944 * posix/tst-mmap.c: Likewise.
7945 * pwd/tst-getpw.c: Likewise.
7946 * resolv/tst-inet_ntop.c: Likewise.
7947 * rt/tst-timer.c: Likewise.
7948 * stdio-common/test-fseek.c: Likewise.
7949 * stdio-common/test-popen.c: Likewise.
7950 * stdio-common/test-vfprintf.c: Likewise.
7951 * stdio-common/tst-cookie.c: Likewise.
7952 * stdio-common/tst-fileno.c: Likewise.
7953 * stdio-common/tst-gets.c: Likewise.
7954 * stdio-common/tst-obprintf.c: Likewise.
7955 * stdio-common/tst-perror.c: Likewise.
7956 * stdio-common/tst-sprintf2.c: Likewise.
7957 * stdio-common/tst-sprintf3.c: Likewise.
7958 * stdio-common/tst-sprintf.c: Likewise.
7959 * stdio-common/tst-swprintf.c: Likewise.
7960 * stdio-common/tst-tmpnam.c: Likewise.
7961 * stdio-common/tst-unbputc.c: Likewise.
7962 * stdio-common/tst-wc-printf.c: Likewise.
7963 * stdlib/tst-environ.c: Likewise.
7964 * stdlib/tst-fmtmsg.c: Likewise.
7965 * stdlib/tst-limits.c: Likewise.
7966 * stdlib/tst-rand48-2.c: Likewise.
7967 * stdlib/tst-rand48.c: Likewise.
7968 * stdlib/tst-random2.c: Likewise.
7969 * stdlib/tst-random.c: Likewise.
7970 * stdlib/tst-strtol.c: Likewise.
7971 * stdlib/tst-strtoll.c: Likewise.
7972 * stdlib/tst-tls-atexit.c: Likewise.
7973 * stdlib/tst-xpg-basename.c: Likewise.
7974 * string/test-ffs.c: Likewise.
7975 * string/tst-bswap.c: Likewise.
7976 * string/tst-inlcall.c: Likewise.
7977 * string/tst-strtok.c: Likewise.
7978 * string/tst-strxfrm.c: Likewise.
7979 * sysdeps/x86_64/tst-audit10.c: Likewise.
7980 * sysdeps/x86_64/tst-audit3.c: Likewise.
7981 * sysdeps/x86_64/tst-audit4.c: Likewise.
7982 * sysdeps/x86_64/tst-audit5.c: Likewise.
7983 * time/tst-ftime_l.c: Likewise.
7984 * time/tst-getdate.c: Likewise.
7985 * time/tst-mktime3.c: Likewise.
7986 * time/tst-mktime.c: Likewise.
7987 * time/tst-posixtz.c: Likewise.
7988 * time/tst-strptime2.c: Likewise.
7989 * time/tst-strptime3.c: Likewise.
7990 * wcsmbs/tst-btowc.c: Likewise.
7991 * wcsmbs/tst-mbrtowc.c: Likewise.
7992 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7993 * wcsmbs/tst-wchar-h.c: Likewise.
7994 * wcsmbs/tst-wcpncpy.c: Likewise.
7995 * wcsmbs/tst-wcrtomb.c: Likewise.
7996 * wcsmbs/tst-wcsnlen.c: Likewise.
7997 * wcsmbs/tst-wcstof.c: Likewise.
7998
2004e7fb
JM
79992014-11-04 Joseph Myers <joseph@codesourcery.com>
8000
ab97ee8f
JM
8001 [BZ #14132]
8002 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8003 INTDEF.
8004 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8005 declaration.
8006 (_dl_mcount): Use rtld_hidden_proto.
8007 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8008 _dl_mcount.
8009 * elf/rtld.c (_rtld_global_ro): Likewise.
8010
c5684fdb
JM
8011 [BZ #14132]
8012 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8013 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8014 of _dl_init_internal.
8015 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8016 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8017 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8018 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8019 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8020 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8021 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8022 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8023 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8024 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8025 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8026 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8027 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8028 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8029 * sysdeps/tile/dl-start.S (_start): Likewise.
8030 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8031 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8032
4243cbea
JM
8033 [BZ #14132]
8034 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8035 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8036 (rtld_progname): Make macro definition unconditional.
8037 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8038 INTDEF.
8039 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8040 (dl_main): Likewise.
8041 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8042 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8043 instead of _dl_argv_internal.
8044 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8045 __GI__dl_argv instead of INTUSE(_dl_argv).
8046 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8047 __GI__dl_argv instead of _dl_argv_internal.
8048
2004e7fb
JM
8049 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8050 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8051 macro.
8052 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8053 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8054 New macro.
8055 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8056 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8057 macro.
8058 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8059 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8060
97827bfc
AS
80612014-11-04 Andreas Schwab <schwab@suse.de>
8062
8063 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8064
5e4df284
AZ
80652014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8066
8067 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8068 mtvsrd instruction in binary form.
8069
04b76b5a
AS
80702014-11-03 Andreas Schwab <schwab@suse.de>
8071
8072 [BZ #17522]
8073 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8074 for less than MB_LEN_MAX use a local buffer of that size.
8075 * libio/tst-fputws.c: New file.
8076 * libio/Makefile (tests): Add tst-fputws.
8077
4c6da7da
JM
80782014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8079
8080 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8081 the size of the fpu_fr.fpu_dregs[] array.
8082
1679ba8e
JM
80832014-11-01 Joseph Myers <joseph@codesourcery.com>
8084
8085 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8086 (__nanosleep): Do not define as alias.
8087 (nanosleep): Define as alias of __nanosleep.
8088 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8089 __libc_nanosleep name.
8090
2626c183
JM
80912014-10-31 Joseph Myers <joseph@codesourcery.com>
8092
8093 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8094 install.texi in comment.
8095
7f981fc2
TR
80962014-10-31 Torvald Riegel <triegel@redhat.com>
8097
8098 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8099 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8100 ... add here and use lwsync or sync ...
8101 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8102 ... and add here using lwsync.
8103
d6f373d2
MF
81042014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8105
8106 * elf/dl-machine-reject-phdr.h: New file.
8107 * elf/dl-load.c: #include that.
8108 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8109 if that returned true.
8110
67c37987
RM
81112014-10-31 Roland McGrath <roland@hack.frob.com>
8112
8113 [BZ #17496]
8114 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8115 gen-as-const-headers chunk. Add a big scare comment after the last
8116 safe place to touch before-compile.
8117
94a42455 81182014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 8119
f3f5d895
JM
8120 * manual/install.texi (Tools for Compilation): Update autoconf
8121 version requirements.
8122 * INSTALL: Regenerated.
8123
f62ff286
JM
8124 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8125 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8126 (__libc_pselect): Likewise.
94a42455
JM
8127
8128 [BZ #14138]
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8133
ff9dbdc0
TR
81342014-10-31 Torvald Riegel <triegel@redhat.com>
8135
8136 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8137 correct barrier instruction.
8138 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8139 Likewise.
8140 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8141 Likewise.
8142
b4f66884
RM
81432014-10-30 Roland McGrath <roland@hack.frob.com>
8144
8145 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8146 after defining inlines. Instead, just use parens to defeat macro
8147 expansion of __isctype in its declaration.
8148
e19c95fd
JM
81492014-10-30 Joseph Myers <joseph@codesourcery.com>
8150
8151 * include/sys/uio.h (__libc_readv): Remove declaration.
8152 (__libc_writev): Likewise.
8153 * misc/readv.c (__libc_readv): Rename to __readv.
8154 (__readv): Do not define as alias.
8155 (readv): Define as alias of __readv.
8156 * misc/writev.c (__libc_writev): Rename to __writev.
8157 (__writev): Do not define as alias.
8158 (writev): Define as alias of __writev.
8159 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8160 (__readv): Do not define as alias.
8161 (readv): Define unconditionally as alias of __readv.
8162 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8163 (__writev): Do not define as alias.
8164 (writev): Define unconditionally as alias of __writev.
8165 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8166 name.
8167 (writev): Do not define __libc_writev name.
8168
65b00b6c
RM
81692014-10-30 Roland McGrath <roland@hack.frob.com>
8170
8171 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8172 (convert_charseq): New function, broken out of ...
8173 (use_from_charmap): ... here. Call it.
8174 (use_to_charmap): Use convert_charseq and free instead of duplicating
8175 its code with a variable-length stack struct.
8176
d4e157aa
JM
81772014-10-30 Joseph Myers <joseph@codesourcery.com>
8178
8179 * include/fcntl.h (__libc_creat): Remove declaration.
8180 * io/creat.c (__libc_creat): Rename to creat.
8181 (creat): Do not define as alias.
8182 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8183 of creat instead of __libc_creat.
8184 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8185 to creat.
8186 (creat): Do not define as alias.
8187 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8188 __libc_creat.
8189 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8190 __libc_creat name.
8191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8192 Likewise.
8193
0c6891a0
CD
81942014-10-29 Carlos O'Donell <carlos@redhat.com>
8195
8196 * manual/llio.texi: Add comments discussing why write() may be
8197 considered MT-unsafe on Linux.
8198
cc00cece
CD
81992014-10-28 Carlos O'Donell <carlos@redhat.com>
8200
8201 * dl-load.c (local_strdup): Remove.
8202 (expand_dynamic_string_token): Use __strdup.
8203 (decompose_rpath): Likewise.
8204 (_dl_map_object): Likewise.
8205
51e623f2
JM
82062014-10-28 Joseph Myers <joseph@codesourcery.com>
8207
8208 [BZ #14132]
8209 * sysdeps/generic/unwind-dw2-fde.c
8210 (__register_frame_info_bases_internal): Do not declare.
8211 (__register_frame_info_table_bases_internal): Likewise.
8212 (__deregister_frame_info_bases_internal): Likewise.
8213 (__register_frame_info_bases): Declare and use hidden_proto before
8214 definition. Use hidden_def instead of INTDEF.
8215 (__register_frame_info_table_bases): Likewise.
8216 (__deregister_frame_info_bases): Likewise.
8217 (__register_frame_info): Do not use INTUSE.
8218 (__register_frame): Likewise.
8219 (__register_frame_info_table): Likewise.
8220 (__register_frame_table): Likewise.
8221 (__deregister_frame_info): Likewise.
8222 (__deregister_frame): Likewise.
8223
03d41216
GC
82242014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8225
8226 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8227 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8228 not undefine.
8229 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8230 Likewise.
8231 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8232 Likewise.
8233
a4b3624d
JM
82342014-10-27 Joseph Myers <joseph@codesourcery.com>
8235
8236 [BZ #14138]
8237 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8238 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8239 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8240 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8241 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8242 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8243 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8244 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8245 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8246 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8249 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8250 syscall.
8251 (setfsuid): Likewise.
8252 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8253 (setfsuid): Likewise.
8254 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8255 (setfsuid): Likewise.
8256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8257 Likewise.
8258 (setfsuid): Likewise.
8259 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8260 (setfsuid): Likewise.
8261 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8262 Likewise.
8263 (setfsuid): Likewise.
8264
3574f2fd
AS
82652014-10-27 Andreas Schwab <schwab@suse.de>
8266
8267 [BZ #17501]
8268 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8269 check for Slow_SSE4_2 feature bit.
8270 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8271 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8272 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8273 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8274
70996a37
RM
82752014-10-24 Roland McGrath <roland@hack.frob.com>
8276
461a7b1e
RM
8277 * configure.ac: Validate compiler version with a empirical test of
8278 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8279 $CC -v output.
8280 * configure: Regenerated.
8281
70996a37
RM
8282 * inet/htons.c (htons): Prototypify.
8283 * inet/htonl.c (htonl): Likewise.
8284
e80514b5
WD
82852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8286
8287 * string/strncat.c (strncat): Improve performance by using strlen.
8288
6e46de42
WD
82892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8290
8291 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8292
6a9ad2fa
WD
82932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8294
8295 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8296 Call libc_fetestexcept_aarch64.
8297
1c8810ed
WD
82982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8299
8300 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8301 Call libc_feholdexcept_aarch64.
8302
8b1af712
WD
83032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8304
8305 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8306 Call get_rounding_mode.
8307
a7b00c11
WD
83082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8309
8310 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8311 Simplify logic.
8312
3a84f1a6
WD
83132014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8314
8315 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8316 Simplify logic.
8317
48eb7a94
JM
83182014-10-24 Joseph Myers <joseph@codesourcery.com>
8319
c8bc4038
JM
8320 [BZ #14138]
8321 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8322 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8323 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8324 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8325 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8326 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8327 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8328 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8329 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8330 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8331 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8332 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8333 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8334 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8335 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8336 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8337 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8338 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8339 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8340 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8341 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8342 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8343 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8344 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8345 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8346 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8347 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8348 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8349 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8350 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8351 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8352 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8353 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8354 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8355 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8356 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8358 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8361 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8362 syscall.
8363 (geteuid): Likewise.
8364 (getgid): Likewise.
8365 (getuid): Likewise.
8366 (getresgid): Likewise.
8367 (getresuid): Likewise.
8368 (getgroups): Likewise.
8369 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8370 (geteuid): Likewise.
8371 (getgid): Likewise.
8372 (getuid): Likewise.
8373 (getresgid): Likewise.
8374 (getresuid): Likewise.
8375 (getgroups): Likewise.
8376 * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
8384 Likewise.
8385 (geteuid): Likewise.
8386 (getgid): Likewise.
8387 (getuid): Likewise.
8388 (getresgid): Likewise.
8389 (getresuid): Likewise.
8390 (getgroups): Likewise.
8391 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8392 (geteuid): Likewise.
8393 (getgid): Likewise.
8394 (getuid): Likewise.
8395 (getresgid): Likewise.
8396 (getresuid): Likewise.
8397 (getgroups): Likewise.
8398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8399 Likewise.
8400 (geteuid): Likewise.
8401 (getgid): Likewise.
8402 (getuid): Likewise.
8403 (getgroups): Likewise.
8404
48eb7a94
JM
8405 [BZ #14138]
8406 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8407 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8408 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8409 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8410 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8411 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8412 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8413 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8414 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8415 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8416 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8417 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8418 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8419 __chown.
8420 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8421 (lchown): Likewise.
8422 (fchown): Likewise.
8423 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8424 Likewise.
8425 (lchown): Likewise.
8426 (fchown): Likewise.
8427 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8428 (lchown): Likewise.
8429 (fchown): Likewise.
8430 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8431 Likewise.
8432 (lchown): Likewise.
8433 (fchown): Likewise.
8434
ea9a7c8b
WD
84352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8436
8437 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8438 Simplify logic.
8439
e226de33
WD
84402014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8441
8442 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8443 Cleanup logic.
8444
6e3d8ed3
WD
84452014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8446
8447 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8448 Remove unused include.
8449
eb04247d
WD
84502014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8451
8452 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8453 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8454 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8455 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8456
13d84554
CD
84572014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8458 Helge Deller <deller@gmx.de>
8459
8460 [BZ #17508]
8461 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8462 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8463 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8464
15f9c5df
JM
84652014-10-23 Joseph Myers <joseph@codesourcery.com>
8466
8467 [BZ #14132]
8468 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8469 Remove macro definition.
8470 (__ashrdi3_v_glibc20): Likewise.
8471 (__lshrdi3_v_glibc20): Likewise.
8472 (__cmpdi2_v_glibc20): Likewise.
8473 (__ucmpdi2_v_glibc20): Likewise.
8474 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8475 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8476 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8477 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8478 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8479 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8480
c6dfed24
RM
84812014-10-22 Roland McGrath <roland@hack.frob.com>
8482
8483 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8484 old GNU extension [0] syntax.
8485 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8486 alloca rather than an array member with variable length.
8487 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8488 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8489 (parse_opt): ... here. Likewise use alloca there.
8490 Validate the -i argument before checking for rootness.
8491 (send_shutdown): New function, broken out of ...
8492 (parse_opt): ... here.
8493
8c2b1ed8
RM
84942014-10-22 Roland McGrath <roland@hack.frob.com>
8495
8496 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8497 macro to get at the _rt_local_ro field.
8498 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8499 ([PIC] case) or _dl_hwcap ([!PIC] case).
8500 * sysdeps/arm/setjmp.S: Likewise.
8501
8502 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8503 * sysdeps/arm/configure.ac: New check to define it.
8504 * sysdeps/arm/configure: Regenerated.
8505 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8506 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8507 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8508 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8509 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8510 Use move/movt pair instead of a load.
8511 (LDST_GLOBAL): Macro removed.
8512 (LDR_GLOBAL): New macro replaces it.
8513 (LDR_HIDDEN): New macro.
8514 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8515 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8516
8517 * setjmp/tst-setjmp-static.c: New file.
8518 * setjmp/Makefile (tests): Add it.
8519 (tests-static): New variable.
8520
b5af9297
MR
85212014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8522
8523 [BZ #17485]
8524 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8525
a13d0d74
JM
85262014-10-21 Joseph Myers <joseph@codesourcery.com>
8527
8528 [BZ #14132]
8529 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8530
f05e73f6
RM
85312014-10-21 Roland McGrath <roland@hack.frob.com>
8532
8533 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8534
6ab1d1ea
RM
85352014-10-20 Roland McGrath <roland@hack.frob.com>
8536
8537 * io/fts.c (dirent_not_directory): New function.
8538 (fts_build): Call it.
8539
ab49e763
RM
85402014-10-20 Roland McGrath <roland@hack.frob.com>
8541
e436eb79
RM
8542 * nptl/version.c (__nptl_main): Use normal __write rather than
8543 INTERNAL_SYSCALL.
8544 (banner): Update copyright years.
8545
6af246cf
RM
8546 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8547 gettimeofday.
8548 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8549 * nptl/pthread_cond_timedwait.c: Likewise.
8550 * nptl/pthread_mutex_timedlock.c: Likewise.
8551 * nptl/sem_timedwait.c: Likewise.
8552
ab49e763
RM
8553 * sysdeps/nptl/bits/libc-lock.h
8554 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8555 (__libc_lock_init_recursive): Return void, not 0.
8556 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8557 (__libc_rwlock_init): Likewise.
8558 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8559
f50277c1
TR
85602014-10-20 Torvald Riegel <triegel@redhat.com>
8561
8562 [BZ #15215]
8563 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8564 (__pthread_once_slow): ... here.
8565 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8566 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8567
63668b70
TR
85682014-10-20 Torvald Riegel <triegel@redhat.com>
8569
8570 [BZ #15215]
8571 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8572 __PTHREAD_ONCE_FORK_GEN_INCR): New.
8573 * sysdeps/nptl/fork.c (__libc_fork): Use them.
8574 * nptl/pthread_once.c (__pthread_once): Likewise.
8575 Update comments.
8576
42b7f5d4
JM
85772014-10-20 Joseph Myers <joseph@codesourcery.com>
8578
8579 [BZ #14138]
8580 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8581 name.
8582 (writev): Use __libc_writev as strong name.
8583 * sysdeps/unix/sysv/linux/readv.c: Remove file.
8584 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8585
b0643088
RM
85862014-10-17 Roland McGrath <roland@hack.frob.com>
8587
114c4e09
RM
8588 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8589
674b8978
RM
8590 * sysdeps/i386/nptl/tls.h
8591 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8592 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8593 New macros.
8594 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8595 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8596 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8597 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8598 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8599 Call CHECK_THREAD_SYSINFO instead of doing an assert.
8600
184ee940
RM
8601 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8602 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8603 on [__NR_futex].
8604 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8605 broken out of ...
8606 (__pthread_mutex_init): ... here. Call it.
8607 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8608 Conditionalize PI cases on [__NR_futex].
8609 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8610 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8611 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8612
327ae257
RM
8613 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8614 conditional on [SIGSETXID].
8615 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8616 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8617 is defined. Likewise for SIGSETXID.
8618 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8619 Conditionalize definitions on [SIGSETXID].
8620 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8621 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8622 unblocking on [SIGCANCEL].
8623
b0643088
RM
8624 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8625 [__NR_set_robust_list].
8626
33cc770b
SP
86272014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8628
8629 * string/strcoll_l.c (get_next_seq): Fix up formatting.
8630 (do_compare): Likewise.
8631
0742aef6
LH
86322014-10-17 Leonhard Holz <leonhard.holz@web.de>
8633
8634 [BZ #15884]
8635 * string/strcoll_l.c: Don't include stdio.h.
8636 (coll_seq): Remove members idxarr and rulearr.
8637 (get_next_seq_cached): Remove function.
8638 (get_next_seq): Likewise.
8639 (get_next_seq_nocache): Rename to get_next_seq.
8640 (do_compare): Remove function.
8641 (do_compare_nocache): Rename to do_compare.
8642 (STRCOLL): Remove weight and rules cache.
8643
ee54ce44
RM
86442014-10-16 Roland McGrath <roland@hack.frob.com>
8645
8646 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8647 * sysdeps/arm/sfp-machine.h: ... to here.
8648 * sysdeps/arm/Implies: Remove arm/soft-fp.
8649
a75d3b02
JM
86502014-10-14 Joseph Myers <joseph@codesourcery.com>
8651
8652 * conform/data/sys/utsname.h-data (*_t): Allow.
8653 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8654 [POSIX] (WEXITED): Do not expect constant.
8655 [POSIX] (WSTOPPED): Likewise.
8656 [POSIX] (WNOHANG): Likewise.
8657 [POSIX] (WNOWAIT): Likewise.
8658 [POSIX] (siginfo_t): Do not expect type or elements.
8659 [POSIX] (pid_t): Do not expect type.
8660 [POSIX] (signal.h): Do not allow header.
8661 [POSIX] (sys/resource.h): Likewise.
8662 [POSIX] (si_*): Do not allow pattern.
8663 [POSIX] (W*): Likewise.
8664 [POSIX] (P_*): Likewise.
8665 [POSIX] (BUS_*): Likewise.
8666 [POSIX] (CLD_*): Likewise.
8667 [POSIX] (FPE_*): Likewise.
8668 [POSIX] (ILL_*): Likewise.
8669 [POSIX] (POLL_*): Likewise.
8670 [POSIX] (SEGV_*): Likewise.
8671 [POSIX] (SI_*): Likewise.
8672 [POSIX] (TRAP_*): Likewise.
8673 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8674 variable.
8675
fda389c8
SP
86762014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8677
8678 [BZ #12926]
8679 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8680 infinite loop when __recvmsg returns 0.
8681
6bc6bd3b
JM
86822014-10-10 Joseph Myers <joseph@codesourcery.com>
8683
fcb32af1
JM
8684 * CANCEL-FCT-WAIVE: Remove file.
8685 * CANCEL-FILE-WAIVE: Likewise.
8686
6bc6bd3b
JM
8687 [BZ #14132]
8688 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8689 instead of INTVARDEF.
8690 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8691 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8692 rtld_hidden_data_def instead of INTVARDEF.
8693 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8694 * elf/dl-deps.c (expand_dst): Likewise.
8695 * elf/dl-load.c (_dl_dst_count): Likewise.
8696 (_dl_dst_substitute): Likewise.
8697 (decompose_rpath): Likewise.
8698 (_dl_init_paths): Likewise.
8699 (open_path): Likewise.
8700 (_dl_map_object): Likewise.
8701 * elf/rtld.c (dl_main): Likewise.
8702 (process_dl_audit): Likewise.
8703 (process_envvars): Likewise.
8704 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8705 Remove declaration.
8706 (__libc_enable_secure): Use rtld_hidden_proto.
8707
b8c80a7e
KS
87082014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8709
8710 * elf/dl-load.c
8711 (add_path): New function broken out of _dl_rtld_di_serinfo.
8712 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
8713
ff12c11f
JM
87142014-10-09 Joseph Myers <joseph@codesourcery.com>
8715
5c0508a3
JM
8716 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8717 parentheses around macro arguments.
8718 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8719 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8720 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8721 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8722 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8723 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8724 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8725 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8728 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8729 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8730 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8731 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8732 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8733 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8734 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8735 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8736 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8737 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8738 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8739 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8740 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8741 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8743 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8746 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8747 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8748 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8749 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8750 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8751 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8752 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8753 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8754 Likewise.
8755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8762 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8764 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8766 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8767 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8773 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8776 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8777 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8778 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8779 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8780 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8781 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8782 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8783 (_FP_FRAC_SRS_1): Likewise.
8784 (_FP_FRAC_CLZ_1): Likewise.
8785 (_FP_MUL_MEAT_1_imm): Likewise.
8786 (_FP_MUL_MEAT_1_wide): Likewise.
8787 (_FP_MUL_MEAT_1_hard): Likewise.
8788 (_FP_SQRT_MEAT_1): Likewise.
8789 (_FP_FRAC_ASSEMBLE_1): Likewise.
8790 (_FP_FRAC_DISASSEMBLE_1): Likewise.
8791 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8792 (__FP_CLZ_2): Likewise.
8793 (_FP_MUL_MEAT_2_wide): Likewise.
8794 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8795 (_FP_MUL_MEAT_2_gmp): Likewise.
8796 (_FP_MUL_MEAT_2_120_240_double): Likewise.
8797 (_FP_SQRT_MEAT_2): Likewise.
8798 (_FP_FRAC_ASSEMBLE_2): Likewise.
8799 (_FP_FRAC_DISASSEMBLE_2): Likewise.
8800 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8801 (_FP_FRAC_CLZ_4): Likewise.
8802 (_FP_MUL_MEAT_4_wide): Likewise.
8803 (_FP_MUL_MEAT_4_gmp): Likewise.
8804 (_FP_SQRT_MEAT_4): Likewise.
8805 (_FP_FRAC_ASSEMBLE_4): Likewise.
8806 (_FP_FRAC_DISASSEMBLE_4): Likewise.
8807 * soft-fp/op-common.h (_FP_CMP): Likewise.
8808 (_FP_CMP_EQ): Likewise.
8809 (_FP_CMP_UNORD): Likewise.
8810 (_FP_TO_INT): Likewise.
8811 (_FP_FROM_INT): Likewise.
8812 [!__FP_CLZ] (__FP_CLZ): Likewise.
8813 (_FP_DIV_HELP_imm): Likewise.
8814 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8815 Likewise.
8816 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8817 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8818 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8819 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8820 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8821 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8822 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8823 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8826 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8827 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8828 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8829 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8830 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8831 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8832 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8833 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8834 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8835 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8836 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8838 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8839 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8841 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8844 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8845 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8846 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8847 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8848 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8849 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8850 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8851 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8852 (FP_UNPACK_RAW_SP): Likewise.
8853 (FP_PACK_RAW_S): Likewise.
8854 (FP_PACK_RAW_SP): Likewise.
8855 (FP_UNPACK_S): Likewise.
8856 (FP_UNPACK_SP): Likewise.
8857 (FP_UNPACK_SEMIRAW_S): Likewise.
8858 (FP_UNPACK_SEMIRAW_SP): Likewise.
8859 (FP_PACK_S): Likewise.
8860 (FP_PACK_SP): Likewise.
8861 (FP_PACK_SEMIRAW_S): Likewise.
8862 (FP_PACK_SEMIRAW_SP): Likewise.
8863 (_FP_SQRT_MEAT_S): Likewise.
8864 (FP_CMP_S): Likewise.
8865 (FP_CMP_EQ_S): Likewise.
8866 (FP_CMP_UNORD_S): Likewise.
8867 (FP_TO_INT_S): Likewise.
8868 (FP_FROM_INT_S): Likewise.
8869
a736ec37
JM
8870 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8871
ff12c11f
JM
8872 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8873 (FP_EX_INVALID_IMZ): Likewise.
8874 (FP_EX_INVALID_IMZ_FMA): Likewise.
8875 (FP_EX_INVALID_ISI): Likewise.
8876 (FP_EX_INVALID_ZDZ): Likewise.
8877 (FP_EX_INVALID_IDI): Likewise.
8878 (FP_EX_INVALID_SQRT): Likewise.
8879 (FP_EX_INVALID_CVI): Likewise.
8880 (FP_EX_INVALID_VC): Likewise.
8881 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8882 "invalid" exceptions.
8883 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8884 (_FP_ADD_INTERNAL): Likewise.
8885 (_FP_MUL): Likewise.
8886 (_FP_FMA): Likewise.
8887 (_FP_DIV): Likewise.
8888 (_FP_CMP_CHECK_NAN): Likewise.
8889 (_FP_SQRT): Likewise.
8890 (_FP_TO_INT): Likewise.
8891 (FP_EXTEND): Likewise.
8892
b6dcfe8c
AM
88932014-10-09 Allan McRae <allan@archlinux.org>
8894
8895 * po/fr.po: Update French translation from translation project.
8896
2d6a47ba
JM
88972014-10-09 Joseph Myers <joseph@codesourcery.com>
8898
cb831245
JM
8899 [BZ #14132]
8900 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8901 of INTDEF.
8902 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8903 (__cxa_atexit): Use libc_hidden_proto.
8904 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8905
5deeb190
JM
8906 [BZ #14132]
8907 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8908 declaration.
8909 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8910 [!_ISOMAC] (__iswspace_l_internal): Likewise.
8911 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8912 [!_ISOMAC] (__iswctype_internal): Likewise.
8913 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8914 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8915 alias.
8916 (fcntl): Remove __fcntl_internal alias.
8917 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8918 __connect_internal alias.
8919 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8920 Likewise.
8921
454ac701
JM
8922 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8923 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8924 FP_DENORM_ZERO.
8925 (_FP_CHECK_FLUSH_ZERO): New macro.
8926 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8927 (_FP_CMP): Likewise.
8928 (_FP_CMP_EQ): Likewise.
8929 (_FP_TO_INT): Do not set inexact for subnormal arguments if
8930 FP_DENORM_ZERO.
8931 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8932 (FP_TRUNC): Likewise.
8933
0022e688
JM
8934 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8935 treated as invalid conversion, not as normal exponent.
8936
73e28d9c
JM
8937 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8938 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
8939 (_FP_CMP_EQ): Likewise.
8940 (_FP_CMP_UNORD): Likewise.
8941 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8942 (FP_CMP_EQ_D): Likewise.
8943 (FP_CMP_UNORD_D): Likewise.
8944 * soft-fp/extended.h (FP_CMP_E): Likewise.
8945 (FP_CMP_EQ_E): Likewise.
8946 (FP_CMP_UNORD_E): Likewise.
8947 * soft-fp/quad.h (FP_CMP_Q): Likewise.
8948 (FP_CMP_EQ_Q): Likewise.
8949 (FP_CMP_UNORD_Q): Likewise.
8950 * soft-fp/single.h (FP_CMP_S): Likewise.
8951 (FP_CMP_EQ_S): Likewise.
8952 (FP_CMP_UNORD_S): Likewise.
8953 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8954 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8955 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8956 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8957 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8958 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8959 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8960 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8961 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8962 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8963 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8964 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8965 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8966 to FP_CMP_Q.
8967 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8968 FP_CMP_Q.
8969 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8970 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8971 FP_CMP_EQ_Q.
8972 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8973 FP_CMP_Q.
8974 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8975 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8976 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8977 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8978 FP_CMP_EQ_Q.
8979 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8980 FP_CMP_Q.
8981 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8982 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8983 FP_CMP_EQ_Q.
8984 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8985 FP_CMP_Q.
8986 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8987 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8988 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8989 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8990 FP_CMP_EQ_Q.
8991
43059f42
JM
8992 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8993 a subnormal result, set the underflow exception if trapping on
8994 underflow is enabled.
8995 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8996 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8997 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8998 redefine to 0.
8999 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9000 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9001 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9002 * soft-fp/extendxftf2.c (__extendxftf2): Use
9003 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9004
2d6a47ba
JM
9005 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9006 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9007 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9008 FP_HANDLE_EXCEPTIONS.
9009 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9010 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9011 FP_HANDLE_EXCEPTIONS.
9012 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9013 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9014 FP_HANDLE_EXCEPTIONS.
9015 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9016 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9017 FP_HANDLE_EXCEPTIONS.
9018
620f462e
JM
90192014-10-08 Joseph Myers <joseph@codesourcery.com>
9020
9021 [BZ #14132]
9022 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9023 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9024 use INTUSE.
9025 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9026 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9027 Remove alias.
9028 (__adjtimex): Define using libc_hidden_ver.
9029 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9030 Remove declaration.
9031 (ntp_gettime): Call __adjtimex directly.
9032 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9033 Remove declaration.
9034 (ntp_gettimex): Call __adjtimex directly.
9035 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9036 __adjtimex_internal alias.
9037
c763c5d2
RM
90382014-10-08 Roland McGrath <roland@hack.frob.com>
9039
9040 [BZ #17460]
9041 * nscd/nscd.c (more_help): Rewrite list of tables collection
9042 using xstrdup and asprintf.
9043
9044 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9045
7b8fb2b8
RM
90462014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9047 Roland McGrath <roland@hack.frob.com>
9048
9049 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9050 (do_lookup_unique): ... local function 'enter' here; update callers.
9051
abb280f7
JM
90522014-10-06 Joseph Myers <joseph@codesourcery.com>
9053
f7b42517
JM
9054 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9055 compat_symbol calls on [SHARED].
9056 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9057 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9058 Remove.
9059 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9060 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9061 (oldsetrlimit): Remove.
9062 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9064 (lchown): New syscall entry.
9065 (oldsetrlimit): Remove.
9066 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9068 (oldsetrlimit): Remove.
9069 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9070
abb280f7
JM
9071 [BZ #14138]
9072 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9073 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9074 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9075 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9076 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9077 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9078 (fchown): Likewise.
9079 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9080 (fchown): Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9082 Likewise.
9083
47d46237
AZ
90842014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9085
9086 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9087 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9088 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9089 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9090 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9091 Likewise.
9092 (__old_sem_post): Likewise.
9093
90942014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 9095
845a7343
CM
9096 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9097 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9098 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9099 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9100 Use INLINE_VSYSCALL macro.
9101 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9102 __vdso_clock_gettime.
9103 * sysdeps/unix/sysv/linux/tile/init-first.c
9104 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9105 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9106 __vdso_clock_gettime.
9107
83d641ef
CM
9108 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9109 to set up frame more cleanly.
9110
d9cd52e6
CM
9111 * sysdeps/tile/memcmp.c: New file.
9112
4b68ea11
CM
9113 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9114
c86f7b80
CM
9115 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9116 * sysdeps/tile/tilegx/strcasestr.c: New file.
9117 * sysdeps/tile/tilegx/strnlen.c: New file.
9118 * sysdeps/tile/tilegx/strstr.c: New file.
9119
1c4c1a6f
CM
9120 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9121
99d86ea3
AS
91222014-10-06 Arjun Shankar <arjun.is@lostca.se>
9123
9124 * nptl/tst-setuid3.c: Write errors to stdout.
9125
06210a44
KS
91262014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9127
9128 * elf/dl-deps.c
9129 (preload): New functions broken out of _dl_map_object_deps.
9130 (_dl_map_object_deps): Remove a nested function. Update call sites.
9131
6268f532
JM
91322014-10-01 Joseph Myers <joseph@codesourcery.com>
9133
9134 [BZ #14138]
9135 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9136 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9137
b925285f
SE
91382014-10-01 Steve Ellcey <sellcey@mips.com>
9139
9140 * sysdeps/mips/strcmp.S: New.
9141
754a15c6
JM
91422014-09-30 Joseph Myers <joseph@codesourcery.com>
9143
9144 [BZ #14138]
9145 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9146 (linkat): Likewise.
9147 (mkdirat): Likewise.
9148 (readlinkat): Likewise.
9149 (renameat): Likewise.
9150 (symlinkat): Likewise.
9151 (unlinkat): Likewise.
9152 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9153 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9154 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9155 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9156 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9157 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9158 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9159
85bb81c9
WN
91602014-09-30 Will Newton <will.newton@linaro.org>
9161
dc6fe23b
WN
9162 * math/math.h: Define long double math functions if
9163 _LIBC_TEST is defined.
9164 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9165
85bb81c9
WN
9166 * localedata/Makefile: Move assignment to tests-special
9167 into an ifdef testing run-built-tests.
9168 * timezone/Makefile: Likewise.
9169
b7e02da4
JM
91702014-09-29 Joseph Myers <joseph@codesourcery.com>
9171
9172 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9173 with $(BASH) not $(SHELL).
9174
62058ce6
CD
91752014-09-29 Carlos O'Donell <carlos@redhat.com>
9176 Matthew LeGendre <legendre1@llnl.gov>
9177
9178 [BZ #17411]
9179 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9180 l_reloc_result.
9181
8e257a29
KS
91822014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9183
9184 * stdio-common/printf_fp.c
9185 (hack_digit): New function, broken out of ...
9186 (__printf_fp): ... local function here. Update call sites.
9187 hack_digit now takes an additional parameter that is a pointer
9188 to a struct of the referenced locals. Those locals moved inside
9189 the struct and references updated.
9190
f4a58f0d
L
91912014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9192
9193 * aclocal.m4: Require autoconf 2.69.
9194 * configure: Regenerated.
9195 * sysdeps/aarch64/configure: Likewise.
9196 * sysdeps/alpha/configure: Likewise.
9197 * sysdeps/arm/armv7/configure: Likewise.
9198 * sysdeps/arm/configure: Likewise.
9199 * sysdeps/ia64/configure: Likewise.
9200 * sysdeps/mach/configure: Likewise.
9201 * sysdeps/mips/configure: Likewise.
9202 * sysdeps/s390/configure: Likewise.
9203 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9205
9206 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9207 file.
9208 * sysdeps/ia64/configure.ac: Likewise.
9209
93ae1eba
JM
92102014-09-26 Joseph Myers <joseph@codesourcery.com>
9211
1810d3ab
JM
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9213 specify symbol version for ld.so. Do not include entry for
9214 libpthread.
9215 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9216 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9217 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9218
93ae1eba
JM
9219 [BZ #14171]
9220 * Makeconfig [$(build-shared) = yes]
9221 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9222 makefiles.
9223 [$(build-shared) = yes && $(soversions.mk-done) = t]
9224 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9225 [$(build-shared) = yes && $(soversions.mk-done) = t]
9226 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9227 to Makerules.
9228 [$(build-shared) = yes && $(soversions.mk-done) = t]
9229 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9230 here.
9231 [$(build-shared) = yes && $(soversions.mk-done) = t]
9232 (common-generated): Don't append gnu/lib-names.h and
9233 gnu/lib-names.stmp here.
9234 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9235 (lib-names-h-abi): New variable.
9236 [$(build-shared) = yes && $(soversions.mk-done) = t]
9237 (lib-names-stmp-abi): Likewise.
9238 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9239 abi-variants] (before-compile): Append
9240 $(common-objpfx)$(lib-names-h-abi).
9241 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9242 abi-variants] (common-generated): Append gnu/lib-names.h.
9243 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9244 abi-variants] (install-others-nosubdir): Depend on
9245 $(inst_includedir)/$(lib-names-h-abi).
9246 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9247 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9248 [$(build-shared) = yes && $(soversions.mk-done) = t]
9249 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9250 [$(build-shared) = yes && $(soversions.mk-done) = t]
9251 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9252 [$(build-shared) = yes && $(soversions.mk-done) = t]
9253 (common-generated): Append $(lib-names-h-abi) and
9254 $(lib-names-stmp-abi).
9255 * scripts/lib-names.awk: Do not handle multi being set.
9256 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9257 Remove variable.
9258 (abi-lp64_be-ld-soname): Likewise.
9259 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9260 Likewise.
9261 (abi-hard-ld-soname): Likewise.
9262 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9263 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9264 Remove variable.
9265 (abi-o32_hard-ld-soname): Likewise.
9266 (abi-o32_soft_2008-ld-soname): Likewise.
9267 (abi-o32_hard_2008-ld-soname): Likewise.
9268 (abi-n32_soft-ld-soname): Likewise.
9269 (abi-n32_hard-ld-soname): Likewise.
9270 (abi-n32_soft_2008-ld-soname): Likewise.
9271 (abi-n32_hard_2008-ld-soname): Likewise.
9272 (abi-n64_soft-ld-soname): Likewise.
9273 (abi-n64_hard-ld-soname): Likewise.
9274 (abi-n64_soft_2008-ld-soname): Likewise.
9275 (abi-n64_hard_2008-ld-soname): Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9277 Likewise.
9278 (abi-64-v2-ld-soname): Likewise.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9280 ld.so entries.
9281 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9282 variable.
9283 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9284 entry.
9285 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9286 variable.
9287 (abi-64-ld-soname): Likewise.
9288 (abi-x32-ld-soname): Likewise.
9289 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9290 entry.
9291 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9292
68870f12
JM
92932014-09-23 Joseph Myers <joseph@codesourcery.com>
9294
9295 [BZ #14138]
9296 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9297 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9298 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9299 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9300 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9301 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9302 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9303 syscall entry for GLIBC_2.2 symbol version.
9304 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9305 Likewise.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9307 (setrlimit): Likewise.
9308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9309 Likewise.
9310
ea58f202
WN
93112014-09-23 Will Newton <will.newton@linaro.org>
9312
9313 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9314 _LINUX_ARM_SYSDEP_H include guard too.
9315 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9316 define.
9317
69eb9a18
RV
93182014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9319
9320 * sysdeps/unix/sysv/linux/eventfd.c:
9321 Make first argument unsigned.
9322 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9323 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9324
20e5a5f7
OB
93252014-09-20 Ondřej Bílka <neleai@seznam.cz>
9326
9327 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9328 * socket/sys/socket.h: Likewise
9329 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9330
d3c827e7
AK
93312014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9332
9333 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9334
fe1cc35a
AS
93352014-09-17 Arjun Shankar <arjun.is@lostca.se>
9336
9337 * time/tst-ftime.c: New test.
9338 * time/Makefile (tests): Add tst-ftime.
9339
4e8afe69
JM
93402014-09-17 Joseph Myers <joseph@codesourcery.com>
9341
c4fe3ea7
JM
9342 * soft-fp/extended.h: Fix comment formatting.
9343 * soft-fp/op-1.h: Likewise.
9344 * soft-fp/op-2.h: Likewise.
9345 * soft-fp/op-4.h: Likewise.
9346 * soft-fp/op-8.h: Likewise.
9347 * soft-fp/op-common.h: Likewise.
9348 * soft-fp/soft-fp.h: Likewise.
9349
4e8afe69
JM
9350 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9351
af296fcd
JM
93522014-09-16 Joseph Myers <joseph@codesourcery.com>
9353
9354 [BZ #6652]
9355 * Makeconfig (soversions-default-setname): Remove variable.
9356 ($(common-objpfx)soversions.i): Don't pass default_setname to
9357 soversions.awk.
9358 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9359 oldest_abi to abi-versions.awk.
9360 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9361 * config.make.in (oldest-abi): Remove variable.
9362 * configure.ac (--enable-oldest-abi): Remove configure option.
9363 * configure: Regenerated.
9364 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9365 text.
9366 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9367 * scripts/soversions.awk: Do not handle default_setname variable.
9368 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9369 variable.
9370 * sysdeps/mach/hurd/configure: Regenerated.
9371 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9372 variable.
9373 * sysdeps/unix/sysv/linux/configure: Regenerated.
9374
545583d6
SP
93752014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9376
d330b980
SP
9377 * elf/Makefile (CFLAGS-interp.c): Remove.
9378 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9379 path string.
9380 * elf/interp.c: Include generated runtime-linker.h
9381
02657da2
SP
9382 * Makerules (lib%.so): Don't include $(+interp) in
9383 prerequisites.
9384 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9385 * dlfcn/eval.c: Remove file.
9386
653b1080
SP
9387 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9388 macros.
9389
602f80ec
SP
9390 [BZ #17266]
9391 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9392 4.2 and newer.
9393
545583d6
SP
9394 [BZ #17370]
9395 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9396
884ddc50
SP
93972014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9398 Jakub Jelinek <jakub@redhat.com>
9399
9400 [BZ #17266]
9401 * libio/stdio.h: Check definition of __fortify_function
9402 instead of __extern_always_inline to include bits/stdio2.h.
9403 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9404 check if __extern_always_inline is defined.
9405 [__USE_MISC || __USE_XOPEN]: Likewise.
9406 [__USE_ISOC99] Likewise.
9407 * misc/sys/cdefs.h (__fortify_function): Define only if
9408 __extern_always_inline is defined.
9409 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9410 __extern_always_inline and __extern_inline only for g++-4.3
9411 and newer or a compatible gcc.
9412
a7b87268
AS
94132014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9414
9415 [BZ #17371]
9416 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9417 last change to handle zero prefix length.
9418
3f41521d
SP
94192014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9420
61fe374a
SP
9421 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9422 _SC_REGEX_VERSION.
9423
3f41521d
SP
9424 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9425 _POSIX_RAW_SOCKETS.
9426
d8f879ee
AM
94272014-09-13 Allan McRae <allan@archlinux.org>
9428
9429 * po/ru.po: Update Russian translation from translation project.
9430
c079afb7
RM
94312014-09-12 Roland McGrath <roland@hack.frob.com>
9432
a62b3c15
RM
9433 * locale/programs/locale.c (show_locale_vars): Inline local function
9434 into its sole call site. Clean up some style nits.
9435 (print_item): New function, broken out of ...
9436 (show_info): ... local function here. Clean up style nits.
9437
d7e49b19
RM
9438 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9439 out of ...
9440 (set_class_defaults): ... local function set_default here.
9441 Define set_default as a macro locally to pass constant parameters.
9442 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9443 rather than a shared local.
9444
c079afb7
RM
9445 * stdlib/rpmatch.c (try): New function, broken out of ...
9446 (rpmatch): ... local function here. Also, prototypify definition.
9447
0bd72468
JM
94482014-09-12 Joseph Myers <joseph@codesourcery.com>
9449
ba90e050
JM
9450 * scripts/soversions.awk: Do not handle configuration names.
9451 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9452 vendor and os variables to soversions.awk.
9453 * configure.ac: Do not modify gnu-* host_os.
9454 * configure: Regenerated
9455 * shlib-versions: Remove first column with configuration names.
9456 * nptl/shlib-versions: Likewise.
9457 * nptl_db/shlib-versions: Likewise.
9458 * sysdeps/hppa/shlib-versions: Likewise.
9459 * sysdeps/m68k/shlib-versions: Likewise.
9460 * sysdeps/mach/hurd/shlib-versions: Likewise.
9461 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9462 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9463 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9464 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9465 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9466 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9467 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9468 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9470 Likewise.
9471 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9472 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9473 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9474 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9475 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9476 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9477 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9478 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9479
73a39112
JM
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9481 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9483 Regenerated.
9484 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9486 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9487
c729e7c1
JM
9488 * shlib-versions: Remove OS-specific entries. Moved to files in
9489 sysdeps.
9490 * sysdeps/mach/hurd/shlib-versions: New file.
9491 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9492
dc932a24
JM
9493 * nptl/shlib-versions: Remove architecture-specific entries.
9494 Moved to files in sysdeps.
9495 * shlib-versions: Likewise.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9497 file.
9498 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9499 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9501 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9502
0bd72468
JM
9503 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9504 (UDP_NO_CHECK6_RX): Likewise.
9505
920238e0
SP
95062014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9507
9508 * sysdeps/posix/sysconf.c (__sysconf): Spell
9509 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9510
ba7b4d29
FW
95112014-08-12 Florian Weimer <fweimer@redhat.com>
9512
9513 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9514 loading.
9515 * iconv/Versions (__gconv_transliterate): Export for use from
9516 gconv modules.
9517 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9518 (struct __gconv_trans_data, __gconv_trans_fct,
9519 __gconv_trans_context_fct, __gconv_trans_query_fct,
9520 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9521 definitions.
9522 (struct __gconv_step_data): Remove __trans member.
9523 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9524 longer hidden. Remove unused trans_data argument.
9525 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9526 (__gconv_translit_find): Remove declaration.
9527 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9528 prototype.
9529 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9530 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9531 trans_data argument. Add hidden definition.
9532 (__gconv_translit_find): Remove.
9533 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9534 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9535 * iconv/skeleton.c: Remove transliteration initialization.
9536 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9537 __gconv_step_data initialization.
9538 * libio/iofwide.c (__libio_translit_): Remove.
9539 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9540 * wcsmbs/btowc.c (__btowc): Likewise.
9541 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9542 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9543 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9544 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9545 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9546 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9547 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9548 * wcsmbs/wctob.c (wctob): Likewise.
9549
5379aebd
SP
95502014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9551
9552 [BZ #16194]
9553 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9554 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9555 register usage.
9556 * sysdeps/x86/Makefile: Adjust.
9557
8c0ab919
RM
95582014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9559 Roland McGrath <roland@hack.frob.com>
9560
9561 * locale/weight.h: Add include guard.
9562 (findidx): Make static rather than auto; take new parameters
9563 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9564 * locale/weightwc.h: Likewise.
9565 * posix/fnmatch_loop.c
9566 (FCT): Change type of EXTRA from int32_t to wint_t.
9567 Don't include either header inside the function.
9568 Call FINDIDX rather than findidx, and pass new arguments.
9569 #undef FINDIDX at the end of the file.
9570 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9571 FINDIDX before including fnmatch_loop.c for the non-wide version.
9572 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9573 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9574 for the wide version.
9575 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9576 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9577 Pass new arguments to findidx.
9578 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9579 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9580 Don't #include it inside the function. Pass new arguments to findidx.
9581 * posix/regex_internal.h
9582 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9583 (re_string_elem_size_at): Don't #include it inside the function.
9584 Pass new arguments to findidx.
9585 * string/strcoll_l.c: #include WEIGHT_H at top level.
9586 (get_next_seq): Don't #include it inside the function.
9587 Pass new arguments to findidx.
9588 (get_next_seq_nocache): Likewise.
9589 * string/strxfrm_l.c: #include WEIGHT_H at top level.
9590 (STRXFRM): Don't #include it inside the function.
9591 Pass new arguments to findidx.
9592
52ffbdf2
FW
95932014-09-11 Florian Weimer <fweimer@redhat.com>
9594
9595 [BZ #17344]
9596 * malloc/malloc.c (unlink): Turn asserts into a call to
9597 malloc_printerr.
9598
984c0ea9
TL
95992014-09-11 Tim Lammens <tim.lammens@gmail.com>
9600
9601 [BZ #17370]
9602 * libio/wfileops (do_ftell_wide): Free OUT.
9603
3daee107
CM
96042014-09-10 Chris Metcalf <cmetcalf@tilera.com>
9605
9606 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9607
58b930ae
SP
96082014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9609
9610 [BZ #17363]
9611 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9612 group if the current group is empty.
9613
3b473fec
AZ
96142014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9615
71ae8647
AZ
9616 * benchtests/bench-memset.c (test_main): Add more test from size
9617 from 32 to 512 bytes.
9618 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9619 Add POWER8 memset object.
9620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9621 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9622 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9623 implementation.
9624 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9625 Likewise.
9626 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9627 multiarch POWER8 memset optimization.
9628 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9629 POWER8 memset optimization.
9630
3b473fec
AZ
9631 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9632 Remove bzero multiarch objects.
9633 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9634 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9636 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9637 Remove define.
9638 [__bzero]: Redefine to specific name.
9639 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9640 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9641 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9642 define.
9643 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9644 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9645
e6fb9587
FW
96462014-09-10 Florian Weimer <fweimer@redhat.com>
9647
9648 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9649 warnings into errors.
9650
9651 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9652 __cxa_thread_atexit_impl prototype.
9653
9d3a350b
SE
96542014-09-09 Steve Ellcey <sellcey@mips.com>
9655
9656 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9657 Fix capitalization of error message.
9658
0febba23
SE
96592014-09-09 Steve Ellcey <sellcey@mips.com>
9660
9661 * sysdeps/mips/preconfigure: Modify ABI tests.
9662
645a0e9c
CD
96632014-09-07 Carlos O'Donell <carlos@systemhalted.org>
9664
9665 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9666
d83f0734
CD
96672014-09-07 Roland McGrath <roland@hack.frob.com>
9668 Carlos O'Donell <carlos@systemhalted.org>
9669
9670 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9671 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9672 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9673 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9674 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9675 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9676 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9677 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9678 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9679 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9680 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9687 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9688 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9689 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9690 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9691 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9692 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9693 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9694 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9695 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9696 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9697 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9698 Deconditionalize the code that was previously under [RESET_PID].
9699 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9700 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9701 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9702 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9703 include sysdep.h.
9704
21c83793
AM
97052014-09-08 Allan McRae <allan@archlinux.org>
9706
9707 * version.h (RELEASE): Set to "development".
9708 (VERSION): Set to "2.20.90"
9709
1cd9b65c
AM
97102014-09-07 Allan McRae <allan@archlinux.org
9711
b8079dd0
AM
9712 * version.h (RELEASE): Set to "stable".
9713 (VERSION): Set to "2.20"
9714 * include/features.h (__GLIBC_MINOR__): Set to 20.
9715
c46303ef
AM
9716 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9717 Liebler.
9718
1cd9b65c
AM
9719 * po/ko.po: Update Korean translation from translation project.
9720
8622092d
CM
97212014-09-06 Chris Metcalf <cmetcalf@tilera.com>
9722
9723 [BZ #17354]
9724 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9725 macro for handling signed relocations.
9726
41488498
FW
97272014-09-03 Florian Weimer <fweimer@redhat.com>
9728
9729 [BZ #17325]
9730 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9731 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9732 assert.
9733 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9734 * iconvdata/ibm935.c (BODY): Likewise.
9735 * iconvdata/ibm937.c (BODY): Likewise.
9736 * iconvdata/ibm939.c (BODY): Likewise.
9737 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9738 assert.
9739 * iconvdata/Makefile (iconv-test.out): Pass module list to test
9740 script.
9741 * iconvdata/run-iconv-test.sh: New test loop for checking for
9742 decoder crashers.
9743
a78b712d
KR
97442014-09-02 Khem Raj <raj.khem@gmail.com>
9745
9746 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9747 libm_hidden_ver.
9748
cb08abc6
AM
97492014-09-01 Allan McRae <allan@archlinux.org>
9750
2c31e102
AM
9751 * po/eo.po: Update Esperanto translation from translation project.
9752
cb08abc6
AM
9753 * po/ca.po: Update Catalan translation from translation project.
9754
17a62de1
ST
97552014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9756
9757 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9758 __proc_dostop call.
9759
9570bc53
MW
97602014-08-27 Mark Wielaard <mjw@redhat.com>
9761
9762 [BZ #17319]
9763 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9764 to call set_thread_area instead of hand written asm.
9765 (__NR_set_thread_area): Removed define.
9766 (TLS_FLAG_WRITABLE): Likewise.
9767 (__ASSUME_SET_THREAD_AREA): Remove check.
9768 (TLS_EBX_ARG): Remove define.
9769 (TLS_LOAD_EBX): Likewise.
9770
b0f955c9
ST
97712014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9772
9773 Simplify atomicity of socket creation in bind.
9774
9775 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9776 looking up the name after linking the file.
9777
529bf515
AM
97782014-08-27 Allan McRae <allan@archlinux.org>
9779
9780 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9781
a1a6a401
FW
97822014-08-26 Florian Weimer <fweimer@redhat.com>
9783
9784 [BZ #17187]
9785 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9786 trans_compare, open_translit, __gconv_translit_find):
9787 Remove module loading code.
9788
686ab290
AM
97892014-08-26 Allan McRae <allan@archlinux.org>
9790
e4e7cfd2
AM
9791 * po/vi.po: Update Vietnamese translation from translation project.
9792
6aa09f71
AM
9793 * po/uk.po: Update Ukrainian translation from translation project.
9794
edc0660e
AM
9795 * po/fr.po: Update French translation from translation project.
9796
7eea72ac
AM
9797 * po/ru.po: Update Russian translation from translation project.
9798
93c49eff
AM
9799 * po/pl.po: Update Polish translation from translation project.
9800
46acaf63
AM
9801 * po/cs.po: Update Czech translation from translation project.
9802
a9f5ce98
AM
9803 * po/de.po: Update German translation from translation project.
9804
373f2b78
AM
9805 * po/bg.po: Update Bulgarian translation from translation project.
9806
e7548bd8
AM
9807 * po/sv.po: Update Sweedish translation from translation project.
9808
c526bf4d
AM
9809 * po/nl.po: Update Dutch translation from translation project.
9810
686ab290
AM
9811 * po/es.po: Update Spanish translation from translation project.
9812
eb72478a
SP
98132014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9814
dd763fdb
SP
9815 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9816
318c7a58
SP
9817 * catgets/Makefile (CPPFLAGS-gencat): Remove.
9818 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9819 (CPPFLAGS-iconvconfig): Likewise.
9820 * timezone/Makefile (CPPFLAGS-zic): Likewise.
9821
eb72478a
SP
9822 * include/libc-symbols.h: Remove unnecessary check for
9823 NOT_IN_libc.
9824 * nptl/pthreadP.h: Likewise.
9825 * sysdeps/aarch64/setjmp.S: Likewise.
9826 * sysdeps/alpha/setjmp.S: Likewise.
9827 * sysdeps/arm/sysdep.h: Likewise.
9828 * sysdeps/i386/setjmp.S: Likewise.
9829 * sysdeps/m68k/setjmp.c: Likewise.
9830 * sysdeps/posix/getcwd.c: Likewise.
9831 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9832 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9833 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9834 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9835 * sysdeps/sh/sh3/setjmp.S: Likewise.
9836 * sysdeps/sh/sh4/setjmp.S: Likewise.
9837 * sysdeps/unix/alpha/sysdep.h: Likewise.
9838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9840 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9841 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9846 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9849 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9851 * sysdeps/x86_64/setjmp.S: Likewise.
9852
d44a052c
JM
98532014-08-13 Joseph Myers <joseph@codesourcery.com>
9854
9855 [BZ #17263]
9856 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9857 <stdint.h>.
9858 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9859 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9860
508ce3ac
SP
98612014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9862
e44c8b0e
SP
9863 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9864
508ce3ac
SP
9865 [BZ #17262]
9866 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9867 and __x86_64__ when disabling x87 inline functions.
9868
b4acef1f
L
98692014-08-12 H.J. Lu <hongjiu.lu@intel.com>
9870
9871 [BZ #17259]
9872 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9873 asm statement with __cpuid_count.
9874
61b1ef6e
MF
98752014-08-12 Mike Frysinger <vapier@gentoo.org>
9876
9877 * configure.ac: Change __ehdr_start code to dereference the struct.
9878 Run readelf on the output to look for relocations.
9879 * configure: Regenerated.
9880
898c62f4
JM
98812014-08-12 Joseph Myers <joseph@codesourcery.com>
9882
9883 [BZ #17261]
9884 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9885 value to 0.
9886 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9887
9a8a5720
RM
98882014-08-12 Roland McGrath <roland@hack.frob.com>
9889
9890 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9891
4e75751c
BO
98922014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
9893
9894 [BZ #16892]
9895 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9896 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9897
bb2ce416
SA
98982014-08-12 Sean Anderson <seanga2@gmail.com>
9899
9900 * malloc/malloc.c: Fix typo in comment.
9901
7950a4ee
AM
99022014-08-09 Allan McRae <allan@archlinux.org>
9903
9904 * Regenerate libc.po.
9905
f469c49f
MF
99062014-08-08 Mike Frysinger <vapier@gentoo.org>
9907
9908 * intl/tst-gettext2.sh: Check every lang file for creation.
9909
656b84c2
WD
99102014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9911
9912 * sysdeps/aarch64/fpu/math_private.h
9913 (libc_feholdsetround_noex_aarch64_ctx): New function.
9914
538e9e45
W
99152014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9916
9917 * sysdeps/arm/armv6/strcpy.S (strcpy):
9918 Fix performance issue in misaligned cases.
9919
d4795e4a
AZ
99202014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9921
9922 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9923 Move definition from termios.h.
9924 (struct termio): Likewise.
9925 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9926 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9927 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9928 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9929 Likewise.
9930 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9931 Move definition to ioctl-types.h
9932 (struct termio): Likewise.
9933 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9934 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9935 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9936 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9937 Likewise.
9938
64accb62
RH
99392014-08-05 Richard Henderson <rth@redhat.com>
9940
27bb6dc0
RH
9941 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9942 exceptions.
9943 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9944 Add fraiseexcpt.
9945 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9946 Use __feraiseexcept.
9947 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9948 Protect libm symbols with IS_IN_libm.
9949
64accb62
RH
9950 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9951
e5292691
BO
99522014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
9953
9954 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9955
5b4bd2d4
WN
99562014-08-04 Will Newton <will.newton@linaro.org>
9957
9958 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9959 file.
9960
fcadaeef
MF
99612014-08-04 Mike Frysinger <vapier@gentoo.org>
9962
9963 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9964 variants for each function.
9965
43a94c64
RM
99662014-08-04 Roland McGrath <roland@hack.frob.com>
9967
9968 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9969 appended ...
9970 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9971 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9972 appended ...
9973 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9974 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9975 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9976 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9977 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9978 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9979 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9980 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9981 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9982 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9983 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9984 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9985 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9987 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9988 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9989 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9990 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9991 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9992 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9993 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9994 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9995 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9996 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9997 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9998 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9999 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10000 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10001 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10003 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10005 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10006 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10007 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10008 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10009 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10010 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10011 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10012 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10013 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10014 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10015 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10017 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10019 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10021 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10022 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10023 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10024 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10025 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10026 Update #include.
10027 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10028 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10029
8f3c1fa4
RM
100302014-08-04 Roland McGrath <roland@hack.frob.com>
10031
10032 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10033 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10034 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10035 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10036 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10037 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10038
ca08746f
RM
100392014-08-04 Roland McGrath <roland@hack.frob.com>
10040
10041 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10042 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10043 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10044 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10045
9c925ff9
RM
100462014-08-04 Roland McGrath <roland@hack.frob.com>
10047
10048 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10049 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10050 (__libc_vfork): Define function under this name.
10051 (__vfork): Define as an alias.
10052 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10053 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10054
e641054c
RM
100552014-08-04 Roland McGrath <roland@hack.frob.com>
10056
10057 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10058 that was previously under [RESET_PID].
10059 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10060
dacdc867
AS
100612014-08-04 Andreas Schwab <schwab@suse.de>
10062
10063 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10064
41f725ff
MF
100652014-08-03 Mike Frysinger <vapier@gentoo.org>
10066
10067 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10068 (main): Likewise.
10069
277cfb31
RM
100702014-08-01 Roland McGrath <roland@hack.frob.com>
10071
10072 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10073
4896f049
RH
100742014-08-01 Richard Henderon <rth@redhat.com>
10075
10076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10077 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10078 typo in exact zero test.
10079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10080 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10082
6f64e7d7
RM
100832014-08-01 Roland McGrath <roland@hack.frob.com>
10084
10085 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10086 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10087 * sysdeps/arm/sysdep.h: ... here.
10088 [!__ASSEMBLER__]: Include <stdint.h>.
10089
3f3dd810
SP
100902014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10091
a476ac4b
SP
10092 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10093 (HAVE_WCTYPE_H): Likewise.
10094 (HAVE_ISWCTYPE): Likewise.
10095 (ENABLE_NLS): Likewise.
10096 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10097 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10098
78dd658a
SP
10099 * posix/regex_internal.c: Check if DEBUG is defined and is
10100 set.
10101
3f3dd810
SP
10102 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10103 (HAVE_MBSRTOWCS): Likewise.
10104 * posix/fnmatch.c: Include string.h unconditionally.
10105
95ee7fb1
SL
101062014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10107
10108 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10109 reversal.
10110
23fe486b
RM
101112014-07-31 Roland McGrath <roland@hack.frob.com>
10112
f61a113f
RM
10113 * sysdeps/generic/safe-fatal.h: New file.
10114 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10115 * nptl/forward.c: Include it.
10116 (__pthread_unwind): Use __safe_fatal as default action, rather
10117 than a bogus use of INTERNAL_SYSCALL that could never work.
10118
9fe7e787
RM
10119 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10120 * configure.ac (libc_cv_builtin_trap): New test.
10121 * configure: Regenerated.
10122 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10123 (ABORT_INSTRUCTION): Define using __builtin_trap.
10124
23fe486b
RM
10125 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10126 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10127 * sysdeps/nptl/nptl-signals.h: New file.
10128 * nptl/pthreadP.h: Include <nptl-signals.h>.
10129
f349489e
SL
101302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10131
10132 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10133 (ONE_DIRECTION): Define.
10134 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10135 (ONE_DIRECTION): Define.
10136 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10137 (ONE_DIRECTION): Define.
10138
2f438e20
SL
101392014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10140
10141 * sysdeps/s390/Makefile: Delete file.
10142 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10143 * sysdeps/s390/__longjmp.c: Delete file.
10144 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10145 Remove fields __flags and __reserved.
10146 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10147 and add versioning.
10148 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10149 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10150 * sysdeps/s390/rtld-setjmp.S: Likewise.
10151 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10152 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10153 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10154 * sysdeps/s390/s390-32/setjmp.S: ... here.
10155 Add versioning.
10156 (__sigsetjmp): Remove setting __flags field.
10157 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10158 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10159 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10160 * sysdeps/s390/s390-64/setjmp.S: ... here.
10161 Add versioning.
10162 (__sigsetjmp): Remove setting __flags field.
10163 * sysdeps/s390/setjmp.S: Delete file.
10164 * sysdeps/s390/sigjmp.c: Likewise.
10165 * sysdeps/s390/v1-longjmp.c: Likewise.
10166 * sysdeps/s390/v1-setjmp.h: Likewise.
10167 * sysdeps/s390/v1-sigjmp.c: Likewise.
10168 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10169 Remove v1-longjmp_chk.
10170 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10171 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10172 Include debug/longjmp_chk.c and add versioning.
10173 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10174 Include nptl/pt-longjmp.c and add versioning.
10175 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10176 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10177 Include __longjmp.c.
10178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10179 Move to ...
10180 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10181 (__getcontext): Remove setting __flags field.
10182 Add versioning.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10184 Don't restore upper high grps.
10185 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10186 Likewise.
10187 (__swapcontext): Remove setting uc_flags field.
10188 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10189 Delete file.
10190 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10191 Include __longjmp.c.
10192 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10193 Move to ...
10194 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10195 (__getcontext): Remove setting __flags field.
10196 Add versioning.
10197 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10198 (__swapcontext): Remove setting uc_flags field.
10199 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10200 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10201 Remove fields uc_high_gprs and __reserved.
10202 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10203 New file with reverted content.
10204 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10205 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10206 Regenerated.
10207 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10208 Regenerated.
10209
6c9578a2
AS
102102014-07-31 Andreas Schwab <schwab@suse.de>
10211
10212 * config.h.in (HAVE_IFUNC): Define to 0.
10213 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10214 definedness.
10215
05f3633d
LM
102162014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10217
10218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10219 memmove-avx-unaligned, memcpy-avx-unaligned and
10220 mempcpy-avx-unaligned.
10221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10222 Add tests for AVX memcpy functions.
10223 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10224 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10225 memcpy_chk.
10226 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10227 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10228 memmove_chk.
10229 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10230 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10231 mempcpy_chk.
10232 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10233 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10234 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10235
a53fbd8e
AZ
102362013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10237
10238 [BZ #17213]
10239 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10240 powerpc64le.
10241
0961f7e1
JL
102422014-07-29 Jeff Layton <jlayton@poochiereds.net>
10243
10244 [BZ #16839]
10245 * manual/llio.texi: Add section about open file description locks.
10246 * manual/examples/ofdlocks.c: Example of open file description
10247 lock usage.
10248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10249 F_OFD_SETLK, and F_OFD_SETLKW.
10250
cc5fb300
AM
102512014-07-23 Allan McRae <allan@archlinux.org>
10252
10253 * po/es.po: Update Spanish translation from translation project.
10254
23329dca
AS
102552014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10256
10257 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10258
9c82da17
MR
102592014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10260
10261 [BZ #17078]
10262 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10263 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10264 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10265
29c4f53e
JM
102662014-07-17 Joseph Myers <joseph@codesourcery.com>
10267
831b9896
JM
10268 [BZ #17088]
10269 * math/fesetenv.c (__fesetenv)
10270 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10271 * math/feupdateenv.c (__feupdateenv)
10272 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10273
b21c2d50
JM
10274 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10275 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10276 (__ASSUME_SOCKETCALL): Do not define.
10277
067764ef
JM
10278 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10279 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10280 (__ASSUME_SOCKETCALL): Do not define.
10281 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10282 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10283 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10284 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10285 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10286 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10287 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10288 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10289
642530c1
JM
10290 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10291 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10292 (__ASSUME_SOCKETCALL): Do not define.
10293 (__ASSUME_IPC64): Define unconditionally.
10294 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10295 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10296 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10297 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10298 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10299 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10300 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10301 Likewise.
10302
03f77315
JM
10303 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10304 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10305 (__ASSUME_SOCKETCALL): Do not define.
10306 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10307 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10308 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10309 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10310 (__ASSUME_REQUEUE_PI): Define unconditionally.
10311 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10312 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10313 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10314 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10315 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10316 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10317
083b1f7c
JM
10318 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10319 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10320 (__ASSUME_SOCKETCALL): Do not define.
10321 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10322 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10323 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10324 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10325 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10326 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10327
5be44ea6
JM
10328 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10329 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10330 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10331 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10332 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10333 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10334 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10335 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10336 (__ASSUME_GETCPU_SYSCALL): Likewise.
10337
d95ffd4c
JM
10338 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10339 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10340 cases for individual architectures.
10341 * sysdeps/gnu/configure: Regenerated.
10342 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10343 LIBC_SLIBDIR_RTLDDIR.
10344 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10345 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10346 LIBC_SLIBDIR_RTLDDIR.
10347 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10349 LIBC_SLIBDIR_RTLDDIR.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10351 Regenerated.
10352 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10353 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10354 file.
10355 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10356 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10357 file.
10358 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10359 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10360 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10361 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10362
29c4f53e
JM
10363 * sysdeps/aarch64/shlib-versions: Move to ...
10364 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10365 * sysdeps/alpha/shlib-versions: Move to ...
10366 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10367 * sysdeps/arm/shlib-versions: Move to ...
10368 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10369 * sysdeps/hppa/shlib-versions: Move all contents except for
10370 libgcc_s entry to ...
10371 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10372 entry from ...
10373 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10374 * sysdeps/ia64/shlib-versions: Move to ...
10375 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10376 entry from ...
10377 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10378 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10379 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10380 * sysdeps/microblaze/shlib-versions: Move to ...
10381 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10382 * sysdeps/mips/shlib-versions: Move to ...
10383 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10384 entry from ...
10385 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10386 * sysdeps/tile/shlib-versions: Move to ...
10387 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10388 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10389 from ...
10390 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10391 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10392 entry from ...
10393 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10394
32bead5b
WN
103952014-07-17 Will Newton <will.newton@linaro.org>
10396
57977c4b
WN
10397 * sysdeps/arm/bits/atomic.h
10398 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10399 (__arch_compare_and_exchange_bool_16_int): Likewise.
10400 (__arch_compare_and_exchange_bool_64_int): Likewise.
10401
32bead5b
WN
10402 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10403 into an #else block.
10404
37fccd41
RM
104052014-07-16 Roland McGrath <roland@hack.frob.com>
10406
10407 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10408 just Linux configurations. Test empirically that the compiler sets
10409 __ARM_EABI__, rather than using the tuple to decide.
10410 * sysdeps/arm/preconfigure: Regenerated.
10411 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10412 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10413 contents appended ...
10414 * sysdeps/arm/configure.ac: ... here.
10415 * sysdeps/arm/configure: Regenerated.
10416
b365f3ec
RM
104172014-07-15 Roland McGrath <roland@hack.frob.com>
10418
8badf496
RM
10419 * nptl/pthread_kill.c: New file.
10420 * nptl/pthread_sigmask.c: New file.
10421 * nptl/pthread_sigqueue.c: New file.
10422
3df6f22e
RM
10423 * sysdeps/nptl/lowlevellock.h: New file.
10424 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10425 * sysdeps/nptl/lowlevellock-futex.h: New file.
10426
b365f3ec
RM
10427 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10428 Remove dead declarations.
10429
f2fef657
L
104302014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10431
10432 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10433 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10434 config-cflags-avx2.
10435 * sysdeps/x86_64/configure.ac: Likewise.
10436 * sysdeps/i386/configure: Regenerated.
10437 * sysdeps/x86_64/configure: Likewise.
10438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10439 memset-avx2 only if config-cflags-avx2 is yes.
10440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10441 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10442 defined.
10443 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10444 only if HAVE_AVX2_SUPPORT is defined.
10445 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10446
f6c44d47
AM
104472014-07-14 Alan Modra <amodra@gmail.com>
10448
10449 [BZ #17153]
10450 * elf/elf.h (DT_PPC64_NUM): Correct value.
10451 * NEWS: Add to fixed bug list.
10452
7ee03f00
JM
104532014-07-13 Jim Meyering <meyering@fb.com>
10454
10455 [BZ 17150]
10456 regex: don't deref NULL upon heap allocation failure
10457 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10458 failure in one more place.
10459 To trigger the segfault, configure grep -with-included-regex,
10460 build it, and run these commands:
10461 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10462
9d39d517
AS
104632014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10464
10465 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10466
a75b89b7
RH
104672014-07-11 Richard Henderson <rth@redhat.com>
10468
10469 * sysdeps/aarch64/libm-test-ulps: Update.
10470
771eb141
FW
104712014-07-10 Florian Weimer <fweimer@redhat.com>
10472
10473 [BZ #17135]
10474 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10475 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10476 (__nptl_setxid): Initialize error member. Call
10477 __nptl_setxid_error.
10478 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10479 * nptl/descr.h (struct xid_command): Add error member.
10480 * nptl/tst-setuid3.c: New file.
10481 * nptl/Makefile (tests): Add it.
10482
bc1da176
AZ
104832014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10484
10485 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10486 New define.
10487 (__lll_trylock): Use __lll_base_trylock.
10488 (__lll_cond_trylock): Likewise.
10489
887865fc
RM
104902014-07-10 Roland McGrath <roland@hack.frob.com>
10491
c0c6bac9
RM
10492 * nptl/pthread_create.c (start_thread): Use atomic_or and
10493 lll_futex_wake directly rather than lll_robust_dead.
10494 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10495 (lll_robust_dead): Macro removed.
6a42be57 10496 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
10497 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10498 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10499 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10500 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10501 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10502 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10503 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10504 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10505 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10506 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10507 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10508 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10509 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10510 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10511
887865fc
RM
10512 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10513 Use atomic_compare_and_exchange_val_acq directly rather than
10514 lll_robust_trylock.
10515 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10516 (__lll_robust_trylock, lll_robust_trylock): Removed.
10517 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10518 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10519 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10520 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10521 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10522 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10523 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10524 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10525 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10526 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10527 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10528 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10529 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10530 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10531
58536726
FW
105322014-07-02 Florian Weimer <fweimer@redhat.com>
10533
10534 * manual/locale.texi (Locale Names): New section documenting
10535 locale name syntax. Adjust menu and node chaining accordingly.
10536 (Choosing Locale): Reference Locale Names, Locale Categories.
10537 Mention setting LC_ALL=C. Reflect that name syntax is now
10538 documented.
10539 (Locale Categories): New section title. Reference Locale Names.
10540 LC_ALL is an environment variable, but not a category.
10541 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10542 description, now in Locale Name. Reference that section. Locale
10543 name syntax is now documented.
10544
4e8f95a0
FW
105452014-07-02 Florian Weimer <fweimer@redhat.com>
10546
10547 [BZ #17137]
10548 * locale/findlocale.c (name_present, valid_locale_name): New
10549 functions.
10550 (_nl_find_locale): Use the loc_name variable to store name
10551 candidates. Call name_present and valid_locale_name to check and
10552 validate locale names. Return an error if the locale is invalid.
10553
d1836456
FW
105542014-07-02 Florian Weimer <fweimer@redhat.com>
10555
10556 * locale/setlocale.c (setlocale): Use strdup for allocating
10557 composite name copy.
10558
d69b7f5a
SP
105592014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10560
888c679b
SP
10561 Sync up with gnulib.
10562 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10563 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10564 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10565 and _GL_ARG_NONNULL.
10566 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10567 [!_LIBC]: Include code for Windows and Cygwin.
10568 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10569 Include prototype for int strerror_r.
10570 [!_LIBC] (is_open): New function.
10571 (flush_stdout): New function.
10572 (print_errno_message): Use it.
10573 (error): Likewise.
10574 (error_at_line): Likewise.
10575 (error_tail) Add function attribute macros. Use
10576 __builtin_expect.
10577
180e0e4b
SP
10578 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10579
d22f1fe2
SP
10580 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10581
12f2254b
SP
10582 * io/ftw.c: Include sys/param.h unconditionally.
10583
c3c7c360
SP
10584 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10585
d62aa75a
SP
10586 [BZ #17125]
10587 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10588 libc_freeres_ptr.
10589 (freecache): New function to free CACHE on exit.
10590
d69b7f5a
SP
10591 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10592 initialization.
10593
5efe06a1
DM
105942014-07-09 David S. Miller <davem@davemloft.net>
10595
10596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10597
7000d82e
DM
10598 * sysdeps/sparc/nptl/internaltypes.h: Delete.
10599 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10600 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10601 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10602 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10603 * sysdeps/sparc/nptl/sem_init.c: Likewise.
10604 * sysdeps/sparc/nptl/sem_post.c: Likewise.
10605 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10606 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10607 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10608 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10609 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10610 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10611
c213442d
AS
106122014-07-09 Andreas Schwab <schwab@suse.de>
10613
4a2552c3
AS
10614 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10615 output.
10616 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10617 (do_test): Likewise.
10618
c213442d
AS
10619 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10620
82374e65
WN
106212014-07-09 Will Newton <will.newton@linaro.org>
10622
10623 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10624 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10625 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10626 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10627 * sysdeps/hppa/start.S (_start): Likewise.
10628
6680738a
SP
106292014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10630
6ee3eab4
SP
10631 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10632
6680738a
SP
10633 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10634 defined.
10635
80b5c505
SP
106362014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10637
e35c53e3
SP
10638 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10639 after checking that it is non-NULL.
10640
80b5c505
SP
10641 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10642
91f4b564
AZ
106432014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10644
27b75f56
AZ
10645 * sysdeps/powerpc/memmove.c: Remove file.
10646 * sysdeps/powerpc/powerpc32/power4/memcopy.h
10647 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10649 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10651 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10652 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10653 string memmove instead of removed powerpc one.
10654
e7f95bb5
AZ
10655 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10656 [weak_alias]: Fix compiler warning due trailing data.
10657 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10658 [weak_alias]: Likewise.
10659 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10660 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10661
91f4b564
AZ
10662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10663 (__libc_ifunc_impl_list): Add memmove functions.
10664
7c33f1e5
SP
106652014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10666
10667 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10668 Remove code.
10669 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10670 Likewise
10671 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10672 Likewise
10673 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10674 Likewise
10675 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10676 Likewise
10677 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10678 Likewise
10679 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10680 Likewise
10681 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10682 Likewise
10683 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10684 Likewise
10685 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10686 Likewise
10687 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10688 Likewise
10689 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10690 Likewise
10691 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10692 Likewise
10693 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10694 Likewise
10695 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10696 Likewise
10697 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10698 Likewise
10699 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10700 Likewise
10701
3f17b03b
AZ
107022014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10703
87868c24
AZ
10704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10705 to avoid alignment traps in non-cacheable memory.
10706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10707
07aedd78
AZ
10708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10709 multiarch objects.
10710 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10711 file: multiarch power7 memmove.
10712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10713 multiarch default memmove.
10714 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10715 multiarch memove for powerpc32/power4.
10716
17762f66
AZ
10717 * string/bcopy.c: Use full path to include memmove.c.
10718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10719 multiarch objects.
10720 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10721 bcopy for powerpc64.
10722 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10723 bcopy for powerpc64.
10724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10725 and memmove implementations.
10726 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10727 optimized multiarch memmove for POWER7/powerpc64.
10728 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10729 default multiarch memmove for powerpc64.
10730 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10731 multiarch for powerpc64.
10732 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10733 for POWER7/powerpc64.
10734 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10735 memmove for POWER7/powerpc64.
10736
d6f68bbe
AZ
10737 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10738 glibc default one.
10739
3f17b03b
AZ
10740 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10741 __ELF_NATIVE_CLASS equal to 64.
10742
08192659
RM
107432014-07-07 Roland McGrath <roland@hack.frob.com>
10744
f4c4021b
RM
10745 * sysdeps/nptl/lowlevellock.h: File removed.
10746
f083450f
RM
10747 * NEWS: NPTL is no longer an add-on!
10748 * nptl/internaltypes.h: Moved ...
10749 * sysdeps/nptl/internaltypes.h: ... here.
10750 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10751 * sysdeps/nptl/fork.c: Likewise.
10752 * sysdeps/nptl/gai_misc.h: Likewise.
10753 * sysdeps/nptl/librt-cancellation.c: Likewise.
10754 * sysdeps/nptl/jmp-unwind.c: Likewise.
10755 * sysdeps/nptl/setxid.h: Likewise.
10756 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10757 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10758 * sysdeps/unix/sysv/linux/arm/Implies: New file.
10759 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10760 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10761 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10762 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10763 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10764 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10765 * sysdeps/unix/sysv/linux/mips/Implies: New file.
10766 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10767 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10768 * sysdeps/unix/sysv/linux/sh/Implies: New file.
10769 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10770 * sysdeps/unix/sysv/linux/tile/Implies: New file.
10771 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10773 * nptl/Makeconfig: Moved ...
10774 * sysdeps/nptl/Makeconfig: ... here.
10775 * nptl/configure: File removed.
10776 * nptl/ANNOUNCE: File removed.
10777 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10778 * sysdeps/unix/sysv/linux/configure: Regenerated.
10779
08192659
RM
10780 * nptl/Makefile (routines): Add libc_pthread_init,
10781 libc_multiple_threads, register-atfork and unregister-atfork.
10782 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10783 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10784 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10785 pthread-pi-defines.sym, structsem.sym.
10786 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10787 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10788 [$(subdir) = nptl] (tests): Add tst-setgetname.
10789 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10790 * sysdeps/unix/sysv/linux/sigaction.c: Just include
10791 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10792 [!LIBC_SIGACTION]: Remove aliases.
10793 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10794 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10795 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10796 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10797 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10798 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10799 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10800 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10801 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10802 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10803 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10804 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10805 __libc_allocate_rtsig_private.
10806 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10807 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10808 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10809 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10810 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10811 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10812 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10813 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10814 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10815 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10816 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10817 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10818 * nptl/internaltypes.h: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10820 * sysdeps/nptl/jmp-unwind.c: ... here.
10821 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10822 * nptl/libc-lowlevellock.c: ... here.
10823 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10824 * nptl/libc_multiple_threads.c: ... here.
10825 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10826 * nptl/libc_pthread_init.c: ... here.
10827 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10828 * nptl/lowlevelbarrier.sym: ... here.
10829 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10830 * nptl/lowlevelcond.sym: ... here.
10831 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10832 * nptl/lowlevellock.c: ... here.
10833 * nptl/lowlevellock.h: Moved ...
10834 * sysdeps/nptl/lowlevellock.h: ... here.
10835 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10836 * nptl/lowlevelrobustlock.c: ... here.
10837 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10838 * nptl/lowlevelrobustlock.sym: ... here.
10839 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10840 * nptl/lowlevelrwlock.sym: ... here.
10841 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10842 * nptl/pt-fork.c: ... here.
10843 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10844 * nptl/pthread-pi-defines.sym: ... here.
10845 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10846 * nptl/pthread_attr_getaffinity.c: ... here.
10847 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10848 * nptl/pthread_attr_setaffinity.c: ... here.
10849 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10850 * nptl/pthread_mutex_cond_lock.c: ... here.
10851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10852 Update #include.
10853 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10854 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10855 * nptl/pthread_once.c: ... here, replacing old file.
10856 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10857 * nptl/pthread_yield.c: ... here.
10858 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10859 * nptl/register-atfork.c: ... here.
10860 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10861 * nptl/sem_post.c: ... here.
10862 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10863 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10864 * nptl/sem_timedwait.c: ... here.
10865 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10866 * nptl/sem_trywait.c: ... here.
10867 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10868 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10869 * nptl/sem_wait.c: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10871 * nptl/structsem.sym: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10873 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10874 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10875 * nptl/unregister-atfork.c: ... here.
10876 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10877 * nptl/unwindbuf.sym: ... here.
10878 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10879 * sysdeps/nptl/fork.c: ... here.
10880 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10881 * sysdeps/nptl/fork.h: ... here.
10882 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10883 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10884 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10885 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10886 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10887 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10888 * sysdeps/unix/sysv/linux/getpid.c: ... here.
10889 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10890 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10891 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10892 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10893 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10894 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10895 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10896 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10897 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10898 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10899 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10900 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10901 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10902 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10903 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10904 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10905 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10906 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10907 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10908 * sysdeps/unix/sysv/linux/raise.c: ... here.
10909 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10910 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10911 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10912 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10913 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10914 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10915 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10916 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10917 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10918 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10919 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10920 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10921 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10922 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10923 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10924
96baf6ff
SP
109252014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10926
10927 * sysdeps/generic/memcopy.h: Add comment for
10928 MEMCPY_OK_FOR_FWD_MEMMOVE.
10929
6b7b14b2
WN
109302014-07-04 Will Newton <will.newton@linaro.org>
10931
1570a72b
WN
10932 * string/memchr.c: Merge from gnulib.
10933 [_LIBC]: Remove conditionals.
10934 (__ptr_t): Remove define.
10935 (LONG_MAX_32_BITS): Likewise.
10936 (LONG_MAX): Likewise.
10937 (MEMCHR): Use ANSI prototype and optimize algorithm.
10938
6b7b14b2
WN
10939 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10940
38851324
SP
109412014-07-03 Roland McGrath <roland@hack.frob.com>
10942
3d9eb57c
RM
10943 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10944 (lll_futex_timed_wait_bitset): Fix syscall argument count.
10945
78b984ae
RM
10946 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10947 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10948 in a bare environment with no <stdlib.h> installed.
10949 * sysdeps/nptl/configure: Regenerated.
10950
2d5976a5
RM
10951 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10952
c1f5acd4
RM
10953 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10954 AC_EGREP_CPP for kernel header checks, so they only succeed if
10955 including <linux/version.h> actually works right.
10956 * sysdeps/unix/sysv/linux/configure: Regenerated.
10957
4d614fe5
RM
10958 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10959 value so it's not diagnosed as unused.
10960
38851324
SP
10961 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10962 thing) with "ifeq ($(subdir),rt)".
10963
b3ec00e5
RH
109642014-07-03 Richard Henderson <rth@redhat.com>
10965
69862e25
RH
10966 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10967 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10968 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10969
d5e16ade
RH
10970 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10971 (math_force_eval): New.
10972
ca7b945c
RH
10973 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10974 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10975
cd1175a3
RH
10976 * sysdeps/alpha/fpu/s_round.c: Remove file.
10977 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10978
b3ec00e5
RH
10979 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10980 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10981 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10982 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10983 (_dl_start, print_statistics): Likewise.
10984 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10985 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10986
10987 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10988 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10989 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10990 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10992 (HP_SMALL_TIMING_AVAIL): Define.
10993 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10995 (HP_SMALL_TIMING_AVAIL): Define.
10996 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10997 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10998
10999 * sysdeps/aarch64/hp-timing.h: New file.
11000
11001 * sysdeps/generic/hp-timing.h: Remove dead comment.
11002 * sysdeps/generic/hp-timing-common.h: New file.
11003 * sysdeps/alpha/hp-timing.h: Include it.
11004 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11005 * sysdeps/i386/i686/hp-timing.h: Likewise.
11006 * sysdeps/ia64/hp-timing.h: Likewise.
11007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11008 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11009 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11010 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11011 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11012 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11013 (hp_timing_t): New.
11014
11015 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11016 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11017 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11018 * elf/rtld.c (_dl_start_final): Likewise.
11019 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11020 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11021 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11022 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11023 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11024 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11025 (HP_TIMING_DIFF_INIT): Remove.
11026 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11027 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11028 (HP_TIMING_DIFF_INIT): Remove.
11029 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11030 * sysdeps/i386/i686/hp-timing.c: Remove file.
11031 * sysdeps/x86_64/hp-timing.c: Remove file.
11032 * sysdeps/ia64/hp-timing.c: Remove file.
11033 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11034 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11035 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11036 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11037
11038 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11039 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11040 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11041 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11043 (HP_TIMING_ACCUM): Remove.
11044 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11045 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11046 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11047
11048 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11049 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11050 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11051 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11053 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11054 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11055 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11056
11057 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11058
225f410f
MR
110592014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11060
11061 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11062
3247f285
SP
110632014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 Sync up with gettext.
11066 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11067 [_MSC_VER]: Include malloc.h
11068 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11069 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11070 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11071 TEMP_FAILURE_RETRY. Cast return of alloca.
11072 [!_LIBC] Call gl_rwlock_init.
11073 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11074
d12704c7
SP
110752014-07-02 Roland McGrath <roland@hack.frob.com>
11076
11077 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11078 before checking its value.
11079
99f8dc92
SP
110802014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11081
05fdac77
SP
11082 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11083
99f8dc92
SP
11084 * debug/memcpy_chk.c: Don't include pagecopy.h.
11085 * debug/mempcpy_chk.c: Likewise.
11086 * string/memcpy.c: Likewise.
11087 * string/memmove.c: Likewise.
11088 * sysdeps/powerpc/memmove.c: Likewise.
11089 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11090 definition of PAGE_COPY_FWD_MAYBE here...
11091 * sysdeps/generic/pagecopy.h: ... from here.
11092 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11093
bc8ea385
VR
110942014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11095 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11096
11097 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11099 optimizations.
11100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11101 (__libc_ifunc_impl_list): Likewise.
11102 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11103 multiarch strcat for PPC64.
11104 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11105 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11106
fe5f34e4
RM
111072014-07-02 Roland McGrath <roland@hack.frob.com>
11108
11109 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11110
256aa665
SP
111112014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11112
d4eb8195
SP
11113 * intl/loadmsgcat.c: Remove declaration of
11114 get_sysdep_segment_value.
11115 (get_sysdep_segment_value): Use ISO C style.
11116 (_nl_load_domain): Use ISO C style. Get rid of redundant
11117 semicolon. Fix typo and formatting in comment.
11118 (_nl_unload_domain): Use ISO C style.
11119
256aa665
SP
11120 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11121
b100f9aa
WN
111222014-07-02 Will Newton <will.newton@linaro.org>
11123
11124 * malloc/obstack.c: Merge from gnulib master.
11125 [HAVE_CONFIG_H]: Remove conditional code.
11126 [!_LIBC]: Include config.h.
11127 [!ELIDE_CODE]: Don't include inttypes.h, include
11128 stdint.h unconditionally.
11129 (print_and_abort): Mark as _Noreturn.
11130 (_obstack_allocated_p): Mark as __attribute_pure__.
11131 (obstack_free): Rename to __obstack_free.
11132 [!__attribute__]: Remove conditional code.
11133 * malloc/obstack.h: Merge from gnulib master.
11134 [__cplusplus]: Move conditional down.
11135 [!__attribute_pure__]: Define __attribute_pure__ here
11136 if it is not already defined.
11137 (_obstack_memory_used): Mark as __attribute_pure__.
11138 [!__obstack_free]: Define as obstack_free.
11139 [__GNUC__]: Remove check for ancient NeXT gcc.
11140
c4c41244
PE
111412014-07-02 Will Newton <will.newton@linaro.org>
11142 Paul Eggert <eggert@cs.ucla.edu>
11143
11144 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11145
e1e041c4
SP
111462014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11147
11148 * resolv/gethnamaddr.c: Add comment warning that the file is
11149 not maintained.
11150
ccf431ff
CD
111512014-07-01 Carlos O'Donell <carlos@redhat.com>
11152
d34570a6
CD
11153 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11154 entries.
11155
ccf431ff
CD
11156 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11157 entry for aio_cancel and aio_cancel64.
11158 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11159 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11160 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11161 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11162 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11163 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11164 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11165 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11166 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11167 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11168 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11169 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11170 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11171
ca06321d
RM
111722014-07-01 Roland McGrath <roland@hack.frob.com>
11173
11174 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11175 * nptl/pthread_mutex_lock.c: Likewise.
11176 * nptl/pthread_mutex_timedlock.c: Likewise.
11177 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11178
a1ac3184
RH
111792014-07-01 Richard henderson <rth@redhat.com>
11180
631021e0
RH
11181 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11182 (__isnan, __isnanl): Remove.
11183 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11184
a1ac3184
RH
11185 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11186
0c1d731f
SL
111872014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11188
11189 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11190
76985d3e
SP
111912014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11192
11193 * resolv/nss_dns/dns-host.c (getanswer_r)
11194 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11195
b0cb3096
JM
111962014-07-01 Joseph Myers <joseph@codesourcery.com>
11197
11198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11199 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11200 undefine.
11201 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11202 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11203
4d76cb39
RM
112042014-07-01 Roland McGrath <roland@hack.frob.com>
11205
11206 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11207 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11208
11209 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11210 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11211
11212 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11213 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11214 ... here.
11215 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11216 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11217
11218 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11219 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11220 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11221 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11222
11223 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11224 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11225 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11226 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11228 Moved ...
11229 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11230 ... here.
11231 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11232 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11236 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11238 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11239 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11240 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11241 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11242 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11243 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11244 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11246 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11248 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11250 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11251 ... here.
11252 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11253 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11254 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11255 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11256 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11257 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11258 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11259 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11260
0cdcad17
DH
112612014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11262
11263 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11264 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11265 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11266 Add sysdep.
11267
9b71d0e3
AZ
112682014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11269
11270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11271
665390c2
JM
112722014-06-30 Joseph Myers <joseph@codesourcery.com>
11273
ae05a9d7
JM
11274 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11275 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11276
a7672a2f
JM
11277 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11278
665390c2
JM
11279 * sysdeps/arm/libm-test-ulps: Regenerated.
11280
d7a05d07
MR
112812014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11282 Roland McGrath <roland@hack.frob.com>
11283
11284 * test-skeleton.c (signal_handler): Kill the whole process group
11285 before killing the child individually.
11286 (main): Report any failure on `setpgid'.
11287
46f1d8a6
RM
112882014-06-30 Roland McGrath <roland@hack.frob.com>
11289
11290 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11291 from _TLS_H to _ARM_NPTL_TLS_H.
11292 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11293 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11294
9c37ec0b
JM
112952014-06-30 Joseph Myers <joseph@codesourcery.com>
11296
ce9c5b3e
JM
11297 [BZ #16539]
11298 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11299 (__expm1l): Return argument unchanged when small but not
11300 subnormal.
11301
3a6e9887
JM
11302 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11303 include macro name.
11304 (_FP_UNPACK_RAW_1_P): Likewise.
11305 (_FP_PACK_RAW_1): Likewise.
11306 (_FP_PACK_RAW_1_P): Likewise.
11307 (_FP_MUL_MEAT_1_wide): Likewise.
11308 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11309 (_FP_MUL_MEAT_1_hard): Likewise.
11310 (_FP_DIV_MEAT_1_imm): Likewise.
11311 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11312 (_FP_DIV_MEAT_1_udiv): Likewise.
11313 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11314 (_FP_UNPACK_RAW_2): Likewise.
11315 (_FP_UNPACK_RAW_2_P): Likewise.
11316 (_FP_PACK_RAW_2): Likewise.
11317 (_FP_PACK_RAW_2_P): Likewise.
11318 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11319 (_FP_MUL_MEAT_2_wide): Likewise.
11320 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11321 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11322 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11323 (_FP_MUL_MEAT_2_gmp): Likewise.
11324 (_FP_DIV_MEAT_2_udiv): Likewise.
11325 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11326 (_FP_FRAC_SRL_4): Likewise.
11327 (_FP_FRAC_SRST_4): Likewise.
11328 (_FP_FRAC_SRS_4): Likewise.
11329 (_FP_UNPACK_RAW_4): Likewise.
11330 (_FP_UNPACK_RAW_4_P): Likewise.
11331 (_FP_PACK_RAW_4): Likewise.
11332 (_FP_PACK_RAW_4_P): Likewise.
11333 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11334 (_FP_MUL_MEAT_4_wide): Likewise.
11335 (_FP_MUL_MEAT_4_gmp): Likewise.
11336 (umul_ppppmnnn): Likewise.
11337 (_FP_DIV_MEAT_4_udiv): Likewise.
11338 (__FP_FRAC_ADD_4): Likewise.
11339 (__FP_FRAC_SUB_3): Likewise.
11340 (__FP_FRAC_SUB_4): Likewise.
11341 (__FP_FRAC_DEC_3): Likewise.
11342 (__FP_FRAC_DEC_4): Likewise.
11343 (__FP_FRAC_ADDI_4): Likewise.
11344 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11345 (_FP_FRAC_SRL_8): Likewise.
11346 (_FP_FRAC_SRS_8): Likewise.
11347
9c37ec0b
JM
11348 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11349 include macro name.
11350 (FP_UNPACK_RAW_EP): Likewise.
11351 (FP_PACK_RAW_E): Likewise.
11352 (FP_PACK_RAW_EP): Likewise.
11353 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11354 (_FP_ISSIGNAN): Likewise.
11355 (_FP_ADD_INTERNAL): Likewise.
11356 (_FP_FMA): Likewise.
11357 (_FP_CMP): Likewise.
11358 (_FP_SQRT): Likewise.
11359 (_FP_TO_INT): Likewise.
11360 (_FP_FROM_INT): Likewise.
11361 (FP_EXTEND): Likewise.
11362 (_FP_DIV_MEAT_N_loop): Likewise.
11363
2125f674
MR
113642014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11365
11366 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11367 throughout.
11368
edea4028
JM
113692014-06-29 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #17097]
11372 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11373 result with correct sign in case of exponents that produce
11374 overflow except for X very close to 1.
11375
dd0ba018
PE
113762014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11377
11378 mktime: merge #if/#ifdef usage from glibc
11379 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11380 as that works with both Glibc's and Gnulib's style.
11381 See thread starting at Siddhesh Poyarekar's bug report at:
11382 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11383
64df73c2
SP
113842014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11385
11386 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11387 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11388 * sysdeps/tile/tilegx/memmove.c: Remove file.
11389
f1eafb41
JM
113902014-06-27 Joseph Myers <joseph@codesourcery.com>
11391
11392 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11393 abi-name definition.
11394 * scripts/soversions.awk: Do not handle or generate ABI lines.
11395 * shlib-versions: Remove ABI entries.
11396 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11397 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11398
58eb0862
RM
113992014-06-27 Roland McGrath <roland@hack.frob.com>
11400
37caf178
RM
11401 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11402 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11403 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11404 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11406 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11408 Moved ...
11409 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11410 ... here.
11411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11412 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11414 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11416 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11418 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11420 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11422 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11423 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11424 Moved ...
11425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11429 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11431 Moved ...
11432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11434 Moved ...
11435 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11437 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11439 Moved ...
11440 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11442 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11444 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11446 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11448 Moved ...
11449 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11451 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11453 Moved ...
11454 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11456 Moved ...
11457 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11458 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11459 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11461 Moved ...
11462 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11463 ... here.
11464 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11465 Identical file removed.
11466 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11467 Moved ...
11468 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11470 Identical file removed.
11471 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11472 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11473 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11474 Moved ...
11475 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11477 Identical file removed.
11478 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11479 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11480 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11481 Identical file removed.
11482 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11483 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11484 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11485 Identical file removed.
11486 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11487 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11488 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11489 Identical file removed.
11490 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11491 Moved ...
11492 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11493 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11494 Identical file removed.
11495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11496 Moved ...
11497 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11499 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11501 Identical file removed.
11502 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11503 Moved ...
11504 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11505 ... here.
11506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11507 Identical file removed.
11508 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11509 Moved ...
11510 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11511 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11512 Identical file removed.
11513 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11514 Moved ...
11515 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11517 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11519 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11521 Moved ...
11522 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11523 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11524 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11525
58eb0862
RM
11526 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11527 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11528 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11529 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11530 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11531
6f12d062
AS
115322014-06-27 Arjun Shankar <arjun.is@lostca.se>
11533
11534 [BZ #17092]
11535 * nscd/nscd.c (monitor_child): Return exit status of child
11536 instead of return value from wait syscall.
11537
be254932
JM
115382014-06-27 Joseph Myers <joseph@codesourcery.com>
11539
cb403c34
JM
11540 * configure.ac (libc_commonpagesize): Remove variable.
11541 (libc_relro_required): Likewise.
11542 (libc_cv_z_relro): Remove configure test.
11543 * configure: Regenerated.
11544 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11545 variable.
11546 (libc_relro_required): Likewise.
11547 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11548 (libc_relro_required): Likewise.
11549 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11550 (libc_relro_required): Likewise.
11551 * sysdeps/arm/preconfigure: Regenerated.
11552 * sysdeps/ia64/preconfigure: Remove file.
11553 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11554 variable.
11555 (libc_relro_required): Likewise.
11556
be254932
JM
11557 [BZ #16561]
11558 [BZ #16562]
11559 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11560 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11561 recompute overflowing results in original rounding mode.
11562 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11563 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11564 recompute overflowing results in original rounding mode.
11565 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11566 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11567 recompute overflowing results in original rounding mode.
11568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11569 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11570 recompute overflowing results in original rounding mode.
11571 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11572 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11573 recompute overflowing results in original rounding mode.
11574 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11575 (libc_feholdsetround_ctx): New macro.
11576 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11577 * sysdeps/i386/fpu/libm-test-ulps: Update.
11578 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11579
b351d85a
JM
115802014-06-26 Joseph Myers <joseph@codesourcery.com>
11581
11582 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11583 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11584 corresponding .cpsetup call.
11585
3cb4de47
RM
115862014-06-26 Roland McGrath <roland@hack.frob.com>
11587
11588 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11589 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11590 * sysdeps/arm/Makefile [$(subdir) = csu]
11591 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11592 (static-only-routines): Add aeabi_read_tp here.
11593 (shared-only-routines): Add libc-aeabi_read_tp here.
11594 (CFLAGS-libc-start.c): Add -fexceptions here.
11595 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11596 (sysdep_routines, static-only-routines, shared-only-routines):
11597 Don't add to these here.
11598 (CFLAGS-libc-start.c): Likewise.
11599
11600 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11601 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11602 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11603 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11604 * sysdeps/arm/Makefile [$(subdir) = rt]
11605 (librt-sysdep_routines, librt-shared-only-routines):
11606 Append rt-aeabi_unwind_cpp_pr1 here.
11607 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11608 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11609 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11610 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11611 Append nptl-aeabi_unwind_cpp_pr1 here.
11612 (tests): Filter out tst-cleanupx4 here.
11613 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11614 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11615 Don't do those here.
11616
354426bb
JM
116172014-06-26 Joseph Myers <joseph@codesourcery.com>
11618
11619 * scripts/list-sources.sh: Do not handle ports specially.
11620
28b0a8c9
RM
116212014-06-26 Roland McGrath <roland@hack.frob.com>
11622
a3dd035d
RM
11623 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11624 * sysdeps/arm/feupdateenv.c: Likewise.
11625
28b0a8c9
RM
11626 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11627
e66a8203
JM
116282014-06-26 Joseph Myers <joseph@codesourcery.com>
11629
11630 * manual/texinfo.tex: Update to version 2014-05-05.10 with
11631 trailing whitespace removed.
11632 * scripts/config.guess: Update to version 2014-03-23.
11633 * scripts/config.sub: Update to version 2014-05-01
11634 * scripts/install-sh: Update to version 2013-12-25.23.
11635 * scripts/move-if-change: Update from gnulib.
11636
74171115
SP
116372014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11638
b97c9ce5
SP
11639 * debug/memmove_chk.c: Remove pagecopy.h include.
11640
4000f892
SP
116412014-06-26 Paul Eggert <eggert@cs.ucla.edu>
11642
74171115
SP
11643 * time/mktime.c (leapyear): Remove inline keyword. The code is now
11644 identical to gnulib mktime.
11645
a8779c28
JM
116462014-06-26 Joseph Myers <joseph@codesourcery.com>
11647
e64708de
JM
11648 * configure.ac: Do not test for machine being rs6000. Do not test
11649 for powerpc*-*soft.
11650 * configure: Regenerated.
11651
6a9350c8 11652 [BZ #11505]
a8779c28
JM
11653 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11654 test.
11655 * configure: Regenerated.
11656 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11657 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11658 Remove configure test.
11659 * sysdeps/arm/configure: Regenerated.
11660 * sysdeps/nptl/configure.ac: Do not check
11661 libc_cv_asm_cfi_directives.
11662 * sysdeps/nptl/configure: Regenerated.
11663 * sysdeps/x86_64/nptl/configure.ac: Remove file.
11664 * sysdeps/x86_64/nptl/configure: Remove generated file.
11665 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11666 unconditional.
11667 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11668
2aac0a86
SP
116692014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11670
059bf913
SP
11671 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11672 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11673 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11674 it is defined.
11675
4cf5b6d0
SP
11676 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11677 instead of whether it is defined.
11678 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11679 * sysdeps/hppa/dl-machine.h: Likewise.
11680 * sysdeps/ia64/dl-machine.h: Likewise.
11681 * sysdeps/m68k/dl-machine.h: Likewise.
11682 * sysdeps/microblaze/dl-machine.h: Likewise.
11683 * sysdeps/mips/dl-machine.: Likewise.
11684 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11685 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11686 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11687 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11688 * sysdeps/sh/dl-machine.h: Likewise.
11689 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11690 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11691 * sysdeps/tile/dl-machine.h: Likewise.
11692 * sysdeps/x86_64/dl-machine.h: Likewise.
11693
2aac0a86
SP
11694 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11695 code.
11696 (verify_persistent_db): Likewise.
11697
6ad2df0b
RM
116982014-06-26 Roland McGrath <roland@hack.frob.com>
11699
d8a483f3
RM
11700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11701 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11703 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11705 Moved ...
11706 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11707 ... here.
11708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11709 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11711 Identical file removed.
11712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11713 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11715 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11717 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11719 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11721 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11723 Moved ...
11724 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11726 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11728 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11730 Moved ...
11731 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11733 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11735 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11737 Identical file removed.
11738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11739 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11741 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11743 Moved ...
11744 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11745 ... here.
11746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11749 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11751 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11753 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11755 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11757 Moved ...
11758 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11760 Moved ...
11761 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11763 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11765 Moved ...
11766 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11768 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11769
52ae23b4
RM
11770 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11771 folded into ...
11772 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11773 * sysdeps/unix/sysv/linux/s390/Versions
11774 (libpthread: GLIBC_2.19): New version set.
11775 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11776 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11777 (librt: GLIBC_2.3.3): New version set.
11778 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11779 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11780 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11781 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11782 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11783 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11784 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11785 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11786 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11787 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11788 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11789 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11790 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11791 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11792 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11793 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11794 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11796 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11798 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11799 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11800 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11801 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11802 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11803 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11804 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11805 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11806 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11807 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11808 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11809 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11811 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11813 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11814 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11816 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11818 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11819 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11820 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11821 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11822 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11823
39507e4a
RM
11824 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11825 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11826 (__libc_vfork): Define the function under this name.
11827 [!NOT_IN_libc] (__vfork): Make this an alias.
11828 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11830 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11831 (__libc_vfork): Define the function under this name.
11832 [!NOT_IN_libc] (__vfork): Make this an alias.
11833 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11834 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11835 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11836 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11838 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11839
e549ee56
RM
11840 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11841 code that was previously under [RESET_PID].
11842 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11843 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11845
6ad2df0b
RM
11846 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11847 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11848 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11849 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11850 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11851 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11852 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11853 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11854 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11855 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11856 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11857 Moved ...
11858 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11859 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11860 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11861 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11862 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11863 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11864 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11865 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11866 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11867 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11868 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11869 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11870 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11871 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11872 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11873 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11874 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11875 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11876 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11877 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11878 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11879 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11880 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11881 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11882 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11883 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11884 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11885 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11886 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11887
7c1c1d8e
RM
118882014-06-25 Roland McGrath <roland@hack.frob.com>
11889
11890 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11891 that was previously under [RESET_PID].
11892 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11893
3e239be6
JM
118942014-06-25 Joseph Myers <joseph@codesourcery.com>
11895
74385da5
JM
11896 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11897 not undefine and redefine.
11898 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11899 [O_CLOEXEC]: Make code unconditional.
11900 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11901 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11902 <kernel-features.h>.
11903 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11904 conditional variable definition.
11905 (shm_open) [O_CLOEXEC]: Make code unconditional.
11906 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11907 code.
11908
c2570a0b
JM
11909 * configure.ac (USE_REGPARMS): Don't define here.
11910 * configure: Regenerated.
11911 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11912 * sysdeps/i386/configure: Regenerated.
11913
11b076bb
JM
11914 * nptl/createthread.c: Don't include kernel-features.h.
11915 * nptl/pthread_cancel.c: Likewise.
11916 * nptl/pthread_condattr_setclock.c: Likewise.
11917 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11918 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11919 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11920 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11921 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11922 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11923 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11926 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11927 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11928 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11929 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11930 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11931 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11932 * nscd/gai.c: Likewise.
11933 * nss/nss_db/db-open.c: Likewise.
11934 * sysdeps/generic/ldsodefs.h: Likewise.
11935 * sysdeps/sh/nptl/tls.h: Likewise.
11936 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11937 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11938 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11939 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11940 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11941 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11942 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11943 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11944 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11945 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11946 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11947 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11948 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11949 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11950 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11951 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11952 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11953 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11954 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11955 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11956 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11958 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11959 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11960 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11961 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11962 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11964 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11965 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11966 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11967 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11968 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11969 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11970 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11971 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11972 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11973 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11974 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11975 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11976 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11977 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11978 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11979 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11980 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11981 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11982 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11983 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11984 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11985 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11986 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11987 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11988 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11989 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11990 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11991 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11992 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11993 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12016 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12017 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12018 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12019 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12020 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12021 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12022 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12023 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12024 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12025 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12026 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12027 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12028 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12029 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12030 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12031 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12033 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12034 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12035 * sysdeps/unix/sysv/linux/system.c: Likewise.
12036 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12037 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12038 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12039 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12040 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12041 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12042 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12043
92072d57
JM
12044 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12045 * configure: Regenerated.
12046 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12047
3e239be6
JM
12048 * configure.ac (base_machine): Do not set specially for particular
12049 machines here.
12050 * configure: Regenerated.
12051 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12052 settings from configure.ac.
12053 * sysdeps/i386/preconfigure: New file.
12054 * sysdeps/s390/preconfigure: Likewise.
12055 * sysdeps/sh/preconfigure: Likewise.
12056 * sysdeps/sparc/preconfigure: Likewise.
12057
06d50baa
RM
120582014-06-25 Roland McGrath <roland@hack.frob.com>
12059
74836003
RM
12060 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12061 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12062 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12063 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12064 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12065 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12066 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12067 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12068 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12069 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12070 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12071 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12072 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12073 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12074 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12075 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12076 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12077 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12078 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12079
12080 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12081 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12082 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12083 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12084 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12085 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12086 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12087 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12088 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12089 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12090 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12091 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12092 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12093 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12094 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12095 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12096 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12097 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12098 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12099 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12100 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12101 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12102 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12103 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12104 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12105 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12107 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12108 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12109 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12110 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12111 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12112 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12113 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12114 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12115 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12116 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12117 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12118
06d50baa
RM
12119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12120 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12122 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12124 Moved ...
12125 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12126 ... here.
12127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12128 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12130 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12132 Moved ...
12133 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12135 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12137 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12139 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12141 Moved ...
12142 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12144 Moved ...
12145 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12147 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12149 Moved ...
12150 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12152 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12154 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12156 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12158 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12160 Moved ...
12161 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12162 ... here.
12163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12164 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12166 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12168 Moved ...
12169 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12171 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12175 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12177 Moved ...
12178 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12180 Moved ...
12181 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12183 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12185 Moved ...
12186 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12188 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12190 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12191
a4ccbc9b
JM
121922014-06-25 Joseph Myers <joseph@codesourcery.com>
12193
0828edbf
JM
12194 * timezone/checktab.awk: Update from tzcode 2014e.
12195 * timezone/private.h: Likewise.
12196 * timezone/tzfile.h: Likewise.
12197 * timezone/zdump.c: Likewise.
12198 * timezone/zic.c: Likewise.
12199
a4ccbc9b
JM
12200 * sysdeps/unix/sysv/linux/kernel-features.h
12201 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12202 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12203 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12204 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12205 Remove conditional code.
12206
9aea0cb8
WN
122072014-06-25 Will Newton <will.newton@linaro.org>
12208
12209 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12210 (_dl_arm_cap_flags): Add HWCAP2 values.
12211 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12212 (_DL_HWCAP_COUNT): Increase to 37.
12213 (_DL_HWCAP_LAST): New define.
12214 (_DL_HWCAP2_LAST): New define.
12215 (_dl_procinfo): Add support for printing
12216 AT_HWCAP2 entries.
12217 (_dl_string_hwcap): Use _dl_hwcap_string.
12218
6eaa65ce
AZ
122192014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12220
12221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12222
0f5b7185
JM
122232014-06-25 Joseph Myers <joseph@codesourcery.com>
12224
cfd2ea50
JM
12225 * README: Do not mention ports directory.
12226
cecf2ed4
JM
12227 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12228 Remove macro.
12229 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12230 <kernel-features.h>.
12231 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12232 conditional variable definition.
12233 (__futimes): Update comment.
12234 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12235 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12236
a638de82
JM
12237 [BZ #16560]
12238 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12239 arguments close to 0.
12240 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12241 Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12243 Likewise.
12244 * math/auto-libm-test-in: Add more tests of exp10.
12245 * math/auto-libm-test-out: Regenerated.
12246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12247
0f5b7185
JM
12248 * sysdeps/unix/sysv/linux/kernel-features.h
12249 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12250 * sysdeps/unix/sysv/linux/readv.c: Do not include
12251 <kernel-features.h>.
12252 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12253 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12254 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12255 unconditional.
12256 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12257 conditional code.
12258 * sysdeps/unix/sysv/linux/writev.c: Do not include
12259 <kernel-features.h>.
12260 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12261 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12262 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12263 unconditional.
12264 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12265 conditional code.
12266
c7aec4be
WN
122672014-06-25 Will Newton <will.newton@linaro.org>
12268
12269 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12270 comment changes throughout the file. Remove checks
12271 for HAVE_*_H definitions that are not required.
12272 (__gen_tempname): Call abort if an unknown kind value is
12273 passed.
12274
c5241f95
AS
122752014-06-25 Andreas Schwab <schwab@suse.de>
12276
12277 [BZ #17086]
12278 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12279 scalbln, scalblnf, scalblnl in libc.
12280
911422da
SP
122812014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12282
12283 [BZ #17086]
12284 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12285 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12286 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12287
0d749bbe
RM
122882014-06-24 Roland McGrath <roland@hack.frob.com>
12289
12290 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12291 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12292 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12293 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12294 Update #include.
12295 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12296 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12297 Update #include.
12298 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12299 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12300 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12301 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12302 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12303 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12304 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12305 * sysdeps/x86/bits/semaphore.h: ... here.
12306 * sysdeps/x86/nptl/elide.h: Moved ...
12307 * sysdeps/x86/elide.h: ... here.
12308 * sysdeps/x86_64/nptl/Implies: File removed.
12309 * sysdeps/i386/nptl/Implies: File removed.
12310
0ea5d373
JM
123112014-06-24 Joseph Myers <joseph@codesourcery.com>
12312
4060283d
JM
12313 [BZ #16539]
12314 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12315 return the argument for normal arguments with exponent below -64.
12316 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12317 Likewise.
12318 * math/auto-libm-test-in: Add another test of expm1.
12319 * math/auto-libm-test-out: Regenerated.
12320
e7dd3c8c
JM
12321 [BZ #16287]
12322 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12323 calling __erfcl for arguments at least 16.
12324 * math/auto-libm-test-in: Add more tests of erf.
12325 * math/auto-libm-test-out: Regenerated.
12326
0ea5d373
JM
12327 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12328 individual architectures.
12329 * sysdeps/unix/sysv/linux/configure: Regenerated.
12330 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12331 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12332 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12333 (ldd_rewrite_script): Define variable.
12334 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12336 file.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12338 generated file.
12339 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12340 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12341 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12342 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12343 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12344 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12345 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12346 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12347
2307e126
SP
123482014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12349
12350 [BZ #17084]
12351 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12352 Rename member __data.d to __data.__elision_data.
12353
c0a4ed77
W
123542014-06-24 Wilco <wdijkstr@arm.com>
12355
12356 * NEWS: Add 16918 to fixed bug list.
12357
b8c00573
W
123582014-06-24 Wilco <wdijkstr@arm.com>
12359
12360 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12361
b5570d92
W
123622014-06-24 Wilco <wdijkstr@arm.com>
12363
12364 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12365 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12366 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12367 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12368 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12369 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12370 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12371 Use _FPU_MASK_RM.
12372
947bdca2
W
123732014-06-24 Wilco <wdijkstr@arm.com>
12374
12375 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12376
00f669ed
W
123772014-06-24 Wilco <wdijkstr@arm.com>
12378
12379 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12380 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12381 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12382 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12383
db59bad3
W
123842014-06-24 Wilco <wdijkstr@arm.com>
12385
12386 [BZ #16918]
12387 * sysdeps/arm/feupdateenv.c (feupdateenv):
12388 Rewrite to reduce FPSCR accesses and fix return value.
12389
001f7b77
W
123902014-06-24 Wilco <wdijkstr@arm.com>
12391
12392 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12393 Optimize to avoid unnecessary FPSCR writes.
12394 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12395 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12396 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12397 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12398
4841e6a6
W
123992014-06-24 Wilco <wdijkstr@arm.com>
12400
12401 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12402 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12403 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12404 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12405 Call libc_fetestexcept_vfp.
12406 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12407 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12408 __SOFTFP__ ifdef so that they can be built for softfp.
12409
0813022c
SP
124102014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12411
08e5862f
SP
12412 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12413 argument type signed char.
12414
0813022c
SP
12415 * Makerules (check-abi): Dump diff of symlist if the test
12416 fails.
12417
3fc7236a
RM
124182014-06-23 Roland McGrath <roland@hack.frob.com>
12419
aba8ef95
RM
12420 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12421 using abort.
12422
3fc7236a
RM
12423 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12424 Remove unused variable ST.
12425
4da6db51
JM
124262014-06-23 Joseph Myers <joseph@codesourcery.com>
12427
4648909d
JM
12428 [BZ #16354]
12429 [BZ #17061]
12430 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12431 small arguments before calling __expm1.
12432 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12433 small arguments before calling __expm1f.
12434 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12435 small arguments before calling __expm1l.
12436 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12437 Likewise.
12438 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12439 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12440 spurious underflow for some cosh tests.
12441 * math/auto-libm-test-out: Regenerated.
12442 * sysdeps/i386/fpu/libm-test-ulps: Update.
12443
46a3d3c7
JM
12444 [BZ #17050]
12445 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12446 (__ieee754_y1): Set errno if return value overflows.
12447 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12448 (__ieee754_y1f): Set errno if return value overflows.
12449 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12450 (__ieee754_y1l): Set errno if return value overflows.
12451 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12452 (__ieee754_y1l): Set errno if return value overflows.
12453 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12454 * math/auto-libm-test-out: Regenerated.
12455
863893ec
JM
12456 * math/gen-auto-libm-tests.c: Document use of
12457 ignore-zero-inf-sign.
12458 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12459 (input_flags): Add ignore-zero-inf-sign.
12460 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12461 * math/gen-libm-test.pl (generate_testfile): Handle
12462 ignore-zero-inf-sign.
12463 * math/auto-libm-test-in: Mark some cpow tests with
12464 ignore-zero-inf-sign and some with xfail-rounding.
12465 * math/auto-libm-test-out: Regenerated.
12466 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12467 * sysdeps/i386/fpu/libm-test-ulps: Update.
12468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12469
4da6db51
JM
12470 [BZ #16315]
12471 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12472 overflowing or underflowing operations take place with sign of
12473 result.
12474 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12475 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12476 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12477 (__ieee754_pow): Recompute overflowing and underflowing results in
12478 original rounding mode.
12479 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12480 (__powl_helper): Allow negative argument X and scale negated value
12481 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12482 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12483 overflowing or underflowing operations take place with sign of
12484 result.
12485 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12486 Include <math.h>.
12487 * math/auto-libm-test-in: Add more tests of pow.
12488 * math/auto-libm-test-out: Regenerated.
12489 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12490 (pow_tonearest_test_data): Remove.
12491 (pow_test_tonearest): Likewise.
12492 (pow_towardzero_test_data): Likewise.
12493 (pow_test_towardzero): Likewise.
12494 (pow_downward_test_data): Likewise.
12495 (pow_test_downward): Likewise.
12496 (pow_upward_test_data): Likewise.
12497 (pow_test_upward): Likewise.
12498 (main): Don't call removed functions.
12499 * sysdeps/i386/fpu/libm-test-ulps: Update.
12500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12501
5686b236
RM
125022014-06-23 Roland McGrath <roland@hack.frob.com>
12503
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12505 Moved ...
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12508 Moved ...
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12511 Moved ...
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12514 Moved ...
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12517 File removed.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12519 File removed.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12521 File removed.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12523 File removed.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12525 File removed.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12527 File removed.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12529 File removed.
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12531 File removed.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12533 File removed.
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12535 File removed.
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12537 File removed.
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12539 File removed.
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12541 Moved ...
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12544 Moved ...
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12546 ... here.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12548 Moved ...
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12551 Moved ...
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12554 Moved ...
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12557 Moved ...
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12560 Moved ...
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12563 Moved ...
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12566 Moved ...
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12570 ... here.
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12572 Moved ...
12573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12575 Moved ...
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12577 ... here.
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12579 Moved ...
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12581 ... here.
12582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12583 Moved ...
12584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12585 ... here.
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12587 Moved ...
12588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12590 Moved ...
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12595 Moved ...
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12597 ... here.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12599 Moved ...
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12601 ... here.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12603 Moved ...
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12606 Moved ...
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12609 Moved ...
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12612 Moved ...
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12615 Moved ...
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12617 ... here.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12619 Moved ...
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12622 Moved ...
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12625 Moved ...
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12628 Moved ...
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12633 Moved ...
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12636 Moved ...
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12639 Moved ...
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12641 ... here.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12643 Moved ...
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12645 ... here.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12647 Moved ...
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12649 ... here.
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12651 Moved ...
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12654 Moved ...
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12657 Moved ...
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12660 Moved ...
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12662 ... here.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12664 Moved ...
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12666 ... here.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12668 Moved ...
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12670 ... here.
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12672 Moved ...
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12675 Moved ...
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12677
e6d90d67
WD
126782014-06-23 Will Newton <will.newton@linaro.org>
12679 Wilco <wdijkstr@arm.com>
12680
12681 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12682 implementation. Include get-rounding-mode.h.
12683 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12684 [!libc_feholdsetround_noex_ctx]: Define
12685 libc_feholdsetround_noex_ctx.
12686 [!libc_feholdsetround_noexf_ctx]: Define
12687 libc_feholdsetround_noexf_ctx.
12688 [!libc_feholdsetround_noexl_ctx]: Define
12689 libc_feholdsetround_noexl_ctx.
12690 (libc_feholdsetround_ctx): New function.
12691 (libc_feresetround_ctx): New function.
12692 (libc_feholdsetround_noex_ctx): New function.
12693 (libc_feresetround_noex_ctx): New function.
12694
d42df555
RM
126952014-06-23 Roland McGrath <roland@hack.frob.com>
12696
88a46474
RM
12697 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12698 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12699 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12700 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12701 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12702 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12703
15bed472
RM
12704 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12705 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12706 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12707 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12708 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12709 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12710 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12711 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12712 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12713 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12714 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12715 Moved ...
12716 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12717 ... here.
12718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12719 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12720 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12721 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12723 Moved ...
12724 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12725 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12726 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12727 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12728 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12730 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12731 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12732 Moved ...
12733 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12735 Moved ...
12736 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12737 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12738 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12739 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12740 Moved ...
12741 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12742 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12743 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12744 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12745 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12746 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12747 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12748 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12749 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12750 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12751 Moved ...
12752 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12753 ... here.
12754 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12755 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12757 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12758 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12759 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12760 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12761 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12762 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12763 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12764 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12765 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12766 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12767 Moved ...
12768 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12769 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12770 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12771 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12772 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12774 Moved ...
12775 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12776 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12777 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12778 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12779 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12780
d42df555
RM
12781 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12782 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12783 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12784 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12785 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12786 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12787 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12788 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12790 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12792 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12794 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12795 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12796 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12797 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12798 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12799 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12800 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12801 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12802 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12803 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12804 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12805 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12806 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12807 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12808 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12809
76e5216e
JM
128102014-06-23 Joseph Myers <joseph@codesourcery.com>
12811
12812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12813 (FALLOC_FL_COLLAPSE_RANGE): New macro.
12814 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12815 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12816 (IPV6_PMTUDISC_INTERFACE): Likewise.
12817 (IPV6_PMTUDISC_OMIT): Likewise.
12818
7a81cbcc
AS
128192014-06-23 Andreas Schwab <schwab@suse.de>
12820
12821 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12822 Remove unused errout label.
12823
db224009
AZ
128242014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12825
12826 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12827 macro: hardware supports Vector Crypto instructions.
12828
f393b4aa
WN
128292014-06-23 Will Newton <will.newton@linaro.org>
12830
cc7d0447
WN
12831 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12832 rather than __builtin_expect.
12833
d6d06225
WN
12834 * elf/dl-lookup.c (undefined_msg): Remove variable.
12835 (_dl_lookup_symbol_x): Replace undefined_msg with string
12836 literal.
12837
f393b4aa
WN
12838 * elf/dl-lookup.c (do_lookup_unique): New function.
12839 (do_lookup_x): Move STB_GNU_UNIQUE handling code
12840 to a separate function.
12841
ac60763e
AS
128422014-06-23 Andreas Schwab <schwab@suse.de>
12843
12844 [BZ #17079]
12845 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12846 before reading the next line.
12847
c5c13355
WN
128482014-06-23 Will Newton <will.newton@linaro.org>
12849
12850 * test-skeleton.c (signal_handler): Use printf and %m
12851 rather than perror. Use printf rather than fprintf to
12852 stderr. Use puts rather than fputs to stderr.
12853 (main): Likewise.
12854
bd3675f9
LC
128552014-06-22 Ludovic Courtès <ludo@gnu.org>
12856
12857 * nscd/nscd.c (thread_info_t): Remove typedef.
12858 (thread_info): Remove variable.
12859
d03efb2f
AM
128602014-06-21 Allan McRae <allan@archlinux.org>
12861
12862 * NEWS: Mention CVE-2014-4043.
12863
bc4a86fa
RM
128642014-06-20 Roland McGrath <roland@hack.frob.com>
12865
dc9a54f8
RM
12866 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12867 * nptl/smp.h: ... here.
12868
bd7022c4
RM
12869 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12870
26ffd5e6
RM
12871 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12872 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12873 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12874 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12875
93a6d082
RM
12876 * nptl/allocatestack.c: Include <stack-aliasing.h>.
12877 * nptl/stack-aliasing.h: New file.
12878 * sysdeps/i386/i686/stack-aliasing.h: New file.
12879 * sysdeps/i386/i686/nptl/Makefile: File removed.
12880 * sysdeps/x86_64/stack-aliasing.h: New file.
12881 * sysdeps/x86_64/nptl/Makefile
12882 (CFLAGS-pthread_create.c): Variable removed.
12883
bc4a86fa
RM
12884 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12885 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12886 old file.
12887 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12888 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12889 old file.
12890
2272ffc1
JM
128912014-06-21 Joseph Myers <joseph@codesourcery.com>
12892
12893 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12894 (__ASSUME_SIGFRAME_V2): Remove macro.
12895 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12896 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12897 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12898 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12899 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12900 Declare as function. Remove conditional macro definitions.
12901 (__default_rt_sa_restorer): Likewise.
12902 (__default_sa_restorer_v1): Remove declaration.
12903 (__default_sa_restorer_v2): Likewise.
12904 (__default_rt_sa_restorer_v1): Likewise.
12905 (__default_rt_sa_restorer_v2): Likewise.
12906 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12907 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12908 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12909
4b88139b
RM
129102014-06-20 Roland McGrath <roland@hack.frob.com>
12911
12912 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12913 (libpthread-routines): Add sysdep.
12914 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12915 * sysdeps/unix/sysv/linux/sparc/Versions
12916 (libpthread: GLIBC_2.3.3): New version set.
12917 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12918 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12919 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12921 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
12922 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12923 Moved ...
12924 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12925 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12926 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12927 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12928 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12929 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12930 * sysdeps/sparc/nptl/sem_init.c: ... here.
12931 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12932 * sysdeps/sparc/nptl/sem_post.c: ... here.
12933 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12934 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12935 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12936 * sysdeps/sparc/nptl/sem_wait.c: ... here.
12937 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12938 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12939 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12940 (libpthread-routines): Add cpu_relax.
12941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12942 File removed.
12943 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12944 (librt: GLIBC_2.3.3): New version set.
12945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12946 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12947 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12948 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12951 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12953 Moved ...
12954 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12956 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12958 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12960 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12962 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12964 Moved ...
12965 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12966 Update #include.
12967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12968 Moved ...
12969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12970 Update #include.
12971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12972 Moved ...
12973 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12974 Update #include.
12975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12976 Moved ...
12977 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12978 Update #include.
12979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12980 Moved ...
12981 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12982 Update #include.
12983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12984 Moved ...
12985 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12986 Update #include.
12987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12988 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12994 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12996 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12998 Moved ...
12999 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13001 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13003 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13004
d7109027
JM
130052014-06-20 Joseph Myers <joseph@codesourcery.com>
13006
9bc6103d
JM
13007 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13008 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13009 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13010 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13011 * nscd/nscd.c: Likewise.
13012 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13013 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13014 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13015 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13016
d7109027
JM
13017 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13018 <kernel-features.h>.
13019 (init_mq_netlink): Remove conditional have_sock_cloexec
13020 definitions. Remove code conditional on have_sock_cloexec < 0.
13021 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13022 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13023 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13024 <kernel-features.h>.
13025 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13026 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13027
d92d8f8a
L
130282014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13029
13030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13031 Add tests for memset_chk and memset.
13032
13033 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13034 with AVX2_Usable.
13035
4e6d2347
MR
130362014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13037
257ce712
MR
13038 [BZ #16046]
13039 * elf/tst-dl-iter-static.c: New file.
13040 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13041
4e6d2347
MR
13042 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13043 error.
13044
a2a76afe
JM
130452014-06-20 Joseph Myers <joseph@codesourcery.com>
13046
7fd00f99
JM
13047 * sysdeps/unix/sysv/linux/kernel-features.h
13048 (__ASSUME_F_GETOWN_EX): Remove macro.
13049 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13050 <kernel-features.h>.
13051 (miss_F_GETOWN_EX): Remove variable or macro.
13052 (do_fcntl): Do not check miss_F_GETOWN_EX.
13053 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13054
4a103975
JM
13055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13056 Remove macro.
13057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13058 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13059 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13060
a2a76afe
JM
13061 * sysdeps/unix/sysv/linux/kernel-features.h
13062 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13063 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13064 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13065 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13066
90e5dd48
MR
130672014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13068
13069 [BZ #17075]
13070 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13071 Fix calculation of the symbol's value.
13072 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13073 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13074 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13075 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13076 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13077 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13078 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13079 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13080 (modules-names): Add `tst-armtlsdescmod',
13081 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13082 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13083 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13084 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13085 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13086 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13087 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13088 ($(objpfx)tst-armtlsdescloc): New dependency.
13089 ($(objpfx)tst-armtlsdescextnow): Likewise.
13090 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13091 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13092 TLS scheme support.
13093 * sysdeps/arm/configure: Regenerate.
13094
809fdf0d
JM
130952014-06-20 Joseph Myers <joseph@codesourcery.com>
13096
13097 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13098 (__atfct_seterrno_2): Likewise.
13099 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13100 <kernel-features.h>.
13101 (__ASSUME_ATFCTS): Do not undefine and redefine.
13102 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13103 (__have_atfcts): Remove conditional definition.
13104 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13105 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13106 unreachable if [__ASSUME_ATFCTS].
13107 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13108 not undefine and redefine.
13109 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13110 <kernel-features.h>.
13111 (faccessat) [__NR_faccessat]: Make code unconditional.
13112 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13113 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13114 <kernel-features.h>.
13115 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13116 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13117 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13118 <kernel-features.h>.
13119 (fchownat) [__NR_fchownat]: Make code unconditional.
13120 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13121 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13122 <kernel-features.h>.
13123 (futimesat) [__NR_futimesat]: Make code unconditional.
13124 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13125 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13126 <kernel-features.h>.
13127 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13128 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13129 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13130 <kernel-features.h>.
13131 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13132 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13133 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13134 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13135 <kernel-features.h>.
13136 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13137 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13138 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13139 <kernel-features.h>.
13140 (linkat) [__NR_linkat]: Make code unconditional.
13141 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13142 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13143 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13144 <kernel-features.h>.
13145 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13146 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13147 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13148 <kernel-features.h>.
13149 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13150 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13151 * sysdeps/unix/sysv/linux/openat.c: Do not include
13152 <kernel-features.h>.
13153 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13154 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13155 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13156 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13157 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13158 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13159 <kernel-features.h>.
13160 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13161 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13162 result of INLINE_SYSCALL directly, not via int variable.
13163 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13164 <kernel-features.h>.
13165 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13166 (renameat) [__NR_renameat]: Make code unconditional.
13167 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13168 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13169 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13170 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13171 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13172 (__ASSUME_ATFCTS): Do not undefine and redefine.
13173 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13174 <kernel-features.h>.
13175 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13176 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13177 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13178 <kernel-features.h>.
13179 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13180 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13181 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13182 (__ASSUME_ATFCTS): Do not undefine and redefine.
13183 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13184 <kernel-features.h>.
13185 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13186 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13187 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13188 <kernel-features.h>.
13189 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13190 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13191
224c6c51
L
131922014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13193
13194 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13195
aa6ec754
AS
131962014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13197
13198 [BZ #17069]
13199 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13200 constructed tree before returning error.
13201 * posix/bug-regexp36.c: Expand test case.
13202
d8c2869d
SL
132032014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13204
3ef6b850
SL
13205 [BZ #6803]
13206 * math/libm-test.inc (scalbln_test_date):
13207 Add errno expectations.
13208 * math/w_scalblnf.c: New File.
13209 Add wrapper which checks for setting errno to ERANGE.
13210 Add weak_alias for corresponding scalbln function.
13211 * math/w_scalbln.c: Likewise.
13212 * math/w_scalblnl.c: Likewise.
13213 * math/Makefile (libm-calls): Add w_scalbln.
13214 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13215 Remove weak_alias for corresponding scalbln function.
13216 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13218 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13220 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13221 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13222 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13223 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13224 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13225 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13226 Remove long_double_symbol for scalblnl function in libm, libc.
13227 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13228 Add wrapper which checks for setting errno to ERANGE.
13229 Add long_double_symbol for scalblnl function in libm, libc.
13230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13231 Remove long_double_symbol for scalblnl in libm.
13232 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13233 Add wrapper which checks for setting errno to ERANGE.
13234 Add long_double_symbol for scalblnl function in libm.
13235 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13236 Do not use wrapper because of own implementation.
13237
c8daec5c
L
132382014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13239
13240 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13241 3 bytes for __pad1 for x32.
13242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13243
5c74e47c
LM
132442014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13245 H.J. Lu <hongjiu.lu@intel.com>
13246
13247 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13248 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13249 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13250 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13251 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13252
4d43ef1e
AS
132532014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13254
13255 [BZ #17069]
13256 * posix/regcomp.c (parse_expression): Deallocate partially
13257 constructed tree before returning error.
13258 * posix/Makefile.c (tests): Add bug-regex36.
13259 (generated): Add bug-regex36.mtrace.
13260 (tests-special): Add $(objpfx)bug-regex36-mem.out
13261 (bug-regex36-ENV): New variable.
13262 ($(objpfx)bug-regex36-mem.out): New rule.
13263 * posix/bug-regex36.c: New file.
13264
51a7380b
WN
132652014-06-19 Will Newton <will.newton@linaro.org>
13266
13267 * malloc/malloc.c (systrim): If extra is zero then return
13268 early.
13269
91b84fe5
SP
132702014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13271
13272 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13273
f940b965
RE
132742014-06-19 Richard Earnshaw <rearnsha@arm.com>
13275
13276 * sysdeps/aarch64/strchr.S: New file.
13277
4ba7a00f
JM
132782014-06-18 Joseph Myers <joseph@codesourcery.com>
13279
13280 [BZ #17022]
13281 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13282 from arguments -2 or below.
13283 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13284 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13285
b3a9f56b
AS
132862014-06-18 Andreas Schwab <schwab@suse.de>
13287
13288 [BZ #17062]
13289 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13290 of a bracket expr not to run off the end of the string.
13291 * posix/Makefile (tests): Add tst-fnmatch3.
13292 * posix/tst-fnmatch3.c: New file.
13293
85d89278
JM
132942014-06-18 Joseph Myers <joseph@codesourcery.com>
13295
13296 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13297 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13298 [$(cross-compiling) = no]: Likewise.
13299 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13300 [$(cross-compiling) = no]: Likewise.
13301
754c5a08
RS
133022014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13303
13304 [BZ #17031]
13305 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13306 double, adjusted for any remainder from the high double.
13307 * math/libm-test.inc (nearbyint): Add tests.
13308 (rint): Likewise.
13309
556f529d
AZ
133102014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13311
13312 * nptl/sysdeps/powerpc/Makefile: Moved ...
13313 * sysdeps/powerpc/nptl/Makefile: ... here.
13314 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13315 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13316 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13317 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13318 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13319 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13320 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13321 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13322 * nptl/sysdeps/powerpc/tls.h: Moved ...
13323 * sysdeps/powerpc/nptl/tls.h: ... here.
13324
91c03c53
JM
133252014-06-16 Joseph Myers <joseph@codesourcery.com>
13326
13327 [BZ #16681]
13328 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13329 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13330 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13331 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13332 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13333 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13334 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13335 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13336 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13337
a76e63c5
AS
133382014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13339
13340 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13341
f2f6d82f
AS
133422014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13343
ea8a15f6
AS
13344 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13345 defined operator.
13346
f2f6d82f
AS
13347 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13348 $TIMEOUTFACTOR.
13349
a7291117
FW
133502014-06-16 Florian Weimer <fweimer@redhat.com>
13351
13352 [BZ #17058]
13353 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13354 non-executed part of the test.
13355
3d7c00e3
AS
133562014-06-16 Andreas Schwab <schwab@suse.de>
13357
13358 * string/bits/string2.h (strdup, strndup): Update feature guard.
13359
6957fb31
DM
133602014-06-14 David S. Miller <davem@davemloft.net>
13361
13362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13363
11b9e55b
AS
133642014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13365
1d2a0492
AS
13366 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13367 that was previously under [RESET_PID].
13368 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13369
11b9e55b
AS
13370 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13371 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13372 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13373 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13374 (__libc_vfork): New strong alias.
13375 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13376
0f6901d0
AK
133772014-06-14 Andi Kleen <ak@linux.intel.com>
13378
13379 * sysdeps/generic/elide.h: New file.
13380
38bbbb9f
SL
133812014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13382
13383 * Makefile (installed-headers): Adjust path of pthread.h header.
13384
45193bb8
RM
133852014-06-13 Roland McGrath <roland@hack.frob.com>
13386
9a25fd1e
RM
13387 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13388 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13390 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13391
4004f7e4
RM
13392 * nptl/sysdeps/s390/Makefile: Moved ...
13393 * sysdeps/s390/nptl/Makefile: ... here.
13394 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13395 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13396 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13397 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13398 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13399 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13400 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13401 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13402 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13403 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13404 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13405 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13406 * nptl/sysdeps/s390/tls.h: Moved ...
13407 * sysdeps/s390/nptl/tls.h: ... here.
13408
45193bb8
RM
13409 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13410 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13411
f6fdf533
DM
134122014-06-13 David S. Miller <davem@davemloft.net>
13413
13414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13417 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13422 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13423 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13424 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13425 Remove RESET_PID cpp guards.
13426 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13427 Remove RESET_PID cpp guards.
13428 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13429
f5d71e14
AS
134302014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13431
13432 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13433 __sp to uintptr_t.
13434
b7aa8caa
AK
134352014-06-13 Andi Kleen <ak@linux.intel.com>
13436
4b266200
AZ
13437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13439 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13440 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13444 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13446 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13450 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13455 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13456 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
13457
13458 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
13459 (pthread_rwlock_rdlock): Add elision.
13460 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13461 (pthread_rwlock_wrlock): Add elision.
13462 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13463 (pthread_rwlock_trywrlock): Add elision.
13464 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13465 (pthread_rwlock_tryrdlock): Add elision.
13466 * nptl/pthread_rwlock_unlock.c: Include elide.h.
13467 (pthread_rwlock_tryrdlock): Add elision unlock.
13468 * nptl/sysdeps/pthread/pthread.h:
13469 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13470 (PTHREAD_RWLOCK_INITIALIZER,
13471 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13472 Handle new elision field.
13473 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13474 * sysdeps/arm/nptl/bits/pthreadtypes.h
13475 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13476 * sysdeps/sh/nptl/bits/pthreadtypes.h
13477 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13478 * sysdeps/tile/nptl/bits/pthreadtypes.h
13479 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13480 * sysdeps/a/nptl/bits/pthreadtypes.h
13481 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13482 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13483 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13484 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13485 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13486 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13488 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13490 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13492 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13494 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13495 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13496 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13498 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13499 (elision_init): Set try_xbegin to zero when no RTM.
13500 * sysdeps/x86/nptl/bits/pthreadtypes.h
13501 (pthread_rwlock_t): Change __pad1 to __rwelision.
13502 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 13503
a832bdd3
AK
135042014-06-13 Andi Kleen <ak@linux.intel.com>
13505
13506 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13507 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13508 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13509 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13510
995a46bb
MI
135112014-06-13 Meador Inge <meadori@codesourcery.com>
13512
13513 [BZ #16996]
03ed7738 13514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
13515 that the cached result has been set before returning it.
13516
45262aee
RM
135172014-06-12 Roland McGrath <roland@hack.frob.com>
13518
febf6cc5
RM
13519 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13520 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13521 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13522 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13523 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13524 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13525
e2682246
RM
13526 * nptl/sysdeps/sparc/Makefile: Moved ...
13527 * sysdeps/sparc/nptl/Makefile: ... here.
13528 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13529 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13530 * nptl/sysdeps/sparc/tls.h: Moved ...
13531 * sysdeps/sparc/nptl/tls.h: ... here.
13532 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13533 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13534 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13535 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13536 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13537 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13538 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13539 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13540 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13541 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13542 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13543 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13544 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13545 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13546 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13547 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13548 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13550 Update #include.
13551 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13552 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13553 Update #include.
13554 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13556 Update #include.
13557 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13558 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13559 Update #include.
13560
b0725f43
RM
13561 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13562
b14368b8
RM
13563 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13564 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13565
c5620eb3
RM
13566 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13567 (struct list_links): Type removed.
13568 (struct thread_node, struct timer_node): Replace struct list_links
13569 with struct list_head.
13570 (list_unlink_ip): Likewise.
13571 * sysdeps/pthread/timer_routines.c
13572 (timer_free_list, thread_free_list, thread_active_list): Likewise.
13573 (list_append, list_insbefore): Likewise.
13574 (list_init): Function removed.
13575 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
13576 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13577 * sysdeps/pthread/Makefile: ... here, new file.
13578
13579 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13580 * sysdeps/nptl/Implies: ... here.
13581 * sysdeps/unix/sysv/linux/Implies: Add nptl.
13582 * nptl/sysdeps/pthread/list.h: Moved ...
13583 * include/list.h: ... here.
13584 * nptl/sysdeps/pthread/createthread.c: Moved ...
13585 * nptl/createthread.c: ... here.
13586 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13587 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13588 * nptl/pt-longjmp.c: ... here.
13589 * nptl/sysdeps/pthread/Makefile: Moved ...
13590 * sysdeps/nptl/Makefile: ... here.
13591 * nptl/sysdeps/pthread/Subdirs: Moved ...
13592 * sysdeps/nptl/Subdirs: ... here.
13593 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13594 * sysdeps/nptl/aio_misc.h: ... here.
13595 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13596 * sysdeps/nptl/bits/libc-lock.h: ... here.
13597 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13598 * sysdeps/nptl/bits/libc-lockP.h: ... here.
13599 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13600 * sysdeps/nptl/bits/stdio-lock.h: ... here.
13601 * nptl/sysdeps/pthread/configure: Moved ...
13602 * sysdeps/nptl/configure: ... here.
13603 * nptl/sysdeps/pthread/configure.ac: Moved ...
13604 * sysdeps/nptl/configure.ac: ... here.
13605 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13606 * sysdeps/nptl/gai_misc.h: ... here.
13607 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13608 * sysdeps/nptl/librt-cancellation.c: ... here.
13609 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13610 * sysdeps/nptl/malloc-machine.h: ... here.
13611 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13612 * sysdeps/nptl/pthread-functions.h: ... here.
13613 * nptl/sysdeps/pthread/pthread.h: Moved ...
13614 * sysdeps/nptl/pthread.h: ... here.
13615 * nptl/sysdeps/pthread/setxid.h: Moved ...
13616 * sysdeps/nptl/setxid.h: ... here.
13617 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13618 * sysdeps/nptl/sigfillset.c: ... here.
13619 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13620 * sysdeps/nptl/tcb-offsets.h: ... here.
13621 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13622 * sysdeps/nptl/tst-mqueue8x.c: ... here.
13623 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13624 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13625 * nptl/sysdeps/pthread/allocalim.h: Moved ...
13626 * sysdeps/pthread/allocalim.h: ... here.
13627 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13628 * sysdeps/pthread/bits/sigthread.h: ... here.
13629 * nptl/sysdeps/pthread/flockfile.c: Moved ...
13630 * sysdeps/pthread/flockfile.c: ... here.
13631 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13632 * sysdeps/pthread/ftrylockfile.c: ... here.
13633 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13634 * sysdeps/pthread/funlockfile.c: ... here.
13635 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13636 * sysdeps/pthread/posix-timer.h: ... here.
13637 * nptl/sysdeps/pthread/timer_create.c: Moved ...
13638 * sysdeps/pthread/timer_create.c: ... here.
13639 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13640 * sysdeps/pthread/timer_delete.c: ... here.
13641 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13642 * sysdeps/pthread/timer_getoverr.c: ... here.
13643 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13644 * sysdeps/pthread/timer_gettime.c: ... here.
13645 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13646 * sysdeps/pthread/timer_routines.c: ... here.
13647 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13648 * sysdeps/pthread/timer_settime.c: ... here.
13649 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13650 * sysdeps/pthread/tst-timer.c: ... here.
13651 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13652 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13653
e876b090
RM
13654 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13655 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13656
f6b07b3d
RM
13657 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13658 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13659 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13660 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13661 Update #include target.
13662 * nptl/sysdeps/i386/i686/Makefile: Moved ...
13663 * sysdeps/i386/i686/nptl/Makefile: ... here.
13664 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13665 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13666 Update #include target.
13667 * nptl/sysdeps/i386/i686/tls.h: Moved ...
13668 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
13669 * nptl/sysdeps/i386/Makefile: Moved ...
13670 * sysdeps/i386/nptl/Makefile: ... here.
13671 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13672 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13673 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13674 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13675 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13676 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13677 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13678 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13679 * sysdeps/i386/nptl/pthreaddef.h: ... here.
13680 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13681 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13682 * nptl/sysdeps/i386/tls.h: Moved ...
13683 * sysdeps/i386/nptl/tls.h: ... here.
13684
45262aee
RM
13685 * sysdeps/sh/Makefile [$(subdir) = csu]
13686 (gen-as-const-headers): Add tcb-offsets.sym.
13687 * nptl/sysdeps/sh/Makefile: File removed.
13688 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13689 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13690 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13691 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13692 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13693 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13694 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13695 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13696 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13697 * sysdeps/sh/nptl/pthreaddef.h: ... here.
13698 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13699 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13700 * nptl/sysdeps/sh/tls.h: Moved ...
13701 * sysdeps/sh/nptl/tls.h: ... here.
13702 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13703 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13704 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13705 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13706 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13707 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13708 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13709 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13710 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13711 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13712 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13713 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13714 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13715 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13716 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13717 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13719 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13720 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13721 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13722 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13723 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13724 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13725 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13726 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13727 Moved ...
13728 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13729 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13730 Moved ...
13731 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13732 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13733 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13734 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13735 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13736 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13737 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13738 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13739 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13740 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13741 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13742 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13743 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13744 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13745 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13746 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13747 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13748 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13749 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13750
35a5e3e3
SL
137512014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13752
13753 * posix/spawn_faction_addopen.c: Include string.h.
13754
14642b85
RM
137552014-06-11 Roland McGrath <roland@hack.frob.com>
13756
13757 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13758 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13759 * nptl/sysdeps/x86_64/Makefile: Moved ...
13760 * sysdeps/x86_64/nptl/Makefile: ... here.
13761 * nptl/sysdeps/x86_64/configure: Moved ...
13762 * sysdeps/x86_64/nptl/configure: ... here.
13763 * nptl/sysdeps/x86_64/configure.ac: Moved ...
13764 * sysdeps/x86_64/nptl/configure.ac: ... here.
13765 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13766 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13767 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13768 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13769 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13770 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13771 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13772 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13773 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13774 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13775 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13776 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13777 * nptl/sysdeps/x86_64/tls.h: Moved ...
13778 * sysdeps/x86_64/nptl/tls.h: ... here.
13779 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13780 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13781 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13782 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13783
13784 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13785
31c44fea
AZ
137862014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13787
13788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13789
e81a4f9a
JM
137902014-06-11 Joseph Myers <joseph@codesourcery.com>
13791
13792 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13793 type.
13794 [POSIX] (off_t): Likewise.
13795 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13796 [POSIX] (S_ISBLK): Require macro.
13797 [POSIX] (S_ISCHR): Likewise.
13798 [POSIX] (S_ISDIR): Likewise.
13799 [POSIX] (S_ISFIFO): Likewise.
13800 [POSIX] (S_ISREG): Likewise.
13801 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13802 optional-macro.
13803 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13804 type.
13805 [POSIX] (time_t): Likewise.
13806 [POSIX] (timer_t): Likewise.
13807
89e435f3
FW
138082014-06-11 Florian Weimer <fweimer@redhat.com>
13809
13810 [BZ #17048]
13811 * posix/spawn_int.h (struct __spawn_action): Make the path string
13812 non-const to support deallocation.
13813 * posix/spawn_faction_addopen.c
13814 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13815 * posix/spawn_faction_destroy.c
13816 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
13817 path in all spawn_do_open actions.
13818 * posix/tst-spawn.c (do_test): Exercise the copy operation in
13819 posix_spawn_file_actions_addopen.
13820
c3a2ebe1
CM
138212014-06-11 Chris Metcalf <cmetcalf@tilera.com>
13822
13823 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13824 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13825 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13826 conditional code always true.
13827 (__libc_vfork): New alias.
13828
9503784a
RM
138292014-06-11 Roland McGrath <roland@hack.frob.com>
13830
c9cab3d2
RM
13831 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13832 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13833
d3996c79
RM
13834 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13835
ba5ec611
RM
13836 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13837 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13838
f12b4814
RM
13839 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13840 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13841
9503784a
RM
13842 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13843 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13844
e23d3d26
VR
138452014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13846
13847 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13848 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13849 multiarch strcmp for PPC64.
13850 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13851 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13853 multiarch optimizations.
13854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13855 (__libc_ifunc_impl_list): Likewise.
13856
42b1161e
SP
138572014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13858
13859 * benchtests/scripts/validate_benchout.py: New script.
13860 * benchtests/Makefile (bench-func): Call it.
13861 * benchtests/scripts/benchout.schema.json: New file.
13862
2d0fc4dc
CM
138632014-06-10 Chris Metcalf <cmetcalf@tilera.com>
13864
4a594c34
AZ
13865 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13866 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13867 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13868 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13869 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13870 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13871 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13872 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13873 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13874 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13875 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13876 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13877 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13878 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13879 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13880 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 13882 Moved ...
4a594c34 13883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 13884 ... here.
4a594c34 13885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 13886 Moved ...
4a594c34
AZ
13887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 13889 Moved ...
4a594c34 13890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 13891 ... here.
4a594c34 13892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 13893 Moved ...
4a594c34 13894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 13895 ... here.
4a594c34 13896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 13897 Moved ...
4a594c34
AZ
13898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 13900 Moved ...
4a594c34 13901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 13902 ... here.
4a594c34 13903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 13904 Moved ...
4a594c34 13905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 13906 ... here.
4a594c34 13907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 13908 Moved ...
4a594c34
AZ
13909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 13911 Moved ...
4a594c34 13912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 13913 ... here.
4a594c34 13914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 13915 Moved ...
4a594c34 13916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 13917 ... here.
4a594c34 13918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 13919 Moved ...
4a594c34 13920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 13921 ... here.
4a594c34 13922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 13923 Moved ...
4a594c34
AZ
13924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 13926 Moved ...
4a594c34 13927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 13928 ... here.
4a594c34 13929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 13930 Moved ...
4a594c34 13931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 13932 ... here.
4a594c34 13933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 13934 Moved ...
4a594c34 13935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 13936 ... here.
4a594c34 13937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 13938 Moved ...
4a594c34
AZ
13939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 13941 Moved ...
4a594c34 13942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 13943 ... here.
4a594c34 13944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 13945 Moved ...
4a594c34 13946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 13947 ... here.
4a594c34 13948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 13949 Moved ...
4a594c34
AZ
13950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 13952 Moved ...
4a594c34 13953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 13954 ... here.
4a594c34 13955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 13956 Moved ...
4a594c34
AZ
13957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 13959 Moved ...
4a594c34
AZ
13960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 13962 Moved ...
4a594c34 13963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 13964 ... here.
4a594c34 13965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 13966 Moved ...
4a594c34 13967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 13968 ... here.
4a594c34 13969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 13970 Moved ...
4a594c34 13971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 13972 ... here.
4a594c34 13973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 13974 Moved ...
4a594c34
AZ
13975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 13977 Moved ...
4a594c34 13978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 13979 ... here.
4a594c34 13980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 13981 Moved ...
4a594c34 13982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 13983 ... here.
4a594c34
AZ
13984 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13985 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13986 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13987 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13988 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 13989 Moved ...
4a594c34 13990 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 13991 ... here.
4a594c34
AZ
13992 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13993 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13995 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13997 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 14005 Moved ...
4a594c34
AZ
14006 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 14008 Moved ...
4a594c34
AZ
14009 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14010 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14011 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14012 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 14013 Moved ...
4a594c34
AZ
14014 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14015 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14016 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14017 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14018 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14019 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14020 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 14021
0570cfed
W
140222014-06-10 Wilco <wdijkstr@arm.com>
14023
14024 * math/test-fenv-return.c: New file.
14025 * math/Makefile: Add new test test-fenv-return.
14026
f8ba1b56
JM
140272014-06-10 Joseph Myers <joseph@codesourcery.com>
14028
14029 [BZ #17042]
14030 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14031 when x - 1 is zero.
14032 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14033 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14034 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14035 0.0L for an argument of 1.0L.
14036 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14037 Likewise.
14038 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14039 value when x - 1 is zero.
14040 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14041 * sysdeps/i386/fpu/libm-test-ulps: Update.
14042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14043
2c3520d9
BO
140442014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14045
14046 [BZ #15119]
14047 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14048
acaa4d24
RM
140492014-06-09 Roland McGrath <roland@hack.frob.com>
14050
14051 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14052 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14053
962b744d
RM
140542014-06-09 Roland McGrath <roland@hack.frob.com>
14055
d752f0cc
RM
14056 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14057 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14058
34eda6d1
RM
14059 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14060 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14061
50f0a637
RM
14062 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14063 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14064
08f41f04
RM
14065 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14066 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14067
962b744d
RM
14068 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14069 if not already defined.
14070 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14071 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14072 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14073 (TLS_INIT_TP): Use it.
14074 (TLS_DEFINE_INIT_TP): New macro.
14075 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14076
09f19b05
JM
140772014-06-09 Joseph Myers <joseph@codesourcery.com>
14078
14079 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14080 constant.
14081 [POSIX] (IXANY): Likewise.
14082 [POSIX] (OLCUC): Likewise.
14083 [POSIX || POSIX2008] (CBAUD): Do not allow.
14084 [POSIX || POSIX2008] (DEFECHO): Likewise.
14085 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14086 [POSIX || POSIX2008] (ECHOKE): Likewise.
14087 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14088 [POSIX || POSIX2008] (EXTA): Likewise.
14089 [POSIX || POSIX2008] (EXTB): Likewise.
14090 [POSIX || POSIX2008] (FLUSHO): Likewise.
14091 [POSIX || POSIX2008] (LOBLK): Likewise.
14092 [POSIX || POSIX2008] (PENDIN): Likewise.
14093 [POSIX || POSIX2008] (SWTCH): Likewise.
14094 [POSIX || POSIX2008] (VDISCARD): Likewise.
14095 [POSIX || POSIX2008] (VDSUSP): Likewise.
14096 [POSIX || POSIX2008] (VLNEXT): Likewise.
14097 [POSIX || POSIX2008] (VREPRINT): Likewise.
14098 [POSIX || POSIX2008] (VSTATUS): Likewise.
14099 [POSIX || POSIX2008] (VWERASE): Likewise.
14100 (B*): Change to B[0123456789]*.
14101 * conform/data/time.h-data [POSIX || UNIX98]
14102 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14103 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14104 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14105 [POSIX] (tm_*): Do not allow.
14106
686554bf
JM
141072014-06-07 Joseph Myers <joseph@codesourcery.com>
14108
14109 * Makefile (install): Don't set LANGUAGE.
14110 * Makefile.in (install): Likewise.
14111 * assert/Makefile (test-assert-ENV): Remove variable.
14112 (test-assert-perr-ENV): Likewise.
14113 * elf/Makefile (neededtest4-ENV): Likewise.
14114 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14115 [$(cross-compiling) = no]: Don't set LANGUAGE.
14116 * io/ftwtest-sh (LANG): Remove variable.
14117 * libio/Makefile (tst-widetext-ENV): Likewise.
14118 * manual/install.texi (Running make install): Don't refer to
14119 environment settings for make install.
14120 * INSTALL: Regenerated.
14121 * nptl/tst-tls6.sh: Don't set LANG.
14122 * posix/globtest.sh (LANG): Remove variable.
14123 * string/Makefile (tester-ENV): Likewise.
14124 (inl-tester-ENV): Likewise.
14125 (noinl-tester-ENV): Likewise.
14126 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14127 [$(cross-compiling) = no]: Don't set LANGUAGE.
14128 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14129 without explicit environment settings.
14130
68e6b6b1
RM
141312014-06-06 Roland McGrath <roland@hack.frob.com>
14132
14133 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14134 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14135 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14136 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14137
4d3ae034
CM
141382014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14139
14140 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14141 other files in the crypt directory.
14142 * crypt/crypt.c: Remove duplicate includes.
14143 * crypt/crypt-entry.c: Likewise.
14144 * crypt/crypt_util.c: Likewise.
14145
8540f6d2
JM
141462014-06-06 Joseph Myers <joseph@codesourcery.com>
14147
14148 * Makeconfig (run-program-env): New variable.
14149 (run-program-prefix-before-env): Likewise.
14150 (run-program-prefix-after-env): Likewise.
14151 (run-program-prefix): Define in terms of new variables.
14152 (built-program-cmd-before-env): New variable.
14153 (built-program-cmd-after-env): Likewise.
14154 (built-program-cmd): Define in terms of new variables.
14155 (test-program-prefix-before-env): New variable.
14156 (test-program-prefix-after-env): Likewise.
14157 (test-program-prefix): Define in terms of new variables.
14158 (test-program-cmd-before-env): New variable.
14159 (test-program-cmd-after-env): Likewise.
14160 (test-program-cmd): Define in terms of new variables.
14161 * Rules (make-test-out): Use $(run-program-env).
14162 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14163 (help): Do not mention environment variables. Mention
14164 --timeoutfactor option.
14165 (timeoutfactor): New variable.
14166 (blacklist_exports): Remove function.
14167 (exports): Remove variable.
14168 (command): Do not include ${exports}.
14169 * manual/install.texi (Configuring and compiling): Do not mention
14170 test wrappers preserving environment variables. Mention that last
14171 assignment to a variable must take precedence.
14172 * INSTALL: Regenerated.
14173 * benchtests/Makefile (run-bench): Use $(run-program-env).
14174 * catgets/Makefile ($(objpfx)test1.cat): Use
14175 $(built-program-cmd-before-env), $(run-program-env) and
14176 $(built-program-cmd-after-env).
14177 ($(objpfx)test2.cat): Do not specify environment variables
14178 explicitly.
14179 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14180 $(run-program-env) and $(built-program-cmd-after-env).
14181 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14182 $(run-program-env) and $(test-program-cmd-after-env).
14183 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14184 explicitly.
14185 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14186 run_program_env and test_program_cmd_after_env arguments.
14187 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14188 * elf/tst-pathopt.sh: Use run_program_env argument.
14189 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14190 $(test-wrapper-env) and $(run-program-env).
14191 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14192 run_program_env arguments.
14193 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14194 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14195 $(test-program-prefix-before-env), $(run-program-env) and
14196 $(test-program-prefix-after-env).
14197 ($(objpfx)tst-gettext2.out): Likewise.
14198 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14199 run_program_env and test_program_prefix_after_env arguments.
14200 * intl/tst-gettext2.sh: Likewise.
14201 * intl/tst-gettext4.sh: Do not set environment variables
14202 explicitly.
14203 * intl/tst-gettext6.sh: Likewise.
14204 * intl/tst-translit.sh: Likewise.
14205 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14206 $(test-program-prefix-before-env), $(run-program-env) and
14207 $(test-program-prefix-after-env).
14208 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14209 run_program_env and test_program_prefix_after_env arguments.
14210 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14211 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14212 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14213 explicitly with each use of ${test_wrapper_env}.
14214 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14215 $(test-program-prefix-before-env), $(run-program-env) and
14216 $(test-program-prefix-after-env).
14217 * posix/tst-getconf.sh: Do not set environment variables
14218 explicitly.
14219 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14220 run_program_env and test_program_prefix_after_env arguments.
14221 * stdio-common/tst-printf.sh: Do not set environment variables
14222 explicitly.
14223 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14224 $(test-program-prefix-before-env), $(run-program-env) and
14225 $(test-program-prefix-after-env).
14226 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14227 run_program_env and test_program_prefix_after_env arguments.
14228 Split $test calls into $test_pre and $test.
14229 * timezone/Makefile (build-testdata): Use
14230 $(built-program-cmd-before-env), $(run-program-env) and
14231 $(built-program-cmd-after-env).
14232
ed36bfa1
AZ
142332014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14234
14235 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14236 strlen for non SHARED builds.
14237
fc75bf46
SP
142382014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14239
14240 * nptl/allocatestack.c (check_list): Inlined function...
14241 (__reclaim_stacks): ... here.
14242
d89b3d80
OB
142432014-06-05 Ondřej Bílka <neleai@seznam.cz>
14244
14245 [BZ #15698]
14246 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14247 memory overrun.
14248
2bf18041
JM
142492014-06-05 Joseph Myers <joseph@codesourcery.com>
14250
14251 * Rules (make-test-out): Include
14252 LOCPATH=$(common-objpfx)localedata in default environment.
14253 * debug/Makefile (tst-chk1-ENV): Remove variable.
14254 (tst-chk2-ENV): Likewise.
14255 (tst-chk3-ENV): Likewise.
14256 (tst-chk4-ENV): Likewise.
14257 (tst-chk5-ENV): Likewise.
14258 (tst-chk6-ENV): Likewise.
14259 (tst-lfschk1-ENV): Likewise.
14260 (tst-lfschk2-ENV): Likewise.
14261 (tst-lfschk3-ENV): Likewise.
14262 (tst-lfschk4-ENV): Likewise.
14263 (tst-lfschk5-ENV): Likewise.
14264 (tst-lfschk6-ENV): Likewise.
14265 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14266 (tst-iconv7-ENV): Likewise.
14267 * intl/Makefile (LOCPATH-ENV): Likewise.
14268 (tst-codeset-ENV): Likewise.
14269 (tst-gettext3-ENV): Likewise.
14270 (tst-gettext5-ENV): Likewise.
14271 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14272 (tst-fopenloc-ENV): Likewise.
14273 (tst-fgetws-ENV): Remove variable.
14274 (tst-ungetwc1-ENV): Likewise.
14275 (tst-ungetwc2-ENV): Likewise.
14276 (bug-ungetwc2-ENV): Likewise.
14277 (tst-swscanf-ENV): Likewise.
14278 (bug-ftell-ENV): Likewise.
14279 (tst-fgetwc-ENV): Likewise.
14280 (tst-fseek-ENV): Likewise.
14281 (tst-ftell-partial-wide-ENV): Likewise.
14282 (tst-ftell-active-handler-ENV): Likewise.
14283 (tst-ftell-append-ENV): Likewise.
14284 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14285 (tst-regexloc-ENV): Likewise.
14286 (bug-regex1-ENV): Likewise.
14287 (tst-regex-ENV): Likewise.
14288 (tst-regex2-ENV): Likewise.
14289 (bug-regex5-ENV): Likewise.
14290 (bug-regex6-ENV): Likewise.
14291 (bug-regex17-ENV): Likewise.
14292 (bug-regex18-ENV): Likewise.
14293 (bug-regex19-ENV): Likewise.
14294 (bug-regex20-ENV): Likewise.
14295 (bug-regex22-ENV): Likewise.
14296 (bug-regex23-ENV): Likewise.
14297 (bug-regex25-ENV): Likewise.
14298 (bug-regex26-ENV): Likewise.
14299 (bug-regex30-ENV): Likewise.
14300 (bug-regex32-ENV): Likewise.
14301 (bug-regex33-ENV): Likewise.
14302 (bug-regex34-ENV): Likewise.
14303 (bug-regex35-ENV): Likewise.
14304 (tst-rxspencer-ENV): Likewise.
14305 (tst-rxspencer-no-utf8-ENV): Likewise.
14306 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14307 (tst-sscanf-ENV): Likewise.
14308 (tst-swprintf-ENV): Likewise.
14309 (tst-swscanf-ENV): Likewise.
14310 (test-vfprintf-ENV): Likewise.
14311 (scanf13-ENV): Likewise.
14312 (bug14-ENV): Likewise.
14313 (tst-grouping-ENV): Likewise.
14314 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14315 (tst-strtod3-ENV): Likewise.
14316 (tst-strtod4-ENV): Likewise.
14317 (tst-strtod5-ENV): Likewise.
14318 (testmb2-ENV): Likewise./
14319 * string/Makefile (tst-strxfrm-ENV): Likewise.
14320 (tst-strxfrm2-ENV): Likewise.
14321 (bug-strcoll1-ENV): Likewise.
14322 (test-strcasecmp-ENV): Likewise.
14323 (test-strncasecmp-ENV): Likewise.
14324 * time/Makefile (tst-strptime-ENV): Likewise.
14325 (tst-ftime_l-ENV): Likewise.
14326 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14327 (tst-mbrtowc-ENV): Likewise.
14328 (tst-wcrtomb-ENV): Likewise.
14329 (tst-mbrtowc2-ENV): Likewise.
14330 (tst-c16c32-1-ENV): Likewise.
14331 (tst-mbsnrtowcs-ENV): Likewise.
14332
cd1fb604
OB
143332014-06-05 Ondřej Bílka <neleai@seznam.cz>
14334
14335 * manual/resource.texi (How to get information about the memory
14336 subsystem?): Fix typo.
14337 Reported by Peon de la Parra Ivan <peon@keba.com>
14338
b42eca7d
GY
143392014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14340
14341 [BZ #16882]
14342 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14343 (pthread_spin_lock): Branch out of spin loop to proper location.
14344 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14345 (pthread_spin_lock): Likewise.
14346
902b71f9
DM
14347 * nptl/tst-spin4.c: New test.
14348 * nptl/Makefile (tests): Add tst-spin4.
14349
f9d2d032
AS
143502014-06-03 Andreas Schwab <schwab@suse.de>
14351
14352 [BZ #15946]
14353 * resolv/res_send.c (send_dg): Reload file descriptor after
14354 calling reopen.
14355
cf7bfd28
SL
143562014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14357
14358 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14359
111cc714
RH
143602014-06-03 Richard Henderson <rth@redhat.com>
14361
89b4bd6b
RH
14362 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14363 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14364 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14365 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14366 in the SAVE_PID block.
14367 (__libc_vfork): New alias.
71840409 14368 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 14369
111cc714
RH
14370 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14371 child in registers, not on the stack. Remove RESET_PID conditionals.
14372 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14373
ccc39911
MS
143742014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14375
14376 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14377
693096cc
W
143782014-06-03 Wilco <wdijkstr@arm.com>
14379
14380 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14381 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14382 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14383 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14384 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14385 Likewise.
14386
0b4366bc
W
143872014-06-03 Wilco <wdijkstr@arm.com>
14388
14389 * sysdeps/aarch64/fpu/math_private.h
14390 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14391 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14392 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14393 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14394 Fix declarations.
14395
8747cd03
KS
143962014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14397
14398 * crypt/crypt-private.h: Include ufc-crypt.h.
14399 (__b64_from_24bit): Declare extern.
14400 * crypt/crypt_util.c(__b64_from_24bit): New function.
14401 (b64t): New static const variable.
14402 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14403 (b64t): Remove variable.
14404 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14405 * crypt/sha256-crypt.c: Include crypt-private.h.
14406 (b64t): Remove variable.
14407 (__sha256_crypt_r): Remove b64_from_24bit and replace
14408 with __b64_from_24bit.
14409 * crypt/sha512-crypt.c: Likewise.
14410
d936d379
RM
144112014-06-02 Roland McGrath <roland@hack.frob.com>
14412
14413 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14414 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14415 Label the code __libc_vfork rather than __vfork.
14416 [!NOT_IN_libc] (vfork): Define as weak alias.
14417 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14418 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14419 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14420
9fa76613
SP
144212014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14422
14423 * malloc/malloc.c (malloc_info): Fix format specifier for
14424 n_mmaps.
14425
a88dadbe
W
144262014-06-02 Wilco <wdijkstr@arm.com>
14427
14428 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14429 FPCR write.
14430
c95b3011
W
144312014-06-02 Wilco <wdijkstr@arm.com>
14432
14433 [BZ #17009]
14434 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14435 Rewrite to reduce FPCR/FPSR accesses.
14436
6b4d7a90
DM
144372014-06-01 David S. Miller <davem@davemloft.net>
14438
14439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14440
30f3d07c
DM
144412014-05-31 David S. Miller <davem@davemloft.net>
14442
14443 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14444 to occur in round to nearest mode when |x| >= 2.0
14445
74f31c18
RH
144462014-05-30 Richard Henderson <rth@twiddle.net>
14447
f0712b54
RH
14448 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14449 (PSEUDO_RET_NOERRNO): Remove.
14450 (ret): Don't redefine.
14451 (ret_NOERRNO): Define in terms of ret.
14452 (ret_ERRVAL): Likewise.
14453
74f31c18
RH
14454 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14455 use of PSEUDO_RET; perform the error check directly.
14456
30477995
MM
144572014-05-30 Marko Myllynen <myllynen@redhat.com>
14458
14459 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14460 with __int128_t.
14461
62a58816
SP
144622014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14463
14464 * malloc/malloc (malloc_info): Fix formatting.
14465
4d653a59
SP
144662014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14467 Roland McGrath <roland@hack.frob.com>
14468
14469 * malloc/malloc (malloc_info): Also print mmapped statistics.
14470
5190c17f
RM
144712014-05-30 Roland McGrath <roland@hack.frob.com>
14472
14473 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14474 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14475
987c0269
OB
144762014-05-30 Ondřej Bílka <neleai@seznam.cz>
14477
14478 * malloc/malloc.c (malloc_info): Inline mi_arena.
14479
af4e8ef9
RH
144802014-05-29 Richard Henderson <rth@twiddle.net>
14481
1670e207
RH
14482 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14483 Remove comma before expanding ASM_ARGS_##nr.
14484 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14485 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14486 of ASM_ARGS_##nr.
14487 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14488 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14489 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14490 (ASM_ARGS_1): Add leading comma.
14491
11a28aee
RH
14492 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14493 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14494 to __errno_location.
14495 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14496 Remove the expected plt for __errno_location.
14497
a17e5ffb 14498 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 14499 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
14500 call to __read_tp.
14501
b5be4597
RH
14502 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14503 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14504 it and break it down.
14505 (DOCARGS_0, DOCARGS_1): Do nothing.
14506 (DOCARGS_2): Update to store into the new stack frame.
14507 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14508 (UNDOCARGS_1): Update to restore from the new stack frame.
14509 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14510 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14511
645d44ab
RH
14512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14513 (SINGLE_THREAD_P): New parameter for result regno.
14514 (PSEUDO): Update to match; use cbz instead of beq.
14515
a8b4f04a
RH
14516 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14517 Use ENTRY to define the _nocancel entry point. Share the syscall
14518 and syscall error check paths with the cancel path.
14519 (PSEUDO_END): New.
14520
af4e8ef9
RH
14521 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14522 whitespace; tabs before and after asm mnemonics.
14523
26b0d2e1
EW
145242014-05-29 Eric Wong <normalperson@yhbt.net>
14525
14526 [BZ #15132]
14527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14528 Call fstat64 or stat64 internally, depending on arguments passed.
14529 Replace stat buffer argument with file descriptor argument.
14530 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14531 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14532 Pass fd to __internal_statvfs instead of calling fstat64.
14533 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14534 Pass fd to __internal_statvfs64 instead of calling fstat64.
14535 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14536 Pass -1 to __internal_statvfs instead of calling stat64.
14537 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14538 Pass -1 to __internal_statvfs64 instead of calling stat64.
14539
1efe2bd9
RM
145402014-05-28 Roland McGrath <roland@hack.frob.com>
14541
0d3b7a19
RM
14542 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14543 that was previously under [RESET_PID].
14544 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14545
1efe2bd9
RM
14546 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14547 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14548
a6bea3ca
RM
145492014-05-27 Roland McGrath <roland@hack.frob.com>
14550
30b6629e
RM
14551 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14552
a6bea3ca
RM
14553 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14554 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14555
3dfb9a5c
OB
145562014-05-27 Ondřej Bílka <neleai@seznam.cz>
14557
14558 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14559
774f9285
AS
145602014-05-27 Andreas Schwab <schwab@suse.de>
14561
14562 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14563 TLS_INIT_TP macro.
14564 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14565 * elf/rtld.c (init_tls, dl_main): Likewise.
14566 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14567 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14568 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14569 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14570 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14571 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14572 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14573 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14574 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14575 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14576 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14577 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14578 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14579 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14580 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14581 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14582 * sysdeps/generic/tls.h: Update description.
14583
36ffe739
WN
145842014-05-27 Will Newton <will.newton@linaro.org>
14585
14586 [BZ #16990]
14587 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14588 and restore r2 rather than just restoring.
14589
2482ae43
SP
145902014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14591
14592 [BZ #16724]
14593 * libio/tst-ftell-append.c: New test case.
14594 * libio/Makefile (tests): Add test case.
14595 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14596 append mode.
14597 * libio/wfileops.c (do_ftell_wide): Likewise.
14598
3d1024e8
AZ
145992014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14600
bab90016
AZ
14601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14602
c7a8d667
AZ
14603 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14604 ...
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14607 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14608 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14609 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14610 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14611 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14612 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14614 Moved ...
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14617 Moved ...
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14619 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14620 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14621 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14622 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14623 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14624 ...
14625 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14626 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14627 Moved ...
14628 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14629 here.
14630 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14631 ...
14632 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14633 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14634 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14635
daee7851
AZ
14636 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14637 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14638 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14639 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14640
50a40819
AZ
14641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14642 merge into ...
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14645 ...
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14648 ...
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14651 Moved ...
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14653 here.
14654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14655 Moved ...
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14657 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14658 Moved ...
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14660
8464c2a1
AZ
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14662 conditional [RESET_PID].
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14665 removed.
14666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14667 removed.
14668
3d1024e8
AZ
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14670 <tcb-offsets.h>.
14671 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14672 (__libc_vfork): New strong alias.
14673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14674 removed.
14675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14676 Removed.
14677
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14679 <tcb-offsets.h>.
14680 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14681 (__libc_vfork): New strong alias.
14682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14683 removed.
14684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14685 removed.
14686
fdfd175d
CD
146872014-05-26 Carlos O'Donell <carlos@redhat.com>
14688
14689 * malloc/malloc.c (mi_arena): New function.
14690 (malloc_info): Remove nested function mi_arena. Call non-nosted
14691 function mi_arena.
14692
d298c416
AZ
146932014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14694
14695 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14696 by insrwi.
14697 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14698 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14699 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14700 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14701 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14702 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14703 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14704
b60ea6ff
AS
147052014-05-26 Andreas Schwab <schwab@suse.de>
14706
14707 [BZ #16984]
14708 * locale/programs/repertoire.c (repertoire_read): Add slash
14709 between I18NPATH element and file name.
14710 * locale/programs/locfile.c (locfile_read): Likewise.
14711
67365926
SL
147122014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14713
14714 * nptl/pthread_mutexattr_settype.c
14715 (__pthread_mutexattr_settype):
14716 Disable lock elision for PTHREAD_MUTEX_NORMAL.
14717
f8bdf1f0
SL
147182014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14719
14720 * nptl/tst-mutex5 (do_test):
14721 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14722
15eaf6ff
SP
147232014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14724
14725 * benchtests/README: Document 'init' directive.
14726 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14727 BENCH_INIT.
14728 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14729 (parse_file): Recognize 'init' directive.
14730
75f11331
KM
147312014-05-26 Kyle McMartin <kyle@redhat.com>
14732
14733 [BZ #16796]
14734 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14735 alignment of struct pthread.
14736
c3ec475c
SP
147372014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14738
14739 [BZ #16878]
14740 * nscd/netgroupcache.c (addgetnetgrentX): Look for
14741 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14742 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14743 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14744
82aab97c
RH
147452014-05-25 Richard Henderson <rth@twiddle.net>
14746
aa2f176d
RH
14747 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14748 (SINGLE_THREAD_P_PIC): Remove.
14749 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14750 (SINGLE_THREAD_P_PIC): Remove.
14751
ca3cfa40
RH
14752 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14753 branch to syscall error ...
14754 (PSEUDO): ... here.
14755 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14756 from __local_syscall_error to .Lsyscall_error.
14757 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14758 (SYSCALL_ERROR): Update label name.
14759
6e6c2d01
RH
14760 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14761 Do not use DOARGS/UNDOARGS.
14762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14763 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14764 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14765 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14766 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14767
c69abcee
RH
14768 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14769 block comment.
14770
82aab97c
RH
14771 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14772 define if !NOT_IN_libc.
14773 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14774 define with non-default symbol versions.
14775
8820e3ac
RH
147762014-05-23 Richard Henderson <rth@twiddle.net>
14777
900e445f
RH
14778 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14779 (vfork, __vfork): Define via compat_symbol.
14780
8820e3ac
RH
14781 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14782 [!HAVE_IFUNC] (vfork_compat): Remove.
14783 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14784
e59252a5
JM
147852014-05-23 Joseph Myers <joseph@codesourcery.com>
14786
14787 [BZ #16978]
14788 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14789 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14790 variable.
14791
132c7f5f
RH
147922014-05-23 Richard Henderson <rth@twiddle.net>
14793
bc89e962
RH
14794 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14795 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14796 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14797 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14798
14799 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14800 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14801 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14802 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14803 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14804 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14805 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14806 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14807 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14808 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14809 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14810 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14811 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14812 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14813 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14814 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14815 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14816 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14817 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14818 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14819 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14820 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14821 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14822 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14823 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14824 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14825 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14826 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14827 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14828 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14829 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14830 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14831 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14832 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14833 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14834 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14835 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14836 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14837 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14838 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14839 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14840 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14841 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14842 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14843 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14844 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14845 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14846 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14847 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14848 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14850 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14851 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14852 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14853 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14854 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14855
e2fa4bc2
RH
14856 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14857 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14858 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
14859 before exiting on error.
14860 (__libc_vfork): New strong alias.
14861 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14862 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14863
279b24e2
RH
14864 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14865 that was previously under [RESET_PID].
14866 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14867
132c7f5f
RH
14868 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14869
b72592e7
JM
148702014-05-23 Joseph Myers <joseph@codesourcery.com>
14871
14872 [BZ #16977]
14873 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14874 value when x - 1 is zero.
14875 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14876 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14877 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14878 0.0L for an argument of 1.0L.
14879 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14880 Likewise.
14881 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14882 value when x - 1 is zero.
14883 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14884 * sysdeps/i386/fpu/libm-test-ulps: Update.
14885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14886
2302d679
RV
148872014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14888
14889 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14890 alphasort and versionsort.
14891
32999d63
AZ
148922014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893
14894 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14895 macro.
14896 [copysignf]: Likewise.
14897
019324d0
SP
148982014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14899
14900 * crypt/md5-crypt.c: Fix formatting.
14901
34fff5c2
KS
149022014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14903
14904 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14905 (b64_from_24bit): New function.
14906
3d2badac
AZ
149072014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14908
14909 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14910 libc_hidden_builtin_def to ifunc.
14911 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14912 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14913
f7bb179f 149142014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
14915
14916 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14917 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14918
4134b50d
JM
149192014-05-21 Joseph Myers <joseph@codesourcery.com>
14920
bb7d0337
JM
14921 * nscd/Depend (linuxthreads): Remove.
14922 (nptl): Add.
14923 * resolv/Depend (linuxthreads): Remove.
14924 * rt/Depend (linuxthreads): Remove.
14925
4134b50d
JM
14926 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14927 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14928 $(common-objpfx)elf/.
14929 (link-libc-before-gnulib): Likewise.
14930 (elfobjdir): Remove variable.
14931 * Makefile (install): Use $(elf-objpfx) instead of
14932 $(common-objpfx)elf/.
14933 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14934 $(elfobjdir)/.
14935 (link-libc-deps): Likewise.
14936 ($(common-objpfx)libc.so): Likewise.
14937 ($(common-objpfx)linkobj/libc.so): Likewise.
14938 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14939 instead of $(common-objpfx)elf/.
14940 (symbolic-link-list): Likewise.
14941 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14942 [$(cross-compiling) = no]: Likewise.
14943 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14944 $(elfobjdir)/.
14945 (static-gnulib-arch): Likewise.
14946 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14947 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14948 $(common-objpfx)elf/.
14949
3612eb8f
RH
149502014-05-21 Richard Henderson <rth@redhat.com>
14951
a6b3657b
RH
14952 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14953 (SINGLE_THREAD_P): Use the correct width load. Fold
14954 into the ldr offset.
14955
3612eb8f
RH
14956 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14957 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14958
175cef41
JM
149592014-05-20 Joseph Myers <joseph@codesourcery.com>
14960
14961 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14962 (libgcc_s_resume): Use __attribute_used__.
14963 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14964 Likewise.
14965
e13bccd3
AZ
149662014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14967
14968 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14969 optimization when used with float constants.
14970
7c112a38
AZ
14971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14972
ae75a883
AJ
149732014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14974
14975 [BZ #16915]
14976 * locale/nl_langinfo_l.c: Make direct reference to every
14977 _nl_current_CATEGORY symbol.
14978 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14979 (tests-static): Add tst-langinfo-static.
14980 (tests-special): Add tst-langinfo-static.out.
14981 ($(objpfx)tst-langinfo.out): Redirect output.
14982 ($(objpfx)tst-langinfo-static.out): New.
14983 * localedata/tst-langinfo.sh: Send output to stdout.
14984 * localedata/tst-langinfo-static.c: New file.
14985
4406c41c
AJ
14986 [BZ #16965]
14987 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14988 when the shift amount is modulo the limb size.
14989
4c0a1e63
RH
149902014-05-20 Richard Henderson <rth@redhat.com>
14991
de9d8f20
RH
14992 [BZ #16967]
14993 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14994 Change type of sa_flags from unsigned int to int.
14995
4c0a1e63
RH
14996 [BZ #16966]
14997 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
14998
14999 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15000
a60339aa
WN
150012014-05-20 Will Newton <will.newton@linaro.org>
15002
15003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15004 Test the return value of the system call in the nocancel case.
15005
7d05a816
YR
150062014-05-20 Will Newton <will.newton@linaro.org>
15007 Yvan Roux <yvan.roux@linaro.org>
15008
15009 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15010 #include of asm/ptrace.h.
15011 (PTRACE_GET_THREAD_AREA): Remove #undef.
15012 (PTRACE_GETHBPREGS): Likewise.
15013 (PTRACE_SETHBPREGS): Likewise.
15014 (struct user_regs_struct): New structure.
15015 (struct user_fpsimd_struct): New structure.
15016 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15017 #include of asm/ptrace.h and second #include of sys/user.h.
15018 (PTRACE_GET_THREAD_AREA): Remove #undef.
15019 (PTRACE_GETHBPREGS): Likewise.
15020 (PTRACE_SETHBPREGS): Likewise.
15021 (ELF_NGREG): Use new struct user_regs_struct.
15022 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15023
af121e37
AZ
150242014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15025
15026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15028
834caf06
JM
150292014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15030
15031 [BZ #16958]
15032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15033 membar to avoid block loads/stores to overlap previous stores.
15034
e184a918
RH
150352014-05-17 Richard Henderson <rth@redhat.com>
15036
15037 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15038 Create the __##syscall_name##_nocancel entry point.
15039 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15040 Remove; let the sysdep-cancel.h code create it.
15041
f56c7a6a
DM
150422014-05-17 David S. Miller <davem@davemloft.net>
15043
15044 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15045 Protect with __USE_GNU.
15046 (TIOCSET_TEMPT): Likewise.
15047 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15048 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15049 these are already provided in bits/ioctl-types.h
15050
f75616b2
RM
150512014-05-16 Roland McGrath <roland@hack.frob.com>
15052
3edeca86
RM
15053 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15054 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15055
f75616b2
RM
15056 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15057 Use wait4 regardless of [__NR_waitpid].
15058
deb0f7f6
MR
150592014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15060
15061 PR libgcc/60166
15062 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15063 (_FP_NANSIGN_Q): Set the quiet bit.
15064
79520f4b
JM
150652014-05-16 Joseph Myers <joseph@codesourcery.com>
15066
15067 * benchtests/Makefile
15068 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15069 not $(common-objpfx)math/libm.so.
15070 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15071 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15072 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15073 $(common-objpfx)dlfcn/libdl.so.
15074 ($(objpfx)tst-audit8): Depend on $(libm), not
15075 $(common-objpfx)math/libm.so.
15076 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15077 not $(common-objpfx)dlfcn/libdl.so.
15078 * math/Makefile
15079 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15080 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15081 [$(build-shared) = yes].
15082 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15083 $(common-objpfx)nptl/libpthread.so.
15084 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15085 $(common-objpfx)math/libm.so$(libm.so-version) or
15086 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15087 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15088 $(common-objpfx)dlfcn/libdl.so.
15089 * setjmp/Makefile (link-libm): Remove variable.
15090 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15091 * stdio-common/Makefile (link-libm): Remove variable.
15092 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15093 * stdlib/Makefile (link-libm): Remove variable.
15094 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15095 ($(objpfx)tst-strtod-round): Likewise.
15096 ($(objpfx)tst-tininess): Likewise.
15097 ($(objpfx)tst-strtod-underflow): Likewise.
15098 ($(objpfx)tst-strtod6): Likewise.
15099 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15100 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15101 $(common-objpfx)dlfcn/libdl.so.
15102
026b0fe4
AZ
151032014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15104
15105 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15106 BSD terminal modes definitions.
15107
def4bcb2
RM
151082014-05-16 Roland McGrath <roland@hack.frob.com>
15109
fe39b021
RM
15110 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15111 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15112
1d1fc46e 15113 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
15114 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15115 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15116 Don't do #include_next.
15117 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15118 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15119 Don't do #include_next.
15120 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15121 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15122 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15123 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15124
c72399fb
AM
151252014-05-16 Allan McRae <allan@archlinux.org>
15126
d51d659d
AM
15127 * po/sv.po: Update Swedish translation from translation project.
15128
c72399fb
AM
15129 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15130 in sed expression.
15131
d0583c40
AJ
151322014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15133
15134 [BZ #16917]
15135 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15136 errno if the TIOCGPTN ioctl fails with an error different than
15137 EINVAL.
15138 * login/tst-ptsname.c: New file.
15139 * login/Makefile (tests): Add tst-ptsname.
15140
d16e6ec7
AJ
15141 [BZ #16943]
15142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15143 and prlimit64.
15144
cf26a0cb
SP
151452014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15146
15147 [BZ #16849]
15148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15149 herrno to return EAI_AGAIN.
15150
5675da1e
RM
151512014-05-14 Roland McGrath <roland@hack.frob.com>
15152
a5d87b3d
RM
15153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15154 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15155 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15156 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15157 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15158 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15159 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15160 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15161 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15162 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15163 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15164 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15165 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15166 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15167 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15168 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15169 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15170 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15171 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15172 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15173 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15174 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15175 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15176 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15177 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15178 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15179 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15180 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15181 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15182 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15184 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15186 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15188 Moved ...
15189 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15191 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15193 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15195 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15197 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15199 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15201 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15203 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15205 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15207 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15209 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15211 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15213 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15215 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15217 Moved ...
15218 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15220 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15222 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15224 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15226 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15228 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15230 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15232 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15234 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15236 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15238 Moved ...
15239 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15241 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15242
039890a6
RM
15243 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15244 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15245 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15246 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15247 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15248 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15249 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15250 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15251 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15252 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15253 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15254 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15255 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15256 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15257 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15258 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15259 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15260 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15261 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15262 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15263 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15264 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15265 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15266 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15267 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15268 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15269 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15270 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15271 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15272 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15273 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15274
65c89320
RM
15275 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15276 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15277
348f8e8c
RM
15278 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15279 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15280 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15281 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15282 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15284 Moved ...
15285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15286 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15287 Moved ...
15288 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15290 Moved ...
15291 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15292 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15293 Moved ...
15294 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15295 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15296 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15297 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15298 Moved ...
15299 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15300 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15301 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15302 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15303 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15304 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15305 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15306 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15307 Moved ...
15308 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15309 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15310 Moved ...
15311 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15312 ... here.
15313 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15314 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15315 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15316 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15318 Moved ...
15319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15320 ... here.
15321 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15322 Moved ...
15323 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15324 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15325 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15326 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15327 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15329 Moved ...
15330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15331 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15332 Moved ...
15333 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15335 Moved ...
15336 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15337 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15338 Moved ...
15339 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15340 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15341 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15342 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15343 Moved ...
15344 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15345 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15346 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15347 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15348 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15349 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15350 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15351 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15352 Moved ...
15353 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15354 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15355 Moved ...
15356 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15357 ... here.
15358 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15359 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15360 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15361 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15363 Moved ...
15364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15365 ... here.
15366 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15367 Moved ...
15368 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15369 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15370 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15371 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15372 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15373 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15374 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15375 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15376 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15378 Moved ...
15379 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15380 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15381 Moved ...
15382 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15384 Moved ...
15385 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15386 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15387 Moved ...
15388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15389 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15390 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15391 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15392 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15394 Moved ...
15395 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15396 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15397 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15398 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15399 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15400 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15401 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15403 Moved ...
15404 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15405 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15406 Moved ...
15407 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15408 ... here.
15409 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15410 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15411 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15412 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15414 Moved ...
15415 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15416 ... here.
15417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15418 Moved ...
15419 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15420 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15421 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15422 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15423 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15424 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15425 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15426 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15427 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15428 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15429 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15430
5085af05
RM
15431 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15432 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15433
708f0813
RM
15434 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15435 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15436
c96067bc
RM
15437 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15438 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15439 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15440 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15441 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15442 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15443 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15444 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15445 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15446 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15447 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15448 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15449 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15450 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15451 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15453 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15455 Moved ...
15456 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15458 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15460 Moved ...
15461 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15462 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15463 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15465 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15467 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15469 Moved ...
15470 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15472 Moved ...
15473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15475 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15476 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15477 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15478 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15479 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15480 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15481 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15482 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15483 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15484 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15485 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15486 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15487 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15488 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15489 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15490
ec136444
RM
15491 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15492 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15493 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15494 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15495 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15496
2fbdf533
RM
15497 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15498 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15499 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15500 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15501 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15502 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15503 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15504 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15505 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15506 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15507
4c68138b
RM
15508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15510
4eaae765
RM
15511 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15512 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
15513 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15514 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15515 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15516 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15517 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15518 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15519 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15520 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15521 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15522 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15523 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15524 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15526 Update #include.
15527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15528 Likewise.
15529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15530 Likewise.
15531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15532 Likewise.
15533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15534 Likewise.
15535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15536 Likewise.
15537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15538 Likewise.
15539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15540 Likewise.
15541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15542 Likewise.
15543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15544 Likewise.
4ef6befa
RM
15545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15548 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
15550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15553 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15554 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15557 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15558 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15559 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 15560
941d7dfd
RM
15561 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15562 that was previously under [RESET_PID].
15563 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15564 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15565 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15566
1b731c35
RM
15567 * sysdeps/i386/nptl/Implies: New file.
15568 * sysdeps/x86_64/nptl/Implies: New file.
15569 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15570 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15571 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15572 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15573
e2787137
RM
15574 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15575 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15576 (__libc_vfork): New strong alias.
15577 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15578 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15579
15580 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15581 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15582 (__libc_vfork): New strong alias.
15583 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15584 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15585
5675da1e
RM
15586 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15587 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15588 (__libc_vfork): New strong alias.
15589 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15590 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15591 * nptl/pt-vfork.c: New file.
15592 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15593 (libpthread: GLIBC_2.20): New version set (empty).
15594
4f02e2b8
WN
155952014-05-14 Will Newton <will.newton@linaro.org>
15596
15597 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15598 rather than #if.
15599
0bf061d3
JM
156002014-05-14 Joseph Myers <joseph@codesourcery.com>
15601
1a84c3d6
JM
15602 [BZ #16564]
15603 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15604 arguments with exponent 65 or above.
15605 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15606 arguments 0x1p113L or above.
15607 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15608 to arguments 0x1p107L or above.
15609 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15610 positive arguments with exponent 65 or above.
15611 * math/auto-libm-test-in: Add more tests of log1p.
15612 * math/auto-libm-test-out: Regenerated.
15613
01dbacd2
JM
15614 [BZ #16928]
15615 * math/s_cacos.c (__cacos): Ensure zero real part of result from
15616 non-finite arguments is +0.
15617 * math/s_cacosf.c (__cacosf): Likewise.
15618 * math/s_cacosl.c (__cacosl): Likewise.
15619 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15620 * sysdeps/i386/fpu/libm-test-ulps: Update.
15621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15622
913d03c8
JM
15623 [BZ #16927]
15624 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15625 value.
15626 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15627 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15628 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15629 for explicit high bit of mantissa when testing for argument equal
15630 to 1.
15631 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15632 * sysdeps/i386/fpu/libm-test-ulps: Update.
15633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15634
0bf061d3
JM
15635 [BZ #16516]
15636 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15637 (__erf): Scale by 16 instead of 8 in potentially underflowing
15638 case. Ensure exception if result actually underflows.
15639 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15640 (__erff): Scale by 16 instead of 8 in potentially underflowing
15641 case. Ensure exception if result actually underflows.
15642 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15643 (efx8): Remove variable.
15644 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15645 case. Ensure exception if result actually underflows.
15646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15647 (efx8): Remove variable.
15648 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15649 case. Ensure exception if result actually underflows.
15650 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15651 (efx8): Remove variable.
15652 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15653 case. Ensure exception if result actually underflows.
15654 * math/auto-libm-test-in: Add more tests of erf.
15655 * math/auto-libm-test-out: Regenerated.
15656
73ba67cb
AS
156572014-05-14 Andreas Schwab <schwab@suse.de>
15658
3d8c8bff
AS
15659 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15660 Remove code conditionalized on USE___THREAD.
15661
73ba67cb
AS
15662 * config.h.in (HAVE_PT_CHOWN): Define as 0.
15663 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15664 not definedness.
15665
5c521ecd
JM
156662014-05-14 Joseph Myers <joseph@codesourcery.com>
15667
5e7698c6
JM
15668 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15669 Define unconditionally.
15670 (__ASSUME_O_CLOEXEC): Likewise.
15671 (__ASSUME_SOCK_CLOEXEC): Likewise.
15672 (__ASSUME_IN_NONBLOCK): Likewise.
15673 (__ASSUME_PIPE2): Likewise.
15674 (__ASSUME_EVENTFD2): Likewise.
15675 (__ASSUME_SIGNALFD4): Likewise.
15676 (__ASSUME_DUP3): Likewise.
15677 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15678 (__ASSUME_DUP3): Do not define.
15679 (__ASSUME_EVENTFD2): Likewise.
15680 (__ASSUME_IN_NONBLOCK): Likewise.
15681 (__ASSUME_O_CLOEXEC): Likewise.
15682 (__ASSUME_PIPE2): Likewise.
15683 (__ASSUME_SIGNALFD4): Likewise.
15684 (__ASSUME_SOCK_CLOEXEC): Likewise.
15685 (__ASSUME_UTIMES): Undefine.
15686 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15687 (__ASSUME_UTIMES): Do not define.
15688 (__ASSUME_O_CLOEXEC): Likewise.
15689 (__ASSUME_SOCK_CLOEXEC): Likewise.
15690 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15691 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15692 0x020621].
15693 (__ASSUME_PIPE2): Likewise.
15694 (__ASSUME_EVENTFD2): Likewise.
15695 (__ASSUME_SIGNALFD4): Likewise.
15696 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15697 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15698 Do not define.
15699 (__ASSUME_EVENTFD2): Likewise.
15700 (__ASSUME_SIGNALFD4): Likewise.
15701 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15702 (__ASSUME_32BITUIDS): Likewise.
15703 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15704 (__ASSUME_IPC64): Likewise.
15705 (__ASSUME_ST_INO_64_BIT): Likewise.
15706 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15707 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15708 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15709 (__ASSUME_UTIMES): Do not define.
15710 (__ASSUME_PSELECT): Likewise.
15711 (__ASSUME_PPOLL): Likewise.
15712 (__ASSUME_O_CLOEXEC): Likewise.
15713 (__ASSUME_SOCK_CLOEXEC): Likewise.
15714 (__ASSUME_IN_NONBLOCK): Likewise.
15715 (__ASSUME_PIPE2): Likewise.
15716 (__ASSUME_EVENTFD2): Likewise.
15717 (__ASSUME_SIGNALFD4): Likewise.
15718 (__ASSUME_DUP3): Likewise.
15719 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15720 (__ASSUME_UTIMES): Likewise.
15721 (__ASSUME_O_CLOEXEC): Likewise.
15722 (__ASSUME_SOCK_CLOEXEC): Likewise.
15723 (__ASSUME_IN_NONBLOCK): Likewise.
15724 (__ASSUME_PIPE2): Likewise.
15725 (__ASSUME_EVENTFD2): Likewise.
15726 (__ASSUME_SIGNALFD4): Likewise.
15727 (__ASSUME_DUP3): Likewise.
15728 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15729 (__ASSUME_UTIMES): Likewise.
15730 (__ASSUME_O_CLOEXEC): Likewise.
15731 (__ASSUME_SOCK_CLOEXEC): Likewise.
15732 (__ASSUME_IN_NONBLOCK): Likewise.
15733 (__ASSUME_PIPE2): Likewise.
15734 (__ASSUME_EVENTFD2): Likewise.
15735 (__ASSUME_SIGNALFD4): Likewise.
15736 (__ASSUME_DUP3): Likewise.
15737 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15738 Likewise.
15739 (__ASSUME_UTIMES): Likewise.
15740 (__ASSUME_EVENTFD2): Likewise.
15741 (__ASSUME_SIGNALFD4): Likewise.
15742 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15743 (__ASSUME_O_CLOEXEC): Likewise.
15744 (__ASSUME_SOCK_CLOEXEC): Likewise.
15745 (__ASSUME_IN_NONBLOCK): Likewise.
15746 (__ASSUME_PIPE2): Likewise.
15747 (__ASSUME_EVENTFD2): Likewise.
15748 (__ASSUME_SIGNALFD4): Likewise.
15749 (__ASSUME_DUP3): Likewise.
15750 (__ASSUME_UTIMES): Undefine.
15751
5c521ecd
JM
15752 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15753 feclearexcept. Remove symbol versioning code.
15754 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
15755 symbol versioning code.
15756 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
15757 symbol versioning code.
15758 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15759 feupdateenv. Remove symbol versioning code.
15760 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15761 fegetexceptflag. Remove symbol versioning code.
15762 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15763 fesetexceptflag. Remove symbol versioning code.
15764 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15765 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
15766 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15767 (__posix_fadvise64_l32): Remove prototype.
15768 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15769 code.
15770
5da9dfad
RM
157712014-05-13 Roland McGrath <roland@hack.frob.com>
15772
15773 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15774 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15775 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15776 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15777
893b4f37
SK
157782014-05-13 Sami Kerola <kerolasa@iki.fi>
15779
15780 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15781 current working directory
15782
e0db6517
RM
157832014-05-13 Roland McGrath <roland@hack.frob.com>
15784
58aa195d
RM
15785 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15786 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15787 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15788 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15789 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15790 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15791 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15792 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15793 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15794 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15795 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15796 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15797 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15798 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15799 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15800 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15801 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15802 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15803 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15804 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15805 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15806 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15807 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15808 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15809 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15810 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15811 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15812 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15813 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15814 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15815 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15816 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15817 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15818 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15819 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15820 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15821 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15822 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15823 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15824 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15825 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15826 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15827
8c6d01f0
RM
15828 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15829 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15830
15831 * sysdeps/unix/sysv/linux/arm/Makefile
15832 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15833 Add rt-aeabi_unwind_cpp_pr1.
15834 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15835 Add nptl-aeabi_unwind_cpp_pr1.
15836 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15837 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15838 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15839 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15840 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15841 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15842
15843 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15844 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15845 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15846 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15847
bba6da4e
RM
15848 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15849 Deconditionalize the code that was previously under [RESET_PID].
15850 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15851
e0db6517
RM
15852 * sysdeps/generic/exit-thread.h: New file.
15853 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15854 * include/unistd.h (__exit_thread): Remove declaration.
15855 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15856 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15857 * csu/libc-start.c: Include <exit-thread.h>.
15858 (LIBC_START_MAIN): Pass no argument to __exit_thread.
15859 * nptl/pthread_create.c: Include <exit-thread.h>.
15860 (start_thread): Call __exit_thread in place of __exit_thread_inline.
15861 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15862 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15863 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15864 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15865 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15866 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15867 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15868 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15869 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15870 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15871 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15872 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15873 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15874 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15875 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15876 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15877
01eb16fd
AS
158782014-05-13 Andreas Schwab <schwab@suse.de>
15879
15880 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15881
637461d9
JM
158822014-05-12 Joseph Myers <joseph@codesourcery.com>
15883
15884 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15885 (__ASSUME_UTIMES): Do not condition on kernel version.
15886 (__ASSUME_PSELECT): Define unconditionally.
15887 (__ASSUME_PPOLL): Likewise.
15888 (__ASSUME_ATFCTS): Likewise.
15889 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15890 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15891 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15892 (__ASSUME_UTIMENSAT): Define unconditionally.
15893 (__ASSUME_PRIVATE_FUTEX): Likewise.
15894 (__ASSUME_FALLOCATE): Likewise.
15895 (__ASSUME_O_CLOEXEC): Likewise.
15896 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15897 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15898 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15899 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15900 (__ASSUME_IN_NONBLOCK): Likewise.
15901 (__ASSUME_PIPE2): Likewise.
15902 (__ASSUME_EVENTFD2): Likewise.
15903 (__ASSUME_SIGNALFD4): Likewise.
15904 (__ASSUME_DUP3): Likewise.
15905 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15906 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15907 (__ASSUME_AT_RANDOM): Likewise.
15908 (__ASSUME_PREADV): Likewise.
15909 (__ASSUME_PWRITEV): Likewise.
15910 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15911 (__ASSUME_F_GETOWN_EX): Define unconditionally.
15912 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15913 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15914 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15915 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15916 (__ASSUME_O_CLOEXEC): Define unconditionally.
15917 (__ASSUME_PSELECT): Do not undefine conditionally.
15918 (__ASSUME_PPOLL): Likewise.
15919 (__ASSUME_ATFCTS): Likewise.
15920 (__ASSUME_SET_ROBUST_LIST): Likewise.
15921 (__ASSUME_UTIMENSAT): Likewise.
15922 (__ASSUME_FDATASYNC): Define unconditionally.
15923 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15924 (__ASSUME_SIGFRAME_V2): Likewise.
15925 )__ASSUME_EVENTFD2): Likewise.
15926 (__ASSUME_SIGNALFD4): Likewise.
15927 (__ASSUME_PSELECT): Do not undefine conditionally.
15928 (__ASSUME_PPOLL): Likewise.
15929 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15930 (__ASSUME_PSELECT): Define unconditionally.
15931 (__ASSUME_PPOLL): Likewise.
15932 (__ASSUME_O_CLOEXEC): Likewise.
15933 (__ASSUME_SOCK_CLOEXEC): Likewise.
15934 (__ASSUME_IN_NONBLOCK): Likewise.
15935 (__ASSUME_PIPE2): Likewise.
15936 (__ASSUME_EVENTFD2): Likewise.
15937 (__ASSUME_SIGNALFD4): Likewise.
15938 (__ASSUME_DUP3): Likewise.
15939 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15940 (__ASSUME_O_CLOEXEC): Likewise.
15941 (__ASSUME_SOCK_CLOEXEC): Likewise.
15942 (__ASSUME_IN_NONBLOCK): Likewise.
15943 (__ASSUME_PIPE2): Likewise.
15944 (__ASSUME_EVENTFD2): Likewise.
15945 (__ASSUME_SIGNALFD4): Likewise.
15946 (__ASSUME_DUP3): Likewise.
15947 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15948 (__ASSUME_EVENTFD2): Likewise.
15949 (__ASSUME_SIGNALFD4): Likewise.
15950 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15951
315eb1d8
AS
159522014-05-12 Andreas Schwab <schwab@suse.de>
15953
15954 [BZ #16932]
15955 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15956 (_nss_nis_gethostbyname4_r): Return error if item length is larger
15957 than maximum RPC packet size.
15958 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15959 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15960 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15961 (_nss_nis_getservbyport_r): Likewise.
15962
91df99f7
WN
159632014-05-12 Will Newton <will.newton@linaro.org>
15964
15965 * malloc/Makefile (tests): Add tst-mallopt.
15966 * malloc/tst-mallopt.c: New file.
15967
0a982a29
RM
159682014-05-09 Roland McGrath <roland@hack.frob.com>
15969
15970 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15971 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15972
0ded08a5
AZ
159732014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15974
15975 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15976 (tst-tlsmod6.so): Likewise.
15977
55d4d550
RM
159782014-05-09 Roland McGrath <roland@hack.frob.com>
15979
15980 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15981
77d08aca
JM
159822014-05-09 Joseph Myers <joseph@codesourcery.com>
15983
15984 [BZ #16064]
15985 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15986 and <dl-procinfo.h>.
15987 (__fegetenv): Save SSE state in envp->__eip if supported.
15988 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15989 envp->__eip if supported.
15990 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15991 and <dl-procinfo.h>.
15992 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15993 __data_offset and __data_selector in environment to 0. Set SSE
15994 state if supported.
15995 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15996 test-fenv-sse.
15997 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15998 -mfpmath=sse.
15999 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16000
28162f4d
WN
160012014-05-09 Will Newton <will.newton@linaro.org>
16002
16003 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16004 and libc_relro_required for ARM.
16005 * sysdeps/arm/preconfigure: Regenerate.
16006
5a414ff7
DV
160072014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16008 Stefan Liebler <stli@linux.vnet.ibm.com>
16009
16010 * config.make.in (enable-lock-elision): New Makefile variable.
16011 * configure.ac: Likewise.
16012 * configure: Regenerate.
16013 * sysdeps/s390/configure.ac:
16014 Add check for gcc transactions support.
16015 * sysdeps/s390/configure: Regenerate.
16016 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16017 Build elision files if enabled.
16018 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16019 Add lock elision support for s390.
16020 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16021 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16022 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16023 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16024 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16025 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16026 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16027 Likewise.
16028 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16029 Likewise.
16030 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16031 Likewise.
16032 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16033 Likewise.
16034 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16035 (__lll_timedlock_elision, __lll_lock_elision)
16036 (__lll_unlock_elision, __lll_trylock_elision)
16037 (lll_timedlock_elision, lll_lock_elision)
16038 (lll_unlock_elision, lll_trylock_elision): Add.
16039 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16040 (pthread_mutex_t): Add lock elision support for s390.
16041
1a2f40e5
W
160422014-05-14 Wilco <wdijkstr@arm.com>
16043
16044 * sysdeps/arm/fclrexcpt.c: Cleanup.
16045 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16046 * sysdeps/arm/feenablxcpt.c: Cleanup.
16047 * sysdeps/arm/fegetenv.c: Cleanup.
16048 * sysdeps/arm/fegetexcept.c: Cleanup.
16049 * sysdeps/arm/fegetround.c: Cleanup.
16050 * sysdeps/arm/feholdexcpt.c: Cleanup.
16051 * sysdeps/arm/fesetenv.c: Cleanup.
16052 * sysdeps/arm/fesetround.c: Cleanup.
16053 * sysdeps/arm/feupdateenv.c: Cleanup.
16054 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16055 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16056 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16057 * sysdeps/arm/ftestexcept.c: Cleanup.
16058 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16059 * sysdeps/arm/setfpucw.c: Cleanup.
16060
f63c86fe
WN
160612014-05-09 Will Newton <will.newton@linaro.org>
16062
16063 * sysdeps/arm/armv7/strcmp.S: New file.
16064 * NEWS: Mention addition of ARMv7 optimized strcmp.
16065
7a1a51b5
RM
160662014-05-08 Roland McGrath <roland@hack.frob.com>
16067
95afbbe5
RM
16068 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16069 look for %.ac rather than %.in.
16070
16071 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16072 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16073 * sysdeps/mach/hurd/configure: Regenerated.
16074 * sysdeps/unix/sysv/linux/configure: Regenerated.
16075
7a1a51b5
RM
16076 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16077
5057ad3b
SE
160782014-05-07 Steve Ellcey <sellcey@mips.com>
16079
16080 [BZ# 16922]
16081 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16082 (LONG_SUB): Ditto.
16083 (PTR_SUB): Ditto.
16084
8dc97517
AS
160852014-05-07 Andreas Schwab <schwab@suse.de>
16086
16087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16088 when skipping over non-matching result from nscd.
16089
ce0c5b8f
OB
160902014-05-07 Ondřej Bílka <neleai@seznam.cz>
16091
16092 [BZ #16876]
16093 * nptl/sockperf.c (client): Check socket return value.
8dc97517 16094
a1189263
OB
16095 [BZ #16877]
16096 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16097 nscd security class.
ce0c5b8f 16098
0f58d252
RM
160992014-05-06 Roland McGrath <roland@hack.frob.com>
16100
16101 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16102 * sysdeps/arm/unwind.h: ... here.
16103
83df9ad0
AJ
161042014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16105
ce0c5b8f
OB
16106 [BZ# 16916]
16107 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16108 Define.
83df9ad0 16109
f360f94a
VR
161102014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16111
16112 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16113 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16114 multiarch strncpy for PPC64.
16115 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16116 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16118 multiarch optimizations.
16119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16120 (__libc_ifunc_impl_list): Likewise.
16121 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16122 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16123 multiarch stpncpy for PPC64.
16124 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16125 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16126
978a41c3
AS
161272014-05-06 Andreas Schwab <schwab@suse.de>
16128
16129 [BZ #16912]
16130 * gmon/mcount.c (_MCOUNT_DECL): Use
16131 atomic_compare_and_exchange_bool_acq instead of
16132 catomic_compare_and_exchange_bool_acq.
16133
eb1ed03d
RM
161342014-05-05 Roland McGrath <roland@hack.frob.com>
16135
fe658845
RM
16136 * elf/Makefile (others, install-bin): Remove pldd.
16137 (pldd-modules): Variable removed.
16138 ($(objpfx)pldd): Target removed.
16139 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16140 (others, install-bin): Append pldd here.
16141 ($(objpfx)pldd): New target.
16142
eb1ed03d
RM
16143 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16144 to 0, so the first #if test emitted later doesn't see it undefined.
16145 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16146 * sysdeps/gnu/errlist.c: Regenerated.
16147
19c4bec0
AZ
161482014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16149
16150 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16151 [libc_hidden_builtin_def]: Define to empty value.
16152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16153 [libc_hidden_builtin_def]: Likewise.
16154 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16155 [libc_hidden_builtin_def]: Likewise.
16156 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16157 [libc_hidden_builtin_def]: Likewise.
16158 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16159 __redirect_memcpy and define ifunc as default hidden symbol.
16160 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16161 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16162
7776e669
AC
161632014-05-04 Adam Conrad <adconrad@0c3.net>
16164
16165 * locale/iso-4217.def: Reintroduce XDR currency.
16166
d69aeb12
AM
161672014-05-04 Allan McRae <allan@archlinux.org>
16168
16169 * po/eo.po: Update Esperanto translation from translation project.
16170
8f1df5cf
CD
161712014-05-02 Carlos O'Donell <carlos@redhat.com>
16172
16173 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16174 and FEATURE_INDEX_MAX to 1.
16175 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16176
13e402e7
SE
161772014-05-01 Steve Ellcey <sellcey@mips.com>
16178
16179 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16180 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16181 * iconvdata/big5.c (ONE_DIRECTION): Define.
16182 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16183 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16184 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16185 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16186 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16187 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16188 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16189 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16190 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16191 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16192 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16193 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16194 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16195 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16196 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16197 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16198 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16199 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16200 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16201 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16202 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16203 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16204 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16205 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16206 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16207 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16208 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16209 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16210 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16211 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16212 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16213 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16214 * iconvdata/johab.c (ONE_DIRECTION): Define.
16215 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16216 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16217 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16218 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16219 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16220 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16221 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16222 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16223 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16224 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16225
c727f032
RM
162262014-05-01 Roland McGrath <roland@hack.frob.com>
16227
8f2f08d0
RM
16228 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16229 (_IO_JUMPS_OFFSET): Define to 0.
16230
c727f032
RM
16231 * nptl/sysdeps/pthread/bits/libc-lock.h
16232 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16233 (__libc_lock_define_initialized_recursive): Always define using
16234 initializer. Modern compilers treat uninitialized (implicit zero) and
16235 explicit zero initializers the same (i.e. put the datum in bss).
16236
a849e800
AS
162372014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16238
16239 * nscd/nscd-client.h: Include <string.h>.
16240
5331255b
DM
162412014-05-01 David S. Miller <davem@davemloft.net>
16242
16243 [BZ #16885]
16244 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16245 multiple zero bytes exist at the end of a string.
16246 Reported by Aurelien Jarno <aurelien@aurel32.net>
16247
16248 * string/test-strcmp.c (check): Add explicit test for situations where
16249 there are multiple zero bytes after the first.
16250
4fdfe821
AS
162512014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16252
16253 [BZ #16890]
16254 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16255 when compiling wprintf.
16256 * stdio-common/tstdiomisc.c (t3): New function.
16257 (main): Call it.
16258
0cdddc25
SE
162592014-05-01 Steve Ellcey <sellcey@mips.com>
16260
16261 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16262 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16263 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16264 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16265
6426d77e
SE
162662014-05-01 Steve Ellcey <sellcey@mips.com>
16267
16268 * stdlib/longlong.h: Updated from GCC.
16269
6d96f5e4
WN
162702014-05-01 Will Newton <will.newton@linaro.org>
16271 Bernard Ogden <bernie.ogden@linaro.org>
16272
7470db0c
WN
16273 * NEWS: Update fixed bug list.
16274
6d96f5e4
WN
16275 [BZ #15119]
16276 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16277
211d653c
DM
162782014-04-30 David S. Miller <davem@davemloft.net>
16279
4fa262fa
DM
16280 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16281 (libc_feholdexcept_setround_sparc_ctx): New function.
16282 (libc_fesetenv_sparc_ctx): Likewise.
16283 (libc_feupdateenv_sparc_ctx): Likewise.
16284 (libc_feholdsetround_sparc_ctx): Likewise.
16285 (libc_feholdexcept_setround_ctx): Define.
16286 (libc_feholdexcept_setroundf_ctx): Likewise.
16287 (libc_feholdexcept_setroundl_ctx): Likewise.
16288 (libc_fesetenv_ctx): Likewise.
16289 (libc_fesetenvf_ctx): Likewise.
16290 (libc_fesetenvl_ctx): Likewise.
16291 (libc_feupdateenv_ctx): Likewise.
16292 (libc_feupdateenvf_ctx): Likewise.
16293 (libc_feupdateenvl_ctx): Likewise.
16294 (libc_feresetround_ctx): Likewise.
16295 (libc_feresetroundf_ctx): Likewise.
16296 (libc_feresetroundl_ctx): Likewise.
16297 (libc_feholdsetround_ctx): Likewise.
16298 (libc_feholdsetroundf_ctx): Likewise.
16299 (libc_feholdsetroundl_ctx): Likewise.
16300
1d3d93ef
DM
16301 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16302 with __USE_GNU instead of XOPEN cpp guards.
16303
8aa583c3
DM
16304 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16305 0.
16306
211d653c
DM
16307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16308 with XOPEN cpp guards.
16309
60c8f1f6
JB
163102014-04-30 Julian Brown <julian@codesourcery.com>
16311
16312 [BZ #16888]
16313 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16314 handling.
16315
9a461d46
JM
163162014-04-30 Joseph Myers <joseph@codesourcery.com>
16317
d0f5b3f8
JM
16318 [BZ #9894]
16319 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16320 Change to 2.6.32.
16321 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16322 * sysdeps/unix/sysv/linux/configure: Regenerated.
16323 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16324 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16325 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16326 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16327 * README: Update reference to required Linux kernel version.
16328 * manual/install.texi (Linux): Update reference to required Linux
16329 kernel headers version.
16330 * INSTALL: Regenerated.
16331
9a461d46
JM
16332 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16333 header inclusion.
16334 [POSIX] (limits.h): Likewise.
16335 [POSIX] (math.h): Likewise.
16336 [POSIX] (sys/wait.h): Likewise.
16337 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16338 function.
16339 [POSIX] (stddef.h): Do not allow header inclusion.
16340
1775babf
AZ
163412014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16342
57f41c40 16343 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 16344
8f630cca
YY
163452014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16346
16347 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16348 Return immediately after lll_futex_wake.
16349
1cdeb237
SP
163502014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16351
bc8f194c
SP
16352 [BZ #16791]
16353 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16354 structure.
16355 (datahead_init_pos): Call datahead_init_common early.
16356 (datahead_init_neg): Likewise.
16357
1cdeb237
SP
16358 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16359 datahead_init_neg): New functions.
16360 * nscd/aicache.c (addhstaiX): Use them.
16361 * nscd/grpcache.c (cache_addgr): Likewise.
16362 * nscd/hstcache.c (cache_addhst): Likewise.
16363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16364 * nscd/netgroupcache.c (do_notfound): Likewise.
16365 (addgetnetgrentX): Likewise.
16366 (addinnetgrX): Likewise.
16367 * nscd/pwdcache.c (cache_addpw): Likewise.
16368 * nscd/servicescache.c (cache_addserv): Likewise.
16369
16b293a7
SP
163702014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16371 Atsushi Onoe <atsushi@onoe.org>
16372
16373 [BZ #14308]
16374 [BZ #12994]
16375 [BZ #13651]
16376 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16377 one response is valid.
16378 * resolv/res_send.c (send_dg): Check for validity of other
16379 response if the current response is a referral.
16380
a28a9b94
SE
163812014-04-29 Steve Ellcey <sellcey@mips.com>
16382
16383 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16384
2ca180e9
SL
163852014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16386
16387 [BZ #16823]
16388 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16389 Always divide by positive zero when computing -Inf result.
16390 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16391 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16392
18f2945a
AZ
163932014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16394
16395 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16396 FPSCR if value do not change.
16397 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16398 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16399 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16400 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16401 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16402 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16403 function.
16404
5abebba4
CD
164052014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16406
16407 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16408 * sysdeps/unix/sysv/linux/hppa: Move directory from
16409 ports/systeps/unix/sysv/linux/hppa.
16410 * README: Update listing for hppa-*-linux-gnu.
16411
f7ed60c2
OB
164122014-04-28 Ondřej Bílka <neleai@seznam.cz>
16413
fff763a5
OB
16414 [BZ #16754]
16415 * manual/stdio.texi (Hook functions): Fix types of stream hook
16416 functions.
f7ed60c2
OB
16417 [BZ #16854]
16418 * socket/sys/socket.h: Fix typo in comment.
16419
df639d73
WD
164202014-04-28 Wilco <wdijkstr@arm.com>
16421
f7ed60c2 16422 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
16423 * sysdeps/arm/math_private.h: New file.
16424 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16425
48332d82
L
164262014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16427
16428 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16429 with __int128_t.
16430 (La_x86_64_retval): Likewise.
16431
e5e0d9a4
IB
164322014-04-24 Ian Bolton <ian.bolton@arm.com>
16433
16434 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16435 fpsr if value didn't change.
16436 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16437 to fpcr if value didn't change.
16438 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16439 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16440 fpsr or fpcr if value didn't change.
16441 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16442 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16443 fpcr if value didn't change.
16444 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16445 to fpsr if value didn't change.
16446
bacc75f7
SP
164472014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16448
16449 * nptl/tst-sem3.c: Use test-skeleton.c
16450 (main): Rename to do_test. Use return instead of
16451 exit.
16452 * nptl/tst-sem4.c: Use test-skeleton.c
16453 (main): Rename to do_test.
16454
a059d359
DM
164552014-04-22 David S. Miller <davem@davemloft.net>
16456
16457 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16458 (struct sigaction): New struct member __glibc_reserved0, change
16459 type of sa_flags to int.
16460
ea6c92f3
YZ
164612014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16462
16463 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16464 (COUNT_LEADING_ZEROS_0): Define for AArch64.
16465
766c4a36
SP
164662014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16467
16468 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16469 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16470
140cc7ab
VK
164712014-04-22 Will Newton <will.newton@linaro.org>
16472 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16473
16474 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16475 (__longjmp): Add longjmp and longjmp_target SystemTap
16476 probes.
16477 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16478 (__sigsetjmp): Add setjmp SystemTap probe.
16479
c54e5cf7
CD
164802014-04-17 Carlos O'Donell <carlos@redhat.com>
16481
16482 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16483 match manual order.
16484
75ffb047
AZ
164852014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16486
16487 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16488
2cd925f7
AZ
16489 * sysdeps/powerpc/fpu/fenv_private.h
16490 (libc_feholdexcept_setroundl_ctx): Define to
16491 libc_feholdexcept_setround_ppc_ctx.
16492 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16493 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16494 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16495 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16496
39e6cd8d
IB
164972014-04-17 Ian Bolton <ian.bolton@arm.com>
16498
16499 * sysdeps/aarch64/math-tests.h: New file.
16500
f9281df9
SY
165012014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16502
16503 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16504 New.
16505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16506 Check and set bit_AVX2_Usable.
16507 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16508 macro.
16509 (bit_AVX2): Likewise.
16510 (index_AVX2_Usable): Likewise.
16511 (CPUID_AVX2): Likewise.
16512 (HAS_AVX2): Likewise.
16513
37d35007
WN
165142014-04-17 Will Newton <will.newton@linaro.org>
16515
7c677662
WN
16516 * manual/setjmp.texi (System V contexts): Add note that
16517 calling setcontext on a context created by a call to a
16518 signal handler is undefined. Update text to note that
16519 setcontext from a signal handler is possible but not
16520 recommended.
16521
37d35007 16522 [BZ #16629]
e04a4e9d
WN
16523 * stdlib/tst-setcontext.c: Include signal.h.
16524 (main): Check that the signal stack before and
16525 after swapcontext is the same.
16526
37d35007
WN
16527 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16528 Re-implement to restore registers in user code and avoid
16529 rt_sigreturn system call.
16530
423a7160
W
165312014-04-17 Wilco <wdijkstr@arm.com>
16532
16533 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16534 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16535 * math/test-fenv.c: Skip exception trap tests on targets which only
16536 support non-stop mode.
16537
bc93ab29
IB
165382014-04-17 Ian Bolton <ian.bolton@arm.com>
16539 Wilco Dijkstra <wilco.dijkstra@arm.com>
16540
16541 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16542 (libc_feholdsetround_aarch64_ctx)
16543 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16544 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16545 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16546 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16547 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16548 (libc_feresetround_noexl_ctx): Define.
16549
95fc5fa3
RH
165502014-04-16 Richard Henderson <rth@redhat.com>
16551
ddb04724
RH
16552 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16553
d77c0899
RH
16554 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16555 unwind tables.
16556
a3df56fc
RH
16557 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16558 const from the non-libc, non-ldso copy.
16559
95fc5fa3
RH
16560 * sysdeps/alpha/libm-test-ulps: Regenerate.
16561
7e0b6763
IB
165622014-04-16 Ian Bolton <ian.bolton@arm.com>
16563 Wilco Dijkstra <wilco.dijkstra@arm.com>
16564
16565 * sysdeps/aarch64/fpu/math_private.h: New file.
16566
a9ea2e0c
MS
165672014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16568
16569 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16570
ea8ba7cd
IZ
165712014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16572
7e54fd04 16573 [BZ #16275]
ea8ba7cd
IZ
16574 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16575 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16577 Intel MPX bound registers before _dl_profile_fixup.
16578 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16579 registers after _dl_profile_fixup. Save and restore bound
16580 registers bnd0/bnd1 when calling _dl_call_pltexit.
16581 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16582 (LR_BND_OFFSET): Likewise.
16583 (LRV_BND0_OFFSET): Likewise.
16584 (LRV_BND1_OFFSET): Likewise.
16585
9f2a4fbc
ST
165862014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16587
16588 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16589 to...
16590 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
16591 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16592 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16593 fields.
9f2a4fbc 16594
fd15a59b
ST
165952014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16596
16597 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16598
f19dfa0a
SL
165992014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16600
16601 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16602
4fa8bc3b
SL
166032014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16604
16605 [BZ #14770]
16606 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16607 * sysdeps/s390/configure: Regenerate.
16608
8ea587db
SL
16609 [BZ #16824]
16610 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16611 Set round-to-nearest internally to reduce error accumulation.
16612
aa5f0ff1
AM
166132014-04-16 Alan Modra <amodra@gmail.com>
16614
16615 [BZ #16740]
16616 [BZ #16619]
16617 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16618 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 16619 * NEWS: Update fixed bug list.
aa5f0ff1 16620
bb9c256f
SP
166212014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16622
16623 * benchtests/Makefile: Depend on libraries in build directory.
16624 (bench-math): Separate out math tests.
16625 (bench-pthread): Separate out pthread tests.
16626 (bench): Include math and pthread tests.
16627
f737dfd0
CD
166282014-04-14 Carlos O'Donell <carlos@redhat.com>
16629
16630 [BZ #16831]
16631 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16632 _dl_debug_initialize.
16633
0699f766
CD
16634 * configure.ac: Remove SELinux header check.
16635 * configure: Regenerate.
16636 * nscd/selinux.c (perms): Array of const char* to permission names.
16637 (nscd_request_avc_has_perm): Call security_deny_unknown to find
16638 default policy. Call string_to_security_class and string_to_av_perm to
16639 translate strings. Enforce default policy and call avs_has_perm with
16640 results of translated strings.
16641
809bd45f
DM
166422014-04-13 David S. Miller <davem@davemloft.net>
16643
16644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16645
89e691f2
AM
166462014-04-12 Allan McRae <allan@archlinux.org>
16647
16648 [BZ #16838]
16649 * manual/string.texi (Collation Functions): Fix qsort argument
16650 order in example.
16651 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16652
9c9daaeb
CM
166532014-04-11 Chris Metcalf <cmetcalf@tilera.com>
16654
16655 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16656 Make the test a no-op if there are no exceptions defined.
16657
95561fb9
PP
166582014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16659
fe8d072c 16660 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
16661 enable-hardcoded-path-in-tests
16662
970c602a
WN
166632014-04-11 Will Newton <will.newton@linaro.org>
16664
16665 * benchtests/Makefile (extra-objs): Add json-lib.o.
16666 (bench-func): Tidy up JSON output.
16667 * benchtests/bench-skeleton.c: Include json-lib.h.
16668 (main): Use JSON library functions to do output of
16669 benchmark results.
16670 * benchtests/bench-timing-type.c (main): Output the
16671 timing type simply, leaving formatting to the user.
16672 * benchtests/json-lib.c: New file.
16673 * benchtests/json-lib.h: Likewise.
16674
36875b06
TR
166752014-04-11 Torvald Riegel <triegel@redhat.com>
16676
16677 [BZ #15215]
16678 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16679 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
16680 memory barriers. Add comments.
16681 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16682 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16683 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16684 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16685 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16686 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16687
579db35a
SL
166882014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16689
16690 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16691 * sysdeps/s390/s390-64/configure.ac: ... this ...
16692 * sysdeps/s390/configure.ac: ... to here.
16693 * sysdeps/s390/s390-32/configure: Delete file.
16694 * sysdeps/s390/s390-64/configure: Delete file.
16695 * sysdeps/s390/configure: Regenerate.
16696
c12e9f37
JAPH
166972014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
16698
16699 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16700
439bda32
WN
167012014-04-11 Will Newton <will.newton@linaro.org>
16702
16703 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16704 to zero if it is not defined elsewhere. (mtrim): Test
16705 the value of MALLOC_DEBUG with #if rather than #ifdef.
16706
6a5d6ea1
TR
167072014-04-10 Torvald Riegel <triegel@redhat.com>
16708
16709 * benchtests/pthread_once-inputs: New file.
16710 * benchtests/pthread_once-source.c: New file.
16711 * benchtests/README: Update documentation.
16712
a4c75cfd
IZ
167132014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
16714 H.J. Lu <hongjiu.lu@intel.com>
16715
7e54fd04 16716 [BZ #16275]
a4c75cfd
IZ
16717 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16718 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16719 * sysdeps/x86_64/configure: Regenerated.
16720 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16721 macro.
16722 (REGISTER_SAVE_RAX): Likewise.
16723 (REGISTER_SAVE_RCX): Likewise.
16724 (REGISTER_SAVE_RDX): Likewise.
16725 (REGISTER_SAVE_RSI): Likewise.
16726 (REGISTER_SAVE_RDI): Likewise.
16727 (REGISTER_SAVE_R8): Likewise.
16728 (REGISTER_SAVE_R9): Likewise.
16729 (REGISTER_SAVE_BND0): Likewise.
16730 (REGISTER_SAVE_BND1): Likewise.
16731 (REGISTER_SAVE_BND2): Likewise.
16732 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
16733 bound registers when calling _dl_fixup.
16734
27822ce6
AZ
167352014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16736
16737 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
16738 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16739 of its definition.
27822ce6
AZ
16740 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16741 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16742 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16743 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16744 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16745 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16746 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16747
a88ddc90
PTB
167482014-04-09 Peter Brett <peter@peter-b.co.uk>
16749
16750 [BZ #15514]
16751 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16752 pathconf(_PC_NAME_MAX).
16753
01f8eac2
AZ
167542014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16755
16756 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16757 Remove macro usage.
16758 (__PTHREAD_SPINS): Move definition to ...
16759 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16760 (__PTHREAD_SPINS): ... here.
16761 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16762 (__PTHREAD_SPIN): Likewise.
16763 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16764 (__PTHREAD_SPIN): Likewise.
16765 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16766 (__PTHREAD_SPIN): Likewise.
16767 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16768 (__PTHREAD_SPIN): Likewise.
16769 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16770 (__PTHREAD_SPIN): Likewise.
16771 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16772 (__PTHREAD_SPIN): Likewise.
16773 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16774 (__PTHREAD_SPIN): Likewise.
16775 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16776 (__PTHREAD_SPIN): Likewise.
16777 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16778 (__PTHREAD_SPIN): Likewise.
16779 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16780 (__PTHREAD_SPIN): Likewise.
16781 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16782 (__PTHREAD_SPIN): Likewise.
16783 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16784 (__PTHREAD_SPIN): Likewise.
16785
de21c33c
AZ
16786 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16787 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16788 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16789 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16790 imply folder.
16791 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16792 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16793 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16794 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16795 correct imply path.
16796 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16797 strlen symbol for non multi-arch builds.
16798 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16799 missing hidden_def and weak_alias.
16800
862c472e
CD
168012014-04-08 Carlos O'Donell <carlos@redhat.com>
16802
16803 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16804
8667f90e
WN
168052014-04-07 Will Newton <will.newton@linaro.org>
16806
16807 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16808 and contents. [!_LIBC] Remove #ifndef and contents.
16809 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
16810 * string/memccpy.c (__memccpy): Use ANSI prototype.
16811 * string/memfrob.c (memfrob): Likewise.
16812 * string/strcoll.c (STRCOLL): Likewise.
16813 * string/strlen.c (strlen): Likewise.
16814 * string/strtok.c (STRTOK): Likewise.
16815 * string/strcat.c: Remove unused #include of memcopy.h.
16816 (strcat): Use ANSI prototype.
16817 * string/strchr.c: Remove unused #include of memcopy.h.
16818 (strchr): Use ANSI prototype.
16819 * string/strcmp.c: Remove unused #include of memcopy.h.
16820 (strcmp): Use ANSI prototype.
16821 * string/strcpy.c: Remove unused #include of memcopy.h.
16822 (strcpy): Use ANSI prototype.
16823
7ffa9423
AZ
168242014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16825
16826 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16827 * config.make.in (config-extra-cppflags): Set it from
16828 libc_extra_cppflags.
16829 * configure.ac (libc_extra_cflags): Make it accumulate over
16830 configure fragments.
16831 (libc_extra_cppflags): New flag.
16832 * configure. Regenerate.
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
16834 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16835 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16837
8bd70862
AZ
16838 [BZ #16815]
16839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16840 result for FE_DOWNWARD rounding mode.
16841 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16842 Likewise.
16843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16844
d42f3448
CM
168452014-04-04 Chris Metcalf <cmetcalf@tilera.com>
16846
16847 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16848 in function argument name.
16849
1c21d115
DS
168502014-04-03 David Svoboda <svoboda@cert.org>
16851
16852 [BZ #5666]
16853 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16854 explicitly.
16855
fcccd512
RM
168562014-04-03 Roland McGrath <roland@hack.frob.com>
16857
16858 * elf/dl-unmap-segments.h: New file.
16859 * sysdeps/generic/ldsodefs.h
16860 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16861 * elf/dl-close.c: Include <dl-unmap-segments.h>.
16862 * elf/dl-fptr.c: Likewise.
16863 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16864 * sysdeps/aarch64/tlsdesc.c: Likewise.
16865 * sysdeps/arm/tlsdesc.c: Likewise.
16866 * sysdeps/i386/tlsdesc.c: Likewise.
16867 * sysdeps/tile/dl-runtime.c: Likewise.
16868 * sysdeps/x86_64/tlsdesc.c: Likewise.
16869 * elf/dl-load.h: New file.
16870 * elf/dl-load.c: Include it.
16871 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16872 Macros moved to dl-load.h.
16873 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16874 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16875 Use _dl_unmap_segments in place of __munmap.
16876 Break out segment-mapping loop into ...
16877 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16878
f6488e2b
WN
168792014-04-03 Will Newton <will.newton@linaro.org>
16880
16881 * elf/dl-lookup.c (do_lookup_x): Remove comment
16882 referring to nested function and move variable
16883 declarations down to before first use.
16884
6f05bafe
JM
168852014-04-02 Joseph Myers <joseph@codesourcery.com>
16886
a84e78c8
JM
16887 [BZ #16799]
16888 [BZ #16800]
16889 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16890 with 0 numerator.
16891 * math/s_catanf.c (__catanf): Likewise.
16892 * math/s_catanh.c (__catanh): Likewise.
16893 * math/s_catanhf.c (__catanhf): Likewise.
16894 * math/s_catanhl.c (__catanhl): Likewise.
16895 * math/s_catanl.c (__catanl): Likewise.
16896 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16897 by positive zero when computing -Inf result.
16898 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16899 (catanh_test): Likewise.
16900 * sysdeps/i386/fpu/libm-test-ulps: Update.
16901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16902
6f05bafe
JM
16903 [BZ #16789]
16904 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16905 instead of using underflowing value in computing result.
16906 * math/s_clog10.c (__clog10): Likewise.
16907 * math/s_clog10f.c (__clog10f): Likewise.
16908 * math/s_clog10l.c (__clog10l): Likewise.
16909 * math/s_clogf.c (__clogf): Likewise.
16910 * math/s_clogl.c (__clogl): Likewise.
16911 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16912 (clog10_test): Likewise.
16913 * sysdeps/i386/fpu/libm-test-ulps: Update.
16914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16915
b0abbc21
AM
169162014-04-02 Alan Modra <amodra@gmail.com>
16917
16918 [BZ #16739]
16919 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16920 output when value is near a power of two. Use int64_t for lx and
16921 remove casts. Use decimal rather than hex exponent constants.
16922 Don't use long double multiplication when double will suffice.
16923 * math/libm-test.inc (nextafter_test_data): Add tests.
16924 * NEWS: Add 16739 and 16786 to bug list.
16925
af6b1797
AM
16926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16927
483818d7
AM
16928 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16929
f6c55796
WN
169302014-04-01 Will Newton <will.newton@linaro.org>
16931
16932 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16933 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
16934
13f7fe35
FW
169352014-04-01 Florian Weimer <fweimer@redhat.com>
16936
16937 [BZ #13347]
16938 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16939 * nptl/tst-setuid2.c: New file.
16940 * nptl/Makefile (xtests): Add tst-setuid2.
16941
c859b32e
AM
169422014-04-01 Alan Modra <amodra@gmail.com>
16943
16944 [BZ #16786]
16945 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16946
54fa2475
JM
169472014-03-31 Joseph Myers <joseph@codesourcery.com>
16948
8795b4a4
JM
16949 [BZ #6803]
16950 [BZ #6804]
16951 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16952 set errno as appropriate.
16953 * math/w_scalbf.c (__scalbf): Likewise.
16954 * math/w_scalbl.c (__scalbl): Likewise.
16955 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16956 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16957 * math/libm-test.inc (scalb_test_data): Add errno expectations.
16958 Add more NaN tests.
16959
54fa2475
JM
16960 [BZ #16349]
16961 * math/w_atan2.c: Include <errno.h>.
16962 (__atan2): Set errno for result underflowing to zero.
16963 * math/w_atan2f.c: Include <errno.h>.
16964 (__atan2f): Set errno for result underflowing to zero.
16965 * math/w_atan2l.c: Include <errno.h>.
16966 (__atan2l): Set errno for result underflowing to zero.
16967 * math/auto-libm-test-in: Don't allow missing errno for some atan2
16968 tests.
16969 * math/auto-libm-test-out: Regenerated.
16970
757d9dd5
AZ
169712014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16972
16973 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16974 Encode instruction correctly in little endian.
16975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16976 Likewise.
16977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16978 Likewise.
16979 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16980 Likewise.
16981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16982 Likewise.
16983
d7a68734
JM
169842014-03-31 Joseph Myers <joseph@codesourcery.com>
16985
47c5adeb
JM
16986 [BZ #9894]
16987 * sysdeps/unix/sysv/linux/kernel-features.h
16988 [__sparc__ && !__arch64__ && !__sparc_v9__]
16989 (__ASSUME_SET_ROBUST_LIST): Do not define.
16990 [__sparc__ && !__arch64__ && !__sparc_v9__]
16991 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16992 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16993 Likewise.
16994 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16995 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16996 (__ASSUME_REQUEUE_PI): Likewise.
16997 (__ASSUME_SET_ROBUST_LIST): Likewise.
16998 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16999 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17000 Undefine.
17001 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17003 Likewise.
17004 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17005 Likewise.
17006 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17007 Likewise.
17008 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17009 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17010 Undefine.
17011 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17012 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17013 Likewise.
17014
d7a68734
JM
17015 [BZ #16648]
17016 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17017 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17018 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17019
c760f5c2
WN
170202014-03-31 Will Newton <will.newton@linaro.org>
17021
17022 * benchtests/Makefile (bench): Add ffs and ffsll to list
17023 of tests.
17024 * benchtests/ffs-inputs: New file.
17025 * benchtests/ffsll-inputs: Likewise.
17026
ea6029b1
JM
170272014-03-29 Joseph Myers <joseph@codesourcery.com>
17028
17029 [BZ #16770]
17030 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17031 too large before casting to int.
17032 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17033 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17034 * math/libm-test.inc (scalb_test_data): Add more tests.
17035
cf806aff
SP
170362014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17037
56737508
SP
17038 * benchtests/Makefile (DETAILED_OPT): New make option.
17039 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17040 set.
17041 * benchtests/bench-skeleton.c: Include stdbool.h.
17042 (main): Store and print timings per input.
17043 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17044 member to each argument value.
17045 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17046 (_print_arg_data): Initialize per-input timing to 0.
17047
cb5e4aad
SP
17048 * benchtests/Makefile (timing-type): New binary.
17049 (bench-clean): Also remove bench-timing-type.
17050 (bench): New target for timing-type.
17051 (bench-func): Print output in JSON format.
17052 * benchtests/bench-skeleton.c (main): Print output in JSON
17053 format.
17054 * benchtests/bench-timing-type.c: New file.
17055 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17056 (TIMING_PRINT_STATS): Remove.
17057 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17058 name separately.
17059
cf806aff
SP
17060 * benchtests/bench-modf.c: Remove.
17061 * benchtests/modf-inputs: New inputs file.
17062
289e0779
JM
170632014-03-28 Joseph Myers <joseph@codesourcery.com>
17064
17065 [BZ #16362]
17066 * math/s_clog10.c (M_PI_LOG10E): New macro.
17067 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17068 imaginary parts are 0.
17069 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17070 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17071 imaginary parts are 0.
17072 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17073 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17074 imaginary parts are 0.
17075 * math/libm-test.inc (clog10_test_data): Update expected results
17076 for when real and imaginary parts are 0.
17077
277ae3f1
PP
170782014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17079
17080 * elf/dl-load.c: Finish conversion of __builtin_expect into
17081 __glibc_{un}likely.
17082
03a7091f
JM
170832014-03-27 Joseph Myers <joseph@codesourcery.com>
17084
17085 [BZ #16348]
17086 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17087 1+x for argument with exponent below -67.
17088 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17089 Likewise.
17090 * math/auto-libm-test-in: Add more tests of exp.
17091 * math/auto-libm-test-out: Regenerated.
17092
ea7d8b95
SP
170932014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17094
dd3022d7
SP
17095 [BZ #16759]
17096 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17097 (nscd_getnetgrent): Use it.
17098
ea7d8b95
SP
17099 [BZ #16760]
17100 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17101 of stpcpy.
17102
df5b85da
AK
171032014-03-27 Andi Kleen <ak@linux.intel.com>
17104
57f41c40
AS
17105 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17106 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17107 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17108 (lll_robust_unlock): Remove out of line section. Use cfi
17109 intrinsics.
df5b85da 17110 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
17111 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17112 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17113 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17114 (lll_robust_unlock): Remove out of line section. Use cfi
17115 intrinsics.
df5b85da
AK
17116 (LLL_STUB_UNWIND_INFO*): Remove.
17117
fbd6b5a4
SP
171182014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17119
17120 [BZ #16758]
17121 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17122 blank values.
17123
1b26b855
PP
171242014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17125
17126 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17127
9be36fb8
JM
171282014-03-26 Joseph Myers <joseph@codesourcery.com>
17129
17130 [BZ #16198]
17131 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17132 fnstenv.
17133 * math/test-fenv-preserve.c: New file.
17134 * math/Makefile (tests): Add test-fenv-preserve.
17135
60a2f3c1
WN
171362014-03-26 Will Newton <will.newton@linaro.org>
17137
17138 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17139
a5e5f1e2
RM
171402014-03-25 Roland McGrath <roland@hack.frob.com>
17141
17142 * scripts/versionlist.awk: Partition the version sets and emit all
17143 GLIBC_* (sorted) before all others (sorted).
17144
00f4012a
JM
171452014-03-25 Joseph Myers <joseph@codesourcery.com>
17146
17147 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17148 GLIBC_2.2.5 version.
17149
7bc5a741
AZ
171502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17151
17152 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17153 calls.
17154
7578473b
AZ
17155 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17156 previous change.
17157
f3f1dab3
AZ
17158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17159
6da36183
AS
171602014-03-25 Andreas Schwab <schwab@suse.de>
17161
17162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17163 label to be used after in6ailist is initialized.
17164
f3f1dab3 171652014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 17166
7578473b 17167 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
17168 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17169
046651c1
JM
171702014-03-25 Joseph Myers <joseph@codesourcery.com>
17171
17172 [BZ #16357]
17173 [BZ #16599]
17174 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17175 min_plus_half.
17176 (fp_formats): Update initializers.
17177 (init_fp_formats): Initialize new field.
17178 (output_for_one_input_case): Allow underflow for results up to
17179 min_plus_half.
17180 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17181 * math/auto-libm-test-in: Don't mark some underflows from asin and
17182 atanh as spurious.
17183 * math/auto-libm-test-out: Regenerated.
17184 * sysdeps/i386/fpu/libm-test-ulps: Update.
17185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186
003e49ed
AS
171872014-03-25 Andreas Schwab <schwab@suse.de>
17188
17189 * libio/Makefile (tst-ftell-partial-wide-ENV)
17190 (tst-ftell-active-handler-ENV): Define.
17191
de031874
SL
171922014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17193
17194 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17195
55a81e3b
PP
171962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17197
17198 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17199
f3426898
JM
172002014-03-24 Joseph Myers <joseph@codesourcery.com>
17201
17202 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17203 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17204 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17205
a42faf59
PP
172062014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17207
17208 [BZ #16634]
a42faf59 17209 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
17210 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17211 (open_path): Change from boolean 'secure' to complete flag 'mode'
17212 (_dl_map_object): Adjust.
a42faf59
PP
17213 * elf/Makefile (tests): Add tst-dlopen-aout.
17214 * elf/tst-dlopen-aout.c: New test.
17215
50936127
SL
172162014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17217
17218 [BZ #16714]
17219 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17220 (struct stat): Rename member pad0 to __glibc_reserved0.
17221
26011b5c
SL
17222 [BZ #16712]
17223 * sysdeps/s390/s390-32/bits/wordsize.h
17224 (__WORDSIZE32_SIZE_ULONG): New define.
17225 * sysdeps/s390/s390-64/bits/wordsize.h
17226 (__WORDSIZE32_SIZE_ULONG): Likewise.
17227 * sysdeps/generic/stdint.h (SIZE_MAX):
17228 Define as UL if __WORDSIZE32_SIZE_ULONG.
17229
a2d86bf1
SL
17230 [BZ #16713]
17231 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17232 (__glibc_reserved0): New variable.
17233 (sa_flags): Change type to int.
17234
78b6eebc
SL
17235 * posix/Makefile (before-compile): Use += before-compile instead
17236 of a :=.
17237
f1399b5a
SL
17238 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17239 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17240
a071766e
AS
172412014-03-20 Andreas Schwab <schwab@suse.de>
17242
17243 [BZ #16743]
17244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17245 non-matching result from nscd.
17246
27c673b8
SP
172472014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17248
17249 * scripts/bench.py: Moved to ...
17250 * benchtests/scripts/bench.py: ... here.
17251 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17252
44152e4b
AS
172532014-03-24 Andreas Schwab <schwab@suse.de>
17254
17255 [BZ #16002]
17256 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17257 alloca_account and account alloca use for struct in6ailist.
17258
b376a11a
JM
172592014-03-24 Joseph Myers <joseph@codesourcery.com>
17260
17261 [BZ #16284]
17262 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17263 rounding mode to recompute results that overflow to infinity or
17264 underflow to zero.
17265 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17266 bug 16284.
17267 * math/auto-libm-test-out: Regenerated.
17268 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17269 (ccosh_test): Likewise.
17270 (csin_test_data): Use plus_oflow.
17271 (csin_test): Use ALL_RM_TEST.
17272 (csinh_test_data): Use plus_oflow.
17273 (csinh_test): Use ALL_RM_TEST.
17274 * sysdeps/i386/fpu/libm-test-ulps: Update.
17275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17276
f7be7376
JM
172772014-03-21 Joseph Myers <joseph@codesourcery.com>
17278
1ca2d03e
JM
17279 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17280 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17281 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17282
f7be7376
JM
17283 [BZ #16731]
17284 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17285 when x - 1 is zero.
17286 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17287 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17288 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17289 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17290 argument is 1.
17291 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17292 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17293 zero.
17294 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17295 * sysdeps/i386/fpu/libm-test-ulps: Update.
17296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17297
fdf4534d
SP
172982014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17299
df26ea53
SP
17300 * scripts/bench.pl: Remove file.
17301 * scripts/bench.py: New benchmark script.
17302 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17303 * benchtests/README: Mention python dependency.
17304 * scripts/pylintrc: New file.
17305 * scripts/pylint: New file.
17306
fdf4534d
SP
17307 * bits/mathdef.h: Use #ifdef instead of #if.
17308 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17309 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17310 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17311 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17312 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17313 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17314
6f23d093
AZ
173152014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17316 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17317
17318 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17320 and strpbrk-ppc64 objects.
17321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17322 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17323 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17324 multiarch strpbrk for POWER7.
17325 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17326 multiarch strpbrk for PPC64.
17327 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17328 ifunc selector.
17329 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17330 strpbrk for POWER7.
17331
8c92dfff
JM
173322014-03-20 Joseph Myers <joseph@codesourcery.com>
17333
17334 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17335 (atan_test): Likewise.
17336 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17337 (atanh_test): Use ALL_RM_TEST.
17338 (atan2_test_data): Likewise.
17339 (cabs_test): Likewise.
17340 (cacosh_test): Likewise.
17341 (carg_test): Likewise.
17342 (casin_test): Likewise.
17343 (casinh_test): Likewise.
17344 (cbrt_test): Likewise.
17345 (csqrt_test): Likewise.
17346 (erf_test): Likewise.
17347 (erfc_test): Likewise.
17348 (pow10_test): Likewise.
17349 (exp2_test): Likewise.
17350 (hypot_test): Likewise.
17351 (j0_test): Likewise.
17352 (j1_test): Likewise.
17353 (lgamma_test): Likewise.
17354 (gamma_test): Likewise.
17355 (sincos_test): Likewise.
17356 (tanh_test): Likewise.
17357 (y0_test): Likewise.
17358 (y1_test): Likewise.
17359 * sysdeps/i386/fpu/libm-test-ulps: Update.
17360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17361
6eaf95cb
AZ
173622014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17363
a387428c
SP
17364 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
17366 and strcspn-ppc64 objects.
17367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17368 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17369 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17370 multiarch strcspn for POWER7.
17371 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17372 multiarch strcspn for PPC64.
17373 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17374 ifunc selector.
17375 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17376 strcspn for POWER7.
17377
ae3a5dff
JM
173782014-03-20 Joseph Myers <joseph@codesourcery.com>
17379
17380 * math/gen-libm-test.pl (generate_testfile): Expect only function
17381 name as argument to AUTO_TESTS_* and pass results for all rounding
17382 modes to parse_args.
17383 (parse_auto_input): Separate inputs of automatic tests from
17384 outputs before storing in %auto_tests.
17385 * math/libm-test.inc (acos_test_data): Update call to
17386 AUTO_TESTS_f_f.
17387 (acos_test): Use ALL_RM_TEST.
17388 (acos_tonearest_test_data): Remove.
17389 (acos_test_tonearest): Likewise.
17390 (acos_towardzero_test_data): Likewise.
17391 (acos_test_towardzero): Likewise.
17392 (acos_downward_test_data): Likewise.
17393 (acos_test_downward): Likewise.
17394 (acos_upward_test_data): Likewise.
17395 (acos_test_upward): Likewise.
17396 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17397 (asin_test_data): Likewise.
17398 (asin_test): Use ALL_RM_TEST.
17399 (asin_tonearest_test_data): Remove.
17400 (asin_test_tonearest): Likewise.
17401 (asin_towardzero_test_data): Likewise.
17402 (asin_test_towardzero): Likewise.
17403 (asin_downward_test_data): Likewise.
17404 (asin_test_downward): Likewise.
17405 (asin_upward_test_data): Likewise.
17406 (asin_test_upward): Likewise.
17407 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17408 (atan_test_data): Likewise.
17409 (atanh_test_data): Likewise.
17410 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17411 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17412 (carg_test_data): Likewise.
17413 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17414 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17415 (ccosh_test_data): Likewise.
17416 (cexp_test_data): Likewise.
17417 (clog_test_data): Likewise.
17418 (clog10_test_data): Likewise.
17419 (cos_test_data): Update call to AUTO_TESTS_f_f.
17420 (cos_test): Use ALL_RM_TEST.
17421 (cos_tonearest_test_data): Remove.
17422 (cos_test_tonearest): Likewise.
17423 (cos_towardzero_test_data): Likewise.
17424 (cos_test_towardzero): Likewise.
17425 (cos_downward_test_data): Likewise.
17426 (cos_test_downward): Likewise.
17427 (cos_upward_test_data): Likewise.
17428 (cos_test_upward): Likewise.
17429 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17430 (cosh_test): Use ALL_RM_TEST.
17431 (cosh_tonearest_test_data): Remove.
17432 (cosh_test_tonearest): Likewise.
17433 (cosh_towardzero_test_data): Likewise.
17434 (cosh_test_towardzero): Likewise.
17435 (cosh_downward_test_data): Likewise.
17436 (cosh_test_downward): Likewise.
17437 (cosh_upward_test_data): Likewise.
17438 (cosh_test_upward): Likewise.
17439 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17440 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17441 (ctan_test_data): Likewise.
17442 (ctan_test): Use ALL_RM_TEST.
17443 (ctan_tonearest_test_data): Remove.
17444 (ctan_test_tonearest): Likewise.
17445 (ctan_towardzero_test_data): Likewise.
17446 (ctan_test_towardzero): Likewise.
17447 (ctan_downward_test_data): Likewise.
17448 (ctan_test_downward): Likewise.
17449 (ctan_upward_test_data): Likewise.
17450 (ctan_test_upward): Likewise.
17451 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17452 (ctanh_test): Use ALL_RM_TEST.
17453 (ctanh_tonearest_test_data): Remove.
17454 (ctanh_test_tonearest): Likewise.
17455 (ctanh_towardzero_test_data): Likewise.
17456 (ctanh_test_towardzero): Likewise.
17457 (ctanh_downward_test_data): Likewise.
17458 (ctanh_test_downward): Likewise.
17459 (ctanh_upward_test_data): Likewise.
17460 (ctanh_test_upward): Likewise.
17461 (erf_test_data): Update call to AUTO_TESTS_f_f.
17462 (erfc_test_data): Likewise.
17463 (exp_test_data): Likewise.
17464 (exp_test): Use ALL_RM_TEST.
17465 (exp_tonearest_test_data): Remove.
17466 (exp_test_tonearest): Likewise.
17467 (exp_towardzero_test_data): Likewise.
17468 (exp_test_towardzero): Likewise.
17469 (exp_downward_test_data): Likewise.
17470 (exp_test_downward): Likewise.
17471 (exp_upward_test_data): Likewise.
17472 (exp_test_upward): Likewise.
17473 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17474 (exp10_test): Use ALL_RM_TEST.
17475 (exp10_tonearest_test_data): Remove.
17476 (exp10_test_tonearest): Likewise.
17477 (exp10_towardzero_test_data): Likewise.
17478 (exp10_test_towardzero): Likewise.
17479 (exp10_downward_test_data): Likewise.
17480 (exp10_test_downward): Likewise.
17481 (exp10_upward_test_data): Likewise.
17482 (exp10_test_upward): Likewise.
17483 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17484 (expm1_test_data): Likewise.
17485 (expm1_test): Use ALL_RM_TEST.
17486 (expm1_tonearest_test_data): Remove.
17487 (expm1_test_tonearest): Likewise.
17488 (expm1_towardzero_test_data): Likewise.
17489 (expm1_test_towardzero): Likewise.
17490 (expm1_downward_test_data): Likewise.
17491 (expm1_test_downward): Likewise.
17492 (expm1_upward_test_data): Likewise.
17493 (expm1_test_upward): Likewise.
17494 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17495 (fma_test): Use ALL_RM_TEST.
17496 (fma_towardzero_test_data): Remove.
17497 (fma_test_towardzero): Likewise.
17498 (fma_downward_test_data): Likewise.
17499 (fma_test_downward): Likewise.
17500 (fma_upward_test_data): Likewise.
17501 (fma_test_upward): Likewise.
17502 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17503 (j0_test_data): Update call to AUTO_TESTS_f_f.
17504 (j1_test_data): Likewise.
17505 (jn_test_data): Update call to AUTO_TESTS_if_f.
17506 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17507 (log_test_data): Update call to AUTO_TESTS_f_f.
17508 (log10_test_data): Likewise.
17509 (log1p_test_data): Likewise.
17510 (log2_test_data): Likewise.
17511 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17512 (pow_tonearest_test_data): Likewise.
17513 (sin_test_data): Update call to AUTO_TESTS_f_f.
17514 (sin_test): Use ALL_RM_TEST.
17515 (sin_tonearest_test_data): Remove.
17516 (sin_test_tonearest): Likewise.
17517 (sin_towardzero_test_data): Likewise.
17518 (sin_test_towardzero): Likewise.
17519 (sin_downward_test_data): Likewise.
17520 (sin_test_downward): Likewise.
17521 (sin_upward_test_data): Likewise.
17522 (sin_test_upward): Likewise.
17523 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17524 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17525 (sinh_test): Use ALL_RM_TEST.
17526 (sinh_tonearest_test_data): Remove.
17527 (sinh_test_tonearest): Likewise.
17528 (sinh_towardzero_test_data): Likewise.
17529 (sinh_test_towardzero): Likewise.
17530 (sinh_downward_test_data): Likewise.
17531 (sinh_test_downward): Likewise.
17532 (sinh_upward_test_data): Likewise.
17533 (sinh_test_upward): Likewise.
17534 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17535 (sqrt_test): Use ALL_RM_TEST.
17536 (sqrt_tonearest_test_data): Remove.
17537 (sqrt_test_tonearest): Likewise.
17538 (sqrt_towardzero_test_data): Likewise.
17539 (sqrt_test_towardzero): Likewise.
17540 (sqrt_downward_test_data): Likewise.
17541 (sqrt_test_downward): Likewise.
17542 (sqrt_upward_test_data): Likewise.
17543 (sqrt_test_upward): Likewise.
17544 (tan_test_data): Update call to AUTO_TESTS_f_f.
17545 (tan_test): Use ALL_RM_TEST.
17546 (tan_tonearest_test_data): Remove.
17547 (tan_test_tonearest): Likewise.
17548 (tan_towardzero_test_data): Likewise.
17549 (tan_test_towardzero): Likewise.
17550 (tan_downward_test_data): Likewise.
17551 (tan_test_downward): Likewise.
17552 (tan_upward_test_data): Likewise.
17553 (tan_test_upward): Likewise.
17554 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17555 (tgamma_test_data): Likewise.
17556 (y0_test_data): Likewise.
17557 (y1_test_data): Likewise.
17558 (yn_test_data): Update call to AUTO_TESTS_if_f.
17559 (main): Do not call removed functions.
17560
d71aeee8
JM
175612014-03-19 Joseph Myers <joseph@codesourcery.com>
17562
17563 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17564 (ldexp_test_data): Remove.
17565 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17566 scalbn_test_data.
17567 (scalb_test): Use ALL_RM_TEST.
17568
baaf1ded
AS
175692014-03-19 Andreas Schwab <schwab@suse.de>
17570
17571 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17572
b1115e91
JM
175732014-03-19 Joseph Myers <joseph@codesourcery.com>
17574
17575 [BZ #16649]
17576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17577 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17578 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17580 (__ASSUME_PREADV): Undefine.
17581 (__ASSUME_PWRITEV): Likewise.
17582
0283ecca
RM
175832014-03-18 Roland McGrath <roland@hack.frob.com>
17584
7d375303
RM
17585 * bits/mman-linux.h: Add comment about non-Linux use.
17586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17587 bits/mman-linux.h resting place.
17588
0283ecca
RM
17589 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17590 * bits/mman-linux.h: ... here.
17591
aebe1003
AZ
175922014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17593
17594 * conform/conformtest.pl: Add standard definition when calling C
17595 preprocessor on data files.
17596 (checknamespace): Remove unused variable.
17597
b29b6bb8
JM
175982014-03-18 Joseph Myers <joseph@codesourcery.com>
17599
17600 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17601 minus_oflow, plus_uflow and minus_uflow in expected results.
17602 * math/libm-test.inc (scalbn_test_data): Add more tests of
17603 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
17604 minus_uflow.
17605 (scalbn_test): Use ALL_RM_TEST.
17606 (scalbln_test_data): Add more tests of negative arguments. Use
17607 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17608 (scalbln_test): Use ALL_RM_TEST.
17609
c8f8fa15
RM
176102014-03-18 Roland McGrath <roland@hack.frob.com>
17611
17612 * scripts/abilist.awk: Ignore symbols marked with .hidden.
17613
fede7a5f
WN
176142014-03-18 Will Newton <will.newton@linaro.org>
17615
17616 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17617 inaccurate comment.
17618
80cf0a58
JM
176192014-03-18 Joseph Myers <joseph@codesourcery.com>
17620
17621 * Makerules [!subdir] (check-abi): Exit with error status if a
17622 test failed.
17623
b3620862
JM
176242014-03-17 Joseph Myers <joseph@codesourcery.com>
17625
17626 * math/libm-test.inc (nearbyint_test_data): Include all tests used
17627 for rint. Include results for all rounding modes.
17628 (nearbyint_test): Use ALL_RM_TEST.
17629 (rint_test_data): Include all tests used for nearbyint.
17630
788bba36
WN
176312014-03-17 Will Newton <will.newton@linaro.org>
17632
04ec140a
WN
17633 * nptl/sysdeps/pthread/pthread.h: Revert previous
17634 change.
17635
7579d8d5
WN
17636 * sysdeps/generic/ldsodefs.h: Revert previous
17637 change.
17638
c15cf13a
WN
17639 * libio/genops.c: Revert previous change.
17640 * libio/libioP.h: Likewise.
17641 * stdio-common/vfprintf.c: Likewise.
17642
d0ac1324
WN
17643 * sysdeps/generic/math_private.h: Revert previous
17644 change.
17645
9290130a
WN
17646 * sysdeps/generic/math_private.h: Check whether
17647 HAVE_RM_CTX is defined with #ifdef rather
17648 than #if.
17649
afb466fc
WN
17650 * argp/argp-fmtstream.h: Check whether
17651 __STRICT_ANSI__ is defined with #ifdef rather
17652 than #if.
17653 * argp/argp.h: Likewise.
17654
f7efd7c3
WN
17655 * libio/genops.c: Check whether
17656 _IO_JUMPS_OFFSET is defined with #ifdef rather
17657 than #if.
17658 * libio/libioP.h: Likewise.
17659 * stdio-common/vfprintf.c: Likewise.
17660
53f1bed3
WN
17661 * sysdeps/generic/ldsodefs.h: Check whether
17662 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17663 than #if.
17664
788bba36
WN
17665 * nptl/sysdeps/pthread/pthread.h: Check
17666 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17667 its value.
17668
fcd89ebe
SP
176692014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17670
ae42bbc5
SP
17671 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17672 setting O_APPEND.
17673 * libio/tst-ftell-active-handler.c (do_append_test): Add a
17674 test case.
17675
ea33158c
SP
17676 [BZ #16680]
17677 * libio/fileops.c (_IO_file_open): Seek to end of file but
17678 don't cache the offset.
17679 (get_file_offset): Remove function.
17680 (do_ftell): Use cached offset when available.
17681 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17682 don't cache the offset.
17683 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17684 case.
17685 (do_one_test): Call it.
17686 (do_ftell_test): Fix up expected old offset for a+ mode.
17687 * libio/wfileops.c (do_ftell_wide): Used cached offset when
17688 available.
17689
b1dbb426
SP
17690 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17691 up test status with function return status.
17692 (do_write_test): Likewise.
17693 (do_append_test): Likewise.
17694
fcd89ebe
SP
17695 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17696 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17697 Remove.
17698
9962a2d3
JM
176992014-03-17 Joseph Myers <joseph@codesourcery.com>
17700
17701 * math/gen-libm-test.pl (parse_args): Handle results specified for
17702 each rounding mode separately.
17703 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17704 tests and results from lrint_tonearest_test_data,
17705 lrint_towardzero_test_data, lrint_downward_test_data and
17706 lrint_upward_test_data.
17707 (lrint_test): Use ALL_RM_TEST.
17708 (lrint_tonearest_test_data): Remove.
17709 (lrint_test_tonearest): Likewise.
17710 (lrint_towardzero_test_data): Likewise.
17711 (lrint_test_towardzero): Likewise.
17712 (lrint_downward_test_data): Likewise.
17713 (lrint_test_downward): Likewise.
17714 (lrint_upward_test_data): Likewise.
17715 (lrint_test_upward): Likewise.
17716 (llrint_test_data): Merge in per-rounding-mode tests and results
17717 from llrint_tonearest_test_data, llrint_towardzero_test_data,
17718 llrint_downward_test_data and llrint_upward_test_data.
17719 (llrint_test): Use ALL_RM_TEST.
17720 (llrint_tonearest_test_data): Remove.
17721 (llrint_test_tonearest): Likewise.
17722 (llrint_towardzero_test_data): Likewise.
17723 (llrint_test_towardzero): Likewise.
17724 (llrint_downward_test_data): Likewise.
17725 (llrint_test_downward): Likewise.
17726 (llrint_upward_test_data): Likewise.
17727 (llrint_test_upward): Likewise.
17728 (rint_test_data): Merge in per-rounding-mode tests and results
17729 from rint_tonearest_test_data, rint_towardzero_test_data,
17730 rint_downward_test_data and rint_upward_test_data. Add
17731 per-rounding-mode results for tests not in those arrays.
17732 (rint_test): Use ALL_RM_TEST.
17733 (rint_tonearest_test_data): Remove.
17734 (rint_test_tonearest): Likewise.
17735 (rint_towardzero_test_data): Likewise.
17736 (rint_test_towardzero): Likewise.
17737 (rint_downward_test_data): Likewise.
17738 (rint_test_downward): Likewise.
17739 (rint_upward_test_data): Likewise.
17740 (rint_test_upward): Likewise.
17741 (main): Don't call removed functions.
17742
5006148e
RM
177432014-03-14 Roland McGrath <roland@hack.frob.com>
17744
17745 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17746 "Compiled on ..." crapola. It is anti-useful.
17747
d6fe5e58
JM
177482014-03-14 Joseph Myers <joseph@codesourcery.com>
17749
17750 * scripts/evaluate-test.sh: Handle fourth argument to determine
17751 whether test run should stop on failure.
17752 * Makeconfig (stop-on-test-failure): New variable.
17753 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17754 $(stop-on-test-failure).
17755 * Makefile (tests): Give a summary of results from testing and
17756 exit with failure status if they include an ERROR or FAIL.
17757 (xtests): Likewise.
17758 * manual/install.texi (Configuring and compiling): Mention
17759 stop-on-test-failure=y.
17760 * INSTALL: Regenerated.
17761
498a2233
RM
177622014-03-14 Roland McGrath <roland@hack.frob.com>
17763
22dbc19d
RM
17764 * scripts/versionlist.awk: New file.
17765 * Makerules [$(build-shared) = yes]
17766 (postclean-generated): Add Versions.def, not Versions.def.v and
17767 Versions.def.v.i.
17768 ($(common-objpfx)Versions.def.v.i): Target removed.
17769 ($(common-objpfx)Versions.def): New target.
17770 ($(common-objpfx)Versions.all): Depend on that rather that
17771 $(common-objpfx)Versions.def.v.
17772 * Versions.def: File removed.
17773
498a2233
RM
17774 * Makeconfig (+gccwarn): Add -Wundef.
17775 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17776 a dl-sysdep.h breaking its contract.
17777 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17778 * include/stackinfo.h: New file.
17779 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17780 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17781 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17782 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17783 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17784 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17785 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17786 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17787 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17788 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17789 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17790 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17791 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17792 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17793 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17794
c7de5025
AZ
177952014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17796
17797 [BZ #16707]
17798 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17799 implementation.
17800 * math/libm-test.inc (round_test_data): Add more tests.
17801
98fb27a3
AZ
17802 [BZ #16706]
17803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17804 implementation.
17805 * math/libm-test.inc (nearbyint_test_data): Add more tests.
17806
374f7f61
AZ
17807 [BZ #16701]
17808 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17809 implementation.
17810 * math/libm-test.inc (ceil_test_data): Add more tests.
17811
4655c291
AZ
17812 * math/libm-test.inc (trunc_test_data): Add more tests related to
17813 BZ#16414.
17814
d7329d4b
RM
178152014-03-14 Roland McGrath <roland@hack.frob.com>
17816
17817 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17818 with #if rather than #ifdef.
17819 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17820
aa4de9ce
L
178212014-03-14 H.J. Lu <hongjiu.lu@intel.com>
17822
17823 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17824 first. Disable AVX-512 GCC support if assembler doesn't support
17825 it.
17826 * sysdeps/x86_64/configure: Regenerated.
17827
2e03fae7
CD
178282014-03-13 Carlos O'Donell <carlos@redhat.com>
17829
17830 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17831 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17832 (__old_pthread_attr_setstack): Likewise.
17833 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17834 [!_STACK_GROWS_DOWN]: Likewise.
17835
43ca83ec
MF
178362014-03-13 Mike Frysinger <vapier@gentoo.org>
17837
17838 * config.make.in (have-bash2): Delete.
17839 * configure.ac (libc_cv_have_bash2): Delete.
17840 * configure: Regenerate.
17841 * elf/Makefile (common-ldd-rewrite): Rename to ...
17842 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
17843 (sh-ldd-rewrite): Delete.
17844 (bash-ldd-rewrite): Delete.
17845 (have-bash2): Delete checks.
57f41c40
AS
17846 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17847 ldd-rewrite.
c66e48b4
MF
17848
17849 * config.make.in (have-ksh): Delete.
17850 (KSH): Delete.
17851 * configure.ac (libc_cv_have_ksh): Delete.
17852 * configure: Regenerate.
17853
b93834ef
MF
17854 * elf/Makefile: Delete $(have-ksh) check.
17855 ($(objpfx)sotruss): Change KSH to BASH.
17856 * elf/sotruss.ksh: Rename to ...
17857 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
17858 function style to match POSIX. Drop ksh vim mode setting.
17859
f3a4632a
MF
17860 * manual/time.texi (Specifying the Time Zone with TZ): Change
17861 Tuesday to Thursday.
17862
5896c8bd
MF
17863 * debug/tst-longjmp_chk2.c: Update header comment.
17864 (stackoverflow_handler): Add comment. Call assert on pass value.
17865
2d63a517
IZ
178662014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
17867
7e54fd04 17868 [BZ #16194]
2d63a517
IZ
17869 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17870 (HAVE_AVX512_ASM_SUPPORT): Likewise.
17871 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17872 (La_x86_64_vector): Add zmm.
17873 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17874 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17875 ($(objpfx)tst-audit10): New target.
17876 ($(objpfx)tst-audit10.out): Likewise.
17877 (tst-audit10-ENV): New.
17878 (AVX512-CFLAGS): Likewise.
17879 (CFLAGS-tst-audit10.c): Likewise.
17880 (CFLAGS-tst-auditmod10a.c): Likewise.
17881 (CFLAGS-tst-auditmod10b.c): Likewise.
17882 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17883 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17884 * sysdeps/x86_64/configure: Regenerated.
17885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17886 AVX-512 zmm register support.
17887 (_dl_x86_64_save_sse): Likewise.
17888 (_dl_x86_64_restore_sse): Likewise.
17889 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17890 size vector registers.
17891 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17892 (ZMM_SIZE): Likewise.
17893 * sysdeps/x86_64/tst-audit10.c: New file.
17894 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17895 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17896
44c4e5d5
RM
178972014-03-13 Roland McGrath <roland@hack.frob.com>
17898
17899 * configure.ac (HAVE_EHDR_START): New check.
17900 * configure: Regenerated.
17901 * config.h.in (HAVE_EHDR_START): New #undef.
17902 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17903 assuming the lowest-addressed segment maps the start of the file.
17904
acd6e389
JM
179052014-03-13 Joseph Myers <joseph@codesourcery.com>
17906
17907 * INSTALL: Regenerated.
17908
6f918f36
WN
179092014-03-13 Will Newton <will.newton@linaro.org>
17910
17911 * manual/setjmp.texi (System V contexts): Improve
17912 clarity and grammar of documentation.
17913
798212a0
PP
179142014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17915
17916 [BZ #16381]
798212a0 17917 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 17918 (tests-pie): Add tst-pie2.
798212a0
PP
17919 * elf/tst-pie2.c: New file.
17920 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17921 for ET_EXEC.
17922 * elf/rtld.c (map_doit): Load executable as lt_executable.
17923 (dl_main): Likewise.
17924
abe6d90c
JM
179252014-03-12 Joseph Myers <joseph@codesourcery.com>
17926
17927 [BZ #16642]
17928 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17929 (__ASSUME_PSELECT): Undefine.
17930
dd3946c6
AZ
179312014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932
17933 [BZ #16689]
17934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17935 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17936 static build.
17937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17938 selector for static builds.
17939
c44496df
SP
179402014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17941
17942 [BZ #16695]
17943 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17944 key in the buffer.
17945
27c7220a
AZ
179462014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17947
57f41c40
AS
17948 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17949 IFUNC selector for static builds.
27c7220a 17950
600fa361
JM
179512014-03-11 Joseph Myers <joseph@codesourcery.com>
17952
76c96cf7
JM
17953 * sysdeps/mips/math_private.h [__mips_hard_float]
17954 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17955 libc_feresetround_mips_ctx.
17956 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17957 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17958 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17959
600fa361
JM
17960 [BZ #16677]
17961 * math/s_nextafter.c (__nextafter): Do not return value from
17962 overflowing computation.
17963 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17964 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17965 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17966 Likewise.
17967 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17968 Likewise.
17969 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17970 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17971
d7706c32
RM
179722014-03-11 Roland McGrath <roland@hack.frob.com>
17973
17974 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17975 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17976 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17977 the new mov targetting sp.
17978
4facea47
AZ
179792014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17980
17981 [BZ #16683]
17982 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17983 Define it for static builds as well.
17984 (NO_BZERO_IMPL): Likewise.
17985
e65caf1f
VR
179862014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17987
17988 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17989 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17990 multiarch strspn for PPC64.
17991 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17992 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17994 (__libc_ifunc_impl_list): Likewise.
17995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17996 multiarch optimizations
17997 * string/strspn.c (strspn): Using macro to redefine symbol name.
17998
ba9cc071
AZ
179992014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18000 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18001
18002 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18003 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18004 multiarch strncat for PPC64.
18005 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18006 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18008 (__libc_ifunc_impl_list): Likewise.
18009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18010 multiarch optimizations
18011
8b4ff974
SP
180122014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18013
18014 [BZ #16639]
18015 * nscd/nscd.service: Make service type forking.
18016
54b46a4b
AZ
180172014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18018
18019 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18020 sign in non default rounding modes.
18021 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18022
e9996ef7
JM
180232014-03-08 Joseph Myers <joseph@codesourcery.com>
18024
18025 * math/libm-test.inc (ALL_RM_TEST): New macro.
18026 (ceil_test): Use ALL_RM_TEST.
18027 (cimag_test): Likewise.
18028 (conj_test): Likewise.
18029 (copysign_test): Likewise.
18030 (cproj_test): Likewise.
18031 (creal_test): Likewise.
18032 (fabs_test): Likewise.
18033 (floor_test): Likewise.
18034 (fmax_test): Likewise.
18035 (fmin_test): Likewise.
18036 (fmod_test): Likewise.
18037 (fpclassify_test): Likewise.
18038 (frexp_test): Likewise.
18039 (ilogb_test): Likewise.
18040 (isfinite_test): Likewise.
18041 (finite_test): Likewise.
18042 (isgreater_test): Likewise.
18043 (isgreaterequal_test): Likewise.
18044 (isinf_test): Likewise.
18045 (isless_test): Likewise.
18046 (islessequal_test): Likewise.
18047 (islessgreater_test): Likewise.
18048 (isnan_test): Likewise.
18049 (isnormal_test): Likewise.
18050 (issignaling_test): Likewise.
18051 (isunordered_test): Likewise.
18052 (logb_test): Likewise.
18053 (logb_downward_test_data): Remove.
18054 (logb_test_downward): Likewise.
18055 (lround_test): Use ALL_RM_TEST.
18056 (llround_test): Likewise.
18057 (modf_test): Likewise.
18058 (nexttoward_test): Likewise.
18059 (remainder_test): Likewise.
18060 (drem_test): Likewise.
18061 (remainder_tonearest_test_data): Likewise.
18062 (remainder_test_tonearest): Likewise.
18063 (drem_test_tonearest): Likewise.
18064 (remainder_towardzero_test_data): Likewise.
18065 (remainder_test_towardzero): Likewise.
18066 (drem_test_towardzero): Likewise.
18067 (remainder_downward_test_data): Likewise.
18068 (remainder_test_downward): Likewise.
18069 (drem_test_downward): Likewise.
18070 (remainder_upward_test_data): Likewise.
18071 (remainder_test_upward): Likewise.
18072 (drem_test_upward): Likewise.
18073 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18074 (round_test): Use ALL_RM_TEST.
18075 (signbit_test): Likewise.
18076 (trunc_test): Likewise.
18077 (significand_test): Likewise.
18078 (main): Don't call removed functions.
18079
bc61d27c
JM
180802014-03-07 Joseph Myers <joseph@codesourcery.com>
18081
5c780849
JM
18082 [BZ #16674]
18083 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18084 || __USE_XOPEN2K8].
18085 (ILL_ILLOPN): Likewise.
18086 (ILL_ILLADR): Likewise.
18087 (ILL_ILLTRP): Likewise.
18088 (ILL_PRVOPC): Likewise.
18089 (ILL_PRVREG): Likewise.
18090 (ILL_COPROC): Likewise.
18091 (ILL_BADSTK): Likewise.
18092 (FPE_INTDIV): Likewise.
18093 (FPE_INTOVF): Likewise.
18094 (FPE_FLTDIV): Likewise.
18095 (FPE_FLTOVF): Likewise.
18096 (FPE_FLTUND): Likewise.
18097 (FPE_FLTRES): Likewise.
18098 (FPE_FLTINV): Likewise.
18099 (FPE_FLTSUB): Likewise.
18100 (SEGV_MAPERR): Likewise.
18101 (SEGV_ACCERR): Likewise.
18102 (BUS_ADRALN): Likewise.
18103 (BUS_ADRERR): Likewise.
18104 (BUS_OBJERR): Likewise.
18105 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18106 (TRAP_TRACE): Likewise.
18107 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18108 __USE_XOPEN2K8].
18109 (CLD_KILLED): Likewise.
18110 (CLD_DUMPED): Likewise.
18111 (CLD_TRAPPED): Likewise.
18112 (CLD_STOPPED): Likewise.
18113 (CLD_CONTINUED): Likewise.
18114 (POLL_IN): Likewise.
18115 (POLL_OUT): Likewise.
18116 (POLL_MSG): Likewise.
18117 (POLL_ERR): Likewise.
18118 (POLL_PRI): Likewise.
18119 (POLL_HUP): Likewise.
18120 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18121 Likewise.
18122 (ILL_ILLOPN): Likewise.
18123 (ILL_ILLADR): Likewise.
18124 (ILL_ILLTRP): Likewise.
18125 (ILL_PRVOPC): Likewise.
18126 (ILL_PRVREG): Likewise.
18127 (ILL_COPROC): Likewise.
18128 (ILL_BADSTK): Likewise.
18129 (FPE_INTDIV): Likewise.
18130 (FPE_INTOVF): Likewise.
18131 (FPE_FLTDIV): Likewise.
18132 (FPE_FLTOVF): Likewise.
18133 (FPE_FLTUND): Likewise.
18134 (FPE_FLTRES): Likewise.
18135 (FPE_FLTINV): Likewise.
18136 (FPE_FLTSUB): Likewise.
18137 (SEGV_MAPERR): Likewise.
18138 (SEGV_ACCERR): Likewise.
18139 (BUS_ADRALN): Likewise.
18140 (BUS_ADRERR): Likewise.
18141 (BUS_OBJERR): Likewise.
18142 (BUS_MCEERR_AR): Likewise.
18143 (BUS_MCEERR_AO): Likewise.
18144 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18145 (TRAP_TRACE): Likewise.
18146 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18147 __USE_XOPEN2K8].
18148 (CLD_KILLED): Likewise.
18149 (CLD_DUMPED): Likewise.
18150 (CLD_TRAPPED): Likewise.
18151 (CLD_STOPPED): Likewise.
18152 (CLD_CONTINUED): Likewise.
18153 (POLL_IN): Likewise.
18154 (POLL_OUT): Likewise.
18155 (POLL_MSG): Likewise.
18156 (POLL_ERR): Likewise.
18157 (POLL_PRI): Likewise.
18158 (POLL_HUP): Likewise.
18159 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18160 (ILL_ILLOPN): Likewise.
18161 (ILL_ILLADR): Likewise.
18162 (ILL_ILLTRP): Likewise.
18163 (ILL_PRVOPC): Likewise.
18164 (ILL_PRVREG): Likewise.
18165 (ILL_COPROC): Likewise.
18166 (ILL_BADSTK): Likewise.
18167 (FPE_INTDIV): Likewise.
18168 (FPE_INTOVF): Likewise.
18169 (FPE_FLTDIV): Likewise.
18170 (FPE_FLTOVF): Likewise.
18171 (FPE_FLTUND): Likewise.
18172 (FPE_FLTRES): Likewise.
18173 (FPE_FLTINV): Likewise.
18174 (FPE_FLTSUB): Likewise.
18175 (SEGV_MAPERR): Likewise.
18176 (SEGV_ACCERR): Likewise.
18177 (BUS_ADRALN): Likewise.
18178 (BUS_ADRERR): Likewise.
18179 (BUS_OBJERR): Likewise.
18180 (BUS_MCEERR_AR): Likewise.
18181 (BUS_MCEERR_AO): Likewise.
18182 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18183 (TRAP_TRACE): Likewise.
18184 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18185 __USE_XOPEN2K8].
18186 (CLD_KILLED): Likewise.
18187 (CLD_DUMPED): Likewise.
18188 (CLD_TRAPPED): Likewise.
18189 (CLD_STOPPED): Likewise.
18190 (CLD_CONTINUED): Likewise.
18191 (POLL_IN): Likewise.
18192 (POLL_OUT): Likewise.
18193 (POLL_MSG): Likewise.
18194 (POLL_ERR): Likewise.
18195 (POLL_PRI): Likewise.
18196 (POLL_HUP): Likewise.
18197 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18198 Likewise.
18199 (ILL_ILLOPN): Likewise.
18200 (ILL_ILLADR): Likewise.
18201 (ILL_ILLTRP): Likewise.
18202 (ILL_PRVOPC): Likewise.
18203 (ILL_PRVREG): Likewise.
18204 (ILL_COPROC): Likewise.
18205 (ILL_BADSTK): Likewise.
18206 (ILL_BADIADDR): Likewise.
18207 (ILL_BREAK): Likewise.
18208 (FPE_INTDIV): Likewise.
18209 (FPE_INTOVF): Likewise.
18210 (FPE_FLTDIV): Likewise.
18211 (FPE_FLTOVF): Likewise.
18212 (FPE_FLTUND): Likewise.
18213 (FPE_FLTRES): Likewise.
18214 (FPE_FLTINV): Likewise.
18215 (FPE_FLTSUB): Likewise.
18216 (FPE_DECOVF): Likewise.
18217 (FPE_DECDIV): Likewise.
18218 (FPE_DECERR): Likewise.
18219 (FPE_INVASC): Likewise.
18220 (FPE_INVDEC): Likewise.
18221 (SEGV_MAPERR): Likewise.
18222 (SEGV_ACCERR): Likewise.
18223 (SEGV_PSTKOVF): Likewise.
18224 (BUS_ADRALN): Likewise.
18225 (BUS_ADRERR): Likewise.
18226 (BUS_OBJERR): Likewise.
18227 (BUS_MCEERR_AR): Likewise.
18228 (BUS_MCEERR_AO): Likewise.
18229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18230 (TRAP_TRACE): Likewise.
18231 (TRAP_BRANCH): Likewise.
18232 (TRAP_HWBKPT): Likewise.
18233 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18234 __USE_XOPEN2K8].
18235 (CLD_KILLED): Likewise.
18236 (CLD_DUMPED): Likewise.
18237 (CLD_TRAPPED): Likewise.
18238 (CLD_STOPPED): Likewise.
18239 (CLD_CONTINUED): Likewise.
18240 (POLL_IN): Likewise.
18241 (POLL_OUT): Likewise.
18242 (POLL_MSG): Likewise.
18243 (POLL_ERR): Likewise.
18244 (POLL_PRI): Likewise.
18245 (POLL_HUP): Likewise.
18246 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18247 (ILL_ILLOPN): Likewise.
18248 (ILL_ILLADR): Likewise.
18249 (ILL_ILLTRP): Likewise.
18250 (ILL_PRVOPC): Likewise.
18251 (ILL_PRVREG): Likewise.
18252 (ILL_COPROC): Likewise.
18253 (ILL_BADSTK): Likewise.
18254 (FPE_INTDIV): Likewise.
18255 (FPE_INTOVF): Likewise.
18256 (FPE_FLTDIV): Likewise.
18257 (FPE_FLTOVF): Likewise.
18258 (FPE_FLTUND): Likewise.
18259 (FPE_FLTRES): Likewise.
18260 (FPE_FLTINV): Likewise.
18261 (FPE_FLTSUB): Likewise.
18262 (SEGV_MAPERR): Likewise.
18263 (SEGV_ACCERR): Likewise.
18264 (BUS_ADRALN): Likewise.
18265 (BUS_ADRERR): Likewise.
18266 (BUS_OBJERR): Likewise.
18267 (BUS_MCEERR_AR): Likewise.
18268 (BUS_MCEERR_AO): Likewise.
18269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18270 (TRAP_TRACE): Likewise.
18271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18272 __USE_XOPEN2K8].
18273 (CLD_KILLED): Likewise.
18274 (CLD_DUMPED): Likewise.
18275 (CLD_TRAPPED): Likewise.
18276 (CLD_STOPPED): Likewise.
18277 (CLD_CONTINUED): Likewise.
18278 (POLL_IN): Likewise.
18279 (POLL_OUT): Likewise.
18280 (POLL_MSG): Likewise.
18281 (POLL_ERR): Likewise.
18282 (POLL_PRI): Likewise.
18283 (POLL_HUP): Likewise.
18284 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18285 (ILL_ILLOPN): Likewise.
18286 (ILL_ILLADR): Likewise.
18287 (ILL_ILLTRP): Likewise.
18288 (ILL_PRVOPC): Likewise.
18289 (ILL_PRVREG): Likewise.
18290 (ILL_COPROC): Likewise.
18291 (ILL_BADSTK): Likewise.
18292 (FPE_INTDIV): Likewise.
18293 (FPE_INTOVF): Likewise.
18294 (FPE_FLTDIV): Likewise.
18295 (FPE_FLTOVF): Likewise.
18296 (FPE_FLTUND): Likewise.
18297 (FPE_FLTRES): Likewise.
18298 (FPE_FLTINV): Likewise.
18299 (FPE_FLTSUB): Likewise.
18300 (SEGV_MAPERR): Likewise.
18301 (SEGV_ACCERR): Likewise.
18302 (BUS_ADRALN): Likewise.
18303 (BUS_ADRERR): Likewise.
18304 (BUS_OBJERR): Likewise.
18305 (BUS_MCEERR_AR): Likewise.
18306 (BUS_MCEERR_AO): Likewise.
18307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18308 (TRAP_TRACE): Likewise.
18309 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18310 __USE_XOPEN2K8].
18311 (CLD_KILLED): Likewise.
18312 (CLD_DUMPED): Likewise.
18313 (CLD_TRAPPED): Likewise.
18314 (CLD_STOPPED): Likewise.
18315 (CLD_CONTINUED): Likewise.
18316 (POLL_IN): Likewise.
18317 (POLL_OUT): Likewise.
18318 (POLL_MSG): Likewise.
18319 (POLL_ERR): Likewise.
18320 (POLL_PRI): Likewise.
18321 (POLL_HUP): Likewise.
18322 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18323 (ILL_ILLOPN): Likewise.
18324 (ILL_ILLADR): Likewise.
18325 (ILL_ILLTRP): Likewise.
18326 (ILL_PRVOPC): Likewise.
18327 (ILL_PRVREG): Likewise.
18328 (ILL_COPROC): Likewise.
18329 (ILL_BADSTK): Likewise.
18330 (FPE_INTDIV): Likewise.
18331 (FPE_INTOVF): Likewise.
18332 (FPE_FLTDIV): Likewise.
18333 (FPE_FLTOVF): Likewise.
18334 (FPE_FLTUND): Likewise.
18335 (FPE_FLTRES): Likewise.
18336 (FPE_FLTINV): Likewise.
18337 (FPE_FLTSUB): Likewise.
18338 (SEGV_MAPERR): Likewise.
18339 (SEGV_ACCERR): Likewise.
18340 (BUS_ADRALN): Likewise.
18341 (BUS_ADRERR): Likewise.
18342 (BUS_OBJERR): Likewise.
18343 (BUS_MCEERR_AR): Likewise.
18344 (BUS_MCEERR_AO): Likewise.
18345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18346 (TRAP_TRACE): Likewise.
18347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18348 __USE_XOPEN2K8].
18349 (CLD_KILLED): Likewise.
18350 (CLD_DUMPED): Likewise.
18351 (CLD_TRAPPED): Likewise.
18352 (CLD_STOPPED): Likewise.
18353 (CLD_CONTINUED): Likewise.
18354 (POLL_IN): Likewise.
18355 (POLL_OUT): Likewise.
18356 (POLL_MSG): Likewise.
18357 (POLL_ERR): Likewise.
18358 (POLL_PRI): Likewise.
18359 (POLL_HUP): Likewise.
18360 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18361 (ILL_ILLOPN): Likewise.
18362 (ILL_ILLADR): Likewise.
18363 (ILL_ILLTRP): Likewise.
18364 (ILL_PRVOPC): Likewise.
18365 (ILL_PRVREG): Likewise.
18366 (ILL_COPROC): Likewise.
18367 (ILL_BADSTK): Likewise.
18368 (ILL_DBLFLT): Likewise.
18369 (ILL_HARDWALL): Likewise.
18370 (FPE_INTDIV): Likewise.
18371 (FPE_INTOVF): Likewise.
18372 (FPE_FLTDIV): Likewise.
18373 (FPE_FLTOVF): Likewise.
18374 (FPE_FLTUND): Likewise.
18375 (FPE_FLTRES): Likewise.
18376 (FPE_FLTINV): Likewise.
18377 (FPE_FLTSUB): Likewise.
18378 (SEGV_MAPERR): Likewise.
18379 (SEGV_ACCERR): Likewise.
18380 (BUS_ADRALN): Likewise.
18381 (BUS_ADRERR): Likewise.
18382 (BUS_OBJERR): Likewise.
18383 (BUS_MCEERR_AR): Likewise.
18384 (BUS_MCEERR_AO): Likewise.
18385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18386 (TRAP_TRACE): Likewise.
18387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18388 __USE_XOPEN2K8].
18389 (CLD_KILLED): Likewise.
18390 (CLD_DUMPED): Likewise.
18391 (CLD_TRAPPED): Likewise.
18392 (CLD_STOPPED): Likewise.
18393 (CLD_CONTINUED): Likewise.
18394 (POLL_IN): Likewise.
18395 (POLL_OUT): Likewise.
18396 (POLL_MSG): Likewise.
18397 (POLL_ERR): Likewise.
18398 (POLL_PRI): Likewise.
18399 (POLL_HUP): Likewise.
18400 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18401 (ILL_ILLOPN): Likewise.
18402 (ILL_ILLADR): Likewise.
18403 (ILL_ILLTRP): Likewise.
18404 (ILL_PRVOPC): Likewise.
18405 (ILL_PRVREG): Likewise.
18406 (ILL_COPROC): Likewise.
18407 (ILL_BADSTK): Likewise.
18408 (FPE_INTDIV): Likewise.
18409 (FPE_INTOVF): Likewise.
18410 (FPE_FLTDIV): Likewise.
18411 (FPE_FLTOVF): Likewise.
18412 (FPE_FLTUND): Likewise.
18413 (FPE_FLTRES): Likewise.
18414 (FPE_FLTINV): Likewise.
18415 (FPE_FLTSUB): Likewise.
18416 (SEGV_MAPERR): Likewise.
18417 (SEGV_ACCERR): Likewise.
18418 (BUS_ADRALN): Likewise.
18419 (BUS_ADRERR): Likewise.
18420 (BUS_OBJERR): Likewise.
18421 (BUS_MCEERR_AR): Likewise.
18422 (BUS_MCEERR_AO): Likewise.
18423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18424 (TRAP_TRACE): Likewise.
18425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18426 __USE_XOPEN2K8].
18427 (CLD_KILLED): Likewise.
18428 (CLD_DUMPED): Likewise.
18429 (CLD_TRAPPED): Likewise.
18430 (CLD_STOPPED): Likewise.
18431 (CLD_CONTINUED): Likewise.
18432 (POLL_IN): Likewise.
18433 (POLL_OUT): Likewise.
18434 (POLL_MSG): Likewise.
18435 (POLL_ERR): Likewise.
18436 (POLL_PRI): Likewise.
18437 (POLL_HUP): Likewise.
18438 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18439 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18440
bc61d27c
JM
18441 [BZ #16670]
18442 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18443 before #include of <time.h>.
18444 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18445 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18446 (test-xfail-UNIX98/sched.h/conform): Likewise.
18447
302949e2
MS
184482014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18449
18450 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18451 error absence of trapping exception support.
18452 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18453
a00f522a
JM
184542014-03-07 Joseph Myers <joseph@codesourcery.com>
18455
6f99f280
JM
18456 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18457 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18458 * timezone/Makefile (testdata): Move definition above include of
18459 Rules.
18460 (test-zones): New variable.
18461 (tests-special): Add zone files.
18462 (build-testdata): Use $(evaluate-test).
18463
0b20a9e8
JM
18464 * elf/Makefile (tests-special): Rename tests to end with .out.
18465 ($(objpfx)noload-mem): Likewise.
18466 ($(objpfx)tst-leaks1-mem): Likewise.
18467 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18468 * iconv/Makefile (xtests-special): Change test-iconvconfig to
18469 $(objpfx)test-iconvconfig.out.
18470 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
18471 set -e inside subshell and redirect output to file.
18472 * iconvdata/Makefile (generated): Rename tests to end with .out.
18473 Correct type.
18474 (tests-special): Rename tests to end with .out.
18475 ($(objpfx)mtrace-tst-loading): Likewise.
18476 * intl/Makefile (generated): Likewise.
18477 (tests-special): Likewise.
18478 ($(objpfx)mtrace-tst-gettext): Likewise.
18479 * misc/Makefile (generated): Likewise.
18480 (tests-special): Likewise.
18481 ($(objpfx)tst-error1-mem): Likewise.
18482 * nptl/Makefile (tests-special): Likewise.
18483 ($(objpfx)tst-stack3-mem): Likewise.
18484 (generated): Likewise.
18485 * posix/Makefile (generated): Likewise.
18486 (tests-special): Likewise.
18487 (xtests-special): Likewise.
18488 ($(objpfx)tst-fnmatch-mem): Likewise.
18489 ($(objpfx)bug-regex2-mem): Likewise.
18490 ($(objpfx)bug-regex14-mem): Likewise.
18491 ($(objpfx)bug-regex21-mem): Likewise.
18492 ($(objpfx)bug-regex31-mem): Likewise.
18493 ($(objpfx)tst-vfork3-mem): Likewise.
18494 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18495 ($(objpfx)tst-pcre-mem): Likewise.
18496 ($(objpfx)tst-boost-mem): Likewise.
18497 ($(objpfx)bug-ga2-mem): Likewise.
18498 ($(objpfx)bug-glob2-mem): Likewise.
18499 * resolv/Makefile (generate): Likewise.
18500 (tests-special): Likewise.
18501 (xtests-special): Likewise.
18502 (generated): Likewise.
18503 ($(objpfx)mtrace-tst-leaks): Likewise.
18504 ($(objpfx)mtrace-tst-leaks2): Likewise.
18505
265d52ab
JM
18506 * scripts/merge-test-results.sh: New file.
18507 * Makefile (tests-special-notdir): New variable.
18508 (tests): Run merge-test-results.sh.
18509 (xtests): Likewise.
18510 * Rules (tests-special-notdir): New variable.
18511 (xtests-special-notdir): Likewise.
18512 (tests): Run merge-test-results.sh
18513 (xtests): Likewise.
18514
54ee292d
JM
18515 * Makeconfig (test-xfail-name): New variable.
18516 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18517 compute variable name for expected failures.
18518 * conform/Makefile (conformtest-headers-data): New variable.
18519 (conformtest-standards): Likewise.
18520 (conformtest-headers-ISO): Likewise.
18521 (conformtest-headers-ISO99): Likewise.
18522 (conformtest-headers-ISO11): Likewise.
18523 (conformtest-headers-POSIX): Likewise.
18524 (conformtest-headers-XPG3): Likewise.
18525 (conformtest-headers-XPG4): Likewise.
18526 (conformtest-headers-UNIX98): Likewise.
18527 (conformtest-headers-XOPEN2K): Likewise.
18528 (conformtest-headers-POSIX2008): Likewise.
18529 (conformtest-headers-XOPEN2K8): Likewise.
18530 (conformtest-header-list-base): Likewise.
18531 (conformtest-header-list-tests): Likewise.
18532 (conformtest-header-base): Likewise.
18533 (conformtest-header-tests): Likewise.
18534 (tests-special): Add $(conformtest-header-list-tests). If
18535 [$(fast-check) && !$(cross-compiling)], add
18536 $(conformtest-header-tests) instead of
18537 $(objpfx)run-conformtest.out.
18538 (generated): Add $(conformtest-header-list-base). If
18539 [$(fast-check) && !$(cross-compiling)], add
18540 $(conformtest-header-base). Remove previous setting.
18541 ($(conformtest-header-list-tests)): New target.
18542 (test-xfail-run-conformtest): Remove variable.
18543 ($(objpfx)run-conformtest.out): Remove target.
18544 (test-xfail-ISO11/complex.h/conform): New variable.
18545 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18546 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18547 (test-xfail-XPG3/varargs.h/conform): Likewise.
18548 (test-xfail-XPG4/varargs.h/conform): Likewise.
18549 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18550 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18551 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18552 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18553 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18554 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18555 (test-xfail-XPG3/ftw.h/conform): Likewise.
18556 (test-xfail-XPG3/grp.h/conform): Likewise.
18557 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18558 (test-xfail-XPG3/limits.h/conform): Likewise.
18559 (test-xfail-XPG3/pwd.h/conform): Likewise.
18560 (test-xfail-XPG3/search.h/conform): Likewise.
18561 (test-xfail-XPG3/signal.h/conform): Likewise.
18562 (test-xfail-XPG3/stdio.h/conform): Likewise.
18563 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18564 (test-xfail-XPG3/string.h/conform): Likewise.
18565 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18566 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18567 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18568 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18569 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18570 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18571 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18572 (test-xfail-XPG3/termios.h/conform): Likewise.
18573 (test-xfail-XPG3/time.h/conform): Likewise.
18574 (test-xfail-XPG3/unistd.h/conform): Likewise.
18575 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18576 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18577 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18578 (test-xfail-XPG4/netdb.h/conform): Likewise.
18579 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18580 (test-xfail-XPG4/signal.h/conform): Likewise.
18581 (test-xfail-XPG4/stdio.h/conform): Likewise.
18582 (test-xfail-XPG4/stdlib.h/conform): Likewise.
18583 (test-xfail-XPG4/stropts.h/conform): Likewise.
18584 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18585 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18586 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18587 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18588 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18589 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18590 (test-xfail-XPG4/sys/time.h/conform): Likewise.
18591 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18592 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18593 (test-xfail-XPG4/termios.h/conform): Likewise.
18594 (test-xfail-XPG4/ucontext.h/conform): Likewise.
18595 (test-xfail-XPG4/unistd.h/conform): Likewise.
18596 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18597 (test-xfail-POSIX/sched.h/conform): Likewise.
18598 (test-xfail-POSIX/signal.h/conform): Likewise.
18599 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18600 (test-xfail-POSIX/tar.h/conform): Likewise.
18601 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18602 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18603 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18604 (test-xfail-UNIX98/netdb.h/conform): Likewise.
18605 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18606 (test-xfail-UNIX98/sched.h/conform): Likewise.
18607 (test-xfail-UNIX98/signal.h/conform): Likewise.
18608 (test-xfail-UNIX98/stdio.h/conform): Likewise.
18609 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18610 (test-xfail-UNIX98/stropts.h/conform): Likewise.
18611 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18612 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18613 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18614 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18615 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18616 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18617 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18618 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18619 (test-xfail-UNIX98/unistd.h/conform): Likewise.
18620 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18621 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18622 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18623 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18624 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18625 (test-xfail-XOPEN2K/math.h/conform): Likewise.
18626 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18627 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18628 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18629 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18630 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18631 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18632 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18633 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18634 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18635 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18636 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18637 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18638 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18639 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18640 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18641 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18642 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18643 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18644 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18645 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18646 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18647 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18648 (test-xfail-POSIX2008/signal.h/conform): Likewise.
18649 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18650 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18651 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18652 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18653 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18654 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18655 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18656 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18657 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18658 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18659 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18660 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18661 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18662 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18663 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18664 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18665 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18666 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18667 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18668 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18669 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18670 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18671 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18672 (conformtest-cc-flags): Likewise.
18673 ($(conformtest-header-tests): New target.
18674 * conform/check-header-lists.sh: New file.
18675 * conform/run-conformtest.sh: Remove.
18676
a00f522a
JM
18677 * conform/conformtest.pl: Allow ' and \ in values given for
18678 constants.
18679 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18680 inclusion.
18681 [POSIX] (sys/types.h): Likewise.
18682 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18683 inclusion.
18684 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18685 inclusion.
18686 * conform/data/signal.h-data (SIGIO): Remove expectation.
18687 [XPG3] (SIGBUS): Do not expect.
18688 [POSIX || XPG3] (SIGPOLL): Likewise.
18689 [POSIX || XPG3] (SIGPROF): Likewise.
18690 [POSIX || XPG3] (SIGSYS): Likewise.
18691 [XPG3] (SIGTRAP): Likewise.
18692 [POSIX || XPG3] (SIGURG): Likewise.
18693 [POSIX || XPG3] (SIGVTALRM): Likewise.
18694 [POSIX || XPG3] (SIGXCPU): Likewise.
18695 [POSIX || XPG3] (SIGXFSZ): Likewise.
18696 [POSIX] (SA_SIGINFO): Expect.
18697 [XPG3] (siginfo_t): Do not expect type or contents.
18698 [POSIX] (si_pid): Do not expect element.
18699 [POSIX] (si_uid): Likewise.
18700 [POSIX] (si_addr): Likewise.
18701 [POSIX] (si_status): Likewise.
18702 [POSIX] (si_band): Likewise.
18703 [XPG4] (si_value): Likewise.
18704 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18705 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18706 [POSIX || XPG3] (ILL_ILLADR): Likewise.
18707 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18708 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18709 [POSIX || XPG3] (ILL_PRVREG): Likewise.
18710 [POSIX || XPG3] (ILL_COPROC): Likewise.
18711 [POSIX || XPG3] (ILL_BADSTK): Likewise.
18712 [POSIX || XPG3] (FPE_INTDIV): Likewise.
18713 [POSIX || XPG3] (FPE_INTOVF): Likewise.
18714 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18715 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18716 [POSIX || XPG3] (FPE_FLTUND): Likewise.
18717 [POSIX || XPG3] (FPE_FLTRES): Likewise.
18718 [POSIX || XPG3] (FPE_FLTINV): Likewise.
18719 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18720 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18721 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18722 [POSIX || XPG3] (BUS_ADRALN): Likewise.
18723 [POSIX || XPG3] (BUS_ADRERR): Likewise.
18724 [POSIX || XPG3] (BUS_OBJERR): Likewise.
18725 [POSIX || XPG3] (CLD_EXITED): Likewise.
18726 [POSIX || XPG3] (CLD_KILLED): Likewise.
18727 [POSIX || XPG3] (CLD_DUMPED): Likewise.
18728 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18729 [POSIX || XPG3] (CLD_STOPPED): Likewise.
18730 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18731 [POSIX || XPG3] (POLL_IN): Likewise.
18732 [POSIX || XPG3] (POLL_OUT): Likewise.
18733 [POSIX || XPG3] (POLL_MSG): Likewise.
18734 [POSIX || XPG3] (POLL_ERR): Likewise.
18735 [POSIX || XPG3] (POLL_PRI): Likewise.
18736 [POSIX || XPG3] (POLL_HUP): Likewise.
18737 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18738 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18739 (SIG*): Do not allow.
18740 [XPG3] (si_*): Likewise.
18741 [XPG3] (SI_*): Likewise.
18742 [XPG3 || XPG4] (sigev_*): Likewise.
18743 [XPG3 || XPG4] (SIGEV_*): Likewise.
18744 [XPG3 || XPG4] (sival_*): Likewise.
18745 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18746 [POSIX || XPG3] (BUS_*): Likewise.
18747 [POSIX || XPG3] (CLD_*): Likewise.
18748 [POSIX || XPG3] (FPE_*): Likewise.
18749 [POSIX || XPG3] (ILL_*): Likewise.
18750 [POSIX || XPG3] (POLL_*): Likewise.
18751 [POSIX || XPG3] (SEGV_*): Likewise.
18752 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18753 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18754 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18755 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18756 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18757 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18758 Specify type and value.
18759 (TVERSLEN): Likewise.
18760 (REGTYPE): Likewise.
18761 (AREGTYPE): Likewise.
18762 (LNKTYPE): Likewise.
18763 (SYMTYPE): Likewise.
18764 (CHRTYPE): Likewise.
18765 (BLKTYPE): Likewise.
18766 (DIRTYPE): Likewise.
18767 (FIFOTYPE): Likewise.
18768 (CONTTYPE): Likewise.
18769 (TSUID): Likewise.
18770 (TSGID): Likewise.
18771 (TSVTX): Likewise.
18772 (TUREAD): Likewise.
18773 (TUWRITE): Likewise.
18774 (TUEXEC): Likewise.
18775 (TGREAD): Likewise.
18776 (TGWRITE): Likewise.
18777 (TGEXEC): Likewise.
18778 (TOREAD): Likewise.
18779 (TOWRITE): Likewise.
18780 (TOEXEC): Likewise.
18781 [POSIX] (TSVTX): Expect constant.
18782
aa97dee1
JM
187832014-03-06 Joseph Myers <joseph@codesourcery.com>
18784
f214606a
JM
18785 * Makefile (tests): Change dependencies to ....
18786 (tests-special): ... additions to this variable.
18787 (tests): Depend on $(tests-special).
18788 * Makerules (check-abi-list): New variable.
18789 (check-abi): Depend on $(check-abi-list).
18790 [$(subdir) = elf] (tests-special): Add
18791 $(objpfx)check-abi-libc.out.
18792 [$(build-shared) = yes && subdir] (tests-special): Add
18793 $(check-abi-list).
18794 [$(build-shared) = yes && subdir] (tests): Do not depend on
18795 check-abi.
18796 * Rules (tests): Depend on $(tests-special).
18797 (xtests): Depend on $(xtests-special).
18798 * catgets/Makefile (tests): Change dependencies to ....
18799 (tests-special): ... additions to this variable.
18800 * conform/Makefile (tests): Change dependencies to ....
18801 (tests-special): ... additions to this variable.
18802 * elf/Makefile (tests): Change dependencies to ....
18803 (tests-special): ... additions to this variable.
18804 * grp/Makefile (tests): Change dependencies to ....
18805 (tests-special): ... additions to this variable.
18806 * iconv/Makefile (xtests): Change dependencies to ....
18807 (xtests-special): ... additions to this variable.
18808 * iconvdata/Makefile (tests): Change dependencies to ....
18809 (tests-special): ... additions to this variable.
18810 * intl/Makefile (tests): Change dependencies to ....
18811 (tests-special): ... additions to this variable. Also add
18812 $(objpfx)tst-gettext.out.
18813 * io/Makefile (tests): Change dependencies to ....
18814 (tests-special): ... additions to this variable.
18815 * libio/Makefile (tests): Change dependencies to ....
18816 (tests-special): ... additions to this variable.
18817 * malloc/Makefile (tests): Change dependencies to ....
18818 (tests-special): ... additions to this variable.
18819 * misc/Makefile (tests): Change dependencies to ....
18820 (tests-special): ... additions to this variable.
18821 * nptl/Makefile (tests): Change dependencies to ....
18822 (tests-special): ... additions to this variable.
18823 * nptl_db/Makefile (tests): Change dependencies to ....
18824 (tests-special): ... additions to this variable.
18825 * posix/Makefile (tests): Change dependencies to ....
18826 (tests-special): ... additions to this variable.
18827 (xtests): Change dependencies to ....
18828 (xtests-special): ... additions to this variable.
18829 * resolv/Makefile (tests): Change dependencies to ....
18830 (tests-special): ... additions to this variable.
18831 (xtests): Change dependencies to ....
18832 (xtests-special): ... additions to this variable.
18833 * stdio-common/Makefile (tests): Change dependencies to ....
18834 (tests-special): ... additions to this variable.
18835 (do-tst-unbputc): Remove target.
18836 (do-tst-printf): Likewise.
18837 * stdlib/Makefile (tests): Change dependencies to ....
18838 (tests-special): ... additions to this variable.
18839 * string/Makefile (tests): Change dependencies to ....
18840 (tests-special): ... additions to this variable.
18841 * sysdeps/x86/Makefile (tests): Change dependencies to ....
18842 (tests-special): ... additions to this variable.
18843
81700b53
JM
18844 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18845 whole file.
18846 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18847 whole file.
18848 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18849 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18850
2ea18461
JM
18851 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18852 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18853 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18854 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18855 * conform/data/libgen.h-data [XPG3]: Likewise.
18856 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18857 * conform/data/ndbm.h-data [XPG3]: Likewise.
18858 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18859 * conform/data/netdb.h-data [XPG3]: Likewise.
18860 * conform/data/netinet/in.h-data [XPG3]: Likewise.
18861 * conform/data/poll.h-data [XPG3]: Likewise.
18862 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18863 * conform/data/strings.h-data [XPG3]: Likewise.
18864 * conform/data/stropts.h-data [XPG3]: Likewise.
18865 * conform/data/sys/mman.h-data [XPG3]: Likewise.
18866 * conform/data/sys/resource.h-data [XPG3]: Likewise.
18867 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18868 Likewise.
18869 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18870 * conform/data/sys/time.h-data [XPG3]: Likewise.
18871 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18872 * conform/data/sys/uio.h-data [XPG3]: Likewise.
18873 * conform/data/sys/un.h-data [XPG3]: Likewise.
18874 * conform/data/syslog.h-data [XPG3]: Likewise.
18875 * conform/data/ucontext.h-data [XPG3]: Likewise.
18876 * conform/data/utmpx.h-data [XPG3]: Likewise.
18877 * conform/data/varargs.h-data [UNIX98]: Enable file.
18878
355bc986
JM
18879 * manual/Makefile (INSTALL_INFO): Remove variable setting.
18880
215db402
JM
18881 * math/libm-test.inc (struct test_f_f_data): Move expected results
18882 into structure for each rounding mode.
18883 (struct test_ff_f_data): Likewise.
18884 (struct test_ff_f_data_nexttoward): Likewise.
18885 (struct test_fi_f_data): Likewise.
18886 (struct test_fl_f_data): Likewise.
18887 (struct test_if_f_data): Likewise.
18888 (struct test_fff_f_data): Likewise.
18889 (struct test_c_f_data): Likewise.
18890 (struct test_f_f1_data): Likewise.
18891 (struct test_fF_f1_data): Likewise.
18892 (struct test_ffI_f1_data): Likewise.
18893 (struct test_c_c_data): Likewise.
18894 (struct test_cc_c_data): Likewise.
18895 (struct test_f_i_data): Likewise.
18896 (struct test_ff_i_data): Likewise.
18897 (struct test_f_l_data): Likewise.
18898 (struct test_f_L_data): Likewise.
18899 (struct test_fFF_11_data): Likewise.
18900 (RM_): New macro.
18901 (RM_FE_DOWNWARD): Likewise.
18902 (RM_FE_TONEAREST): Likewise.
18903 (RM_FE_TOWARDZERO): Likewise.
18904 (RM_FE_UPWARD): Likewise.
18905 (RUN_TEST_LOOP_f_f): Update references to expected results.
18906 (RUN_TEST_LOOP_2_f): Likewise.
18907 (RUN_TEST_LOOP_fff_f): Likewise.
18908 (RUN_TEST_LOOP_c_f): Likewise.
18909 (RUN_TEST_LOOP_f_f1): Likewise.
18910 (RUN_TEST_LOOP_fF_f1): Likewise.
18911 (RUN_TEST_LOOP_fI_f1): Likewise.
18912 (RUN_TEST_LOOP_ffI_f1): Likewise.
18913 (RUN_TEST_LOOP_c_c): Likewise.
18914 (RUN_TEST_LOOP_cc_c): Likewise.
18915 (RUN_TEST_LOOP_f_i): Likewise.
18916 (RUN_TEST_LOOP_f_i_tg): Likewise.
18917 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18918 (RUN_TEST_LOOP_f_b): Likewise.
18919 (RUN_TEST_LOOP_f_b_tg): Likewise.
18920 (RUN_TEST_LOOP_f_l): Likewise.
18921 (RUN_TEST_LOOP_f_L): Likewise.
18922 (RUN_TEST_LOOP_fFF_11): Likewise.
18923 * math/gen-libm-test.pl (parse_args): Output four copies of
18924 expected results for each test.
18925
67737b8f
JM
18926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18927 (__ASSUME_UTIMES): Remove.
18928 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18929 (__ASSUME_UTIMES): Likewise.
18930
aa97dee1
JM
18931 * math/gen-auto-libm-tests.c: Update comment on output format.
18932 (output_for_one_input_case): Generate before-rounding and
18933 after-rounding information as conditions on output flags not
18934 floating-point format.
18935 * math/auto-libm-test-out: Regenerated.
18936 * math/gen-libm-test.pl (cond_value): New function.
18937 (or_cond_value): Use cond_value.
18938 (generate_testfile): Handle conditional exceptions.
18939
e6b6a857
JM
189402014-03-05 Joseph Myers <joseph@codesourcery.com>
18941
2f0a0f44
JM
18942 * math/libm-test.inc (max_valid_error): New variable.
18943 (init_max_error): Take new argument specifying whether function
18944 results are exactly determined. Set max_valid_error and bound
18945 other variables for errors based on this argument.
18946 (set_max_error): Do not record results above max_valid_error.
18947 (check_float_internal): Only accept errors of up to 0.5ulps if
18948 also at most max_valid_error.
18949 (START): Take new argument EXACT and pass it to init_max_error.
18950 (acos_test): Update call to START.
18951 (acos_test_tonearest): Likewise.
18952 (acos_test_towardzero): Likewise.
18953 (acos_test_downward): Likewise.
18954 (acos_test_upward): Likewise.
18955 (acosh_test): Likewise.
18956 (asin_test): Likewise.
18957 (asin_test_tonearest): Likewise.
18958 (asin_test_towardzero): Likewise.
18959 (asin_test_downward): Likewise.
18960 (asin_test_upward): Likewise.
18961 (asinh_test): Likewise.
18962 (atan_test): Likewise.
18963 (atanh_test): Likewise.
18964 (atan2_test): Likewise.
18965 (cabs_test): Likewise.
18966 (cacos_test): Likewise.
18967 (cacosh_test): Likewise.
18968 (carg_test): Likewise.
18969 (casin_test): Likewise.
18970 (casinh_test): Likewise.
18971 (catan_test): Likewise.
18972 (catanh_test): Likewise.
18973 (cbrt_test): Likewise.
18974 (ccos_test): Likewise.
18975 (ccosh_test): Likewise.
18976 (ceil_test): Likewise.
18977 (cexp_test): Likewise.
18978 (cimag_test): Likewise.
18979 (clog_test): Likewise.
18980 (clog10_test): Likewise.
18981 (conj_test): Likewise.
18982 (copysign_test): Likewise.
18983 (cos_test): Likewise.
18984 (cos_test_tonearest): Likewise.
18985 (cos_test_towardzero): Likewise.
18986 (cos_test_downward): Likewise.
18987 (cos_test_upward): Likewise.
18988 (cosh_test): Likewise.
18989 (cosh_test_tonearest): Likewise.
18990 (cosh_test_towardzero): Likewise.
18991 (cosh_test_downward): Likewise.
18992 (cosh_test_upward): Likewise.
18993 (cpow_test): Likewise.
18994 (cproj_test): Likewise.
18995 (creal_test): Likewise.
18996 (csin_test): Likewise.
18997 (csinh_test): Likewise.
18998 (csqrt_test): Likewise.
18999 (ctan_test): Likewise.
19000 (ctan_test_tonearest): Likewise.
19001 (ctan_test_towardzero): Likewise.
19002 (ctan_test_downward): Likewise.
19003 (ctan_test_upward): Likewise.
19004 (ctanh_test): Likewise.
19005 (ctanh_test_tonearest): Likewise.
19006 (ctanh_test_towardzero): Likewise.
19007 (ctanh_test_downward): Likewise.
19008 (ctanh_test_upward): Likewise.
19009 (erf_test): Likewise.
19010 (erfc_test): Likewise.
19011 (exp_test): Likewise.
19012 (exp_test_tonearest): Likewise.
19013 (exp_test_towardzero): Likewise.
19014 (exp_test_downward): Likewise.
19015 (exp_test_upward): Likewise.
19016 (exp10_test): Likewise.
19017 (exp10_test_tonearest): Likewise.
19018 (exp10_test_towardzero): Likewise.
19019 (exp10_test_downward): Likewise.
19020 (exp10_test_upward): Likewise.
19021 (pow10_test): Likewise.
19022 (exp2_test): Likewise.
19023 (expm1_test): Likewise.
19024 (expm1_test_tonearest): Likewise.
19025 (expm1_test_towardzero): Likewise.
19026 (expm1_test_downward): Likewise.
19027 (expm1_test_upward): Likewise.
19028 (fabs_test): Likewise.
19029 (fdim_test): Likewise.
19030 (floor_test): Likewise.
19031 (fma_test): Likewise.
19032 (fma_test_towardzero): Likewise.
19033 (fma_test_downward): Likewise.
19034 (fma_test_upward): Likewise.
19035 (fmax_test): Likewise.
19036 (fmin_test): Likewise.
19037 (fmod_test): Likewise.
19038 (fpclassify_test): Likewise.
19039 (frexp_test): Likewise.
19040 (hypot_test): Likewise.
19041 (ilogb_test): Likewise.
19042 (isfinite_test): Likewise.
19043 (finite_test): Likewise.
19044 (isgreater_test): Likewise.
19045 (isgreaterequal_test): Likewise.
19046 (isinf_test): Likewise.
19047 (isless_test): Likewise.
19048 (islessequal_test): Likewise.
19049 (islessgreater_test): Likewise.
19050 (isnan_test): Likewise.
19051 (isnormal_test): Likewise.
19052 (issignaling_test): Likewise.
19053 (isunordered_test): Likewise.
19054 (j0_test): Likewise.
19055 (j1_test): Likewise.
19056 (jn_test): Likewise.
19057 (ldexp_test): Likewise.
19058 (lgamma_test): Likewise.
19059 (gamma_test): Likewise.
19060 (lrint_test): Likewise.
19061 (lrint_test_tonearest): Likewise.
19062 (lrint_test_towardzero): Likewise.
19063 (lrint_test_downward): Likewise.
19064 (lrint_test_upward): Likewise.
19065 (llrint_test): Likewise.
19066 (llrint_test_tonearest): Likewise.
19067 (llrint_test_towardzero): Likewise.
19068 (llrint_test_downward): Likewise.
19069 (llrint_test_upward): Likewise.
19070 (log_test): Likewise.
19071 (log10_test): Likewise.
19072 (log1p_test): Likewise.
19073 (log2_test): Likewise.
19074 (logb_test): Likewise.
19075 (logb_test_downward): Likewise.
19076 (lround_test): Likewise.
19077 (llround_test): Likewise.
19078 (modf_test): Likewise.
19079 (nearbyint_test): Likewise.
19080 (nextafter_test): Likewise.
19081 (nexttoward_test): Likewise.
19082 (pow_test): Likewise.
19083 (pow_test_tonearest): Likewise.
19084 (pow_test_towardzero): Likewise.
19085 (pow_test_downward): Likewise.
19086 (pow_test_upward): Likewise.
19087 (remainder_test): Likewise.
19088 (drem_test): Likewise.
19089 (remainder_test_tonearest): Likewise.
19090 (drem_test_tonearest): Likewise.
19091 (remainder_test_towardzero): Likewise.
19092 (drem_test_towardzero): Likewise.
19093 (remainder_test_downward): Likewise.
19094 (drem_test_downward): Likewise.
19095 (remainder_test_upward): Likewise.
19096 (drem_test_upward): Likewise.
19097 (remquo_test): Likewise.
19098 (rint_test): Likewise.
19099 (rint_test_tonearest): Likewise.
19100 (rint_test_towardzero): Likewise.
19101 (rint_test_downward): Likewise.
19102 (rint_test_upward): Likewise.
19103 (round_test): Likewise.
19104 (scalb_test): Likewise.
19105 (scalbn_test): Likewise.
19106 (scalbln_test): Likewise.
19107 (signbit_test): Likewise.
19108 (sin_test): Likewise.
19109 (sin_test_tonearest): Likewise.
19110 (sin_test_towardzero): Likewise.
19111 (sin_test_downward): Likewise.
19112 (sin_test_upward): Likewise.
19113 (sincos_test): Likewise.
19114 (sinh_test): Likewise.
19115 (sinh_test_tonearest): Likewise.
19116 (sinh_test_towardzero): Likewise.
19117 (sinh_test_downward): Likewise.
19118 (sinh_test_upward): Likewise.
19119 (sqrt_test): Likewise.
19120 (sqrt_test_tonearest): Likewise.
19121 (sqrt_test_towardzero): Likewise.
19122 (sqrt_test_downward): Likewise.
19123 (sqrt_test_upward): Likewise.
19124 (tan_test): Likewise.
19125 (tan_test_tonearest): Likewise.
19126 (tan_test_towardzero): Likewise.
19127 (tan_test_downward): Likewise.
19128 (tan_test_upward): Likewise.
19129 (tanh_test): Likewise.
19130 (tgamma_test): Likewise.
19131 (trunc_test): Likewise.
19132 (y0_test): Likewise.
19133 (y1_test): Likewise.
19134 (yn_test): Likewise.
19135 (significand_test): Likewise.
19136
e6b6a857
JM
19137 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19138 individual tests in comment.
19139 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19140 (prev_max_error): New variable.
19141 (prev_real_max_error): Likewise.
19142 (prev_imag_max_error): Likewise.
19143 (compare_ulp_data): Don't refer to test names in comment.
19144 (find_test_ulps): Remove function.
19145 (find_function_ulps): Likewise.
19146 (find_complex_function_ulps): Likewise.
19147 (init_max_error): Take function name as argument. Look up ulps
19148 for that function.
19149 (print_ulps): Remove function.
19150 (print_max_error): Use prev_max_error instead of calling
19151 find_function_ulps.
19152 (print_complex_max_error): Use prev_real_max_error and
19153 prev_imag_max_error instead of calling find_complex_function_ulps.
19154 (check_float_internal): Take max_ulp parameter instead of calling
19155 find_test_ulps. Don't call print_ulps.
19156 (check_float): Update call to check_float_internal.
19157 (check_complex): Update calls to check_float_internal.
19158 (START): Pass argument to init_max_error.
19159 * math/gen-libm-test.pl (%results): Don't include "kind"
19160 information.
19161 (parse_ulps): Don't handle ulps of individual tests.
19162 (print_ulps_file): Likewise.
19163 (output_ulps): Likewise.
19164 * math/README.libm-test: Update.
19165 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19166 individual tests.
19167 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19168 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19169 * sysdeps/arm/libm-test-ulps: Likewise.
19170 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19171 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19172 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19173 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19174 * sysdeps/microblaze/libm-test-ulps: Likewise.
19175 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19176 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19177 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19178 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19179 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19180 * sysdeps/sh/libm-test-ulps: Likewise.
19181 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19182 * sysdeps/tile/libm-test-ulps: Likewise.
19183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184
45adef3c
JM
191852014-03-04 Joseph Myers <joseph@codesourcery.com>
19186
19187 * math/libm-test.inc (print_complex_max_error): Check separately
19188 whether real and imaginary errors are within allowed range and
19189 pass 0 to print_complex_function_ulps instead of value within
19190 allowed range.
19191
000232b9
SP
191922014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19193
d4b17258
SP
19194 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19195 formatting.
19196 (get_handles_fopen): Likewise.
19197 (do_write_test): Likewise.
19198
091eff71
SP
19199 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19200
fa3cd248
SP
19201 * libio/fileops.c (do_ftell): Use cached offset when
19202 available.
19203 * libio/iofwide.c (do_ftell_wide): Likewise.
19204 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19205 _IO_file_attach.
19206 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19207
000232b9
SP
19208 [BZ #16532]
19209 * libio/libioP.h (get_file_offset): New function.
19210 * libio/fileops.c (get_file_offset): Likewise.
19211 (do_ftell): Likewise.
19212 (_IO_new_file_seekoff): Split out ftell logic.
19213 * libio/wfileops.c (do_ftell_wide): Likewise.
19214 (_IO_wfile_seekoff): Split out ftell logic.
19215 * libio/tst-ftell-active-handler.c: New test case.
19216 * libio/Makefile (tests): Add it.
19217
116f4d1a
RM
192182014-03-03 Roland McGrath <roland@hack.frob.com>
19219
19220 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19221 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19222
532a6035
SP
192232014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19224
19225 [BZ #16639]
19226 * nscd/connections.c (nscd_init): Call do_exit.
19227 (start_threads): Call do_exit and notify_parent.
19228 (begin_drop_privileges): Call do_exit.
19229 (finish_drop_privileges): Likewise.
19230 * nscd/selinux.c (preserve_capabilities): Likewise.
19231 (install_real_capabilities): Likewise.
19232 (nscd_selinux_enabled): Likewise.
19233 (avc_create_thread): Likewise.
19234 (avc_alloc_lock): Likewise.
19235 (nscd_avc_init): Likewise.
19236 * nscd/nscd.c (parent_fd): New static variable.
19237 (main): Create a pipe between parent and child processes.
19238 Skip closing parent_fd.
19239 (monitor_child): New function.
19240 (do_exit): Likewise.
19241 (notify_parent): Likewise.
19242 * nscd/nscd.h (notify_parent): Likewise.
19243 (do_exit): Likewise.
19244
d6285c9f
CD
192452014-03-03 Carlos O'Donell <carlos@redhat.com>
19246
19247 * malloc/malloc.c (__libc_calloc): Revert last change.
19248
2b85d2a0
AZ
192492014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19250
19251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19252
c7debbdf
RS
192532014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19254
19255 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19257 implementation.
19258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19259 (__libc_ifunc_impl_list): Likewise.
19260 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19261 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19262 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19263 * string/strrchr.c: Define STRRCHR.
19264
235eed86
OB
192652014-02-28 Ondřej Bílka <neleai@seznam.cz>
19266
19267 * benchtest/bench-strtok.c (simple_strtok): Delete.
19268 (strtok_string): Use as benchmark.
19269 * string/strtok (STRTOK): New macro.
19270
8e25d1e7
CD
192712014-02-28 Carlos O'Donell <carlos@redhat.com>
19272
ef563f92
CD
19273 * manual/threads.texi: Add header and standard comments to all
19274 functions.
19275
8e25d1e7
CD
19276 * elf/dl-lookup.c (check_match): New function.
19277 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19278 (do_lookup_x): Remove nested function check_match. Use non-nested
19279 function check_match.
19280
ff71cc37
RM
192812014-02-28 Roland McGrath <roland@hack.frob.com>
19282
f08e9a26
RM
19283 * csu/Makefile (generated, before-compile): Use += rather than =.
19284 * catgets/Makefile (generated, generated-dirs): Likewise.
19285 * debug/Makefile (generated): Likewise.
19286 * dlfcn/Makefile (generated): Likewise.
19287 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19288 * iconvdata/Makefile (before-compile, generated): Likewise.
19289 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19290 * libio/Makefile (generated): Likewise.
19291 * malloc/Makefile (generated): Likewise.
19292 * manual/Makefile (generated, generated-dirs): Likewise.
19293 * misc/Makefile (generated): Likewise.
19294 * posix/Makefile (generated): Likewise.
19295 * resolv/Makefile (generated): Likewise.
19296 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19297 * timezone/Makefile (generated, generated-dirs): Likewise.
19298
ff71cc37
RM
19299 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19300
fe13a20c
AZ
193012014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19302
57f41c40
AS
19303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19304 power8 implementation.
19305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19306 file: POWER8 llround ifunc implementation.
19307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19308 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
19309 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19310 POWER8 llround implementation.
19311
57f41c40
AS
19312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19313 power8 implementation.
19314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19315 file: POWER8 llrint ifunc implementation.
19316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19317 Add POWER8 implementation.
1ad8950a
AZ
19318 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19319 POWER8 llrint implementation.
19320
57f41c40
AS
19321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19322 power8 implementation.
19323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19324 file: POWER8 finite ifunc implementation.
19325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19326 Add POWER8 implementation.
cac626d6
AZ
19327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19328 Likewise.
19329 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19330 POWER8 finite implementation.
19331 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19332
57f41c40
AS
19333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19334 power8 implementation.
19335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19336 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
19337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19338 POWER8 implementation.
19339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19340 Likewise.
57f41c40
AS
19341 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19342 isinf implementation.
4393fc11
AZ
19343 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19344
57f41c40
AS
19345 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19346 (INIT_ARCH): Add hwcap2 initialization.
19347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19348 power8 implementation.
19349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19350 file: POWER8 isnan ifunc implementation.
487972ae
AZ
19351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19352 POWER8 implementation.
19353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19354 Likewise.
57f41c40
AS
19355 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19356 isnan implementation.
487972ae
AZ
19357 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19358
7d92b787
JY
193592014-02-27 Joey Ye <joey.ye@arm.com>
19360
19361 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19362 (_FP_NANFRAC_Q): Set to zero.
19363
1cadc858
SP
193642014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19365
19366 [BZ #16623]
19367 * math/auto-libm-test-in: New test inputs.
19368 * math/auto-libm-test-out: Regenerate.
19369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19370 and DA.
19371 (__cos): Likewise.
19372 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19373
f8c17e79
JM
193742014-02-27 Joseph Myers <joseph@codesourcery.com>
19375
19376 * scripts/evaluate-test.sh: Take new argument indicating whether
19377 failure is expected.
19378 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19379 indicating whether failure is expected.
19380 * conform/Makefile (test-xfail-run-conformtest): New variable.
19381 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19382 level.
19383 * posix/Makefile (test-xfail-annexc): New variable.
19384 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19385
a5f891ac
JM
193862014-02-26 Joseph Myers <joseph@codesourcery.com>
19387
19388 * argp/Makefile: Include Makeconfig immediately after defining
19389 subdir.
19390 * assert/Makefile: Likewise.
19391 * benchtests/Makefile: Likewise.
19392 * catgets/Makefile: Likewise.
19393 * conform/Makefile: Likewise.
19394 * crypt/Makefile: Likewise.
19395 * csu/Makefile: Likewise.
19396 (all): Remove target.
19397 * ctype/Makefile: Include Makeconfig immediately after defining
19398 subdir.
19399 * debug/Makefile: Likewise.
19400 * dirent/Makefile: Likewise.
19401 * dlfcn/Makefile: Likewise.
19402 * gmon/Makefile: Likewise.
19403 * gnulib/Makefile: Likewise.
19404 * grp/Makefile: Likewise.
19405 * gshadow/Makefile: Likewise.
19406 * hesiod/Makefile: Likewise.
19407 * hurd/Makefile: Likewise.
19408 (all): Remove target.
19409 * iconvdata/Makefile: Include Makeconfig immediately after
19410 defining subdir.
19411 * inet/Makefile: Likewise.
19412 * intl/Makefile: Likewise.
19413 * io/Makefile: Likewise.
19414 * libio/Makefile: Likewise.
19415 (all): Remove target.
19416 * locale/Makefile: Include Makeconfig immediately after defining
19417 subdir.
19418 * login/Makefile: Likewise.
19419 * mach/Makefile: Likewise.
19420 (all): Remove target.
19421 * malloc/Makefile: Include Makeconfig immediately after defining
19422 subdir.
19423 (all): Remove target.
19424 * manual/Makefile: Include Makeconfig immediately after defining
19425 subdir.
19426 * math/Makefile: Likewise.
19427 * misc/Makefile: Likewise.
19428 * nis/Makefile: Likewise.
19429 * nss/Makefile: Likewise.
19430 * po/Makefile: Likewise.
19431 (all): Remove target.
19432 * posix/Makefile: Include Makeconfig immediately after defining
19433 subdir.
19434 * pwd/Makefile: Likewise.
19435 * resolv/Makefile: Likewise.
19436 * resource/Makefile: Likewise.
19437 * rt/Makefile: Likewise.
19438 * setjmp/Makefile: Likewise.
19439 * shadow/Makefile: Likewise.
19440 * signal/Makefile: Likewise.
19441 * socket/Makefile: Likewise.
19442 * soft-fp/Makefile: Likewise.
19443 * stdio-common/Makefile: Likewise.
19444 * stdlib/Makefile: Likewise.
19445 * streams/Makefile: Likewise.
19446 * string/Makefile: Likewise.
19447 * sunrpc/Makefile: Likewise.
19448 (all): Remove target.
19449 * sysvipc/Makefile: Include Makeconfig immediately after defining
19450 subdir.
19451 * termios/Makefile: Likewise.
19452 * time/Makefile: Likewise.
19453 * timezone/Makefile: Likewise.
19454 (all): Remove target.
19455 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19456 subdir.
19457 * wctype/Makefile: Likewise.
19458
5b456e9d
SE
194592014-02-26 Steve Ellcey <sellcey@mips.com>
19460
19461 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19462 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19463 (libc_feholdexcept_setround_mips): Ditto.
19464 (libc_feholdsetround): New.
19465 (libc_feholdsetroundf): New.
19466 (libc_feholdsetroundl): New.
19467 (libc_feupdateenv_test_mips): New.
19468 (libc_feupdateenv_test): New.
19469 (libc_feupdateenv_testf): New.
19470 (libc_feupdateenv_testl): New.
19471 (libc_feresetround): New.
19472 (libc_feresetroundf): New.
19473 (libc_feresetroundl): New.
19474 (libc_fetestexcept_mips): New.
19475 (libc_fetestexcept): New.
19476 (libc_fetestexceptf): New.
19477 (libc_fetestexceptl): New.
19478 (HAVE_RM_CTX): New.
19479 (libc_feholdexcept_setround_mips_ctx): New.
19480 (libc_feholdexcept_setround_ctx): New.
19481 (libc_feholdexcept_setroundf_ctx): New.
19482 (libc_feholdexcept_setroundl_ctx): New.
19483 (libc_fesetenv_mips_ctx): New.
19484 (libc_fesetenv_ctx): New.
19485 (libc_fesetenv_ctxf): New.
19486 (libc_fesetenv_ctxl): New.
19487 (libc_feupdateenv_mips_ctx): New.
19488 (libc_feupdateenv_ctx): New.
19489 (libc_feupdateenvf_ctx): New.
19490 (libc_feupdateenvl_ctx): New.
19491 (libc_feholdsetround_mips_ctx): New.
19492 (libc_feholdsetround_ctx): New.
19493 (libc_feholdsetroundf_ctx): New.
19494 (libc_feholdsetroundl_ctx): New.
19495 (libc_feresetround_mips_ctx): New.
19496 (libc_feresetround_ctx): New.
19497 (libc_feresetroundf_ctx): New.
19498 (libc_feresetroundl_ctx): New.
19499
085d0e35
CD
195002014-02-26 Carlos O'Donell <carlos@redhat.com>
19501
f067bf1f
CD
19502 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19503
085d0e35
CD
19504 * manual/ipc.texi: New file.
19505 * manual/Makefile (chapters): Add ipc.
19506 * manual/job.texi: Add "Inter-Process Communication" to next.
19507 * manual/process.texi: Add "Inter-Process Communication" to prev.
19508
86e58c08
AZ
195092014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19510
19511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19512
4248f0da
OB
195132014-02-26 Ondřej Bílka <neleai@seznam.cz>
19514
19515 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19516
cf822e3c
OB
19517 * manual/arith.texi: Fix spaces after sentences.
19518 * manual/charset.texi: Likewise.
19519 * manual/errno.texi: Likewise.
19520 * manual/install.texi: Likewise.
19521 * manual/llio.texi: Likewise.
19522 * manual/locale.texi: Likewise.
19523 * manual/maint.texi: Likewise.
19524 * manual/math.texi: Likewise.
19525 * manual/memory.texi: Likewise.
19526 * manual/message.texi: Likewise.
19527 * manual/probes.texi: Likewise.
19528 * manual/resource.texi: Likewise.
19529 * manual/signal.texi: Likewise.
19530 * manual/socket.texi: Likewise.
19531 * manual/stdio.texi: Likewise.
19532 * manual/string.texi: Likewise.
19533 * manual/time.texi: Likewise.
19534 * manual/users.texi: Likewise.
19535
ade40b10
CD
195362014-02-25 Carlos O'Donell <carlos@redhat.com>
19537
19538 [BZ #16632]
19539 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19540 _DEFAULT_SOURCE is defined.
19541
d0503676
CD
195422014-02-25 Ulrich Drepper <drepper@gmail.com>
19543 Carlos O'Donell <carlos@redhat.com>
19544
19545 [BZ #16613]
19546 * elf/dl-tls.c (_dl_count_modids): New function.
19547 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19548 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19549 audit library and increment generation counter.
19550 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19551 * elf/tst-audit9.c: New file.
19552 * elf/tst-auditmod9a.c: New file.
19553 * elf/tst-auditmod9b.c: New file.
19554 * elf/Makefile: Add rules to build and run tst-audit9.
19555
4cbf380c
FW
195562014-02-25 Florian Weimer <fweimer@redhat.com>
19557
19558 [BZ #15347]
19559 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19560
80a56cc3
WN
195612014-02-25 Will Newton <will.newton@linaro.org>
19562
19563 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19564 (__longjmp): Restore sp and lr before restoring callee
19565 saved registers. Add longjmp and longjmp_target
19566 SystemTap probe point.
19567 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19568 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19569 Define to zero to match jmpbuf layout.
19570 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19571 (__sigsetjmp): Save sp and lr before saving callee
19572 saved registers. Add setjmp SystemTap probe point.
19573
3ea0f74e
SL
195742014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19575
19576 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19577
b04acb26
AS
195782014-02-24 Andreas Schwab <schwab@suse.de>
19579
19580 [BZ #15804]
19581 * elf/pldd.c (wait_for_ptrace_stop): New function.
19582 (main): Call it after attaching.
19583
098ad55c
RM
195842014-02-22 Roland McGrath <roland@hack.frob.com>
19585
d4ec6ae1
RM
19586 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19587 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19588 Versions files is now verboten.
19589 * hurd/Versions (libc: GLIBC_2.0):
19590 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19591 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19592 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19593 * mach/Versions: Likewise.
19594
098ad55c
RM
19595 * csu/Versions: Remove unused %include.
19596 * resolv/Versions: Likewise.
19597
acd7f096
JM
195982014-02-21 Joseph Myers <joseph@codesourcery.com>
19599
f0881698
JM
19600 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19601 ($(objpfx)check-local-headers.out): Likewise.
19602 ($(objpfx)begin-end-check.out): Likewise.
19603 * Makerules (check-abi-%.out): Likewise.
19604 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19605 ($(objpfx)test2.cat): Likewise.
19606 ($(objpfx)de/libc.cat): Likewise.
19607 ($(objpfx)test-gencat.out): Likewise.
19608 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19609 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19610 ($(objpfx)noload-mem): Likewise.
19611 ($(objpfx)tst-pathopt.out): Likewise.
19612 ($(objpfx)tst-rtld-load-self.out): Likewise.
19613 ($(objpfx)tst-array1-cmp.out): Likewise.
19614 ($(objpfx)tst-array1-static-cmp.out): Likewise.
19615 ($(objpfx)tst-array2-cmp.out): Likewise.
19616 ($(objpfx)tst-array3-cmp.out): Likewise.
19617 ($(objpfx)tst-array4-cmp.out): Likewise.
19618 ($(objpfx)tst-array5-cmp.out): Likewise.
19619 ($(objpfx)tst-array5-static-cmp.out): Likewise.
19620 ($(objpfx)check-textrel.out): Likewise.
19621 ($(objpfx)check-execstack.out): Likewise.
19622 ($(objpfx)check-localplt.out): Likewise.
19623 ($(objpfx)order2-cmp.out): Likewise.
19624 ($(objpfx)tst-leaks1-mem): Likewise.
19625 ($(objpfx)tst-leaks1-static-mem): Likewise.
19626 ($(objpfx)tst-initorder-cmp.out): Likewise.
19627 ($(objpfx)tst-initorder2-cmp.out): Likewise.
19628 ($(objpfx)tst-unused-dep.out): Likewise.
19629 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19631 * iconv/Makefile (test-iconvconfig): Likewise.
19632 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19633 ($(objpfx)iconv-test.out): Likewise.
19634 ($(objpfx)tst-tables.out): Likewise.
19635 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19636 ($(objpfx)tst-gettext.out): Likewise.
19637 ($(objpfx)tst-translit.out): Likewise.
19638 ($(objpfx)tst-gettext2.out): Likewise.
19639 ($(objpfx)tst-gettext4.out): Likewise.
19640 ($(objpfx)tst-gettext6.out): Likewise.
19641 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19642 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19643 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19644 ($(objpfx)tst-fopenloc-mem.out): Likewise.
19645 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19646 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19647 * posix/Makefile ($(objpfx)globtest.out): Likewise.
19648 ($(objpfx)wordexp-tst.out): Likewise.
19649 ($(objpfx)annexc.out): Likewise.
19650 ($(objpfx)tst-fnmatch-mem): Likewise.
19651 ($(objpfx)bug-regex2-mem): Likewise.
19652 ($(objpfx)bug-regex14-mem): Likewise.
19653 ($(objpfx)bug-regex21-mem): Likewise.
19654 ($(objpfx)bug-regex31-mem): Likewise.
19655 ($(objpfx)tst-vfork3-mem): Likewise.
19656 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19657 ($(objpfx)tst-pcre-mem): Likewise.
19658 ($(objpfx)tst-boost-mem): Likewise.
19659 ($(objpfx)tst-getconf.out): Likewise.
19660 ($(objpfx)bug-ga2-mem): Likewise.
19661 ($(objpfx)bug-glob2-mem): Likewise.
19662 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19663 ($(objpfx)mtrace-tst-leaks2): Likewise.
19664 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19665 ($(objpfx)tst-printf.out): Likewise.
19666 ($(objpfx)tst-setvbuf1.out): Likewise.
19667 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19668 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19669 ($(objpfx)tst-fmtmsg.out): Likewise.
19670 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19671 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19672
acd7f096
JM
19673 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19674 * bits/sigaction.h [__USE_MISC]: Likewise.
19675 * bits/waitstatus.h: Update #endif comments.
19676 * ctype/ctype.h: Likewise.
19677 * dirent/dirent.h: Likewise.
19678 [__USE_MISC]: Remove redundant conditionals.
19679 * grp/grp.h: Update #endif comments.
19680 [__USE_GNU]: Remove redundant conditionals.
19681 [__USE_MISC]: Likewise.
19682 * inet/netinet/in.h [__USE_GNU]: Likewise.
19683 * io/sys/stat.h [__USE_MISC]: Likewise.
19684 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19685 * libio/bits/stdio.h: Update #endif comments.
19686 [__USE_MISC]: Remove redundant conditionals.
19687 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19688 * libio/stdio.h: Update #endif comments.
19689 [__USE_MISC]: Remove redundant conditionals.
19690 * math/bits/math-finite.h [__USE_MISC]: Likewise.
19691 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19692 * math/math.h: Update #else and #endif comments.
19693 [__USE_MISC]: Remove redundant conditionals.
19694 * misc/sys/uio.h: Update #endif comments.
19695 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19696 * posix/glob.h [__USE_MISC]: Likewise.
19697 * posix/sys/types.h: Update #endif comments.
19698 [__USE_MISC]: Remove redundant conditionals.
19699 * posix/sys/wait.h: Update #endif comments.
19700 [__USE_MISC]: Remove redundant conditionals.
19701 * posix/unistd.h: Update #endif comments.
19702 [__USE_MISC]: Remove redundant conditionals.
19703 * pwd/pwd.h [__USE_GNU]: Likewise.
19704 [__USE_MISC]: Likewise.
19705 * resolv/netdb.h [__USE_GNU]: Likewise.
19706 * signal/signal.h: Update #endif comments.
19707 [__USE_MISC]: Remove redundant conditionals.
19708 * stdlib/stdlib.h: Update #else and #endif comments.
19709 [__USE_MISC]: Remove redundant conditionals.
19710 [__USE_GNU]: Likewise.
19711 * string/bits/string2.h [__USE_MISC]: Likewise.
19712 * string/string.h: Update #endif comments.
19713 [__USE_MISC]: Remove redundant conditionals.
19714 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19715 Likewise.
19716 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19717 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19718 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19719 Likewise.
19720 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19721 Likewise.
19722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19723 comments.
19724 [__USE_MISC]: Remove redundant conditionals.
19725 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19726 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19727 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19728 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19729 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19730 Likewise.
19731 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19732 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19733 Likewise.
19734 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19735 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19736 Likewise.
19737 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19738 Likewise.
19739 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19740 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19741 Likewise.
19742 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19743 Likewise.
19744 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19745 * sysdeps/x86/bits/string.h: Update #endif comments.
19746 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19747 conditionals.
19748 * time/sys/time.h: Update #endif comments.
19749 * time/time.h: Likewise.
19750 [__USE_MISC]: Remove redundant conditionals.
19751
a5d82e4e
YG
197522014-02-21 Yury Gribov <y.gribov@samsung.com>
19753
19754 [BZ #16600]
19755 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19756
9a80491d
AS
197572014-02-21 Andreas Schwab <schwab@linux-m68k.org>
19758
19759 * Versions.def (librt): Add GLIBC_2.17.
19760
105fa381
AC
197612014-02-21 Adam Conrad <adconrad@0c3.net>
19762
19763 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19764 synonym for _SYS_AUXV_H to allow direct inclusion.
19765 * sysdeps/sparc/bits/hwcap.h: Likewise.
19766 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19767 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19768 * sysdeps/sparc/sysdep.h: Likewise.
19769
b8cd1c4e
SP
197702014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19771
19772 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19773
bd939d23
RS
197742014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19775
19776 * benchtests/bench-strrchr.c: Print length instead of position.
19777
5d7b57ca
JM
197782014-02-20 Joseph Myers <joseph@codesourcery.com>
19779
bc688c10
JM
19780 [BZ #16611]
19781 * sysdeps/unix/sysv/linux/kernel-features.h
19782 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19783 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19784 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19785 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19786 Likewise.
19787 [__i386__ || __powerpc__ || __sh__ || __sparc__]
19788 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19789 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19790 (__ASSUME_SENDMMSG): Define instead of using previous
19791 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19792 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19793 (__ASSUME_SENDMMSG_SYSCALL): Define.
19794 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19795 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19796 Likewise.
19797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19798 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19799 Likewise.
19800 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19801 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19802 Likewise.
19803 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19804 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19805 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19806 [__ASSUME_SENDMMSG]: Change conditionals to
19807 [__ASSUME_SENDMMSG_SOCKETCALL].
19808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19809 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19810 Define.
19811 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19812 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19813 Likewise.
19814 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19815 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19816 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19817 [!__ASSUME_SENDMMSG]: Change conditional to
19818 [!__ASSUME_SENDMMSG_SOCKETCALL].
19819 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19820 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19821 Define.
19822
0e31b18c
JM
19823 [BZ #16610]
19824 * sysdeps/unix/sysv/linux/kernel-features.h
19825 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19826 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19827 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19828 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19829 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19830 [__i386__ || __sparc__]
19831 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19832 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19833 (__ASSUME_RECVMMSG): Define instead of using previous
19834 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19835 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19836 (__ASSUME_RECVMMSG_SYSCALL): Define.
19837 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19838 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19839 Likewise.
19840 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19842 Likewise.
19843 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19844 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19845 Likewise.
19846 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19847 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19848 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19849 [__ASSUME_RECVMMSG]: Change condition to
19850 [__ASSUME_RECVMMSG_SOCKETCALL].
19851 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19852 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19853 Define.
19854 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19855 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19856 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19857 Likewise.
19858 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19859 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19860 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19861 [!__ASSUME_RECVMMSG]: Change condition to
19862 [!__ASSUME_RECVMMSG_SOCKETCALL].
19863 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19864 (__ASSUME_RECVMMSG_SYSCALL): Define.
19865
dd481ccf
JM
19866 [BZ #16609]
19867 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19868 __powerpc__ || __s390__ || __sh__ || __sparc__]
19869 (__ASSUME_SOCKETCALL): Define.
19870 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19871 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19872 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19873 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19874 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19875 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19876 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19877 (__ASSUME_ACCEPT4): Define instead of using previous
19878 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19879 __powerpc__ || __sparc__ || __s390__)] condition.
19880 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19881 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19882 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19883 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19884 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19885 [!__ASSUME_ACCEPT4]: Change condition to
19886 [!__ASSUME_ACCEPT4_SOCKETCALL].
19887 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19888 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
19889 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19890 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19891 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19892 __ASSUME_ACCEPT4_SYSCALL.
19893 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19894 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19895 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19896 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19897 __ASSUME_ACCEPT4_SYSCALL.
19898 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19899 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19900 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19901 [__ASSUME_ACCEPT4]: Change condition to
19902 [__ASSUME_ACCEPT4_SOCKETCALL].
19903 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19904 (__ASSUME_SOCKETCALL): Define.
19905 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19906 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19907 (__ASSUME_SOCKETCALL): Define.
19908 (__ASSUME_ACCEPT4): Remove.
19909 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19910 Define.
19911 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19912 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19913 Likewise.
19914 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19915 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19916
5d7b57ca
JM
19917 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19918 macro.
19919 (HWCAP_ARM_LPAE): Likewise.
19920 (HWCAP_ARM_EVTSTRM): Likewise.
19921 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19922 Add vpfd32, lpae and evtstrm.
19923 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19924 Increase to 22.
19925
63689d61
JM
199262014-02-19 Joseph Myers <joseph@codesourcery.com>
19927
19928 * math/auto-libm-test-in: Add tests of clog10.
19929 * math/auto-libm-test-out: Regenerated.
19930 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19931 * sysdeps/i386/fpu/libm-test-ulps: Update.
19932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19933
ab09bf61
AS
199342014-02-18 Andreas Schwab <schwab@suse.de>
19935
19936 [BZ #16574]
19937 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19938 Store non-zero if the second buffer was newly allocated.
19939 (send_dg): Likewise.
19940 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19941 to send_vc and send_dg.
19942 (res_nsend): Pass NULL for ansp2_malloced.
19943 * resolv/res_query.c (__libc_res_nquery): Add parameter
19944 answerp2_malloced and pass it down to __libc_res_nsend.
19945 (res_nquery): Pass additional NULL to __libc_res_nquery.
19946 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19947 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
19948 second answer buffer if answerp2_malloced was set.
19949 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19950 (__libc_res_nquerydomain): Add parameter
19951 answerp2_malloced and pass it down to __libc_res_nquery.
19952 (res_nquerydomain): Pass additional NULL to
19953 __libc_res_nquerydomain.
19954 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19955 additional NULL to __libc_res_nsend and __libc_res_nquery.
19956 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19957 additional NULL to __libc_res_nsearch.
19958 (_nss_dns_gethostbyname4_r): Revert last change. Use new
19959 parameter of __libc_res_nsearch to check for separately allocated
19960 second buffer.
19961 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19962 __libc_res_nquery.
19963 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19964 additional NULL to __libc_res_nquery.
19965 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19966 __libc_res_nsearch.
19967 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19968 * include/resolv.h: Update prototypes of __libc_res_nquery,
19969 __libc_res_nsearch, __libc_res_nsend.
19970
a4fb7861
JM
199712014-02-18 Joseph Myers <joseph@codesourcery.com>
19972
c6af2d89
JM
19973 * math/auto-libm-test-in: Add tests of fma.
19974 * math/auto-libm-test-out: Regenerated.
19975 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19976 (fma_towardzero_test_data): Likewise.
19977 (fma_downward_test_data): Likewise.
19978 (fma_upward_test_data): Likewise.
19979 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19980 mpc_mode.
19981 (rounding_modes): Add values for new field.
19982 (func_calc_method): Add value mpfr_fff_f.
19983 (func_calc_desc): Add mpfr_fff_f union field.
19984 (test_function): Add field exact_args.
19985 (FUNC): Add macro argument EXACT_ARGS.
19986 (FUNC_mpfr_f_f): Update call to FUNC.
19987 (FUNC_mpfr_f_f): Likewise.
19988 (FUNC_mpfr_ff_f): Likewise.
19989 (FUNC_mpfr_if_f): Likewise.
19990 (FUNC_mpc_c_f): Likewise.
19991 (FUNC_mpc_c_c): Likewise.
19992 (test_functions): Add fma. Update calls to FUNC.
19993 (handle_input_arg): Add argument exact_args.
19994 (add_test): Update call to handle_input_arg.
19995 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19996 (output_for_one_input_case): Update call to calc_generic_results.
19997 Recalculate exact zero results in each rounding mode.
19998
a4fb7861
JM
19999 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20000 non-negative before setting low bit.
20001 * math/auto-libm-test-in: Mark one asin test possibly having
20002 spurious underflow.
20003 * math/auto-libm-test-out: Regenerated.
20004 * sysdeps/i386/fpu/libm-test-ulps: Update.
20005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20006
ef114eaf
DH
200072014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20008
2b7f4f2c
SP
20009 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20010 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20011 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
20012 * README: Add missing listing for microblaze*-*-linux-gnu.
20013
8125aedc
AM
200142014-02-16 Ondřej Bílka <neleai@seznam.cz>
20015
20016 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20017 duplicate code
20018
c70a4b1d
MF
200192014-02-16 Mike Frysinger <vapier@gentoo.org>
20020
20021 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20022 * sysdeps/unix/sysv/linux/ia64: Move directory from
20023 ports/sysdeps/unix/sysv/linux/ia64.
20024 * README: Update listing for ia64-*-linux-gnu.
20025
591aeaf7
TD
200262014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20027 Joseph Myers <joseph@codesourcery.com>
20028
20029 * Makeconfig (test-name): New variable.
20030 (evaluate-test): Likewise.
20031 * Makerules (do-test-clean): Remove .test-result files.
20032 (common-mostlyclean): Likewise.
20033 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20034 * scripts/evaluate-test.sh: New file.
20035
6e89caf1
JM
200362014-02-14 Joseph Myers <joseph@codesourcery.com>
20037
7f98f180
JM
20038 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20039 separate $(objpfx)tst-fopenloc-cmp.out and
20040 $(objpfx)tst-fopenloc-mem.out targets.
20041 (tests): Update dependencies.
20042 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20043 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20044 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20045 (tst-rxspencer-no-utf8-ARGS): New variable.
20046 (tst-rxspencer-no-utf8-ENV): Likewise.
20047 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20048 instead of $(objpfx)tst-rxspencer-mem.
20049 ($(objpfx)tst-rxspencer-mem): Change target to
20050 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20051 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20052 * posix/tst-rxspencer-no-utf8.c: New file.
20053
6e89caf1
JM
20054 * elf/Makefile ($(objpfx)order.out): Remove rule.
20055 [$(run-built-tests) = yes] (tests): Depend on
20056 $(objpfx)order-cmp.out.
20057 ($(objpfx)order-cmp.out): New rule.
20058 [$(run-built-tests) = yes] (tests): Depend on
20059 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20060 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20061 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20062 $(objpfx)tst-array5-static-cmp.out.
20063 ($(objpfx)tst-array1.out): Remove rule.
20064 ($(objpfx)tst-array1-cmp.out): New rule.
20065 ($(objpfx)tst-array1-static.out): Remove rule.
20066 ($(objpfx)tst-array1-static-cmp.out): New rule.
20067 ($(objpfx)tst-array2.out): Remove rule.
20068 ($(objpfx)tst-array2-cmp.out): New rule.
20069 ($(objpfx)tst-array3.out): Remove rule.
20070 ($(objpfx)tst-array3-cmp.out): New rule.
20071 ($(objpfx)tst-array4.out): Remove rule.
20072 ($(objpfx)tst-array4-cmp.out): New rule.
20073 ($(objpfx)tst-array5.out): Remove rule.
20074 ($(objpfx)tst-array5-cmp.out): New rule.
20075 ($(objpfx)tst-array5-static.out): Remove rule.
20076 ($(objpfx)tst-array5-static-cmp.out): New rule.
20077 [$(run-built-tests) = yes] (tests): Depend on
20078 $(objpfx)order2-cmp.out.
20079 ($(objpfx)order2.out): Remove rule.
20080 ($(objpfx)order2-cmp.out): New rule.
20081 ($(objpfx)tst-initorder.out): Remove rule.
20082 [$(run-built-tests) = yes] (tests): Depend on
20083 $(objpfx)tst-initorder-cmp.out.
20084 ($(objpfx)tst-initorder-cmp.out): New rule.
20085 ($(objpfx)tst-initorder2.out): Remove rule.
20086 [$(run-built-tests) = yes] (tests): Depend on
20087 $(objpfx)tst-initorder2-cmp.out.
20088 ($(objpfx)tst-initorder2-cmp.out): New rule.
20089 [$(run-built-tests) = yes] (tests): Depend on
20090 $(objpfx)tst-unused-dep-cmp.out.
20091 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20092 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20093 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20094 on $(objpfx)tst-setvbuf1-cmp.out.
20095 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20096 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20097 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20098 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20099 ($(objpfx)tst-svc.out): Remove rule.
20100 ($(objpfx)tst-svc-cmp.out): New rule.
20101
ed9a38e2
JM
201022014-02-13 Joseph Myers <joseph@codesourcery.com>
20103
20104 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20105 * ctype/ctype.h [__USE_MISC]: Likewise.
20106 * dirent/dirent.h [__USE_MISC]: Likewise.
20107 * grp/grp.h [__USE_MISC]: Likewise.
20108 * io/fcntl.h [__USE_MISC]: Likewise.
20109 * io/sys/stat.h [__USE_MISC]: Likewise.
20110 * libio/stdio.h [__USE_MISC]: Likewise.
20111 * posix/unistd.h [__USE_MISC]: Likewise.
20112 * pwd/pwd.h [__USE_MISC]: Likewise.
20113 * stdlib.h [__USE_MISC]: Likewise.
20114 * string/bits/string2.h [__USE_MISC]: Likewise.
20115 * string/string.h [__USE_MISC]: Likewise.
20116 * time/time.h [__USE_MISC]: Likewise.
20117
d6680619
AS
201182014-02-13 Andreas Schwab <schwab@suse.de>
20119
20120 [BZ #16574]
20121 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20122 second answer buffer if it was separately allocated.
20123
ace614b8
JM
201242014-02-12 Joseph Myers <joseph@codesourcery.com>
20125
743151ae
JM
20126 * sysdeps/mips/math-tests.h: Include <features.h>.
20127 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20128 (ROUNDING_TESTS_long_double): Do not define.
20129 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20130 (EXCEPTION_TESTS_long_double): Likewise.
20131 * sysdeps/mips/mips64/libm-test-ulps: Update.
20132
498afc54
JM
20133 * include/features.h (__USE_BSD): Remove macro definitions.
20134 (__USE_SVID): Likewise.
20135 (_BSD_SOURCE): Likewise.
20136 (_SVID_SOURCE): Likewise.
20137 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20138 from definition of _DEFAULT_SOURCE.
20139 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20140 [_DEFAULT_SOURCE].
20141 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20142 * bits/mman.h [__USE_BSD]: Likewise.
20143 * bits/termios.h [__USE_BSD]: Likewise.
20144 * bits/waitstatus.h [__USE_BSD]: Likewise.
20145 * ctype/ctype.h [__USE_SVID]: Likewise.
20146 * dirent/dirent.h [__USE_BSD]: Likewise.
20147 * grp/grp.h [__USE_SVID]: Likewise.
20148 [__USE_BSD]: Likewise.
20149 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20150 * io/fcntl.h [__USE_BSD]: Likewise.
20151 * io/ftw.h [__USE_BSD]: Likewise.
20152 * io/sys/stat.h [__USE_BSD]: Likewise.
20153 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20154 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20155 * libio/stdio.h [__USE_SVID]: Likewise.
20156 [__USE_BSD]: Likewise.
20157 * math/math.h [__USE_SVID]: Likewise.
20158 [__USE_BSD]: Likewise.
20159 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20160 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20161 * misc/search.h [__USE_SVID]: Likewise.
20162 * misc/sys/mman.h [__USE_BSD]: Likewise.
20163 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20164 * misc/sys/uio.h [__USE_BSD]: Likewise.
20165 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20166 * posix/glob.h [__USE_BSD]: Likewise.
20167 * posix/regex.h [__USE_BSD]: Likewise.
20168 * posix/sys/types.h [__USE_BSD]: Likewise.
20169 [__USE_SVID]: Likewise.
20170 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20171 * posix/sys/wait.h [__USE_BSD]: Likewise.
20172 [__USE_SVID]: Likewise.
20173 * posix/unistd.h [__USE_BSD]: Likewise.
20174 [__USE_SVID]: Likewise.
20175 * pwd/pwd.h [__USE_SVID]: Likewise.
20176 * resolv/netdb.h [__USE_BSD]: Likewise.
20177 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20178 * signal/signal.h [__USE_BSD]: Likewise.
20179 [__USE_SVID]: Likewise.
20180 * socket/sys/socket.h [__USE_BSD]: Likewise.
20181 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20182 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20183 [__USE_SVID]: Likewise.
20184 * string/bits/string2.h [__USE_BSD]: Likewise.
20185 [__USE_SVID]: Likewise.
20186 * string/bits/string3.h [__USE_BSD]: Likewise.
20187 * string/endian.h [__USE_BSD]: Likewise.
20188 * string/string.h [__USE_SVID]: Likewise.
20189 [__USE_BSD]: Likewise.
20190 * string/strings.h [__USE_BSD]: Likewise.
20191 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20192 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20193 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20194 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20195 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20196 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20197 Likewise.
20198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20199 Likewise.
20200 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20201 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20202 Likewise.
20203 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20204 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20205 Likewise.
20206 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20207 Likewise.
20208 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20209 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20210 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20211 Likewise.
20212 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20213 Likewise.
20214 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20215 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20216 * termios/termios.h [__USE_BSD]: Likewise.
20217 * time/sys/time.h [__USE_BSD]: Likewise.
20218 * time/time.h [__USE_BSD]: Likewise.
20219 [__USE_SVID]: Likewise.
20220
dd7b064c
JM
20221 * Makefile (subdir_targets): Remove subdir_lint.out.
20222
a2c4c199
JM
20223 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20224 (do-tst-printf): Likewise.
20225 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20226 $(objpfx)tst-printf.out.
20227
8756f740
JM
20228 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20229
1b6dd3f1
JM
20230 * Makerules (check-abi-%): Change target to
20231 $(objpfx)check-abi-%.out.
20232 (check-abi target): Update dependencies.
20233 (check-abi-pattern variable): Redirect output of diff to $@.
20234 (check-abi variable): Likewise.
20235 * elf/Makefile (check-abi): Update dependencies.
20236
ace614b8
JM
20237 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20238 unused.
20239 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20240 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20241 subnormal range.
20242 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20243 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20244 value has largest subnormal exponent.
20245 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20246 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20247 * sysdeps/aarch64/soft-fp/sfp-machine.h
20248 (_FP_TININESS_AFTER_ROUNDING): New macro.
20249 * sysdeps/alpha/soft-fp/sfp-machine.h
20250 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20251 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20252 Likewise.
20253 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20254 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20255 * sysdeps/mips/soft-fp/sfp-machine.h
20256 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20257 * sysdeps/powerpc/soft-fp/sfp-machine.h
20258 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20259 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20260 Likewise.
20261 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20262 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20263 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20264 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20265 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20266 Likewise.
20267
fbfdf9cb
DAS
202682014-02-12 Dylan Alex Simon <dylan@dylex.net>
20269
20270 [BZ #16545]
20271 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20272 model 1.
20273
68b7efaa
RH
202742014-02-12 Richard Henderson <rth@redhat.com>
20275
c70a4b1d 20276 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
20277 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20278 * sysdeps/unix/sysv/linux/alpha: Move directory from
20279 ports/sysdeps/unix/sysv/linux/alpha.
20280 * README: Update listing for alpha-*-linux-gnu.
20281
cb4a2928
JM
202822014-02-11 Joseph Myers <joseph@codesourcery.com>
20283
c941736c
JM
20284 * include/features.h: Update comment documenting feature test
20285 macros.
20286 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20287 _DEFAULT_SOURCE.
20288 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20289 (_SVID_SOURCE): Likewise.
20290 (_DEFAULT_SOURCE): Update description of default features.
20291 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20292 with _GNU_SOURCE.
20293 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20294 (S_ISVTX): Likewise.
20295 * manual/math.texi (Mathematical Constants): Likewise.
20296 * manual/signal.texi (Interrupted Primitives): Likewise.
20297 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20298 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20299 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20300 Don't refer to _SVID_SOURCE in warning text.
20301
e8d8d7ec
JM
20302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20303
cb4a2928
JM
20304 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20305 already defined.
20306 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20307 * sysdeps/mips/dl-lookup.c: Remove.
20308 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20309
7e6424e3
AK
203102014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20311
20312 [BZ #16447]
20313 * math/auto-libm-test-in: Add testcase for expl.
20314 * math/auto-libm-test-out: Regenerate.
20315 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20316 calculation of unsafe.
20317 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20318
75eff3fe
MS
203192014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20320
20321 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20322 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20323 ports/sysdeps/unix/sysv/linux/aarch64.
20324 * README: Update listing for aarch64*-*-linux-gnu.
20325
d35f1e80
WN
203262014-02-11 Will Newton <will.newton@linaro.org>
20327
20328 * manual/probes.texi (Mathematical Function Probes): Use
20329 "triggered" instead of "hit".
20330
7b3436d4
WN
20331 * manual/probes.texi (Internal Probes): Add documentation
20332 of setjmp, longjmp and longjmp_target probes.
20333
b4f12ca3
WN
20334 * include/stap-probe.h: Add comment about probe argument
20335 format.
20336
c13a72b7
WN
20337 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20338 definition. (tr_where, tr_freehook, tr_mallochook,
20339 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20340
195b8165
DM
203412014-02-11 David S. Miller <davem@davemloft.net>
20342
20343 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20344 processing int_tests.
20345
2ad7600b
JM
203462014-02-10 Joseph Myers <joseph@codesourcery.com>
20347
20348 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20349 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20350 * sysdeps/unix/sysv/linux/mips: Move directory from
20351 ports/sysdeps/unix/sysv/linux/mips.
20352 * README: Update listing for mips-*-linux-gnu and
20353 mips64-*-linux-gnu.
20354
73588a72
AS
203552014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20356
20357 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20358 * sysdeps/unix/sysv/linux/m68k: Move directory from
20359 ports/sysdeps/unix/sysv/linux/m68k.
20360 * README: Update listing for m68k-*-linux-gnu.
20361
4372980f
CM
203622014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20363
20364 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20365 * sysdeps/unix/sysv/linux/generic: Move directory from
20366 ports/sysdeps/unix/sysv/linux/generic.
20367 * sysdeps/unix/sysv/linux/tile: Move directory from
20368 ports/sysdeps/unix/sysv/linux/tile.
20369 * README: Update listing for tile*-*-linux-gnu.
20370
a1ffb40e
OB
203712014-02-10 Ondřej Bílka <neleai@seznam.cz>
20372
57f41c40
AS
20373 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20374 __builtin_expect.
a1ffb40e
OB
20375 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20376 * catgets/open_catalog.c (__open_catalog): Likewise.
20377 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20378 * debug/confstr_chk.c: Likewise.
20379 * debug/fread_chk.c (__fread_chk): Likewise.
20380 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20381 * debug/getgroups_chk.c: Likewise.
20382 * debug/mbsnrtowcs_chk.c: Likewise.
20383 * debug/mbsrtowcs_chk.c: Likewise.
20384 * debug/mbstowcs_chk.c: Likewise.
20385 * debug/memcpy_chk.c: Likewise.
20386 * debug/memmove_chk.c: Likewise.
20387 * debug/mempcpy_chk.c: Likewise.
20388 * debug/memset_chk.c: Likewise.
20389 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20390 * debug/strcat_chk.c (__strcat_chk): Likewise.
20391 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20392 * debug/strncat_chk.c (__strncat_chk): Likewise.
20393 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20394 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20395 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20396 * debug/wcpncpy_chk.c: Likewise.
20397 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20398 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20399 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20400 * debug/wcsncpy_chk.c: Likewise.
20401 * debug/wcsnrtombs_chk.c: Likewise.
20402 * debug/wcsrtombs_chk.c: Likewise.
20403 * debug/wcstombs_chk.c: Likewise.
20404 * debug/wmemcpy_chk.c: Likewise.
20405 * debug/wmemmove_chk.c: Likewise.
20406 * debug/wmempcpy_chk.c: Likewise.
20407 * debug/wmemset_chk.c: Likewise.
20408 * dirent/scandirat.c (SCANDIRAT): Likewise.
20409 * dlfcn/dladdr1.c (dladdr1): Likewise.
20410 * dlfcn/dladdr.c (dladdr): Likewise.
20411 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20412 * dlfcn/dlerror.c (__dlerror): Likewise.
20413 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20414 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20415 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20416 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20417 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20418 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20419 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20420 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20421 Likewise.
20422 * elf/dl-conflict.c: Likewise.
20423 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20424 * elf/dl-dst.h: Likewise.
20425 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20426 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20427 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20428 * elf/dl-init.c (call_init, _dl_init): Likewise.
20429 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
20430 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20431 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20432 Likewise.
a1ffb40e
OB
20433 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20434 Likewise.
20435 * elf/dl-minimal.c (__libc_memalign): Likewise.
20436 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20437 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20438 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20439 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
20440 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20441 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
20442 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20443 * elf/dl-writev.h (_dl_writev): Likewise.
20444 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
20445 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20446 (dl_main): Likewise.
a1ffb40e
OB
20447 * elf/setup-vdso.h (setup_vdso): Likewise.
20448 * grp/compat-initgroups.c (compat_call): Likewise.
20449 * grp/fgetgrent.c (fgetgrent): Likewise.
20450 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20451 * grp/putgrent.c (putgrent): Likewise.
20452 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20453 Likewise.
20454 * hurd/hurdinit.c: Likewise.
20455 * iconvdata/8bit-gap.c (struct): Likewise.
20456 * iconvdata/ansi_x3.110.c : Likewise.
20457 * iconvdata/big5.c : Likewise.
20458 * iconvdata/big5hkscs.c : Likewise.
20459 * iconvdata/cp1255.c: Likewise.
20460 * iconvdata/cp1258.c : Likewise.
20461 * iconvdata/cp932.c : Likewise.
20462 * iconvdata/euc-cn.c: Likewise.
20463 * iconvdata/euc-jisx0213.c : Likewise.
20464 * iconvdata/euc-jp.c: Likewise.
20465 * iconvdata/euc-jp-ms.c : Likewise.
20466 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20467 * iconvdata/gb18030.c : Likewise.
20468 * iconvdata/gbbig5.c (const): Likewise.
20469 * iconvdata/gbgbk.c: Likewise.
20470 * iconvdata/gbk.c : Likewise.
20471 * iconvdata/ibm1364.c : Likewise.
20472 * iconvdata/ibm930.c : Likewise.
20473 * iconvdata/ibm932.c: Likewise.
20474 * iconvdata/ibm933.c : Likewise.
20475 * iconvdata/ibm935.c : Likewise.
20476 * iconvdata/ibm937.c : Likewise.
20477 * iconvdata/ibm939.c : Likewise.
20478 * iconvdata/ibm943.c: Likewise.
20479 * iconvdata/iso_11548-1.c: Likewise.
20480 * iconvdata/iso-2022-cn.c : Likewise.
20481 * iconvdata/iso-2022-cn-ext.c : Likewise.
20482 * iconvdata/iso-2022-jp-3.c: Likewise.
20483 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20484 * iconvdata/iso-2022-kr.c : Likewise.
20485 * iconvdata/iso646.c (gconv_end): Likewise.
20486 * iconvdata/iso_6937-2.c : Likewise.
20487 * iconvdata/iso_6937.c : Likewise.
20488 * iconvdata/iso8859-1.c: Likewise.
20489 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20490 * iconvdata/shift_jisx0213.c : Likewise.
20491 * iconvdata/sjis.c : Likewise.
20492 * iconvdata/t.61.c : Likewise.
20493 * iconvdata/tcvn5712-1.c : Likewise.
20494 * iconvdata/tscii.c: Likewise.
20495 * iconvdata/uhc.c : Likewise.
20496 * iconvdata/unicode.c (gconv_end): Likewise.
20497 * iconvdata/utf-16.c (gconv_end): Likewise.
20498 * iconvdata/utf-32.c (gconv_end): Likewise.
20499 * iconvdata/utf-7.c (base64): Likewise.
20500 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20501 * iconv/gconv_close.c (__gconv_close): Likewise.
20502 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
20503 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20504 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20505 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20506 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20507 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
20508 * iconv/iconv.c (iconv): Likewise.
20509 * iconv/iconv_close.c: Likewise.
20510 * iconv/loop.c (SINGLE): Likewise.
20511 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20512 * include/atomic.h: Likewise.
20513 * inet/inet6_option.c (option_alloc): Likewise.
20514 * intl/bindtextdom.c (set_binding_values): Likewise.
20515 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20516 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20517 * intl/localealias.c (read_alias_file): Likewise.
20518 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
20519 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20520 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
20521 * libio/fmemopen.c (fmemopen): Likewise.
20522 * libio/iofgets.c (_IO_fgets): Likewise.
20523 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20524 * libio/iofgetws.c (fgetws): Likewise.
20525 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20526 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
20527 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20528 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
20529 * locale/findlocale.c (_nl_find_locale): Likewise.
20530 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20531 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20532 Likewise.
20533 * locale/setlocale.c (setlocale): Likewise.
20534 * login/programs/pt_chown.c (main): Likewise.
20535 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20536 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
20537 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20538 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
20539 * math/e_exp2l.c: Likewise.
20540 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20541 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20542 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20543 * math/s_catan.c (__catan): Likewise.
20544 * math/s_catanf.c (__catanf): Likewise.
20545 * math/s_catanh.c (__catanh): Likewise.
20546 * math/s_catanhf.c (__catanhf): Likewise.
20547 * math/s_catanhl.c (__catanhl): Likewise.
20548 * math/s_catanl.c (__catanl): Likewise.
20549 * math/s_ccosh.c (__ccosh): Likewise.
20550 * math/s_ccoshf.c (__ccoshf): Likewise.
20551 * math/s_ccoshl.c (__ccoshl): Likewise.
20552 * math/s_cexp.c (__cexp): Likewise.
20553 * math/s_cexpf.c (__cexpf): Likewise.
20554 * math/s_cexpl.c (__cexpl): Likewise.
20555 * math/s_clog10.c (__clog10): Likewise.
20556 * math/s_clog10f.c (__clog10f): Likewise.
20557 * math/s_clog10l.c (__clog10l): Likewise.
20558 * math/s_clog.c (__clog): Likewise.
20559 * math/s_clogf.c (__clogf): Likewise.
20560 * math/s_clogl.c (__clogl): Likewise.
20561 * math/s_csin.c (__csin): Likewise.
20562 * math/s_csinf.c (__csinf): Likewise.
20563 * math/s_csinh.c (__csinh): Likewise.
20564 * math/s_csinhf.c (__csinhf): Likewise.
20565 * math/s_csinhl.c (__csinhl): Likewise.
20566 * math/s_csinl.c (__csinl): Likewise.
20567 * math/s_csqrt.c (__csqrt): Likewise.
20568 * math/s_csqrtf.c (__csqrtf): Likewise.
20569 * math/s_csqrtl.c (__csqrtl): Likewise.
20570 * math/s_ctan.c (__ctan): Likewise.
20571 * math/s_ctanf.c (__ctanf): Likewise.
20572 * math/s_ctanh.c (__ctanh): Likewise.
20573 * math/s_ctanhf.c (__ctanhf): Likewise.
20574 * math/s_ctanhl.c (__ctanhl): Likewise.
20575 * math/s_ctanl.c (__ctanl): Likewise.
20576 * math/w_pow.c: Likewise.
20577 * math/w_powf.c: Likewise.
20578 * math/w_powl.c: Likewise.
20579 * math/w_scalb.c (sysv_scalb): Likewise.
20580 * math/w_scalbf.c (sysv_scalbf): Likewise.
20581 * math/w_scalbl.c (sysv_scalbl): Likewise.
20582 * misc/error.c (error_tail): Likewise.
20583 * misc/pselect.c (__pselect): Likewise.
20584 * nis/nis_callback.c (__nis_create_callback): Likewise.
20585 * nis/nis_call.c (__nisfind_server): Likewise.
20586 * nis/nis_creategroup.c (nis_creategroup): Likewise.
20587 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20588 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20589 * nis/nis_getservlist.c (nis_getservlist): Likewise.
20590 * nis/nis_lookup.c (nis_lookup): Likewise.
20591 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
20592 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20593 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 20594 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
20595 * nis/nss_compat/compat-grp.c (getgrent_next_file)
20596 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20597 * nis/nss_compat/compat-initgroups.c (add_group)
20598 (internal_getgrent_r): Likewise.
20599 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20600 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20601 * nis/nss_compat/compat-spwd.c (getspent_next_file)
20602 (internal_getspnam_r): Likewise.
20603 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20604 (_nss_nis_getaliasbyname_r): Likewise.
20605 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20606 (_nss_nis_getntohost_r): Likewise.
20607 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20608 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20609 (_nss_nis_getgrgid_r): Likewise.
20610 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20611 (internal_nis_gethostent_r, internal_gethostbyname2_r)
20612 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20613 (_nss_nis_gethostbyname4_r): Likewise.
20614 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20615 (initgroups_netid): Likewise.
a1ffb40e 20616 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
20617 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20618 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20619 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20620 (_nss_nis_getprotobynumber_r): Likewise.
20621 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20622 (_nss_nis_getsecretkey): Likewise.
20623 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20624 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20625 (_nss_nis_getpwuid_r): Likewise.
20626 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20627 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20628 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20629 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20630 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20631 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
20632 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20633 Likewise.
57f41c40
AS
20634 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20635 (_nss_nisplus_getntohost_r): Likewise.
20636 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20637 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20638 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20639 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 20640 Likewise.
57f41c40
AS
20641 * nis/nss_nisplus/nisplus-initgroups.c
20642 (_nss_nisplus_initgroups_dyn): Likewise.
20643 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20644 (_nss_nisplus_getnetbyaddr_r): Likewise.
20645 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20646 (_nss_nisplus_getprotobynumber_r): Likewise.
20647 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20648 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
20649 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20650 Likewise.
57f41c40
AS
20651 * nis/nss_nisplus/nisplus-service.c
20652 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20653 (_nss_nisplus_getservbyport_r): Likewise.
20654 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20655 (_nss_nisplus_getspnam_r): Likewise.
20656 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20657 Likewise.
a1ffb40e
OB
20658 * nscd/aicache.c (addhstaiX): Likewise.
20659 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
20660 * nscd/connections.c (register_traced_file, send_ro_fd)
20661 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20662 (main_loop_epoll): Likewise.
a1ffb40e
OB
20663 * nscd/grpcache.c (addgrbyX): Likewise.
20664 * nscd/hstcache.c (addhstbyX): Likewise.
20665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20666 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
20667 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20668 (addinnetgrX): Likewise.
20669 * nscd/nscd-client.h (__nscd_acquire_maplock)
20670 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
20671 * nscd/nscd_getai.c (__nscd_getai): Likewise.
20672 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20673 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20674 Likewise.
20675 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20676 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
20677 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20678 (__nscd_get_map_ref): Likewise.
a1ffb40e 20679 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
20680 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20681 Likewise.
a1ffb40e
OB
20682 * nscd/pwdcache.c (addpwbyX): Likewise.
20683 * nscd/selinux.c (preserve_capabilities): Likewise.
20684 * nscd/servicescache.c (addservbyX): Likewise.
20685 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20686 * posix/fnmatch.c (fnmatch): Likewise.
20687 * posix/getopt.c (_getopt_internal_r): Likewise.
20688 * posix/glob.c (glob, glob_in_dir): Likewise.
20689 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
20690 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20691 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
20692 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20693 * resolv/res_init.c: Likewise.
20694 * resolv/res_mkquery.c (res_nmkquery): Likewise.
20695 * resolv/res_query.c (__libc_res_nquery): Likewise.
20696 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20697 Likewise.
20698 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20699 * stdio-common/perror.c (perror): Likewise.
20700 * stdio-common/printf_fp.c (___printf_fp): Likewise.
20701 * stdio-common/tmpnam.c (tmpnam): Likewise.
20702 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20703 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
20704 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20705 Likewise.
a1ffb40e
OB
20706 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20707 * stdlib/putenv.c (putenv): Likewise.
20708 * stdlib/setenv.c (__add_to_environ): Likewise.
20709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20710 * stdlib/strtol_l.c (INTERNAL): Likewise.
20711 * string/memmem.c (memmem): Likewise.
20712 * string/strerror.c (strerror): Likewise.
20713 * string/strnlen.c (__strnlen): Likewise.
20714 * string/test-memmem.c (simple_memmem): Likewise.
20715 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20716 * sunrpc/pm_getport.c (__get_socket): Likewise.
20717 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20718 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
20719 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20720 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
20721 Likewise.
20722 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20723 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20724 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20725 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20726 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
20727 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20728 Likewise.
20729 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20730 Likewise.
a1ffb40e
OB
20731 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20732 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20734 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20735 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20737 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20738 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20739 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20740 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20741 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20743 Likewise.
20744 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20745 Likewise.
20746 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20747 Likewise.
20748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20750 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20751 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20752 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20753 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20754 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20756 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20757 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
20763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20764 Likewise.
a1ffb40e
OB
20765 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20766 Likewise.
20767 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20768 Likewise.
20769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20770 Likewise.
20771 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20773 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20774 Likewise.
20775 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20776 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20777 * sysdeps/posix/opendir.c (__opendirat): Likewise.
20778 * sysdeps/posix/sleep.c: Likewise.
20779 * sysdeps/posix/tempname.c: Likewise.
20780 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20781 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20782 Likewise.
57f41c40
AS
20783 * sysdeps/powerpc/powerpc32/dl-machine.h
20784 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
20785 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20786 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20787 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20788 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20789 Likewise.
20790 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20791 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20792 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20793 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20794 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20795 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20796 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20797 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20798 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20799 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20801 (elf_machine_lazy_rel): Likewise.
a1ffb40e 20802 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20804 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20805 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20806 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20807 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20808 * sysdeps/unix/grantpt.c (grantpt): Likewise.
20809 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20810 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20811 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20813 Likewise.
20814 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20815 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20816 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20817 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20818 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20819 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20820 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20821 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20822 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20823 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20824 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20825 Likewise.
20826 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20827 (__posix_fallocate64_l64): Likewise.
20828 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20829 (posix_fallocate): Likewise.
57f41c40
AS
20830 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20831 Likewise.
a1ffb40e 20832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
20833 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20834 (getifaddrs_internal): Likewise.
a1ffb40e
OB
20835 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20836 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20837 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20838 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20839 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20840 (__posix_fallocate64_l64): Likewise.
20841 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20842 Likewise.
20843 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
20844 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20845 (__get_clockfreq): Likewise.
a1ffb40e
OB
20846 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20847 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20848 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20851 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20852 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20853 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20854 Likewise.
20855 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20856 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20857 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20858 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20859 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20860 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20861 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20862 Likewise.
20863 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20864 (posix_fallocate): Likewise.
20865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20866 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20867 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20868 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20869 (elf_machine_rela, elf_machine_rela_relative)
20870 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20871 * time/asctime.c (asctime_internal): Likewise.
20872 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20873 * time/tzset.c (__tzset_parse_tz): Likewise.
20874 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20875 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20876 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20877 * wcsmbs/wcsmbsload.h: Likewise.
20878
f3d338c9
OB
20879 [BZ #15894]
20880 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20881
57f41c40
AS
20882 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20883 (arena_get2): Remove THREAD_STATS conditionals.
20884 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20885 (__malloc_stats, int): Likewise.
bdfe308a 20886
d674667c
MF
208872014-02-08 Mike Frysinger <vapier@gentoo.org>
20888
20889 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20890 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
20891
6349768c
MF
20892 * manual/setjmp.texi: Fix typos/grammar errors.
20893
0b7c7473
MF
20894 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20895 Only return early when n is <= 0. Delete unused return statement.
20896
ac8cc9e3
MF
20897 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20898 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20899 * debug/tst-longjmp_chk3.c: New file.
20900
c5bb8e23
MF
20901 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20902 (test_main): Replace code with set_fortify_handler call.
20903 * debug/test-strcpy_chk.c: Likewise.
20904 * debug/tst-chk1.c: Likewise.
20905 * debug/tst-longjmp_chk.c: Likewise.
20906 * test-skeleton.c: Include fcntl.h & paths.h
20907 (set_fortify_handler): Define.
20908
10444e42
MF
20909 * debug/tst-longjmp_chk.c: Add header comment and include
20910 ../test-skeleton.c.
20911 (do_test): Mark static.
20912 (TEST_FUNCTION): Define.
20913
1e805e8d
MF
20914 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20915 (IP_PMTUDISC_INTERFACE): Likewise.
20916 (IP_MULTICAST_IF): Likewise.
20917 (IP_MULTICAST_TTL): Likewise.
20918 (IP_MULTICAST_LOOP): Likewise.
20919 (IP_ADD_MEMBERSHIP): Likewise.
20920 (IP_DROP_MEMBERSHIP): Likewise.
20921 (IP_UNBLOCK_SOURCE): Likewise.
20922 (IP_BLOCK_SOURCE): Likewise.
20923 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20924 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20925 (IP_MSFILTER): Likewise.
20926 (MCAST_JOIN_GROUP): Likewise.
20927 (MCAST_BLOCK_SOURCE): Likewise.
20928 (MCAST_UNBLOCK_SOURCE): Likewise.
20929 (MCAST_LEAVE_GROUP): Likewise.
20930 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20931 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20932 (MCAST_MSFILTER): Likewise.
20933 (IP_MULTICAST_ALL): Likewise.
20934 (IP_UNICAST_IF): Likewise.
20935
73f79bb7
MF
20936 * timezone/Makefile: Delete $(have-ksh) check.
20937 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20938 * timezone/tzselect.ksh: Add +x mode bits.
20939
8da79b60
MF
20940 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20941 (ANON_INODE_FS_MAGIC): Likewise.
20942 (BDEVFS_MAGIC): Likewise.
20943 (BINFMTFS_MAGIC): Likewise.
20944 (BTRFS_TEST_MAGIC): Likewise.
20945 (CRAMFS_MAGIC_WEND): Likewise.
20946 (DEBUGFS_MAGIC): Likewise.
20947 (ECRYPTFS_SUPER_MAGIC): Likewise.
20948 (EXT3_SUPER_MAGIC): Likewise.
20949 (EXT4_SUPER_MAGIC): Likewise.
20950 (FUTEXFS_SUPER_MAGIC): Likewise.
20951 (HOSTFS_SUPER_MAGIC): Likewise.
20952 (HUGETLBFS_MAGIC): Likewise.
20953 (MINIX3_SUPER_MAGIC): Likewise.
20954 (MTD_INODE_FS_MAGIC): Likewise.
20955 (NILFS_SUPER_MAGIC): Likewise.
20956 (OPENPROM_SUPER_MAGIC): Likewise.
20957 (PIPEFS_MAGIC): Likewise.
20958 (PSTOREFS_MAGIC): Likewise.
20959 (QNX6_SUPER_MAGIC): Likewise.
20960 (RAMFS_MAGIC): Likewise.
20961 (REISERFS_SUPER_MAGIC_STRING): Likewise.
20962 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20963 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20964 (SECURITYFS_MAGIC): Likewise.
20965 (SELINUX_MAGIC): Likewise.
20966 (SMACK_MAGIC): Likewise.
20967 (SOCKFS_MAGIC): Likewise.
20968 (SQUASHFS_MAGIC): Likewise.
20969 (STACK_END_MAGIC): Likewise.
20970 (TMPFS_MAGIC): Likewise.
20971 (USBDEVICE_SUPER_MAGIC): Likewise.
20972 (V9FS_MAGIC): Likewise.
20973 (XENFS_SUPER_MAGIC): Likewise.
20974 (CRAMFS_MAGIC): Fix typo in comment.
20975 (EXT2_SUPER_MAGIC): Update comment.
20976 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20977
464263cc
JM
209782014-02-08 Joseph Myers <joseph@codesourcery.com>
20979
c6bfe5c4
JM
20980 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20981 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20982 * sysdeps/unix/sysv/linux/arm: Move directory from
20983 ports/sysdeps/unix/sysv/linux/arm.
20984 * README: Update listing for arm-*-linux-gnueabi.
20985
464263cc
JM
20986 * README: Remove mention of am33.
20987
32749f6c
RM
209882014-02-07 Roland McGrath <roland@hack.frob.com>
20989
20990 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20991 than the comma operator, to avoid "rhs of comma has no effect"
20992 compiler warnings.
20993 (__sigfillset, __sigandset, __sigorset): Likewise.
20994 * include/signal.h (__sigemptyset): Likewise.
20995 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20996
d5b396c1
AM
209972014-02-07 Allan McRae <allan@archlinux.org>
20998
20999 * version.h (RELEASE): Set to "development".
21000 (VERSION): Set to "2.19.90"
21001 * NEWS: Add 2.20 section.
21002
3bfff2ed
CD
210032014-02-06 Carlos O'Donell <carlos@redhat.com>
21004
21005 [BZ #16529]
21006 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21007
ee7cc385
SP
210082014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21009
21010 * manual/contrib.texi: Update entry for Carlos O'Donell,
21011 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21012
f877c4f2
CD
210132014-02-05 Carlos O'Donell <carlos@rehdat.com>
21014
27e839f6
CD
21015 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21016
f877c4f2
CD
21017 * sysdeps/unix/sysv/linux/kernel-features.h
21018 [__LINUX_KERNEL_VERSION >= 0x020621]
21019 (__ASSUME_PROC_PID_TASK_COMM): Define.
21020
68159946
SP
210212014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21022
ba17cdbd
SP
21023 [BZ #16398]
21024 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21025 conversion when destination buffer does not have enough space.
21026 * libio/tst-ftell-partial-wide.c: New test case.
21027 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21028
68159946
SP
21029 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21030 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21031 Leonard and Allan McRae.
21032
2b528732
DM
210332014-02-04 David S. Miller <davem@davemloft.net>
21034
21035 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21036 32-bit.
21037
0ff82463
AZ
210382014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21039
57f41c40
AS
21040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21041 New file
c01603f7
AZ
21042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21043 New file
57f41c40
AS
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21045 New file.
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21047 New file.
c01603f7
AZ
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21049 New file.
57f41c40
AS
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21051 New file.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21053 New file.
c01603f7
AZ
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21055 New file.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21057 New file.
21058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21059 New file.
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21061 New file.
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21063 New file.
21064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21065 New file.
21066
210672014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21068
0ff82463
AZ
21069 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21070 * shlib-versions: Likewise.
21071
1695c773
AZ
210722014-02-04 Roland McGrath <roland@hack.frob.com>
21073 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21074
21075 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21076 (abilist-pattern): New variable, set to %-le.abilist.
21077
21078 * Makerules (abilist-pattern): New variable.
21079 (vpath): Use $(abilist-pattern) in place of %.abilist.
21080 (check-abi-% pattern rule): Likewise.
21081 (check-abi, update-abi): Likewise.
21082
6c0ce4b4
EW
210832014-02-04 Eric Wong <normalperson@yhbt.net>
21084
21085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21086
481e3524
CD
210872014-02-03 Carlos O'Donell <carlos@redhat.com>
21088
21089 * manual/startup.texi: Add next, previous, and top entries for
21090 the `Program Arguments' and `Environment Variables' nodes.
21091
375592d3
AO
210922014-02-03 Alexandre Oliva <aoliva@redhat.com>
21093
21094 * manual/macros.texi: Add comments before MTASC-safety macros.
21095
f54838ba
AO
21096 * manual/users.texi: Document MTASC-safety properties.
21097
57f41c40
AS
21098 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21099 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
21100 @deftypefun, and add @safety note.
21101 * manual/signal.texi: Move comments that analyze the above
21102 functions to their home place.
21103
fd3daba4
AM
211042014-02-03 Allan McRae <allan@archlinux.org>
21105
21106 * po/sl.po: Update Slovenian translation from translation project.
21107
597636d7
AO
211082014-02-02 Alexandre Oliva <aoliva@redhat.com>
21109
21110 * manual/time.texi (timegm): Add missing blank after @c.
21111 Reported by Joseph Myers <joseph@codesourcery.com>.
21112
ee196e3c
AO
211132014-02-01 Alexandre Oliva <aoliva@redhat.com>
21114
21115 * manual/check-safety.sh: New.
21116 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21117
f8d529d5
AO
21118 * manual/terminal.texi: Document MTASC-safety properties.
21119
de55fdf4
AO
21120 * manual/filesys.texi: Document MTASC-safety properties.
21121
c3299c08
AO
21122 * manual/errno.texi: Document MTASC-safety properties.
21123
06e90b14
AO
21124 * manual/intro.texi: Document safety identifiers and
21125 conditionals.
21126
1acd4371
AO
21127 * manual/string.texi (wcstok): Fix prototype.
21128 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21129
23e5b8cb
AO
21130 * manual/time.texi: Document MTASC-safety properties.
21131
11087373
AO
21132 * manual/string.texi: Document MTASC-safety properties.
21133
5da2c93d
AO
21134 * manual/threads.texi: Document MTASC-safety properties.
21135
171e9210
AO
21136 * manual/stdio.texi: Document MTASC-safety properties.
21137
d9e02532
AO
21138 * manual/syslog.texi: Document MTASC-safety properties.
21139
6af8bab7
AO
21140 * manual/sysinfo.texi: Document MTASC-safety properties.
21141
663b02d7
AO
21142 * manual/startup.texi: Document MTASC-safety properties.
21143
973f180b
AO
21144 * manual/socket.texi: Document MTASC-safety properties.
21145
8f3c25c8
AO
21146 * manual/signal.texi: Document MTASC-safety properties.
21147
542210fb
AO
211482014-01-31 Alexandre Oliva <aoliva@redhat.com>
21149
21150 * manual/setjmp.texi: Document MTASC-safety properties.
21151
433c45a2
AO
21152 * manual/search.texi: Document MTASC-safety properties.
21153
c8ce789c
AO
21154 * manual/resource.texi: Document MTASC-safety properties.
21155
19f5d29c
AO
21156 * manual/process.texi: Document MTASC-safety properties.
21157
e2dfb7f4
AO
21158 * manual/platform.texi: Document MTASC-safety properties.
21159
8c1413f5
AO
21160 * manual/pipe.texi: Document MTASC-safety properties.
21161
03483ada
AO
21162 * manual/pattern.texi: Document MTASC-safety properties.
21163
29e7e2df
AO
21164 * manual/message.texi: Document MTASC-safety properties.
21165
9f529d7c
AO
21166 [BZ #12751]
21167 * manual/memory.texi: Document MTASC-safety properties.
21168
27aaa791
AO
21169 * manual/math.texi: Document MTASC-safety properties.
21170
f2d58726
AO
21171 * manual/locale.texi: Document MTASC-safety properties.
21172
2cc3615c
AO
21173 * manual/llio.texi: Document MTASC-safety properties.
21174
d9f0ec97
AO
21175 * manual/libdl.texi: New.
21176
e7c4409a
AO
21177 * manual/lang.texi: Document MTASC-safety properties.
21178
27bdc63c
AO
21179 * manual/job.texi: Document MTASC-safety properties.
21180
a7b90ea9
AO
21181 * manual/getopt.texi: Document MTASC-safety properties.
21182
c49130e3
AO
21183 * manual/ctype.texi: Document MTASC-safety properties.
21184
0d23a5c1
MR
211852014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21186
21187 [BZ #16046]
21188 * csu/libc-tls.c (static_map): Remove variable.
21189 (__libc_setup_tls): Use main executable's link map for TLS data.
21190 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21191 casing for LM_ID_BASE and GL(dl_nns).
21192 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21193 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21194 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21195 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21196 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21197 member.
21198 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21199 l_phnum members.
21200
0037bb60
AO
212012014-01-30 Alexandre Oliva <aoliva@redhat.com>
21202
21203 * manual/debug.texi: Document MTASC-safety properties.
21204
409e00bd
L
212052014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21206
21207 [BZ #16510]
21208 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21209 of __x86_64__ when disabling x87 inline functions.
21210
86e60666
AO
212112014-01-29 Alexandre Oliva <aoliva@redhat.com>
21212
21213 * manual/charset.texi: Document MTASC-safety properties.
21214
76167637
AO
21215 * manual/crypt.texi: Document MTASC-safety properties.
21216
e567f2a0
AO
21217 * manual/conf.texi: Document MTASC-safety properties.
21218
b719dafd
AO
21219 * manual/arith.texi: Document MTASC-safety properties.
21220
4a16c662
AO
21221 * manual/argp.texi: Document MTASC-safety properties.
21222
0a57b83e
AO
21223 * manual/macros.texi: Introduce macros to document multi
21224 thread, asynchronous signal and asynchronous cancellation
21225 safety properties.
21226 * manual/intro.texi: Introduce the properties themselves.
21227
feab2397
KK
212282014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21229
21230 * sysdeps/sh/sh4/Makefile: New file.
21231
1c0d11bc
AS
212322014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21233
21234 * math/gen-libm-test.pl ($srcdir): New variable.
21235 ($auto_input): Use it.
21236
af37a8a3
SP
212372014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21238
d7b00f98
SP
21239 [BZ #16506]
21240 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21241 access beyond array bounds when parsing netgroups file.
21242
af37a8a3
SP
21243 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21244 the old buffer before realloc.
21245
0c00f062
AM
212462014-01-27 Allan McRae <allan@archlinux.org>
21247
21248 * po/fr.po: Update French translation from translation project.
21249
7d69a1b0
KK
212502014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21251
21252 * sysdeps/sh/libm-test-ulps: Regenerate.
21253
6e697ff7
DM
212542014-01-24 David S. Miller <davem@davemloft.net>
21255
21256 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21257
9cadb35c
KK
212582014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21259
21260 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21261 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21262
5d41dadf
SP
212632013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21264
21265 [BZ #16474]
21266 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21267 string pointers after reallocation.
21268
0bad441c
KK
212692014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21270
21271 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21272 __SH4A__ instead of __SH_FPU_ANY__.
21273
7007c661
KK
212742014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21275
21276 * sysdeps/sh/fpu_control.h: New file.
21277 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21278 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21279 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21280 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21281 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21282 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21283 * sysdeps/sh/sys/ucontext.h: Remove.
21284 * sysdeps/sh/sys: Remove directory.
21285
0f0c35e4
AK
212862014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21287
21288 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21289 s390/sys/ucontext.h.
21290 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21292
4959e284
L
212932014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21294
21295 [BZ #15605]
21296 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21297
d98720e0
AZ
212982014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21299
21300 [BZ#16431]
21301 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21302 Adjust the vDSO correctly for internal calls.
21303 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21304
91cbd0bc
AM
213052014-01-20 Allan McRae <allan@archlinux.org>
21306
21307 * po/ca.po: Update Catalan translation from translation project.
21308
7a02cfad
MF
213092014-01-16 Mike Frysinger <vapier@gentoo.org>
21310
21311 * sysdeps/s390/sotruss-lib.c: New file.
21312
736c304a
AZ
213132014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21314
21315 [BZ#16430]
6e077ee5 21316 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
21317 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21318 local calls issues by not having a PLT stub required for IFUNC calls.
21319 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21320
94d0cea0
JM
213212014-01-16 Joseph Myers <joseph@codesourcery.com>
21322
21323 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21324 * math/test-fpucw-static.c: Likewise.
21325
980cb518
SP
213262013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21327
21328 [BZ #16453]
21329 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21330
2393fc01
AZ
213312014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21332
21333 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21334 implementation for powerpc.
21335
d359bcc2
OB
213362014-01-15 Ondřej Bílka <neleai@seznam.cz>
21337
21338 [BZ #14782]
21339 * sysdeps/posix/system.c (__libc_system): Do not enable
21340 asynchronous cancellation.
21341
7beb48cb
AK
213422014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21343
21344 [BZ #16427]
21345 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21346 handling only for numbers special also in the IEEE case.
21347
c20d5bf5
AK
213482014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21349
21350 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21351
e83bd4ee
AM
213522014-01-11 Allan McRae <allan@archlinux.org>
21353
76d0ea69
AM
21354 * po/bg.po: Update Bulgarian translation from translation project.
21355
e83bd4ee
AM
21356 * po/de.po: Update German translation from translation project.
21357
bc2ba20a
RM
213582014-01-10 Roland McGrath <roland@hack.frob.com>
21359
21360 * sysdeps/generic/gcc-compat.h: New file.
21361
649ecea2
SP
213622014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21363
21364 * benchtests/asin-inputs: Correct slow inputs.
21365 * benchtests/acos-inputs: Likewise.
21366
1b19c006
AM
213672014-01-10 Allan McRae <allan@archlinux.org>
21368
a46dab08
AM
21369 * po:sv.po: Update Swedish translation from translation project.
21370
421df74a
AM
21371 * po/vi.po: Update Vietnamese translation from translation project.
21372
d61c51a7
AM
21373 * po/eo.po: Update Esperanto translation from translation project.
21374
0339a319
AM
21375 * po/cs.po: Update Czech translation from translation project.
21376
94ad3e99
AM
21377 * po/nl.po: Update Dutch translation from translation project.
21378
e349ca71
AM
21379 * po/pl.po: Update Polish translation from translation project.
21380
ddf930c1
AM
21381 * po/ru.po: Update Russian translation from translation project.
21382
1b19c006
AM
21383 * po/uk.po: Update Ukrainian translation from translation project.
21384
9f236c49
BM
213852014-01-08 Brooks Moses <bmoses@google.com>
21386
21387 * elf/dl-load.c: Fix comment typo.
21388
cd6701cf
CD
213892014-01-08 Carlos O'Donell <carlos@redhat.com>
21390
21391 * po/header.pot: Rename to...
21392 * po/pot.header: ... this.
21393 * po/Makefile: Use pot.header.
21394
66671c84
YK
213952014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21396 Maxim Kuvyrkov <maxim@kugelworks.com>
21397
21398 [BZ #16394]
cd6701cf
CD
21399 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21400 SRC and DEST against LEN.
66671c84 21401
38f34581
AZ
214022014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21403
21404 [BZ #16414]
21405 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21406 implementation.
21407 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21408
214092014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
21410
21411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21412
4c327f2a
JM
214132014-01-08 Joseph Myers <joseph@codesourcery.com>
21414
21415 [BZ #16408]
21416 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21417 for large positive arguments.
21418
b821f414
JM
214192014-01-07 Joseph Myers <joseph@codesourcery.com>
21420
1f0f2067
JM
21421 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21422
a5a326f6
JM
21423 * math/auto-libm-test-in: Mark various tests with
21424 xfail-rounding:ldbl-128ibm.
21425 * math/auto-libm-test-out: Regenerated.
21426
b821f414
JM
21427 [BZ #16407]
21428 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21429 Increase overflow threshold.
21430
94c8a4bc
OB
214312014-01-07 Ondřej Bílka <neleai@seznam.cz>
21432
21433 [BZ #14286]
21434 * stdio-common/vfprintf.c: Check for integer overflow.
21435
87ded0c3
AK
214362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21437
21438 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21439 the first argument and return value of __tls_get_addr_internal.
21440
c5eebdd0
AK
214412014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21442
21443 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21444 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21445
05d138ef
AK
214462014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21447
21448 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21449 * sysdeps/s390/rtld-global-offsets.sym: New file.
21450 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21451 GLIBC_2.19 symbol.
21452 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21453 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21454 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21455 ... this.
21456 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21457 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21458 ... this.
21459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21460 Regenerate.
21461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21462 Regenerate.
21463 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21464 halfs of GPRs for high_gprs contexts.
21465 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21466 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
21467 field.
21468 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21469 uc_flags field.
21470 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21471 64 bit versions:
21472 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21473 for high GPRs (uc_high_gprs) and for future extensions
21474 (__reserved).
21475 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21476 for future extensions (__reserved).
21477 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21478 64 bit versions:
21479 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21480 SC_HIGHGPRS offset definition.
21481 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21482 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21483
93a45ff1
AK
21484 * Versions.def: Add GLIBC_2.19 for libpthread.
21485 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21486 siglongjmp for libpthread with GLIBC_2.19 symver.
21487 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21488 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21489 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21490 * sysdeps/s390/__longjmp.c: New file.
21491 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21492 * sysdeps/s390/longjmp.c: New file.
21493 * sysdeps/s390/setjmp.S: New file.
21494 * sysdeps/s390/sigjmp.S: New file.
21495 * sysdeps/s390/v1-longjmp.c: New file.
21496 * sysdeps/s390/v1-setjmp.h: New file.
21497 * sysdeps/s390/v1-sigjmp.c: New file.
21498 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21499 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21500 GLIBC_2.19 version.
21501 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21502 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21503 versioned symbols for ____longjmp_chk.
21504 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21505 Likewise.
21506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21507 Regenerate.
21508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21509 Regenerate.
21510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21511 Regenerate.
21512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21513 Regenerate.
21514 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21515 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21516 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21517 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21518 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21519 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21520 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21521 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21522 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21523 * sysdeps/s390/rtld-__longjmp.c: New file.
21524 * sysdeps/s390/rtld-setjmp.S: New file.
21525
eb3fc44b
JM
215262014-01-06 Joseph Myers <joseph@codesourcery.com>
21527
21528 [BZ #16400]
21529 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21530 Return -__logl (x) for small positive arguments without evaluating
21531 a polynomial.
21532
9341dde4
MF
215332014-01-06 Mike Frysinger <vapier@gentoo.org>
21534
21535 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21536 Rename to ...
21537 (__ptrace_peeksiginfo_args): ... this.
21538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21541
4cff0293
AM
215422014-01-06 Allan McRae <allan@archlinux.org>
21543
21544 * inet/netinet/in.h: Fix typo in comment.
21545
75595dcf
AJ
215462014-01-05 Andreas Jaeger <aj@suse.de>
21547
21548 * sysdeps/i386/fpu/libm-test-ulps: Update.
21549
79c1e109
AM
215502014-01-05 Allan McRae <allan@archlinux.org>
21551
dd804818
AM
21552 * po/libc.pot: Regenerated.
21553
79c1e109
AM
21554 * malloc/memusagestat.c: Fix gettext call formatting.
21555
0c813d1f
SK
215562014-01-04 Sami Kerola <kerolasa@iki.fi>
21557
21558 * nscd/nscd.c: Improve usage() output.
21559
20f4a8d9
MF
215602014-01-04 Mike Frysinger <vapier@gentoo.org>
21561
21562 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21563 * sysdeps/unix/sysv/linux/configure: Regenerated.
21564 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21565 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21566
22562bb2
JM
215672014-01-03 Joseph Myers <joseph@codesourcery.com>
21568
21569 [BZ #16390]
21570 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21571 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21572
d7ad2d9b
AZ
215732014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21574
21575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21576 extra tokens at end of #undef directive.
21577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21578 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21579 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21580
7dd009d8
JM
215812014-01-03 Joseph Myers <joseph@codesourcery.com>
21582
24db925a
JM
21583 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21584
7dd009d8
JM
21585 * math/auto-libm-test-in: Mark various tests with
21586 xfail-rounding:ldbl-128ibm.
21587 * math/auto-libm-test-out: Regenerated.
21588
396e3ecf
JM
215892014-01-02 Joseph Myers <joseph@codesourcery.com>
21590
819e5d50
JM
21591 [BZ #16386]
21592 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21593 numbers with subnormal high part when calculating exponent.
21594
90b6a1e5
JM
21595 [BZ #16385]
21596 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21597 fabs.
21598
396e3ecf
JM
21599 [BZ #16384]
21600 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21601 M_LN2l.
21602 (__ieee754_acoshl): Use __log1pl not __log1p.
21603
6c8dbf00
OB
216042013-01-02 Ondřej Bílka <neleai@seznam.cz>
21605
57f41c40
AS
21606 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21607 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21608 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21609 (grow_heap, heap_trim, _int_new_arena, get_free_list)
21610 (reused_arena, arena_get2): Convert to GNU style.
21611 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21612 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21613 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 21614 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
21615 * malloc/malloc.c (__malloc_assert, malloc_init_state)
21616 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21617 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21618 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21619 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21620 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 21621 * malloc/malloc.h: Likewise.
57f41c40
AS
21622 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21623 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 21624 * malloc/mcheck.h: Likewise.
57f41c40
AS
21625 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21626 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
21627 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21628 * malloc/morecore.c (__default_morecore): Likewise.
21629 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
21630 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21631 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21632 (print_and_abort): Likewise.
6c8dbf00
OB
21633 * malloc/obstack.h: Likewise.
21634 * malloc/set-freeres.c (__libc_freeres): Likewise.
21635 * malloc/tst-mallocstate.c (main): Likewise.
21636 * malloc/tst-mtrace.c (main): Likewise.
21637 * malloc/tst-realloc.c (do_test): Likewise.
21638
d4124212
SP
216392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21640
9a3c6a6f
SP
21641 [BZ #16366]
21642 * nscd/netgroupcache.c (do_notfound): New function.
21643 (addgetnetgrentX): Use it.
21644
d4124212
SP
21645 [BZ # 16365]
21646 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21647 NSS_STATUS_NOTFOUND.
21648
97b9a009
JM
216492014-01-01 Joseph Myers <joseph@codesourcery.com>
21650
21651 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21653
d4697bc9
AM
216542014-01-01 Allan McRae <allan@archlinux.org>
21655
ddb3687f
AM
21656 * scripts/update-copyrights: Update configure input file suffix.
21657
88726d48
AM
21658 * NEWS: Update copyright year.
21659 * catgets/gencat.c: Likewise.
21660 * csu/version.c: Likewise.
21661 * debug/catchsegv.sh: Likewise.
21662 * debug/pcprofiledump.c: Likewise.
21663 * debug/xtrace.sh: Likewise.
21664 * elf/ldconfig.c: Likewise.
21665 * elf/ldd.bash.in: Likewise.
21666 * elf/pldd.c: Likewise.
21667 * elf/sotruss.ksh: Likewise.
21668 * elf/sprof.c: Likewise.
21669 * iconv/iconv_prog.c: Likewise.
21670 * iconv/iconvconfig.c: Likewise.
21671 * locale/programs/locale.c: Likewise.
21672 * locale/programs/localedef.c: Likewise.
21673 * login/programs/pt_chown.c: Likewise.
21674 * malloc/memusage.sh: Likewise.
21675 * malloc/memusagestat.c: Likewise.
21676 * malloc/mtrace.pl: Likewise.
21677 * manual/libc.texinfo: Likewise.
21678 * nscd/nscd.c: Likewise.
21679 * nss/getent.c: Likewise.
21680 * nss/makedb.c: Likewise.
21681 * posix/getconf.c: Likewise.
21682 * scripts/test-installation.pl: Likewise.
21683
d4697bc9
AM
21684 * All files with FSF copyright notices: Update copyright dates
21685 using scripts/update-copyrights.
21686 * intl/plural.c: Regenerated.
21687 * locale/programs/charmap-kw.h: Likewise.
21688 * locale/programs/locfile-kw.h: Likewise.
21689
c8590f9d
MF
216902013-12-31 Mike Frysinger <vapier@gentoo.org>
21691
21692 * sysdeps/unix/sysv/linux/configure: Regenerated.
21693 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21694 the linux/fanotify.h header.
21695 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21696 HAVE_LINUX_FANOTIFY_H is defined.
21697
b19221b9
SP
216982013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21699
dd1d85e5
SP
21700 * benchtests/cos-inputs: New inputs.
21701 * benchtests/sin-inputs: Likewise.
21702
1acbb90f
SP
21703 * benchtests/atan-inputs: New inputs. Fix name of multiple
21704 precision fallback inputs.
21705
4c012ed3
SP
21706 * benchtests/atanh-inputs: New inputs.
21707 * benchtests/tanh-inputs: Likewise.
21708
eff98324
SP
21709 * benchtests/acosh-inputs: New inputs.
21710 * benchtests/asinh-inputs: Likewise.
21711
ce641152
SP
21712 * benchtests/cosh-inputs: New inputs.
21713 * benchtests/sinh-inputs: Likewise.
21714
b19221b9
SP
21715 * benchtests/acos-inputs: Add more inputs.
21716 * benchtests/asin-inputs: Likewise.
21717
030a4976 217182013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 21719
030a4976 21720 [BZ #16375]
9dcc8f11
VS
21721 * manual/arith.texi: Fix spelling.
21722 * manual/charset.texi: Likewise.
21723 * manual/errno.texi: Likewise.
21724 * manual/filesys.texi: Likewise.
21725 * manual/lang.texi: Likewise.
21726 * manual/llio.texi: Likewise.
21727 * manual/locale.texi: Likewise.
21728 * manual/message.texi: Likewise.
21729 * manual/resource.texi: Likewise.
21730 * manual/search.texi: Likewise.
21731 * manual/setjmp.texi: Likewise.
21732 * manual/stdio.texi: Likewise.
21733 * manual/string.texi: Likewise.
21734 * manual/sysinfo.texi: Likewise.
21735 * manual/time.texi: Likewise.
21736
11520a57
CD
217372013-12-27 Carlos O'Donell <carlos@redhat.com>
21738
21739 * po/sl.po: New file.
21740
471103ae
MF
217412013-12-27 Mike Frysinger <vapier@gentoo.org>
21742
21743 * .gitignore: Add core/.gdbinit/.gdb_history.
21744
6c9642ed
AM
217452013-12-27 Allan McRae <allan@archlinux.org>
21746
21747 [BZ #16369]
21748 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21749 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21750
3f637079
BM
217512013-12-24 Brooks Moses <bmoses@google.com>
21752
21753 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21754 all compilers that claim C++98 compliance, not just GCC.
21755 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21756 Likewise.
21757
abc26e99
MK
217582013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21759
21760 * NEWS: Restore accidentally deleted bug-fix entries.
21761
362b47fe
MK
217622013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21763 Ondřej Bílka <neleai@seznam.cz>
21764
21765 [BZ #15073]
21766 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 21767 have_lock.
362b47fe 21768
b9bcbbcb
OB
217692013-12-23 Ondřej Bílka <neleai@seznam.cz>
21770
21771 [BZ #12986]
21772 * manual/stdio.texi (String Input Conversions): Clarify that character
21773 classes are not supported.
21774
fb55fcd2
AZ
217752013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21776
21777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21778
ef7344f0
JM
217792013-12-22 Joseph Myers <joseph@codesourcery.com>
21780
4f40e4b3
JM
21781 [BZ #16337]
21782 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21783 Calculate results for small negative arguments directly rather
21784 than using reflection formula with special underflow handling.
21785
ef7344f0
JM
21786 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21787 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21788 sysdeps/unix/bsd/bsd4.4/syscalls.list.
21789 (fchflags): Likewise.
21790 (revoke): Likewise.
21791 (setlogin): Likewise.
21792 (sigaltstack): Likewise.
21793 (wait4): Likewise.
21794 (sigblock): Remove.
21795 (sigsetmask): Likewise.
21796 (wait3): Likewise.
21797 (waitpid): Likewise.
21798 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21799 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21800 file.
21801 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21802 * sysdeps/unix/bsd/Makefile: ... here.
21803 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21804 * sysdeps/unix/bsd/Versions: ... here.
21805 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21806 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21807 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21808 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21809 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21810 * sysdeps/unix/bsd/sigblock.c: ... here.
21811 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21812 * sysdeps/unix/bsd/sigsetmask.c: ... here.
21813 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21814 * sysdeps/unix/bsd/sigvec.c: ... here.
21815 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21816 * sysdeps/unix/bsd/tcdrain.c: ... here.
21817 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21818 * sysdeps/unix/bsd/tcgetattr.c: ... here.
21819 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21820 * sysdeps/unix/bsd/tcsetattr.c: ... here.
21821 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21822 * sysdeps/unix/bsd/wait.c: ... here.
21823 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21824 * sysdeps/unix/bsd/wait3.c: ... here.
21825 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21826 * sysdeps/unix/bsd/waitpid.c: ... here.
21827
5b0626b9
JM
218282013-12-21 Joseph Myers <joseph@codesourcery.com>
21829
21830 [BZ #16356]
21831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21832 round-to-nearest for [!USE_AS_EXPM1L].
21833 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21834 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
21835 more tests of exp and exp10. Expect some exp10 tests to miss
21836 exceptions or fail in directed rounding modes.
21837 * math/auto-libm-test-out: Regenerated.
21838 * math/libm-test.inc (exp10_tonearest_test_data): New array.
21839 (exp10_test_tonearest): New function.
21840 (exp10_towardzero_test_data): New array.
21841 (exp10_test_towardzero): New function.
21842 (exp10_downward_test_data): New array.
21843 (exp10_test_downward): New function.
21844 (exp10_upward_test_data): New array.
21845 (exp10_test_upward): New function.
21846 (main): Call the new functions.
21847 * sysdeps/i386/fpu/libm-test-ulps: Update.
21848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21849
7fda5682
JM
218502013-12-20 Joseph Myers <joseph@codesourcery.com>
21851
31e3a405
JM
21852 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21853 asinh, atan, atan2, atanh, cbrt, cos and cosh.
21854 * math/auto-libm-test-out: Regenerated.
21855 * math/libm-test.inc (acosh_test_data): Add more tests.
21856 (atanh_test_data): Likewise.
21857 (ceil_test_data): Likewise.
21858 (copysign_test_data): Likewise.
21859 * sysdeps/i386/fpu/libm-test-ulps: Update.
21860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21861
85bff96a
JM
21862 * timezone/checktab.awk: Update from tzcode 2013i.
21863 * timezone/private.h: Likewise.
21864 * timezone/scheck.c: Likewise.
21865 * timezone/tzfile.h: Likewise.
21866 * timezone/tzselect.ksh: Likewise.
21867 * timezone/zdump.c: Likewise.
21868 * timezone/zic.c: Likewise.
21869
b7867a3b
JM
21870 * math/auto-libm-test-in: Add tests of cpow.
21871 * math/auto-libm-test-out: Regenerated.
21872 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 21873 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
21874 mpc_cc_c.
21875 (func_calc_desc): Add mpc_cc_c union field.
21876 (test_functions): Add cpow.
21877 (special_fill_2pi): New function.
21878 (special_real_inputs): Add 2pi.
21879 (calc_generic_results): Handle mpc_cc_c.
21880 * sysdeps/i386/fpu/libm-test-ulps: Update.
21881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21882
7fda5682
JM
21883 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21884 csqrt, ctan and ctanh.
21885 * math/auto-libm-test-out: Regenerated.
21886 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21887 (TEST_COND_x86): Likewise.
21888 (ccos_test_data): Use AUTO_TESTS_c_c.
21889 (ccosh_test_data): Likewise.
21890 (cexp_test_data): Likewise.
21891 (clog_test_data): Likewise.
21892 (csqrt_test_data): Likewise.
21893 (ctan_test_data): Likewise.
21894 (ctan_tonearest_test_data): Likewise.
21895 (ctan_towardzero_test_data): Likewise.
21896 (ctan_downward_test_data): Likewise.
21897 (ctan_upward_test_data): Likewise.
21898 (ctanh_test_data): Likewise.
21899 (ctanh_tonearest_test_data): Likewise.
21900 (ctanh_towardzero_test_data): Likewise.
21901 (ctanh_downward_test_data): Likewise.
21902 (ctanh_upward_test_data): Likewise.
21903 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21904 mpc_c_c.
21905 (func_calc_desc): Add mpc_c_c union field.
21906 (FUNC_mpc_c_c): New macro.
21907 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21908 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21909 ctanh.
21910 (special_fill_min_subnorm_p120): New function.
21911 (special_real_inputs): Add min_subnorm_p120.
21912 (calc_generic_results): Handle mpc_c_c.
21913 * sysdeps/i386/fpu/libm-test-ulps: Update.
21914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21915
5ff8d60e
SP
219162013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21917
57f41c40
AS
21918 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21919 (do_sin_slow): New functions.
21920 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21921 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 21922
84ba214c
SP
21923 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21924 Use M to change sign of result instead of X. Assume X is
21925 positive.
21926 (csloww1): Likewise.
21927 (__sin): Adjust.
21928 (__cos): Adjust.
21929
975195e4
SP
21930 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21931 arguments A and DA.
21932 (__sin): Adjust.
21933 (__cos): Likewise.
21934
5ff8d60e
SP
21935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21936 (__cos): Likewise.
21937 (sloww1): Don't adjust sign of DX.
21938 (csloww1): Likewise.
21939 (sloww2): Use X directly and don't adjust sign of DX.
21940 (csloww2): Likewise.
21941
eb983568
JM
219422013-12-19 Joseph Myers <joseph@codesourcery.com>
21943
64a17f1a
JM
21944 * math/auto-libm-test-in: Add tests of cabs and carg.
21945 * math/auto-libm-test-out: Regenerated.
21946 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21947 (carg_test_data): Likewise.
21948 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21949 mpc_c_f.
21950 (func_calc_desc): Add mpc_c_f union field.
21951 (test_functions): Add cabs and carg.
21952 (calc_generic_results): Handle mpc_c_f.
21953
eb983568
JM
21954 * sysdeps/powerpc/powerpc32/libgcc-compat.S
21955 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21956 as a macro and a compat symbol.
21957 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21958 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21959 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21960 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21961 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21962 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21963 not use .hidden.
21964 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21965 Likewise.
21966 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21967 Likewise.
21968 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21969 Likewise.
21970 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21971 Likewise.
21972 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21973 Likewise.
21974 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21975 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21976 from GLIBC_2.3.2.
21977
6eeb678a
AZ
219782013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21979
21980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21981
6f6fc482
JM
219822013-12-19 Joseph Myers <joseph@codesourcery.com>
21983
21fea2e2
JM
21984 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21985 trailing whitespace removed.
21986 * scripts/config.guess: Update to version 2013-11-29.
21987 * scripts/config.sub: Update to version 2013-10-01.
21988
6f6fc482
JM
21989 * math/auto-libm-test-in: Add tests of sincos.
21990 * math/auto-libm-test-out: Regenerated.
21991 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21992 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21993 mpfr_f_11.
21994 (func_calc_desc): Add mpfr_f_11 union field.
21995 (test_functions): Add sincos.
21996 (calc_generic_results): Handle mpfr_f_11.
21997 * sysdeps/i386/fpu/libm-test-ulps: Update.
21998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21999
83f5c32d
AS
220002013-12-19 Andreas Schwab <schwab@suse.de>
22001
22002 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22003 CALL_MCOUNT.
22004 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22006 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22007
c688b419
JM
220082013-12-19 Joseph Myers <joseph@codesourcery.com>
22009
335ee092
JM
22010 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22011 * sysdeps/i386/fpu/libm-test-ulps: Update.
22012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22013
f88acd39
JM
22014 [BZ #16293]
22015 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22016 round-to-nearest mode when using frndint.
22017 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22018 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22020 Likewise.
22021 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22022 sinh test to fail.
22023 * math/auto-libm-test-out: Regenerated.
22024 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22025 (TEST_COND_x86): Likewise.
22026 (expm1_tonearest_test_data): New array.
22027 (expm1_test_tonearest): New function.
22028 (expm1_towardzero_test_data): New array.
22029 (expm1_test_towardzero): New function.
22030 (expm1_downward_test_data): New array.
22031 (expm1_test_downward): New function.
22032 (expm1_upward_test_data): New array.
22033 (expm1_test_upward): New function.
22034 (main): Run the new test functions.
22035 * sysdeps/i386/fpu/libm-test-ulps: Update.
22036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22037
c688b419
JM
22038 * include/features.h: Update comment documenting feature test
22039 macros. Mention _DEFAULT_SOURCE in comment.
22040 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22041 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22042 _BSD_SOURCE and _SVID_SOURCE.
22043 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22044 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22045 !_SVID_SOURCE]: Likewise.
22046 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22047 (__USE_POSIX_IMPLICITLY): Define.
22048 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22049 (_POSIX_SOURCE): Undefine and redefine.
22050 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22051 (_POSIX_C_SOURCE): Likewise.
22052 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22053 (Feature Test Macros): Update documentation of default features.
22054
9f6e964c
RS
220552013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22056
22057 * benchtests/Makefile: Add bench-strtok.
22058 * benchtests/bench-strtok.c: New file: strtok benchtest.
22059
ee0a148a
AM
220602013-12-19 Allan McRae <allan@archlinux.org>
22061
22062 * manual/install.texi: Suppress menu for plain text output.
22063 * INSTALL: Regenerated.
22064
b9ab448f
BM
220652013-12-18 Brooks Moses <bmoses@google.com>
22066
22067 [BZ #15846]
22068 * misc/getauxval.c: Include errno.h.
22069 (__getauxval): Set errno to ENOENT if the requested type is not
22070 found.
22071 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22072 don't declare with __attribute_const__.
22073 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22074 * manual/startup.texi: Document that getauxval sets errno.
22075
23776487
JM
220762013-12-18 Joseph Myers <joseph@codesourcery.com>
22077
f889953b
JM
22078 * math/auto-libm-test-in: Add tests of jn and yn.
22079 * math/auto-libm-test-out: Regenerated.
22080 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22081 (yn_test_data): Likewise.
22082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22083 mpfr_if_f.
22084 (func_calc_desc): Add mpfr_if_f union field.
22085 (FUNC_mpfr_if_f): New macro.
22086 (test_functions): Add jn and yn.
22087 (calc_generic_results): Assert type of second input for
22088 mpfr_ff_f. Handle mpfr_if_f.
22089 (output_for_one_input_case): Disable all checking for arguments
22090 fitting floating-point types in case of an integer argument.
22091 * sysdeps/i386/fpu/libm-test-ulps: Update.
22092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22093
23776487
JM
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22095 Don't expect fegetround reference in libm.so.
22096
cb756c6d
MS
220972013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22098
22099 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22100 $(config-cflags-nofma).
22101
2dec468f
JM
221022013-12-18 Joseph Myers <joseph@codesourcery.com>
22103
5953eb3a
JM
22104 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22105 * math/auto-libm-test-out: Regenerated.
22106
2dec468f
JM
22107 [BZ #16338]
22108 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22109 to determine exponent and adjust argument to have exponent of -1.
22110 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22111 log2.
22112 * math/auto-libm-test-out: Regenerated.
22113 * sysdeps/i386/fpu/libm-test-ulps: Update.
22114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22115
4d84e6ad
OB
221162013-12-18 Ondřej Bílka <neleai@seznam.cz>
22117
22118 * manual/probes.texi: Remove cases when per-thread arenas are
22119 disabled.
22120
1818483b
AS
221212013-12-18 Andreas Schwab <schwab@suse.de>
22122
22123 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22124 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22125 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22126 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22127 * sysdeps/i386/i686/multiarch/Makefile: Update.
22128 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22129
25de95bf
JM
221302013-12-17 Joseph Myers <joseph@codesourcery.com>
22131
22132 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22133 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22134
674762d9
PE
221352013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22136
ed27ed83 22137 [BZ #15968]
0748546f
PE
22138 Support TZ transition times < 00:00:00.
22139 This is needed for version-3 tz-format files; it supports time
22140 stamps past 2037 for America/Godthab (the only entry in the tz
22141 database for which this change is relevant).
22142 * manual/time.texi (TZ Variable): Document transition times
22143 from -167:59:59 through -00:00:01.
22144 * time/tzset.c (tz_rule): Time of day is now signed.
22145 (__tzset_parse_tz): Parse negative time of day.
22146
4480e934
PE
22147 Document TZ transition times >= 25:00:00.
22148 * manual/time.texi (TZ Variable): Document transition times from
22149 25:00:00 through 167:59:59. These are already supported, and this
22150 support will help with version-3 tz-format files.
22151
69947401
PE
22152 * manual/time.texi (TZ Variable): Modernize North America example
22153 to reflect current (i.e., 2007-and-later) daylight saving rules.
22154
674762d9
PE
22155 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22156
7011c262
JM
221572013-12-17 Joseph Myers <joseph@codesourcery.com>
22158
2fc6557e
JM
22159 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22160 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22163 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22164 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22165 * sysdeps/unix/bsd/clock.c: Likewise.
22166 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22167 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22168 * sysdeps/unix/bsd/init-posix.c: Likewise.
22169 * sysdeps/unix/bsd/poll.c: Likewise.
22170 * sysdeps/unix/bsd/ptsname.c: Likewise.
22171 * sysdeps/unix/bsd/seekdir.c: Likewise.
22172 * sysdeps/unix/bsd/setegid.c: Likewise.
22173 * sysdeps/unix/bsd/seteuid.c: Likewise.
22174 * sysdeps/unix/bsd/setgid.c: Likewise.
22175 * sysdeps/unix/bsd/setrgid.c: Likewise.
22176 * sysdeps/unix/bsd/setruid.c: Likewise.
22177 * sysdeps/unix/bsd/setsid.c: Likewise.
22178 * sysdeps/unix/bsd/setuid.c: Likewise.
22179 * sysdeps/unix/bsd/sigaction.c: Likewise.
22180 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22181 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22182 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22183 * sysdeps/unix/bsd/telldir.c: Likewise.
22184 * sysdeps/unix/bsd/times.c: Likewise.
22185 * sysdeps/unix/bsd/usleep.c: Likewise.
22186
029c7b25
JM
22187 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22188 ($(objpfx)libbsd-compat.a): Remove rule.
22189
7011c262
JM
22190 * include/features.h (__FAVOR_BSD): Do not define.
22191 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22192 features conflicting with POSIX.
22193 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22194 (_BSD_SOURCE): Remove description of not being a subset of other
22195 feature test macros.
22196 * manual/job.texi (getpgrp): Do not document BSD version.
22197 (getpgid): Do not document by reference to BSD getpgrp.
22198 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22199 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22200 * signal/signal.h [__FAVOR_BSD]: Likewise.
22201 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22202 instead of making contents conditional on [__FAVOR_BSD].
22203 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22204
affb6f78
AZ
222052013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22206
22207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22208
c88769dd
JM
222092013-12-17 Joseph Myers <joseph@codesourcery.com>
22210
6432a540
JM
22211 [BZ #16314]
22212 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22213 values below 2**-450, not 2**-500.
22214 * math/auto-libm-test-in: Don't allow spurious underflow from
22215 hypot.
22216 * math/auto-libm-test-out: Regenerated.
22217
c88769dd
JM
22218 [BZ #16316]
22219 [BZ #16330]
22220 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22221 values of ha and hb and sort them after adjusting subnormal
22222 arguments.
22223 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22224 Likewise.
22225 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22226 values of ea and eb and sort them after adjusting subnormal
22227 arguments.
22228 * math/auto-libm-test-in: Do not expect some hypot tests of
22229 subnormals to fail. Add more hypot tests.
22230 * math/auto-libm-test-out: Regenerated.
22231
29618f6b
KK
222322013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22233
22234 [BZ #13304]
22235 * sysdeps/sh/s_fma.c: New file.
22236 * sysdeps/sh/s_fmaf.c: New file.
22237 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22238 version.
22239 * sysdeps/sh/Implies: Add sh/soft-fp.
22240
eacfdfbf
RM
222412013-12-16 Roland McGrath <roland@hack.frob.com>
22242
22243 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22244 level of indirection to members `objname', `errstring', `malloced'.
22245 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22246 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22247 it as the __longjmp argument (just pass 1 instead).
22248 (_dl_catch_error): Initialize C with argument pointers and address of
22249 volatile local ERRCODE rather than copying values out of C at return.
22250
ff362e5b
JM
222512013-12-16 Joseph Myers <joseph@codesourcery.com>
22252
22253 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22254 * math/auto-libm-test-out: Regenerated.
22255 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22256 (hypot_test_data): Likewise.
22257 (pow_test_data): Likewise.
22258 (pow_tonearest_test_data): Likewise.
22259 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22260 mpfr_ff_f.
22261 (func_calc_desc): Add mpfr_ff_f union field.
22262 (FUNC_mpfr_ff_f): New macro.
22263 (test_functions): Add atan2, hypot and pow.
22264 (special_fill_min): New function.
22265 (special_fill_minus_min): Likewise.
22266 (special_fill_min_subnorm): Likewise.
22267 (special_fill_minus_min_subnorm): Likewise.
22268 (special_real_inputs): Add min, -min, min_subnorm and
22269 -min_subnorm.
22270 (calc_generic_results): Handle mpfr_ff_f.
22271 * sysdeps/i386/fpu/libm-test-ulps: Update.
22272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273
5764c27f
WN
222742013-12-16 Will Newton <will.newton@linaro.org>
22275
22276 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22277 (Aligned Memory Blocks): Add documentation for aligned_alloc
22278 and suggest it as an alternative to posix_memalign.
22279 (Hooks for Malloc): Document __memalign_hook is also called
22280 for aligned_alloc. (Summary of Malloc): Add summary for
22281 aligned alloc. Document __memalign_hook is also called
22282 for aligned_alloc.
22283
0a096e44
WN
222842013-12-16 Will Newton <will.newton@linaro.org>
22285
22286 * manual/memory.texi (Malloc Examples): Clarify default
22287 alignment documentation. Suggest posix_memalign rather
22288 than memalign or valloc.
22289 (Aligned Memory Blocks): Remove suggestion to use memalign
22290 or valloc. Remove obsolete comment about BSD.
22291 Document memalign errno values and mark the function obsolete.
22292 Document posix_memalign returned error codes. Mark valloc
22293 as obsolete. (Hooks for Malloc): __memalign_hook is also
22294 called for posix_memalign and valloc.
22295 (Summary of Malloc): Add posix_memalign to function summary.
22296 __memalign_hook is also called for posix_memalign and valloc.
22297
8d561986
SP
222982013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22299
22300 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22301 TAYLOR_SIN.
22302 (__sin): Adjust.
22303 (__cos): Likewise.
22304 (sloww): Use mynumber union. Expand ternary operator into
22305 if-else statements.
22306 (cslow): use mynumber union.
22307
73616a74
AM
223082013-12-16 Allan McRae <allan@archlinux.org>
22309
9e8ac24b
AM
22310 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22311 * configure: Regenerated.
22312
6f8e37eb
AM
22313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22314
8894bad3
AM
22315 [BZ #14120]
22316 * configure.ac: Added --enable-maintainer-mode. Check for
22317 autoconf when enabled.
22318 * configure: Regenerated.
22319
73616a74
AM
22320 * nscd/nscd.service: New file.
22321 * nscd/nscd.tmpfiles: New file.
22322
584b18eb
OB
223232013-12-14 Ondřej Bílka <neleai@seznam.cz>
22324
22325 [BZ #12100]
22326 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22327 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22328 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22329 (strstr): Add __strstr_sse2_unaligned ifunc.
22330 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22331 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22332 (strcasestr): Remove __strcasestr_sse42 ifunc.
22333 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22336
8a5c7897
KK
223372013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22338
22339 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22340 * sysdeps/sh/bits/fenv.h: ... here.
22341 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22342
fd712ef3
AZ
223432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22344
22345 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22346
42fcb46c
AZ
22347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22348 hypotf multiarch implementations.
22349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22352 multiarch hypot for PPC64.
22353 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22354 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22356 multiarch hypotf for PPC64.
22357
83efded4
AZ
22358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22359 modff multiarch implementations.
22360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22363 multiarch modf for PPC64.
22364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22367 multiarch modff for PPC64.
22368
43e246d2
AZ
22369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22370 and logl multiarch implementations.
22371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22374 multiarch logb for PPC64.
22375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22378 multiarch logb for PPC64.
22379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22382 multiarch logb for PPC64.
22383
8fdad123
AZ
22384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22385 isinff multiarch implementation.
22386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22387 file.
22388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22390 multiarch isinf for PPC64.
22391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22392 file.
22393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22394 multiarch isinff for PPC64.
22395
1481d706
AZ
22396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22397 finitef multiarch implementation.
22398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22399 file.
22400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22402 multiarch finite for PPC64.
22403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22404 file.
22405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22406 multiarch finitef for PPC64.
22407
5ccd5fc8
AZ
22408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22409 lrint multiarch implementation.
22410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22411 file.
22412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22414 multiarch llrint for PPC64.
22415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22416 multiarch lrint for PPC64.
22417
2568f3fa
AZ
22418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22419 copysignf multiarch implementation.
22420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22421 file.
22422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22423 file.
22424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22425 multiarch copysign for PPC64.
22426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22427 multiarch copysignf for PPC64.
22428
1cb341fd
AZ
22429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22430 multiarch implementation.
22431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22432 file.
22433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22434 file.
22435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22436 file.
22437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22438 file.
22439 multiarch llround for PPC64.
22440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22441 multiarch trunc for PPC64.
22442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22443 multiarch truncf for PPC64.
22444
59a3e194
AZ
22445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22446 multiarch implementation.
22447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22448 file.
22449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22450 file.
22451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22452 file.
22453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22454 file.
22455 multiarch llround for PPC64.
22456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22457 multiarch round for PPC64.
22458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22459 multiarch roundf for PPC64.
22460
357fd3b4
AZ
22461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22462 multiarch implementation.
22463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22464 file.
22465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22466 file.
22467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22468 file.
22469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22470 file.
22471 multiarch llround for PPC64.
22472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22473 multiarch floor for PPC64.
22474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22475 multiarch floorf for PPC64.
22476
96770f12
AZ
22477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22478 multiarch implementation.
22479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22480 file.
22481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22482 file.
22483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22484 file.
22485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22486 file.
22487 multiarch llround for PPC64.
22488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22489 multiarch ceil for PPC64.
22490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22491 multiarch ceilf for PPC64.
22492
c3627f6e
AZ
22493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22494 multiarch implementation.
22495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22496 file.
22497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22498 file.
22499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22500 file.
22501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22502 multiarch llround for PPC64.
22503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22504 multiarch lround for PPC64.
22505
b2284ad7
AZ
22506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22507 multiarch implementation.
22508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22511 file.
22512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22515 multiarch isnan for PPC64.
22516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22517 multiarch isnanf for PPC64.
22518
69bbc63d
AZ
22519 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22520 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22521 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22522 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22523 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22525
c24517c9
AZ
22526 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22527 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22530
a52374e8
AZ
22531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22532 multiarch implementations.
22533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22534 (__libc_ifunc_impl_list): Likewise.
22535 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22536 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22538 multiarch stpcpy for PPC64.
22539
7f5ec113
AZ
22540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22541 multiarch implementations.
22542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22543 (__libc_ifunc_impl_list): Likewise.
22544 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22545 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22546 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22547 multiarch strcpy for PPC64.
22548
e28bcd42
AZ
22549 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22550 redefine function name.
22551 (_wordcopy_fwd_dest_aligned): Likewise.
22552 (_wordcopy_bwd_aligned): Likewise.
22553 (_wordcopy_bwd_dest_aligned): Likewise.
22554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22555 multiarch implementations.
22556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22557 (__libc_ifunc_impl_list): Likewise.
22558 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22559 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22560 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22561 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22562 multiarch wcscpy for PPC64.
22563
92cacfce
AZ
22564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22565 multiarch implementations.
22566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22567 (__libc_ifunc_impl_list): Likewise.
22568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22571 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22572 multiarch wcscpy for PPC64.
22573
7b714620
AZ
22574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22575 multiarch implementations.
22576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22577 (__libc_ifunc_impl_list): Likewise.
22578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22579 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22581 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22582 multiarch wcsrchr for PPC64.
22583
16fd2ae3
AZ
22584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22585 multiarch implementations.
22586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22587 (__libc_ifunc_impl_list): Likewise.
22588 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22589 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22590 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22591 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22592 multiarch wcschr for PPC64.
22593
9ee2969b
AZ
22594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22595 multiarch implementations.
22596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22597 (__libc_ifunc_impl_list): Likewise.
22598 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22599 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22600 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22601 multiarch strchrnul for PPC64.
22602
372dc060
AZ
22603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22604 implementations.
22605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22606 (__libc_ifunc_impl_list): Likewise.
22607 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22608 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22609 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22610 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22611 strchr for PPC64.
22612
24c2c3b9
AZ
22613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22614 implementations.
22615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22616 (__libc_ifunc_impl_list): Likewise.
22617 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22618 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22620 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22621 strncmp for PPC64.
22622
1c92d9a0
AZ
22623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22624 multiarch implementations.
22625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22626 (__libc_ifunc_impl_list): Likewise.
22627 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22628 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22629 strncasecmp for PPC64.
22630 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22631 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22632 multiarch strncasecmp_l for PPC64.
22633
17de3ee3
AZ
22634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22635 multiarch implementations.
22636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22637 (__libc_ifunc_impl_list): Likewise.
22638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22640 multiarch strcasecmp for PPC64.
22641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22642 file.
22643 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22644 multiarch strcasecmp_l for PPC64.
22645
62982bf9
AZ
22646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22647 implementations.
22648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22649 (__libc_ifunc_impl_list): Likewise.
22650 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22651 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22652 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22653 strnlen for PPC64.
22654
a65f4904
AZ
22655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22656 implementations.
22657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22658 (__libc_ifunc_impl_list): Likewise.
22659 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22660 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22661 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22662 strlen for PPC64.
22663
1fd005ad
AZ
22664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22665 implementations.
22666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22667 (__libc_ifunc_impl_list): Likewise.
22668 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22669 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22670 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22671 rawmemrchr for PPC64.
22672
cd05ba91
AZ
22673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22674 implementation.
22675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22676 (__libc_ifunc_impl_list): Likewise.
22677 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22678 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22679 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22680 memrchr for PPC64.
22681
870f8676
AZ
22682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22683 implementation.
22684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22685 (__libc_ifunc_impl_list): Likewise.
22686 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22687 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22688 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22689 memchr for PPC64.
22690
f00be62b
AZ
22691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22692 implementation.
22693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22694 (__libc_ifunc_impl_list): Likewise.
22695 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22696 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22697 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22698 mempcpy for PPC64.
22699
8a29a3d0
AZ
22700 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22701 avoid cretion of __bzero symbol.
22702 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22703 Likewise.
22704 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22705 Likewise.
22706 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22707 Likewise.
22708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22709 multiarch implementations.
22710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22711 (__libc_ifunc_impl_list): Likewise.
22712 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22713 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22715 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22716 bzero for PPC32.
22717 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22718 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22719 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22720 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22721 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22722 memset for PPC64.
22723 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22724
07253fcf
AZ
22725 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22727 implementations.
22728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22729 (__libc_ifunc_impl_list): Likewise.
22730 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22731 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22732 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22733 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22734 memcmp for PPC64.
22735
b5beafbc
AZ
22736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22737 multiarch for POWER/PPC64.
22738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22739 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22746 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22747 memcpy for PPC64.
22748
5e6a4d4b
AZ
22749 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22750 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22751 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22752 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22753 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22754 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22755 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22756 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22757 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22758 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22759 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22760 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22761 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22762 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22763 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22771
ddfab6dc
KK
227722013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22773
22774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22775
19b5525e
SP
227762013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22777
22778 * benchtests/Makefile (bench): Add exp2 and log2.
22779 (LDLIBS-bench-exp2): Add -lm.
22780 (LDLIBS-bench-log2): Likewise.
22781 * benchtests/exp2-inputs: New inputs file.
22782 * benchtests/log2-inputs: New inputs file.
22783 * benchtests/log-inputs: Add new inputs.
22784 * benchtests/tan-inputs: Likewise.
22785
196f7f5d
SP
227862013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22787
7a74607f
SP
22788 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22789 definition...
57f41c40
AS
22790 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22791 (csloww2): ... from here.
7a74607f 22792
196f7f5d
SP
22793 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22794 instead of structures.
22795 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22796 (POLYNOMIAL): Likewise.
22797 (TAYLOR_SLOW): Likewise.
22798 (__sin): Likewise.
22799 (__cos): Likewise.
22800 (slow1): Likewise.
22801 (slow2): Likewise.
22802 (sloww): Likewise.
22803 (sloww1); Likewise.
22804 (sloww2): Likewise.
22805 (bsloww1): Likewise.
22806 (bsloww2): Likewise.
22807 (cslow2): Likewise.
22808 (csloww): Likewise.
22809 (csloww1): Likewise.
22810 (csloww2): Likewise.
22811
0dfa665c
OB
228122013-12-10 Ondřej Bílka <neleai@seznam.cz>
22813
22814 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
22815 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22816 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
22817 * malloc/hooks.c (realloc_check): Likewise.
22818
5782a80f
OB
22819 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22820 * malloc/arena.c: Remove PER_THREAD conditional.
22821 [!PER_THREAD]: Remove code.
22822 (ptmalloc_unlock_all2): Likewise.
22823 (ptmalloc_init): Likewise.
22824 (_int_new_arena): Likewise.
22825 (arena_get2): Likewise.
22826 * malloc/hooks.c (__malloc_get_state): Likewise.
22827 (__malloc_set_state): Likewise.
22828 * malloc/malloc.c: Likewise.
22829 (struct malloc_state): Likewise.
22830 (struct malloc_par): Likewise.
22831 (__libc_realloc): Likewise.
22832 (__libc_mallopt): Likewise.
22833
aeb95445
AZ
228342013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22835
22836 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22837
e8349efd
OB
228382013-12-09 Ondřej Bílka <neleai@seznam.cz>
22839
22840 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22841 macro to a function. Check for zero perturb_byte.
22842 (_int_malloc, _int_free): Remove zero perturb_byte checks.
22843
f3eeb3fc 22844 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
22845 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22846 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
22847 force_reg by atomic_forced_read.
22848 * malloc/arena.c (ptmalloc_init): Likewise.
22849 * malloc/hooks.c (top_check): Likewise.
22850
be2f9009
AZ
228512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22852
22853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22854
e7b914bd
MT
228552013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
22856
22857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22858
9f0be4f8
JM
228592013-12-08 Joseph Myers <joseph@codesourcery.com>
22860
22861 * math/auto-libm-test-in: Add tests of lgamma.
22862 * math/auto-libm-test-out: Regenerated.
22863 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22864 (M_LOG_2_SQRT_PIl): Likewise.
22865 (lgamma_test_data): Use AUTO_TESTS_f_f1.
22866 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22867 mpfr_f_f1.
22868 (func_calc_desc): Add mpfr_f_f1 union field.
22869 (ARGS1): New macro.
22870 (ARGS2): Likewise.
22871 (ARGS3): Likewise.
22872 (ARGS4): Likewise.
22873 (RET1): Likewise.
22874 (RET2): Likewise.
22875 (CALC): Likewise.
22876 (FUNC): Likewise.
22877 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22878 (test_functions): Add lgamma.
22879 (calc_generic_results): Handle mpfr_f_f1.
22880 * sysdeps/i386/fpu/libm-test-ulps: Update.
22881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22882
24eeafdb
AZ
228832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22884
22885 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22886 __mpn_add_n for PowerPC64/POWER7.
22887 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22888 __mpn_sub_n for PowerPC64/POWER7.
22889
4a2c0fd4
AZ
22890 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22891 __mpn_addmul_1 for PowerPC64.
22892 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22893 __mpn_submul_1 for PowerPC64.
22894 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22895 for PowerPC64.
22896 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22897 for PowerPC64.
22898
4b5b548c
FS
228992013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
22900
22901 [BZ #15089]
22902 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22903
0a3ac0aa
AZ
229042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22905
22906 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22907
ccdc8438
AZ
22908 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22909 add multiarch folders.
22910 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22911 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22912 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22913 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22914 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22915 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22916 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22917 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22918 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22919 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22920 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22927
2e973d99
AZ
22928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22929 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22931 New file.
22932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22933 New file.
22934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22935 multiarch __ieee754_hypot for PowerPC32.
22936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22937 New file.
22938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22939 New file.
22940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22941 multiarch __ieee754_hypotf for PowerPC32.
22942
2d9470b2
AZ
22943 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22944 long_double_symbol only if __logbl is defined.
22945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22946 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22948 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22950 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22952 path for implementation.
22953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22956 logb, and logbl multiarch implementations for PowerPC32.
22957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22958 file.
22959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22960 file.
22961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22962 multiarch logb for PowerPC32.
22963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22964 file.
22965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22966 file.
22967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22968 multiarch logbf for PowerPC32.
22969 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22971 file.
22972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22973 multiarch logbl implementation for PowerPC32.
22974
5212ffce
AZ
22975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22976 and modff multiarch implementations.
22977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22978 New file.
22979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22980 New file.
22981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22982 multiarch modf for PowerPC32.
22983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22984 New file.
22985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22986 New file.
22987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22988 multiarch modff for PowerPC32.
22989
79dccf31
AZ
22990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22991 and lrintf multiarch implementations.
22992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22993 New file.
22994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22995 New file.
22996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22997 multiarch lrint for PowerPC32.
22998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22999 file: multiarch lrintf for PowerPC32.
23000
deb66480
AZ
23001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23002 and lroundf multiarch implementations.
23003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23004 New file.
23005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23006 New file.
23007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23008 New file.
23009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23010 multiarch lround for PowerPC32.
23011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23012 file: multiarch lroundf for PowerPC32.
23013
264b036b
AZ
23014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23015 copysign and copysignf multiarch implementations.
23016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23017 New file.
23018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23019 New file.
23020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23021 file: multiarch copysign for PowerPC32.
23022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23023 file: multiarch copysignf for PowerPC32.
23024
d47db6c9
AZ
23025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23026 and truncf multiarch implementations.
23027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23028 New file.
23029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23030 file.
23031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23032 multiarch trunc for PowerPC32.
23033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23034 New file.
23035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23036 New file.
23037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23038 multiarch truncf for PowerPC32.
23039
ddb60b5a
AZ
23040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23041 and roundf multiarch implementations.
23042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23043 New file.
23044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23045 file.
23046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23047 multiarch round for PowerPC32.
23048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23049 New file.
23050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23051 New file.
23052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23053 multiarch roundf for PowerPC32.
23054
bedcf49b
AZ
23055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23056 and floorf multiarch implementations.
23057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23058 New file.
23059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23060 file.
23061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23062 multiarch floor for PowerPC32.
23063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23064 New file.
23065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23066 New file.
23067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23068 multiarch floorf for PowerPC32.
23069
35ae5b40
AZ
23070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23071 and ceilf multiarch implementations.
23072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23073 New file.
23074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23075 file.
23076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23077 multiarch ceil for PowerPC32.
23078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23079 New file.
23080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23081 file.
23082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23083 multiarch ceilf for PowerPC32.
23084
ae1a4cd9
AZ
23085 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23086 is defined.
23087 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23088 FINITEF is defined.
23089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23090 and finitef multiarch implementations.
23091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23092 New file.
23093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23094 file.
23095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23096 multiarch finite for PowerPC32.
23097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23098 New file.
23099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23100 file: multiarch finitef for PowerPC32.
23101
64fffd65
AZ
23102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23103 and isinff multiarch implementations.
23104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23105 file.
23106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23107 file.
23108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23109 multiarch isinf for PowerPC32.
23110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23111 New file.
23112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23113 multiarch isinff for PowerPC32.
23114
8e4e7ba2
AZ
23115 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23116 alias when __isnan is defined.
23117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23118 and isnanf multiarch implementations.
23119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23120 file.
23121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23122 file.
23123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23124 file.
23125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23126 file.
23127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23128 multiarch isnan for PowerPC32.
23129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23130 New file.
23131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23132 New file.
23133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23134 multiarch isnanf for PowerPC32.
23135
ddba588e
AZ
23136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23137 and sqrtf multiarch implementations.
23138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23139 file.
23140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23141 file.
23142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23143 multiarch sqrt for PowerPC32.
23144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23145 file.
23146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23147 file.
23148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23149 multiarch sqrtf for PowerPC32.
23150
0f96a2f0
AZ
23151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23152 and llroundf multiarch implementations.
23153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23154 New file.
23155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23156 New file.
23157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23158 New file.
23159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23160 file: multiarch llround for PowerPC32.
23161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23162 file: multiarch llroundf for PowerPC32.
23163
c9b5d79e
AZ
23164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23165 multiarch PowerPC32 fpu implementations.
23166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23167 New file.
23168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23169 New file.
23170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23171 multiarch llrint for PowerPC32.
23172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23173 New file.
23174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23175 New file.
23176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23177 file.
23178
9cbb3aab
AZ
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23180
ea5a72f8
AZ
23181 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23182 file.
23183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23184 file.
23185 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23186 file.
23187 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23188 multiarch wordcopy for PPC32.
23189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23190 wordcopy objects.
23191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23192 (__libc_ifunc_impl_list): Likewise.
23193 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23194 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23195 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23196 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23197 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23198 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23199
93be09e7
AZ
23200 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23202 file.
23203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23204 file.
23205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23206 file.
23207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23208 multiarch wcscpy for PPC32.
23209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23210 multiarch objects.
23211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23212 (__libc_ifunc_impl_list): Likewise.
23213 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23214 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23215 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23216 sysdeps/powerpc/power6/wcscpy.c.
23217
bb04e529
AZ
23218 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23220 file.
23221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23222 file.
23223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23224 file.
23225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23226 multiarch wcsrchr for PPC32.
23227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23228 multiarch objects.
23229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23230 (__libc_ifunc_impl_list): Likewise.
23231 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23232 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23233 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23234 sysdeps/powerpc/power6/wcsrchr.c.
23235
05b5cd1c
AZ
23236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23237 file.
23238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23239 file.
23240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23242 multiarch wcschr for PPc32.
23243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23244 multiarch objects.
23245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23246 (__libc_ifunc_impl_list): Likewise.
23247 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23248 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23249 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23250 sysdeps/powerpc/power6/wcschr.c.
23251
ba964147
AZ
23252 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23253 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23254 file.
23255 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23256 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23257 file: multiarch strchr for PPC32.
23258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23259 multiarch objects.
23260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23261 (__libc_ifunc_impl_list): Likewise.
23262
31c81aaa
AZ
23263 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23264 name.
23265 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23266 file.
23267 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23268 file.
23269 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23270 multiarch strchrnul for PPC32.
23271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23272 multiarch objects.
23273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23274 (__libc_ifunc_impl_list): Likewise.
23275
0d0607d9
AZ
23276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23277 file.
23278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23279 multiarch strncasecmp for PPC32.
23280 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23281 file.
23282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23283 multiarch strncasecmp_l for PPC32.
23284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23285 strncasecmp multiarch objects.
23286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23287 (__libc_ifunc_impl_list): Likewise.
23288
4dfd5c86
AZ
23289 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23290 file.
23291 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23292 multiarch strncasecmp for PPC32.
23293 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23294 New file.
23295 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23296 multiarch strcasecmp_l for PPC32.
23297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23298 multiarch objects.
23299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23300 (__libc_ifunc_impl_list): Likewise.
23301
a19e01a3
AZ
23302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23303 file.
23304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23305 file.
23306 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23307 multiarch strncmp for PPC32.
23308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23309 multiarch objects.
23310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23311 (__libc_ifunc_impl_list): Likewise.
23312
ae9cf7a2
AZ
23313 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23314 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23315 file.
23316 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23317 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23319 multiarch objects.
23320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23321 (__libc_ifunc_impl_list): Likewise.
23322
3148bb7d
AZ
23323 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23324 file.
23325 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23326 file.
23327 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23329 multiarch objects.
23330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23331 (__libc_ifunc_impl_list): Likewise.
23332
7af8b946
AZ
23333 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23334 file.
23335 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23336 file.
23337 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23338 multiarch rawmemchr for PPC32.
23339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23340 multiarch objects.
23341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23342 (__libc_ifunc_impl_list): Likewise.
23343
03a6aa6a
AZ
23344 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23345 file.
23346 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23347 file.
23348 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23349 file: memrchr multiarch for PPC32.
23350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23351 multiarch objects.
23352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23353 (__libc_ifunc_impl_list): Likewise.
23354
1c62e6d9
AZ
23355 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23356 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23357 file.
23358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23359 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23360 multiarch memchr for PPC32.
23361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23362 multiarch objects.
23363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23364 (__libc_ifunc_impl_list): Likewise.
23365
87da8bdb
AZ
23366 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23367 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23368 file.
23369 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23370 file.
23371 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23372 file: multiarch mempcpy for PPC32.
23373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23374 multiarch objects.
23375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23376 (__libc_ifunc_impl_list): Likewise.
23377
20ed4714
AZ
23378 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23380 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23382 multiarch bzero for PPC32.
23383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23384 file.
23385 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23386 file.
23387 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23388 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23389 file: multiarch memset for PPC32.
23390 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23392 memset multiarch objects.
23393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23394 (__libc_ifunc_impl_list): Likewise.
23395
ab3e3a46
AZ
23396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23397 file.
23398 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23400 memcmp for PPC32.
23401 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23403 multiarch objects.
23404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23405 (__libc_ifunc_impl_list): Likewise.
23406
930de6f0
AZ
23407 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23410 file.
23411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23412 file.
23413 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23414 file.
23415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23416 multiarch memcpy for PPC32.
23417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23418 multiarch objects.
23419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23420 (__libc_ifunc_impl_list): Likewise.
23421
4c628e00
AZ
23422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23423 support multiarch for POWER/PPC32.
23424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23425 Likewise.
23426 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23428 Implies file to make multiarch folder appers before the fpu and
23429 default folder for power4 configuration.
23430
f4479220
SP
234312013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23432
23433 * scripts/bench.pl: Append volatile keyword to type.
23434
8517800f
KK
234352013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23436
23437 * sysdeps/sh/sotruss-lib.c: New file.
23438 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23439
180138f1
AZ
234402013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23441
23442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23443
bbf37bdc
JM
234442013-12-05 Joseph Myers <joseph@codesourcery.com>
23445
e47cc4e0
JM
23446 [BZ #6810]
23447 * math/w_tgamma.c: Include <errno.h>.
23448 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23449 * math/w_tgammaf.c: Include <errno.h>.
23450 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23451 * math/w_tgammal.c: Include <errno.h>.
23452 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23453 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23454 underflow. Add more tgamma tests.
23455 * math/auto-libm-test-out: Regenerated.
23456 * sysdeps/i386/fpu/libm-test-ulps: Update.
23457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23458
bbf37bdc
JM
23459 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23460 sin, sinh, tan, tanh, tgamma, y0 and y1.
23461 * math/auto-libm-test-out: Regenerated.
23462 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23463 (TEST_COND_x86): Likewise.
23464 (M_E2l): Remove macro.
23465 (M_E3l): Likewise.
23466 (M_2_SQRT_PIl): Likewise.
23467 (M_SQRT_PIl): Likewise.
23468 (M_1_DIV_El): Likewise.
23469 (log_test_data): Use AUTO_TESTS_f_f.
23470 (log10_test_data): Likewise.
23471 (log1p_test_data): Likewise.
23472 (log2_test_data): Likewise.
23473 (sin_test_data): Likewise.
23474 (sin_tonearest_test_data): Likewise.
23475 (sin_towardzero_test_data): Likewise.
23476 (sin_downward_test_data): Likewise.
23477 (sin_upward_test_data): Likewise.
23478 (sinh_test_data): Likewise.
23479 (sinh_tonearest_test_data): Likewise.
23480 (sinh_towardzero_test_data): Likewise.
23481 (sinh_downward_test_data): Likewise.
23482 (sinh_upward_test_data): Likewise.
23483 (tan_test_data): Likewise.
23484 (tan_tonearest_test_data): Likewise.
23485 (tan_towardzero_test_data): Likewise.
23486 (tan_downward_test_data): Likewise.
23487 (tan_upward_test_data): Likewise.
23488 (tanh_test_data): Likewise.
23489 (tgamma_test_data): Likewise.
23490 (y0_test_data): Likewise.
23491 (y1_test_data): Likewise.
23492 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23493 (special_real_inputs): Add pi/4.
23494 * sysdeps/i386/fpu/libm-test-ulps: Update.
23495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23496
eb5ad6b9
AZ
234972013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23498
23499 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23500 "longjmp_target" static probes.
23501 (__longjmp): Rename to __longjmp_symbol.
23502 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23503 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23504 on which longjmp to generate.
23505 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23506 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23507 probe.
23508 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23509 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23510 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23511 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23512 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23513 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23515 __longjmp_symbol based on which __longjmp to generate.
23516 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23517 probe.
23518 (setjmp): Rename to setjmp_symbol.
23519 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23520 (_setjmp): Rename to _setjmp_symbol.
23521 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23522 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23523 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23524 which setjmp to generate.
23525 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23526 "longjmp_target" static probes.
23527
d136c6dc
SP
235282013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23529
9298ecba
SP
23530 * benchtests/README: Add note about output arguments.
23531 * benchtests/bench-sincos.c: Remove file.
23532 * benchtests/sincos-inputs: New file.
23533 * scripts/bench.pl: Identify output arguments and define
23534 static variables for them.
23535
232983e9
SP
23536 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23537
d136c6dc
SP
23538 [BZ #15941]
23539 * Makefile (INSTALL): Add install-plain.texi as the primary
23540 dependency.
23541 * manual/install-plain.texi: New file.
23542 * manual/install.texi: Include node directive only for
23543 non-plaintext output.
23544
699ff837
JM
235452013-12-04 Joseph Myers <joseph@codesourcery.com>
23546
ab07cea8
JM
23547 * stdlib/longlong.h: Update from GCC.
23548
699ff837
JM
23549 [BZ #6807]
23550 [BZ #15901]
23551 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23552 * math/w_j0f.c (y0f): Likewise.
23553 * math/w_j0l.c (__y0l): Likewise.
23554 * math/w_j1.c (y1): Likewise.
23555 * math/w_j1f.c (y1f): Likewise.
23556 * math/w_j1l.c (__y1l): Likewise
23557 * math/w_jn.c (yn): Likewise.
23558 * math/w_jnf.c (ynf): Likewise.
23559 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23560 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23561 value for Bessel function domain errors outside _SVID_ mode.
23562 Adjust sign of return value for yn (negative integer, 0).
23563 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23564 by zero in return for negative x and set sign appropriately for
23565 negative n.
23566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23567 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23568 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23569 expectations in error cases.
23570 (y1_test_data): Likewise.
23571 (yn_test_data): Likewise.
23572 * sysdeps/i386/fpu/libm-test-ulps: Update.
23573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23574
5b118558
UW
235752013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23576
23577 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23578 "64" to "64-v1". Add "64-v2".
23579 (abi-64-options): Rename to ...
23580 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
23581 (abi-64-condition): Rename to ...
23582 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
23583 (abi-64-ld-soname): Rename to ...
23584 (abi-64-v1-ld-soname): ... this.
23585 (abi-64-v2-options): Define.
23586 (abi-64-v2-condition): Likewise.
23587 (abi-64-v2-ld-soname): Likewise.
23588 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23589 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23593
61cd8fe4
UW
235942013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23595 Alan Modra <amodra@gmail.com>
23596
23597 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23598 New versions for use with the ELFv2 ABI.
23599 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23600 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23601 declaration.
23602 (struct La_ppc64v2_retval): Likewise.
23603 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23604 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23605 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23606 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23607 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23608 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23609 Do not save or restore CR.
23610 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23611 (_dl_profile_resolve): Do no save or restore CR. Support extended
23612 return values for ELFv2 ABI. Fix location of FPR return registers.
23613 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23614 updated values for _CALL_ELF == 2.
23615 (La_regs, La_retval, int_retval): Likewise.
23616
8b8a692c
UW
236172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23618
23619 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23620 (FRAME_MIN_SIZE_PARM): Likewise.
23621 (FRAME_BACKCHAIN): Likewise.
23622 (FRAME_CR_SAVE): Likewise.
23623 (FRAME_LR_SAVE): Likewise.
23624 (FRAME_TOC_SAVE): Likewise.
23625 (FRAME_PARM_SAVE): Likewise.
23626 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23627 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23628 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23629 (call_mcount_parm_offset): New macro.
23630 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23631 (PROF): Use symbolic stack frame offsets.
23632 (TAIL_CALL_SYSCALL_ERROR): Likewise.
23633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23634 Redefine in terms of FRAME_MIN_SIZE.
23635 (_dl_runtime_resolve): Use symbolic stack frame offsets.
23636 (_dl_profile_resolve): Likewise. Update comment.
23637 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23638 symbols stack frame offsets.
23639 (__sigsetjmp): Likewise.
23640 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23641 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23642 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23643 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23644
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23646 (FRAME_BACKCHAIN): Remove.
23647 (FRAME_CR_SAVE): Likewise.
23648 (FRAME_LR_SAVE): Likewise.
23649 (FRAME_COMPILER_DW): Likewise.
23650 (FRAME_LINKER_DW): Likewise.
23651 (FRAME_TOC_SAVE): Likewise.
23652 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
23653 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23654 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23655 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
23656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23657 (CHECK_SP): Use symbolic stack frame offsets.
23658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23659 zone" instead of caller's parameter save area for temp storage.
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23661 Likewise. Also, use symbolic stack frame offsets.
23662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23663 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23664 our own stack frame instead of the caller's.
23665 (__socket): Use symbolic stack frame offsets.
23666
122b66de
UW
236672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23668 Alan Modra <amodra@gmail.com>
23669
23670 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23671 Define.
57f41c40
AS
23672 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23673 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
23674 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23675 New function.
23676 (elf_machine_fixup_plt): Call it.
23677 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
23678 reloc arguments.
23679 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
23680 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23681 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
23682 r2 before calling target.
23683
696caf1d
UW
236842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23685 Alan Modra <amodra@gmail.com>
23686
23687 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23688 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23689 versions of macros to support ELFv2 ABI.
23690 (LOCALENTRY): New macro.
23691 (ENTRY, EALIGN): Use it.
23692 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23693 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23694 fall through into ENTRY entry point.
23695 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23696 Only define if _CALL_ELF != 2.
23697
23698 (elf_machine_matches_host): Verify ABI version matches.
23699 (RTLD_START): Use LOCALENTRY.
23700 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23701 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23702 (PLT_ENTRY_WORDS): New macro.
23703 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23704 (elf_machine_runtime_setup): Support ELFv2 ABI.
23705 (elf_machine_fixup_plt): Likewise.
23706 (elf_machine_plt_conflict): Likewise.
23707 (resolve_ifunc): Likewise.
23708 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23709 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23710 Likewise.
23711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23712 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23714 (makecontext): Support ELFv2 ABI.
23715 * elf/elf.h (EF_PPC64_ABI): Define.
23716
d31beafa
UW
237172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23718
57f41c40
AS
23719 * sysdeps/powerpc/powerpc64/sysdep.h
23720 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23721 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23722 (ENTRY) [ASSEMBLER]: ... but instead here ...
23723 (EALIGN) [ASSEMBLER]: ... and here.
23724 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23725 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23726 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
23727 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23728 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
23729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23730 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
23731 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23733 Use PPC64_LOAD_FUNCPTR.
23734
b525166b
UW
23735 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23736
7ec07d9a
AM
237372013-12-04 Alan Modra <amodra@gmail.com>
23738
23739 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23740 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23741 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23742 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23743
23744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23745 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23746 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23747 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23748 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23749 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23750
5162e7dd
UW
237512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23752
23753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23754 (__makecontext): Fix incorrect CFI when backtracing out of
23755 context created via makecontext.
23756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23757 (__setcontext): Fix incorrect CFI during switch to new context.
23758 (__novec_setcontext): Likewise.
23759
19e3372b
OB
237602013-12-04 Ondřej Bílka <neleai@seznam.cz>
23761
23762 [BZ #4772]
23763 * time/strptime_l.c (__strptime_internal): Allow modifiers
23764 in strptime.
23765 * time/tst-strptime.c (day_tests): Add testcase.
23766
ecaf142d
SP
237672013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23768
23769 * scripts/bench.pl: Skip over blank lines.
23770
fbf964ae
PE
237712013-12-04 Paul Eggert <eggert@cs.ucla.edu>
23772
23773 [BZ #926]
23774 * manual/time.texi (Calendar Time): Clarify what timezone functions
23775 use.
23776
fa60a674
AZ
237772013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23778
23779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23780
d674f0ef
OB
237812013-12-04 Ondřej Bílka <neleai@seznam.cz>
23782
23783 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23784 implementation.
23785 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23786 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23787 * debug/memset_chk.c (__memset_chk): Likewise.
23788 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23789 * debug/strncpy_chk.c: Likewise.
23790
17dea188
JM
237912013-12-03 Joseph Myers <joseph@codesourcery.com>
23792
749008ff
JM
23793 [BZ #15268]
23794 [BZ #15425]
23795 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23796 (__ieee754_exp): For possibly underflowing results, check size of
23797 result and force underflow exception if required.
23798 * math/auto-libm-test-in: Add more tests of exp.
23799 * math/auto-libm-test-out: Regenerated.
23800 * sysdeps/i386/fpu/libm-test-ulps: Update.
23801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802
17dea188
JM
23803 [BZ #16283]
23804 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23805 * math/w_exp2f.c (__exp2f): Likewise.
23806 * math/w_exp2l.c (__exp2l): Likewise.
23807 * math/auto-libm-test-in: Do not allow missing errno on exp2
23808 underflow.
23809 * math/auto-libm-test-out: Regenerated.
23810
b20de2c3
OB
238112013-12-03 Ondřej Bílka <neleai@seznam.cz>
23812
23813 [BZ #16274]
23814 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23815 handle filename validation.
23816 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23817 (do_open): Delete.
23818
d8e2dbe3
JM
238192013-12-03 Joseph Myers <joseph@codesourcery.com>
23820
34e16df5
JM
23821 [BZ #6786]
23822 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23823 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23824 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23825 <float.h>.
23826 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23827 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23828 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23830 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23832 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23833 * math/auto-libm-test-in: Don't allow missing errno from erfc.
23834 Add more erfc tests.
23835 * math/auto-libm-test-out: Regenerated.
23836 * sysdeps/i386/fpu/libm-test-ulps: Update.
23837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23838
d8e2dbe3
JM
23839 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23840 exp2, expm1, j0 and j1.
23841 * math/auto-libm-test-out: Regenerated.
23842 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23843 (erfc_test_data): Likewise.
23844 (exp_test_data): Likewise.
23845 (exp_tonearest_test_data): Likewise.
23846 (exp_towardzero_test_data): Likewise.
23847 (exp_downward_test_data): Likewise.
23848 (exp_upward_test_data): Likewise.
23849 (exp10_test_data): Likewise.
23850 (exp2_test_data): Likewise.
23851 (expm1_test_data): Likewise.
23852 (j0_test_data): Likewise.
23853 (j1_test_data): Likewise.
23854 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23855 (input_flag_type): Add flag_xfail_rounding.
23856 (input_flags): Add xfail-rounding.
23857 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23858 (output_for_one_input_case): Handle flag_xfail_rounding.
23859 * sysdeps/i386/fpu/libm-test-ulps: Update.
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23861
18d14251
AJ
238622013-12-03 Aurelien Jarno <aurelien@aurel32.net>
23863
3d2e6075 23864 [BZ #16289]
18d14251
AJ
23865 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23866 division by 0.
23867
520d437b
SP
238682013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23869
23870 [BZ #16195]
23871 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23872 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23873 (STAP_PROBE0): New macro.
23874 (STAP_PROBE1): Likewise.
23875 (STAP_PROBE2): Likewise.
23876 (STAP_PROBE3): Likewise.
23877 (STAP_PROBE4): Likewise.
23878
416e0145
OB
238792013-12-02 Ondřej Bílka <neleai@seznam.cz>
23880
23881 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23882
9d17796a
SE
238832013-12-02 Steve Ellcey <sellcey@mips.com>
23884
23885 * benchtests/Makefile (bench): Add sqrt.
23886 (LDLIBS-bench-sqrt): New.
23887 * benchtests/sqrt-input: New.
23888
f524d6a8
PS
238892013-12-02 Pavel Simerda <psimerda@redhat.com>
23890
639a0ef8
PS
23891 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23892 (GAIH_EAI): Likewise.
23893 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23894 (gaih_inet): Likewise.
23895 (getaddrinfo): Don't use GAIH_EAI.
23896
f524d6a8
PS
23897 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23898 (struct gaih): Remove definition.
23899
df3aedaf
SP
239002013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23901
23902 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23903 Use HERRNOP directly.
23904
1ab19dec
AZ
239052013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23906
b42ad38d 23907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 23908
176b0c79
JM
239092013-11-30 Joseph Myers <joseph@codesourcery.com>
23910
23911 * math/gen-auto-libm-tests.c (test_functions): Add more
23912 single-argument functions.
23913 (special_fill_pi_2): New function.
23914 (special_fill_minus_pi_2): Likewise.
23915 (special_fill_pi_6): Likewise.
23916 (special_fill_minus_pi_6): Likewise.
23917 (special_fill_pi_3): Likewise.
23918 (special_fill_2pi_3): Likewise.
23919 (special_fill_e): Likewise.
23920 (special_fill_1_e): Likewise.
23921 (special_fill_e_minus_1): Likewise.
23922 (special_real_inputs): Add more special inputs.
23923 (output_for_one_input_case): Do not require ERANGE on underflow to
23924 zero if round-to-nearest result does not underflow to zero, unless
23925 exact results required.
23926 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23927 atan, atanh, cbrt, cos and cosh.
23928 * math/auto-libm-test-out: Regenerated.
23929 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23930 (acos_tonearest_test_data): Likewise.
23931 (acos_towardzero_test_data): Likewise.
23932 (acos_downward_test_data): Likewise.
23933 (acos_upward_test_data): Likewise.
23934 (acosh_test_data): Likewise.
23935 (asin_test_data): Likewise.
23936 (asin_tonearest_test_data): Likewise.
23937 (asin_towardzero_test_data): Likewise.
23938 (asin_upward_test_data): Likewise.
23939 (asinh_test_data): Likewise.
23940 (atan_test_data): Likewise.
23941 (atanh_test_data): Likewise.
23942 (cbrt_test_data): Likewise.
23943 (cos_test_data): Likewise.
23944 (cos_tonearest_test_data): Likewise.
23945 (cos_towardzero_test_data): Likewise.
23946 (cos_downward_test_data): Likewise.
23947 (cos_upward_test_data): Likewise.
23948 (cosh_test_data): Likewise.
23949 (cosh_tonearest_test_data): Likewise.
23950 (cosh_towardzero_test_data): Likewise.
23951 (cosh_downward_test_data): Likewise.
23952 (cosh_upward_test_data): Likewise.
23953 * sysdeps/i386/fpu/libm-test-ulps: Update.
23954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23955
ffb536d0
JM
239562013-11-29 Joseph Myers <joseph@codesourcery.com>
23957
2a77a467
JM
23958 [BZ #6787]
23959 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23960 * math/w_exp10f.c (__exp10f): Likewise.
23961 * math/w_exp10l.c (__exp10l): Likewise.
23962 * math/libm-test.inc (exp10_test_data): Add more tests and expect
23963 errno settings in existing tests.
23964
ea3bc4e8
JM
23965 [BZ #14032]
23966 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23967 precision control set to double precision.
23968 * sysdeps/i386/fpu/w_sqrt.c: New file.
23969 * math/auto-libm-test-in: Add more tests.
23970 * math/auto-libm-test-out: Update.
23971
0712c9d8
JM
23972 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23973 (sqrt_test_tonearest): New function.
23974 (sqrt_towardzero_test_data): New variable.
23975 (sqrt_test_towardzero): New function.
23976 (sqrt_downward_test_data): New variable.
23977 (sqrt_test_downward): New function.
23978 (sqrt_upward_test_data): New variable.
23979 (sqrt_test_upward): New function.
23980 (main): Call the new functions.
23981
ffb536d0
JM
23982 * math/gen-auto-libm-tests.c: New file.
23983 * math/auto-libm-test-in: Likewise.
23984 * math/auto-libm-test-out: New generated file.
23985 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23986 variables.
23987 (%beautify): Add generated representations of zero.
23988 (top level): Set $auto_input and call parse_auto_input.
23989 (beautify): Remove trailing "f" from hex float constants.
23990 (parse_args): Handle XFAIL_TEST.
23991 (convert_condition): New function.
23992 (or_value): Likewise.
23993 (or_cond_value): Likewise.
23994 (generate_testfile): Handle AUTO_TESTS_* lines.
23995 (parse_auto_input): New function.
23996 * math/libm-test.inc (XFAIL_TEST): New macro.
23997 (ERRNO_UNCHANGED): Update value.
23998 (ERRNO_EDOM): Likewise.
23999 (ERRNO_ERANGE): Likewise.
24000 (IGNORE_RESULT): Likewise.
24001 (TEST_COND_flt_32): New macro.
24002 (TEST_COND_dbl_64): Likewise.
24003 (TEST_COND_ldbl_96_intel): Likewise.
24004 (TEST_COND_ldbl_96_m68k): Likewise.
24005 (TEST_COND_ldbl_128): Likewise.
24006 (TEST_COND_ldbl_128ibm): Likewise.
24007 (TEST_COND_long32): Likewise.
24008 (TEST_COND_long64): Likewise.
24009 (TEST_COND_before_rounding): Likewise.
24010 (TEST_COND_after_rounding): Likewise.
24011 (enable_test): Handle XFAIL_TEST flag.
24012 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24013 with finite results.
24014 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24015 auto-libm-test-out.
24016
acd98a8e
AK
240172013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24018 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24019
24020 [BZ #16214]
24021 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24022 __tls_get_addr_internal instead of __tls_get_offset in order to
24023 avoid GOT pointer dependency. Make rtld export
24024 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24025 __tls_get_addr since we are a __tls_get_offset platform.
24026 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24027 GOT pointer being set up before.
24028 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24029
3c1c46a6
JM
240302013-11-28 Joseph Myers <joseph@codesourcery.com>
24031
7475aef5
JM
24032 * manual/math.texi (Errors in Math Functions): Document accuracy
24033 goals.
24034
8bca7cd8
JM
24035 [BZ #15004]
24036 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24037 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24040 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24042 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24048 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24052
91a1f3fe
JM
24053 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24054 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24055 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24056 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24057 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24058 Likewise.
24059 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24060 Likewise.
24061 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24062 Likewise.
24063 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24064 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24065 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24066 atomic-feupdateenv and flt-rounds.
24067 * sysdeps/powerpc/nofpu/Versions (libc): Add
24068 __atomic_feholdexcept, __atomic_feclearexcept,
24069 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24070 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24071 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24072 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24073 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24074 here.
24075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24076 Update.
24077
c5df7609
JM
24078 * manual/arith.texi (FP Exceptions): Document that exceptions may
24079 not be raised when matherr is used.
24080 (Math Error Reporting): Document overflow in directed rounding
24081 modes. Document that errno may not be set when finite values are
24082 returned on overflow. Document intent to set errno on underflow
24083 only for underflow to zero.
24084
3c1c46a6
JM
24085 [BZ #16271]
24086 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24087 round-to-nearest then adjust result for other rounding modes.
24088 * include/fenv.h (fegetround): Use libm_hidden_proto.
24089 * math/fegetround.c (fegetround): Use libm_hidden_def.
24090 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24091 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24092 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24093 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24094 Likewise.
24095 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24096 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24097 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24098 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24099
5a4c6d53
SP
241002013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24101
24102 [BZ #16077]
24103 * nss/Versions (libnss_files): Add
24104 _nss_files_gethostbyname3_r.
24105 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24106 New function.
24107 (HOST_DB_LOOKUP): Remove macro.
24108 (_nss_files_gethostbyname_r): Implement function without the
24109 HOST_DB_LOOKUP macro.
24110 (_nss_files_gethostbyname2_r): Likewise.
24111
897b98ba
OB
241122013-11-28 Ondřej Bílka <neleai@seznam.cz>
24113
24114 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24115
6f476861
UB
241162013-11-26 Uros Bizjak <ubizjak@gmail.com>
24117
24118 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24119 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24120 warning.
24121
bd12ab55
AZ
241222013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24123
24124 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24125 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24126 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24127 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24128 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24129 __fe_nomask_env_priv and attribute_hidden.
24130 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24131 (libc_feupdateenv_test_ppc): Likewise.
24132 (libc_feresetround_ppc): Likewise.
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24134 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24135 compat_symbol macro.
24136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24137 (__fe_nomask_env): Likewise.
24138 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24139
52bb6543
OB
241402013-11-26 Ondřej Bílka <neleai@seznam.cz>
24141
24142 * string/Makefile: Remove ifunc tests.
24143 * string/test-string.h: Define TEST_IFUNC.
24144 * string/test-bcopy-ifunc.c: Remove.
24145 * string/test-bzero-ifunc.c: Likewise.
24146 * string/test-memccpy-ifunc.c: Likewise.
24147 * string/test-memchr-ifunc.c: Likewise.
24148 * string/test-memcmp-ifunc.c: Likewise.
24149 * string/test-memcpy-ifunc.c: Likewise.
24150 * string/test-memmem-ifunc.c: Likewise.
24151 * string/test-memmove-ifunc.c: Likewise.
24152 * string/test-mempcpy-ifunc.c: Likewise.
24153 * string/test-memrchr-ifunc.c: Likewise.
24154 * string/test-memset-ifunc.c: Likewise.
24155 * string/test-rawmemchr-ifunc.c: Likewise.
24156 * string/test-stpcpy-ifunc.c: Likewise.
24157 * string/test-stpncpy-ifunc.c: Likewise.
24158 * string/test-strcasecmp-ifunc.c: Likewise.
24159 * string/test-strcasestr-ifunc.c: Likewise.
24160 * string/test-strcat-ifunc.c: Likewise.
24161 * string/test-strchr-ifunc.c: Likewise.
24162 * string/test-strchrnul-ifunc.c: Likewise.
24163 * string/test-strcmp-ifunc.c: Likewise.
24164 * string/test-strcpy-ifunc.c: Likewise.
24165 * string/test-strcspn-ifunc.c: Likewise.
24166 * string/test-strlen-ifunc.c: Likewise.
24167 * string/test-strncasecmp-ifunc.c: Likewise.
24168 * string/test-strncat-ifunc.c: Likewise.
24169 * string/test-strncmp-ifunc.c: Likewise.
24170 * string/test-strncpy-ifunc.c: Likewise.
24171 * string/test-strnlen-ifunc.c: Likewise.
24172 * string/test-strpbrk-ifunc.c: Likewise.
24173 * string/test-strrchr-ifunc.c: Likewise.
24174 * string/test-strspn-ifunc.c: Likewise.
24175 * string/test-strstr-ifunc.c: Likewise.
24176
ab260039 241772013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
24178
24179 * benchtests/Makefile: Remove ifunc tests.
24180 * benchtests/bench-string.h: Define TEST_IFUNC.
24181 * benchtests/bench-bcopy-ifunc.c: Remove.
24182 * benchtests/bench-bzero-ifunc.c: Likewise.
24183 * benchtests/bench-memccpy-ifunc.c: Likewise.
24184 * benchtests/bench-memchr-ifunc.c: Likewise.
24185 * benchtests/bench-memcmp-ifunc.c: Likewise.
24186 * benchtests/bench-memcpy-ifunc.c: Likewise.
24187 * benchtests/bench-memmem-ifunc.c: Likewise.
24188 * benchtests/bench-memmove-ifunc.c: Likewise.
24189 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24190 * benchtests/bench-memrchr-ifunc.c: Likewise.
24191 * benchtests/bench-memset-ifunc.c: Likewise.
24192 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24193 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24194 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24195 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24196 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24197 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24198 * benchtests/bench-strcat-ifunc.c: Likewise.
24199 * benchtests/bench-strchr-ifunc.c: Likewise.
24200 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24201 * benchtests/bench-strcmp-ifunc.c: Likewise.
24202 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24203 * benchtests/bench-strcpy-ifunc.c: Likewise.
24204 * benchtests/bench-strcspn-ifunc.c: Likewise.
24205 * benchtests/bench-strlen-ifunc.c: Likewise.
24206 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24207 * benchtests/bench-strncat-ifunc.c: Likewise.
24208 * benchtests/bench-strncmp-ifunc.c: Likewise.
24209 * benchtests/bench-strncpy-ifunc.c: Likewise.
24210 * benchtests/bench-strnlen-ifunc.c: Likewise.
24211 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24212 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 24213 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
24214 * benchtests/bench-strspn-ifunc.c: Likewise.
24215 * benchtests/bench-strstr-ifunc.c: Likewise.
24216
242172013-11-26 Ondřej Bílka <neleai@seznam.cz>
24218
ab260039
OB
24219 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24220
d1d9eaf4 242212013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 24222
d1d9eaf4
OB
24223 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24224 * rt/aio.h: Likewise.
24225 * sysdeps/gnu/bits/utmp.h: Likewise.
24226 * sysdeps/gnu/bits/utmpx.h: Likewise.
24227 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24228 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24229 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24230 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24231 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24232 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24233 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24234 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24235 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24236 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24237 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24238 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24239 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24241 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24242 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24245 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24246 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24247 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24248 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24249 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24250 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24251 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24253 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24254 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24255 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24256 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24257 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24258 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24259 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24260 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24261 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24262 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24263 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24264 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24265 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24266 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24267 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24268 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24269
a7624ed9
CD
242702013-11-25 Carlos O'Donell <carlos@redhat.com>
24271
24272 [BZ #16245]
24273 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24274 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24275
63cfe52b
JM
242762013-11-25 Joseph Myers <joseph@codesourcery.com>
24277
24278 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24279 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24280 Likewise.
24281
41e8926a
AZ
242822013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24283
24284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24285 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24286 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24287 (__fesetround): Remove define.
24288 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24289 rounding and exceptions handling.
24290 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24291 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24292 (__fe_nomask_env): Likewise.
24293 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24294 __fegetround instead of fegetround.
24295 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24297
6851bd4d
RM
242982013-11-21 Roland McGrath <roland@hack.frob.com>
24299
070906ff
RM
24300 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24301 it's there.
24302
6851bd4d
RM
24303 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24304
84ae135d
MI
243052013-11-21 Meador Inge <meadori@codesourcery.com>
24306
24307 [BZ #11157]
24308 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24309 (encrypt_r): Likewise.
24310 * malloc/obstack.h (obstack_free): Likewise.
24311 * posix/unistd.h (encrypt): Likewise.
24312
daf75146
GM
243132013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24314
24315 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24316 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24317 DL_CALL_DT_FINI() that call the functions directly.
24318 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24319 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24320 * elf/dl-fini.c: Likewise.
24321
10ad46bc
OB
243222013-11-20 Ondřej Bílka <neleai@seznam.cz>
24323
24324 * malloc/hooks.c (memalign_check): Add alignment rounding.
24325 * malloc/malloc.c (_mid_memalign): New function.
24326 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24327 Implement by calling _mid_memalign.
24328 * manual/probes.texi (Memory Allocation Probes): Remove
24329 memory_valloc_retry and memory_pvalloc_retry.
24330
f3fd2628
SP
243312013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24332
4712799f
SP
24333 * locale/programs/locarchive.c (open_archive): Add const
24334 qualifier to ARCHIVEFNAME and copy default fname to
24335 DEFAULT_FNAME.
24336
0417b20f
SP
24337 [BZ #15601]
24338 * libio/tst-widetext.input: Rename Oriya to Odia.
24339 * locale/iso-639.def: Likewise.
24340
f3fd2628
SP
24341 * manual/probes.texi (Mathematical Function Probes): Add
24342 documentation for sin, cos, asin and acos probes.
24343 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24344 (__sin32): Add slowasin probe.
24345 (__cos32): Add slowacos probe.
24346 (__mpsin): Add slowsin probe.
24347 (__mpcos): Add slowcos probe.
24348
73c1ce4f
JM
243492013-11-19 Joseph Myers <joseph@codesourcery.com>
24350
24351 [BZ #15483]
24352 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24353 thread-local __sim_exceptions_thread and global
24354 __sim_exceptions_global.
24355 (__sim_disabled_exceptions): Change to thread-local
24356 __sim_disabled_exceptions_thread and global
24357 __sim_disabled_exceptions_global.
24358 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24359 and global __sim_round_mode_global.
24360 (__simulate_exceptions): Use thread-local floating-point state and
24361 set global state from it as needed.
24362 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24363 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24364 __sim_round_mode_thread.
24365 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24366 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24367 and global __sim_exceptions_global.
24368 (__sim_disabled_exceptions): Change to thread-local
24369 __sim_disabled_exceptions_thread and global
24370 __sim_disabled_exceptions_global.
24371 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24372 and global __sim_round_mode_global.
24373 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24374 (SIM_SET_GLOBAL): Likewise.
24375 * sysdeps/powerpc/soft-fp/sfp-machine.h
24376 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24377 __sim_round_mode_thread.
24378 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24379 __sim_disabled_exceptions_thread.
24380 (__sim_exceptions): Change to __sim_exceptions_thread.
24381 (__sim_disabled_exceptions): Change to
24382 __sim_disabled_exceptions_thread.
24383 (__sim_round_mode): Change to __sim_round_mode_thread.
24384 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24385 thread-local floating-point state and set global state from it as
24386 needed.
24387 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24388 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24389 (__sim_disabled_exceptions): Remove extern declaration.
24390 (feenableexcept): Use thread-local floating-point state and set
24391 global state from it as needed.
24392 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24393 extern declaration.
24394 (__sim_disabled_exceptions): Likewise.
24395 (__sim_round_mode): Likewise.
24396 (__fegetenv): Use thread-local floating-point state.
24397 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24398 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24399 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24400 floating-point state and set global state from it as needed.
24401 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24402 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24403 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24404 Likewise.
24405 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24406 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24407 Likewise.
24408 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24409 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24410 Use __sim_round_mode_thread.
24411 * math/test-fenv-tls.c: New file.
24412 * math/Makefile (tests): Add test-fenv-tls.
24413 ($(objpfx)test-fenv-tls): Depend on
24414 $(common-objpfx)nptl/libpthread.so.
24415
b5449b12
AS
244162013-11-19 Andreas Schwab <schwab@suse.de>
24417
24418 * locale/programs/locale.c (show_info): Decode wordarray elements.
24419 * locale/categories.def (LC_MONETARY): Add element for
24420 _NL_MONETARY_CRNCYSTR.
24421 * locale/C-monetary.c (conversion_rate): New variable.
24422 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24423 element.
24424
e186536b
CM
244252013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24426
24427 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24428 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24429
5c349950
PP
244302013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24431
24432 * elf/Makefile (tst-auxv): New test.
24433 * elf/tst-auxv.c: New
24434 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24435
699df45b
JM
244362013-11-18 Joseph Myers <joseph@codesourcery.com>
24437
24438 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24439 (hidden_proto): Caller changed.
24440 (hidden_tls_proto): New macro.
24441 (libc_hidden_tls_proto): Likewise.
24442 (rtld_hidden_tls_proto): Likewise.
24443 (libm_hidden_tls_proto): Likewise.
24444 (libresolv_hidden_tls_proto): Likewise.
24445 (librt_hidden_tls_proto): Likewise.
24446 (libdl_hidden_tls_proto): Likewise.
24447 (libnss_files_hidden_tls_proto): Likewise.
24448 (libnsl_hidden_tls_proto): Likewise.
24449 (libnss_nisplus_hidden_tls_proto): Likewise.
24450 (libutil_hidden_tls_proto): Likewise.
24451
b7589107
OB
244522013-11-18 Ondřej Bílka <neleai@seznam.cz>
24453
24454 [BZ #10253]
24455 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24456 (decompose_rpath): Defer expansion to fillin_rpath.
24457 (_dl_init_paths): Pass linkmap to fillin_rpath.
24458
250c23bd
RS
244592013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24460
24461 * benchtests/Makefile: Add strsep.
24462 * benchtests/bench-strsep.c: New file: strsep benchtest.
24463 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24464
a7931fcf
AS
244652013-11-18 Andreas Schwab <schwab@suse.de>
24466
24467 * locale/programs/locale.c (show_info) [case byte]: Check for
24468 '\377' instead of '\177'.
24469 * locale/C-monetary.c (not_available): Always use "\377".
24470 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24471 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
24472 detect unavailable sign_posn locale elements.
24473 * locale/localeconv.c (__localeconv): For grouping and
24474 mon_grouping handle "\177" and "\377" like no grouping.
24475 (INT_ELEM): New macro. Use it to set all numeric members.
24476 * locale/programs/ld-monetary.c (monetary_read)
24477 <tok_mon_grouping>: Normalize single -1 to the empty string.
24478 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24479 Likewise.
24480
728dab0e
OB
244812013-11-07 Ondřej Bílka <neleai@seznam.cz>
24482
24483 [BZ #16055]
24484 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24485 when we match (nil).
24486 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24487
66294491
JM
244882013-11-16 Joseph Myers <joseph@codesourcery.com>
24489
ce665817
JM
24490 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24491 (NO_TEST_INLINE): Update value.
24492 (ERRNO_UNCHANGED): Likewise.
24493 (ERRNO_EDOM): Likewise.
24494 (ERRNO_ERANGE): Likewise.
24495 (IGNORE_RESULT): Likewise.
24496 (check_float_internal): Check signs of NaN results if
24497 TEST_NAN_SIGN used.
24498 (check_complex): Pass TEST_NAN_SIGN flag through to second
24499 check_float_internal call.
24500 (copysign_test_data): Add tests with quiet NaNs as second
24501 argument. Use TEST_NAN_SIGN.
24502 (fabs_test_data): Add test of negative quiet NaN argument. Use
24503 TEST_NAN_SIGN.
24504 (signbit_test_data): Add tests of quiet NaN argument.
24505 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24506
ee1466a9
JM
24507 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24508 $ignore_result.
24509 (parse_args): Handle function results specified as IGNORE.
24510 * math/libm-test.inc (IGNORE_RESULT): New macro.
24511 (check_float_internal): Do not check numerical result if flag
24512 IGNORE_RESULT set.
24513 (check_complex): Pass through IGNORE_RESULT to second
24514 check_float_internal call.
24515 (check_int): Do not check numerical result if flag IGNORE_RESULT
24516 set.
24517 (check_long): Likewise.
24518 (check_bool): Likewise.
24519 (check_longlong): Likewise.
24520 (lrint_test_data): Add tests of infinite and NaN arguments.
24521 (lrint_tonearest_test_data): Likewise.
24522 (lrint_towardzero_test_data): Likewise.
24523 (lrint_downward_test_data): Likewise.
24524 (lrint_upward_test_data): Likewise.
24525 (llrint_test_data): Likewise.
24526 (llrint_tonearest_test_data): Likewise.
24527 (llrint_towardzero_test_data): Likewise.
24528 (llrint_downward_test_data): Likewise.
24529 (llrint_upward_test_data): Likewise.
24530 (lround_test_data): Likewise.
24531 (llround_test_data): Likewise.
24532
14407b7e
JM
24533 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24534 (ERRNO_UNCHANGED): Update value.
24535 (ERRNO_EDOM): Likewise.
24536 (ERRNO_ERANGE): Likewise.
24537 (NO_TEST_INLINE_FLOAT): New macro.
24538 (NO_TEST_INLINE_DOUBLE): Likewise.
24539 (enable_test): New function.
24540 (RUN_TEST_f_f): Check enable_test before running test.
24541 (RUN_TEST_2_f): Likewise.
24542 (RUN_TEST_fff_f): Likewise.
24543 (RUN_TEST_c_f): Likewise.
24544 (RUN_TEST_f_f1): Likewise.
24545 (RUN_TEST_fF_f1): Likewise.
24546 (RUN_TEST_fI_f1): Likewise.
24547 (RUN_TEST_ffI_f1): Likewise.
24548 (RUN_TEST_c_c): Likewise.
24549 (RUN_TEST_cc_c): Likewise.
24550 (RUN_TEST_f_i): Likewise.
24551 (RUN_TEST_f_i_tg): Likewise.
24552 (RUN_TEST_ff_i_tg): Likewise.
24553 (RUN_TEST_f_b): Likewise.
24554 (RUN_TEST_f_b_tg): Likewise.
24555 (RUN_TEST_f_l): Likewise.
24556 (RUN_TEST_f_L): Likewise.
24557 (RUN_TEST_fFF_11): Likewise.
24558 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24559 conditionals.
24560 (cosh_test_data): Likewise.
24561 (exp_test_data): Likewise.
24562 (expm1_test_data): Likewise.
24563 (hypot_test_data): Likewise.
24564 (pow_test_data): Likewise.
24565 (sinh_test_data): Likewise.
24566 (tanh_test_data): Likewise.
24567 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24568 flags argument.
24569
ca07f197
JM
24570 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24571 tests with quiet NaN input and output.
24572 (acosh_test_data): Likewise.
24573 (asin_test_data): Likewise.
24574 (asinh_test_data): Likewise.
24575 (atan_test_data): Likewise.
24576 (atanh_test_data): Likewise.
24577 (atan2_test_data): Likewise.
24578 (cbrt_test_data): Likewise.
24579 (cos_test_data): Likewise.
24580 (cosh_test_data): Likewise.
24581 (erf_test_data): Likewise.
24582 (erfc_test_data): Likewise.
24583 (exp_test_data): Likewise.
24584 (exp10_test_data): Likewise.
24585 (exp2_test_data): Likewise.
24586 (expm1_test_data): Likewise.
24587 (hypot_test_data): Likewise.
24588 (j0_test_data): Likewise.
24589 (j1_test_data): Likewise.
24590 (jn_test_data): Likewise.
24591 (lgamma_test_data): Likewise.
24592 (log_test_data): Likewise.
24593 (log10_test_data): Likewise.
24594 (log1p_test_data): Likewise.
24595 (log2_test_data): Likewise.
24596 (pow_test_data): Likewise.
24597 (scalb_test_data): Likewise.
24598 (sin_test_data): Likewise.
24599 (sincos_test_data): Likewise.
24600 (sinh_test_data): Likewise.
24601 (tan_test_data): Likewise.
24602 (tanh_test_data): Likewise.
24603 (tgamma_test_data): Likewise.
24604 (y0_test_data): Likewise.
24605 (y1_test_data): Likewise.
24606 (yn_test_data): Likewise.
24607
66294491
JM
24608 [BZ #16167]
24609 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24610 argument being NaN and avoid computations with second argument in
24611 that case.
24612 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24613 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24614 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24615
1820b143
CL
246162013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
24617
24618 * locale/iso-639.def: Add Chitwani Tharu (the).
24619
714bd261
AS
246202013-11-14 Andreas Schwab <schwab@suse.de>
24621
24622 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24623 word instead of empty string.
24624
7ab44563
AZ
246252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24626
24627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24628 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24630 (__fe_nomask_env): Likewise.
24631
e8470ea2
SE
246322013-11-13 Steve Ellcey <sellcey@mips.com>
24633
24634 * benchtests/bench-timing.h: Include time.h.
24635
17c1d9f0
L
246362013-11-13 H.J. Lu <hongjiu.lu@intel.com>
24637
24638 [BZ #15997]
24639 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24640 to 3.4.0 for x32.
24641 * sysdeps/unix/sysv/linux/configure: Regenerated.
24642
9310c284
JM
246432013-11-13 Joseph Myers <joseph@codesourcery.com>
24644
24645 [BZ #16151]
24646 * stdlib/strtod_l.c (round_and_return): Do not consider
24647 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24648 exponent one less than half the least subnormal exponent.
24649 * stdlib/test-strtod-round-data: Add more tests.
24650 * stdlib/tst-strtod-round.c (tests): Regenerated.
24651
7a2ad8cf
AZ
246522013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24653
24654 [BZ #14143]
24655 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24656 (__fe_mask_env): Likewise.
24657 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24658 libm_hidden_proto and add function prototype.
24659 (__fe_mask_env): Add function prototype.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24661 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24663 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24665 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24666
50727aa7
MS
246672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24668
b2f386c1 24669 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
24670 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24671
a615be46
MS
246722013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24673
24674 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24675 of htab_find_slot().
24676
7ddace62
DM
246772013-11-11 David S. Miller <davem@davemloft.net>
24678
24679 [BZ #16150]
24680 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24681 symbol in the non-vis3 case in static builds.
24682 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24683 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24684 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24685 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24686
9182aa67
JK
246872013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
24688
24689 [BZ #387]
24690 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24691 it is empty.
24692
450a2e2d
AZ
246932013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24694
b2f386c1
SP
24695 * benchtests/Makefile: Add bench-strtod.
24696 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 24697
8ec3f656
AS
246982013-11-11 Andreas Schwab <schwab@suse.de>
24699
24700 [BZ #16153]
24701 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24702 terminating NUL in key length.
24703
76a9b998
AZ
247042013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24705
24706 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24707 Add artificial ODP entry for vDSO symbol for PPC64.
24708 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24709 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24710
e4368156
OB
247112013-11-07 Ondřej Bílka <neleai@seznam.cz>
24712
24713 [BZ #15374]
24714 * nss/getent.c (services_keys): Recognize services starting with digit.
24715
8d6bb57c
DM
247162013-11-06 David S. Miller <davem@davemloft.net>
24717
24718 [BZ #15985]
24719 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24720 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24721
e256c421
WN
247222013-11-06 Will Newton <will.newton@linaro.org>
24723
24724 * manual/memory.texi (Malloc Examples): Remove register
24725 keyword from examples.
24726
f6e12daa 247272013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 24728
f6e12daa 24729 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 24730
9d880655
AS
247312013-11-04 Joseph Myers <joseph@codesourcery.com>
24732
fd2f9486 24733 [BZ #6981]
9d880655
AS
24734 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24735 depending on [__GCC_IEC_559 > 0].
24736 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24737 depending on [__GCC_IEC_559_COMPLEX > 0].
24738
ae129d3c
CL
247392013-11-03 Chris Leonard <cjl@sugarlabs.org>
24740
24741 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24742 to iso-639.def.
24743
4a15c2a4 247442013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
24745
24746 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24747
8b35e35d
OB
247482013-11-01 Ondřej Bílka <neleai@seznam.cz>
24749
24750 [BZ #16112]
24751 * malloc/malloc (malloc_info): Do not handle first bin as
24752 special case.
24753
1d70fd6c
CL
247542013-11-01 Chris Leonard <cjl@sugarlabs.org>
24755
24756 * locale/iso-639.def: Add Central Nahuatl (nhn).
24757
8c5c2600
BH
247582013-11-01 Bruno Haible <bruno@clisp.org>
24759
24760 [BZ #7003]
24761 * manual/math.texi (BSD Random): Specify range upper bound as
24762 in POSIX.
24763
da5579c2
CL
247642013-10-31 Chris Leonard <cjl@sugarlabs.org>
24765
24766 * locale/iso-639.def: Add Meadow Mari (mhr).
24767
5d30d853
OB
247682013-10-31 Ondřej Bílka <neleai@seznam.cz>
24769
24770 [BZ #14752], [BZ #15763]
24771 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24772 Validate name.
24773 * rt/tst_shm.c: Add test for escaping directory.
24774
a4966c61
AS
247752013-10-31 Andreas Schwab <schwab@suse.de>
24776
8a43e768 24777 [BZ #15917]
a4966c61
AS
24778 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24779 followed by 'x' as part of digit sequence.
24780 * stdio-common/tst-sscanf.c (double_tests2): New tests.
24781
28d708c4
MAP
247822013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24783
24784 [BZ #16037]
24785 * configure.ac: allow GNU Make 4.0 and greater.
24786 * configure: Regenerated.
24787
a56ee40b
WN
247882013-10-30 Will Newton <will.newton@linaro.org>
24789
24790 [BZ #16038]
24791 * malloc/hooks.c (memalign_check): Limit alignment to the
24792 maximum representable power of two.
24793 * malloc/malloc.c (__libc_memalign): Likewise.
24794 * malloc/tst-memalign.c (do_test): Add test for very
24795 large alignment values.
24796 * malloc/tst-posix_memalign.c (do_test): Likewise.
24797
c6e4925d
OB
247982013-10-30 Ondřej Bílka <neleai@seznam.cz>
24799
24800 [BZ #11087]
24801 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24802 (munmap_chunk): Likewise.
24803 (mremap_chunk): Likewise.
24804
248052013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 24806
8a43e768 24807 [BZ #15799]
bbea82f7
OB
24808 * stdlib/div.c (div): Remove obsolete code.
24809 * stdlib/ldiv.c (ldiv): Likewise.
24810 * stdlib/lldiv.c (lldiv): Likewise.
24811
977f4b31
SP
248122013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24813
24814 [BZ #16071]
24815 * nss/nss_files/files-XXX.c (get_contents_ret): New
24816 enumerator.
24817 (get_contents): New function.
24818 (internal_getent): Use it. Expand size of LINEBUFLEN.
24819
cb8a6dbd
MF
248202013-10-30 Mike Frysinger <vapier@gentoo.org>
24821
24822 * configure.in: Moved to ...
24823 * configure.ac: ... here. Change reference to configure.in
24824 to configure.ac.
24825 * sysdeps/arm/preconfigure.ac: ... here.
24826 configure.in to configure.ac.
24827 * sysdeps/gnu/configure.in: Moved to ...
24828 * sysdeps/gnu/configure.ac: ... here.
24829 * sysdeps/i386/configure.in: Moved to ...
24830 * sysdeps/i386/configure.ac: ... here.
24831 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24832 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24833 * sysdeps/mach/configure.in: Moved to ...
24834 * sysdeps/mach/configure.ac: ... here.
24835 * sysdeps/mach/hurd/configure.in: Moved to ...
24836 * sysdeps/mach/hurd/configure.ac: ... here.
24837 * sysdeps/powerpc/configure.in: Moved to ...
24838 * sysdeps/powerpc/configure.ac: ... here.
24839 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24840 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24841 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24842 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24843 * sysdeps/s390/s390-32/configure.in: Moved to ...
24844 * sysdeps/s390/s390-32/configure.ac: ... here.
24845 * sysdeps/s390/s390-64/configure.in: Moved to ...
24846 * sysdeps/s390/s390-64/configure.ac: ... here.
24847 * sysdeps/sh/configure.in: Moved to ...
24848 * sysdeps/sh/configure.ac: ... here.
24849 * sysdeps/sparc/configure.in: Moved to ...
24850 * sysdeps/sparc/configure.ac: ... here.
24851 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24852 * sysdeps/unix/sysv/linux/configure.ac: ... here.
24853 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24854 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24855 * sysdeps/x86_64/configure.in: Moved to ...
24856 * sysdeps/x86_64/configure.ac: ... here.
24857 * sysdeps/x86_64/preconfigure.in: Moved to ...
24858 * sysdeps/x86_64/preconfigure.ac: ... here.
24859 * aclocal.m4: Change reference to configure.in to configure.ac.
24860 * config.h.in: Likewise.
24861 * manual/install.texi: Likewise.
24862 * manual/maint.texi: Likewise.
24863 * Makefile: Likewise.
24864 * malloc/Makefile: Likewise.
24865 * nscd/Makefile: Likewise.
24866 * Makeconfig: Change reference to configure.in and
24867 preconfigure.in to configure.ac and preconfigure.ac
24868 respectively.
24869 * INSTALL: Regenerated.
24870 * configure: Likewise.
24871 * sysdeps/gnu/configure: Likewise.
24872 * sysdeps/i386/configure: Likewise.
24873 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24874 * sysdeps/mach/configure: Likewise.
24875 * sysdeps/mach/hurd/configure: Likewise.
24876 * sysdeps/powerpc/configure: Likewise.
24877 * sysdeps/powerpc/powerpc32/configure: Likewise.
24878 * sysdeps/powerpc/powerpc64/configure: Likewise.
24879 * sysdeps/s390/s390-32/configure: Likewise.
24880 * sysdeps/s390/s390-64/configure: Likewise.
24881 * sysdeps/sh/configure: Likewise.
24882 * sysdeps/sparc/configure: Likewise.
24883 * sysdeps/unix/sysv/linux/configure: Likewise.
24884 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24885 * sysdeps/x86_64/configure: Likewise.
24886 * sysdeps/x86_64/preconfigure: Likewise.
24887
36a4953a
AS
248882013-10-29 Andreas Schwab <schwab@suse.de>
24889
24890 * stdio-common/Makefile (tst-swscanf-ENV): Define.
24891
c79a1204
SP
248922013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24893
dfa1b402
SP
24894 * benchtests/pow-inputs: Add new inputs.
24895
54f73d9c
SP
24896 * benchtests/exp-inputs: Add new inputs.
24897
c79a1204
SP
24898 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24899 conditional check for return value.
24900 (__cos32): Likewise.
24901
67beb545 249022013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
24903
24904 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24905 to provide a boost for large inputs with word alignment.
24906 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24907 implementation based on optimized PPC64 strcpy.
24908 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24909 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24910 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24911 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24912
151659f6
OB
249132013-10-25 Ondřej Bílka <neleai@seznam.cz>
24914
482a077e 24915 [BZ #2801]
151659f6
OB
24916 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24917
10b0f26b
OB
249182013-10-25 Ondřej Bílka <neleai@seznam.cz>
24919
24920 [BZ #14876]
24921 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24922 * time/tst-strptime.c (day_tests): Add testcase.
24923
ca42d35e
OB
249242013-10-25 Ondřej Bílka <neleai@seznam.cz>
24925
482a077e 24926 [BZ #14029]
ca42d35e
OB
24927 * manual/pattern.texi: Acknowledge that fnmatch can fail.
24928
52e6d801
FB
249292013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
24930
24931 [BZ #16074]
24932 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24933 MAP_FAILED on error.
24934
7cbcdb36
SP
249352013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24936
24937 [BZ #16072]
24938 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24939 heap for large requests.
24940
894f3f10
AM
249412013-10-25 Aurelien Jarno <aurelien@aurel32.net>
24942
24943 [BZ #9954]
24944 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24945 result if the result has no associated interface.
24946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24947 interface for all 127.X.Y.Z addresses.
24948
b85545a6
CL
249492013-10-24 Chris Leonard <cjl@sugarlabs.org>
24950
24951 * locale/iso-639.def: Add Ligurian (lij)
24952
d1f23d46
OB
249532013-10-21 Ondřej Bílka <neleai@seznam.cz>
24954
24955 [BZ #15825]
24956 * sunrpc/rpc_main.c: Document rpcgen -5.
24957
4db5b08f
MS
249582013-10-19 Michael Stahl <mstahl@redhat.com>
24959
24960 * elf/rtld.c (do_preload): Print the reason why preloading failed.
24961
a471e96a
OB
249622013-10-19 Ondřej Bílka <neleai@seznam.cz>
24963
d1f23d46 24964 [BZ #10278]
a471e96a
OB
24965 * posix/glob.c: Match only directories when trailing slash is present.
24966 * posix/tst-gnuglob.c (my_opendir): Do not open files.
24967 (main): Add testcase.
24968
45c30c61
OB
249692013-10-19 Ondřej Bílka <neleai@seznam.cz>
24970
24971 [BZ #15670]
24972 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24973
484c12fb
CD
249742013-10-18 Carlos O'Donell <carlos@redhat.com>
24975
3d7dc513
CD
24976 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24977 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24978 AUTH_DES and cindex for FIPS 140-2.
24979 (DES Encryption): Add cindex FIPS 46-3.
24980
484c12fb
CD
24981 * locale/locarchive.h (struct locarhandle): Add fname.
24982 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24983 if an optional argument was specified to --list-archive,
24984 otherwise NULL.
24985 * locale/programs/locarchive.c (show_archive_content): Take new
24986 argument fname and pass it via ah.fname to open_archive.
24987 * locale/programs/localedef.h: Update decl.
24988 (open_archive): If AH->fname is non-null, open that file
24989 rather than the default file name, and don't ignore ENOENT.
24990 (create_archive): Set AH.fname to NULL.
24991 (delete_locales_from_archive): Likewise.
24992 (add_locales_to_archive): Likewise.
24993 * locale/programs/locfile.c (write_all_categories): Likewise.
24994
3c8325fb
JM
249952013-10-18 Joseph Myers <joseph@codesourcery.com>
24996 Aldy Hernandez <aldyh@redhat.com>
24997
24998 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24999 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25000 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25001 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25002 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25003 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25004 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25005 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25006 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25007 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25008 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25009 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25010 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25011 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25012 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25013 Likewise.
25014 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25015 Likewise.
25016 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25017 Likewise.
25018 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25019 Likewise.
25020 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25021 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25022 Likewise.
25023 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25024 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25025 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25026 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25027 Likewise.
25028 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25029 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25030 * sysdeps/powerpc/preconfigure: Likewise.
25031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25032 Likewise.
25033 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25034 Replace contents of file by #include of <fenv_libc.h>.
25035 * sysdeps/powerpc/soft-fp/sfp-machine.h
25036 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25037 and <sys/prctl.h>.
25038 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25051 Allow copysignl PLT reference to be missing.
25052
5abe0682
RS
250532013-10-18 Richard Sandiford <richard@codesourcery.com>
25054 Joseph Myers <joseph@codesourcery.com
25055
25056 [BZ #15948]
25057 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25058 single character.
25059 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25060
c7738d08
SP
250612013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25062
25063 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25064 * elf/tst-tls1.c: Likewise.
25065 * elf/tst-tls10.h: Likewise.
25066 * elf/tst-tls14.c: Likewise.
25067 * elf/tst-tls2.c: Likewise.
25068 * elf/tst-tls3.c: Likewise.
25069 * elf/tst-tls4.c: Likewise.
25070 * elf/tst-tls5.c: Likewise.
25071 * elf/tst-tls6.c: Likewise.
25072 * elf/tst-tls7.c: Likewise.
25073 * elf/tst-tls8.c: Likewise.
25074 * elf/tst-tls9.c: Likewise.
25075 * elf/tst-tlsmod1.c: Likewise.
25076 * elf/tst-tlsmod13.c: Likewise.
25077 * elf/tst-tlsmod13a.c: Likewise.
25078 * elf/tst-tlsmod14a.c: Likewise.
25079 * elf/tst-tlsmod16a.c: Likewise.
25080 * elf/tst-tlsmod16b.c: Likewise.
25081 * elf/tst-tlsmod2.c: Likewise.
25082 * elf/tst-tlsmod3.c: Likewise.
25083 * elf/tst-tlsmod4.c: Likewise.
25084 * elf/tst-tlsmod5.c: Likewise.
25085 * elf/tst-tlsmod6.c: Likewise.
25086
0bfcf2c7
OB
250872013-10-18 Ondřej Bílka <neleai@seznam.cz>
25088
25089 [BZ #12486]
25090 * malloc/malloc.c: remove checks for statistics.
25091
264aad1e
OB
250922013-10-17 Ondřej Bílka <neleai@seznam.cz>
25093
25094 [BZ #15277]
25095 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25096 * inet/tst-network.c: Add testcase.
25097
b957ced8
AS
250982013-10-17 Andreas Schwab <schwab@suse.de>
25099
25100 [BZ #15218]
25101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25102 to determine canonical name.
25103
c5d5d574
OB
251042013-10-17 Ondřej Bílka <neleai@seznam.cz>
25105
25106 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25107 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25109 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25112 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25114 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25115 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25116 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25118 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25119 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25120 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25121 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25123 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25124 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25129 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25130 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25131 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25132 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25133 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25134 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25135 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25136 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25138 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25140 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25142 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25143 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25144 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25145 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25146 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25147 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25148 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25149 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25151 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25153 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25154 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25155 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25156 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25157 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25159 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25161 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25163 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25164
e5c2c2d0
JM
251652013-10-17 Joseph Myers <joseph@codesourcery.com>
25166
25167 [BZ #16041]
25168 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25169 make result into a quiet NaN.
25170
51ca9e29
JM
251712013-10-16 Joseph Myers <joseph@codesourcery.com>
25172
25173 * soft-fp/adddf3.c: Fix horizontal whitespace.
25174 * soft-fp/addsf3.c: Likewise.
25175 * soft-fp/addtf3.c: Likewise.
25176 * soft-fp/divdf3.c: Likewise.
25177 * soft-fp/divsf3.c: Likewise.
25178 * soft-fp/divtf3.c: Likewise.
25179 * soft-fp/double.h: Likewise.
25180 * soft-fp/eqdf2.c: Likewise.
25181 * soft-fp/eqsf2.c: Likewise.
25182 * soft-fp/eqtf2.c: Likewise.
25183 * soft-fp/extenddftf2.c: Likewise.
25184 * soft-fp/extended.h: Likewise.
25185 * soft-fp/extendsfdf2.c: Likewise.
25186 * soft-fp/extendsftf2.c: Likewise.
25187 * soft-fp/extendxftf2.c: Likewise.
25188 * soft-fp/fixdfdi.c: Likewise.
25189 * soft-fp/fixdfsi.c: Likewise.
25190 * soft-fp/fixdfti.c: Likewise.
25191 * soft-fp/fixsfdi.c: Likewise.
25192 * soft-fp/fixsfsi.c: Likewise.
25193 * soft-fp/fixsfti.c: Likewise.
25194 * soft-fp/fixtfdi.c: Likewise.
25195 * soft-fp/fixtfsi.c: Likewise.
25196 * soft-fp/fixtfti.c: Likewise.
25197 * soft-fp/fixunsdfdi.c: Likewise.
25198 * soft-fp/fixunsdfsi.c: Likewise.
25199 * soft-fp/fixunsdfti.c: Likewise.
25200 * soft-fp/fixunssfdi.c: Likewise.
25201 * soft-fp/fixunssfsi.c: Likewise.
25202 * soft-fp/fixunssfti.c: Likewise.
25203 * soft-fp/fixunstfdi.c: Likewise.
25204 * soft-fp/fixunstfsi.c: Likewise.
25205 * soft-fp/fixunstfti.c: Likewise.
25206 * soft-fp/floatdidf.c: Likewise.
25207 * soft-fp/floatdisf.c: Likewise.
25208 * soft-fp/floatditf.c: Likewise.
25209 * soft-fp/floatsidf.c: Likewise.
25210 * soft-fp/floatsisf.c: Likewise.
25211 * soft-fp/floatsitf.c: Likewise.
25212 * soft-fp/floattidf.c: Likewise.
25213 * soft-fp/floattisf.c: Likewise.
25214 * soft-fp/floattitf.c: Likewise.
25215 * soft-fp/floatundidf.c: Likewise.
25216 * soft-fp/floatundisf.c: Likewise.
25217 * soft-fp/floatunditf.c: Likewise.
25218 * soft-fp/floatunsidf.c: Likewise.
25219 * soft-fp/floatunsisf.c: Likewise.
25220 * soft-fp/floatunsitf.c: Likewise.
25221 * soft-fp/floatuntidf.c: Likewise.
25222 * soft-fp/floatuntisf.c: Likewise.
25223 * soft-fp/floatuntitf.c: Likewise.
25224 * soft-fp/fmadf4.c: Likewise.
25225 * soft-fp/fmasf4.c: Likewise.
25226 * soft-fp/fmatf4.c: Likewise.
25227 * soft-fp/gedf2.c: Likewise.
25228 * soft-fp/gesf2.c: Likewise.
25229 * soft-fp/getf2.c: Likewise.
25230 * soft-fp/ledf2.c: Likewise.
25231 * soft-fp/lesf2.c: Likewise.
25232 * soft-fp/letf2.c: Likewise.
25233 * soft-fp/muldf3.c: Likewise.
25234 * soft-fp/mulsf3.c: Likewise.
25235 * soft-fp/multf3.c: Likewise.
25236 * soft-fp/negdf2.c: Likewise.
25237 * soft-fp/negsf2.c: Likewise.
25238 * soft-fp/negtf2.c: Likewise.
25239 * soft-fp/op-1.h: Likewise.
25240 * soft-fp/op-2.h: Likewise.
25241 * soft-fp/op-4.h: Likewise.
25242 * soft-fp/op-8.h: Likewise.
25243 * soft-fp/op-common.h: Likewise.
25244 * soft-fp/quad.h: Likewise.
25245 * soft-fp/single.h: Likewise.
25246 * soft-fp/soft-fp.h: Likewise.
25247 * soft-fp/sqrtdf2.c: Likewise.
25248 * soft-fp/sqrtsf2.c: Likewise.
25249 * soft-fp/sqrttf2.c: Likewise.
25250 * soft-fp/subdf3.c: Likewise.
25251 * soft-fp/subsf3.c: Likewise.
25252 * soft-fp/subtf3.c: Likewise.
25253 * soft-fp/truncdfsf2.c: Likewise.
25254 * soft-fp/trunctfdf2.c: Likewise.
25255 * soft-fp/trunctfsf2.c: Likewise.
25256 * soft-fp/trunctfxf2.c: Likewise.
25257 * soft-fp/unorddf2.c: Likewise.
25258 * soft-fp/unordsf2.c: Likewise.
25259 * soft-fp/unordtf2.c: Likewise.
25260
9ebb0332
JM
252612013-10-15 Joseph Myers <joseph@codesourcery.com>
25262
25263 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25264 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25265
4b1a6d8b
OB
252662013-10-15 Ondřej Bílka <neleai@seznam.cz>
25267
25268 * elf/dl-libc.c: Clear initfini list after freeing.
25269
1e145589
JM
252702013-10-14 Joseph Myers <joseph@codesourcery.com>
25271
25272 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25273 * soft-fp/addsf3.c: Likewise.
25274 * soft-fp/addtf3.c: Likewise.
25275 * soft-fp/divdf3.c: Likewise.
25276 * soft-fp/divsf3.c: Likewise.
25277 * soft-fp/divtf3.c: Likewise.
25278 * soft-fp/double.h: Likewise.
25279 * soft-fp/eqdf2.c: Likewise.
25280 * soft-fp/eqsf2.c: Likewise.
25281 * soft-fp/eqtf2.c: Likewise.
25282 * soft-fp/extenddftf2.c: Likewise.
25283 * soft-fp/extended.h: Likewise.
25284 * soft-fp/extendsfdf2.c: Likewise.
25285 * soft-fp/extendsftf2.c: Likewise.
25286 * soft-fp/extendxftf2.c: Likewise.
25287 * soft-fp/fixdfdi.c: Likewise.
25288 * soft-fp/fixdfsi.c: Likewise.
25289 * soft-fp/fixdfti.c: Likewise.
25290 * soft-fp/fixsfdi.c: Likewise.
25291 * soft-fp/fixsfsi.c: Likewise.
25292 * soft-fp/fixsfti.c: Likewise.
25293 * soft-fp/fixtfdi.c: Likewise.
25294 * soft-fp/fixtfsi.c: Likewise.
25295 * soft-fp/fixtfti.c: Likewise.
25296 * soft-fp/fixunsdfdi.c: Likewise.
25297 * soft-fp/fixunsdfsi.c: Likewise.
25298 * soft-fp/fixunsdfti.c: Likewise.
25299 * soft-fp/fixunssfdi.c: Likewise.
25300 * soft-fp/fixunssfsi.c: Likewise.
25301 * soft-fp/fixunssfti.c: Likewise.
25302 * soft-fp/fixunstfdi.c: Likewise.
25303 * soft-fp/fixunstfsi.c: Likewise.
25304 * soft-fp/fixunstfti.c: Likewise.
25305 * soft-fp/floatdidf.c: Likewise.
25306 * soft-fp/floatdisf.c: Likewise.
25307 * soft-fp/floatditf.c: Likewise.
25308 * soft-fp/floatsidf.c: Likewise.
25309 * soft-fp/floatsisf.c: Likewise.
25310 * soft-fp/floatsitf.c: Likewise.
25311 * soft-fp/floattidf.c: Likewise.
25312 * soft-fp/floattisf.c: Likewise.
25313 * soft-fp/floattitf.c: Likewise.
25314 * soft-fp/floatundidf.c: Likewise.
25315 * soft-fp/floatundisf.c: Likewise.
25316 * soft-fp/floatunsidf.c: Likewise.
25317 * soft-fp/floatunsisf.c: Likewise.
25318 * soft-fp/floatuntidf.c: Likewise.
25319 * soft-fp/floatuntisf.c: Likewise.
25320 * soft-fp/floatuntitf.c: Likewise.
25321 * soft-fp/fmadf4.c: Likewise.
25322 * soft-fp/fmasf4.c: Likewise.
25323 * soft-fp/fmatf4.c: Likewise.
25324 * soft-fp/gedf2.c: Likewise.
25325 * soft-fp/gesf2.c: Likewise.
25326 * soft-fp/getf2.c: Likewise.
25327 * soft-fp/ledf2.c: Likewise.
25328 * soft-fp/lesf2.c: Likewise.
25329 * soft-fp/letf2.c: Likewise.
25330 * soft-fp/muldf3.c: Likewise.
25331 * soft-fp/mulsf3.c: Likewise.
25332 * soft-fp/multf3.c: Likewise.
25333 * soft-fp/negdf2.c: Likewise.
25334 * soft-fp/negsf2.c: Likewise.
25335 * soft-fp/negtf2.c: Likewise.
25336 * soft-fp/op-1.h: Likewise.
25337 * soft-fp/op-2.h: Likewise.
25338 * soft-fp/op-4.h: Likewise.
25339 * soft-fp/op-8.h: Likewise.
25340 * soft-fp/op-common.h: Likewise.
25341 * soft-fp/quad.h: Likewise.
25342 * soft-fp/single.h: Likewise.
25343 * soft-fp/soft-fp.h: Likewise.
25344 * soft-fp/sqrtdf2.c: Likewise.
25345 * soft-fp/sqrtsf2.c: Likewise.
25346 * soft-fp/sqrttf2.c: Likewise.
25347 * soft-fp/subdf3.c: Likewise.
25348 * soft-fp/subsf3.c: Likewise.
25349 * soft-fp/subtf3.c: Likewise.
25350 * soft-fp/truncdfsf2.c: Likewise.
25351 * soft-fp/trunctfdf2.c: Likewise.
25352 * soft-fp/trunctfsf2.c: Likewise.
25353 * soft-fp/trunctfxf2.c: Likewise.
25354 * soft-fp/unorddf2.c: Likewise.
25355 * soft-fp/unordsf2.c: Likewise.
25356 * soft-fp/unordtf2.c: Likewise.
25357
17c48a60
OB
253582013-10-14 Ondřej Bílka <neleai@seznam.cz>
25359
25360 [BZ #15672]
25361 * misc/error.c (error_tail): Fix possible buffer overflow.
25362
cabba934
OB
253632013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25364
25365 [BZ #13028]
25366 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25367 address.
25368
94bf958a
PM
253692013-10-14 P. J. McDermott <pj@pehjota.net>
25370
25371 [BZ #832]
25372 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25373 testing pipefail option.
25374
71b4dea7
JM
253752013-10-12 Joseph Myers <joseph@codesourcery.com>
25376
25377 * soft-fp/double.h: Indent preprocessor directives inside #if.
25378 * soft-fp/extended.h: Likewise.
25379 * soft-fp/op-2.h: Likewise.
25380 * soft-fp/op-4.h: Likewise.
25381 * soft-fp/op-common.h: Likewise.
25382 * soft-fp/quad.h: Likewise.
25383 * soft-fp/single.h: Likewise.
25384 * soft-fp/soft-fp.h: Likewise.
25385
55602758
YC
253862013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25387
25388 * iconv/iconv_prog.c: Fix typos.
25389 * stdio-common/psiginfo-data.h: Likewise.
25390
9cd83302
RT
253912013-10-12 Reuben Thomas <rrt@sc3d.org>
25392
25393 [BZ #15764]
25394 * locale/setlocale.c: Fix typo.
25395
99fd9f47
JM
253962013-10-12 Joseph Myers <joseph@codesourcery.com>
25397
b7ea74f0
JM
25398 [BZ #16036]
25399 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25400 signaling NaN arguments.
25401 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25402 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25403
8a509447
JM
25404 [BZ #14910]
25405 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25406 unordered operands.
25407 * soft-fp/gesf2.c (__gesf2): Likewise.
25408 * soft-fp/getf2.c (__getf2): Likewise.
25409 * soft-fp/ledf2.c (__ledf2): Likewise.
25410 * soft-fp/lesf2.c (__lesf2): Likewise.
25411 * soft-fp/letf2.c (__letf2): Likewise.
25412
98998e9f
JM
25413 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25414 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25415 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25416 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25417 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25418 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25419 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25420 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25421 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25422 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25423 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25424 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25425 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25426 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25427 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25428 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25429 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25430 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25431 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25432 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25433 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25434 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25435 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25436 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25437 * soft-fp/floattidf.c (__floattidf): Likewise.
25438 * soft-fp/floattisf.c (__floattisf): Likewise.
25439 * soft-fp/floattitf.c (__floattitf): Likewise.
25440 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25441 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25442 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25443 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25444 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25445 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25446 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25447 * soft-fp/gesf2.c (__gesf2): Likewise.
25448 * soft-fp/getf2.c (__getf2): Likewise.
25449 * soft-fp/ledf2.c (__ledf2): Likewise.
25450 * soft-fp/lesf2.c (__lesf2): Likewise.
25451 * soft-fp/letf2.c (__letf2): Likewise.
25452
8edc4a11
JM
25453 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25454 Undefine and redefine.
25455 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25456 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25457 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25458 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25459 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25460 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25461 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25462 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25463 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25464 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25465 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25466 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25467 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25468 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25469 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25470
8399acaf
JM
25471 [BZ #16032]
25472 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25473 without decrementing exponent if mantissa >= that for the
25474 denominator, not >.
25475 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25476 denominator, not >. Decrement exponent in < case instead of
25477 incrementing in >= case.
25478 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25479 without decrementing exponent if mantissa >= that for the
25480 denominator, not >.
25481
99fd9f47
JM
25482 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25483 computing saturated result for unsigned overflow.
25484
10e1cf6b
SP
254852013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25486 Jeff Law <law@redhat.com>
25487
25488 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25489 (atan2Mp): Add systemtap probe marker.
25490 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25491 (__ieee754_log): Add systemtap probe marker.
25492 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25493 (atanMp): Add systemtap probe marker.
25494 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25495 (tanMp): Add systemtap probe marker.
25496 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25497 (__slowexp): Add systemtap probe marker.
25498 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25499 (__slowpow): Add systemtap probe marker.
25500 * manual/probes.texi: Document probes.
25501
3d110c7c
EB
255022013-10-11 Eric Biggers <ebiggers3@gmail.com>
25503
25504 [BZ #15362]
25505 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25506 written.
25507 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25508 written.
25509 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25510 written to buffer but not flushed.
25511 * libio/iofwrite_u.c: Likewise.
25512 * libio/iopadn.c: Return bytes returned even if EOF was
25513 encountered.
25514 * libio/iowpadn.c: Likewise.
25515 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25516 if _IO_padn does not write the whole buffer.
25517 [!COMPILE_WPRINTF] (PAD): Likewise.
25518
75b4202a
DM
255192013-10-10 David S. Miller <davem@davemloft.net>
25520
25521 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25522 directory block.
25523
6c6352e6
JM
255242013-10-10 Joseph Myers <joseph@codesourcery.com>
25525
33b853c3
JM
25526 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25527 instead of FSF address.
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
6c6352e6
JM
25542 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25543 * soft-fp/fixdfti.c: Likewise.
25544 * soft-fp/fixsfti.c: Likewise.
25545 * soft-fp/fixtfti.c: Likewise.
25546 * soft-fp/fixunsdfti.c: Likewise.
25547 * soft-fp/fixunssfti.c: Likewise.
25548 * soft-fp/fixunstfti.c: Likewise.
25549 * soft-fp/floattidf.c: Likewise.
25550 * soft-fp/floattisf.c: Likewise.
25551 * soft-fp/floattitf.c: Likewise.
25552 * soft-fp/floatuntidf.c: Likewise.
25553 * soft-fp/floatuntisf.c: Likewise.
25554 * soft-fp/floatuntitf.c: Likewise.
25555 * soft-fp/trunctfxf2.c: Likewise.
25556
3bf78b71
DM
255572013-10-10 David S. Miller <davem@davemloft.net>
25558
25559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25560
6f10289e
JM
255612013-10-10 Joseph Myers <joseph@codsourcery.com>
25562
bd878fc0
JM
25563 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25564 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25565 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25566 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25567 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25568 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25569 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25570
6f10289e
JM
25571 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25572 for NaNs before doing comparisons on argument.
25573 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25574 Likewise.
25575
321e2684
WN
255762013-10-10 Will Newton <will.newton@linaro.org>
25577
25578 * malloc/hooks.c (memalign_check): Ensure the value of bytes
25579 passed to _int_memalign does not overflow.
25580
40fefba1
TR
255812013-10-10 Torvald Riegel <triegel@redhat.com>
25582
25583 * scripts/bench.pl: Add include-sources directive.
25584 * benchtests/README: Update documentation.
25585
2ae21ed2
JM
255862013-10-10 Joseph Myers <joseph@codesourcery.com>
25587
dcc2dd3f
JM
25588 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25589 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25590 instead of FP_INIT_ROUNDMODE.
25591 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25592 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25593
2ae21ed2
JM
25594 [BZ #16034]
25595 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
25596 copy class of input value.
25597 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
25598 not handle exceptions.
25599 * soft-fp/negsf2.c (__negsf2): Likewise.
25600 * soft-fp/negtf2.c (__negtf2): Likewise.
25601 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25602
cb8f9562
JM
256032013-10-09 Joseph Myers <joseph@codesourcery.com>
25604
25605 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25606 semicolon. From Linux kernel.
25607
5b60c59d
AB
256082013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
25609
25610 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25611
b86835ca
YC
256122013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
25613
25614 [BZ #156]
25615 * manual/socket.texi: Added statement about buffer
25616 for gethostbyname2_r.
25617
e7044ea7
OB
256182013-10-08 Ondřej Bílka <neleai@seznam.cz>
25619
25620 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25621 Use .p2align directive instead, throughout.
25622 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25623 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25624 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25627 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25628 * sysdeps/x86_64/strchr.S: Likewise.
25629 * sysdeps/x86_64/strrchr.S: Likewise.
25630
09544cbc
SP
256312013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25632
88576635
SP
25633 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25634
e7b2d1dd
SP
25635 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25636
09544cbc
SP
25637 * sysdeps/generic/math_private.h (__mpsin1): Remove
25638 declaration.
25639 (__mpcos1): Likewise.
25640 (__mpsin): New argument __range_reduce.
25641 (__mpcos): Likewise.
25642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25643 (slow): Use __mpsin and __mpcos.
25644 (slow1): Likewise.
25645 (slow2): Likewise.
25646 (sloww): Likewise.
25647 (sloww1): Likewise.
25648 (sloww2): Likewise.
25649 (bsloww): Likewise.
25650 (bsloww1): Likewise.
25651 (bsloww2): Likewise.
25652 (cslow2): Likewise.
25653 (csloww): Likewise.
25654 (csloww1): Likewise.
25655 (csloww2): Likewise.
25656 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25657 range_reduce. Merge in __mpsin1.
25658 (__mpcos): Likewise.
25659 (__mpsin1): Remove.
25660 (__mpcos1): Likewise.
25661
7602d070
JM
256622013-10-07 Joseph Myers <joseph@codesourcery.com>
25663
25664 * locale/loadlocale.c (_nl_intern_locale_data): Use
25665 LOCFILE_ALIGNED_P.
25666 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25667 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25668 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25669 obstack data is appropriately aligned.
25670 (obstack_int32_grow_fast): Likewise.
25671 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25672 * locale/programs/locfile.c (add_locale_uint32): Likewise.
25673 (add_locale_uint32_array): Likewise.
25674
a357259b
SP
256752013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25676
25677 * benchtests/Makefile: Remove ARGLIST and RET variables.
25678 ($(objpfx)bench-%.c): Pass only function name to the script.
25679 * benchtests/README: Update documentation.
25680 * benchtests/acos-inputs: Add new directives.
25681 * benchtests/acosh-inputs: Likewise.
25682 * benchtests/asin-inputs: Likewise.
25683 * benchtests/asinh-inputs: Likewise.
25684 * benchtests/atan-inputs: Likewise.
25685 * benchtests/atanh-inputs: Likewise.
25686 * benchtests/cos-inputs: Likewise.
25687 * benchtests/cosh-inputs: Likewise.
25688 * benchtests/exp-inputs: Likewise.
25689 * benchtests/log-inputs: Likewise.
25690 * benchtests/pow-inputs: Likewise.
25691 * benchtests/rint-inputs: Likewise.
25692 * benchtests/sin-inputs: Likewise.
25693 * benchtests/sinh-inputs: Likewise.
25694 * benchtests/tan-inputs: Likewise.
25695 * benchtests/tanh-inputs: Likewise.
25696 * scripts/bench.pl: Add support for new directives.
25697
9ec1b13d
AM
256982013-10-07 Alan Modra <amodra@gmail.com>
25699
25700 * README: Fix careless merge.
25701
8b7d57cd
AM
257022013-10-05 Alan Modra <amodra@gmail.com>
25703
25704 * NEWS: Mention powerpc64le support and bugs fixed.
25705 * README: Both big-endian and little-endian powerpc64 supported.
25706
7b7bab13
ST
257072013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25708
57f41c40
AS
25709 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25710 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
25711 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25712 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25713
d39baad1
RA
257142013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
25715
25716 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25717 match prototype.
25718
cd78f7e7
JM
257192013-10-04 Joseph Myers <joseph@codesourcery.com>
25720
29d73d86
JM
25721 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25722 Move -mhard-float appending from
25723 ports/sysdeps/powerpc/powerpc32/Makefile.
25724 [$(with-fp) = yes] (ASFLAGS): Likewise.
25725 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25726 * sysdeps/powerpc/nofpu: Move directory from
25727 ports/sysdeps/powerpc/nofpu.
25728 * sysdeps/powerpc/soft-fp: Move directory from
25729 ports/sysdeps/powerpc/soft-fp.
25730 * sysdeps/powerpc/powerpc32/405: Move directory from
25731 ports/sysdeps/powerpc/powerpc32/405.
25732 * sysdeps/powerpc/powerpc32/440: Move directory from
25733 ports/sysdeps/powerpc/powerpc32/440.
25734 * sysdeps/powerpc/powerpc32/464: Move directory from
25735 ports/sysdeps/powerpc/powerpc32/464.
25736 * sysdeps/powerpc/powerpc32/476: Move directory from
25737 ports/sysdeps/powerpc/powerpc32/476.
25738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25739 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25741 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25743 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25745 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25747 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25748 * README: Update for powerpc-*-linux-gnu software floating point
25749 support in libc.
25750
e246b347
JM
25751 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25752 case to powerpc/powerpc32*.
25753 * sysdeps/unix/sysv/linux/configure: Regenerated.
25754
89c2003e
JM
25755 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25756 (_FPU_MASK_OM): Define as 0x04.
25757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25759 0x00c10080.
25760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25761 0x0000003c.
25762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25763
cd78f7e7
JM
25764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25765 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25766 getcontext_e500.
25767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25768 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25769 setcontext_e500.
25770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25771 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25772 and setcontext_e500.
25773
c755294d
CL
257742013-10-04 Chris Leonard <cjl@sugarlabs,.org>
25775
25776 * locale/iso-3166.def: Update iso-1366.def and related occurrences
25777
e16d221c
SP
257782013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25779
25780 * manual/threads.texi (Default Thread Attributes): Fix typo.
25781
215c7d43
WN
257822013-10-04 Will Newton <will.newton@linaro.org>
25783
25784 * malloc/Makefile: Add tst-memalign.
25785 * malloc/tst-memalign.c: New file.
25786
27d0461b
WN
25787 * malloc/tst-posix_memalign.c: Add comments.
25788 (do_test): Add comments and call free on all potentially
25789 allocated pointers. Add space after cast.
25790
1bc92709
WN
25791 * malloc/tst-pvalloc.c: Add comments.
25792 (do_test): Add comments and call free on all potentially
25793 allocated pointers. Remove duplicate check for NULL pointer.
25794 Add space after cast.
25795
66a9be9d
WN
25796 * malloc/tst-valloc.c: Add comments.
25797 (do_test): Add comments and call free on all potentially
25798 allocated pointers. Remove duplicate check for NULL pointer.
25799 Add space after cast.
25800
4cb81307
AM
258012013-10-04 Alan Modra <amodra@gmail.com>
25802
25803 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25804 Use stdint types in rather than __attribute__((mode())).
25805 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25806
f8e3e9f3
AM
258072013-10-04 Alan Modra <amodra@gmail.com>
25808
25809 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25810 Correct handling of unaligned relocs for little-endian.
25811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25812
8f9ebb08
AM
258132013-10-04 Alan Modra <amodra@gmail.com>
25814
25815 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25816 * configure: Regenerate.
25817 * nptl/shlib-versions: Powerpc*le starts at 2.18.
25818 * shlib-versions: Likewise.
25819
0edf96c2
AM
258202013-10-04 Alan Modra <amodra@gmail.com>
25821
25822 * string/tester.c (test_memrchr): Increment reported test cycle.
25823
e0f7a380
AM
258242013-10-04 Alan Modra <amodra@gmail.com>
25825
25826 * string/test-memcpy.c (do_one_test): When reporting errors, print
25827 string address and don't overrun end of string.
25828
466b0393
AM
258292013-10-04 Alan Modra <amodra@gmail.com>
25830
25831 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25832 insrdi. Make better use of reg selection to speed exit slightly.
25833 Schedule entry path a little better. Remove useless "are we done"
25834 checks on entry to main loop. Handle wrapping around zero address.
25835 Correct main loop count. Handle single left-over word from main
25836 loop inline rather than by using loop_small. Remove extra word
25837 case in loop_small caused by wrong loop count. Add little-endian
25838 support.
25839 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25840 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
25841 cache hint.
25842 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25843 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25844 support. Avoid rlwimi.
25845 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25846
3be87c77
AM
258472013-10-04 Alan Modra <amodra@gmail.com>
25848
25849 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 25850 insrdi. Formatting.
3be87c77
AM
25851 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25852 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25853 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25854 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25855 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25856 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25857
759cfef3
AM
258582013-10-04 Alan Modra <amodra@gmail.com>
25859
25860 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25861 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25862 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25863 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25864 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25865 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25866 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25867 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25868 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
25869 use of regs. Use power7 mtocrf. Tidy function tails.
25870
fe6e95d7
AM
258712013-10-04 Alan Modra <amodra@gmail.com>
25872
25873 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25874 Formatting. Consistently use rXXX register defines or rN defines.
25875 Use early exit labels that avoid restoring unused non-volatile regs.
25876 Make cr field use more consistent with rWORDn compares. Rename
25877 regs used as shift registers for unaligned loop, using rN defines
25878 for short lifetime/multiple use regs.
25879 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25880 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
25881 addi 1,1,64 to pop stack frame. Simplify return value code.
25882 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25883
664318c3
AM
258842013-10-04 Alan Modra <amodra@gmail.com>
25885
25886 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25887 support. Correct typos, formatting. Optimize tail. Use insrdi
25888 rather than rlwimi.
25889 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25890 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25891 little-endian support. Correct typos.
25892 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
25893 rather than rlwimi.
25894 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
25895 in loop and entry code to keep "and." results.
25896 (strchr): Add little-endian support. Comment. Move cntlzd
25897 earlier in tail.
25898 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25899
43b84013
AM
259002013-10-04 Alan Modra <amodra@gmail.com>
25901
25902 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25903 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25904 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25905 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25906
8a7413f9
AM
259072013-10-04 Alan Modra <amodra@gmail.com>
25908
25909 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25910 (rTMP): Define as r11.
25911 (strcmp): Add little-endian support. Optimise tail.
25912 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25913 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25914 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25915 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25916 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25919
33ee81de
AM
259202013-10-04 Alan Modra <amodra@gmail.com>
25921
25922 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25923 little-endian support. Remove unnecessary "are we done" tests.
25924 Handle "s" wrapping around zero and extremely large "size".
25925 Correct main loop count. Handle single left-over word from main
25926 loop inline rather than by using small_loop. Correct comments.
25927 Delete "zero" tail, use "end_max" instead.
25928 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25929
db9b4570
AM
259302013-10-04 Alan Modra <amodra@gmail.com>
25931
25932 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25933 support. Don't branch over align.
25934 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25935 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25936 support. Rearrange tmp reg use to suit. Comment.
25937 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25938
f7c399cf
AM
259392013-10-04 Alan Modra <amodra@gmail.com>
25940
25941 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25942
0b2c2ace
AM
259432013-10-04 Alan Modra <amodra@gmail.com>
25944
25945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25946 conditional form of branch and link when obtaining pc.
25947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25948
02f04a6c
AM
259492013-10-04 Alan Modra <amodra@gmail.com>
25950
25951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25952 HIWORD/LOWORD.
25953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25955
9b874b2f
AM
259562013-10-04 Alan Modra <amodra@gmail.com>
25957
25958 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25959 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25960 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25961 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25962 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25963 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25964 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25965 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25967 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25968
be1e5d31
AB
259692013-10-04 Anton Blanchard <anton@au1.ibm.com>
25970 Alistair Popple <alistair@ozlabs.au.ibm.com>
25971 Alan Modra <amodra@gmail.com>
25972
25973 [BZ #15723]
25974 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25975 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25976 _dl_hwcap access for little-endian.
25977 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25978 destroy vmx regs when saving unaligned.
25979 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25980 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25981 destroy vmx regs when saving unaligned.
25982
fef13a78
AM
259832013-10-04 Alan Modra <amodra@gmail.com>
25984
25985 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25986 Don't use a union to pack hi/low value.
25987
76a66d51
AB
259882013-10-04 Anton Blanchard <anton@au1.ibm.com>
25989
25990 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25991 for little-endian.
25992 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25994 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25995 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25996 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25997
6a31fe7f
AM
259982013-10-04 Alan Modra <amodra@gmail.com>
25999
26000 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26001 constants to usual value for .cst8 section, and remove redundant
26002 high address load.
26003 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26004 constant for 0x1p52. Load little-endian words of double from
26005 correct stack offsets.
26006
7b88401f
AM
260072013-10-04 Alan Modra <amodra@gmail.com>
26008
26009 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26010 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26011 words of double from correct stack offsets.
26012 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26013 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26014 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26015 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26017 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26018 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26019 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26020 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26021 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26022 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26023 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26024 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26025 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26026 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26027 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26028 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26029
9c008155
AM
260302013-10-04 Alan Modra <amodra@gmail.com>
26031
26032 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26033 64-bit int/double union.
26034 (_FPU_SETCW): Likewise.
26035 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26036 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26037
da13146d
AM
260382013-10-04 Alan Modra <amodra@gmail.com>
26039
26040 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26041 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26042
603e8410
AM
260432013-10-04 Alan Modra <amodra@gmail.com>
26044
26045 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26046 use vector int constants.
26047 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26048
4a28b3ca
AB
260492013-10-04 Anton Blanchard <anton@au1.ibm.com>
26050
26051 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26052 array with long long.
26053 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26054 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26055 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26056 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26057 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26058 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26059 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26060 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26061 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26062 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26063 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26064 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26065 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26066
2ca85d2b
AB
260672013-10-04 Anton Blanchard <anton@au1.ibm.com>
26068
26069 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26070 (__signbit): Likewise. Correct for little-endian.
26071 (__signbitl): Call __signbit.
26072 (lrint): Correct for little-endian.
26073 (lrintf): Call lrint.
26074
62a728ae
AM
260752013-10-04 Alan Modra <amodra@gmail.com>
26076
26077 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26078 union 32-bit int array member with 64-bit int array.
26079 (t515, tm256): Double rather than long double.
26080 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26081
32c301df
AM
260822013-10-04 Alan Modra <amodra@gmail.com>
26083
26084 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26085 Delete.
26086 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26088 version of math_ldbl.h.
26089
650ef4bd
AM
260902013-10-04 Alan Modra <amodra@gmail.com>
26091
26092 [BZ #15734], [BZ #15735]
26093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26094 all uses of ieee875 long double macros and unions. Simplify test
26095 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26096 ldbl_extract_mantissa value for ix,iy exponents. Properly
26097 normalize after ldbl_extract_mantissa, and don't add hidden bit
26098 already handled. Don't treat low word of ieee854 mantissa like
26099 low word of IBM long double and mask off bit when testing for
26100 zero.
26101 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26102 all uses of ieee875 long double macros and unions. Simplify tests
26103 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26104 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26105 two1022, instead use their values. Recognise that tests for large
26106 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26107 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26108 Rewrite all uses of ieee875 long double macros and unions. Simplify
26109 test for 0.0L and nan. Correct negation.
26110 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26111 ieee875 long double macros and unions. Correct output for large
26112 magnitude x. Correct absolute value calculation.
26113 (__erfcl): Likewise.
26114 * math/libm-test.inc: Add tests for errors discovered in IBM long
26115 double versions of fmodl, remainderl, erfl and erfcl.
26116
765714ca
AM
261172013-10-04 Alan Modra <amodra@gmail.com>
26118
26119 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26120 all uses of ieee854 long double macros and unions. Simplify tests
26121 for long doubles that are fully specified by the high double.
26122 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26123 Likewise.
26124 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26125 Remove dead code too.
26126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26127 (__ieee754_ynl): Likewise.
26128 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26131 Remove dead code too.
26132 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26133 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26134 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26135 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26136 Simplify.
26137 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26138 Simplify.
26139 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26140 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26142 Comment on variable precision.
26143 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26144 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26145 Likewise.
26146 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26147 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26148 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26149 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26150 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26151
4ebd120c
AM
261522013-10-04 Alan Modra <amodra@gmail.com>
26153
26154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26156 all uses of ieee854 long double macros and unions.
26157 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26158 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26159 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26160 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26161 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26163 Likewise.
26164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26165 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26167 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26169 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26170 Simplify sign and nan test too.
26171 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26172 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26173 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26174 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26175 Likewise.
26176 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26177 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26178 Likewise.
26179 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26180 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26181 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26185
1b6adf88
AM
261862013-10-04 Alan Modra <amodra@gmail.com>
26187
26188 * stdio-common/printf_size.c (__printf_size): Don't use
26189 union ieee854_long_double in fpnum union.
26190 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26191 signbit macro to retrieve sign from long double.
26192 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26193 retrieve sign from long double.
26194 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26195 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26196 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26197 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26198 * math/test-misc.c (main): Don't use union ieee854_long_double.
26199
4cf69995
AM
262002013-10-04 Alan Modra <amodra@gmail.com>
26201
26202 [BZ #15680]
26203 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26204 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26205 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26206 calculation. Remove unnecessary test for denormal exponent.
26207 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26208 Correct handling of denormals. Avoid undefined shift behaviour.
26209 Correct normalisation of low mantissa when low double is denormal.
26210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26211 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26212 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26213 Correct normalisation of low mantissa. Test for overflow of high
26214 mantissa and normalise.
26215 (ldbl_nearbyint): Use more readable constant for two52.
26216 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26217 (__mpn_construct_long_double): Fix test for overflow of high
26218 mantissa and correct normalisation. Avoid undefined shift.
26219
9605ca6c
AM
262202013-10-04 Alan Modra <amodra@gmail.com>
26221
26222 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26223 (union ibm_extended_long_double): Define as an array of ieee754_double.
26224 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26225 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26226 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26227 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26231 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26235
975569d0
JM
262362013-10-03 Joseph Myers <joseph@codesourcery.com>
26237
d3d23756
JM
26238 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26239 page size instead of calling getpagesize.
26240
975569d0
JM
26241 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26242 (LOCFILE_ALIGN_MASK): Likewise.
26243 (LOCFILE_ALIGN_UP): Likewise.
26244 (LOCFILE_ALIGNED_P): Likewise.
26245 * locale/programs/ld-collate.c (collate_output): Use the new
26246 macros instead of __alignof__ (int32_t).
26247 * locale/weight.h (findidx): Likewise.
26248
b1fe1f2b
OB
262492013-10-03 Ondřej Bílka <neleai@seznam.cz>
26250
26251 [BZ #431]
26252 * manual/string.texi: Fix strncat and wcsncat.
26253
5f855e35
BM
262542013-10-03 Brooks Moses <bmoses@google.com>
26255
26256 [BZ #15915]
26257 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26258 * Makerules: ...here, and adjust associated comments.
26259
3cef6009
WN
262602013-10-02 Will Newton <will.newton@linaro.org>
26261
26262 * malloc/Makefile: Add tst-pvalloc.
26263 * malloc/tst-pvalloc.c: New file.
26264
7815420b
WN
262652013-10-02 Will Newton <will.newton@linaro.org>
26266
26267 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26268 improve test coverage.
26269
4868b204
WN
262702013-10-02 Will Newton <will.newton@linaro.org>
26271
26272 * malloc/Makefile: Add tst-posix_memalign.
26273 * malloc/tst-posix_memalign.c: New file.
26274
29c793b3
EB
262752013-10-01 Eric Blake <eblake@redhat.com>
26276
26277 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26278 Use __THROWNL rather than __THROW on static functions.
26279
fd967522
PM
262802013-09-30 Petr Machata <pmachata@redhat.com>
26281
26282 * elf/elf.h (R_AARCH64_ABS16): New macro.
26283 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26284 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26285 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26286 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26287 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26288 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26289 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26290 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26291 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26292 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26293 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26294 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26295 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26296 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26297 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26298 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26299 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26300 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26301 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26302 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26303 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26304 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26305 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26306 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26307 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26308 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26309 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26310 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26311 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26312 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26313 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26314 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26315 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26316 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26317 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26318 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26319 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26320 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26321 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26322 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26323 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26324 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26325 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26326 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26327 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26328 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26329 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26330 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26331 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26332 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26333 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26334 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26335 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26336 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26337 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26338 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26339 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26340 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26341 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26342 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26343 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26344 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26345 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26346 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26347 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26348 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26349 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26350 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26351 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26352 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26353 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26354 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26355 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26356 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26357 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26358 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26359 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26360 (R_AARCH64_TLSDESC_LDR): Likewise.
26361 (R_AARCH64_TLSDESC_ADD): Likewise.
26362 (R_AARCH64_TLSDESC_CALL): Likewise.
26363
b2179107
AS
263642013-09-30 Andreas Schwab <schwab@suse.de>
26365
26366 [BZ #15048]
26367 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26368 the nss database lookup.
26369 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26371
47f28d0a
MF
263722013-09-28 Mike Frysinger <vapier@gentoo.org>
26373
26374 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26375
263762013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
26377
26378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26379 ${Bash-specific parameter/pattern/string} parameter expansion.
26380 * sysdeps/unix/make-syscalls.sh: Likewise.
26381
f4518a17
KK
263822013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26383
26384 * sysdeps/sh/stackguard-macros.h: New file.
26385
dc1a95c7
OB
263862013-09-26 Ondřej Bílka <neleai@seznam.cz>
26387
26388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26390 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26391 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26392 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26393 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26394
5ebbff8f
AZ
263952013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26396
26397 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26398 Fix thread ID register.
26399
4fd2cf9f
JM
264002013-09-25 Joseph Myers <joseph@codesourcery.com>
26401
26402 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26403 [POSIX || UNIX98]: Require rather than permitting all symbols from
26404 <time.h>.
26405 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26406 element of struct sched_param.
26407 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26408 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26409 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26410 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26411 constant.
26412
12c22bc4
OL
264132013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26414
26415 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26416 argument calculation.
26417
a03d8ea7
JM
264182013-09-24 Joseph Myers <joseph@codesourcery.com>
26419
26420 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26421 Expect macro.
26422 [POSIX] (pthread_attr_t): Do not require type.
26423 [POSIX] (pthread_cond_t): Likewise.
26424 [POSIX] (pthread_condattr_t): Likewise.
26425 [POSIX] (pthread_key_t): Likewise.
26426 [POSIX] (pthread_mutex_t): Likewise.
26427 [POSIX] (pthread_mutexattr_t): Likewise.
26428 [POSIX] (pthread_once_t): Likewise.
26429 [POSIX] (pthread_t): Likewise.
26430 [POSIX-based standards] (pthread_atfork): Expect function.
26431
6055173a
JM
264322013-09-24 Joseph Myers <joseph@codesourcery.com>
26433 Richard Sandiford <richard@codesourcery.com>
26434
26435 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26436 (swap_endianness_p): New extern variable.
26437 (set_big_endian): New inline function.
26438 (maybe_swap_uint32): Likewise.
26439 (maybe_swap_uint32_array): Likewise.
26440 (maybe_swap_uint32_obstack): Likewise.
26441 * locale/programs/locfile.c: Include <stdbool.h>.
26442 (swap_endianness_p): New variable.
26443 (add_locale_uint32): Call maybe_swap_uint32.
26444 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26445 (write_locale_data): Call maybe_swap_uint32_array.
26446 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26447 maybe_swap_uint32.
26448 (obstack_int32_grow_fast): Likewise.
26449 (output_weightwc): Call maybe_swap_uint32_obstack.
26450 (collate_output): Likewise.
26451 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26452 (OPT_LITTLE_ENDIAN): Likewise.
26453 (options): Add --little-endian and --big-endian options.
26454 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26455 * locale/programs/locarchive.c: Include "locfile.h".
26456 (GET): New macro.
26457 (SET): Likewise.
26458 (INC): Likewise.
26459 (create_archive): Use the new macros to access fields of
26460 structures directly mapped from or written to locale archives.
26461 (oldlocrecentcmp): Likewise.
26462 (enlarge_archive): Likewise.
26463 (insert_name): Likewise.
26464 (add_alias): Likewise.
26465 (add_locale): Likewise.
26466 (delete_locales_from_archive): Likewise.
26467 (show_archive_content): Likewise.
26468 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
26469 locale data.
26470
39bf0bb4
RM
264712013-09-24 Roland McGrath <roland@hack.frob.com>
26472
26473 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26474 http://www.gnu.org/doc/freemanuals.texi.
26475 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26476
f02eed10
WN
264772013-09-24 Will Newton <will.newton@linaro.org>
26478
26479 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26480 macro.
26481
a3a6c312
JM
264822013-09-23 Joseph Myers <joseph@codesourcery.com>
26483
26484 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26485 unsigned char.
26486
107375ac
MR
264872013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26488
26489 * manual/threads.texi (POSIX Threads): Fix a typo.
26490
141f3a77
SP
264912013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26492
303e567a
SP
26493 [BZ #14547]
26494 * string/tst-strcoll-overflow.c: New test case.
26495 * string/Makefile (xtests): Add tst-strcoll-overflow.
26496 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26497 cache if string sizes may cause integer overflow.
26498
141f3a77
SP
26499 [BZ #14547]
26500 * string/strcoll_l.c (coll_seq): New members rule, idx,
26501 save_idx and back_us.
26502 (get_next_seq_nocache): New function.
26503 (do_compare_nocache): New function.
26504 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26505 when malloc fails.
26506
c61b4d41
CD
265072013-09-23 Carlos O'Donell <carlos@redhat.com>
26508
0b1f8e35
CD
26509 [BZ #15754]
26510 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26511 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26512 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26513
c61b4d41
CD
26514 [BZ #15754]
26515 * elf/Makefile (tests): Add tst-ptrguard1.
26516 (tests-static): Add tst-ptrguard1-static.
26517 (tst-ptrguard1-ARGS): Define.
26518 (tst-ptrguard1-static-ARGS): Define.
26519 * elf/tst-ptrguard1.c: New file.
26520 * elf/tst-ptrguard1-static.c: New file.
26521 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26522 * sysdeps/i386/stackguard-macros.h: Likewise.
26523 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26524 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26525 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26526 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26527 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26528 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26529
265302013-09-23 Hector Marco <hecmargi@upv.es>
26531 Ismael Ripoll <iripoll@disca.upv.es>
26532 Carlos O'Donell <carlos@redhat.com>
26533
26534 [BZ #15754]
26535 * sysdeps/generic/stackguard-macros.h: Define
26536 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26537 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26538 Define __pointer_chk_guard_local.
26539 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26540 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26541
f5f4e7b4
VV
265422013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26543
26544 [BZ #15859]
26545 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26546
5bb43a43
AS
265472013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26548
26549 * include/string.h (__ffs): Declare as hidden.
26550 * string/ffs.c (__ffs): Define as hidden.
26551 * sysdeps/i386/ffs.c (__ffs): Likewise.
26552 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26553 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26554 * sysdeps/s390/ffs.c (__ffs): Likewise.
26555 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26556
3ea5be54
AO
265572013-09-20 Alexandre Oliva <aoliva@redhat.com>
26558
ffb89e53
AO
26559 * NEWS: Mention malloc probes.
26560
322dea08
AO
26561 * malloc/arena.c (new_heap): New memory_heap_new probe.
26562 (grow_heap): New memory_heap_more probe.
26563 (shrink_heap): New memory_heap_less probe.
26564 (heap_trim): New memory_heap_free probe.
26565 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26566 (systrim): New memory_sbrk_less probe.
26567 * manual/probes.texi: Document them.
26568
655673f3
AO
26569 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26570 * manual/probes.texi: Document it.
26571
35fed6f1
AO
26572 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26573 (__libc_realloc): Add memory_realloc_retry probe.
26574 (__libc_memalign): Add memory_memalign_retry probe.
26575 (__libc_valloc): Add memory_valloc_retry probe.
26576 (__libc_pvalloc): Add memory_pvalloc_retry probe.
26577 (__libc_calloc): Add memory_calloc_retry probe.
26578 * manual/probes.texi: Document them.
26579
6999d38c
AO
26580 * malloc/arena.c (get_free_list): Add probe
26581 memory_arena_reuse_free_list.
26582 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26583 and memory_arena_reuse.
26584 (arena_get2) [!PER_THREAD]: Likewise.
26585 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26586 memory_arena_reuse_realloc.
26587 * manual/probes.texi: Document them.
26588
0653427f
AO
26589 * malloc/malloc.c (__libc_free): Add
26590 memory_mallopt_free_dyn_thresholds probe.
26591 (__libc_mallopt): Add multiple memory_mallopt probes.
26592 * manual/probes.texi: Document them.
26593
3ea5be54
AO
26594 * malloc/malloc.c: Include stap-probe.h.
26595 (__libc_mallopt): Add memory_mallopt probe.
26596 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26597 * manual/probes.texi: New.
26598 * manual/Makefile (chapters): Add probes.
26599 * manual/threads.texi: Set next node.
26600
e35696c3 266012013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 26602
e35696c3
CL
26603 [BZ #15963, #13985]
26604 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26605 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26606 Add `Chinese' to `nan' entry name.
26607
4aafb73c
SP
266082013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26609
26610 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26611 (POLYNOMIAL): Likewise.
26612 (TAYLOR_SINCOS): Likewise.
26613 (TAYLOR_SLOW): Likewise.
26614 (__sin): Use TAYLOR_SINCOS.
26615 (__cos): Likewise.
26616 (slow): Use TAYLOR_SLOW.
26617 (sloww): Likewise.
26618 (bsloww): Likewise.
26619 (csloww): Likewise.
26620
d84f25c7
LD
266212013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26622
26623 * stdlib/strtod_l.c: Fix buffer overrun.
26624
5eea0404
SP
266252013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26626
7849ff93
SP
26627 * benchtests/Makefile (bench): Add sincos.
26628 * benchtests/bench-sincos.c: New file.
26629
cfa3c886
SP
26630 * math/libm-test.inc (cos_test_data): New test inputs.
26631 (sin_test_data): Likewise.
26632
b348e1e3
SP
26633 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26634 macro.
26635 (__sin): Use it.
26636 (__cos): Likewise.
26637 (slow1): Likewise.
26638 (slow2): Likewise.
26639 (sloww1): Likewise.
26640 (sloww2): Likewise.
26641 (bsloww1): Likewise.
26642 (bsloww2): Likewise.
26643 (cslow2): Likewise.
26644 (csloww1): Likewise.
26645 (csloww2): Likewise.
26646
6cce25f8
SP
26647 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26648 function.
26649 (__sin): Use it.
26650 (__cos): Likewise.
26651
5eea0404
SP
26652 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26653 gotos.
26654 (__cos): Likewise.
26655
9c21573c
MR
266562013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
26657
26658 * config.h.in (HAVE_MIPS_NAN2008): New macro.
26659 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26660 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26661 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26662 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26663 * elf/cache.c (print_entry): Handle the new cache flags.
26664
24d22e65
JM
266652013-09-18 Joseph Myers <joseph@codesourcery.com>
26666 Aldy Hernandez <aldyh@redhat.com>
26667
26668 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26669 Change condition to [_SOFT_FLOAT].
26670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26682 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26685 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26686 declaration.
26687
d13ef066
JM
266882013-09-18 Joseph Myers <joseph@codesourcery.com>
26689
2e071de0
JM
26690 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26691 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26692 (__longjmp): Use LOAD_GP to load saved GPRs.
26693 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26694 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26695 (__sigsetjmp): Use SAVE_GP to save GPRs.
26696
d13ef066
JM
26697 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26698 Do not append -msoft-float.
26699 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26700
97a0650b
SP
267012013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26702
26703 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26704
11ca09e9
JM
267052013-09-17 Joseph Myers <joseph@codesourcery.com>
26706
26707 [BZ #15966]
26708 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26709 (_FPU_GETCW): Use initial "__" on variable and field names but not
26710 on macro parameter name.
26711 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
26712 parentheses around reference to macro parameter.
26713
08ffcf34
RS
267142013-09-13 Richard Sandiford <richard@codesourcery.com>
26715
26716 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26717 prototype.
26718 (ctype_startup): Use uint32_t in cast and sizeof for
26719 ctype->charnames.
26720
ae7080d3
JL
267212013-09-11 Jia Liu <proljc@gmail.com>
26722
26723 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26724 __daddr_t_defined.
26725 [__FreeBSD__]: Likewise.
26726
5905e7b3
OB
267272013-09-11 Ondřej Bílka <neleai@seznam.cz>
26728
26729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26730 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26731 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26732 (strchr): Remove __strchr_sse42 ifunc selection.
26733 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26734 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26735
b987c776
WN
267362013-09-11 Will Newton <will.newton@linaro.org>
26737
26738 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26739 parameter to RES. Remove hardcoded 1000 value.
26740 * benchtests/bench-skeleton.c (main): Pass RES parameter
26741 to TIMING_INIT and multiply result by 1000.
26742
ddf985af
AZ
267432013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26744
26745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26746
ffdd3181
AS
267472013-09-11 Andreas Schwab <schwab@suse.de>
26748
26749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26750 if not defined.
26751 (O_TMPFILE) [__USE_GNU]: Define.
26752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26753 Define.
26754
b73ed247
WN
267552013-09-11 Will Newton <will.newton@linaro.org>
26756
26757 [BZ #15857]
26758 * malloc/malloc.c (__libc_memalign): Check the value of bytes
26759 does not overflow.
26760
55e17aad
WN
267612013-09-11 Will Newton <will.newton@linaro.org>
26762
26763 [BZ #15856]
26764 * malloc/malloc.c (__libc_valloc): Check the value of bytes
26765 does not overflow.
26766
1159a193
WN
267672013-09-11 Will Newton <will.newton@linaro.org>
26768
26769 [BZ #15855]
26770 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26771 does not overflow.
26772
5905e7b3 267732013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
26774
26775 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26776 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26780
cdfc721b
AM
267812013-09-10 Allan McRae <allan@archlinux.org>
26782
aa04af00
AM
26783 [BZ #15748]
26784 * manual/arith.texi (Parsing of Floats): Clarify
26785 cross-reference.
26786
cdfc721b
AM
26787 [BZ #15849]
26788 * manual/install.texi (Running make install): Mention
26789 --enable-pt-chown.
26790 * INSTALL: Regenerated.
26791
95e7cf29
MR
267922013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
26793
26794 * csu/init-first.c (_init): Remove the !SHARED condition around
26795 FPU control word initialization.
26796 * elf/dl-support.c (_dl_fpu_control): New variable.
26797 (_dl_aux_init) <AT_FPUCW>: Initialize it.
26798 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26799 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26800 * math/test-fpucw-static.c: New file.
26801 * math/test-fpucw-ieee.c: New file.
26802 * math/test-fpucw-ieee-static.c: New file.
26803 * math/Makefile (tests): Add `test-fpucw-ieee' and
26804 `$(tests-static)'.
26805 (tests-static): New variable.
26806 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26807 dependency to...
26808 [($(build-shared),yes)]
26809 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26810 ... this.
26811 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26812 New dependency.
26813
83e43bf0
AM
268142013-09-09 Allan McRae <allan@archlinux.org>
26815
a9f5ce09
AM
26816 [BZ #15939]
26817 * manual/string.texi (Collation Functions): Fix typo in
26818 strcoll example.
26819 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26820
34829bc2
AM
26821 [BZ #15893]
26822 * stdlib/isomac.c (get_null_defines): Fix memory leak.
26823
3932737d
AM
26824 [BZ #15892]
26825 * libio/memstream.c (open_memstream): Fix memory leak.
26826 * libio/wmemstream.c (open_wmemstream): Likewise.
26827
83e43bf0
AM
26828 [BZ #15895]
26829 * nscd/netgroupcache.c: Fix nesting of ifdefs.
26830
0c66b8e9
WN
268312013-09-09 Will Newton <will.newton@linaro.org>
26832
26833 * malloc/Makefile: Add tst-realloc to tests.
26834 * malloc/tst-realloc.c: New file.
26835
f6b00fd1
AM
268362013-09-09 Allan McRae <allan@archlinux.org>
26837
26838 [BZ #15844]
26839 * COPYING: Update from GNU website to fix FSF address.
26840 * COPYING.LIB: Likewise.
26841
eec55e16
DM
268422013-09-06 David S. Miller <davem@davemloft.net>
26843
26844 * po/zh_TW.po: Update Chinese (traditional) translation from
26845 translation project.
26846
1ecbb381
RS
268472013-09-06 Richard Sandiford <richard@codesourcery.com>
26848 Joseph Myers <joseph@codesourcery.com>
26849
26850 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26851 "localeinfo.h".
26852 (obstack_chunk_alloc): New macro.
26853 (obstack_chunk_free): Likewise.
26854 (record_offset): New function.
26855 (init_locale_data): Likewise.
26856 (align_locale_data): Likewise.
26857 (add_locale_empty): Likewise.
26858 (add_locale_raw_data): Likewise.
26859 (add_locale_raw_obstack): Likewise.
26860 (add_locale_string): Likewise.
26861 (add_locale_wstring): Likewise.
26862 (add_locale_uint32): Likewise.
26863 (add_locale_uint32_array): Likewise.
26864 (add_locale_char): Likewise.
26865 (start_locale_structure): Likewise.
26866 (end_locale_structure): Likewise.
26867 (start_locale_prelude): Likewise.
26868 (end_locale_prelude): Likewise.
26869 (write_locale_data): Take locale_file structure rather than an
26870 iovec.
26871 * locale/programs/locfile.h: Include "obstack.h".
26872 (struct locale_file): Change to store locale file contents instead
26873 of header.
26874 (init_locale_data): New prototype.
26875 (align_locale_data): Likewise.
26876 (add_locale_empty): Likewise.
26877 (add_locale_raw_data): Likewise.
26878 (add_locale_raw_obstack): Likewise.
26879 (add_locale_string): Likewise.
26880 (add_locale_wstring): Likewise.
26881 (add_locale_uint32): Likewise.
26882 (add_locale_uint32_array): Likewise.
26883 (add_locale_char): Likewise.
26884 (start_locale_structure): Likewise.
26885 (end_locale_structure): Likewise.
26886 (start_locale_prelude): Likewise.
26887 (end_locale_prelude): Likewise.
26888 (write_locale_data): Update prototype.
26889 * locale/programs/3level.h (struct TABLE): Remove result field.
26890 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26891 Use new locale_file interface.
26892 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26893 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26894 * locale/programs/ld-address.c (address_output): Use new
26895 locale_file interface.
26896 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26897 NO_ADD_LOCALE.
26898 (collate_finish): Don't call collseq_table_finalize.
26899 (collate_output): Use new locale_file interface.
26900 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26901 in file.
26902 (NO_FINALIZE): Change to NO_ADD_LOCALE.
26903 (TABLE): Move defines earlier in file.
26904 (ELEMENT): Likewise.
26905 (DEFAULT): Likewise.
26906 (wctrans_table_add): Move macro and inline function earlier in
26907 file.
26908 (struct wctype_table): Move type earlier in file.
26909 (add_locale_wctype_table): New static prototype.
26910 (struct locale_ctype_t): Use logical types instead of struct iovec
26911 pointers for members.
26912 (ctype_output): Use new locale_file interface.
26913 (wctype_table_finalize): Change to add_locale_wctype_table. Use
26914 new locale_file interface.
26915 (allocate_arrays): Update for use of new locale_file interface.
26916 * locale/programs/ld-identification.c (identification_output): Use
26917 new locale_file interface.
26918 * locale/programs/ld-measurement.c (measurement_output): Likewise.
26919 * locale/programs/ld-messages.c (messages_output): Likewise.
26920 * locale/programs/ld-monetary.c (monetary_output): Likewise.
26921 * locale/programs/ld-name.c (name_output): Likewise.
26922 * locale/programs/ld-numeric.c (numeric_output): Likewise.
26923 * locale/programs/ld-paper.c (paper_output): Likewise.
26924 * locale/programs/ld-telephone.c (telephone_output): Likewise.
26925 * locale/programs/ld-time.c (time_output): Likewise.
26926
e029e2e5
AZ
269272013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26928
26929 * benchtests/Makefile: Add memrchr benchmark.
26930 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26931 benchmark as memrchr.
26932 * benchtests/bench-memrchr-ifunc.c: New file.
26933 * benchtests/bench-memrchr.c: New file.
26934
bbf6e8e4
WN
269352013-09-06 Will Newton <will.newton@linaro.org>
26936
26937 * benchtests/Makefile (string-bench): Add memcpy.
26938
6c82a2f8
CD
269392013-09-05 Carlos O'Donell <carlos@redhat.com>
26940 Cong Wang <amwang@redhat.com>
26941
e732c5f0 26942 [BZ #15850]
6c82a2f8
CD
26943 * sysdeps/unix/sysv/linux/bits/in.h
26944 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26945 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26946 before __USE_KERNEL_IPV6_DEFS uses.
26947 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26948 IPPROTO_BEETPH.
26949 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26950 sockaddr_in6, or ipv6_mreq.
26951
5430fc65
AZ
269522013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26953
26954 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26955 memory access for final bytes in some large inputs.
26956 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26957
4660856c
AZ
269582013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26959
26960 * string/test-memrchr.c: New file.
26961 * string/test-memrchr-ifunc.c: New file.
26962 * string/Makefile: Add new memrchr testcase.
26963
bb8ea713
MF
269642013-09-05 Mike Frysinger <vapier@gentoo.org>
26965
26966 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26967 fanotify_init returns EPERM.
26968
b92a20b5
JM
269692013-09-04 Joseph Myers <joseph@codesourcery.com>
26970
26971 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26972 errors.
26973 (top level): Treat second token from macro or constant entries for
26974 allowed headers as allowed.
26975 * include/complex.h: Condition internal declarations on
26976 [!_ISOMAC].
26977 * include/fenv.h: Condition include of <stdbool.h> and internal
26978 declarations on [!_ISOMAC].
7447ccd9
CL
26979
269802013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26981
3e181dda 26982 [BZ #15923]
7447ccd9
CL
26983 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26984
3f2e46a4
JM
269852013-09-04 Joseph Myers <joseph@codesourcery.com>
26986
26987 * configure.in (--enable-versioning): Remove configure option.
26988 (libc_cv_asm_symver_directive): Remove configure test.
26989 (libc_cv_ld_version_script_option): Likewise.
26990 (VERSIONING): Remove variable and AC_SUBST.
26991 (DO_VERSIONING): Remove AC_DEFINE.
26992 * configure: Regenerated.
26993 * config.h.in (DO_VERSIONING): Remove macro.
26994 * Makerules [$(versioning) = yes]: Change conditionals to
26995 [$(build-shared) = yes].
26996 * config.make.in (versioning): Remove variable.
26997 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26998 [$(build-shared) = yes].
26999 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27000 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27001 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27002 [$(build-shared) = yes].
27003 * extra-lib.mk [$(versioning) = yes]: Likewise.
27004 * hurd/Makefile [$(versioning) = yes]: Likewise.
27005 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27006 [SHARED].
27007 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27008 [SHARED].
27009 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27010 [SHARED && !NO_HIDDEN].
27011 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27012 [SHARED].
27013 [SHARED && DO_VERSIONING]: Likewise..
27014 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27015 [$(build-shared) = yes].
27016 * manual/install.texi (--disable-versioning): Remove
27017 documentation.
27018 * INSTALL: Regenerated.
27019 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27020 to [SHARED].
27021 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27022 [$(build-shared) = yes].
27023 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27024 * sysdeps/i386/i686/multiarch/strstr-c.c
27025 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27026 [SHARED && !NO_HIDDEN].
27027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27028 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27029 * sysdeps/powerpc/powerpc32/dl-machine.c
27030 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27031 * sysdeps/powerpc/powerpc32/sysdep.h
27032 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27033 to [SHARED && PIC && !NO_HIDDEN].
27034 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27035 conditional to [SHARED].
27036
44558701
WN
270372013-09-04 Will Newton <will.newton@linaro.org>
27038
27039 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27040 * benchtests/bench-string.h: Include bench-timing.h instead
27041 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27042 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27043 call to HP_TIMING_DIFF_INIT.
27044 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27045 instead of hp-timing.h macros.
27046 * benchtests/bench-memchr.c: Likewise.
27047 * benchtests/bench-memcmp.c: Likewise.
27048 * benchtests/bench-memcpy.c: Likewise.
27049 * benchtests/bench-memmem.c: Likewise.
27050 * benchtests/bench-memmove.c: Likewise.
27051 * benchtests/bench-memset.c: Likewise.
27052 * benchtests/bench-rawmemchr.c: Likewise.
27053 * benchtests/bench-strcasecmp.c: Likewise.
27054 * benchtests/bench-strcasestr.c: Likewise.
27055 * benchtests/bench-strcat.c: Likewise.
27056 * benchtests/bench-strchr.c: Likewise.
27057 * benchtests/bench-strcmp.c: Likewise.
27058 * benchtests/bench-strcpy.c: Likewise.
27059 * benchtests/bench-strcpy_chk.c: Likewise.
27060 * benchtests/bench-strlen.c: Likewise.
27061 * benchtests/bench-strncasecmp.c: Likewise.
27062 * benchtests/bench-strncat.c: Likewise.
27063 * benchtests/bench-strncmp.c: Likewise.
27064 * benchtests/bench-strncpy.c: Likewise.
27065 * benchtests/bench-strnlen.c: Likewise.
27066 * benchtests/bench-strpbrk.c: Likewise.
27067 * benchtests/bench-strrchr.c: Likewise.
27068 * benchtests/bench-strspn.c: Likewise.
27069 * benchtests/bench-strstr.c: Likewise.
27070
cae16d66
WN
270712013-09-04 Will Newton <will.newton@linaro.org>
27072
27073 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27074
ffa3cd7f
JM
270752013-09-03 Joseph Myers <joseph@codesourcery.com>
27076
27077 [BZ #15427]
27078 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27079 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27080 * math/libm-test.inc (lgamma_test_data): Add more tests.
27081 * sysdeps/i386/fpu/libm-test-ulps: Update.
27082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27083
8f02859f
OB
270842013-09-03 Ondřej Bílka <neleai@seznam.cz>
27085
27086 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27088 Add ifunc.
27089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27090 Add strcmp-sse2-unaligned
27091 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27092
18d43716
MF
270932013-09-02 Mike Frysinger <vapier@gentoo.org>
27094
27095 * Versions.def (libc): Add GLIBC_2.19.
27096
ac444012
MF
270972013-09-02 Mike Frysinger <vapier@gentoo.org>
27098
27099 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27100 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27101
b7835e32
JM
271022013-09-02 Joseph Myers <joseph@codesourcery.com>
27103
27104 [BZ #14155]
27105 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27106 intermediate calculations in recurrence.
27107 (__ieee754_ynf): Likewise.
27108 * math/libm-test.inc (jn_test_data): Do not allow spurious
27109 underflow exception. Add more tests.
27110 (yn_test_data): Add more tests.
27111 * sysdeps/i386/fpu/libm-test-ulps: Update.
27112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27113
8220f4f0
OB
271142013-09-02 Ondřej Bílka <neleai@seznam.cz>
27115
27116 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27117
f24a6d08
OB
271182013-08-30 Ondřej Bílka <neleai@seznam.cz>
27119
27120 * csu/init-first.c: Fix then/than typos.
27121 * locale/programs/ld-collate.c: Likewise.
27122 * locale/programs/linereader.h: Likewise.
27123 * manual/charset.texi: Likewise.
27124 * manual/filesys.texi: Likewise.
27125 * manual/stdio.texi: Likewise.
27126 * manual/string.texi: Likewise.
27127 * stdlib/fmtmsg.c: Likewise.
27128 * sysdeps/i386/stpncpy.S: Likewise.
27129 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27130 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27131 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27132 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27133
382466e0
OB
271342013-08-30 Ondřej Bílka <neleai@seznam.cz>
27135
27136 * elf/dl-open.c: Fix typos.
27137 * iconvdata/gbbig5.c: Likewise.
27138 * iconvdata/iso-2022-jp.c: Likewise.
27139 * iconv/gconv_int.h: Likewise.
27140 * iconv/loop.c: Likewise.
27141 * nis/rpcsvc/nis.h: Likewise.
27142 * resolv/ns_name.c: Likewise.
27143 * stdio-common/vfscanf.c: Likewise.
27144 * streams/stropts.h: Likewise.
27145 * sunrpc/rpc_thread.c: Likewise.
27146 * sysdeps/i386/strpbrk.S: Likewise.
27147 * sysdeps/ieee754/k_standard.c: Likewise.
27148 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27150 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27151 * sysdeps/mach/hurd/profil.c: Likewise.
27152 * sysdeps/s390/dl-procinfo.h: Likewise.
27153 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27154 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27155 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27156 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27157 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27158
0186c6e9
OB
271592013-08-30 Ondřej Bílka <neleai@seznam.cz>
27160
27161 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27163
d4e16af1
OB
271642013-08-29 Ondřej Bílka <neleai@seznam.cz>
27165
27166 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27167 aix specific files.
27168 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27169 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27170 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27171 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27172 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27173 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27174 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27175 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27176
88335980
TS
271772013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27178 Roland McGrath <roland@hack.frob.com>
27179
27180 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27181 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27182
ed479b02
ST
271832013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27184
27185 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27186 __executable_start symbol instead of _start.
27187
f1cc4c86
TS
271882013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27189
d821f07c
TS
27190 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27191 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27192 Move macros to...
27193 * sysdeps/gnu/ldsodefs.h: ... this new file.
27194
c54290cf
TS
27195 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27196 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27197 instead of ELFOSABI_LINUX.
27198
0007fc9b 27199 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
27200 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27201 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27202 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27203 Likewise.
27204 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27205 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27207 Likewise.
27208 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27209 (ibm_extended_long_double): Add ieee_nan member.
27210 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27211 (do_test): New function.
27212
f1cc4c86
TS
27213 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27214 TEST_TRUNC.
27215 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27216 functions, renamed from truncdfsf_test, trunctfsf_test,
27217 trunctfdf_test.
27218 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27219 functions.
27220 (do_test): Run all these.
27221
6f65e668
OB
272222013-08-29 Ondřej Bílka <neleai@seznam.cz>
27223
27224 * argp/argp-help.c: Fix typos.
27225 * argp/argp-parse.c: Likewise.
27226 * debug/backtracesyms.c: Likewise.
27227 * elf/elf.h: Likewise.
27228 * malloc/malloc.c: Likewise.
27229 * nis/nis_print.c: Likewise.
27230 * resolv/res_comp.c: Likewise.
27231 * stdlib/stdlib.h: Likewise.
27232 * sunrpc/clnt_tcp.c: Likewise.
27233 * sunrpc/clnt_udp.c: Likewise.
27234 * sunrpc/clnt_unix.c: Likewise.
27235 * sysdeps/unix/bsd/ptsname.c: Likewise.
27236 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27237 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
27238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27239 Likewise.
27240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27241 Likewise.
27242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27243 Likewise.
6f65e668
OB
27244 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27245
3a309239
SP
272462013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27247
27248 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27250
3b813b29
MF
272512013-08-27 Mike Frysinger <vapier@gentoo.org>
27252
27253 [BZ #15897]
27254 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27255 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27256 ($(objpfx)bug-dl-leaf): New rule.
27257 ($(objpfx)bug-dl-leaf.so): Likewise.
27258 ($(objpfx)bug-dl-leaf.out): Likewise.
27259 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27260 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27261 * dlfcn/bug-dl-leaf.c: New test.
27262 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27263 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27264 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27265 (dlclose): Likewise.
27266 (dlmopen): Likewise.
27267
8cc3269f
RM
272682013-08-27 Roland McGrath <roland@hack.frob.com>
27269
7f9d0034
RM
27270 * include/netdb.h [!_ISOMAC]:
27271 Don't include <tls.h>.
27272 (h_errno, __libc_h_errno): Move declaration and macros out of
27273 [_LIBC_REENTRANT].
27274
fb431262
RM
27275 * include/resolv.h [_RESOLV_H_]:
27276 Don't include <tls.h>.
27277 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27278 * resolv/res_libc.c: Don't include <tls.h>.
27279 (_res): Use __attribute__ ((nocommon)) in place of
27280 __attribute__ ((section (".bss"))).
27281
bd81123a
RM
27282 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27283 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27284
c4e42566
RM
27285 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27286
f890a59b
RM
27287 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27288 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27289
27290 * resolv/res_mkquery.c: Include <sys/time.h>.
27291
5d1f0a09
RM
27292 * inet/ifreq.c: Moved to ...
27293 * sysdeps/unix/ifreq.c: ... here.
27294 * inet/ifreq.c: New file, true stub version.
27295
6fcf28b3
RM
27296 * socket/sa_len.c: New file.
27297 * socket/Makefile (aux): Add it.
27298 * sysdeps/unix/sysv/linux/Makefile
27299 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27300 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27301 and #include <socket/sa_len.c>.
27302 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27303 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27304
e041fb8b
RM
27305 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27306 * bits/socket.h: ... here.
27307
8cc3269f
RM
27308 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27309 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27310 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27311
5d228a43
AS
273122013-08-27 Andreas Schwab <schwab@suse.de>
27313
45b8accc
AS
27314 [BZ #15736]
27315 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27316 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27317 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27318 * string/test-strcasecmp.c (test_main): Run tests in several
27319 locales.
27320 * string/test-strncasecmp.c (test_main): Likewise.
27321
5d228a43
AS
27322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27323 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27324 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27326 (__strncasecmp_ssse3) [PIC]: Likewise.
27327
59d112a4
RM
273282013-08-26 Roland McGrath <roland@hack.frob.com>
27329
53234cc3
RM
27330 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27331
59d112a4
RM
27332 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27333 instead of explicitly declaring xdecrypt.
27334 * nis/nss_nis/nis-publickey.c: Likewise.
27335
595aba70
SP
273362013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27337
27338 [BZ #15890]
27339 * nscd/aicache.c: Include res_hconf.h.
27340 (addhstaiX): Initialize res_hconf.
27341
ffabd393
AS
273422013-08-26 Andreas Schwab <schwab@suse.de>
27343
27344 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27345 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27346
e0a69f5c
SP
273472013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27348
27349 * nscd/aicache.c (addhstaiX): Fix indentation.
27350
8c12f01d
MF
273512013-08-25 Mike Frysinger <vapier@gentoo.org>
27352
27353 * configure.ac: Quote $build_pt_chown test.
27354 * configure: Regenerated.
27355
8fe89494
JM
273562013-08-23 Joseph Myers <joseph@codesourcery.com>
27357
27358 [BZ #15532]
27359 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27360 * math/s_cexpf.c (__cexpf): Likewise.
27361 * math/s_cexpl.c (__cexpl): Likewise.
27362 * math/libm-test.inc (cexp_test_data): Correct expected return
27363 value for NaN + i0. Add another test.
27364
75b181d6
DM
273652013-08-22 David S. Miller <davem@davemloft.net>
27366
27367 * po/ca.po: Update Catalan translation from translation project.
936241e4 27368 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 27369
acd06bb1
JM
273702013-08-21 Joseph Myers <joseph@codesourcery.com>
27371
27372 [BZ #15797]
27373 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27374 is infinite, not alongside NaN test.
27375 * math/s_fdimf.c (__fdimf): Likewise.
27376 * math/s_fdiml.c (__fdiml): Likewise.
27377 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27378 errno is unchanged.
27379
c0c3f78a
OB
273802013-08-21 Ondřej Bílka <neleai@seznam.cz>
27381
27382 * argp/argp-help.c: Fix typos.
27383 * crypt/speeds.c: Likewise.
27384 * csu/check_fds.c: Likewise.
27385 * elf/dl-load.c: Likewise.
27386 * elf/dl-open.c: Likewise.
27387 * elf/reldep3.c: Likewise.
27388 * elf/reldep.c: Likewise.
27389 * elf/sprof.c: Likewise.
27390 * iconv/iconv_charmap.c: Likewise.
27391 * iconv/skeleton.c: Likewise.
27392 * iconv/strtab.c: Likewise.
27393 * io/lockf64.c: Likewise.
27394 * libio/libioP.h: Likewise.
27395 * resolv/gai_notify.c: Likewise.
27396 * resolv/ns_name.c: Likewise.
27397 * resolv/ns_samedomain.c: Likewise.
27398 * resolv/res_send.c: Likewise.
27399 * stdlib/random.c: Likewise.
27400 * sunrpc/rpc/xdr.h: Likewise.
27401 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27402 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27403 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27404 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27405 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27409 * sysdeps/mach/hurd/check_fds.c: Likewise.
27410 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27411 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27412 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27413 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27414 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27415 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27416 * sysdeps/pthread/aio_notify.c: Likewise.
27417 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27418 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27419 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27420 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27421 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27422
46ed1038
LD
274232013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27424
27425 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27426 version if bit_Slow_SSE4_2 is set.
27427 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27428 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27429
d400dcac
AZ
274302013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27431
27432 [BZ #15867]
27433 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27434 trampoline stack frame information.
27435 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27436 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27437 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27438 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27439 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27440 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27441 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27442 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27443 sa_flags value.
27444 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27445 interrupting a syscall and set with option SA_SIGINFO.
27446
42c8fdd8
JM
274472013-08-20 Joseph Myers <joseph@codesourcery.com>
27448
c980f2f4
JM
27449 [BZ #15531]
27450 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27451 argument is infinite.
27452 * math/s_cprojf.c (__cprojf): Likewise.
27453 * math/s_cprojl.c (__cprojl): Likewise.
27454 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27455 * math/libm-test.inc (cproj_test_data): Add more tests.
27456
0716c4fc
JM
27457 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27458
42c8fdd8
JM
27459 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27460 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27461 size. Use __ffs to determine corresponding shift.
27462
b31469d0
JM
274632013-08-20 Joseph Myers <joseph@codesourcery.com>
27464 Roland McGrath <roland@hack.frob.com>
27465
27466 * Makefile (INSTALL): Remove trailing blank lines from output of
27467 makeinfo.
27468
4e39af6e
AK
274692013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27470
27471 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27472 Align 32 bit compat elf_greg to 8 bytes.
27473
f315524e
AA
274742013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27475
27476 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27477
1326ba1a
SP
274782013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27479
27480 * string/strcoll_l.c (coll_seq): New structure.
27481 (get_next_seq_cached): New function.
27482 (get_next_seq): New function.
27483 (do_compare): New function.
27484 (STRCOLL): Use GNU style definition. Simplify implementation
27485 by using get_next_seq, get_next_seq_cached and do_compare.
27486
91ce4085
FW
274872013-08-16 Florian Weimer <fweimer@redhat.com>
27488
27489 [BZ #14699]
27490 CVE-2013-4237
27491 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27492 member.
27493 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27494 member.
27495 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27496 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27497 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27498 conditional.
27499 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27500 GETDENTS_64BIT_ALIGNED.
27501 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27502 * manual/filesys.texi (Reading/Closing Directory): Document
27503 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27504 strongly.
27505 * manual/conf.texi (Limits for Files): Add portability note to
27506 NAME_MAX, PATH_MAX.
27507 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27508
ca0a6bc4
AS
275092013-08-13 Andreas Schwab <schwab@suse.de>
27510
27511 [BZ #15749]
27512 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27513 of fabs.
27514 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27515 LDBL_MAX_EXP >= 16384]: Add tests for it.
27516
6c1fd795
DM
275172013-08-12 David S. Miller <davem@davemloft.net>
27518
27519 * version.h (RELEASE): Set to "development".
27520 (VERSION): Set to "2.18.90".
27521 * NEWS: Add 2.19 section.
27522
31ad488d
DM
275232013-08-03 David S. Miller <davem@davemloft.net>
27524
27525 * po/ko.po: Update Korean translation from translation project.
27526
db24e684
DM
275272013-08-01 David S. Miller <davem@davemloft.net>
27528
27529 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27530 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27531 Bilka.
27532
f723285b
DM
275332013-07-30 David S. Miller <davem@davemloft.net>
27534
27535 * po/fr.po: Update French translation from translation project.
27536
3cbc52db
DM
275372013-07-28 David S. Miller <davem@davemloft.net>
27538
30bbc0cc
DM
27539 * po/cs.po: Update Czech translation from translation project.
27540
3cbc52db
DM
27541 * po/sv.po: Update Swedish translation from translation project.
27542
d492e6d0
DM
275432013-07-27 David S. Miller <davem@davemloft.net>
27544
f1a7f492
DM
27545 * po/eo.po: Update Esperanto translation from translation project.
27546
90e62a4a
DM
27547 * po/vi.po: Update Vietnamese translation from translation project.
27548
d492e6d0
DM
27549 * po/de.po: Update German translation from translation project.
27550
d4baa62d
DM
275512013-07-26 David S. Miller <davem@davemloft.net>
27552
641aa7b4
DM
27553 * po/bg.po: Update Bulgarian translation from translation project.
27554
d4baa62d
DM
27555 * po/nl.po: Update Dutch translation from translation project.
27556 * po/pl.po: Update Polish translation from translation project.
27557 * po/ru.po: Update Russian translation from translation project.
27558
61a9dcb9
DM
275592013-07-24 David S. Miller <davem@davemloft.net>
27560
27561 * po/libc.pot: Update.
27562
7b1f8b58
AZ
275632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27564
27565 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27566 variable page size.
27567 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27568 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27569 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27570
a8fc7a03
AK
275712013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27572
27573 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27574
e4608715
CD
275752013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27576 Andreas Schwab <schwab@suse.de>
27577 Roland McGrath <roland@hack.frob.com>
27578 Joseph Myers <joseph@codesourcery.com>
27579 Carlos O'Donell <carlos@redhat.com>
27580
27581 [BZ #15755]
27582 * config.h.in: Define HAVE_PT_CHOWN.
27583 * config.make.in (build-pt-chown): New variable.
27584 * configure.in (--enable-pt_chown): New configure option.
27585 * configure: Regenerate.
27586 * login/Makefile: Include Makeconfig. Build pt_chown only if
27587 build-pt-chown is enabled.
27588 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27589 pt_chown to fix pty ownership.
27590 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27591 CLOSE_ALL_FDS.
27592 * manual/install.texi (Configuring and compiling): Mention
27593 --enable-pt_chown. Add @findex for grantpt.
27594 * INSTALL: Regenerate.
27595
da2d62df
DM
275962013-07-20 David S. Miller <davem@davemloft.net>
27597
27598 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27599 difference between 32-bit and 64-bit.
27600
d7e06450
CD
276012013-07-15 Carlos O'Donell <carlos@redhat.com>
27602
27603 [BZ #15711]
27604 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27605 Avoid system header dependency with -ffreestanding.
27606 ($(objpfx)bits/syscall%d): Likewise.
27607
f959cfd7
DM
276082013-07-13 David S. Miller <davem@davemloft.net>
27609
27610 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27611 underflows from atanl/atan2l due to bug 15319.
27612 (casinh_test_data): Likewise.
27613
c61f8513
DM
276142013-07-07 David S. Miller <davem@davemloft.net>
27615
27616 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27617
72c90ed0
JA
276182013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
27619
27620 * sysdeps/i386/fpu/libm-test-ulps: Update.
27621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27622
52dfbe13
SP
276232013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27624
27625 * configure.in (--enable-lock-elision): Fix message text.
27626 * INSTALL: Regenerate.
27627 * configure: Regenerate.
27628
3f169543
AZ
276292013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27630
27631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27632
521c6785
AJ
276332013-07-03 Andreas Jaeger <aj@suse.de>
27634
27635 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27636 define.
27637 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27638 (ptrace_peeksiginfo_args): Add.
27639 (__ptrace_peeksiginfo_flags): Add.
27640 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27642 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27643
d2cc15cb
AM
276442013-07-03 Allan McRae <allan@archlinux.org>
27645
27646 * sysdeps/i386/fpu/libm-test-ulps: Update.
27647
3aaeeca7
DM
276482013-07-02 David S. Miller <davem@davemloft.net>
27649
27650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27651
5314ed1a
MT
276522013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
27653
27654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27655
67338156
JM
276562013-07-02 Joseph Myers <joseph@codesourcery.com>
27657
27658 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27660
1717da59
AK
276612013-07-02 Andi Kleen <ak@linux.intel.com>
27662
27663 * config.h.in (ENABLE_LOCK_ELISION): Add.
27664 * configure.in (--enable-lock-elision): Add option.
27665 * manual/install.texi: Document --enable lock elision.
27666 * configure: Regenerate
27667 * INSTALL: Regenerate.
27668
1c81621c
L
276692013-07-02 H.J. Lu <hongjiu.lu@intel.com>
27670
27671 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27672 SSE4.2 strcasecmp for libc.a.
27673 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27674
77f01ab5
JM
276752013-07-02 Joseph Myers <joseph@codesourcery.com>
27676
27677 [BZ #13304]
27678 * soft-fp/op-common.h (_FP_FMA): New macro.
27679 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27680 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
27681 (_FP_MUL_MEAT_1_imm): ... here.
27682 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
27683 (_FP_MUL_MEAT_1_wide): ... here.
27684 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
27685 (_FP_MUL_MEAT_1_hard): ... here.
27686 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27687 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
27688 (_FP_MUL_MEAT_2_wide): ... here.
27689 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
27690 (_FP_MUL_MEAT_2_wide_3mul): ... here.
27691 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
27692 (_FP_MUL_MEAT_2_gmp): ... here.
27693 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27694 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
27695 (_FP_MUL_MEAT_4_wide): ... here.
27696 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
27697 (_FP_MUL_MEAT_4_gmp): ... here.
27698 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27699 (_FP_WFRACBITS_DW_S): Likewise.
27700 (_FP_WFRACXBITS_DW_S): Likewise.
27701 (_FP_HIGHBIT_DW_S): Likewise.
27702 (FP_FMA_S): Likewise.
27703 (_FP_FRAC_HIGH_DW_S): Likewise.
27704 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27705 (_FP_WFRACBITS_DW_D): Likewise.
27706 (_FP_WFRACXBITS_DW_D): Likewise.
27707 (_FP_HIGHBIT_DW_D): Likewise.
27708 (FP_FMA_D): Likewise.
27709 (_FP_FRAC_HIGH_DW_D): Likewise.
27710 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27711 (_FP_WFRACBITS_DW_E): Likewise.
27712 (_FP_WFRACXBITS_DW_E): Likewise.
27713 (_FP_HIGHBIT_DW_E): Likewise.
27714 (FP_FMA_E): Likewise.
27715 (_FP_FRAC_HIGH_DW_E): Likewise.
27716 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27717 (_FP_WFRACBITS_DW_Q): Likewise.
27718 (_FP_WFRACXBITS_DW_Q): Likewise.
27719 (_FP_HIGHBIT_DW_Q): Likewise.
27720 (FP_FMA_Q): Likewise.
27721 (_FP_FRAC_HIGH_DW_Q): Likewise.
27722 * soft-fp/fmasf4.c: New file.
27723 * soft-fp/fmadf4.c: Likewise.
27724 * soft-fp/fmatf4.c: Likewise.
27725
6308fd9a
LD
277262013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27727
27728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27729 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27730 Silvermont.
27731 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27732 macro.
27733 (index_Slow_SSE4_2): Likewise.
27734 (index_Prefer_PMINUB_for_stringop): Likewise.
27735 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27736 bit_Slow_SSE4_2 is set.
27737 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27738 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27739
89cd9569
RA
277402013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27741
27742 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27743 rtld_global._dl_hwcap2.
27744 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27745 POWER8.
27746 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27747 POWER8 feature descriptions defined in _dl_hwcap2.
27748 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27749 string handling for POWER8 feature bits.
27750 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27751 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27752 _dl_powerpc_cap_flags.
27753 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27754 * sysdeps/powerpc/rtld-global-offsets.sym
27755 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27756 _dl_hwcap2 in the rtld_global_ro structure.
27757
1ae8bfe0
RA
277582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27759
27760 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27761 hardware capabilities in support of AT_HWCAP2.
27762 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27763 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27764 GLRO(dl_hwcap2).
27765 (_dl_show_auxv): Add support for calling _dl_procinfo to display
27766 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
27767 explicitly the unknown a_type display mechanism is used.
27768 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27769 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27770 struct member.
27771 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27772 to macro prototype for AT_HWCAP2 support.
27773 * sysdeps/i386/dl-procinfo.h: Likewise.
27774 * sysdeps/s390/dl-procinfo.h: Likewise.
27775 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27776 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
27777 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
27778 return -1 for unknown a_type display fallback.
27779 * sysdeps/sparc/dl-procinfo.h: Likewise.
27780 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27781 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27782
8fbec010
JM
277832013-06-28 Joseph Myers <joseph@codesourcery.com>
27784
27785 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27786 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27787
0432680e
PY
277882013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
27789
27790 [BZ #12492]
27791 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27792 mprotect making __stack_prot writable.
27793
ce61a2ad
NF
277942013-06-28 Nathan Froyd <froydnj@codesourcery.com>
27795 Joseph Myers <joseph@codesourcery.com>
27796
27797 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27798 as being properly aligned.
27799
f91f1c0f
MR
278002013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
27801
3d0f5d0c
MR
27802 * dlfcn/modstatic5.c: New file.
27803 * dlfcn/tststatic5.c: New file.
27804 * dlfcn/Makefile (tests): Add tststatic5.
27805 (tests-static): Likewise.
27806 (modules-names): Add modstatic5.
27807 (tststatic5-ENV): New variable.
27808 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27809
f91f1c0f
MR
27810 [BZ #15022]
27811 * elf/dl-support.c (_dl_main_map): New variable.
27812 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27813 (_dl_nns, _dl_load_adds): Set to 1.
27814 (_dl_initial_searchlist): Refer to _dl_main_map.
27815 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27816 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27817 call to _dl_get_origin.
27818 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27819 around call_map.
27820 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27821 * dlfcn/modstatic3.c: New file.
27822 * dlfcn/tststatic3.c: New file.
27823 * dlfcn/tststatic4.c: New file.
27824 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27825 (tests-static): Likewise.
27826 (modules-names): Add modstatic3.
27827 (tststatic3-ENV, tststatic4-ENV): New variables.
27828 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27829 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27830
cbe7d24b
JM
278312013-06-26 Joseph Myers <joseph@codesourcery.com>
27832
27833 * configure.in (CC): Require GCC version 4.4 or later.
27834 * configure: Regenerated.
27835 * manual/install.texi (Tools for Compilation): Update GCC version
27836 requirement.
27837 * INSTALL: Regenerated.
27838
11b8a0e1
LD
278392013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27840
27841 [BZ #15674]
bb5bb87c
L
27842 * string/test-memcmp.c (check2): New.
27843 (main): Call check2.
27844
11b8a0e1
LD
27845 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27846
b0037103
MR
278472013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
27848
27849 [BZ #15022]
27850 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27851 over to...
27852 (dl_open_worker) [!SHARED]: ... here.
27853
c18c701d
RA
278542013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27855
27856 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27857
1d17fa5f
RH
278582013-06-25 Richard Henderson <rth@redhat.com>
27859
27860 * locale/programs/locarchive.c: Include <libc-internal.h>
27861
8fcb833a
JM
278622013-06-25 Joseph Myers <joseph@codesourcery.com>
27863
27864 * manual/texinfo.tex: Update to version 2013-06-21.17, with
27865 trailing whitespace removed.
27866
17db6e8d
MF
278672013-06-24 Mike Frysinger <vapier@gentoo.org>
27868
27869 [BZ #10283]
17db6e8d
MF
27870 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27871 * locale/programs/locarchive.c: Include libc-mmap.h.
27872 (prepare_address_space): Take two new outputs (the mmap base and len).
27873 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
27874 values.
27875 (create_archive): Declare new mmap base and len values for
27876 prepare_address_space, and store the result in ah.
27877 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27878 (enlarge_archive): If ah->mmap_base is not NULL, use that and
27879 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27880 Declare new mmap base and len values for
27881 prepare_address_space, and store the result in new_ah.
27882 (open_archive): Declare new mmap base and len values for
27883 prepare_address_space, and store the result in ah.
27884 (close_archive): If ah->mmap_base is not NULL, use that and
27885 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27886 * sysdeps/generic/libc-mmap.h: New file.
27887
d605071e
MF
278882013-06-24 Mike Frysinger <vapier@gentoo.org>
27889
27890 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27891 (ALIGN_UP): Likewise.
27892 (PTR_ALIGN_DOWN): Likewise.
27893 (PTR_ALIGN_UP): Likewise.
27894
2f063a6e
RA
278952013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27896
27897 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27898 entry mapped to PPC_PLATFORM_POWER8.
27899 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27900 POWER8.
27901 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27902 (_dl_string_platform): Add case for exporting platform position for
27903 POWER8.
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27905 search path to sysdeps/powerpc/powerpc32/power8 directory.
27906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27907 search path to sysdeps/powerpc/powerpc64/power8 directory.
27908 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27909 power7 directories.
27910 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27911 power7 directories.
27912
a31ee4b3
SP
279132013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27914
a74ca98f
SP
27915 * INSTALL: Regenerate.
27916
a31ee4b3
SP
27917 * nscd/connections.c (nscd_init): Fix comment.
27918
695c378f
JM
279192013-06-22 Joseph Myers <joseph@codesourcery.com>
27920
d8412221
JM
27921 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27922
695c378f
JM
27923 [BZ #15667]
27924 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27925 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27926
d1d54715
MR
279272013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27928
27929 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27930 DL_DST_REQ_STATIC.
27931 (DL_DST_REQ_STATIC): Remove macro.
27932
8fdda7af
JM
279332013-06-21 Joseph Myers <joseph@codesourcery.com>
27934
27935 [BZ #7006]
27936 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27937 with a shift of 0 bits.
27938
f3bc5e5a
MR
279392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27940
27941 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27942 $(tststatic-ENV).
27943
be09e8c9
KK
279442013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27945
27946 [BZ #15655]
27947 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27948
85c2e611
AZ
279492013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27950
27951 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27952 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27953 accepts -fno-tree-loop-distribute-patterns.
27954 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27955 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27956 recursive call.
27957 * string/memset.c (memset): Likewise.
27958 * string/test-memmove.c (simple_memmove): Disable loop transformation
27959 to library calls.
27960 * string/test-memset.c (simple_memset): Likewise.
27961 * benchtests/bench-memmove.c (simple_memmove): Likewise.
27962 * benchtests/bench-memset.c (simple_memset): Likewise.
27963 * configure: Regenerated.
27964
c91e0825
JM
279652013-06-20 Joseph Myers <joseph@codesourcery.com>
27966
b8c792af
JM
27967 * math/test-misc.c (main): Ignore fesetround failure when failures
27968 of subsequent rounding tests would be ignored.
27969
c91e0825
JM
27970 [BZ #15654]
27971 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27972 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27973 * math/fegetenv.c (__fegetenv): Return 0.
27974 * math/fegetexcept.c (fegetexcept): Return 0.
27975 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27976 FE_TONEAREST.
27977 * math/feholdexcpt.c (feholdexcept): Return 0.
27978 * math/fesetenv.c (__fesetenv): Return 0.
27979 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27980 argument FE_TONEAREST.
27981 * math/feupdateenv.c (__feupdateenv): Return 0.
27982 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27983
bfcacbde
RM
279842013-06-18 Roland McGrath <roland@hack.frob.com>
27985
27986 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27987 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27988 ($(objpfx)rtld-%.os rules): Use them.
27989
e55a9b25
AZ
279902013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27991
27992 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27993 fields.
27994
346d65b3
RM
279952013-06-17 Roland McGrath <roland@hack.frob.com>
27996
12086fb4
RM
27997 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27998 length of target pattern, then descending length of dependency pattern.
27999 * configure.in (AWK): Require gawk 3.1.2 or newer.
28000 * manual/install.texi (Tools for Compilation): Say that we do.
28001 * configure: Regenerated.
28002
346d65b3
RM
28003 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28004 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28005 * scripts/sysd-rules.awk: ... this new script.
28006 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28007 than a glob-style pattern.
28008
1a846317
JM
280092013-06-17 Joseph Myers <joseph@codesourcery.com>
28010
28011 * math/test-misc.c (main): Do not treat incorrectly rounded
28012 conversions as failure unless ROUNDING_TESTS passes.
28013
8fc75e6f
JM
280142013-06-15 Joseph Myers <joseph@codesourcery.com>
28015
3711a167
JM
28016 [BZ #15631]
28017 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28018 restore exception state around main square root computation, then
28019 check for inexactness explicitly.
28020
8fc75e6f
JM
28021 * math/libm-test.inc (fma_test_data): Add another test.
28022
61dd6208
SP
280232013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28024
adf23d2c
SP
28025 * manual/threads.texi (Non-POSIX Extensions): New document
28026 node. Document pthread_getattr_default_np and
28027 pthread_setattr_default_np.
28028
61dd6208
SP
28029 * Versions.def (libpthread): Add GLIBC_2.18.
28030 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28032 Likewise.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28034 Likewise.
28035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28036 Likewise.
28037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28038 Likewise.
28039 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28040 Likewise.
28041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28042 Likewise.
28043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28044 Likewise.
28045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28046 Likewise.
28047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28048 Likewise.
28049
d086fc7b
LD
280502013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28051
28052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28053 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28054
747ef469
SP
280552013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28056 H.J. Lu <hjl.tools@gmail.com>
28057
28058 [BZ #15627]
28059 * sysdeps/x86_64/rtld-memset.c: Remove file.
28060 * sysdeps/x86_64/rtld-memset.S: New file.
28061
1b2feed2
JM
280622013-06-14 Joseph Myers <joseph@codesourcery.com>
28063
28064 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28065 (test_in_one_mode): Take arguments for whether the rounding mode
28066 is supported for each floating-point type.
28067 (do_test): Pass new arguments to test_in_one_mode using
28068 ROUNDING_TESTS.
28069
a58ad3f8
RM
280702013-06-13 Roland McGrath <roland@hack.frob.com>
28071
28072 * posix/tst-waitid.c (do_test): Distinguish different instances of
28073 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28074 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28075 before entering the kernel for waitpid.
28076
c204ab28
SP
280772013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28078
28079 * NEWS: Fix note on clock function precision. Text by Roland
28080 McGrath.
28081
f4a29fba
RM
280822013-06-13 Roland McGrath <roland@hack.frob.com>
28083
28084 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28085 it into place only when and if the sanity check passes.
28086
1f24b9ad
JM
280872013-06-13 Joseph Myers <joseph@codesourcery.com>
28088
28089 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28090 output for whether conversion result is exact. Take argument
28091 indicating whether type is IBM long double.
28092 (round_for_all): Change need_exact field to ibm_ld.
28093 * stdlib/tst-strtod-round.c (struct exactness): New type.
28094 (struct test): Change bool ld_ok field to struct exactness exact.
28095 (TEST): Update all definitions for change to field.
28096 (tests): Regenerate array contents.
28097 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28098 field value. Check for IBM long double here.
28099 (do_test): Update calls to test_in_one_mode.
28100
58206c68
SP
281012013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28102
28103 [BZ #12515]
28104 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28105 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28106
2d6f4c5b 281072013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
28108
28109 [BZ #15605]
28110 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28111 generated by the compiler on loop optimizations.
28112 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28113 general definitions.
28114
94f2c076
JM
281152013-06-12 Joseph Myers <joseph@codesourcery.com>
28116
28117 * math/bug-nextafter.c: Include <math-tests.h>.
28118 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28119 the relevant type.
28120 * math/bug-nexttoward.c: Include <math-tests.h>.
28121 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28122 the relevant type.
28123 * math/test-misc.c: Include <math-tests.h>.
28124 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28125 the relevant type.
28126
e0e50a0a
AJ
281272013-06-12 Andreas Jaeger <aj@suse.de>
28128
28129 * po/ia.po: Update Interlingua translation from translation
28130 project.
28131
25061094
SP
281322013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28133
28134 * include/fenv.h: Include stdbool.h.
28135 (struct rm_ctx): New structure.
28136 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28137 Define macro.
28138 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28139 (SET_RESTORE_ROUNDF): Likewise.
28140 (SET_RESTORE_ROUNDL): Likewise.
28141 (SET_RESTORE_ROUND_NOEX): Likewise.
28142 (SET_RESTORE_ROUND_NOEXF): Likewise.
28143 (SET_RESTORE_ROUND_NOEXL): Likewise.
28144 (SET_RESTORE_ROUND_53BIT): Likewise.
28145 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28146 (libc_feresetround_noexf_ctx): Likewise.
28147 (libc_feresetround_noexl_ctx): Likewise.
28148 (libc_feholdsetround_53bit_ctx): Likewise.
28149 (libc_feresetround_53bit_ctx): Likewise.
28150 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28151 (libc_feholdexcept_setround_sse_ctx): New function.
28152 (libc_fesetenv_sse_ctx): Likewise.
28153 (libc_feupdateenv_sse_ctx): Likewise.
28154 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28155 (libc_feholdexcept_setround_387_ctx): Likewise.
28156 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28157 (libc_feholdsetround_387_prec_ctx): Likewise.
28158 (libc_feholdsetround_387_ctx): Likewise.
28159 (libc_feholdsetround_387_53bit_ctx): Likewise.
28160 (libc_feholdsetround_sse_ctx): Likewise.
28161 (libc_feresetround_sse_ctx): Likewise.
28162 (libc_feresetround_387_ctx): Likewise.
28163 (libc_feupdateenv_387_ctx): Likewise.
28164 (libc_feholdexcept_setroundf_ctx): Define macro.
28165 (libc_fesetenvf_ctx): Likewise.
28166 (libc_feupdateenvf_ctx): Likewise.
28167 (libc_feholdsetroundf_ctx): Likewise.
28168 (libc_feresetroundf_ctx): Likewise.
28169 (libc_feholdexcept_setround_ctx): Likewise.
28170 (libc_fesetenv_ctx): Likewise.
28171 (libc_feupdateenv_ctx): Likewise.
28172 (libc_feholdsetround_ctx): Likewise.
28173 (libc_feresetround_ctx): Likewise.
28174 (libc_feholdexcept_setroundl_ctx): Likewise.
28175 (libc_feupdateenvl_ctx): Likewise.
28176 (libc_feholdsetroundl_ctx): Likewise.
28177 (libc_feresetroundl_ctx): Likewise.
28178 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28179 (libc_feresetround_53bit_ctx): Likewise.
28180
59b30555
SP
281812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28182
28183 * locale/iso-639.def: Convert to UTF-8.
28184
f1d73d30
JM
281852013-06-11 Joseph Myers <joseph@codesourcery.com>
28186
28187 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28188 (EXCEPTION_TESTS_double): Likewise.
28189 (EXCEPTION_TESTS_long_double): Likewise.
28190 (EXCEPTION_TESTS): Likewise.
28191 * math/libm-test.inc (test_exceptions): Only test exceptions if
28192 EXCEPTION_TESTS (FLOAT).
28193
94aca5e7
SP
281942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28195
28196 * benchtests/Makefile (string-bench): Add strcpy_chk and
28197 stpcpy_chk.
28198 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28199 * benchtests/bench-stpcpy_chk.c: New file.
28200 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28201 * benchtests/bench-strcpy_chk.c: New file.
28202 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28203 code.
28204 (do_test): Likewise.
28205
fac0c5f2
RA
282062013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28207
28208 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28209 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28210 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28211 with tabs where appropriate.
28212 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28213 dl-procinfo.h.
28214 [PPC_PLATFORM_PPC440]: Likewise.
28215 [PPC_PLATFORM_PPC464]: Likewise.
28216 [PPC_PLATFORM_PPC476]: Likewise.
28217 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28218 ppc464, and ppc476 platform strings merging from ports/
28219 dl-procinfo.h.
28220
f22bc486
AS
282212013-06-11 Andreas Schwab <schwab@suse.de>
28222
28223 [BZ #14991]
28224 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28225 (from_ucs4_idx): Regenerate.
28226 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28227 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28228 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28229 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28230 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28231 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28232 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28233 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28234 from FROM_LOOP and TO_LOOP specific macros.
28235 (BODY): Handle combining characters.
28236 * iconvdata/BIG5HKSCS.irreversible: Update.
28237 * iconvdata/BIG5HKSCS.precomposed: New file.
28238 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28239 characters.
28240 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28241
c1f75dc3
SP
282422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28243
4eacded2
SP
28244 * include/sys/time.h: Fix indentation and add copyright header.
28245
fec799f8
SP
28246 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28247 (do_test): Likewise.
28248 * string/test-memchr.c (do_one_test): Likewise.
28249 (do_test): Likewise.
28250 * string/test-memcmp.c (do_one_test): Likewise.
28251 (do_test): Likewise.
28252 * string/test-memcpy.c (do_one_test): Likewise.
28253 (do_test): Likewise.
28254 * string/test-memmem.c (do_one_test): Likewise.
28255 (do_test): Likewise.
28256 (do_random_tests): Likewise.
28257 * string/test-memmove.c (do_one_test): Likewise.
28258 (do_test): Likewise.
28259 * string/test-memset.c (do_one_test): Likewise.
28260 (do_test): Likewise.
28261 * string/test-rawmemchr.c (do_one_test): Likewise.
28262 (do_test): Likewise.
28263 * string/test-strcasecmp.c (do_one_test): Likewise.
28264 (do_test): Likewise.
28265 * string/test-strcasestr.c (do_one_test): Likewise.
28266 (do_test): Likewise.
28267 * string/test-strcat.c (do_one_test): Likewise.
28268 (do_test): Likewise.
28269 * string/test-strchr.c (do_one_test): Likewise.
28270 (do_test): Likewise.
28271 * string/test-strcmp.c (do_one_test): Likewise.
28272 (do_test): Likewise.
28273 * string/test-strcpy.c (do_one_test): Likewise.
28274 (do_test): Likewise.
28275 * string/test-string.h: Likewise.
28276 (test_init): Likewise.
28277 * string/test-strlen.c (do_one_test): Likewise.
28278 (do_test): Likewise.
28279 * string/test-strncasecmp.c (do_one_test): Likewise.
28280 (do_test): Likewise.
28281 * string/test-strncat.c (do_one_test): Likewise.
28282 (do_test): Likewise.
28283 * string/test-strncmp.c (do_one_test): Likewise.
28284 (do_test_limit): Likewise.
28285 (do_test): Likewise.
28286 * string/test-strncpy.c (do_one_test): Likewise.
28287 (do_test): Likewise.
28288 * string/test-strnlen.c (do_one_test): Likewise.
28289 (do_test): Likewise.
28290 * string/test-strpbrk.c (do_one_test): Likewise.
28291 (do_test): Likewise.
28292 * string/test-strrchr.c (do_one_test): Likewise.
28293 (do_test): Likewise.
28294 * string/test-strspn.c (do_one_test): Likewise.
28295 (do_test): Likewise.
28296 * string/test-strstr.c (do_one_test): Likewise.
28297 (do_test): Likewise.
28298
97020474
SP
28299 * benchtests/Makefile (string-bench): Add string benchmarks.
28300 * benchtests/bench-bcopy-ifunc.c: New file.
28301 * benchtests/bench-bcopy.c: New file.
28302 * benchtests/bench-bzero-ifunc.c: New file.
28303 * benchtests/bench-bzero.c: New file.
28304 * benchtests/bench-memccpy-ifunc.c: New file.
28305 * benchtests/bench-memccpy.c: New file.
28306 * benchtests/bench-memchr-ifunc.c: New file.
28307 * benchtests/bench-memchr.c: New file.
28308 * benchtests/bench-memcmp-ifunc.c: New file.
28309 * benchtests/bench-memcmp.c: New file.
28310 * benchtests/bench-memmem-ifunc.c: New file.
28311 * benchtests/bench-memmem.c: New file.
28312 * benchtests/bench-memmove-ifunc.c: New file.
28313 * benchtests/bench-memmove.c: New file.
28314 * benchtests/bench-mempcpy-ifunc.c: New file.
28315 * benchtests/bench-mempcpy.c: New file.
28316 * benchtests/bench-memset-ifunc.c: New file.
28317 * benchtests/bench-memset.c: New file.
28318 * benchtests/bench-rawmemchr-ifunc.c: New file.
28319 * benchtests/bench-rawmemchr.c: New file.
28320 * benchtests/bench-stpcpy-ifunc.c: New file.
28321 * benchtests/bench-stpcpy.c: New file.
28322 * benchtests/bench-stpncpy-ifunc.c: New file.
28323 * benchtests/bench-stpncpy.c: New file.
28324 * benchtests/bench-strcasecmp-ifunc.c: New file.
28325 * benchtests/bench-strcasecmp.c: New file.
28326 * benchtests/bench-strcasestr-ifunc.c: New file.
28327 * benchtests/bench-strcasestr.c: New file.
28328 * benchtests/bench-strcat-ifunc.c: New file.
28329 * benchtests/bench-strcat.c: New file.
28330 * benchtests/bench-strchr-ifunc.c: New file.
28331 * benchtests/bench-strchr.c: New file.
28332 * benchtests/bench-strchrnul-ifunc.c: New file.
28333 * benchtests/bench-strchrnul.c: New file.
28334 * benchtests/bench-strcmp-ifunc.c: New file.
28335 * benchtests/bench-strcmp.c: New file.
28336 * benchtests/bench-strcpy-ifunc.c: New file.
28337 * benchtests/bench-strcpy.c: New file.
28338 * benchtests/bench-strcspn-ifunc.c: New file.
28339 * benchtests/bench-strcspn.c: New file.
28340 * benchtests/bench-strlen-ifunc.c: New file.
28341 * benchtests/bench-strlen.c: New file.
28342 * benchtests/bench-strncasecmp-ifunc.c: New file.
28343 * benchtests/bench-strncasecmp.c: New file.
28344 * benchtests/bench-strncat-ifunc.c: New file.
28345 * benchtests/bench-strncat.c: New file.
28346 * benchtests/bench-strncmp-ifunc.c: New file.
28347 * benchtests/bench-strncmp.c: New file.
28348 * benchtests/bench-strncpy-ifunc.c: New file.
28349 * benchtests/bench-strncpy.c: New file.
28350 * benchtests/bench-strnlen-ifunc.c: New file.
28351 * benchtests/bench-strnlen.c: New file.
28352 * benchtests/bench-strpbrk-ifunc.c: New file.
28353 * benchtests/bench-strpbrk.c: New file.
28354 * benchtests/bench-strrchr-ifunc.c: New file.
28355 * benchtests/bench-strrchr.c: New file.
28356 * benchtests/bench-strspn-ifunc.c: New file.
28357 * benchtests/bench-strspn.c: New file.
28358 * benchtests/bench-strstr-ifunc.c: New file.
28359 * benchtests/bench-strstr.c: New file.
28360
c1f75dc3
SP
28361 * benchtests/Makefile: Disable parallel execution of targets.
28362 (string-bench): Add memcpy.
28363 (benchset): New variable to store a list of benchmark sets.
28364 (bench-func): Renamed from bench.
28365 (bench-set): New target.
28366 (bench): Depend on bench-func and bench-set.
28367 * benchtests/README: Add section on benchmark sets.
28368 * benchtests/bench-memcpy-ifunc.c: New file.
28369 * benchtests/bench-memcpy.c: New file.
28370 * benchtests/bench-string.h: New file.
28371
50fd745b
AS
283722013-06-11 Andreas Schwab <schwab@suse.de>
28373
28374 [BZ #15577]
28375 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28376 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28377 values in the triple.
28378 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28379 terminator in the group key.
28380
3ee7e9fe
AJ
283812013-06-11 Andreas Jaeger <aj@suse.de>
28382
28383 * po/zh_TW.po: Update Chinese (traditional) translation from
28384 translation project.
28385
89fb6835
SP
283862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28387
28388 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28389 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28390 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28391 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28392 (clock_getcpuclockid): Likewise.
28393 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28394 Add weak_alias and libc_hidden_def.
28395 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28396 * rt/clock_gettime.c (clock_gettime): Rename to
28397 __clock_gettime. Add weak_alias and libc_hidden_def.
28398 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28399 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28400 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28401 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28402 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28403 Likewise.
28404 * rt/clock_settime.c (clock_settime): Rename to
28405 __clock_settime. Add weak_alias and libc_hidden_def.
28406 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28407
0efa6f8b
JM
284082013-06-10 Joseph Myers <joseph@codesourcery.com>
28409
b8c61b4b
JM
28410 * mach/err_boot.sub: Remove trailing whitespace.
28411 * mach/err_ipc.sub: Likewise.
28412 * mach/err_mach.sub: Likewise.
28413
0efa6f8b
JM
28414 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28415 (ROUNDING_TESTS_double): Likewise.
28416 (ROUNDING_TESTS_long_double): Likewise.
28417 (ROUNDING_TESTS): Likewise.
28418 * math/libm-test.inc: Include <math-tests.h>.
28419 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28420 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28421 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28422 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28423
50b818bf
SP
284242013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28425
28426 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28427 of assigning.
28428
60d2f8f3
JM
284292013-06-08 Joseph Myers <joseph@codesourcery.com>
28430
4902d2c3
JM
28431 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28432 otherwise empty TRANS lines.
28433 * sysdeps/gnu/errlist.c: Regenerated.
28434
60d2f8f3
JM
28435 * catgets/gencat.c (error_print): Use (void) in function
28436 definition.
28437 * crypt/crypt_util.c (__init_des): Likewise.
28438 * crypt/speeds.c (Stop): Likewise.
28439 (main): Likewise.
28440 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28441 * inet/ruserpass.c (token): Likewise.
28442 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28443 * intl/localealias.c (extend_alias_table): Likewise.
28444 * intl/plural-exp.c (init_germanic_plural): Likewise.
28445 * libio/fcloseall.c (__fcloseall): Likewise.
28446 * libio/genops.c (_IO_flush_all): Likewise.
28447 (_IO_flush_all_linebuffered): Likewise.
28448 (_IO_cleanup): Likewise.
28449 (_IO_iter_begin): Likewise.
28450 (_IO_iter_end): Likewise.
28451 (_IO_list_lock): Likewise.
28452 (_IO_list_unlock): Likewise.
28453 (_IO_list_resetlock): Likewise.
28454 * libio/getchar.c (getchar): Likewise.
28455 * libio/getchar_u.c (getchar_unlocked): Likewise.
28456 * libio/getwchar.c (getwchar): Likewise.
28457 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28458 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28459 * login/getpt.c (__getpt): Likewise.
28460 * login/tst-utmp.c (main): Likewise.
28461 * malloc/hooks.c (__malloc_check_init): Likewise.
28462 * malloc/malloc.c (__malloc_stats): Likewise.
28463 * malloc/mtrace.c (tr_break): Likewise.
28464 (mtrace): Likewise.
28465 (muntrace): Likewise.
28466 * misc/fstab.c (endfsent): Likewise.
28467 * misc/getclktck.c (__getclktck): Likewise.
28468 * misc/getdtsz.c (__getdtablesize): Likewise.
28469 * misc/gethostid.c (gethostid): Likewise.
28470 * misc/getpagesize.c (__getpagesize): Likewise.
28471 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28472 (__get_nprocs): Likewise.
28473 (__get_phys_pages): Likewise.
28474 (__get_avphys_pages): Likewise.
28475 * misc/getttyent.c (getttyent): Likewise.
28476 (setttyent): Likewise.
28477 (endttyent): Likewise.
28478 * misc/getusershell.c (getusershell): Likewise.
28479 (endusershell): Likewise.
28480 (setusershell): Likewise.
28481 (initshells): Likewise.
28482 * misc/hsearch.c (__hdestroy): Likewise.
28483 * misc/sync.c (sync): Likewise.
28484 * misc/syslog.c (closelog_internal): Likewise.
28485 (closelog): Likewise.
28486 * misc/ttyslot.c (ttyslot): Likewise.
28487 * misc/vhangup.c (vhangup): Likewise.
28488 * posix/fork.c (__fork): Likewise.
28489 * posix/getegid.c (__getegid): Likewise.
28490 * posix/geteuid.c (__geteuid): Likewise.
28491 * posix/getgid.c (__getgid): Likewise.
28492 * posix/getpid.c (__getpid): Likewise.
28493 * posix/getppid.c (__getppid): Likewise.
28494 * posix/getuid.c (__getuid): Likewise.
28495 * posix/pause.c (pause): Likewise.
28496 * posix/setpgrp.c (setpgrp): Likewise.
28497 * posix/setsid.c (__setsid): Likewise.
28498 * posix/test-vfork.c (noop): Likewise.
28499 * resolv/gethnamaddr.c (_endhtent): Likewise.
28500 (_gethtent): Likewise.
28501 (ht_endhostent): Likewise.
28502 (gethostent): Likewise.
28503 (dns_service): Likewise.
28504 * stdlib/drand48.c (drand48): Likewise.
28505 * stdlib/lrand48.c (lrand48): Likewise.
28506 * stdlib/mrand48.c (mrand48): Likewise.
28507 * stdlib/rand.c (rand): Likewise.
28508 * stdlib/random.c (__random): Likewise.
28509 * stdlib/setenv.c (clearenv): Likewise.
28510 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28511 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28512 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28513 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28514 (__get_nprocs): Likewise.
28515 (__get_phys_pages): Likewise.
28516 (__get_avphys_pages): Likewise.
28517 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28518 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28519 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28520 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28521 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28522 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28523 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28524 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28525 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28526 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28527 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28528 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28529 * sysdeps/posix/clock.c (clock): Likewise.
28530 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28531 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28532 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28533 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28534 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28536 (__get_nprocs_conf): Likewise.
28537 (__get_phys_pages): Likewise.
28538 (__get_avphys_pages): Likewise.
28539 * time/clock.c (clock): Likewise.
28540 * time/tzset.c (__tzname_max): Likewise.
28541
2e09a79a
JM
285422013-06-07 Joseph Myers <joseph@codesourcery.com>
28543
28544 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28545 (__bswap_32): Do not use "register".
28546 * crypt/crypt.c (_ufc_doit_r): Likewise.
28547 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28548 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28549 * gmon/gmon.c (__monstartup): Likewise.
28550 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28551 * hurd/hurdmalloc.c (more_memory): Likewise.
28552 (malloc): Likewise.
28553 (free): Likewise.
28554 (realloc): Likewise.
28555 (malloc_fork_prepare): Likewise.
28556 (malloc_fork_parent): Likewise.
28557 (malloc_fork_child): Likewise.
28558 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28559 (_svcauth_des): Likewise.
28560 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28561 * inet/inet_net.c (inet_network): Likewise.
28562 * inet/inet_netof.c (inet_netof): Likewise.
28563 * inet/rcmd.c (__validuser2_sa): Likewise.
28564 * io/fts.c (fts_open): Likewise.
28565 (fts_load): Likewise.
28566 (fts_close): Likewise.
28567 (fts_read): Likewise.
28568 (fts_children): Likewise.
28569 (fts_build): Likewise.
28570 (fts_stat): Likewise.
28571 (fts_sort): Likewise.
28572 (fts_alloc): Likewise.
28573 (fts_lfree): Likewise.
28574 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28575 (_IO_file_xsgetn): Likewise.
28576 (_IO_file_xsgetn_mmap): Likewise.
28577 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28578 (_IO_cookie_write): Likewise.
28579 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28580 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28581 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28582 * malloc/obstack.c (_obstack_begin): Likewise.
28583 (_obstack_begin_1): Likewise.
28584 (_obstack_newchunk): Likewise.
28585 (_obstack_allocated_p): Likewise.
28586 (obstack_free): Likewise.
28587 (_obstack_memory_used): Likewise.
28588 * misc/getttyent.c (getttynam): Likewise.
28589 (getttyent): Likewise.
28590 (skip): Likewise.
28591 (value): Likewise.
28592 * misc/getusershell.c (initshells): Likewise.
28593 * misc/syslog.c (__vsyslog_chk): Likewise.
28594 * misc/ttyslot.c (ttyslot): Likewise.
28595 * nis/nis_hash.c (__nis_hash): Likewise.
28596 * posix/fnmatch_loop.c (FCT): Likewise.
28597 * posix/getconf.c (print_all): Likewise.
28598 (main): Likewise.
28599 * posix/getopt.c (exchange): Likewise.
28600 * posix/glob.c (globfree): Likewise.
28601 (prefix_array): Likewise.
28602 (__glob_pattern_type): Likewise.
28603 * resolv/arpa/nameser.h (NS_GET16): Likewise.
28604 (NS_GET32): Likewise.
28605 (NS_PUT16): Likewise.
28606 (NS_PUT32): Likewise.
28607 * resolv/gethnamaddr.c (getanswer): Likewise.
28608 (gethostbyname2): Likewise.
28609 (gethostbyaddr): Likewise.
28610 (_gethtent): Likewise.
28611 (_gethtbyname2): Likewise.
28612 (_gethtbyaddr): Likewise.
28613 * resolv/ns_print.c (dst_s_get_int16): Likewise.
28614 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28615 * resolv/res_init.c (__res_vinit): Likewise.
28616 (net_mask): Likewise.
28617 * resolv/res_mkquery.c (outchar): Likewise.
28618 (PRINT): Likewise.
28619 * stdio-common/printf_fp.c (outchar): Likewise.
28620 (PRINT): Likewise.
28621 * stdio-common/printf_fphex.c (outchar): Likewise.
28622 (PRINT): Likewise.
28623 * stdio-common/printf_size.c (outchar): Likewise.
28624 (PRINT): Likewise.
28625 * stdio-common/test_rdwr.c (main): Likewise.
28626 * stdio-common/tfformat.c (matches): Likewise.
28627 * stdio-common/vfprintf.c (outchar): Likewise.
28628 (printf_unknown): Likewise.
28629 (buffered_vfprintf): Likewise.
28630 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28631 * stdio-common/xbug.c (AppendToBuffer): Likewise.
28632 (ReadFile): Likewise.
28633 * stdlib/qsort.c (SWAP): Likewise.
28634 (_quicksort): Likewise.
28635 * stdlib/setenv.c (__add_to_environ): Likewise.
28636 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28637 * stdlib/strtol_l.c (__strtol_l): Likewise.
28638 * stdlib/tst-strtod.c (main): Likewise.
28639 * stdlib/tst-strtol.c (main): Likewise.
28640 * stdlib/tst-strtoll.c (main): Likewise.
28641 * string/bits/string2.h (__strcmp_cc): Likewise.
28642 (__strcmp_cg): Likewise.
28643 (__strcspn_c1): Likewise.
28644 (__strcspn_c2): Likewise.
28645 (__strcspn_c3): Likewise.
28646 (__strspn_c1): Likewise.
28647 (__strspn_c2): Likewise.
28648 (__strspn_c3): Likewise.
28649 (__strsep_1c): Likewise.
28650 (__strsep_2c): Likewise.
28651 (__strsep_3c): Likewise.
28652 * string/memccpy.c (__memccpy): Likewise.
28653 * string/stpcpy.c (__stpcpy): Likewise.
28654 * string/strcmp.c (strcmp): Likewise.
28655 * string/strrchr.c (strrchr): Likewise.
28656 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28657 Likewise.
28658 * sysdeps/mach/hurd/getcwd.c
28659 (_hurd_canonicalize_directory_name_internal): Likewise.
28660 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28661 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28662 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28663 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28664 Likewise, in both definitions.
28665 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28666 definitions.
28667 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28668 64] (__bswap_64): Likewise.
28669 * time/test_time.c (main): Likewise.
28670 * time/tzfile.c (__tzfile_read): Likewise.
28671 (__tzfile_compute): Likewise.
28672 * time/tzset.c (__tzset_parse_tz): Likewise.
28673 (tzset_internal): Likewise.
28674 (compute_change): Likewise.
28675 * wcsmbs/wcscat.c (__wcscat): Likewise.
28676 * wcsmbs/wcschr.c (wcschr): Likewise.
28677 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28678 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28679 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28680 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28681 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28682 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28683 * wcsmbs/wmemchr.c (wmemchr): Likewise.
28684 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28685 * wcsmbs/wmemset.c (wmemset): Likewise.
28686
9e54314b
JM
286872013-06-06 Joseph Myers <joseph@codesourcery.com>
28688
28689 * scripts/config.guess: Update to version 2013-05-16.
28690 * scripts/config.sub: Update to version 2013-04-24.
28691 * scripts/install-sh: Update to version 2011-11-20.07.
28692 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28693 * scripts/move-if-change: Update to version 2012-01-06 07:23.
28694
350635a5
OB
286952013-06-06 Ondřej Bílka <neleai@seznam.cz>
28696
28697 * debug/fgetws_u_chk.c: Fix leading whitespaces.
28698 * elf/sln.c: Likewise.
28699 * hurd/hurd/ioctl.h: Likewise.
28700 * hurd/hurdmalloc.c: Likewise.
28701 * hurd/xattr.c: Likewise.
28702 * include/shlib-compat.h: Likewise.
28703 * inet/ruserpass.c: Likewise.
28704 * libio/iofgets_u.c: Likewise.
28705 * libio/iofgetws_u.c: Likewise.
28706 * locale/programs/ld-identification.c: Likewise.
28707 * locale/programs/ld-time.c: Likewise.
28708 * mach/msg-destroy.c: Likewise.
28709 * nss/nss_files/files-netgrp.c: Likewise.
28710 * resolv/res_data.c: Likewise.
28711 * soft-fp/op-1.h: Likewise.
28712 * soft-fp/op-2.h: Likewise.
28713 * soft-fp/op-4.h: Likewise.
28714 * soft-fp/op-common.h: Likewise.
28715 * stdio-common/printf_fphex.c: Likewise.
28716 * stdlib/strtod_l.c: Likewise.
28717 * sunrpc/rpc/clnt.h: Likewise.
28718 * sysdeps/generic/framestate.c: Likewise.
28719 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28720 * sysdeps/i386/bsd-setjmp.S: Likewise.
28721 * sysdeps/i386/__longjmp.S: Likewise.
28722 * sysdeps/i386/setjmp.S: Likewise.
28723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28724 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28725 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28741 * sysdeps/ieee754/support.c: Likewise.
28742 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28743 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28744 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28745 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28746 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28747 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28748 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28749 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28750 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28751 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28752 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28753 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28754 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28755 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28756 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28757 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28758 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28760
44a988af
OB
287612013-06-05 Ondřej Bílka <neleai@seznam.cz>
28762
25506f09 28763 * posix/transbug.c: Remove executable mode.
44a988af 28764
9c84384c
JM
287652013-06-05 Joseph Myers <joseph@codesourcery.com>
28766
28767 * crypt/speeds.c: Remove trailing whitespace.
28768 * dlfcn/default.c: Likewise.
28769 * elf/ifuncdep2.c: Likewise.
28770 * elf/ifuncmain1.c: Likewise.
28771 * elf/ifuncmain1vis.c: Likewise.
28772 * elf/testobj.h: Likewise.
28773 * elf/tst-stackguard1.c: Likewise.
28774 * gmon/sys/gmon.h: Likewise.
28775 * hurd/hurdmsg.c: Likewise.
28776 * hurd/new-fd.c: Likewise.
28777 * hurd/ports-get.c: Likewise.
28778 * iconvdata/ibm1008_420.c: Likewise.
28779 * inet/tst-getni1.c: Likewise.
28780 * inet/tst-getni2.c: Likewise.
28781 * libio/ioungetc.c: Likewise.
28782 * libio/wfiledoalloc.c: Likewise.
28783 * manual/libm-err-tab.pl: Likewise.
28784 * math/w_dremf.c: Likewise.
28785 * misc/ftruncate.c: Likewise.
28786 * posix/bug-glob2.c: Likewise.
28787 * posix/tst-pcre.c: Likewise.
28788 * posix/wait4.c: Likewise.
28789 * resolv/README: Likewise.
28790 * resolv/res_debug.h: Likewise.
28791 * resolv/tst-inet_ntop.c: Likewise.
28792 * setjmp/bug269-setjmp.c: Likewise.
28793 * soft-fp/extended.h: Likewise.
28794 * soft-fp/op-1.h: Likewise.
28795 * soft-fp/op-2.h: Likewise.
28796 * soft-fp/op-4.h: Likewise.
28797 * soft-fp/op-8.h: Likewise.
28798 * soft-fp/testit.c: Likewise.
28799 * stdio-common/bug16.c: Likewise.
28800 * stdlib/random.c: Likewise.
28801 * sunrpc/rpcsvc/rquota.x: Likewise.
28802 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28803 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28804 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28805 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28806 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28807 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28808 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28809 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28810 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28811 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28812 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28831 * sysdeps/ieee754/s_lib_version.c: Likewise.
28832 * sysdeps/mach/hurd/check_fds.c: Likewise.
28833 * sysdeps/mach/hurd/getsockname.c: Likewise.
28834 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28835 * sysdeps/mach/hurd/recvfrom.c: Likewise.
28836 * sysdeps/powerpc/bits/link.h: Likewise.
28837 * sysdeps/powerpc/dl-procinfo.c: Likewise.
28838 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28839 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28840 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28841 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28842 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28843 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28844 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28845 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28846 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28847 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28848 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28849 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28850 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28851 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28852 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28853 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28856 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28857 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28858 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28859 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28860 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28861 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28862 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28863 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28864 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28866 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28867 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28868 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28869 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28870 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28871 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28872 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28873 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28874 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28875 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28877 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28878 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28879 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28880 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28881 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28882 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28883 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28884 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28885 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28886 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28887 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28889 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28890 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28891 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28892 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28893 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28894 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28896 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28897 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28899 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28900 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28901 * sysdeps/powerpc/sysdep.h: Likewise.
28902 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28903 * sysdeps/s390/s390-64/sub_n.S: Likewise.
28904 * sysdeps/sh/dl-trampoline.S: Likewise.
28905 * sysdeps/sh/memset.S: Likewise.
28906 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28907 * sysdeps/sh/strlen.S: Likewise.
28908 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28909 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28910 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28911 * sysdeps/sparc/sparc32/rem.S: Likewise.
28912 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28913 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28914 * sysdeps/sparc/sparc32/strchr.S: Likewise.
28915 * sysdeps/sparc/sparc32/udiv.S: Likewise.
28916 * sysdeps/sparc/sparc32/urem.S: Likewise.
28917 * sysdeps/sparc/sparc64/add_n.S: Likewise.
28918 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28919 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28920 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28921 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28922 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28923 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28924 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28925 * sysdeps/unix/bsd/times.c: Likewise.
28926 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28927 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28931 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28932 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28933 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28934 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28935 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28936 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28937 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28938 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28939 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28940 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28941 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28942 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28943 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28944 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28945 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28946 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28947 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28948 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28949 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28950 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28951 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28952 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28953 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28954 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28955 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28956 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28957 * sysdeps/x86_64/strcspn.S: Likewise.
28958
869378a5
RA
289592013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28960
28961 * locale/C-translit.h: Revert #include <stdint.h> because this is a
28962 generated file. Regenerate properly from gen-translit.pl.
28963 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
28964 locale/C-translit.h.
28965
840e2943
AS
289662013-06-05 Andreas Schwab <schwab@suse.de>
28967
28968 [BZ #15100]
28969 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28970 week as 6 instead of -1.
28971 * time/tst-strptime.c (day_tests): Add test case.
28972
4c60cb0c
SP
289732013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28974
28975 * sysdeps/generic/math_private.h
28976 (libc_feholdexcept_setround_53bit): Replace with
28977 libc_feholdsetround_53bit.
28978 (libc_feupdateenv_53bit): Replace with
28979 libc_feresetround_53bit.
28980 (SET_RESTORE_ROUND_53BIT): Adjust.
28981
d180203e
SP
289822013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28983
96df079a
SP
28984 * string/test-strchrnul.c: Add copyright header.
28985
d180203e
SP
28986 * posix/tst-getaddrinfo4.c: Increase test timeout.
28987
8b0ccb2d
CD
289882013-06-03 Carlos O'Donell <carlos@redhat.com>
28989
28990 [BZ #15536]
28991 * math/libm-test.inc (MAX_EXP): Remove
28992 (MIN_EXP): Define.
28993 (ulp): Use MIN_EXP - MANT_DIG.
28994 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28995
3b3c4d40
CD
289962013-05-31 Carlos O'Donell <carlos@redhat.com>
28997
28998 * po/be.po: Revert last change.
28999 * po/zh_CN.po: Likewise.
29000 * po/header.pot: Likewise.
29001
fab7ce3f
JM
290022013-05-31 Joseph Myers <joseph@codesourcery.com>
29003
29004 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29005 link-libc-deps to empty as target-specific variable.
29006 * Makerules (link-libc-args): New variable.
29007 (libc-for-link): Likewise.
29008 (link-libc-deps): Likewise.
29009 (lib%.so): Depend on $(link-libc-deps). Link with
29010 $(link-libc-args).
29011 (build-module): Link with $(link-libc-args).
29012 (build-module-asneeded): Likewise.
29013 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29014 list of objects.
29015 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29016 target-specific variable.
29017 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29018 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29019 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29020 libc.
29021 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29022 libc and ld.so.
29023 ($(objpfx)libpcprofile.so): Likewise.
29024 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29025 libc_nonshared.a.
29026 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29027 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29028 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29029 $(link-libc-deps).
29030 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29031 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29032 * login/Makefile ($(objpfx)libutil.so): Likewise.
29033 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29034 * math/Makefile ($(objpfx)libm.so): Likewise.
29035 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29036 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29037 variable instead of depending directly on libc.
29038 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29039 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29040 $(link-libc-deps).
29041 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29042 libc.
29043 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29044 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29045 ($(objpfx)libanl.so): Likewise.
29046 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29047 ld.so.
29048 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29049 $(link-libc-deps).
29050 * sysdeps/i386/fpu/Makefile: Remove file.
29051 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29052 ($(objpfx)libm.so): Remove dependency on ld.so.
29053
eca5920c
PF
290542013-05-30 Patsy Franklin <pfrankli@redhat.com>
29055
29056 [BZ # 15553]
29057 * nis/yp_xdr.c (XDRMAXNAME): Define.
29058 (XDRMAXRECORD): Define.
29059 (xdr_domainname): Use XDRMAXNAME.
29060 (xdr_mapname): Likewise.
29061 (xdr_peername): Likewise.
29062 (xdr_keydat): Use XDRMAXRECORD.
29063 (xdr_valdat): Likewise.
29064
290652013-05-30 Jeff Law <law@redhat.com>
96945714
JL
29066
29067 [BZ #14256]
29068 * manual/errno.texi (ESTALE): Update to account for more than
29069 just NFS file systems.
29070 * sysdeps/gnu/errlist.c: Regenerated.
29071
b9375348
SP
290722013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29073
29074 [BZ #15465]
29075 * elf/Makefile (tests): Add tst-null-argv.
29076 (modules-names): Add tst-null-argv-lib.
29077 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29078 (tst-null-argv-ENV): Set environment for tst-null-argv.
29079 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29080 (RTLD_PROGNAME): New macro.
29081 * elf/tst-null-argv.c: New test case.
29082 * elf/tst-null-argv-lib.c: Library for test case.
29083 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29084 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29085 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29086 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29087 * elf/dl-init.c (call_init): Likewise.
29088 (_dl_init): Likewise.
29089 * elf/dl-load.c (print_search_path): Likewise.
29090 (_dl_map_object): Likewise.
29091 * elf/dl-lookup.c (do_lookup_x): Likewise.
29092 (add_dependency): Likewise.
29093 (_dl_lookup_symbol_x): Likewise.
29094 (_dl_debug_bindings): Likewise.
29095 * elf/dl-open.c (_dl_show_scope): Likewise.
29096 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29097 * elf/dl-version.c (match_symbol): Likewise.
29098 (_dl_check_map_versions): Likewise.
29099 * elf/rtld.c (dl_main): Likewise.
29100 (print_unresolved): Use RTLD_PROGNAME.
29101 (print_missing_version): Likewise.
29102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29103 (elf_machine_rela): Likewise.
29104 * sysdeps/powerpc/powerpc32/dl-machine.c
29105 (__process_machine_rela): Likewise.
29106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29107 Likewise.
29108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29109 Likewise.
29110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29111 Likewise.
29112 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29113 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29114 Likewise.
29115 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29116 Likewise.
29117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29118
8a9f20c8
CD
291192013-05-28 Carlos O'Donell <carlos@redhat.com>
29120
29121 * po/be.po: Add descriptive title.
29122 * po/zh_CN.po: Likewise.
29123 * po/header.pot: Likewise.
29124
0e60d68e
MF
291252013-05-28 Mike Frysinger <vapier@gentoo.org>
29126
29127 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29128 error message.
29129 (enlarge_archive): Likewise.
29130
56b672e9
BN
291312013-05-28 Ben North <ben@redfrontdoor.org>
29132
29133 * manual/arith.texi (frexp): It is the magnitude of the return
29134 value which lies in [0.5, 1), not the return value itself.
29135
5e056687
AZ
291362013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29137
29138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29139
2b66ef5d
TS
291402013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29141
528c2405
TS
29142 * stdio-common/bug26.c (main): Correct fscanf template.
29143
07b4c13d
TS
29144 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29145 declare _dl_skip_args.
29146
ec9dd97c
TS
29147 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29148 Don't declare.
29149
2b66ef5d
TS
29150 * manual/platform.texi: Add missing @end deftypefun.
29151
4f8dfe27
JM
291522013-05-24 Joseph Myers <joseph@codesourcery.com>
29153
0323d086
JM
29154 [BZ #15529]
29155 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29156 bit of mantissa of 2^16382.
29157 * math/libm-test.inc (hypot_test_data): Add more tests.
29158
dd4259b9
JM
29159 * math/libm-test.inc: Add drem and pow10 to list of tested
29160 functions.
29161 (pow10_test): New function.
29162 (drem_test): Likewise.
29163 (drem_test_tonearest): Likewise.
29164 (drem_test_towardzero): Likewise.
29165 (drem_test_downward): Likewise.
29166 (drem_test_upward): Likewise.
29167 (main): Call the new functions.
29168
4f8dfe27
JM
29169 * math/libm-test.inc (finite_test_data): Remove.
29170 (finite_test): Run tests from isfinite_test_data.
29171 (gamma_test_data): Remove.
29172 (gamma_test): Run tests from lgamma_test_data.
29173 * sysdeps/i386/fpu/libm-test-ulps: Update.
29174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29175
d116b7c4
AZ
291762013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29177
29178 * manual/platform.texi: Add PowerPC PPR function set documentation.
29179 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29180 implementation.
29181
e96e3767
CD
291822013-05-24 Carlos O'Donell <carlos@redhat.com>
29183
29184 * math/libm-test.inc (MAX_EXP): Define.
29185 (ULPDIFF): Define.
29186 (ulp): New function.
29187 (check_float_internal): Use ULPDIFF.
29188 (cpow_test): Disable failing test.
29189 (check_ulp): Test ulp() implemetnation.
29190 (main): Call check_ulp before starting tests.
29191
b679a606
JM
291922013-05-24 Joseph Myers <joseph@codesourcery.com>
29193
e8bdba36
JM
29194 * math/gen-libm-test.pl (generate_testfile): Do not handle
29195 START_DATA and END_DATA.
29196 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29197 END_DATA.
29198 (acos_tonearest_test_data): Likewise.
29199 (acos_towardzero_test_data): Likewise.
29200 (acos_downward_test_data): Likewise.
29201 (acos_upward_test_data): Likewise.
29202 (acosh_test_data): Likewise.
29203 (asin_test_data): Likewise.
29204 (asin_tonearest_test_data): Likewise.
29205 (asin_towardzero_test_data): Likewise.
29206 (asin_downward_test_data): Likewise.
29207 (asin_upward_test_data): Likewise.
29208 (asinh_test_data): Likewise.
29209 (atan_test_data): Likewise.
29210 (atanh_test_data): Likewise.
29211 (atan2_test_data): Likewise.
29212 (cabs_test_data): Likewise.
29213 (cacos_test_data): Likewise.
29214 (cacosh_test_data): Likewise.
29215 (carg_test_data): Likewise.
29216 (casin_test_data): Likewise.
29217 (casinh_test_data): Likewise.
29218 (catan_test_data): Likewise.
29219 (catanh_test_data): Likewise.
29220 (cbrt_test_data): Likewise.
29221 (ccos_test_data): Likewise.
29222 (ccosh_test_data): Likewise.
29223 (ceil_test_data): Likewise.
29224 (cexp_test_data): Likewise.
29225 (cimag_test_data): Likewise.
29226 (clog_test_data): Likewise.
29227 (clog10_test_data): Likewise.
29228 (conj_test_data): Likewise.
29229 (copysign_test_data): Likewise.
29230 (cos_test_data): Likewise.
29231 (cos_tonearest_test_data): Likewise.
29232 (cos_towardzero_test_data): Likewise.
29233 (cos_downward_test_data): Likewise.
29234 (cos_upward_test_data): Likewise.
29235 (cosh_test_data): Likewise.
29236 (cosh_tonearest_test_data): Likewise.
29237 (cosh_towardzero_test_data): Likewise.
29238 (cosh_downward_test_data): Likewise.
29239 (cosh_upward_test_data): Likewise.
29240 (cpow_test_data): Likewise.
29241 (cproj_test_data): Likewise.
29242 (creal_test_data): Likewise.
29243 (csin_test_data): Likewise.
29244 (csinh_test_data): Likewise.
29245 (csqrt_test_data): Likewise.
29246 (ctan_test_data): Likewise.
29247 (ctan_tonearest_test_data): Likewise.
29248 (ctan_towardzero_test_data): Likewise.
29249 (ctan_downward_test_data): Likewise.
29250 (ctan_upward_test_data): Likewise.
29251 (ctanh_test_data): Likewise.
29252 (ctanh_tonearest_test_data): Likewise.
29253 (ctanh_towardzero_test_data): Likewise.
29254 (ctanh_downward_test_data): Likewise.
29255 (ctanh_upward_test_data): Likewise.
29256 (erf_test_data): Likewise.
29257 (erfc_test_data): Likewise.
29258 (exp_test_data): Likewise.
29259 (exp_tonearest_test_data): Likewise.
29260 (exp_towardzero_test_data): Likewise.
29261 (exp_downward_test_data): Likewise.
29262 (exp_upward_test_data): Likewise.
29263 (exp10_test_data): Likewise.
29264 (exp2_test_data): Likewise.
29265 (expm1_test_data): Likewise.
29266 (fabs_test_data): Likewise.
29267 (fdim_test_data): Likewise.
29268 (finite_test_data): Likewise.
29269 (floor_test_data): Likewise.
29270 (fma_test_data): Likewise.
29271 (fma_towardzero_test_data): Likewise.
29272 (fma_downward_test_data): Likewise.
29273 (fma_upward_test_data): Likewise.
29274 (fmax_test_data): Likewise.
29275 (fmin_test_data): Likewise.
29276 (fmod_test_data): Likewise.
29277 (fpclassify_test_data): Likewise.
29278 (frexp_test_data): Likewise.
29279 (gamma_test_data): Likewise.
29280 (hypot_test_data): Likewise.
29281 (ilogb_test_data): Likewise.
29282 (isfinite_test_data): Likewise.
29283 (isgreater_test_data): Likewise.
29284 (isgreaterequal_test_data): Likewise.
29285 (isinf_test_data): Likewise.
29286 (isless_test_data): Likewise.
29287 (islessequal_test_data): Likewise.
29288 (islessgreater_test_data): Likewise.
29289 (isnan_test_data): Likewise.
29290 (isnormal_test_data): Likewise.
29291 (issignaling_test_data): Likewise.
29292 (isunordered_test_data): Likewise.
29293 (j0_test_data): Likewise.
29294 (j1_test_data): Likewise.
29295 (jn_test_data): Likewise.
29296 (ldexp_test_data): Likewise.
29297 (lgamma_test_data): Likewise.
29298 (lrint_test_data): Likewise.
29299 (lrint_tonearest_test_data): Likewise.
29300 (lrint_towardzero_test_data): Likewise.
29301 (lrint_downward_test_data): Likewise.
29302 (lrint_upward_test_data): Likewise.
29303 (llrint_test_data): Likewise.
29304 (llrint_tonearest_test_data): Likewise.
29305 (llrint_towardzero_test_data): Likewise.
29306 (llrint_downward_test_data): Likewise.
29307 (llrint_upward_test_data): Likewise.
29308 (log_test_data): Likewise.
29309 (log10_test_data): Likewise.
29310 (log1p_test_data): Likewise.
29311 (log2_test_data): Likewise.
29312 (logb_test_data): Likewise.
29313 (logb_downward_test_data): Likewise.
29314 (lround_test_data): Likewise.
29315 (llround_test_data): Likewise.
29316 (modf_test_data): Likewise.
29317 (nearbyint_test_data): Likewise.
29318 (nextafter_test_data): Likewise.
29319 (nexttoward_test_data): Likewise.
29320 (pow_test_data): Likewise.
29321 (pow_tonearest_test_data): Likewise.
29322 (pow_towardzero_test_data): Likewise.
29323 (pow_downward_test_data): Likewise.
29324 (pow_upward_test_data): Likewise.
29325 (remainder_test_data): Likewise.
29326 (remainder_tonearest_test_data): Likewise.
29327 (remainder_towardzero_test_data): Likewise.
29328 (remainder_downward_test_data): Likewise.
29329 (remainder_upward_test_data): Likewise.
29330 (remquo_test_data): Likewise.
29331 (rint_test_data): Likewise.
29332 (rint_tonearest_test_data): Likewise.
29333 (rint_towardzero_test_data): Likewise.
29334 (rint_downward_test_data): Likewise.
29335 (rint_upward_test_data): Likewise.
29336 (round_test_data): Likewise.
29337 (scalb_test_data): Likewise.
29338 (scalbn_test_data): Likewise.
29339 (scalbln_test_data): Likewise.
29340 (signbit_test_data): Likewise.
29341 (sin_test_data): Likewise.
29342 (sin_tonearest_test_data): Likewise.
29343 (sin_towardzero_test_data): Likewise.
29344 (sin_downward_test_data): Likewise.
29345 (sin_upward_test_data): Likewise.
29346 (sincos_test_data): Likewise.
29347 (sinh_test_data): Likewise.
29348 (sinh_tonearest_test_data): Likewise.
29349 (sinh_towardzero_test_data): Likewise.
29350 (sinh_downward_test_data): Likewise.
29351 (sinh_upward_test_data): Likewise.
29352 (sqrt_test_data): Likewise.
29353 (tan_test_data): Likewise.
29354 (tan_tonearest_test_data): Likewise.
29355 (tan_towardzero_test_data): Likewise.
29356 (tan_downward_test_data): Likewise.
29357 (tan_upward_test_data): Likewise.
29358 (tanh_test_data): Likewise.
29359 (tgamma_test_data): Likewise.
29360 (trunc_test_data): Likewise.
29361 (y0_test_data): Likewise.
29362 (y1_test_data): Likewise.
29363 (yn_test_data): Likewise.
29364 (significand_test_data): Likewise.
29365
b679a606
JM
29366 * math/gen-libm-test.pl (@functions): Remove variable.
29367 (generate_testfile): Don't handle START and END lines.
29368 * math/libm-test.inc (START): New macro.
29369 (END): Likewise.
29370 (END_COMPLEX): Likewise.
29371 (acos_test): Use END macro without arguments.
29372 (acos_test_tonearest): Likewise.
29373 (acos_test_towardzero): Likewise.
29374 (acos_test_downward): Likewise.
29375 (acos_test_upward): Likewise.
29376 (acosh_test): Likewise.
29377 (asin_test): Likewise.
29378 (asin_test_tonearest): Likewise.
29379 (asin_test_towardzero): Likewise.
29380 (asin_test_downward): Likewise.
29381 (asin_test_upward): Likewise.
29382 (asinh_test): Likewise.
29383 (atan_test): Likewise.
29384 (atanh_test): Likewise.
29385 (atan2_test): Likewise.
29386 (cabs_test): Likewise.
29387 (cacos_test): Use END_COMPLEX macro without arguments.
29388 (cacosh_test): Likewise.
29389 (carg_test): Use END macro without arguments.
29390 (casin_test): Use END_COMPLEX macro without arguments.
29391 (casinh_test): Likewise.
29392 (catan_test): Likewise.
29393 (catanh_test): Likewise.
29394 (cbrt_test): Use END macro without arguments.
29395 (ccos_test): Use END_COMPLEX macro without arguments.
29396 (ccosh_test): Likewise.
29397 (ceil_test): Use END macro without arguments.
29398 (cexp_test): Use END_COMPLEX macro without arguments.
29399 (cimag_test): Use END macro without arguments.
29400 (clog_test): Use END_COMPLEX macro without arguments.
29401 (clog10_test): Likewise.
29402 (conj_test): Likewise.
29403 (copysign_test): Use END macro without arguments.
29404 (cos_test): Likewise.
29405 (cos_test_tonearest): Likewise.
29406 (cos_test_towardzero): Likewise.
29407 (cos_test_downward): Likewise.
29408 (cos_test_upward): Likewise.
29409 (cosh_test): Likewise.
29410 (cosh_test_tonearest): Likewise.
29411 (cosh_test_towardzero): Likewise.
29412 (cosh_test_downward): Likewise.
29413 (cosh_test_upward): Likewise.
29414 (cpow_test): Use END_COMPLEX macro without arguments.
29415 (cproj_test): Likewise.
29416 (creal_test): Use END macro without arguments.
29417 (csin_test): Use END_COMPLEX macro without arguments.
29418 (csinh_test): Likewise.
29419 (csqrt_test): Likewise.
29420 (ctan_test): Likewise.
29421 (ctan_test_tonearest): Likewise.
29422 (ctan_test_towardzero): Likewise.
29423 (ctan_test_downward): Likewise.
29424 (ctan_test_upward): Likewise.
29425 (ctanh_test): Likewise.
29426 (ctanh_test_tonearest): Likewise.
29427 (ctanh_test_towardzero): Likewise.
29428 (ctanh_test_downward): Likewise.
29429 (ctanh_test_upward): Likewise.
29430 (erf_test): Use END macro without arguments.
29431 (erfc_test): Likewise.
29432 (exp_test): Likewise.
29433 (exp_test_tonearest): Likewise.
29434 (exp_test_towardzero): Likewise.
29435 (exp_test_downward): Likewise.
29436 (exp_test_upward): Likewise.
29437 (exp10_test): Likewise.
29438 (exp2_test): Likewise.
29439 (expm1_test): Likewise.
29440 (fabs_test): Likewise.
29441 (fdim_test): Likewise.
29442 (finite_test): Likewise.
29443 (floor_test): Likewise.
29444 (fma_test): Likewise.
29445 (fma_test_towardzero): Likewise.
29446 (fma_test_downward): Likewise.
29447 (fma_test_upward): Likewise.
29448 (fmax_test): Likewise.
29449 (fmin_test): Likewise.
29450 (fmod_test): Likewise.
29451 (fpclassify_test): Likewise.
29452 (frexp_test): Likewise.
29453 (gamma_test): Likewise.
29454 (hypot_test): Likewise.
29455 (ilogb_test): Likewise.
29456 (isfinite_test): Likewise.
29457 (isgreater_test): Likewise.
29458 (isgreaterequal_test): Likewise.
29459 (isinf_test): Likewise.
29460 (isless_test): Likewise.
29461 (islessequal_test): Likewise.
29462 (islessgreater_test): Likewise.
29463 (isnan_test): Likewise.
29464 (isnormal_test): Likewise.
29465 (issignaling_test): Likewise.
29466 (isunordered_test): Likewise.
29467 (j0_test): Likewise.
29468 (j1_test): Likewise.
29469 (jn_test): Likewise.
29470 (ldexp_test): Likewise.
29471 (lgamma_test): Likewise.
29472 (lrint_test): Likewise.
29473 (lrint_test_tonearest): Likewise.
29474 (lrint_test_towardzero): Likewise.
29475 (lrint_test_downward): Likewise.
29476 (lrint_test_upward): Likewise.
29477 (llrint_test): Likewise.
29478 (llrint_test_tonearest): Likewise.
29479 (llrint_test_towardzero): Likewise.
29480 (llrint_test_downward): Likewise.
29481 (llrint_test_upward): Likewise.
29482 (log_test): Likewise.
29483 (log10_test): Likewise.
29484 (log1p_test): Likewise.
29485 (log2_test): Likewise.
29486 (logb_test): Likewise.
29487 (logb_test_downward): Likewise.
29488 (lround_test): Likewise.
29489 (llround_test): Likewise.
29490 (modf_test): Likewise.
29491 (nearbyint_test): Likewise.
29492 (nextafter_test): Likewise.
29493 (nexttoward_test): Likewise.
29494 (pow_test): Likewise.
29495 (pow_test_tonearest): Likewise.
29496 (pow_test_towardzero): Likewise.
29497 (pow_test_downward): Likewise.
29498 (pow_test_upward): Likewise.
29499 (remainder_test): Likewise.
29500 (remainder_test_tonearest): Likewise.
29501 (remainder_test_towardzero): Likewise.
29502 (remainder_test_downward): Likewise.
29503 (remainder_test_upward): Likewise.
29504 (remquo_test): Likewise.
29505 (rint_test): Likewise.
29506 (rint_test_tonearest): Likewise.
29507 (rint_test_towardzero): Likewise.
29508 (rint_test_downward): Likewise.
29509 (rint_test_upward): Likewise.
29510 (round_test): Likewise.
29511 (scalb_test): Likewise.
29512 (scalbn_test): Likewise.
29513 (scalbln_test): Likewise.
29514 (signbit_test): Likewise.
29515 (sin_test): Likewise.
29516 (sin_test_tonearest): Likewise.
29517 (sin_test_towardzero): Likewise.
29518 (sin_test_downward): Likewise.
29519 (sin_test_upward): Likewise.
29520 (sincos_test): Likewise.
29521 (sinh_test): Likewise.
29522 (sinh_test_tonearest): Likewise.
29523 (sinh_test_towardzero): Likewise.
29524 (sinh_test_downward): Likewise.
29525 (sinh_test_upward): Likewise.
29526 (sqrt_test): Likewise.
29527 (tan_test): Likewise.
29528 (tan_test_tonearest): Likewise.
29529 (tan_test_towardzero): Likewise.
29530 (tan_test_downward): Likewise.
29531 (tan_test_upward): Likewise.
29532 (tanh_test): Likewise.
29533 (tgamma_test): Likewise.
29534 (trunc_test): Likewise.
29535 (y0_test): Likewise.
29536 (y1_test): Likewise.
29537 (yn_test): Likewise.
29538 (significand_test): Likewise.
29539
bae143d2
OB
295402013-05-24 Ondřej Bílka <neleai@seznam.cz>
29541
29542 [BZ #15381]
29543 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29544
9323d39b
EM
295452013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29546
d4ea44a0 29547 [BZ #14894]
9323d39b
EM
29548 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29549 __ppc_mdoio and __ppc_mdoom.
29550 * manual/platform.texi: Document new functions __ppc_yield,
29551 __ppc_mdoio and __ppc_mdoom.
29552
13e23af7
CD
295532013-05-22 Carlos O'Donell <carlos@redhat.com>
29554
29555 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29556 (main): Mention "tls" pseudo-hwcap is legacy.
29557 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29558
351fe550
JM
295592013-05-22 Joseph Myers <joseph@codesourcery.com>
29560
29561 * math/gen-libm-test.pl (parse_args): Output only string of
29562 arguments as text for test name, not full call or descriptions of
29563 tests for extra outputs.
29564 (generate_testfile): Do not pass function name to parse_args.
29565 Generate this_func variable from START.
29566 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29567 field to arg_str.
29568 (struct test_ff_f_data): Likewise.
29569 (test_ff_f_data_nexttoward): Likewise.
29570 (struct test_fi_f_data): Likewise.
29571 (struct test_fl_f_data): Likewise.
29572 (struct test_if_f_data): Likewise.
29573 (struct test_fff_f_data): Likewise.
29574 (struct test_c_f_data): Likewise.
29575 (struct test_f_f1_data): Likewise. Remove field extra_name.
29576 (struct test_fF_f1_data): Likewise.
29577 (struct test_ffI_f1_data): Likewise.
29578 (struct test_c_c_data): Rename test_name field to arg_str.
29579 (struct test_cc_c_data): Likewise.
29580 (struct test_f_i_data): Likewise.
29581 (struct test_ff_i_data): Likewise.
29582 (struct test_f_l_data): Likewise.
29583 (struct test_f_L_data): Likewise.
29584 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
29585 and extra2_name.
29586 (COMMON_TEST_SETUP): New macro.
29587 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29588 (COMMON_TEST_CLEANUP): Likewise.
29589 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29590 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
29591 macros.
29592 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29593 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
29594 macros.
29595 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29596 (RUN_TEST_fff_f): Take argument string. Call new setup and
29597 cleanup macros.
29598 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29599 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
29600 macros.
29601 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29602 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
29603 macros.
29604 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29605 (RUN_TEST_fF_f1): Take argument string. Call new setup and
29606 cleanup macros.
29607 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29608 (RUN_TEST_fI_f1): Take argument string. Call new setup and
29609 cleanup macros.
29610 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29611 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
29612 cleanup macros.
29613 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29614 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
29615 macros.
29616 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29617 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
29618 macros.
29619 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29620 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
29621 macros.
29622 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29623 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
29624 cleanup macros.
29625 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29626 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
29627 cleanup macros.
29628 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29629 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
29630 macros.
29631 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29632 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
29633 cleanup macros.
29634 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29635 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
29636 macros.
29637 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29638 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
29639 macros.
29640 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29641 (RUN_TEST_fFF_11): Take argument string. Call new setup and
29642 cleanup macros.
29643 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29644
85118d4d
EBM
296452013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
29646
29647 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29648 to _sifields.sigfault.
29649 (si_addr_lsb): Define new macro.
29650 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29652 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29653
7a44c18f
CD
296542013-05-03 Carlos O'Donell <carlos at redhat.com>
29655
29656 [BZ #15441]
29657 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29658 returns -1.
29659 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29660 null return -1.
29661 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29662 loading the domain.
29663
b50a7181
JM
296642013-05-22 Joseph Myers <joseph@codesourcery.com>
29665
29666 * math/gen-libm-test.pl (parse_args): Do not include expected
29667 result in test name.
29668 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29670 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29671 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29672 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29674
051063c8
SP
296752013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29676
3ce9e010
SP
29677 * benchtests/Makefile: Sort function entries.
29678
051063c8
SP
29679 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29680 tanh, asinh, acosh, atanh.
29681 * benchtests/acos-inputs: New file.
29682 * benchtests/acosh-inputs: New file.
29683 * benchtests/asin-inputs: New file.
29684 * benchtests/asinh-inputs: New file.
29685 * benchtests/atanh-inputs: New file.
29686 * benchtests/cosh-inputs: New file.
29687 * benchtests/log-inputs: New file.
29688 * benchtests/sinh-inputs: New file.
29689 * benchtests/tanh-inputs: New file.
29690
47c22455
DL
296912013-05-21 Dmitry V. Levin <ldv@altlinux.org>
29692
29693 [BZ #15339]
29694 * posix/tst-getaddrinfo4.c: New test.
29695 * posix/Makefile (tests): Add it.
29696
3d04f5db
SP
296972013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29698
29699 [BZ #15339]
29700 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29701 when no services were used.
29702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29703 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29704
d5dd6189
AS
297052013-05-21 Andreas Schwab <schwab@suse.de>
29706
29707 [BZ #15014]
29708 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29709 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29710 successful.
29711 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29712 redundant variable declarations and reallocation of buffer when
29713 parsing as IPv6 address. Always set NSS status when called from
29714 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
29715 buffer too small. Correct computation of needed size.
29716 * nss/Makefile (tests): Add test-digits-dots.
29717 * nss/test-digits-dots.c: New test.
29718
fef94eab
SP
297192013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29720
29721 * benchtests/Makefile: Remove instructions for adding
29722 benchmark tests.
29723 * benchtests/README: New file to explain how to execute and
29724 enhance the benchmark tests.
29725
e39adf43
AS
297262013-05-21 Andreas Schwab <schwab@suse.de>
29727
29728 [BZ #15493]
29729 * setjmp/Makefile (tests): Add tst-sigsetjmp.
29730 * setjmp/tst-sigsetjmp.c: New test.
29731
b2b671b6
OB
297322013-05-20 Ondřej Bílka <neleai@seznam.cz>
29733
29734 * sysdeps/x86_64/memset.S (memset): New implementation.
29735 (__bzero): Likewise.
29736 (__memset_tail): New function.
29737
2d48b41c
OB
297382013-05-20 Ondřej Bílka <neleai@seznam.cz>
29739
29740 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29741 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29742 __memcpy_sse2_unaligned ifunc selection.
29743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29744 Add memcpy-sse2-unaligned.S.
29745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29746 Add: __memcpy_sse2_unaligned.
29747
f16cc3eb
JM
297482013-05-19 Joseph Myers <joseph@codesourcery.com>
29749
3e694268
JM
29750 [BZ #15490]
29751 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29752 math_force_eval before restoring floating-point envrionment.
29753 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29755 Likewise.
29756 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29757 <math_private.h>.
29758 (__nearbyintl): Use math_force_eval before restoring
29759 floating-point environment.
29760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29761
db62a907
JM
29762 * math/gen-libm-test.pl (special_functions): Remove.
29763 (parse_args): Don't handle TEST_extra. Handle functions with no
29764 return value.
29765 * math/libm-test.inc (struct test_sincos_data): Replace with
29766 struct test_fFF_11_data.
29767 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29768 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29769 (sincos_test_data): Change element type to struct
29770 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
29771 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29772 RUN_TEST_LOOP_sincos.
29773 * math/README.libm-test: Don't mention special handling of
29774 individual functions.
29775 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29776 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29777 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29778 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29779 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29781
f16cc3eb
JM
29782 * math/gen-libm-test.pl (get_variable): Remove function.
29783 (parse_args): Don't show pointer parameters to call in test
29784 names. Use "extra output N" in test names for extra outputs
29785 rather than naming variables.
29786
3779b5b6
JM
297872013-05-18 Joseph Myers <joseph@codesourcery.com>
29788
2ee094ff
JM
29789 [BZ #15488]
29790 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29791 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29792 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29793 double tests.
29794 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29795 disable.
29796 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29797 check_long_double.
29798
3779b5b6
JM
29799 * math/gen-libm-test.pl (@tests): Remove variable.
29800 ($count): Likewise.
29801 (new_test): Remove function.
29802 (show_exceptions): New function.
29803 (special_functions): Use show_exceptions instead of new_test.
29804 (parse_args): Likewise.
29805 (generate_testfile): Pass only function name in generated call to
29806 print_max_error or print_complex_max_error.
29807 (get_ulps): Do not handle complex tests specially.
29808 (output_test): Rename to ...
29809 (get_all_ulps_for_test): ... this. Return a string rather than
29810 printing to a file. Require ulps to be present.
29811 (output_ulps): Generate arrays rather than #defines.
29812 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29813 (struct ulp_data): New type.
29814 (BUILD_COMPLEX_ULP): Remove macro.
29815 (compare_ulp_data): New function.
29816 (find_ulps): Likewise.
29817 (find_test_ulps): Likewise.
29818 (find_function_ulps): Likewise.
29819 (find_complex_function_ulps): Likewise.
29820 (print_max_error): Determine allowed ulps using
29821 find_function_ulps.
29822 (print_complex_max_error): Determine allowed ulps using
29823 find_complex_function_ulps.
29824 (check_float_internal): Determine max ulps using find_test_ulps.
29825 (check_float): Do not take max_ulp parameter. Update call to
29826 check_float_internal.
29827 (check_complex): Likewise.
29828 (check_int): Do not take max_ulp parameter.
29829 (check_long): Likewise.
29830 (check_bool): Likewise.
29831 (check_longlong): Likewise.
29832 (struct test_f_f_data): Remove max_ulp field.
29833 (struct test_ff_f_data): Likewise.
29834 (struct test_ff_f_data_nexttoward): Likewise.
29835 (struct test_fi_f_data): Likewise.
29836 (struct test_fl_f_data): Likewise.
29837 (struct test_if_f_data): Likewise.
29838 (struct test_fff_f_data): Likewise.
29839 (struct test_c_f_data): Likewise.
29840 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29841 (struct test_fF_f1_data): Likewise.
29842 (struct test_ffI_f1_data): Likewise.
29843 (struct test_c_c_data): Remove max_ulp field.
29844 (struct test_cc_c_data): Likewise.
29845 (struct test_f_i_data): Likewise.
29846 (struct test_ff_i_data): Likewise.
29847 (struct test_f_l_data): Likewise.
29848 (struct test_f_L_data): Likewise.
29849 (struct test_sincos_data): Likewise.
29850 (RUN_TEST_f_f): Do not handle ulps.
29851 (RUN_TEST_LOOP_f_f): Likewise.
29852 (RUN_TEST_2_f): Likewise.
29853 (RUN_TEST_LOOP_2_f): Likewise.
29854 (RUN_TEST_fff_f): Likewise.
29855 (RUN_TEST_LOOP_fff_f): Likewise.
29856 (RUN_TEST_c_f): Likewise.
29857 (RUN_TEST_LOOP_c_f): Likewise.
29858 (RUN_TEST_f_f1): Likewise.
29859 (RUN_TEST_LOOP_f_f1): Likewise.
29860 (RUN_TEST_fF_f1): Likewise.
29861 (RUN_TEST_LOOP_fF_f1): Likewise.
29862 (RUN_TEST_fI_f1): Likewise.
29863 (RUN_TEST_LOOP_fI_f1): Likewise.
29864 (RUN_TEST_ffI_f1): Likewise.
29865 (RUN_TEST_LOOP_ffI_f1): Likewise.
29866 (RUN_TEST_c_c): Likewise.
29867 (RUN_TEST_LOOP_c_c): Likewise.
29868 (RUN_TEST_cc_c): Likewise.
29869 (RUN_TEST_LOOP_cc_c): Likewise.
29870 (RUN_TEST_f_i): Likewise.
29871 (RUN_TEST_LOOP_f_i): Likewise.
29872 (RUN_TEST_f_i_tg): Likewise.
29873 (RUN_TEST_LOOP_f_i_tg): Likewise.
29874 (RUN_TEST_ff_i_tg): Likewise.
29875 (RUN_TEST_LOOP_ff_i_tg): Likewise.
29876 (RUN_TEST_f_b): Likewise.
29877 (RUN_TEST_LOOP_f_b): Likewise.
29878 (RUN_TEST_f_b_tg): Likewise.
29879 (RUN_TEST_LOOP_f_b_tg): Likewise.
29880 (RUN_TEST_f_l): Likewise.
29881 (RUN_TEST_LOOP_f_l): Likewise.
29882 (RUN_TEST_f_L): Likewise.
29883 (RUN_TEST_LOOP_f_L): Likewise.
29884 (RUN_TEST_sincos): Likewise.
29885 (RUN_TEST_LOOP_sincos): Likewise.
29886
8269107f
JM
298872013-05-17 Joseph Myers <joseph@codesourcery.com>
29888
bb38759d
JM
29889 [BZ #15480]
29890 [BZ #15485]
29891 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29892 main case of finite arguments, set rounding mode to FE_TONEAREST
29893 and discard exceptions.
29894 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29895 exceptions.
29896 (remainder_tonearest_test_data): New variable.
29897 (remainder_test_tonearest): New function.
29898 (remainder_towardzero_test_data): New variable.
29899 (remainder_test_towardzero): New function.
29900 (remainder_downward_test_data): New variable.
29901 (remainder_test_downward): New function.
29902 (remainder_upward_test_data): New variable.
29903 (remainder_test_upward): New function.
29904 (main): Call the new test functions.
29905
a00bdcf0
JM
29906 * math/libm-test.inc (struct test_f_f1_data): Remove field
29907 extra_init.
29908 (struct test_fF_f1_data): Likewise.
29909 (struct test_ffI_f1_data): Likewise.
29910 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
29911 based on value of EXTRA_EXPECTED.
29912 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29913 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
29914 EXTRA_VAR based on value of EXTRA_EXPECTED.
29915 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29916 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
29917 EXTRA_VAR based on value of EXTRA_EXPECTED.
29918 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29919 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
29920 EXTRA_VAR based on value of EXTRA_EXPECTED.
29921 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29922 * math/gen-libm-test.pl (parse_args): Don't output initializers
29923 for extra output values.
29924
de407f79
JM
29925 * math/libm-test.inc (check_int): Expect result to be exactly
29926 equal to expected value and do not handle ulps.
29927 (check_long): Likewise.
29928 (check_longlong): Likewise.
29929
8269107f
JM
29930 * math/libm-test.inc (ceil_test_data): Test for "inexact"
29931 exceptions.
29932 (cimag_test_data): Likewise.
29933 (conj_test_data): Likewise.
29934 (copysign_test_data): Likewise.
29935 (cproj_test_data): Likewise.
29936 (creal_test_data): Likewise.
29937 (fabs_test_data): Likewise.
29938 (fdim_test_data): Likewise.
29939 (finite_test_data): Likewise.
29940 (floor_test_data): Likewise.
29941 (fmax_test_data): Likewise.
29942 (fmin_test_data): Likewise.
29943 (fmod_test_data): Likewise.
29944 (fpclassify_test_data): Likewise.
29945 (frexp_test_data): Likewise.
29946 (ilogb_test_data): Likewise.
29947 (isfinite_test_data): Likewise.
29948 (isgreater_test_data): Likewise.
29949 (isgreaterequal_test_data): Likewise.
29950 (isinf_test_data): Likewise.
29951 (isless_test_data): Likewise.
29952 (islessequal_test_data): Likewise.
29953 (islessgreater_test_data): Likewise.
29954 (isnan_test_data): Likewise.
29955 (isnormal_test_data): Likewise.
29956 (issignaling_test_data): Likewise.
29957 (isunordered_test_data): Likewise.
29958 (ldexp_test_data): Likewise.
29959 (lrint_test_data): Likewise.
29960 (lrint_test_data) [TEST_FLOAT]: Disable one test.
29961 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29962 (lrint_tonearest_test_data): Test for "inexact" exceptions.
29963 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29964 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29965 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29966 test input.
29967 (lrint_towardzero_test_data): Test for "inexact" exceptions.
29968 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29969 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29970 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29971 that test input.
29972 (lrint_downward_test_data): Test for "inexact" exceptions.
29973 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29974 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29975 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29976 test input.
29977 (lrint_upward_test_data): Test for "inexact" exceptions.
29978 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29979 test input.
29980 (llrint_test_data): Test for "inexact" exceptions.
29981 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29982 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29983 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29984 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29985 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29986 (llrint_downward_test_data): Test for "inexact" exceptions.
29987 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29988 (llrint_upward_test_data): Test for "inexact" exceptions.
29989 (logb_test_data): Likewise.
29990 (logb_downward_test_data): Likewise.
29991 (nextafter_test_data): Likewise.
29992 (nexttoward_test_data): Likewise.
29993 (remainder_test_data): Likewise.
29994 (remquo_test_data): Likewise.
29995 (scalbn_test_data): Likewise.
29996 (scalbln_test_data): Likewise.
29997 (signbit_test_data): Likewise.
29998 (sqrt_test_data): Likewise.
29999 (significand_test_data): Likewise.
30000
48a18de1
SP
300012013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30002
30003 [BZ #15424]
30004 * benchtests/bench-modf.c (struct args): Mark arg0 as
30005 volatile.
30006 * scripts/bench.pl: Mark members of struct args as volatile.
30007
13d3b41a
AZ
300082013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30009
68191c1d 30010 [BZ # 15497]
13d3b41a
AZ
30011 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30012 negative infinity on POWER6 or lower.
30013 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30014
2848b105
MR
300152013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30016
30017 [BZ #15442]
30018 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30019 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30020 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30021 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30022 (_FP_SETQNAN): New macro.
30023 (_FP_SETQNAN_SEMIRAW): Likewise.
30024 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30025 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30026 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30027 (FP_EXTEND): Use _FP_FRAC_SNANP.
30028 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30029 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30030 into account.
30031 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30032 New macro.
30033 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30034 Likewise.
30035
323e5cb7
JM
300362013-05-16 Joseph Myers <joseph@codesourcery.com>
30037
c58b274f
JM
30038 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30039 with DIVIDE_BY_ZERO_EXCEPTION.
30040 (gamma_test_data): Likewise.
30041 (lgamma_test_data): Likewise.
30042 (log_test_data): Likewise.
30043 (log10_test_data): Likewise.
30044 (log2_test_data): Likewise.
30045 (tgamma_test_data): Likewise.
30046
0ab34904
JM
30047 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30048 (acos_test_tonearest): Likewise.
30049 (acos_test_towardzero): Likewise.
30050 (acos_test_downward): Likewise.
30051 (acos_test_upward): Likewise.
30052 (acosh_test): Likewise.
30053 (asin_test): Likewise.
30054 (asin_test_tonearest): Likewise.
30055 (asin_test_towardzero): Likewise.
30056 (asin_test_downward): Likewise.
30057 (asin_test_upward): Likewise.
30058 (asinh_test): Likewise.
30059 (atan_test): Likewise.
30060 (atanh_test): Likewise.
30061 (atan2_test): Likewise.
30062 (cabs_test): Likewise.
30063 (cacos_test): Likewise.
30064 (cacosh_test): Likewise.
30065 (casin_test): Likewise.
30066 (casinh_test): Likewise.
30067 (catan_test): Likewise.
30068 (catanh_test): Likewise.
30069 (cbrt_test): Likewise.
30070 (ccos_test): Likewise.
30071 (ccosh_test): Likewise.
30072 (cexp_test): Likewise.
30073 (clog_test): Likewise.
30074 (clog10_test): Likewise.
30075 (cos_test): Likewise.
30076 (cos_test_tonearest): Likewise.
30077 (cos_test_towardzero): Likewise.
30078 (cos_test_downward): Likewise.
30079 (cos_test_upward): Likewise.
30080 (cosh_test): Likewise.
30081 (cosh_test_tonearest): Likewise.
30082 (cosh_test_towardzero): Likewise.
30083 (cosh_test_downward): Likewise.
30084 (cosh_test_upward): Likewise.
30085 (cpow_test): Likewise.
30086 (csin_test): Likewise.
30087 (csinh_test): Likewise.
30088 (csqrt_test): Likewise.
30089 (ctan_test): Likewise.
30090 (ctan_test_tonearest): Likewise.
30091 (ctan_test_towardzero): Likewise.
30092 (ctan_test_downward): Likewise.
30093 (ctan_test_upward): Likewise.
30094 (ctanh_test): Likewise.
30095 (ctanh_test_tonearest): Likewise.
30096 (ctanh_test_towardzero): Likewise.
30097 (ctanh_test_downward): Likewise.
30098 (ctanh_test_upward): Likewise.
30099 (erf_test): Likewise.
30100 (erfc_test): Likewise.
30101 (exp_test): Likewise.
30102 (exp_test_tonearest): Likewise.
30103 (exp_test_towardzero): Likewise.
30104 (exp_test_downward): Likewise.
30105 (exp_test_upward): Likewise.
30106 (exp10_test): Likewise.
30107 (exp2_test): Likewise.
30108 (expm1_test): Likewise.
30109 (fmod_test): Likewise.
30110 (gamma_test): Likewise.
30111 (hypot_test): Likewise.
30112 (j0_test): Likewise.
30113 (j1_test): Likewise.
30114 (jn_test): Likewise.
30115 (lgamma_test): Likewise.
30116 (log_test): Likewise.
30117 (log10_test): Likewise.
30118 (log1p_test): Likewise.
30119 (log2_test): Likewise.
30120 (logb_test_downward): Likewise.
30121 (pow_test): Likewise.
30122 (pow_test_tonearest): Likewise.
30123 (pow_test_towardzero): Likewise.
30124 (pow_test_downward): Likewise.
30125 (pow_test_upward): Likewise.
30126 (remainder_test): Likewise.
30127 (remquo_test): Likewise.
30128 (sin_test): Likewise.
30129 (sin_test_tonearest): Likewise.
30130 (sin_test_towardzero): Likewise.
30131 (sin_test_downward): Likewise.
30132 (sin_test_upward): Likewise.
30133 (sincos_test): Likewise.
30134 (sinh_test): Likewise.
30135 (sinh_test_tonearest): Likewise.
30136 (sinh_test_towardzero): Likewise.
30137 (sinh_test_downward): Likewise.
30138 (sinh_test_upward): Likewise.
30139 (sqrt_test): Likewise.
30140 (tan_test): Likewise.
30141 (tan_test_tonearest): Likewise.
30142 (tan_test_towardzero): Likewise.
30143 (tan_test_downward): Likewise.
30144 (tan_test_upward): Likewise.
30145 (tanh_test): Likewise.
30146 (tgamma_test): Likewise.
30147 (y0_test): Likewise.
30148 (y1_test): Likewise.
30149 (yn_test): Likewise.
30150
323e5cb7
JM
30151 * math/gen-libm-test.pl (adjust_arg): Remove function.
30152 (special_function): Remove argument $in_func. Only handle
30153 generating output for tables of tests, not inside functions.
30154 (parse_args): Likewise.
30155 (generate_testfile): Remove variable $in_func. Update call to
30156 parse_args.
30157 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30158 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30159 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30160 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30161 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30162 (MAX_VALUE_INIT): Rename macro to max_value.
30163 (MIN_VALUE_INIT): Rename macro to min_value.
30164 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30165 (plus_zero): Remove variable.
30166 (minus_zero): Likewise.
30167 (plus_infty): Likewise.
30168 (minus_infty): Likewise.
30169 (qnan_value): Likewise.
30170 (max_value): Likewise.
30171 (min_value): Likewise.
30172 (min_subnorm_value): Likewise.
30173
e054f494
RA
301742013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30175
30176 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30177 uint64_t or uint32_t usage.
30178 * crypt/sha256-block.c: Likewise.
30179 * crypt/sha256-crypt.c: Likewise.
30180 * crypt/sha256.c: Likewise.
30181 * crypt/sha512-block.c: Likewise.
30182 * crypt/sha512-crypt.c: Likewise.
30183 * crypt/sha512.c: Likewise.
30184 * debug/backtrace-tst.c: Likewise.
30185 * debug/pcprofiledump.c: Likewise.
30186 * elf/cache.c: Likewise.
30187 * elf/dl-cache.c: Likewise.
30188 * elf/dl-misc.c: Likewise.
30189 * elf/dl-profile.c: Likewise.
30190 * elf/dl-support.c: Likewise.
30191 * elf/ldconfig.c: Likewise.
30192 * elf/sprof.c: Likewise.
30193 * iconv/dummy-repertoire.c: Likewise.
30194 * iconv/iconv_charmap.c: Likewise.
30195 * iconv/skeleton.c: Likewise.
30196 * iconvdata/8bit-generic.c: Likewise.
30197 * iconvdata/cp737.h: Likewise.
30198 * iconvdata/cp775.h: Likewise.
30199 * iconvdata/ibm1008.h: Likewise.
30200 * iconvdata/ibm1025.h: Likewise.
30201 * iconvdata/ibm1046.h: Likewise.
30202 * iconvdata/ibm1097.h: Likewise.
30203 * iconvdata/ibm1112.h: Likewise.
30204 * iconvdata/ibm1122.h: Likewise.
30205 * iconvdata/ibm1123.h: Likewise.
30206 * iconvdata/ibm1124.h: Likewise.
30207 * iconvdata/ibm1129.h: Likewise.
30208 * iconvdata/ibm1130.h: Likewise.
30209 * iconvdata/ibm1132.h: Likewise.
30210 * iconvdata/ibm1133.h: Likewise.
30211 * iconvdata/ibm1137.h: Likewise.
30212 * iconvdata/ibm1140.h: Likewise.
30213 * iconvdata/ibm1141.h: Likewise.
30214 * iconvdata/ibm1142.h: Likewise.
30215 * iconvdata/ibm1143.h: Likewise.
30216 * iconvdata/ibm1144.h: Likewise.
30217 * iconvdata/ibm1145.h: Likewise.
30218 * iconvdata/ibm1146.h: Likewise.
30219 * iconvdata/ibm1147.h: Likewise.
30220 * iconvdata/ibm1148.h: Likewise.
30221 * iconvdata/ibm1149.h: Likewise.
30222 * iconvdata/ibm1153.h: Likewise.
30223 * iconvdata/ibm1154.h: Likewise.
30224 * iconvdata/ibm1155.h: Likewise.
30225 * iconvdata/ibm1156.h: Likewise.
30226 * iconvdata/ibm1157.h: Likewise.
30227 * iconvdata/ibm1158.h: Likewise.
30228 * iconvdata/ibm1160.h: Likewise.
30229 * iconvdata/ibm1161.h: Likewise.
30230 * iconvdata/ibm1162.h: Likewise.
30231 * iconvdata/ibm1163.h: Likewise.
30232 * iconvdata/ibm1164.h: Likewise.
30233 * iconvdata/ibm1166.h: Likewise.
30234 * iconvdata/ibm1167.h: Likewise.
30235 * iconvdata/ibm12712.h: Likewise.
30236 * iconvdata/ibm1390.h: Likewise.
30237 * iconvdata/ibm1399.h: Likewise.
30238 * iconvdata/ibm16804.h: Likewise.
30239 * iconvdata/ibm4517.h: Likewise.
30240 * iconvdata/ibm4899.h: Likewise.
30241 * iconvdata/ibm4909.h: Likewise.
30242 * iconvdata/ibm4971.h: Likewise.
30243 * iconvdata/ibm5347.h: Likewise.
30244 * iconvdata/ibm803.h: Likewise.
30245 * iconvdata/ibm856.h: Likewise.
30246 * iconvdata/ibm901.h: Likewise.
30247 * iconvdata/ibm902.h: Likewise.
30248 * iconvdata/ibm9030.h: Likewise.
30249 * iconvdata/ibm9066.h: Likewise.
30250 * iconvdata/ibm921.h: Likewise.
30251 * iconvdata/ibm922.h: Likewise.
30252 * iconvdata/ibm9448.h: Likewise.
30253 * iconvdata/isiri-3342.h: Likewise.
30254 * iconvdata/jis0201.h: Likewise.
30255 * include/link.h: Likewise.
30256 * include/netdb.h: Likewise.
30257 * inet/check_native.c: Likewise.
30258 * inet/check_pf.c: Likewise.
30259 * inet/getipv4sourcefilter.c: Likewise.
30260 * inet/getnameinfo.c: Likewise.
30261 * inet/getsourcefilter.c: Likewise.
30262 * inet/htonl.c: Likewise.
30263 * inet/setipv4sourcefilter.c: Likewise.
30264 * inet/setsourcefilter.c: Likewise.
30265 * inet/test-inet6_opt.c: Likewise.
30266 * inet/tst-network.c: Likewise.
30267 * locale/C-collate.c: Likewise.
30268 * locale/C-ctype.c: Likewise.
30269 * locale/C-time.c: Likewise.
30270 * locale/C-translit.h: Likewise.
30271 * locale/loadarchive.c: Likewise.
30272 * locale/programs/3level.h: Likewise.
30273 * locale/programs/charmap.c: Likewise.
30274 * locale/programs/charmap.h: Likewise.
30275 * locale/programs/ld-address.c: Likewise.
30276 * locale/programs/ld-collate.c: Likewise.
30277 * locale/programs/ld-ctype.c: Likewise.
30278 * locale/programs/ld-identification.c: Likewise.
30279 * locale/programs/ld-measurement.c: Likewise.
30280 * locale/programs/ld-messages.c: Likewise.
30281 * locale/programs/ld-monetary.c: Likewise.
30282 * locale/programs/ld-name.c: Likewise.
30283 * locale/programs/ld-numeric.c: Likewise.
30284 * locale/programs/ld-paper.c: Likewise.
30285 * locale/programs/ld-telephone.c: Likewise.
30286 * locale/programs/ld-time.c: Likewise.
30287 * locale/programs/linereader.c: Likewise.
30288 * locale/programs/locale.c: Likewise.
30289 * locale/programs/locarchive.c: Likewise.
30290 * locale/programs/locfile.h: Likewise.
30291 * locale/programs/repertoire.c: Likewise.
30292 * locale/programs/simple-hash.c: Likewise.
30293 * locale/programs/simple-hash.h: Likewise.
30294 * malloc/memusage.c: Likewise.
30295 * malloc/memusagestat.c: Likewise.
30296 * nis/nis_defaults.c: Likewise.
30297 * nis/nis_hash.c: Likewise.
30298 * nis/nis_print.c: Likewise.
30299 * nis/nis_xdr.c: Likewise.
30300 * nscd/connections.c: Likewise.
30301 * nscd/hstcache.c: Likewise.
30302 * nscd/nscd_gethst_r.c: Likewise.
30303 * nscd/nscd_getserv_r.c: Likewise.
30304 * nscd/nscd_helper.c: Likewise.
30305 * nscd/servicescache.c: Likewise.
30306 * nss/makedb.c: Likewise.
30307 * nss/nss_db/db-XXX.c: Likewise.
30308 * nss/nss_db/db-initgroups.c: Likewise.
30309 * nss/nss_db/db-netgrp.c: Likewise.
30310 * nss/nss_files/files-network.c: Likewise.
30311 * nss/nss_files/files-parse.c: Likewise.
30312 * posix/bug-regex5.c: Likewise.
30313 * posix/fnmatch_loop.c: Likewise.
30314 * posix/regcomp.c: Likewise.
30315 * posix/regexec.c: Likewise.
30316 * posix/tst-rfc3484-2.c: Likewise.
30317 * posix/tst-rfc3484-3.c: Likewise.
30318 * posix/tst-rfc3484.c: Likewise.
30319 * resolv/nss_dns/dns-canon.c: Likewise.
30320 * resolv/nss_dns/dns-network.c: Likewise.
30321 * resolv/res_init.c: Likewise.
30322 * resolv/res_mkquery.c: Likewise.
30323 * resolv/tst-aton.c: Likewise.
30324 * stdlib/cxa_atexit.c: Likewise.
30325 * stdlib/cxa_finalize.c: Likewise.
30326 * stdlib/gen-fpioconst.c: Likewise.
30327 * stdlib/strtol_l.c: Likewise.
30328 * string/tst-endian.c: Likewise.
30329 * sunrpc/auth_des.c: Likewise.
30330 * sunrpc/clnt_udp.c: Likewise.
30331 * sunrpc/rtime.c: Likewise.
30332 * sunrpc/svcauth_des.c: Likewise.
30333 * sunrpc/xdr.c: Likewise.
30334 * sunrpc/xdr_intXX_t.c: Likewise.
30335 * sunrpc/xdr_rec.c: Likewise.
30336 * sysdeps/generic/ldconfig.h: Likewise.
30337 * sysdeps/generic/ldsodefs.h: Likewise.
30338 * sysdeps/generic/memusage.h: Likewise.
30339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30342 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30343 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30345 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30349 * sysdeps/posix/getaddrinfo.c: Likewise.
30350 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30351 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30352 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30353 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30354 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30355 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30356 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30357 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30358 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30359 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30360 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30361 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30362 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30363 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30364 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30365 * sysdeps/x86_64/dl-tls.h: Likewise.
30366 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30367 * time/alt_digit.c: Likewise.
30368 * time/era.c: Likewise.
30369 * wcsmbs/tst-c16c32-1.c: Likewise.
30370
8c75f674
JM
303712013-05-16 Joseph Myers <joseph@codesourcery.com>
30372
30373 * math/libm-test.inc (struct test_sincos_data): New type.
30374 (RUN_TEST_LOOP_sincos): New macro.
30375 (sincos_test_data): New variable.
30376 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30377
e6e49e59
RH
303782013-05-16 Richard Henderson <rth@redhat.com>
30379
30380 * math/atest-exp2.c (LIMB64): New macro.
30381 (CONSTSZ): New macro.
30382 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30383 (hexdig): Move ...
30384 (print_mpn_fp): ... to function scope.
30385 (read_mpn_hex): Remove.
30386 (get_log2): Remove.
30387 (exp2_mpn): Use mp_log2.
30388 (main): Use mp_exp1.
30389
15c7c18d
JM
303902013-05-16 Joseph Myers <joseph@codesourcery.com>
30391
105a07df
JM
30392 * math/libm-test.inc: Remove comment about not testing "inexact"
30393 exceptions.
30394 (INEXACT_EXCEPTION): New macro.
30395 (NO_INEXACT_EXCEPTION): Likewise.
30396 (INVALID_EXCEPTION_OK): Update value.
30397 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30398 (OVERFLOW_EXCEPTION_OK): Likewise.
30399 (UNDERFLOW_EXCEPTION_OK): Likewise.
30400 (IGNORE_ZERO_INF_SIGN): Likewise.
30401 (ERRNO_UNCHANGED): Likewise.
30402 (ERRNO_EDOM): Likewise.
30403 (ERRNO_ERANGE): Likewise.
30404 (test_exceptions): Handle testing "inexact" exceptions.
30405 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30406 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30407 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30408 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30409 INEXACT_EXCEPTION.
30410 (rint_towardzero_test_data): Likewise.
30411 (rint_downward_test_data): Likewise.
30412 (rint_upward_test_data): Likewise.
30413
e9eee333
JM
30414 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30415 with OVERFLOW_EXCEPTION.
30416 (exp10_test_data): Likewise.
30417 (exp2_test_data): Likewise.
30418 (expm1_test_data): Likewise.
30419 (lgamma_test_data): Likewise.
30420 (pow_test_data): Likewise.
30421 (tgamma_test_data): Likewise.
30422 (yn_test_data): Remove duplicate test of overflow.
30423
1c38ff73
JM
30424 * math/libm-test.inc (struct test_cc_c_data): New type.
30425 (RUN_TEST_LOOP_cc_c): New macro.
30426 (cpow_test_data): New variable.
30427 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30428
15c7c18d
JM
30429 * math/libm-test.inc (struct test_f_L_data): New type.
30430 (RUN_TEST_LOOP_f_L): New macro.
30431 (llrint_test_data): New variable.
30432 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30433 (llrint_tonearest_test_data): New variable.
30434 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30435 (llrint_towardzero_test_data): New variable.
30436 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30437 (llrint_downward_test_data): New variable.
30438 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30439 (llrint_upward_test_data): New variable.
30440 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30441 (llround_test_data): New variable.
30442 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30443
f137ff13
PC
304442013-05-13 Peter Collingbourne <pcc@google.com>
30445
30446 * math/atest-exp2.c (get_log2): Remove const attribute.
30447
3608cb24
JM
304482013-05-15 Joseph Myers <joseph@codesourcery.com>
30449
30450 * math/libm-test.inc (struct test_f_l_data): New type.
30451 (RUN_TEST_LOOP_f_l): New macro.
30452 (lrint_test_data): New variable.
30453 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30454 (lrint_tonearest_test_data): New variable.
30455 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30456 (lrint_towardzero_test_data): New variable.
30457 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30458 (lrint_downward_test_data): New variable.
30459 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30460 (lrint_upward_test_data): New variable.
30461 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30462 (lround_test_data): New variable.
30463 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30464
39b1f617
PC
304652013-05-15 Peter Collingbourne <pcc@google.com>
30466
1deff3dc
PC
30467 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30468 (EXTRACT_WORDS64) Use where appropriate.
30469 (INSERT_WORDS64) Likewise.
30470
791f3ba0
PC
30471 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30472 constraints with x constraints.
30473 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30474
39b1f617
PC
30475 * malloc/obstack.c (_obstack_compat): Add initializer.
30476
12fba011
EM
304772013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30478
30479 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30480 si_trapno and add si_addr_lsb to _sifields.sigfault.
30481 (si_trapno): Remove macro.
30482 (si_addr_lsb): Define new macro.
30483 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30484
d369f531
JM
304852013-05-15 Joseph Myers <joseph@codesourcery.com>
30486
b861c6c4
JM
30487 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30488 instead of TEST_f_l.
30489 (llrint_test_tonearest): Likewise.
30490 (llrint_test_towardzero): Likewise.
30491 (llrint_test_downward): Likewise.
30492 (llrint_test_upward): Likewise.
30493 (llround_test): Likewise.
30494
7abeee12
JM
30495 * math/libm-test.inc (struct test_f_i_data): Add comment.
30496 (RUN_TEST_LOOP_f_b): New macro.
30497 (RUN_TEST_LOOP_f_b_tg): Likewise.
30498 (finite_test_data): New variable.
30499 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30500 (isfinite_test_data): New variable.
30501 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30502 (isinf_test_data): New variable.
30503 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30504 (isnan_test_data): New variable.
30505 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30506 (isnormal_test_data): New variable.
30507 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30508 (issignaling_test_data): New variable.
30509 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30510 (signbit_test_data): New variable.
30511 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30512
cbe8c4d3
JM
30513 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30514 with INVALID_EXCEPTION.
30515 (acosh_test_data): Likewise.
30516 (asin_test_data): Likewise.
30517 (atanh_test_data): Likewise.
30518 (fmod_test_data): Likewise.
30519 (log_test_data): Likewise.
30520 (log10_test_data): Likewise.
30521 (log2_test_data): Likewise.
30522 (pow_test_data): Likewise.
30523 (sqrt_test_data): Likewise.
30524 (y0_test_data): Likewise.
30525 (y1_test_data): Likewise.
30526 (yn_test_data): Likewise.
30527
5575c0e5
JM
30528 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30529 function contents.
30530
d369f531
JM
30531 * math/libm-test.inc (struct test_ff_i_data): New type.
30532 (RUN_TEST_LOOP_ff_i_tg): New macro.
30533 (isgreater_test_data): New variable.
30534 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30535 (isgreaterequal_test_data): New variable.
30536 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30537 (isless_test_data): New variable.
30538 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30539 (islessequal_test_data): New variable.
30540 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30541 (islessgreater_test_data): New variable.
30542 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30543 (isunordered_test_data): New variable.
30544 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30545
781fd748
DM
305462013-05-14 David S. Miller <davem@davemloft.net>
30547
30548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30549
87aa21df
JM
305502013-05-14 Joseph Myers <joseph@codesourcery.com>
30551
5e908270
JM
30552 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30553
f71172e5
JM
30554 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30555 extra_test to int.
30556 (struct test_f_i_data): Change type of max_ulp to int.
30557
8cfa635a
JM
30558 * math/libm-test.inc (test_ffI_f1_data): New type.
30559 (RUN_TEST_LOOP_ffI_f1): New macro.
30560 (remquo_test_data): New variable.
30561 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30562
2bcb36b2
JM
30563 * setjmp/tst-setjmp-fp.c: New file.
30564 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30565 (link-libm): New variable.
30566 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30567
acbd839a
JM
30568 * math/libm-test.inc (struct test_f_i_data): New type.
30569 (RUN_TEST_LOOP_f_i): New macro.
30570 (RUN_TEST_LOOP_f_i_tg): Likewise.
30571 (fpclassify_test_data): New variable.
30572 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30573 (ilogb_test_data): New variable.
30574 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30575
e414d745
JM
30576 * math/libm-test.inc (scalbln_test): Correct function name in END
30577 call.
30578
d9c2a0fd
JM
30579 * math/libm-test.inc (struct test_f_f1_data): Add comment.
30580 (RUN_TEST_LOOP_fI_f1): New macro.
30581 (frexp_test_data): New variable.
30582 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30583
9dc9095d
JM
30584 * math/libm-test.inc (struct test_fF_f1_data): New type.
30585 (RUN_TEST_LOOP_fF_f1): New macro.
30586 (modf_test_data): New variable.
30587 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30588
87aa21df
JM
30589 * math/libm-test.inc (struct test_f_f1_data): New type.
30590 (RUN_TEST_LOOP_f_f1): New macro.
30591 (gamma_test_data): New variable.
30592 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30593 (lgamma_test_data): New variable.
30594 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30595
141af660
CD
305962013-05-13 Carlos O'Donell <carlos@redhat.com>
30597
30598 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30599 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30600 (main): Comment "tls" pseudo-hwcap.
30601
6d33265c
JM
306022013-05-13 Joseph Myers <joseph@codesourcery.com>
30603
68fc074c
JM
30604 * math/libm-test.inc (struct test_fl_f_data): New type.
30605 (RUN_TEST_LOOP_fl_f): New variable.
30606 (scalbln_test_data): New variable.
30607 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30608
243216e1
JM
30609 * math/libm-test.inc (struct test_fi_f_data): New type.
30610 (RUN_TEST_LOOP_fi_f): New macro.
30611 (ldexp_test_data): New variable.
30612 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30613 (scalbn_test_data): New variable.
30614 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30615
6a1992e2
JM
30616 * math/libm-test.inc (struct test_c_f_data): New type.
30617 (RUN_TEST_LOOP_c_f): New macro.
30618 (cabs_test_data): New variable.
30619 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30620 (carg_test_data): New variable.
30621 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30622 (cimag_test_data): New variable.
30623 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30624 (creal_test_data): New variable.
30625 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30626
0e400df5
JM
30627 * math/libm-test.inc (struct test_if_f_data): New type.
30628 (RUN_TEST_LOOP_if_f): New macro.
30629 (jn_test_data): New variable.
30630 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30631 (yn_test_data): New variable.
30632 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30633
6d33265c
JM
30634 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30635
f98ece5f
AZ
306362013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30637
30638 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30639 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30640
0f7d347b
SP
306412013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30642
43fe811b
SP
30643 * benchtests/Makefile (CPPFLAGS-nonlib): Add
30644 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30645 (bench-deps): Add bench-timing.h.
30646 * benchtests-bench-skeleton.c: Include bench-timing.h.
30647 (main): Use TIMING_* macros instead of clock_gettime.
30648 * benchtests/bench-timing.h: New file.
30649
0f7d347b
SP
30650 [BZ #14582]
30651 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30652 Renamed from _LIB_VERSION.
30653 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30654
601a3a5f
JM
306552013-05-12 Joseph Myers <joseph@codesourcery.com>
30656
4f184d30
JM
30657 * math/libm-test.inc (struct test_fff_f_data): New type.
30658 (RUN_TEST_LOOP_fff_f): New macro.
30659 (fma_test_data): New variable.
30660 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30661 (fma_towardzero_test_data): New variable.
30662 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30663 (fma_downward_test_data): New variable.
30664 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30665 (fma_upward_test_data): New variable.
30666 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30667
08198877
JM
30668 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30669 (struct test_c_c_data): New type.
30670 (RUN_TEST_LOOP_c_c): New macro.
30671 (cacos_test_data): New variable.
30672 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30673 (cacosh_test_data): New variable.
30674 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30675 (casin_test_data): New variable.
30676 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30677 (casinh_test_data): New variable.
30678 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30679 (catan_test_data): New variable.
30680 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30681 (catanh_test_data): New variable.
30682 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30683 (ccos_test_data): New variable.
30684 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30685 (ccosh_test_data): New variable.
30686 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30687 (cexp_test_data): New variable.
30688 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30689 (clog_test_data): New variable.
30690 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30691 (clog10_test_data): New variable.
30692 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30693 (conj_test_data): New variable.
30694 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30695 (cproj_test_data): New variable.
30696 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30697 (csin_test_data): New variable.
30698 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30699 (csinh_test_data): New variable.
30700 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30701 (csqrt_test_data): New variable.
30702 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30703 (ctan_test_data): New variable.
30704 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30705 (ctan_tonearest_test_data): New variable.
30706 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30707 (ctan_towardzero_test_data): New variable.
30708 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30709 (ctan_downward_test_data): New variable.
30710 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30711 (ctan_upward_test_data): New variable.
30712 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30713 (ctanh_test_data): New variable.
30714 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30715 (ctanh_tonearest_test_data): New variable.
30716 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30717 (ctanh_towardzero_test_data): New variable.
30718 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30719 (ctanh_downward_test_data): New variable.
30720 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30721 (ctanh_upward_test_data): New variable.
30722 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30723 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30724 of BUILD_COMPLEX.
30725
601a3a5f
JM
30726 * math/libm-test.inc (struct test_ff_f_data): New type.
30727 (struct test_ff_f_data_nexttoward): Likewise.
30728 (RUN_TEST_LOOP_2_f): New macro.
30729 (RUN_TEST_LOOP_ff_f): Likewise.
30730 (atan2_test_data): New variable.
30731 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30732 (copysign_test_data): New variable.
30733 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30734 (fdim_test_data): New variable.
30735 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30736 (fmax_test_data): New variable.
30737 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30738 (fmin_test_data): New variable.
30739 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30740 (fmod_test_data): New variable.
30741 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30742 (hypot_test_data): New variable.
30743 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30744 (nextafter_test_data): New variable.
30745 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30746 (nexttoward_test_data): New variable.
30747 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30748 (pow_test_data): New variable.
30749 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30750 (pow_tonearest_test_data): New variable.
30751 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30752 (pow_towardzero_test_data): New variable.
30753 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30754 (pow_downward_test_data): New variable.
30755 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30756 (pow_upward_test_data): New variable.
30757 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30758 (remainder_test_data): New variable.
30759 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30760 (scalb_test_data): New variable.
30761 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30762 * sysdeps/i386/fpu/libm-test-ulps: Update.
30763
74c57478
JM
307642013-05-11 Joseph Myers <joseph@codesourcery.com>
30765
8329e4da
JM
30766 * math/libm-test.inc (fma_test): Use max_value instead of local
30767 variable fltmax.
30768 (nextafter_test): Likewise.
30769
74c57478
JM
30770 * math/libm-test.inc (acos_towardzero_test_data): New variable.
30771 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30772 (acos_downward_test_data): New variable.
30773 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30774 (acos_upward_test_data): New variable.
30775 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30776 (acosh_test_data): New variable.
30777 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30778 (asin_test_data): New variable.
30779 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30780 (asin_tonearest_test_data): New variable.
30781 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30782 (asin_towardzero_test_data): New variable.
30783 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30784 (asin_downward_test_data): New variable.
30785 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30786 (asin_upward_test_data): New variable.
30787 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30788 (asinh_test_data): New variable.
30789 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30790 (atan_test_data): New variable.
30791 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30792 (atanh_test_data): New variable.
30793 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30794 (cbrt_test_data): New variable.
30795 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30796 (ceil_test_data): New variable.
30797 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30798 (cos_test_data): New variable.
30799 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30800 (cos_tonearest_test_data): New variable.
30801 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30802 (cos_towardzero_test_data): New variable.
30803 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30804 (cos_downward_test_data): New variable.
30805 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30806 (cos_upward_test_data): New variable.
30807 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30808 (cosh_test_data): New variable.
30809 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30810 (cosh_tonearest_test_data): New variable.
30811 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30812 (cosh_towardzero_test_data): New variable.
30813 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30814 (cosh_downward_test_data): New variable.
30815 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30816 (cosh_upward_test_data): New variable.
30817 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30818 (erf_test_data): New variable.
30819 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30820 (erfc_test_data): New variable.
30821 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30822 (exp_test_data): New variable.
30823 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30824 (exp_tonearest_test_data): New variable.
30825 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30826 (exp_towardzero_test_data): New variable.
30827 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30828 (exp_downward_test_data): New variable.
30829 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30830 (exp_upward_test_data): New variable.
30831 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30832 (exp10_test_data): New variable.
30833 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30834 (exp2_test_data): New variable.
30835 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30836 (expm1_test_data): New variable.
30837 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30838 (fabs_test_data): New variable.
30839 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30840 (floor_test_data): New variable.
30841 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30842 (j0_test_data): New variable.
30843 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30844 (j1_test_data): New variable.
30845 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30846 (log_test_data): New variable.
30847 (log_test): Run tests with RUN_TEST_LOOP_f_f.
30848 (log10_test_data): New variable.
30849 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30850 (log1p_test_data): New variable.
30851 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30852 (log2_test_data): New variable.
30853 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30854 (logb_test_data): New variable.
30855 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30856 (logb_downward_test_data): New variable.
30857 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30858 (nearbyint_test_data): New variable.
30859 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30860 (rint_test_data): New variable.
30861 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30862 (rint_tonearest_test_data): New variable.
30863 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30864 (rint_towardzero_test_data): New variable.
30865 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30866 (rint_downward_test_data): New variable.
30867 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30868 (rint_upward_test_data): New variable.
30869 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30870 (round_test_data): New variable.
30871 (round_test): Run tests with RUN_TEST_LOOP_f_f.
30872 (sin_test_data): New variable.
30873 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30874 (sin_tonearest_test_data): New variable.
30875 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30876 (sin_towardzero_test_data): New variable.
30877 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30878 (sin_downward_test_data): New variable.
30879 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30880 (sin_upward_test_data): New variable.
30881 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30882 (sinh_test_data): New variable.
30883 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30884 (sinh_tonearest_test_data): New variable.
30885 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30886 (sinh_towardzero_test_data): New variable.
30887 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30888 (sinh_downward_test_data): New variable.
30889 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30890 (sinh_upward_test_data): New variable.
30891 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30892 (sqrt_test_data): New variable.
30893 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30894 (tan_test_data): New variable.
30895 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30896 (tan_tonearest_test_data): New variable.
30897 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30898 (tan_towardzero_test_data): New variable.
30899 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30900 (tan_downward_test_data): New variable.
30901 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30902 (tan_upward_test_data): New variable.
30903 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30904 (tanh_test_data): New variable.
30905 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30906 (tgamma_test_data): New variable.
30907 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30908 (trunc_test_data): New variable.
30909 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30910 (y0_test_data): New variable.
30911 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30912 (y1_test_data): New variable.
30913 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30914 (significand_test_data): New variable.
30915 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30916
7187d844
CG
309172013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
30918
30919 [BZ #12387]
30920 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30921
f63fae73
PT
309222013-05-10 Pino Toscano <toscano.pino@tiscali.it>
30923
30924 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30925
8a67a4b3
AJ
309262013-05-10 Andreas Jaeger <aj@suse.de>
30927
30928 [BZ #15448]
30929 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30930 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30931
51df539d
JM
309322013-05-10 Joseph Myers <joseph@codesourcery.com>
30933
30934 * math/gen-libm-test.pl (adjust_arg): New function.
30935 (special_functions): Handle generating output in both functions
30936 and arrays.
30937 (parse_args): Likewise.
30938 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
30939 $in_func argument to parse_args.
30940 * math/libm-test.inc (struct test_f_f_data): New type.
30941 (IF_ROUND_INIT_): New macro.
30942 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30943 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30944 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30945 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30946 (ROUND_RESTORE_): Likewise.
30947 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30948 (ROUND_RESTORE_FE_TONEAREST): Likewise.
30949 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30950 (ROUND_RESTORE_FE_UPWARD): Likewise.
30951 (RUN_TEST_LOOP_f_f): New macro.
30952 (acos_test_data): New variable.
30953 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30954 (acos_tonearest_test_data): New variable.
30955 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30956
5c637fe5
SP
309572013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30958
30959 * benchtests/bench-skeleton.c (startup): Fix coding style.
30960
ab2b9461
JM
309612013-05-10 Joseph Myers <joseph@codesourcery.com>
30962
30963 [BZ #6809]
30964 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30965 negative infinity argument.
30966 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30967 negative infinity argument.
30968 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30969 negative infinity argument.
30970 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30971 domain errors.
30972
4c0fe6fe
FW
309732013-05-10 Florian Weimer <fweimer@redhat.com>
30974
30975 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30976 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30977 * iconv/iconv_prog.c (main): Likewise.
30978 * locale/programs/charmap-dir.c (charmap_readdir)
30979 (fopen_uncompressed): Likewise.
30980 * locale/programs/locfile.c (siblings_uncached)
30981 (write_locale_data): Use lstat64 instead of lstat.
30982 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30983 stat.
30984
a3375d29
AJ
309852013-05-10 Andreas Jaeger <aj@suse.de>
30986
30987 [BZ #15395]
30988 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30989 localization.
30990 Include <locale.h>.
30991
36129722
CD
309922013-05-09 Carlos O'Donell <carlos@redhat.com>
30993
30994 * elf/dl-close.c (_dl_close_worker): Add comments.
30995
faa7f811
JM
309962013-05-09 Joseph Myers <joseph@codesourcery.com>
30997
ed41ffef
JM
30998 [BZ #15359]
30999 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31000 high part of pi/2.
31001 (__ieee754_rem_pio2l): Update comments.
31002
d0213cd0
JM
31003 [BZ #15429]
31004 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31005 high part of pi/2.
31006 (__ieee754_rem_pio2l): Update comments.
31007
0d3e777a
JM
31008 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31009 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31010
24f56066
JM
31011 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31012 M_PI_4l.
31013
faa7f811
JM
31014 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31015 (M_PI_34_LOG10El): Likewise.
31016 (M_PI2_LOG10El): Likewise.
31017 (M_PI4_LOG10El): Likewise.
31018 (M_PI_LOG10El): Likewise.
31019
e9a5e0fd
AZ
310202013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31021
31022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31023
d8cd06db
JM
310242013-05-08 Joseph Myers <joseph@codesourcery.com>
31025
a0d9f9d7
JM
31026 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31027 (MINUS_ZERO_INIT): Likewise.
31028 (PLUS_INFTY_INIT): Likewise.
31029 (MINUS_INFTY_INIT): Likewise.
31030 (QNAN_VALUE_INIT): Likewise.
31031 (MAX_VALUE_INIT): Likewise.
31032 (MIN_VALUE_INIT): Likewise.
31033 (MIN_SUBNORM_VALUE_INIT): Likewise.
31034 (plus_zero): Initialize with PLUS_ZERO_INIT.
31035 (minus_zero): Initialize with MINUS_ZERO_INIT.
31036 (plus_infty): Initialize with PLUS_INFTY_INIT.
31037 (minus_infty): Initialize with MINUS_INFTY_INIT.
31038 (qnan_value): Initialize with QNAN_VALUE_INIT.
31039 (max_value): Initialize with MAX_VALUE_INIT.
31040 (min_value): Initialize with MIN_VALUE_INIT.
31041 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31042
ae08db3b
JM
31043 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31044 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31045 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31046 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31047
f44bf14a
JM
31048 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31049 (RUN_TEST_2_f): Likewise.
31050 (RUN_TEST_ff_f): Likewise.
31051 (RUN_TEST_fi_f): Likewise.
31052 (RUN_TEST_fl_f): Likewise.
31053 (RUN_TEST_fff_f): Likewise.
31054 (RUN_TEST_c_f): Likewise.
31055 (RUN_TEST_f_f1): Likewise.
31056 (RUN_TEST_fF_f1): Likewise.
31057 (RUN_TEST_fI_f1): Likewise.
31058 (RUN_TEST_ffI_f1): Likewise.
31059 (RUN_TEST_c_c): Likewise.
31060 (RUN_TEST_cc_c): Likewise.
31061 (RUN_TEST_f_i): Likewise.
31062 (RUN_TEST_f_i_tg): Likewise.
31063 (RUN_TEST_ff_i_tg): Likewise.
31064 (RUN_TEST_f_b): Likewise.
31065 (RUN_TEST_f_b_tg): Likewise.
31066 (RUN_TEST_f_l): Likewise.
31067 (RUN_TEST_f_L): Likewise.
31068 (RUN_TEST_sincos): Likewise.
31069 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31070 whether to show exceptions. Do not include ");\n" in return
31071 value.
31072 (special_functions): Output call to RUN_TEST_sincos instead of
31073 check_float calls. Update calls to new_test.
31074 (parse_args): Output call to single RUN_TEST_* macro instead of
31075 check_* calls and other assignments. Update calls to new_test.
31076
d8cd06db
JM
31077 [BZ #2546]
31078 [BZ #2560]
31079 [BZ #5159]
31080 [BZ #15426]
31081 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31082 input to result for tgamma overflow.
31083 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31084 (gamma_coeff): New variable.
31085 (NCOEFF): New macro.
31086 (gamma_positive): New function.
31087 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31088 underflow here. Use gamma_positive instead of exp (lgamma) for
31089 other arguments.
31090 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31091 (gamma_coeff): New variable.
31092 (NCOEFF): New macro.
31093 (gammaf_positive): New function.
31094 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31095 underflow here. Use gamma_positive instead of exp (lgamma) for
31096 other arguments.
31097 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31098 (gamma_coeff): New variable.
31099 (NCOEFF): New macro.
31100 (gammal_positive): New function.
31101 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31102 underflow here. Use gamma_positive instead of exp (lgamma) for
31103 other arguments.
31104 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31105 (gamma_coeff): New variable.
31106 (NCOEFF): New macro.
31107 (gammal_positive): New function.
31108 (__ieee754_gammal_r): Handle positive infinity, overflow and
31109 underflow here. Handle NaN the same as positive infinity. Remove
31110 check x < 0xffffffff for negative integers. Use gamma_positive
31111 instead of exp (lgamma) for other arguments.
31112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31113 (gamma_coeff): New variable.
31114 (NCOEFF): New macro.
31115 (gammal_positive): New function.
31116 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31117 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31121 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31122 * sysdeps/generic/math_private.h (__gamma_productf): New
31123 prototype.
31124 (__gamma_product): Likewise.
31125 (__gamma_productl): Likewise.
31126 * math/Makefile (libm-calls): Add gamma_product.
31127 * math/libm-test.inc (tgamma_test): Add more tests.
31128 * sysdeps/i386/fpu/libm-test-ulps: Update.
31129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31130
bb7cf681
OB
311312013-05-08 Ondřej Bílka <neleai@seznam.cz>
31132
31133 * benchtests/bench-skeleton.c (main): Preheat CPU.
31134
ba853947
AJ
311352013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31136
31137 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31138
8347c74c
RM
311392013-05-07 Roland McGrath <roland@hack.frob.com>
31140
31141 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31142 and _dl_skip_args_internal.
31143
e8dd4791
CD
311442013-05-07 Carlos O'Donell <carlos@redhat.com>
31145
31146 * manual/message.texi (Message Translation): Talk about users.
31147 Message to key mapping impacts design.
31148
c7405830
RM
311492013-05-06 Roland McGrath <roland@hack.frob.com>
31150
a9173057
RM
31151 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31152
976e2f03
RM
31153 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31154
9723ffc5
RM
31155 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31156 * sysdeps/wordsize-64/glob64.c: ... here.
31157
962e6658
RM
31158 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31159 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31160 New macros.
31161
ee586a6d
RM
31162 * debug/getlogin_r_chk.c: Moved to ...
31163 * login/getlogin_r_chk.c: ... here.
31164 * debug/Makefile (routines): Move getlogin_r_chk to ...
31165 * login/Makefile (routines): ... here.
31166 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31167 * login/Versions (libc: GLIBC_2.4): ... here.
31168
355f9165
RM
31169 * io/poll.c (__poll): Renamed from poll.
31170 Add libc_hidden_def.
31171 (poll): Define as weak alias.
31172
bd9ffde6
RM
31173 * debug/ptsname_r_chk.c: Moved to ...
31174 * login/ptsname_r_chk.c: ... here.
31175 * debug/Makefile (routines): Move ptsname_r_chk to ...
31176 * login/Makefile (routines): ... here.
31177 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31178 * login/Versions (libc: GLIBC_2.4): ... here.
31179
8fb16a04
RM
31180 * posix/getlogin.c: Moved to ...
31181 * login/getlogin.c: ... here.
31182 * posix/getlogin_r.c: Moved to ...
31183 * login/getlogin_r.c: ... here.
31184 * posix/getlogin_r.c: Moved to ...
31185 * login/getlogin_r.c: ... here.
31186 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31187 * login/Makefile (routines): ... here.
31188 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31189 * login/Versions (libc: GLIBC_2.0): ... here.
31190
b99b892f
RM
31191 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31192 (setrlimit): Define as weak alias.
31193
c7405830
RM
31194 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31195 Call __ names for open, ftruncate, and close.
31196 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31197 (truncate): Define as weak alias.
31198
5bf96de5
JM
311992013-05-06 Joseph Myers <joseph@codesourcery.com>
31200
9ea3513c
JM
31201 * math/gen-libm-test.pl (parse_args): Initialize x before each
31202 test of frexp, modf and remquo.
31203
5bf96de5
JM
31204 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31205 test signgam value.
31206
16e616a7
AZ
312072013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31208
31209 [BZ #15418]
31210 [BZ #15419]
31211 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31212 internal tests.
31213 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31214
d5e82754
RM
312152013-05-06 Roland McGrath <roland@hack.frob.com>
31216
31217 * elf/dl-writev.h: New file.
31218 * elf/dl-misc.c: Include it.
31219 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31220 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31221
a7548d41
JM
312222013-05-04 Joseph Myers <joseph@codesourcery.com>
31223
b7dab1e4
JM
31224 * math/libm-test.inc (noXFails): Remove variable.
31225 (noXPasses): Likewise.
31226 (BUILD_COMPLEX_INT): Remove macro.
31227 (print_screen): Remove xfail argument.
31228 (print_screen_max_error): Likewise.
31229 (update_stats): Likewise.
31230 (print_max_error): Likewise. Update calls to other affected
31231 functions.
31232 (print_complex_max_error): Likewise.
31233 (test_single_exception): Update calls to print_screen.
31234 (test_single_errno): Likewise.
31235 (check_float_internal): Remove xfail argument. Update calls to
31236 other affected functions.
31237 (check_float): Likewise.
31238 (check_complex): Likewise.
31239 (check_int): Likewise.
31240 (check_long): Likewise.
31241 (check_bool): Likewise.
31242 (check_longlong): Likewise.
31243 (main): Don't print noXFails and noXPasses.
31244 * math/gen-libm-test.pl (top level): Don't mention expected
31245 failure handling in comment.
31246 (new_test): Don't handle expected failures.
31247 (parse_args): Don't mention expected failure handling in comment.
31248 (generate_testfile): Don't handle expected failures.
31249 (parse_ulps): Likewise.
31250 (print_ulps_file): Likewise.
31251 (get_failure): Remove function.
31252 (output_test): Don't handle expected failures.
31253 * make/README.libm-test: Don't mention expected failure handling.
31254
a7548d41
JM
31255 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31256 (minus_zero): Likewise.
31257 (plus_infty): Likewise.
31258 (minus_infty): Likewise.
31259 (qnan_value): Likewise.
31260 (max_value): Likewise.
31261 (min_value): Likewise.
31262 (min_subnorm_value): Likewise.
31263 (initialize): Do not initialize those variables dynamically.
31264
60bfd54c
RM
312652013-05-03 Roland McGrath <roland@hack.frob.com>
31266
cc0e6ed8
RM
31267 * io/open.c (__open_2): Moved to ...
31268 * io/open_2.c: ... this new file.
31269 * io/open64.c (__open64_2): Moved to ...
31270 * io/open64_2.c: ... this new file.
31271 * io/openat.c (__openat_2): Moved to ...
31272 * io/openat_2.c: ... this new file.
31273 * io/openat64.c (__openat64_2): Moved to ...
31274 * io/openat64_2.c: ... this new file.
31275 * io/Makefile (routines): Add them.
31276 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31277 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31278 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31279 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31280 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31281 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31282 (__openat64): Add hidden_ver.
31283 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31284 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31285
60bfd54c
RM
31286 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31287 Separately conditionalize setting of GLRO(dl_sysinfo) so
31288 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31289 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31290
83e7640f
AZ
312912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31292
31293 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31294 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31295 definition.
31296 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31297 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31298 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31299 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31300 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31301
d5dc2af3
JM
313022013-05-03 Joseph Myers <joseph@codesourcery.com>
31303
c31a5b1e
JM
31304 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31305 test signgam value.
31306
d5dc2af3
JM
31307 * math/libm-test.inc (hypot_test): Do not use
31308 IGNORE_ZERO_INF_SIGN.
31309
164fd39d
AJ
313102013-05-03 Andreas Jaeger <aj@suse.de>
31311
31312 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31313 Linux 3.9.
31314 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31315 (PF_MAX): Adjust for VSOCK change.
31316
8237f48c
AZ
313172013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31318
31319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31320
9df02941
CD
313212013-05-02 Carlos O'Donell <carlos@redhat.com>
31322
31323 [BZ #15264]
31324 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31325 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31326 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31327
d422395e
DM
313282013-05-02 David S. Miller <davem@davemloft.net>
31329
31330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31331
a07c5731
OB
313322013-05-01 Ondřej Bílka <neleai@seznam.cz>
31333
31334 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31335
1324e37f
RM
313362013-05-01 Roland McGrath <roland@hack.frob.com>
31337
31338 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31339
0695940b
RS
313402013-05-01 Richard Smith <richard@metafoo.co.uk>
31341
bb5f27ad 31342 [BZ #14952]
0695940b
RS
31343 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31344 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31345 Use __attribute__ ((__gnu_inline__)).
31346 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31347 Don't use __attribute__ ((__gnu_inline__)).
31348
10de07f5
JM
313492013-05-01 Joseph Myers <joseph@codesourcery.com>
31350
31351 [BZ #15423]
31352 * math/s_catan.c (__catan): Handle small real or imaginary part of
31353 input specially to avoid spurious underflow.
31354 * math/s_catanf.c (__catanf): Likewise.
31355 * math/s_catanh.c (__catanh): Likewise.
31356 * math/s_catanhf.c (__catanhf): Likewise.
31357 * math/s_catanhl.c (__catanhl): Likewise.
31358 * math/s_catanl.c (__catanl): Likewise.
31359 * math/libm-test.inc (catan_test): Add more tests.
31360 (catanh_test): Likewise.
31361 * sysdeps/i386/fpu/libm-test-ulps: Update.
31362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31363
cb4d5414
AZ
313642013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31365
31366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31367
caf84319
JM
313682013-04-30 Joseph Myers <joseph@codesourcery.com>
31369
31370 [BZ #15416]
31371 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31372 accurately for denominator in atan2.
31373 * math/s_catanf.c (__catanf): Likewise.
31374 * math/s_catanh.c (__catanh): Likewise.
31375 * math/s_catanhf.c (__catanhf): Likewise.
31376 * math/s_catanhl.c (__catanhl): Likewise.
31377 * math/s_catanl.c (__catanl): Likewise.
31378 * math/libm-test.inc (catan_test): Add more tests.
31379 (catanh_test): Likewise.
31380 * sysdeps/i386/fpu/libm-test-ulps: Update.
31381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31382
d569c6ee
SP
313832013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31384
6dbe713d
SP
31385 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31386
f0ee064b
SP
31387 * benchtests/Makefile (bench): Remove slow benchmarks.
31388 * benchtests/atan-inputs: Add slow benchmark inputs.
31389 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31390 (BENCH_FUNC): Accept variant offset.
31391 (VARIANT): Define.
31392 * benchtests/bench-skeleton.c (main): Run benchmark for each
31393 variant.
31394 * benchtests/cos-inputs: Add slow benchmark inputs.
31395 * benchtests/exp-inputs: Likewise.
31396 * benchtests/pow-inputs: Likewise.
31397 * benchtests/sin-inputs: Likewise.
31398 * benchtests/slowatan-inputs: Remove.
31399 * benchtests/slowatan.c: Remove.
31400 * benchtests/slowcos-inputs: Remove.
31401 * benchtests/slowcos.c: Remove.
31402 * benchtests/slowexp-inputs: Remove.
31403 * benchtests/slowexp.c: Remove.
31404 * benchtests/slowpow-inputs: Remove.
31405 * benchtests/slowpow.c: Remove.
31406 * benchtests/slowsin-inputs: Remove.
31407 * benchtests/slowsin.c: Remove.
31408 * benchtests/slowtan-inputs: Remove.
31409 * benchtests/slowtan.c: Remove.
31410 * benchtests/tan-inputs: Add slow benchmark inputs.
31411 * scripts/bench.pl: Parse comments and directives.
31412
d569c6ee
SP
31413 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31414 in CPPFLAGS.
31415 ($(objpfx)bench-%.c): Remove *-ITER.
31416 * benchtests/bench-modf.c: Remove definition of ITER.
31417 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31418 (main): Loop for DURATION seconds instead of fixed number of
31419 iterations.
31420 * scripts/bench.pl: Don't expect iterations in parameters.
31421
a6a242fe
RM
314222013-04-29 Roland McGrath <roland@hack.frob.com>
31423
31424 * io/fchdir.c (__fchdir): Renamed from fchdir.
31425 (fchdir): Define as weak alias.
31426
f2da7793
JM
314272013-04-29 Joseph Myers <joseph@codesourcery.com>
31428
31429 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31430 (ERRNO_EDOM): Likewise.
31431 (ERRNO_ERANGE): Likewise.
31432 (noErrnoTests): New variable.
31433 (init_max_error): Set errno to 0.
31434 (test_single_errno): New function.
31435 (test_errno): Likewise.
31436 (check_float_internal): Call test_errno. Set errno to 0.
31437 (check_complex): Refer to errno tests in comment.
31438 (check_int): Call test_errno. Set errno to 0.
31439 (check_long): Likewise.
31440 (check_bool): Likewise.
31441 (check_longlong): Likewise.
31442 (cos_test): Use ERRNO_* flags for errno tests instead of
31443 check_int.
31444 (expm1_test): Likewise.
31445 (fmod_test): Likewise.
31446 (ilogb_test): Likewise.
31447 (lgamma_test): Likewise.
31448 (pow_test): Likewise.
31449 (remainder_test): Likewise.
31450 (sin_test): Likewise.
31451 (tan_test): Likewise.
31452 (yn_test): Likewise.
31453 (initialize): Set errno to 0.
31454 (main): Print number of errno tests.
31455 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31456
b1a36ceb
AJ
314572013-04-29 Andreas Jaeger <aj@suse.de>
31458
c3ed8088
AJ
31459 [BZ #15084]
31460 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31461 and RES_USEVC.
31462
f1a24198
AJ
31463 [BZ #15085]
31464 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31465 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31466 unimplemented.
31467
9ce3b2cb
AJ
31468 [BZ #15380]
31469 * stdlib/random.c (__initstate): Return NULL if
31470 __initstate fails.
31471
f1a24198 31472 [BZ #15086]
b1a36ceb
AJ
31473 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31474 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31475 RES_SNGLKUPREOP.
31476
7e7b6f36
AZ
314772013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31478
31479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31480
4d14f449
JM
314812013-04-29 Joseph Myers <joseph@codesourcery.com>
31482
31483 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31484 of individual tests.
31485 (casin_test): Likewise.
31486 (casinh_test): Likewise.
31487
5b4217d7
JM
314882013-04-27 Joseph Myers <joseph@codesourcery.com>
31489
31490 [BZ #15409]
31491 * math/s_catan.c (__catan): Handle arguments with large real or
31492 imaginary part separately without squaring.
31493 * math/s_catanf.c (__catanf): Likewise.
31494 * math/s_catanh.c (__catanh): Likewise.
31495 * math/s_catanhf.c (__catanhf): Likewise.
31496 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31497 and redefine.
31498 (__catanhl): Handle arguments with large real or imaginary part
31499 separately without squaring.
31500 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31501 and redefine.
31502 (__catanl): Handle arguments with large real or imaginary part
31503 separately without squaring.
31504 * math/libm-test.inc (catan_test): Add more tests.
31505 (catanh_test): Likewise.
31506 * sysdeps/i386/fpu/libm-test-ulps: Update.
31507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31508
4220c3ef
AJ
315092013-04-27 Andreas Jaeger <aj@suse.de>
31510
31511 [BZ #15007]
31512 * stdlib/stdlib.h: Update guards for qecvt.
31513 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31514 <stdlib.h>.
31515
4721b2d1
AM
315162013-04-27 Allan McRae <allan@archlinux.org>
31517
31518 * sysdeps/i386/fpu/libm-test-ulps: Update.
31519
f0302940
JM
315202013-04-26 Joseph Myers <joseph@codesourcery.com>
31521
9457fd95
JM
31522 [BZ #15406]
31523 * math/s_catan.c: Include <float.h>.
31524 (__catan): Ensure underflow exception occurs for underflowed
31525 result.
31526 * math/s_catanf.c: Include <float.h>.
31527 (__catanf): Ensure underflow exception occurs for underflowed
31528 result.
31529 * math/s_catanh.c: Include <float.h>.
31530 (__catanh): Ensure underflow exception occurs for underflowed
31531 result.
31532 * math/s_catanhf.c: Include <float.h>.
31533 (__catanhf): Ensure underflow exception occurs for underflowed
31534 result.
31535 * math/s_catanhl.c: Include <float.h>.
31536 (__catanhl): Ensure underflow exception occurs for underflowed
31537 result.
31538 * math/s_catanl.c: Include <float.h>.
31539 (__catanl): Ensure underflow exception occurs for underflowed
31540 result.
31541 * math/libm-test.inc (catan_test): Add more tests.
31542 (catanh_test): Likewise.
31543
f0302940
JM
31544 [BZ #15405]
31545 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31546 underflowed result.
31547 * math/s_ccoshf.c (__ccoshf): Likewise.
31548 * math/s_ccoshl.c (__ccoshl): Likewise.
31549 * math/s_csin.c (__csin): Likewise.
31550 * math/s_csinf.c (__csinf): Likewise.
31551 * math/s_csinh.c (__csinh): Likewise.
31552 * math/s_csinhf.c (__csinhf): Likewise.
31553 * math/s_csinhl.c (__csinhl): Likewise.
31554 * math/s_csinl.c (__csinl): Likewise.
31555 * math/libm-test.inc (ccos_test): Add more tests.
31556 (ccosh_test): Likewise.
31557 (csin_test): Likewise.
31558 (csinh_test): Likewise.
31559
aa630f59
AZ
315602013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31561
31562 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31563 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31564 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31565 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31566 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31567 powerpc/power5+/fpu folders.
31568 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31569
31570
1b835983
MT
315712013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31572
31573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31574
73709b26
JM
315752013-04-25 Joseph Myers <joseph@codesourcery.com>
31576
31577 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31578 additions to variable.
31579 [$(config-machine) = x86_64] (modules-names): Likewise.
31580 ($(objpfx)tst-audit3): Remove dependency.
31581 ($(objpfx)tst-audit3.out): Likewise.
31582 ($(objpfx)tst-audit4): Likewise.
31583 ($(objpfx)tst-audit4.out): Likewise.
31584 ($(objpfx)tst-audit5): Likewise.
31585 ($(objpfx)tst-audit5.out): Likewise.
31586 ($(objpfx)tst-audit6): Likewise.
31587 ($(objpfx)tst-audit6.out): Likewise.
31588 ($(objpfx)tst-audit7): Likewise.
31589 ($(objpfx)tst-audit7.out): Likewise.
31590 (tst-audit3-ENV): Remove variable.
31591 (tst-audit4-ENV): Likewise.
31592 (tst-audit5-ENV): Likewise.
31593 (tst-audit6-ENV): Likewise.
31594 (tst-audit7-ENV): Likewise.
31595 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31596 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31597 addition to variable.
31598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31601 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31602 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31603 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31604 tst-audit3, tst-audit4 and tst-audit5.
31605 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31606 tst-audit6 and tst-audit7.
31607 [$(subdir) = elf] (modules-names): Add audit modules for those
31608 tests.
31609 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31610 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31611 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31612 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31613 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31614 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31615 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31616 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31617 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31618 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31619 [$(subdir) = elf] (tst-audit3-ENV): New variable.
31620 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31621 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31622 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31623 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31624 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31625 Likewise.
31626 [$(subdir) = elf && $(config-cflags-avx) = yes]
31627 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31628 [$(subdir) = elf && $(config-cflags-avx) = yes]
31629 (CFLAGS-tst-auditmod4a.c): Likewise.
31630 [$(subdir) = elf && $(config-cflags-avx) = yes]
31631 (CFLAGS-tst-auditmod4b.c): Likewise.
31632 [$(subdir) = elf && $(config-cflags-avx) = yes]
31633 (CFLAGS-tst-auditmod6b.c): Likewise.
31634 [$(subdir) = elf && $(config-cflags-avx) = yes]
31635 (CFLAGS-tst-auditmod6c.c): Likewise.
31636 [$(subdir) = elf && $(config-cflags-avx) = yes]
31637 (CFLAGS-tst-auditmod7b.c): Likewise.
31638 * elf/tst-audit3.c: Move to ...
31639 * sysdeps/x86_64/tst-audit3.c: ... here.
31640 * elf/tst-audit4.c: Move to ...
31641 * sysdeps/x86_64/tst-audit4.c: ... here.
31642 * elf/tst-audit5.c: Move to ...
31643 * sysdeps/x86_64/tst-audit5.c: ... here.
31644 * elf/tst-audit6.c: Move to ...
31645 * sysdeps/x86_64/tst-audit6.c: ... here.
31646 * elf/tst-audit7.c: Move to ...
31647 * sysdeps/x86_64/tst-audit7.c: ... here.
31648 * elf/tst-auditmod3a.c: Move to ...
31649 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31650 * elf/tst-auditmod3b.c: Move to ...
31651 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31652 * elf/tst-auditmod4a.c: Move to ...
31653 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31654 * elf/tst-auditmod4b.c: Move to ...
31655 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31656 * elf/tst-auditmod5a.c: Move to ...
31657 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31658 * elf/tst-auditmod5b.c: Move to ...
31659 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31660 * elf/tst-auditmod6a.c: Move to ...
31661 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31662 * elf/tst-auditmod6b.c: Move to ...
31663 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31664 * elf/tst-auditmod6c.c: Move to ...
31665 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31666 * elf/tst-auditmod7a.c: Move to ...
31667 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31668 * elf/tst-auditmod7b.c: Move to ...
31669 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31670
1ef74943
PP
316712013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31672
31673 [BZ #15366]
31674 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31675 define unconditionally.
31676 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31677 define unconditionally.
31678 (INT8_C, INT16_C, etc.): Likewise.
31679
93fd48c5
MR
316802013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
31681
ae9552cf
MR
31682 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31683 __ehdr_start with hidden visibility.
31684
93fd48c5
MR
31685 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31686
418601aa
CD
316872013-04-24 Carlos O'Donell <carlos@redhat.com>
31688
31689 * math/libm-test.inc (cos_test): Use accurate hex constants.
31690 (sincost_test): Likewise.
31691
2f38fbfe
JM
316922013-04-24 Joseph Myers <joseph@codesourcery.com>
31693
5e221800
JM
31694 * math/libm-test.inc (catan_test): Add more tests.
31695 (catanh_test): Likewise.
31696
77f143fd
JM
31697 * math/s_catanf.c (__catanf): Use suffixed floating-point
31698 constants.
31699 * math/s_catanhf.c (__catanhf): Likewise.
31700 * math/s_catanhl.c (__catanhl): Likewise.
31701 * math/s_catanl.c (__catanl): Likewise.
31702
2f38fbfe
JM
31703 [BZ #15394]
31704 * math/s_catan.c (__catan): Calculate imaginary part of result
31705 with log1p not log unless computing log of number close to 0.
31706 * math/s_catanf.c (__catanf): Likewise.
31707 * math/s_catanl.c (__catanl): Likewise.
31708 * math/s_catanh.c (__catanh): Calculate real part of result with
31709 log1p not log unless computing log of number close to 0.
31710 * math/s_catanhf.c (__catanhf): Likewise.
31711 * math/s_catanhl.c (__catanhl): Likewise.
31712 * math/libm-test.inc (catan_test): Add more tests.
31713 (catanh_test): Likewise.
31714 * sysdeps/i386/fpu/libm-test-ulps: Update.
31715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31716
45d69176
SP
317172013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31718
31719 * benchtests/Makefile: Mention files in which fast and slow
31720 paths of math functions are implemented.
31721
87f51853
RM
317222013-04-23 Roland McGrath <roland@hack.frob.com>
31723
31724 * sysdeps/posix/timespec_get.c: New file.
31725
3c026539
AZ
317262013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31727
31728 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31729 POWER.
31730 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31731 for POWER.
31732 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31733 powerpc/power5/fpu folders.
31734 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31735 * benchtests/Makefile: Add modf testcase.
31736 * benchtests/bench-modf.c: New file: Benchmark test for mo
31737
ff491d14
SP
317382013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31739
31740 [BZ #14888]
31741 * time/Makefile (tests): Add tst-strptime-whitespace.
31742 * time/strptime_l.c (get_number): Use ISSPACE.
31743 (__strptime_internal): Likewise.
31744 * time/tst-strptime-whitespace.c: New test case.
31745
7ed3f4e8
AS
317462013-04-23 Andreas Schwab <schwab@linux-m68k.org>
31747
31748 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31749 member.
31750 (_nss_files_init): Set it here.
31751
5c95f7b6
HC
317522013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
31753
31754 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31755 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31756 unsigned.
31757
d34c9158
JBG
317582013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
31759
31760 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31761
2169712d
SP
317622013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31763
31764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31765 size just once.
31766
29c5de99
DM
317672013-04-21 David S. Miller <davem@davemloft.net>
31768
31769 * po/ru.po: Update Russion translation from translation project.
31770
ccdad15d
AC
317712013-04-17 Adam Conrad <adconrad@0c3.net>
31772
31773 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31774 and setfsgid.
31775
0f122b8d
CD
317762013-04-17 Carlos O'Donell <carlos@redhat.com>
31777
5c5b07da 31778 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 31779 * configure: Regenerate.
5c5b07da 31780 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
31781 Add example to error message.
31782 * sysdeps/i386/configure: Regenerate.
31783
037714dd
SP
317842013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31785
31786 * benchtests/Makefile (bench): Add cos, tan, slowcos and
31787 slowtan.
31788 * benchtests/cos-inputs: New file.
31789 * benchtests/slowcos-inputs: New file.
31790 * benchtests/slowcos.c: New file.
31791 * benchtests/slowtan-inputs: New file.
31792 * benchtests/slowtan.c: New file.
31793 * benchtests/tan-inputs: New file.
31794
e913141d
RM
317952013-04-16 Roland McGrath <roland@hack.frob.com>
31796
31797 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31798 considered kosher.
31799
a2964074
SP
318002013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31801
4856bcd2
SP
31802 * benchtests/Makefile: Include cppflags-iterator.mk to add
31803 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31804
a2964074
SP
31805 * Makefile.in (bench-clean): New target.
31806 * benchtests/Makefile (bench-clean): Likewise.
31807
9fbf9aca
DH
318082013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
31809
31810 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31811
207d1e2a
TS
318122013-04-15 Thomas Schwinge <thomas@codesourcery.com>
31813
31814 * stdio-common/tstdiomisc.c: Fix coding-style violation.
31815
306dfba9
AS
318162013-04-15 Andreas Schwab <schwab@suse.de>
31817
31818 * nscd/grpcache.c (cache_addgr): Properly check for short write.
31819 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31820 * nscd/pwdcache.c (cache_addpw): Likewise.
31821 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
31822 more than recsize.
31823
206a6699
SP
318242013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31825
31826 * benchtests/Makefile (bench): Write all output to
31827 bench-out.tmp together.
31828
0582f6b3
AS
318292013-04-15 Andreas Schwab <schwab@suse.de>
31830
31831 * nscd/nscd.c (main): Don't fork again after closing files.
31832
acb4325f
SP
318332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31834
5cb26d0a
SP
31835 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31836
acb4325f
SP
31837 * benchtests/Rules (bench-deps): Collect dependencies into a
31838 single variable. Add Makefile to dependencies.
31839 ($(objpfx)bench-%.c): Depend on bench-deps.
31840
47792506
RM
318412013-04-12 Roland McGrath <roland@hack.frob.com>
31842 Xavier Roche <roche+kml2@exalead.com>
31843
31844 [BZ #15361]
31845 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31846 just that it's a file descriptor.
31847 * manual/llio.texi (Synchronizing AIO Operations): Update description
31848 for EBADF error from aio_fsync.
31849
8fc1bee5
SP
318502013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31851
31852 * Rules (bench): Move target definition...
31853 * benchtests/Makefile: ... here.
31854
aba5e333
CD
318552013-04-11 Carlos O'Donell <carlos@redhat.com>
31856
31857 * math/libm-test.inc (cos_test): Fix PI/2 test.
31858 (sincos_test): Likewise.
31859 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31860 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31861
273cdee8
AS
318622013-04-11 Andreas Schwab <schwab@suse.de>
31863
6ecec3b6
AS
31864 [BZ #13988]
31865 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31866 accept exponent character only when digits were seen.
31867 * stdio-common/Makefile (tests): Add bug26.
31868 * stdio-common/bug26.c: New file.
31869
273cdee8
AS
31870 [BZ #14293]
31871 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31872 non-freeable.
31873
8da491f5
SP
318742013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31875
01dc6df9
SP
31876 * Makeconfig (rtld-prefix): Define built linker prefix.
31877 * Rules (run-bench): Use it.
31878 * math/Makefile (run-regen-ulps): Likewise.
31879
8da491f5
SP
31880 * Rules (bench): Remove eval.
31881
abe7f530
SP
318822013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31883 Roland McGrath <roland@hack.frob.com>
31884 Ondrej Bilka <neleai@seznam.cz>
31885
31886 [BZ #15346]
31887 * time/getdate.c: Include ctype.h and alloca.h.
31888 (__getdate_r): Trim leading and trailing spaces of input.
31889 * time/tst-getdate.c (tests): Add tests with leading and
31890 trailing spaces.
31891
61c23e62
RM
318922013-04-08 Roland McGrath <roland@hack.frob.com>
31893
31894 [BZ #14280]
31895 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31896 when computing value.
31897
7208a313
CD
318982013-04-06 Carlos O'Donell <carlos@redhat.com>
31899
085b2d41
CD
31900 * math/README.libm-test (How can I generate "libm-test-ulps"?):
31901 Use testrun.sh to run libm tests.
31902
7208a313
CD
31903 [BZ #15309]
31904 * elf/dl-open.c (dl_open_worker): memset all of seen array.
31905
872c0acd
MM
319062013-04-06 Marko Myllynen <myllynen@redhat.com>
31907
31908 [BZ #15264]
31909 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31910
26510bdd
CD
319112013-04-06 Carlos O'Donell <carlos@redhat.com>
31912
31913 * Makefile.in (regen-ulps): New target.
31914 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31915 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31916 [ifneq (no,$(PERL)] (regen-ulps): New target.
31917 [ifeq (no,$(PERL)] (regen-ulps): New target.
31918 * math/libm-test.inc (ulps_file_name): Define.
31919 (output_dir): New variable.
31920 (options): Add "output-dir" option.
31921 (parse_opt): Handle 'o' case.
31922 (main): If output_dir is non-NULL use it as a prefix
31923 otherwise use "".
31924 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31925
a01f19c8
CD
319262013-04-06 Carlos O'Donell <carlos@redhat.com>
31927
31928 [BZ #10060, #10062]
31929 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31930 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31931 fail configure if __sync_val_compare_and_swap is not inlined.
31932 * sysdeps/i386/configure: Regenerate.
31933 * configure.in: Build for i686 when configured for i386.
31934 * configure: Regenerate.
31935 * README: Remove i386 reference.
31936
b7a329a5
CD
319372013-04-06 Carlos O'Donell <carlos@redhat.com>
31938
31939 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31940 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31941
bf0f50df
TS
319422013-04-05 Thomas Schwinge <thomas@codesourcery.com>
31943
ee091edf
TS
31944 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31945 (lmsnanval): New variables.
31946 (F): Add conversion tests.
31947 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31948 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31949
a8b792d6
TS
31950 * stdio-common/tstdiomisc.c (F): Properly collect individual
31951 tests' results.
31952
a1cbf437
TS
31953 [BZ #14686, #15336]
31954 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31955 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31956 Instead, use input NaN values or generate a qNaN by arithmetic
31957 operation. Also fix bugs to comply with the standard.
31958 * math/libm-test.inc (remainder_test): Add more tests.
31959
8b43a0c9
TS
31960 [BZ #15335, #15342]
31961 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31963 input NaN values or generate a qNaN by arithmetic operation.
31964
d91da4ce
TS
31965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31966 unreachable code.
31967
bf0f50df
TS
31968 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31969 definitions.
31970
05e166c8
JM
319712013-04-03 Joseph Myers <joseph@codesourcery.com>
31972
31973 [BZ #14478]
31974 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31975 underflowed result.
31976 * math/s_cexpf.c (__cexpf): Likewise.
31977 * math/s_cexpl.c (__cexpl): Likewise.
31978 * math/libm-test.inc (cexp_test): Add more tests.
31979
1cef1b19
AS
319802013-04-03 Andreas Schwab <schwab@suse.de>
31981
31982 [BZ #15330]
31983 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31984 order arrays from heap if bigger than alloca cutoff.
31985
74d87055
TS
319862013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31987
31988 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31989 (SNAN_TESTS_double): Refer to GCC PR56831.
31990 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31991 GCC PR56828.
31992
d755bba4
SP
319932013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31994
90d5d5bb
SP
31995 * Rules (bench): Move bench.out after the run is complete.
31996
73e0cd5d
SP
31997 * Rules (bench): Echo currently running benchmark.
31998
64aabd4b
SP
31999 * benchtests/Makefile (bench): Add atan and slowatan.
32000 * benchtests/atan-inputs: New file.
32001 * benchtests/slowatan-inputs: New file.
32002 * benchtests/slowatan.c: New file.
32003
c871eccd
SP
32004 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32005 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32006 its value.
32007
d755bba4
SP
32008 [BZ #15305]
32009 * sysdeps/unix/sysv/linux/kernel-features.h
32010 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32011 __ASSUME_XFS_RESTRICTED_CHOWN.
32012 * sysdeps/unix/sysv/linux/pathconf.c
32013 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32014 Save and restore errno.
32015
52ce4860
JM
320162013-04-02 Joseph Myers <joseph@codesourcery.com>
32017
32018 [BZ #15327]
32019 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32020 arguments using __kernel_casinh.
32021 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32022 arguments using __kernel_casinhf.
32023 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32024 arguments using __kernel_casinhl.
32025 * math/libm-test.inc (cacosh_test): Add more tests.
32026 * sysdeps/i386/fpu/libm-test-ulps: Update.
32027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32028
81f311c2
SP
320292013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32030
e7906a47
SP
32031 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32033
92e3664b
SP
32034 * bench/Makefile (bench): Add sin and slowsin.
32035 * benchtests/sin-inputs: New file.
32036 * benchtests/slowsin-inputs: New file.
32037 * benchtests/slowsin.c: New file.
32038
81f311c2
SP
32039 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32040 (bench): Add slowexp and slowpow.
32041 (exp-ITER): Increase iterations.
32042 (pow-ITER): Likewise.
32043 * benchtests/exp-inputs: Change input.
32044 * benchtests/pow-inputs: Likewise.
32045 * benchtests/slowexp-inputs: New file.
32046 * benchtests/slowexp.c: New file.
32047 * benchtests/slowpow-inputs: New file.
32048 * benchtests/slowpow.c: New file.
32049
ab0f1aa9
AZ
320502013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32051
32052 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32053 instructions.
32054 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32055 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32056 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32057 * benchtests/Makefile: Add rint benchtest.
32058 * benchtests/rint-inputs: Input for rint benchtest.
32059
57267616
TS
320602013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32061
32062 * Versions.def (libm): Add GLIBC_2.18.
32063 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32064 hidden libm prototypes.
32065 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32066 * math/Makefile (libm-calls): Add s_issignaling.
32067 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32068 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32069 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32070 declaration.
32071 * math/math.h [__USE_GNU] (issignaling): New macro.
32072 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32073 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32074 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32075 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32078 * manual/arith.texi (issignaling): New section.
32079 * manual/libm-err-tab.pl (@all_functions): Update comment.
32080 * math/gen-libm-test.pl (parse_args): Apply special handling for
32081 issignaling.
32082 * math/libm-test.inc (print_float, issignaling_test): New
32083 functions.
32084 (check_float_internal): Add issignaling checks.
32085 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32086 default definition.
32087 * sysdeps/powerpc/math-tests.h: New file.
32088 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32089 tests.
32090 * math/test-snan.c (TEST_FUNC): Likewise.
32091
6142896d
DM
320922013-03-30 David S. Miller <davem@davemloft.net>
32093
32094 * po/de.po: Update from translation team.
32095
ccc8cadf
JM
320962013-03-30 Joseph Myers <joseph@codesourcery.com>
32097
32098 [BZ #10357]
32099 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32100 imaginary part less than 1.0 and real part less than 0.5
32101 specially.
32102 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32103 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32104 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32105 (cacos_test): Add more tests.
32106 (casin_test): Likewise.
32107 (casinh_test): Likewise.
32108 * sysdeps/i386/fpu/libm-test-ulps: Update.
32109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32110
0f6a8d4b
SP
321112013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32112
0d1029de
SP
32113 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32114 ONE with its value.
32115
c2d94018
SP
32116 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32117 (__pow_mp): Replace ONE and MONE with their values.
32118 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32119 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32120 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32121 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32122 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32123 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32124
27ec37f1
SP
32125 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32126
a64d7e0e
SP
32127 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32128 (__pow_mp): Replace ZERO and MZERO with their values.
32129 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32130 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32131 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32133 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32134 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32135 (__sqr): Likewise.
32136
d26dd3eb
SP
32137 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32138
0f6a8d4b
SP
32139 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32140
e57b0c61
RM
321412013-03-28 Roland McGrath <roland@hack.frob.com>
32142
32143 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32144 Declare with __attribute__ ((weak)).
32145 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32146 Call __call_tls_dtors only if it's not NULL.
32147
356b3480
RM
321482013-03-28 Roland McGrath <roland@hack.frob.com>
32149
288f7d79
RM
32150 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32151 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32152 magic __ehdr_start linker symbol if it's defined.
32153 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32154 them up here if it was already done.
32155
dc0a0263
RM
32156 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32157 (_dl_aux_init): Use const in cast when setting it.
32158 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32159 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32160 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32161
3d3436ae
RM
32162 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32163 Declare them here.
32164 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32165 * csu/libc-tls.c: Nor here.
32166 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32167
356b3480
RM
32168 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32169 (__libc_message): Never call vsyslog.
32170
b0f1246a
AM
321712013-03-28 Alan Modra <amodra@gmail.com>
32172
32173 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32174 Define as empty.
32175 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32176 Likewise.
32177
fbbe2b9a
AZ
321782013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32179
32180 [BZ #15214]
32181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32182 underflow.
32183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32184
1728ab37
SP
321852013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32186
7a86be6e
SP
32187 [BZ #15304]
32188 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32189 Don't add gid passed as argument.
32190
1728ab37
SP
32191 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32192
3a7182a1
JM
321932013-03-27 Joseph Myers <joseph@codesourcery.com>
32194
32195 [BZ #15307]
32196 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32197 imaginary part between 1.0 and 1.5 and real part less than 0.5
32198 specially.
32199 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32200 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32201 * math/libm-test.inc (cacos_test): Add more tests.
32202 (casin_test): Likewise.
32203 (casinh_test): Likewise.
32204 * sysdeps/i386/fpu/libm-test-ulps: Update.
32205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32206
6f2e90e7
SP
322072013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32208
5739f705
SP
32209 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32210 constants.
32211 (norm): Likewise.
32212 (denorm): Likewise.
32213 (__dbl_mp): Likewise.
32214 (add_magnitudes): Likewise.
32215 (sub_magnitudes): Likewise.
32216 (__add): Likewise.
32217 (__sub): Likewise.
32218 (__mul): Likewise.
32219 (__sqr): Likewise.
32220 (__inv): Likewise.
32221 (__dvd): Likewise.
32222
e375e83d
SP
32223 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32224 commented code.
32225 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32226 (__dubcos): Likewise.
32227 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32228 (__ieee754_acos): Likewise.
32229 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32230 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32231 (__exp1): Likewise.
32232 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32234 (log1): Likewise.
32235 (my_log2): Likewise.
32236 (checkint): Likewise.
32237 * sysdeps/ieee754/dbl-64/e_remainder.c
32238 (__ieee754_remainder): Likewise.
32239 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32241 (bsloww): Likewise.
32242 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32243
6f2e90e7
SP
32244 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32245 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32246 MANTISSA_STORE_T to store computations on mantissa. Use
32247 macros for rounding and division.
32248 (denorm): Likewise.
32249 (__dbl_mp): Likewise.
32250 (add_magnitudes): Likewise.
32251 (sub_magnitudes): Likewise.
32252 (__mul): Likewise.
32253 (__sqr): Likewise.
32254 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32255 powers of two in terms of TWOPOW macro.
32256 (mp_no): Make type of mantissa as MANTISSA_T.
32257 [!RADIXI]: Define RADIXI.
32258 [!TWO52]: Define TWO52.
32259 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32260
fce14d4e
AZ
322612013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32262
32263 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32264 llroundl symbol when building for PPC32.
32265
9ad027fb
MW
322662013-03-24 Mark H Weaver <mhw@netris.org>
32267
32268 * manual/arith.texi (Normalization Functions): Fix prototypes for
32269 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32270
e42a38dd
AZ
322712013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32272
32273 [BZ #13889]
32274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32275 high value to check if expl overflow.
32276 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32277 to check for underflow and overflow.
32278 * math/libm-test.inc: Add exp test.
32279
2e0fb521
DL
322802013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32281
32282 [BZ #11120]
32283 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32284 with NOT_IN_libc.
32285
b5784d95
AZ
322862013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32287
32288 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32289 symbol.
32290
5aa4a1a1
TS
322912013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32292
bdef0be7
TS
32293 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32294 wrap blocks consisting of several statements.
32295
5aa4a1a1
TS
32296 * sysdeps/generic/math-tests.h: New file.
32297 * sysdeps/i386/fpu/math-tests.h: Likewise.
32298 * math/test-snan.c: Include it.
32299 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32300
98c48fe5
JM
323012013-03-21 Joseph Myers <joseph@codesourcery.com>
32302
32303 [BZ #15285]
32304 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32305 (__ieee754_j0l): Do not improve calculations using cos of twice
32306 input for inputs above LDBL_MAX / 2.0L.
32307 (__ieee754_y0l): Likewise.
32308 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32309 (__ieee754_j1l): Do not improve calculations using cos of twice
32310 input for inputs above LDBL_MAX / 2.0L.
32311 (__ieee754_y1l): Likewise.
32312 * math/libm-test.inc (j0_test): Add another test.
32313 (j1_test): Likewise.
32314 (y0_test): Likewise.
32315 (y1_test): Likewise.
32316 * sysdeps/i386/fpu/libm-test-ulps: Update.
32317
3775a8bc
SP
323182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32319
32320 * Rules ($(objpfx)bench-%.c): Include code from a C source
32321 file.
32322
0a1b2ae6
JM
323232013-03-21 Joseph Myers <joseph@codesourcery.com>
32324
32325 [BZ #15287]
32326 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32327 imaginary part 1.0 and real part less than 0.5 specially.
32328 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32329 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32330 * math/libm-test.inc (cacos_test): Add more tests.
32331 (casin_test): Likewise.
32332 (casinh_test): Likewise.
32333 * sysdeps/i386/fpu/libm-test-ulps: Update.
32334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32335
b33d4ce4
SP
323362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32337
32338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32339 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32340
bef0b507
JM
323412013-03-20 Joseph Myers <joseph@codesourcery.com>
32342
32343 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32344 * config.make.in (config-cflags-sse4): Remove variable.
32345 (config-cflags-avx): Likewise.
32346 (config-cflags-sse2avx): Likewise.
32347 (config-cflags-novzeroupper): Likewise.
32348 (config-asflags-i686): Likewise.
32349 (have-mfma4): Likewise.
32350 (have-as-vis3): Likewise.
32351 (MIG): Likewise.
32352 * configure.in (MIG): Do not AC_SUBST.
32353 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32354 (libc_cv_cc_sse4): Do not AC_SUBST.
32355 (libc_cv_cc_avx): Likewise.
32356 (libc_cv_cc_sse2avx): Likewise.
32357 (libc_cv_cc_novzeroupper): Likewise.
32358 (libc_cv_cc_fma4): Likewise.
32359 (libc_cv_as_i686): Likewise.
32360 (libc_cv_sparc_as_vis3): Likewise.
32361 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32362 LIBC_CONFIG_VAR.
32363 (config-asflags-i686): Likewise.
32364 (config-cflags-avx): Likewise.
32365 (config-cflags-sse2avx): Likewise.
32366 (have-mfma4): Likewise.
32367 (config-cflags-novzeroupper): Likewise.
32368 * sysdeps/mach/configure.in (MIG): Likewise.
32369 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32370 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32371 LIBC_CONFIG_VAR.
32372 (config-cflags-avx): Likewise.
32373 (config-cflags-sse2avx): Likewise.
32374 (have-mfma4): Likewise.
32375 (config-cflags-novzeroupper): Likewise.
32376 * configure: Regenerated.
32377 * sysdeps/i386/configure: Likewise.
32378 * sysdeps/mach/configure: Likewise.
32379 * sysdeps/sparc/configure: Likewise.
32380 * sysdeps/x86_64/configure: Likewise.
32381
912cc4b3
RM
323822013-03-20 Roland McGrath <roland@hack.frob.com>
32383
32384 [BZ #14812]
32385 * locale/programs/localedef.c (options): Put N_ translation marker
32386 on argument names, not just descriptions.
32387
04eed2b0
MS
323882013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32389
32390 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32391
a065ceff
OB
323922013-03-20 Ondřej Bílka <neleai@seznam.cz>
32393
9bb2a810 32394 [BZ #14176]
a065ceff
OB
32395 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32396
a600e5ce
RM
323972013-03-19 Roland McGrath <roland@hack.frob.com>
32398
32399 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32400 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32401 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32402 [!BEFORE_ABORT] (before_abort): New function.
32403 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32404 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32405 (writev_for_fatal): New function.
32406 (WRITEV_FOR_FATAL): New macro; call that.
32407 (backtrace_and_maps): New function.
32408 (BEFORE_ABORT): New macro; call that.
32409 (struct str_list): Type removed.
32410 (__libc_message, __libc_fatal): Functions removed.
32411 Include <sysdeps/posix/libc_fatal.c> instead.
32412
6b18bea6
JM
324132013-03-19 Joseph Myers <joseph@codesourcery.com>
32414
32415 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32416 constants.
32417 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32418 double constants.
32419
aaa8cb4b
AS
324202013-03-19 Andreas Schwab <schwab@suse.de>
32421
44673770
AS
32422 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32423 * sysdeps/gnu/configure: Regenerate.
32424
aaa8cb4b
AS
32425 * configure.in: Substitute libc_cv_rtlddir.
32426 * configure: Regenerate.
32427 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32428 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32429 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32430 * elf/Makefile (install-others, CFLAGS-interp.c)
32431 (ldso_install, common-ldd-rewrite): Likewise.
32432 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32433 $(inst_slibdir)/$(rtld-installed-name).
32434 * scripts/rellns-sh: Add -p option.
32435 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32436 for source.
32437
d3cfc668
SP
324382013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32439
32440 * manual/nptl.texi: Renamed to ...
32441 * manual/threads.texi: ... this.
32442 * manual/Makefile (chapters): Update.
32443
0e2b9cdd
RM
324442013-03-18 Roland McGrath <roland@hack.frob.com>
32445
32446 [BZ #14812]
32447 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32448 on argument names, not just descriptions.
0e2b9cdd
RM
32449 * malloc/memusagestat.c (options): Likewise.
32450 * nss/getent.c (options): Likewise.
63270c24
RM
32451
324522013-03-18 Benno Schulenberg <bensberg@justemail.net>
32453
32454 [BZ #14812]
32455 * iconv/iconv_prog.c (options): Put N_ translation marker
32456 on argument names, not just descriptions.
32457 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 32458
b2e1393c
OB
324592013-03-18 Ondrej Bilka <neleai@seznam.cz>
32460
32461 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32462 implementation which is faster on all x86_64 architectures.
32463 Tested on AMD, Intel Nehalem, SNB, IVB.
32464 * sysdeps/x86_64/strnlen.S: Likewise.
32465
32466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32467 Remove all multiarch strlen and strnlen versions.
32468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32469 Remove strlen and strnlen related parts.
32470
32471 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32472 Inline strlen part.
32473 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32474
32475 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32476 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32477 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32478 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32479 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32480 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32481
ec4ff04d
CD
324822013-03-17 Carlos O'Donell <carlos@redhat.com>
32483
32484 * manual/memory.texi (Malloc Tunable Parameters):
32485 Sort parameters alphabetically. Add comments for missing entries.
32486
cd18e90a
DM
324872013-03-17 David S. Miller <davem@davemloft.net>
32488
32489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32490
2a185d32
JM
324912013-03-16 Joseph Myers <joseph@codesourcery.com>
32492
d2f9799e
JM
32493 [BZ #15283]
32494 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32495 for arguments at most half maximum finite value.
32496 * math/libm-test.inc (j0_test): Add more tests.
32497 (j1_test): Likewise.
32498 (y0_test): Likewise.
32499 (y1_test): Likewise.
32500 * sysdeps/i386/fpu/libm-test-ulps: Update.
32501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32502
2a185d32
JM
32503 [BZ #14155]
32504 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32505 1 / x and functions P and Q for arguments above 0x1p256L.
32506 (__ieee754_y0l): Likewise.
32507 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32508 (__ieee754_y1l): Likewise.
32509 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32510 (j1_test): Likewise.
32511 (y0_test): Likewise.
32512 (y1_test): Likewise.
32513
6cbec759
TS
325142013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32515
32516 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32517 variable.
32518
bc16e260
RM
325192013-03-15 Roland McGrath <roland@hack.frob.com>
32520
aefc9b8c
RM
32521 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32522 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32523 zero since it's initialized to EXEC_PAGESIZE.
32524
bc16e260
RM
32525 * sysdeps/unix/sysv/linux/ldsodefs.h
32526 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32527 * sysdeps/generic/ldsodefs.h: ... here.
32528
a57da955
TS
325292013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32530
af00a34d
TS
32531 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32532
495ded2c
TS
32533 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32534 math/test-snan.c.
32535 * math/test-snan.c: Renamed from
32536 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32537 * math/Makefile (tests): Add test-snan.
32538 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32539 test-powerpc-snan.
32540
777b0332
TS
32541 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32542 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32543 functions.
32544 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32545 __builtin_nan family of functions.
32546 * math/libm-test.inc (initialize): Initialize qnan_value with
32547 __builtin_nan family of functions.
32548 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32549 Remove variables.
32550 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32551 Remove functions.
32552 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32553 storage class. Initialize qNaN_var and sNaN_var with
32554 __builtin_nan and __builtin_nans families of functions,
32555 respectively.
32556
64d063b8
TS
32557 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32558 (sqrt_test): Remove duplicate test with qNaN input.
32559 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32560 (round_test, signbit_test, significand_test): Note missing +/-Inf
32561 as well as qNaN tests.
32562
67e971f1
TS
32563 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32564 qNaN_var. Fix a few strings, too.
32565 * math/libm-test.inc (nan_value): Rename to qnan_value.
32566 * math/gen-libm-test.pl (%beautify): Adjust to that.
32567 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32568 * math/test-misc.c (main): Likewise.
32569 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32570 to __qnan_bytes, and __qnan_union, respectively.
32571 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32572 Likewise.
32573 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32574 and lqnanval, respectively.
32575 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32576 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32577 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32578 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32579
64487e12
TS
32580 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32581 * math/test-misc.c (main) [__x86_64__]: Enable test for long
32582 doubles.
32583
e015e27b
TS
32584 * math/test-misc.c (main): Fix copy'n'pastos.
32585 * misc/tst-efgcvt.c (special): Likewise.
32586
a57da955
TS
32587 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32588 Remove declarations.
32589
1e380345
SP
325902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32591
32592 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32593 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32594 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32595 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32596
ef26eece
AZ
325972013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32598
32599 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32600 macro to return vdso values correctly in IFUNC implementations.
32601 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32602 Optimization by using IFUNC.
32603
8cfdb7e0
SP
326042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32605 Richard Henderson <rth@redhat.com>
32606 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32607
32608 * Makefile.in (bench): New target.
32609 * NEWS: Mention the benchmark framework.
32610 * Rules (bench): Likewise.
32611 (binaries-bench): Generate binaries for functions to
32612 benchmark.
32613 * benchtests/Makefile: New makefile for benchmark tests.
32614 * benchtests/bench-skeleton.c: New skeleton file for benchmark
32615 programs.
32616 * benchtests/exp-inputs: New input file for EXP function.
32617 * benchtests/pow-inputs: New input file for POW function.
32618 * scripts/bench.pl: New script to generate source files for
32619 benchmark programs.
32620
bcda9880
SP
326212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32622
d22ca8cd
SP
32623 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32624 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32625 computations on mantissa. Use macros for rounding and
32626 division.
32627 (denorm): Likewise.
32628 (__dbl_mp): Likewise.
32629 (add_magnitudes): Likewise.
32630 (sub_magnitudes): Likewise.
32631 (__mul): Likewise.
32632 (__sqr): Likewise.
32633 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32634 powers of two in terms of TWOPOW macro.
32635 (mp_no): Make type of mantissa as MANTISSA_T.
32636 [!RADIXI]: Define RADIXI.
32637 [!TWO52]: Define TWO52.
32638 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32639
bcda9880
SP
32640 * manual/nptl.texi (cindex): Modify threads to pthreads.
32641
06d5adfb
JM
326422013-03-15 Joseph Myers <joseph@codesourcery.com>
32643
32644 * sysdeps/x86_64/preconfigure: Regenerated.
32645
41c7328e
JM
326462013-03-14 Joseph Myers <joseph@codesourcery.com>
32647
32648 [BZ #14155]
32649 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32650 0x1p28 and above.
32651 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32652 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32653 0x1p28 and above.
32654 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32655 * math/libm-test.inc (j0_test): Do not allow one spurious
32656 underflow exception.
32657 (y1_test): Likewise.
32658
e25cfa60
SP
326592013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32660
0409959c
SP
32661 * manual/Makefile (chapters): Add nptl.
32662 * manual/debug.texi (Debugging Support): Add link to Threads
32663 chapter.
32664 * manual/nptl.texi: New file.
32665
e25cfa60
SP
32666 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32667
58a1335e
PB
326682013-03-14 Petr Baudis <pasky@ucw.cz>
32669
32670 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32671 for non-NULL pointer before the memory validity test. Pointed
32672 out by Holger Brunck <holger.brunck@keymile.com>.
32673
9dc7c64f
AS
326742013-03-13 Andreas Schwab <schwab@suse.de>
32675
32676 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32677 instead of .os.
32678
54206aa6
JM
326792013-03-13 Joseph Myers <joseph@codesourcery.com>
32680
32681 * timezone/zic.c: Update from tzcode 2013b.
32682
e98cdb38
CD
326832013-03-12 Carlos O'Donell <carlos@redhat.com>
32684
32685 * manual/install.texi (Configuring and compiling):
32686 Mention i686 and i586.
32687 * INSTALL: Regenerate.
32688
9967e003
RM
326892013-03-12 Roland McGrath <roland@hack.frob.com>
32690
32691 * sysdeps/init_array/elf-init.c: New file.
32692 * csu/elf-init.c
32693 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32694 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32695
32696 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32697 __gmon_start__ as global, but as static with a .preinit_array pointer.
32698 * sysdeps/init_array/gmon-start.c: New file. Use that.
32699 * sysdeps/init_array/crti.S: New file, empty except for comments.
32700 * sysdeps/init_array/crtn.S: Likewise.
32701
e6b5a293 327022013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
32703
32704 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32705 definining bcopy.
80f844c9
OB
32706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32707 Remove Prefer_SSE_for_memop.
32708 * sysdeps/x86_64/multiarch/init-arch.h: Remove
32709 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32710 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
32711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32712 memset-x86-64.
80f844c9 32713 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 32714 Remove bzero, memset ifunc support.
80f844c9
OB
32715 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32716 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32717 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32718 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32719
fb6b0fcb
AS
327202013-03-11 Andreas Schwab <schwab@suse.de>
32721
32722 [BZ #15234]
32723 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32724 by SHLIB_COMPAT.
32725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32726 (GLIBC_2.16): Remove pthread_atfork.
32727
3e6bd4b1
PP
327282013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32729
32730 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32731 (ptestcases.h): Likewise.
32732
222d7f00
RM
327332013-03-08 Roland McGrath <roland@hack.frob.com>
32734
32735 * Makeconfig ($(common-objpfx)config.status): Depend on
32736 sysdeps/*/preconfigure{,.in} too.
32737
1ba4f030
JM
327382013-03-08 Joseph Myers <joseph@codesourcery.com>
32739
a222d91a
JM
32740 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32741 (__free_hook): Use void * instead of __malloc_ptr_t.
32742 (__malloc_hook): Likewise.
32743 (__realloc_hook): Likewise.
32744 (__memalign_hook): Likewise.
32745 (__after_morecore_hook): Likewise.
32746 * malloc/arena.c (save_malloc_hook): Likewise.
32747 (save_free_hook): Likewise.
32748 * malloc/hooks.c (malloc_hook_ini): Likewise.
32749 (realloc_hook_ini): Likewise.
32750 (memalign_hook_ini): Likewise.
32751 * malloc/malloc.c (malloc_hook_ini): Likewise.
32752 (realloc_hook_ini): Likewise.
32753 (memalign_hook_ini): Likewise.
32754 (__free_hook): Likewise.
32755 (__malloc_hook): Likewise.
32756 (__realloc_hook): Likewise.
32757 (__memalign_hook): Likewise.
32758 (__libc_malloc): Likewise.
32759 (__libc_free): Likewise.
32760 (__libc_realloc): Likewise.
32761 (__libc_memalign): Likewise.
32762 (__libc_valloc): Likewise.
32763 (__libc_pvalloc): Likewise.
32764 (__libc_calloc): Likewise.
32765 (__posix_memalign): Likewise.
32766 * malloc/morecore.c (__sbrk): Likewise.
32767 (__default_morecore): Likewise.
32768
5cc45e10
JM
32769 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32770
dd54b864
JM
32771 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32772 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32773 __malloc_ptrdiff_t.
32774
1ba4f030
JM
32775 * malloc/malloc.h (__malloc_size_t): Remove macro.
32776 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32777 __malloc_size_t.
32778 (old_memalign_hook): Likewise.
32779 (old_realloc_hook): Likewise.
32780 (struct hdr): Likewise.
32781 (flood): Likewise.
32782 (mallochook): Likewise.
32783 (memalignhook): Likewise.
32784 (reallochook): Likewise.
32785 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32786 (tr_old_realloc_hook): Likewise.
32787 (tr_old_memalign_hook): Likewise.
32788 (tr_mallochook): Likewise.
32789 (tr_reallochook): Likewise.
32790 (tr_memalignhook): Likewise.
32791
edf66e57
AZ
327922013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32793
32794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32795 default_ldbl_pack and using as default implementation.
32796 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32797 implementation.
32798 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32799 redundant definition.
32800 (ldbl_insert_mantissa): Likewise.
32801 (ldbl_canonicalize): Likewise.
32802 (ldbl_nearbyint): Likewise.
32803 (ldbl_pack): Rename to ldbl_pack_ppc.
32804 (ldbl_unpack): Rename to ldbl_unpack_ppc.
32805 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32806 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32807
6d9145d8
SP
328082013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32809
32810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32811 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32812 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32813 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32815 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32816 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32817 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32818
4dd4e157
AJ
328192013-03-07 Andreas Jaeger <aj@suse.de>
32820
32821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32822 bits/mman-linux.h.
32823
adbb8027
SP
328242013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32825
ce544b5b
SP
32826 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32827 Include mpa.h and declare __MPEXP.
32828 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32829 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32830 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32831 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32832 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32833 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32835
4cc149fd
SP
32836 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32837 (__slowpow): Use long double EXPL and LOGL functions to
32838 compute POW.
32839 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32840 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32842 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32843 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32844 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32845
e6ebd4a7
SP
32846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32847 intermediate variable to calculate exponent.
32848 (__sqr): Likewise.
32849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32850 Likewise.
32851 (__sqr): Likewise.
32852
82a9811d
SP
32853 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32854 [!NO__SQR]: Define __sqr.
32855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32856 and NO__SQR. Remove all code except __mul and __sqr. Include
32857 sysdeps/ieee754/dbl-64/mpa.c.
32858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32859
adbb8027
SP
32860 [BZ #12723]
32861 * posix/Makefile (tests): Add tst-pathconf.
32862 * posix/tst-pathconf.c: New test case.
32863 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32864 _PC_PIPE_BUF.
32865 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32866
39120df9
PF
328672013-03-06 Patsy Franklin <pfrankli@redhat.com>
32868
32869 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32870
67525cb8
AJ
328712013-03-06 Andreas Jaeger <aj@suse.de>
32872
664a9ce4
AJ
32873 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32874 definition via __MAP_ANONYMOUS.
32875
8e39047d
AJ
32876 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32877 it's not part of Linux headers.
32878
67525cb8
AJ
32879 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32880 (MAP_HUGE_MASK): Define.
32881
32882 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32883 Define.
32884 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32885 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32886 Define.
32887 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32888 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32889 Define.
32890 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32891 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32892 Define.
32893 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32894
32895 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32896 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32897 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32898 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32899 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32900 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32901
32902 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32903 Handle f2fs.
32904
32905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32906 Handle f2fs and efivarfs.
32907
32908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32909 f2fs.
32910
32911 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32912 (EFIVARFS_MAGIC): Add.
32913 (F2FS_LINK_MAX): Add.
32914
e1b42695
PP
329152013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32916
32917 * stdio-common/vfprintf.c: Replace __builtin_expect with
32918 __glibc_unlikely.
32919
2d67d91a
JM
329202013-03-06 Joseph Myers <joseph@codesourcery.com>
32921
32922 [BZ #13550]
32923 * sysdeps/generic/bp-sym.h: Remove file.
32924 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32925 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32926 <bp-sym.h> and <bp-asm.h>.
32927 (__longjmp): Don't use BP_SYM.
32928 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32929 and <bp-asm.h>.
32930 (memcpy): Don't use BP_SYM.
32931 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32932 <bp-sym.h> and <bp-asm.h>.
32933 (memcpy): Don't use BP_SYM.
32934 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32935 <bp-asm.h>.
32936 (memcpy): Don't use BP_SYM.
32937 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32938 <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/memcmp.S: Don't include
32946 <bp-sym.h> and <bp-asm.h>.
32947 (memcmp): Don't use BP_SYM. Remove comment about bounded
32948 pointers.
32949 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32950 <bp-sym.h> and <bp-asm.h>.
32951 (memcpy): Don't use BP_SYM.
32952 * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
32961 <bp-sym.h> and <bp-asm.h>.
32962 (strncmp): Don't use BP_SYM. Remove comment about bounded
32963 pointers.
32964 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32965 <bp-sym.h> and <bp-asm.h>.
32966 (memcpy): Don't use BP_SYM.
32967 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32968 <bp-sym.h> and <bp-asm.h>.
32969 (memset): Don't use BP_SYM.
32970 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32971 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32972 (__bzero): Don't use BP_SYM.
32973 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32974 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32975 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32976 <bp-sym.h> and <bp-asm.h>.
32977 (__memchr): Don't use BP_SYM.
32978 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32979 <bp-sym.h> and <bp-asm.h>.
32980 (memcmp): Don't use BP_SYM. Remove comment about bounded
32981 pointers.
32982 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32983 <bp-sym.h> and <bp-asm.h>.
32984 (memcpy): Don't use BP_SYM.
32985 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32986 <bp-sym.h> and <bp-asm.h>.
32987 (__mempcpy): Don't use BP_SYM.
32988 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32989 <bp-sym.h> and <bp-asm.h>.
32990 (__memrchr): Don't use BP_SYM.
32991 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32992 <bp-sym.h> and <bp-asm.h>.
32993 (memset): Don't use BP_SYM.
32994 (__bzero): Likewise.
32995 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32996 <bp-sym.h> and <bp-asm.h>.
32997 (__rawmemchr): Don't use BP_SYM.
32998 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32999 <bp-sym.h> and <bp-asm.h>.
33000 (__STRCMP): Don't use BP_SYM.
33001 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33002 <bp-sym.h> and <bp-asm.h>.
33003 (strchr): Don't use BP_SYM.
33004 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33005 <bp-sym.h> and <bp-asm.h>.
33006 (__strchrnul): Don't use BP_SYM.
33007 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33008 <bp-sym.h> and <bp-asm.h>.
33009 (strlen): Don't use BP_SYM.
33010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33011 <bp-sym.h> and <bp-asm.h>.
33012 (strncmp): Don't use BP_SYM. Remove comment about bounded
33013 pointers.
33014 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33015 <bp-sym.h> and <bp-asm.h>.
33016 (__strnlen): Don't use BP_SYM.
33017 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33018 <bp-sym.h> and <bp-asm.h>.
33019 (__GI__setjmp): Don't use BP_SYM.
33020 (_setjmp): Likewise.
33021 (__sigsetjmp): Likewise.
33022 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33023 (L(start_addresses)): Don't use BP_SYM.
33024 (_start): Likewise.
33025 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33026 <bp-asm.h>.
33027 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33028 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33029 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33030 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33031 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33032 <bp-asm.h>.
33033 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33034 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33035 about bounded pointers.
33036 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33037 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33038 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33039 <bp-asm.h>.
33040 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33041 about bounded pointers. Remove GKM FIXME comments.
33042 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33043 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33044 <bp-asm.h>.
33045 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33046 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33047 Remove GKM FIXME comments.
33048 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33049 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33050 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33051 <bp-asm.h>.
33052 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33053 about bounded pointers. Remove GKM FIXME comment.
33054 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33055 and <bp-asm.h>.
33056 (strncmp): Don't use BP_SYM. Remove comment about bounded
33057 pointers.
33058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33059 <bp-sym.h> and <bp-asm.h>.
33060 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33062 <bp-sym.h> and <bp-asm.h>.
33063 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33064 comment.
33065
cdcf361f
PP
330662013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33067
33068 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33069 call free(NULL).
33070
3c4a2b15
DM
330712013-03-05 David S. Miller <davem@davemloft.net>
33072
33073 * po/es.po: Update from translation team.
33074
cdcf361f 330752013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
33076
33077 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33078 <bits/mman-linux.h>.
33079 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33080 is fine.
33081 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33082 <bits/mman-linux.h> to end of file.
33083 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33084 is fine.
33085 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33086 <bits/mman-linux.h> to end of file.
33087 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33088 is fine.
33089 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33090 <bits/mman-linux.h> to end of file.
33091
33092 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33093 (MCL_CURRENT, MCL_FUTURE): Define here.
33094
5f67c04f
AK
330952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33096
8a4473cc 33097 [BZ #15232]
5f67c04f
AK
33098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33099 attribute_hidden.
33100 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33101
c3e94a95
AK
331022013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33103
33104 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33105 fourth parameter needed for rt_sigprocmask syscall.
33106 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33107 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33108 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33109 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33110 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33111 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33112
cfb6382a
JM
331132013-03-04 Joseph Myers <joseph@codesourcery.com>
33114
33115 [BZ #13550]
33116 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33117 comment about bounded pointers.
33118 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33119 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33120
539d8e01
AJ
331212013-03-04 Andreas Jaeger <aj@suse.de>
33122
33123 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33124 common definitions.
33125
33126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33127 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33128 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33129 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33130 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
33131 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33132
2e167a70 331332013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
33134
33135 [BZ #15055]
33136 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33137 __ieee754_sqrl instead of __sqrl.
33138
68508633
JM
331392013-03-01 Joseph Myers <joseph@codesourcery.com>
33140
33141 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33142 * sysdeps/powerpc/fpu_control.h: ... here.
33143 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33144 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33145 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33146 * sysdeps/powerpc/bits/mathinline.h: ... here.
33147
7775448e
RM
331482013-03-01 Roland McGrath <roland@hack.frob.com>
33149
33150 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33151 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33152 to just [NEED_DL_SYSINFO_DSO].
33153 * elf/dl-support.c: Likewise.
33154 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33155 * elf/rtld.c (dl_main): Likewise.
33156 * elf/setup-vdso.h (setup_vdso): Likewise.
33157 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33158 * sysdeps/unix/sysv/linux/dl-sysdep.c
33159 (_dl_discover_osversion): Likewise.
33160
4e9b5995
CD
331612013-03-01 Carlos O'Donell <carlos@redhat.com>
33162
33163 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33164 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33165
e23872c8
SP
331662013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33167
e5c74c63
SP
33168 * NEWS: Mention libm performance improvements and non-x86 PI
33169 futex support.
33170
e23872c8
SP
33171 * csu/libc-start.c (__pthread_initialize_minimal): Change
33172 function arguments.
33173 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33174
b5510883
JM
331752013-02-28 Joseph Myers <joseph@codesourcery.com>
33176
33177 [BZ #13550]
33178 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33179 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33180 <bp-sym.h> and <bp-asm.h>.
33181 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33182 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33183 and <bp-asm.h>.
33184 (memcpy): Don't use BP_SYM.
33185 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33186 <bp-asm.h>.
33187 (__mpn_add_n): Don't use BP_SYM.
33188 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33189 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33190 and <bp-asm.h>.
33191 (__mpn_addmul_1): Don't use BP_SYM.
33192 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33193 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33194 <bp-sym.h>.
33195 (_setjmp): Don't use BP_SYM.
33196 (__novmx_setjmp): Likewise.
33197 (__GI__setjmp): Likewise.
33198 (__vmx_setjmp): Likewise.
33199 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33200 <bp-sym.h>.
33201 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33202 (__bzero): Don't use BP_SYM.
33203 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33204 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33205 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33206 <bp-sym.h> and <bp-asm.h>.
33207 (memcpy): Don't use BP_SYM.
33208 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33209 <bp-sym.h> and <bp-asm.h>.
33210 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33211 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33212 <bp-sym.h> and <bp-asm.h>.
33213 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33214 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33215 <bp-asm.h>.
33216 (__mpn_lshift): Don't use BP_SYM.
33217 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33218 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33219 <bp-asm.h>.
33220 (memset): Don't use BP_SYM.
33221 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33222 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33223 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33224 <bp-asm.h>.
33225 (__mpn_mul_1): Don't use BP_SYM.
33226 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33227 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33228 <bp-sym.h> and <bp-asm.h>.
33229 (memcmp): Don't use BP_SYM.
33230 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33231 <bp-sym.h> and <bp-asm.h>.
33232 (memcpy): Don't use BP_SYM.
33233 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33234 <bp-sym.h> and <bp-asm.h>.
33235 (memset): Don't use BP_SYM.
33236 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33237 <bp-sym.h> and <bp-asm.h>.
33238 (strncmp): Don't use BP_SYM.
33239 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33240 <bp-sym.h> and <bp-asm.h>.
33241 (memcpy): Don't use BP_SYM.
33242 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33243 <bp-sym.h> and <bp-asm.h>.
33244 (memset): Don't use BP_SYM.
33245 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33246 <bp-sym.h> and <bp-asm.h>.
33247 (__memchr): Don't use BP_SYM.
33248 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33249 <bp-sym.h> and <bp-asm.h>.
33250 (memcmp): Don't use BP_SYM.
33251 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33252 <bp-sym.h> and <bp-asm.h>.
33253 (memcpy): Don't use BP_SYM.
33254 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33255 <bp-sym.h> and <bp-asm.h>.
33256 (__mempcpy): Don't use BP_SYM.
33257 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33258 <bp-sym.h> and <bp-asm.h>.
33259 (__memrchr): Don't use BP_SYM.
33260 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33261 <bp-sym.h> and <bp-asm.h>.
33262 (memset): Don't use BP_SYM.
33263 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33264 <bp-sym.h> and <bp-asm.h>.
33265 (__rawmemchr): Don't use BP_SYM.
33266 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33267 <bp-sym.h> and <bp-asm.h>.
33268 (__STRCMP): Don't use BP_SYM.
33269 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33270 <bp-sym.h> and <bp-asm.h>.
33271 (strchr): Don't use BP_SYM.
33272 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33273 <bp-sym.h> and <bp-asm.h>.
33274 (__strchrnul): Don't use BP_SYM.
33275 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33276 <bp-sym.h> and <bp-asm.h>.
33277 (strlen): Don't use BP_SYM.
33278 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33279 <bp-sym.h> and <bp-asm.h>.
33280 (strncmp): Don't use BP_SYM.
33281 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33282 <bp-sym.h> and <bp-asm.h>.
33283 (__strnlen): Don't use BP_SYM.
33284 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33285 <bp-asm.h>.
33286 (__mpn_rshift): Don't use BP_SYM.
33287 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33288 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33289 <bp-sym.h> and <bp-asm.h>.
33290 (__sigsetjmp): Don't use BP_SYM.
33291 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33292 (L(start_addresses)): Don't use BP_SYM.
33293 (_start): Likewise.
33294 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33295 <bp-asm.h>.
33296 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33297 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33298 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33299 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33300 <bp-asm.h>.
33301 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33302 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33303 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33304 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33305 <bp-asm.h>.
33306 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33307 comments.
33308 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33309 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33310 <bp-asm.h>.
33311 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33312 FIXME comments.
33313 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33314 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33315 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33316 <bp-asm.h>.
33317 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33318 comment.
33319 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33320 and <bp-asm.h>.
33321 (strncmp): Don't use BP_SYM,
33322 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33323 <bp-asm.h>.
33324 (__mpn_sub_n): Don't use BP_SYM.
33325 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33326 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33327 and <bp-asm.h>.
33328 (__mpn_submul_1): Don't use BP_SYM.
33329 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33331 <bp-sym.h> and <bp-asm.h>.
33332 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33334 <bp-sym.h> and <bp-asm.h>.
33335 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33336 comment.
33337
8d19fe64
SP
333382013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33339
33340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33341 Use ZK to minimize writes to Z.
33342 (sub_magnitudes): Simplify code a bit.
33343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33344 Use ZK to minimize writes to Z.
33345 (sub_magnitudes): Simplify code a bit.
33346
85bd816a
RM
333472013-02-27 Roland McGrath <roland@hack.frob.com>
33348
33349 * csu/gmon-start.c: Add special exception to license text.
33350
b5977bf2
RH
333512013-02-27 Richard Henderson <rth@redhat.com>
33352
33353 * scripts/config.guess: Update from config.git.
33354 * scripts/config.sub: Likewise.
33355
11d6e2f2
SP
333562013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33357
09c14ed2
SP
33358 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33359
a688864e
SP
33360 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33361
6295157a
SP
33362 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33363
b8de2202
SP
33364 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33365
11d6e2f2
SP
33366 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33367
7e80ddb8
RM
333682013-02-26 Roland McGrath <roland@hack.frob.com>
33369
33370 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33371 [$(build-shared = yes].
7e80ddb8 33372
7da6d9ed
SP
333732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33374
45f05884
SP
33375 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33376 (__mul): Reduce iterations for calculating mantissa.
33377
2236d359
SP
33378 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33379 MPTWO.
33380 (__mpranred): Likewise.
33381
7da6d9ed
SP
33382 [BZ #15160]
33383 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33384 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33385
b7688c42
PE
333862013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33387
33388 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33389 Define __attribute__.
33390
53a5c423
SP
333912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33392
33393 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33394 unused.
33395 * posix/regex_internal.h (__attribute): Remove.
33396 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33397 (re_string_context_at): Likewise.
33398 (bitset_not): Use __attribute__ and mark function as possibly
33399 unused.
33400 (bitset_merge): Likewise.
33401 (bitset_mask): Likewise.
33402 (re_string_char_size_at): Likewise.
33403 (re_string_wchar_at): Likewise.
33404 (re_string_elem_size_at): Likewise.
33405
60f5a8b5
SP
334062013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33407
2a983a2e
SP
33408 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33409 code.
33410 (cc32): Likewise.
33411
e69804d1
SP
33412 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33413 (__acr): Likewise.
33414 (__cpy): Likewise.
33415 (norm): Likewise.
33416 (denorm): Likewise.
33417 (__dbl_mp): Likewise.
33418 (add_magnitudes): Likewise.
33419 (sub_magnitudes): Likewise.
33420 (__mul): Likewise.
33421 (__inv): Likewise.
33422
2f22a1e8
SP
33423 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33424 style.
33425
8930ddc7
SP
33426 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33427 style.
33428
dc60cb11
SP
33429 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33430 code.
33431
60f5a8b5
SP
33432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33433 up changes with default code.
33434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33435 Likewise.
33436
b4d1fd33
AM
334372013-02-24 Allan McRae <allan@archlinux.org>
33438
faf6f8bc
AM
33439 * manual/socket.texi (The Internet Namespace): Order menu items
33440 to match that in the file.
33441
b4d1fd33
AM
33442 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33443 node listing of the info page menu.
33444
2366713d
JM
334452013-02-21 Joseph Myers <joseph@codesourcery.com>
33446
33447 [BZ #13550]
33448 * sysdeps/i386/bp-asm.h: Remove file.
33449 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33450 (PARMS): Do not use macros from bp-asm.h.
33451 (S1): Likewise.
33452 (S2): Likewise.
33453 (SIZE): Likewise.
33454 (__mpn_add_n): Do not use BP_SYM
33455 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33456 "bp-asm.h".
33457 (PARMS): Do not use macros from bp-asm.h.
33458 (S1): Likewise.
33459 (SIZE): Likewise.
33460 (__mpn_addmul_1): Do not use BP_SYM
33461 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33462 "bp-asm.h".
33463 (PARMS): Do not use macros from bp-asm.h.
33464 (SIGMSK): Likewise.
33465 (_setjmp): Likewise. Do not use BP_SYM.
33466 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33467 "bp-asm.h".
33468 (PARMS): Do not use macros from bp-asm.h.
33469 (SIGMSK): Likewise.
33470 (setjmp): Likewise. Do not use BP_SYM.
33471 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33472 "bp-asm.h".
33473 (PARMS): Do not use macros from bp-asm.h.
33474 (__frexp): Do not use BP_SYM.
33475 (frexp): Likewise.
33476 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33477 "bp-asm.h".
33478 (PARMS): Do not use macros from bp-asm.h.
33479 (__frexpf): Do not use BP_SYM.
33480 (frexpf): Likewise.
33481 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33482 "bp-asm.h".
33483 (PARMS): Do not use macros from bp-asm.h.
33484 (__frexpl): Do not use BP_SYM.
33485 (frexpl): Likewise.
33486 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33487 "bp-asm.h".
33488 (PARMS): Do not use macros from bp-asm.h.
33489 (__remquo): Do not use BP_SYM.
33490 (remquo): Likewise.
33491 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33492 "bp-asm.h".
33493 (PARMS): Do not use macros from bp-asm.h.
33494 (__remquof): Do not use BP_SYM.
33495 (remquof): Likewise.
33496 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33497 "bp-asm.h".
33498 (PARMS): Do not use macros from bp-asm.h.
33499 (__remquol): Do not use BP_SYM.
33500 (remquol): Likewise.
33501 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33502 "bp-asm.h".
33503 (PARMS): Do not use macros from bp-asm.h.
33504 (DEST): Likewise.
33505 (SRC): Likewise.
33506 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33507 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33508 "bp-asm.h".
33509 (PARMS): Do not use macros from bp-asm.h.
33510 (strlen): Do not use BP_SYM.
33511 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33512 "bp-asm.h".
33513 (PARMS): Do not use macros from bp-asm.h.
33514 (S1): Likewise.
33515 (S2): Likewise.
33516 (SIZE): Likewise.
33517 (__mpn_add_n): Do not use BP_SYM.
33518 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33519 "bp-asm.h".
33520 (PARMS): Do not use macros from bp-asm.h.
33521 (S1): Likewise.
33522 (SIZE): Likewise.
33523 (__mpn_addmul_1): Do not use BP_SYM.
33524 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33525 weak_alias.
33526 (bzero): Likewise.
33527 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33528 "bp-asm.h".
33529 (PARMS): Do not use macros from bp-asm.h.
33530 (S): Likewise.
33531 (SIZE): Likewise.
33532 (__mpn_lshift): Do not use BP_SYM.
33533 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33534 "bp-asm.h".
33535 (PARMS): Do not use macros from bp-asm.h.
33536 (DEST): Likewise.
33537 (SRC): Likewise.
33538 (LEN): Likewise.
33539 (memcpy): Likewise. Do not use BP_SYM.
33540 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33541 libc_hidden_def and weak_alias.
33542 (mempcpy): Do not use BP_SYM in weak_alias.
33543 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33544 "bp-asm.h".
33545 (PARMS): Do not use macros from bp-asm.h.
33546 (DEST): Likewise.
33547 (LEN): Likewise.
33548 [!BZERO_P] (CHR): Likewise.
33549 (memset): Likewise. Do not use BP_SYM.
33550 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33551 "bp-asm.h".
33552 (PARMS): Do not use macros from bp-asm.h.
33553 (S1): Likewise.
33554 (SIZE): Likewise.
33555 (__mpn_mul_1): Do not use BP_SYM.
33556 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33557 "bp-asm.h".
33558 (PARMS): Do not use macros from bp-asm.h.
33559 (S): Likewise.
33560 (SIZE): Likewise.
33561 (__mpn_rshift): Do not use BP_SYM.
33562 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33563 "bp-asm.h".
33564 (PARMS): Do not use macros from bp-asm.h.
33565 (STR): Likewise.
33566 (CHR): Likewise.
33567 (strchr): Likewise. Do not use BP_SYM.
33568 (index): Do not use BP_SYM in weak_alias.
33569 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33570 "bp-asm.h".
33571 (PARMS): Do not use macros from bp-asm.h.
33572 (DEST): Likewise.
33573 (SRC): Likewise.
33574 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
33575 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33576 "bp-asm.h".
33577 (PARMS): Do not use macros from bp-asm.h.
33578 (strlen): Do not use BP_SYM.
33579 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33580 "bp-asm.h".
33581 (PARMS): Do not use macros from bp-asm.h.
33582 (S1): Likewise.
33583 (S2): Likewise.
33584 (SIZE): Likewise.
33585 (__mpn_sub_n): Do not use BP_SYM.
33586 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33587 "bp-asm.h".
33588 (PARMS): Do not use macros from bp-asm.h.
33589 (S1): Likewise.
33590 (SIZE): Likewise.
33591 (__mpn_submul_1): Do not use BP_SYM.
33592 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33593 "bp-asm.h".
33594 (PARMS): Do not use macros from bp-asm.h.
33595 (S1): Likewise.
33596 (S2): Likewise.
33597 (SIZE): Likewise.
33598 (__mpn_add_n): Do not use BP_SYM.
33599 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33600 weak_alias.
33601 (bzero): Likewise.
33602 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33603 "bp-asm.h".
33604 (PARMS): Do not use macros from bp-asm.h.
33605 (BLK2): Likewise.
33606 (LEN): Likewise.
33607 (memcmp): Do not use BP_SYM.
33608 (bcmp): Do not use BP_SYM in weak_alias.
33609 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33610 "bp-asm.h".
33611 (PARMS): Do not use macros from bp-asm.h.
33612 (DEST): Likewise.
33613 (SRC): Likewise.
33614 (LEN): Likewise.
33615 (memcpy): Likewise. Do not use BP_SYM.
33616 * sysdeps/i386/i686/memmove.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 (SRC): Likewise.
33621 (LEN): Likewise.
33622 (memmove): Likewise. Do not use BP_SYM.
33623 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33624 "bp-asm.h".
33625 (PARMS): Do not use macros from bp-asm.h.
33626 (DEST): Likewise.
33627 (SRC): Likewise.
33628 (LEN): Likewise.
33629 (__mempcpy): Likewise. Do not use BP_SYM.
33630 (mempcpy): Do not use BP_SYM in weak_alias.
33631 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33632 "bp-asm.h".
33633 (PARMS): Do not use macros from bp-asm.h.
33634 (DEST): Likewise.
33635 (LEN): Likewise.
33636 [!BZERO_P] (CHR): Likewise.
33637 (memset): Likewise. Do not use BP_SYM.
33638 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33639 "bp-asm.h".
33640 (PARMS): Do not use macros from bp-asm.h.
33641 (STR2): Likewise.
33642 (strcmp): Do not use BP_SYM.
33643 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33644 "bp-asm.h".
33645 (PARMS): Do not use macros from bp-asm.h.
33646 (STR): Likewise.
33647 (DELIM): Likewise.
33648 [USE_AS_STRTOK_R] (SAVE): Likewise.
33649 (FUNCTION): Likewise. Do not use BP_SYM.
33650 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33651 aliases.
33652 (strtok_r): Likewise.
33653 (__GI___strtok_r): Likewise.
33654 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33655 (PARMS): Do not use macros from bp-asm.h.
33656 (S): Likewise.
33657 (SIZE): Likewise.
33658 (__mpn_lshift): Do not use BP_SYM.
33659 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33660 (PARMS): Do not use macros from bp-asm.h.
33661 (STR): Likewise.
33662 (CHR): Likewise.
33663 (__memchr): Do not use BP_SYM.
33664 (memchr): Do not use BP_SYM in weak_alias.
33665 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33666 (PARMS): Do not use macros from bp-asm.h.
33667 (BLK2): Likewise.
33668 (LEN): Likewise.
33669 (memcmp): Do not use BP_SYM.
33670 (bcmp): Do not use BP_SYM in weak_alias.
33671 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33672 (PARMS): Do not use macros from bp-asm.h.
33673 (S1): Likewise.
33674 (SIZE): Likewise.
33675 (__mpn_mul_1): Do not use BP_SYM.
33676 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33677 "bp-asm.h".
33678 (PARMS): Do not use macros from bp-asm.h.
33679 (STR): Likewise.
33680 (CHR): Likewise.
33681 (__rawmemchr): Do not use BP_SYM.
33682 (rawmemchr): Do not use BP_SYM in weak_alias.
33683 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33684 (PARMS): Do not use macros from bp-asm.h.
33685 (S): Likewise.
33686 (SIZE): Likewise.
33687 (__mpn_rshift): Do not use BP_SYM.
33688 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33689 (PARMS): Do not use macros from bp-asm.h.
33690 (SIGMSK): Likewise.
33691 (__sigsetjmp): Likewise. Do not use BP_SYM.
33692 * sysdeps/i386/start.S: Do not include "bp-sym.h".
33693 (_start): Do not use BP_SYM.
33694 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33695 (PARMS): Do not use macros from bp-asm.h.
33696 (DEST): Likewise.
33697 (SRC): Likewise.
33698 (__stpcpy): Likewise. Do not use BP_SYM.
33699 (stpcpy): Do not use BP_SYM in weak_alias.
33700 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33701 "bp-asm.h".
33702 (PARMS): Do not use macros from bp-asm.h.
33703 (DEST): Likewise.
33704 (SRC): Likewise.
33705 (LEN): Likewise.
33706 (__stpncpy): Likewise. Do not use BP_SYM.
33707 (stpncpy): Do not use BP_SYM in weak_alias.
33708 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33709 (PARMS): Do not use macros from bp-asm.h.
33710 (STR): Likewise.
33711 (CHR): Likewise.
33712 (strchr): Likewise. Do not use BP_SYM.
33713 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33714 "bp-asm.h".
33715 (PARMS): Do not use macros from bp-asm.h.
33716 (STR): Likewise.
33717 (CHR): Likewise.
33718 (__strchrnul): Likewise. Do not use BP_SYM.
33719 (strchrnul): Do not use BP_SYM in weak_alias.
33720 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33721 "bp-asm.h".
33722 (PARMS): Do not use macros from bp-asm.h.
33723 (STOP): Likewise.
33724 (strcspn): Do not use BP_SYM.
33725 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33726 "bp-asm.h".
33727 (PARMS): Do not use macros from bp-asm.h.
33728 (STR): Likewise.
33729 (STOP): Likewise.
33730 (strpbrk): Likewise. Do not use BP_SYM.
33731 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33732 "bp-asm.h".
33733 (PARMS): Do not use macros from bp-asm.h.
33734 (STR): Likewise.
33735 (CHR): Likewise.
33736 (strrchr): Likewise. Do not use BP_SYM.
33737 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33738 (PARMS): Do not use macros from bp-asm.h.
33739 (SKIP): Likewise.
33740 (strspn): Do not use BP_SYM.
33741 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33742 (PARMS): Do not use macros from bp-asm.h.
33743 (STR): Likewise.
33744 (DELIM): Likewise.
33745 (SAVE): Likewise.
33746 (FUNCTION): Likewise. Do not use BP_SYM.
33747 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33748 aliases.
33749 (strtok_r): Likewise.
33750 (__GI___strtok_r): Likewise.
33751 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33752 (PARMS): Do not use macros from bp-asm.h.
33753 (S1): Likewise.
33754 (S2): Likewise.
33755 (SIZE): Likewise.
33756 (__mpn_sub_n): Do not use BP_SYM.
33757 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33758 "bp-asm.h".
33759 (PARMS): Do not use macros from bp-asm.h.
33760 (S1): Likewise.
33761 (SIZE): Likewise.
33762 (__mpn_submul_1): Do not use BP_SYM.
33763 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33764 <bp-sym.h>.
33765 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33766 and <bp-asm.h>.
33767 (PARMS): Do not use macros from bp-asm.h.
33768 (FLAGS): Likewise.
33769 (PTID): Likewise.
33770 (TLS): Likewise.
33771 (CTID): Likewise.
33772 (__clone): Do not use BP_SYM.
33773 (clone): Do not use BP_SYM in weak_alias.
33774 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33775 and <bp-asm.h>.
33776 (PARMS): Do not use macros from bp-asm.h.
33777 (LEN): Likewise.
33778 (__mmap64): Do not use BP_SYM.
33779 (mmap64): Do not use BP_SYM in weak_alias.
33780 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33781 <bp-sym.h> and <bp-asm.h>.
33782 (PARMS): Do not use macros from bp-asm.h.
33783 (__posix_fadvise64_l64): Do not use BP_SYM.
33784 * sysdeps/unix/sysv/linux/i386/semtimedop.S
33785 (PARMS): Do not use macros from bp-asm.h.
33786 (NSOPS): Likewise.
33787 (semtimedop): Do not use BP_SYM.
33788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33789 and <bp-asm.h>.
33790
582a3cff
AM
337912013-02-21 Allan McRae <allan@archlinux.org>
33792
33793 * manual/message.texi (Charset conversion in gettext):
33794 Move @end statement to beginning of line.
33795
bab8a695
SP
337962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33797
80945231
SP
33798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33799 static.
33800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33801 Likewise.
33802
bab8a695
SP
33803 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33804 (denorm): Likewise.
33805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33807
e21d7aa7
AK
338082013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33809
33810 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33811 tail-call to the resolved function if pltexit isn't needed.
33812
4c7a4263
SP
338132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33814
33815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33816 or Y being zero as being unlikely.
33817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33818 Likewise.
33819
41f49342
CD
338202013-02-20 Carlos O'Donell <carlos@redhat.com>
33821
33822 * manual/nss.texi (System Databases and Name Service Switch):
33823 Remove frobnicate @pxref.
33824
50022a93
TS
338252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33826
33827 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33828 __attribute__ ((unused)) to __attribute__ ((__unused__)).
33829
08cbd996
PM
338302013-02-20 Petr Machata <pmachata@redhat.com>
33831
33832 * elf/elf.h (R_ARM_TARGET1): New macro.
33833 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33834 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33835 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33836 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33837 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33838 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33839 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33840 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33841 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33842 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33843 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33844 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33845 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33846 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33847 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33848 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33849 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33850 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33851 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33852 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33853 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33854 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33855 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33856 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33857 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33858 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33859 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33860 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33861 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33862 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33863 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33864 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33865 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33866 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33867 (R_ARM_THM_GOT_BREL12): Likewise.
33868 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33869 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33870 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33871 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33872 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33873 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33874 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33875 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33876 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33877
c7b275d6
TS
338782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33879
33880 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33881 __attribute_used__ to __attribute__ ((unused)).
33882
20cd7fb3
SP
338832013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33884
33885 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33886 powerpc mpa.c.
33887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33888 comment formatting.
33889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33890
92945b52
JM
338912013-02-19 Joseph Myers <joseph@codesourcery.com>
33892
33893 [BZ #13550]
33894 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33895 Remove macro.
33896 (ENTER): Remove both macro definitions.
33897 (LEAVE): Likewise.
33898 (CHECK_BOUNDS_LOW): Likewise.
33899 (CHECK_BOUNDS_HIGH): Likewise.
33900 (CHECK_BOUNDS_BOTH): Likewise.
33901 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33902 (RETURN_BOUNDED_POINTER): Likewise.
33903 (RETURN_NULL_BOUNDED_POINTER): Likewise.
33904 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33905 (POP_ERRNO_LOCATION_RETURN): Likewise.
33906 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33907 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33908 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33909 macros.
33910 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33911 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33912 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33913 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33914 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33915 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33916 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33917 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33918 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33919 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33920 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33921 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33922 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33923 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33924 removed macros.
33925 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33926 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33927 macros.
33928 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33929 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33930 * sysdeps/i386/i586/memset.S (memset): Likewise.
33931 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33932 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33933 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33934 macros.
33935 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33936 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33937 Change uses of L(2) to L(out).
33938 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33939 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33940 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33941 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33942 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33943 removed macros.
33944 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33945 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33946 macros.
33947 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33948 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33949 (RETURN): Do not use macro LEAVE.
33950 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33951 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33952 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33953 * sysdeps/i386/i686/memset.S (memset): Likewise.
33954 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33955 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33956 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33957 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33958 Likewise.
33959 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33960 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
33961 L(1_2) and L(1_3) into L(1).
33962 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33963 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33964 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33965 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33966 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33967 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33968 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33969 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33970 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33971 macros.
33972 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33973 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33974 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33975 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33976 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33977 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33978 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33979 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33980 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33981 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33982 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33983 * sysdeps/i386/strspn.S (strspn): Likewise.
33984 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33985 conditional code.
33986 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33987 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33988 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33989 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33990 L(1_3) into L(1_1).
33991 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33992 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33993 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33994 macros.
33995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33996
2389741a
JJ
339972013-02-19 Jakub Jelinek <jakub@redhat.com>
33998
33999 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34000 macro.
34001
2016b3cd
SP
340022013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34003
e4f22324
SP
34004 * math/atest-exp.c (exp_mpn): Remove ROUND.
34005 * math/atest-exp2.c (exp_mpn): Likewise.
34006 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34007
2016b3cd
SP
34008 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34009 * stdlib/tst-tls-atexit-lib.c: Likewise.
34010 * stdlib/tst-tls-atexit.c: Likewise.
34011
4be9b544
MF
340122013-02-18 Mike Frysinger <vapier@gentoo.org>
34013
34014 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34015 and __attribute_alloc_size__.
34016
2f62b9ee
MF
340172013-02-18 Mike Frysinger <vapier@gentoo.org>
34018
34019 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34020 __attribute_alloc_size__.
34021 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34022 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34023
6ff444c4
MF
340242013-02-18 Mike Frysinger <vapier@gentoo.org>
34025
34026 * include/programs/xmalloc.h: New file.
34027 * catgets/gencat.c: Include it.
34028 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34029 * elf/pldd.c: Likewise.
34030 * iconv/iconv_charmap.c: Likewise.
34031 * iconv/iconvconfig.c: Likewise.
34032 * iconv/strtab.c: Likewise.
34033 * locale/programs/locale.c: Likewise.
34034 * locale/programs/localedef.h: Likewise.
34035 * locale/programs/simple-hash.c: Likewise.
34036 * nscd/nscd.h: Likewise.
34037 * nss/makedb.c: Likewise.
34038 * sysdeps/generic/ldconfig.h: Likewise.
34039
be179c8a
SP
340402013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34041
ba384f6e
SP
34042 * Versions.def: Add GLIBC_2.18.
34043 * include/link.h (struct link_map): New member l_tls_dtor_count.
34044 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34045 (__call_tls_dtors): Likewise.
34046 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34047 __cxa_thread_atexit_impl.
34048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34049 Likewise.
34050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34051 Likewise.
34052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34053 Likewise.
34054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34055 Likewise.
34056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34058 Likewise.
34059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34060 Likewise.
34061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34063 Likewise.
34064 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34065 (tests): Add test case tst-tls-atexit.
34066 (modules-names): Add shared library for tst-tls-atexit.
85891aca 34067 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
34068 (GLIBC_PRIVATE): Add __call_tls_dtors.
34069 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34070 for libstdc++.
34071 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34072 * stdlib/tst-tls-atexit.c: New test case.
34073 * stdlib/tst-tls-atexit-lib.c: New test case.
34074
ffaa74cf 34075 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 34076
be179c8a
SP
34077 * elf/Versions (ld): Add _dl_find_dso_for_object.
34078 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34079 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34080 (dl_open_worker): Use _dl_find_dso_for_object.
34081 * elf/dl-sym.c (do_sym): Likewise.
34082 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34083
f78b5caa
AK
340842013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34085
34086 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34087 Syntactic changes only.
34088 (_dl_runtime_profile): Do a tail-call to the resolved function.
34089
29691210
JM
340902013-02-17 Joseph Myers <joseph@codesourcery.com>
34091
34092 [BZ #13550]
34093 * sysdeps/x86_64/bp-asm.h: Remove file.
34094 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34095 <bp-sym.h> and <bp-asm.h>.
34096 (__clone): Do not use BP_SYM.
34097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34098 <bp-sym.h> and <bp-asm.h>.
34099 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34100 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34101 "bp-asm.h".
34102 (_setjmp): Do not use BP_SYM.
34103 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34104 "bp-asm.h".
34105 (setjmp): Do not use BP_SYM.
34106 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34107 libc_hidden_def.
34108 (mempcpy): Do not use BP_SYM in weak_alias.
34109 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34110 "bp-asm.h".
34111 (strchr): Do not use BP_SYM.
34112 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34113 "bp-asm.h".
34114 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34115 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34116 (_start): Do not use BP_SYM.
34117 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34118 "bp-asm.h".
34119 (strcat): Do not use BP_SYM.
34120 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34121 "bp-asm.h".
34122 (STRCMP): Do not use BP_SYM.
34123 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34124 "bp-asm.h".
34125 (STRCPY): Do not use BP_SYM.
34126 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34127 "bp-asm.h".
34128 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34129 "bp-asm.h".
34130 (FUNCTION): Do not use BP_SYM.
34131 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34132 weak_alias.
34133 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34134
f238fd19
AJ
341352013-02-17 Andreas Jaeger <aj@suse.de>
34136
34137 * time/Versions: Sort entries.
34138 * string/Versions: Likewise.
34139 * resolv/Versions: Likewise.
34140 * posix/Versions: Likewise.
34141 * iconv/Versions: Likewise.
34142 * elf/Versions: Likewise.
34143 * wcsmbs/Versions: Likewise.
34144
bd07f23c 341452013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 34146
22af19f9
SP
34147 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34148 loop termination condition.
34149
4709fe76
SP
34150 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34151 variable to calculate EZ.
34152 (__sqr): Likewise.
2d0e0f29
SP
34153
34154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34155 the lower precision input.
34156
daaa7713
JM
341572013-02-15 Joseph Myers <joseph@codesourcery.com>
34158
34159 [BZ #13550]
34160 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34161 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34162 (run-via-rtld-prefix): Do not handle %-bp tests.
34163 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34164 (all-object-suffixes): Remove .ob.
34165 (bppfx): Remove variable.
34166 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34167 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34168 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34169 [$(build-bounded) = yes] (libtype.ob): Likewise.
34170 * Makerules (elide-routines.ob): Remove variable.
34171 (do-tests-clean): Do not handle *-bp.out.
34172 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34173 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34174 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34175 (tests): Do not include $(tests-bp.out).
34176 (xtests): Do not include $(xtests-bp.out).
34177 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34178 [$(build-bounded) = yes] ($(addprefix
34179 $(objpfx),$(binaries-bounded))): Remove rule.
34180 ($(objpfx)%-bp.out): Remove rule.
34181 * config.make.in (build-bounded): Remove variable.
34182 * crypt/Makefile [$(build-bounded) = yes]
34183 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34184 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34185 append to variable.
34186 [$(build-bounded) = yes] (install-lib): Likewise.
34187 [$(build-bounded) = yes] (generated): Likewise.
34188 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34189 Remove rule.
34190 * intl/Makefile [$(build-bounded) = yes]
34191 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34192 * math/Makefile [$(build-bounded) = yes]
34193 ($(tests:%=$(objpfx)%-bp): Likewise.
34194 * misc/Makefile [$(build-bounded) = yes]
34195 ($(objpfx)tst-tsearch-bp): Likewise.
34196 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34197 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34198 Remove dependency.
34199 * string/Makefile (o-objects.ob): Remove variable.
34200 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34201 (CFLAGS-.ob): Remove variable.
34202 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34203 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34204 both definitions of variable.
34205 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34206 (ASFLAGS-.ob): Remove variable.
34207
e97ed6dd
JM
342082013-02-14 Joseph Myers <joseph@codesourcery.com>
34209
2bdd4ca6
JM
34210 [BZ #13550]
34211 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34212 Remove __BOUNDED_POINTERS__ from condition.
34213 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34214 * string/bits/string2.h [!__NO_STRING_INLINES &&
34215 !__BOUNDED_POINTERS__]: Likewise.
34216 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34217 Likewise.
34218 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34219 Remove conditional code.
34220 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34221 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34222 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34223 condition.
34224
e97ed6dd
JM
34225 [BZ #13550]
34226 * csu/libc-start.c: Do not include <bp-sym.h>.
34227 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34228 * elf/dl-open.c: Do not include <bp-sym.h>.
34229 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34230 * math/fegetenv.c: Do not include <bp-sym.h>.
34231 (fegetenv): Do not use BP_SYM in versioned symbols.
34232 * nptl/sysdeps/pthread/bits/libc-lockP.h
34233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34234 <bp-sym.h>.
34235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34236 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34238 (__pthread_mutex_destroy): Likewise.
34239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34240 (__pthread_mutex_lock): Likewise.
34241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34242 (__pthread_mutex_trylock): Likewise.
34243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34244 (__pthread_mutex_unlock): Likewise.
34245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34246 (__pthread_mutexattr_init): Likewise.
34247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34248 (__pthread_mutexattr_destroy): Likewise.
34249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34250 (__pthread_mutexattr_settype): Likewise.
34251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34252 (__pthread_rwlock_init): Likewise.
34253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34254 (__pthread_rwlock_destroy): Likewise.
34255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34256 (__pthread_rwlock_rdlock): Likewise.
34257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34258 (__pthread_rwlock_tryrdlock): Likewise.
34259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34260 (__pthread_rwlock_wrlock): Likewise.
34261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34262 (__pthread_rwlock_trywrlock): Likewise.
34263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34264 (__pthread_rwlock_unlock): Likewise.
34265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34266 (__pthread_key_create): Likewise.
34267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34268 (__pthread_setspecific): Likewise.
34269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34270 (__pthread_getspecific): Likewise.
34271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34272 Likewise.
34273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34274 (_pthread_cleanup_push_defer): Likewise.
34275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34276 (_pthread_cleanup_pop_restore): Likewise.
34277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34278 (pthread_setcancelstate): Likewise.
34279 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34280 <bp-sym.h>.
34281 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34282 (memchr): Do not use BP_SYM in weak_alias.
34283 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34284 (fegetenv): Do not use BP_SYM in versioned symbols.
34285 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34286 (fesetenv): Do not use BP_SYM in versioned symbols.
34287 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34288 (feupdateenv): Do not use BP_SYM in versioned symbols.
34289 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34290 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34291 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34292 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34293 (open64): Do not use BP_SYM in weak_alias.
34294 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34295 (fegetenv): Do not use BP_SYM in versioned symbols.
34296 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34297 (fesetenv): Do not use BP_SYM in versioned symbols.
34298 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34299 (feupdateenv): Do not use BP_SYM in versioned symbols.
34300 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34301 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34302 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34303 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34304 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34305 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34306 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34307 <bp-sym.h>.
34308 (__libc_start_main): Do not use BP_SYM.
34309
d6752ccd
SP
343102013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34311
cb57ce60
SP
34312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34313 redundant return line.
34314 (norm): Likewise.
34315 (denorm): Likewise.
34316 (dbl_mp): Likewise.
34317 (sub_magnitudes): Likewise.
34318 (__add): Likewise.
34319 (__sub): Likewise.
34320 (__mul): Likewise.
34321 (__inv): Likewise.
34322 (__dvd): Likewise.
34323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34324 (norm): Likewise.
34325 (denorm): Likewise.
34326 (dbl_mp): Likewise.
34327 (sub_magnitudes): Likewise.
34328 (__add): Likewise.
34329 (__sub): Likewise.
34330 (__mul): Likewise.
34331 (__inv): Likewise.
34332 (__dvd): Likewise.
34333
f414520d
SP
34334 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34335 instead of __mul.
34336 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34337 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34338 (cc32): Likewise.
34339
d6752ccd
SP
34340 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34341 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34343 of __mul for squares.
34344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34345 function
34346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34347 Likewise.
34348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34350
70d9946a
JM
343512013-02-13 Joseph Myers <joseph@codesourcery.com>
34352
34353 [BZ #13550]
34354 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34355 code.
34356 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34357 prototype or function definition. Rename ubp_* variables and
34358 parameters. Remove argv definitions conditional on
34359 [__BOUNDED_POINTERS__].
34360 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34361 * elf/dl-runtime.c (_dl_fixup): Likewise.
34362 * include/set-hooks.h (RUN_HOOK): Likewise.
34363 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34364 definition.
34365 * string/strcpy.c (strcpy): Do not use __unbounded.
34366 * sysdeps/generic/frame.h (struct layout): Likewise.
34367 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34368 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34369 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34370 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34371 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34372 (__backtrace): Likewise.
34373 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34374 use __ptrvalue.
34375 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34376 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34377 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34378 Likewise.
34379 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34380 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34381 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34382 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34383 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34384 Do not use __unbounded.
34385 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34386 Rename __unboundedrlimits parameter to rlimits in prototype.
34387 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34388 Do not use __unbounded.
34389 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34390 not use __ptrvalue.
34391 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34392 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34393 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34395 __ptrvalue or __unbounded.
34396 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34397 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34398 use __unbounded.
34399 (__new_msgctl): Do not use __ptrvalue.
34400 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34401 __unbounded.
34402 (__libc_msgrcv): Do not use __ptrvalue.
34403 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34404 startup_info): Do not use __unbounded.
34405 (__libc_start_main): Likewise. Rename ubp_* variables and
34406 parameters. Remove argv definitions conditional on
34407 [__BOUNDED_POINTERS__].
34408 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34409 __ptrvalue.
34410 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34411 use __unbounded.
34412 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34413 or __ptrvalue.
34414 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34415 use __unbounded.
34416 (__new_shmctl): Do not use __ptrvalue.
34417 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34418 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34419 Likewise.
34420 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34421 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34422 (__libc_sigaction): Likewise.
34423 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34424 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34425 Likewise.
34426 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34427
cc7834d6
OB
344282013-02-13 Ondřej Bílka <neleai@seznam.cz>
34429
ffb1ec7b 34430 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
34431
34432 * string/mempcpy.c: Implement by calling memcpy.
34433
bdf02814
SP
344342013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34435
c2af38aa
SP
34436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34437
4e92d59e
SP
34438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34439 evaluation.
34440
909279a5
SP
34441 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34442 values in the mantissa.
34443
bdf02814
SP
34444 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34445 minimize writes to Z.
34446 (sub_magnitudes): Simplify code a bit.
34447
cd525923
RM
344482013-02-12 Roland McGrath <roland@hack.frob.com>
34449
34450 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34451 from the message. The linker prefixes all warnings with that already.
34452
7e2f0d2d
AS
344532013-02-12 Andreas Schwab <schwab@suse.de>
34454
a445af0b
AS
34455 [BZ #15078]
34456 * posix/regexec.c (extend_buffers): Add parameter min_len.
34457 (check_matching): Pass minimum needed length.
34458 (clean_state_log_if_needed): Likewise.
34459 (get_subexp): Likewise.
34460 * posix/Makefile (tests): Add bug-regex34.
34461 (bug-regex34-ENV): Define.
34462 * posix/bug-regex34.c: New file.
34463
7e2f0d2d
AS
34464 [BZ #11561]
34465 * posix/regcomp.c (parse_bracket_exp): When looking up collating
34466 elements compare against the byte sequence of it, not its name.
34467 * posix/Makefile (tests): Add bug-regex35.
34468 (bug-regex35-ENV): Define.
34469 * posix/bug-regex35.c: New file.
34470
a175b684
TV
344712013-02-11 Tom de Vries <tom@codesourcery.com>
34472
34473 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34474 comment.
34475 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34476 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34477 (CHECK_EOL): Add undef.
34478
310998fe 344792013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
34480
34481 * bits/stdlib-bsearch.h: New file.
34482 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 34483 * stdlib/stdlib.h: Likewise.
41eda41d 34484
8ded91fb
RM
344852013-02-11 Roland McGrath <roland@hack.frob.com>
34486
34487 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34488 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34489 declaration.
34490 * manual/search.texi (Array Search Function): Add missing const in
34491 lfind prototype.
34492 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34493 declaration to use rlim_t.
34494 (Basic Scheduling Functions): Remove erroneous const from
34495 sched_getparam prototype. Remove erroneous * from
34496 sched_get_priority_max and sched_get_priority_min prototypes.
34497 (Resource Usage): Fix summary @comment on vtimes to refer to
34498 sys/vtimes.h rather than vtimes.h.
34499 Add missing *s in vtimes prototype.
34500 (Limits on Resources): Fix ulimit prototype to return long int.
34501 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34502 prototypes to use long int rather than double.
34503 (BSD Random): Fix initstate and setstate to use char *, not void *.
34504 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34505 prototype to make second argument 'struct aiocb64 *const[]'.
34506 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34507 (Status of AIO Operations): Remove erroneous const in aio_return and
34508 aio_return64 prototypes.
34509 (Synchronizing I/O): Fix sync prototype to return void.
34510 * manual/startup.texi (Suboptions): Remove an erroneous const in
34511 getsubopt prototype.
34512 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34513 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34514 use size_t rather than int.
34515 (Scanning All Users): Likewise for getpwent_r.
34516 (Setting Groups): Add missing const to setgroups prototype.
34517 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34518 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34519 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34520 'const void *' rather than 'const char *'.
34521 (Host Address Functions): Likewise for inet_ntop.
34522 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34523 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34524 ssize_t for return value.
34525 (Sending Data): Likewise for send, sendto, sendmsg.
34526 (Socket Option Functions): Add a missing const in setsockopt prototype.
34527 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34528 use wchar_t for the argument.
34529 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34530 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34531 take no arguments.
34532 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34533 double/float/long double for second argument.
34534 Fix return types of significand, significandf, significandl.
34535 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34536 argument in fchmod prototype.
34537 (File Owner): Use uid_t and gid_t in fchown prototype.
34538 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34539 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34540 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34541 use 'const struct dirent **' as argument types to CMP function pointer
34542 argument.
34543 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34544 (File Times): Fix summary magic @comment for struct utimbuf and utime
34545 to refer to utime.h, not time.h.
34546 * manual/string.texi (Argz Functions): Add missing const in
34547 argz_extract and argz_next prototypes.
34548 (Finding Tokens in a String): Likewise for basename.
34549 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34550 (Copying and Concatenation): Fix typo in wmemmove prototype.
34551 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34552 (Signal Stack): Remove erroneous const in sigstack prototype.
34553 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34554 prototype.
34555 (Simple Calendar Time): Likewise for stime.
34556 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34557 prototype.
34558 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34559 say sys/sysctl.h instead.
34560 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34561 and vsyslog prototypes.
34562
fe77fe6d
TV
345632013-02-11 Tom de Vries <tom@codesourcery.com>
34564
34565 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34566 Remove.
34567
3a09b620
RM
345682013-02-11 Roland McGrath <roland@hack.frob.com>
34569
34570 * misc/sys/mman.h: Fix typo in mremap comment.
34571
550a0b89
RM
345722013-02-08 Roland McGrath <roland@hack.frob.com>
34573
34574 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34575 the '\0' terminator.
34576
a2da1673
JM
345772013-02-08 Joseph Myers <joseph@codesourcery.com>
34578
34579 [BZ #13550]
34580 * debug/segfault.c: Don't include <bp-checks.h>.
34581 * sysdeps/generic/bp-checks.h: Remove file.
34582 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34583 (__GETDENTS): Don't use CHECK_N.
34584 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34585 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34586 (__getgroups): Don't use CHECK_N.
34587 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34588 (setgroups): Don't use CHECK_N.
34589 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34590 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34591 (__libc_msgrcv): Don't use CHECK_N.
34592 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34593 (__libc_msgsnd): Don't use CHECK_N.
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34595 <bp-checks.h>.
34596 (__libc_pread): Don't use CHECK_N.
34597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34598 include <bp-checks.h>.
34599 (__libc_pread64): Don't use CHECK_N.
34600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34601 include <bp-checks.h>.
34602 (__libc_pwrite): Don't use CHECK_N.
34603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34604 include <bp-checks.h>.
34605 (__libc_pwrite64): Don't use CHECK_N.
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34607 <bp-checks.h>.
34608 (__libc_pread): Don't use CHECK_N.
34609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34610 include <bp-checks.h>.
34611 (__libc_pread64): Don't use CHECK_N.
34612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34613 include <bp-checks.h>.
34614 (__libc_pwrite): Don't use CHECK_N.
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34616 include <bp-checks.h>.
34617 (__libc_pwrite64): Don't use CHECK_N.
34618 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34619 (do_pread): Don't use CHECK_N.
34620 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34621 (do_pread64): Don't use CHECK_N.
34622 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34623 (do_pwrite): Don't use CHECK_N.
34624 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34625 (do_pwrite64): Don't use CHECK_N.
34626 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34627 (__libc_readv): Don't use CHECK_N.
34628 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34629 (semop): Don't use CHECK_N.
34630 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34631 <bp-checks.h>.
34632 (semtimedop): Don't use CHECK_N.
34633 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34634 (__libc_pread): Don't use CHECK_N.
34635 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34636 <bp-checks.h>.
34637 (__libc_pread64): Don't use CHECK_N.
34638 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34639 <bp-checks.h>.
34640 (__libc_pwrite): Don't use CHECK_N.
34641 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34642 <bp-checks.h>.
34643 (__libc_pwrite64): Don't use CHECK_N.
34644 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34645 <bp-checks.h>.
34646 (__libc_msgrcv): Don't use CHECK_N.
34647 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34648 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
34649 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34650 (__libc_writev): Don't use CHECK_N.
34651
b84660a8
RM
346522013-02-08 Roland McGrath <roland@hack.frob.com>
34653
7f3e75f8
RM
34654 * string/strcpy.c: Removed unused variable.
34655
b84660a8
RM
34656 * Makeconfig (+sysdep-includes): Define with := rather than =.
34657 Use an existing include/ subdir of each sysdeps dir before it.
34658
471514d3
CD
346592013-02-08 Carlos O'Donell <carlos@redhat.com>
34660
34661 * nscd/connection.c (register_traced_file): Comment function.
34662 [HAVE_INOTIFY] (union __inev): Define.
34663 [HAVE_INOTIFY] (inotify_check_files): New function.
34664 [HAVE_INOTIFY] (clear_db_cache): Likewise.
34665 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34666 clear_db_cache.
34667 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34668
b2d3c3be
CD
346692013-02-08 Carlos O'Donell <carlos@redhat.com>
34670
34671 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34672 loaded if not already and that a failure is permanent.
34673
b39949d2
CD
346742013-02-08 Carlos O'Donell <carlos@redhat.com>
34675
ddacd1db 34676 [BZ #15006]
b39949d2
CD
34677 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34678 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34679
b2c9eff4
JM
346802013-02-08 Joseph Myers <joseph@codesourcery.com>
34681
f3aae3f3
JM
34682 [BZ #13550]
34683 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34684 (CHECK_1_NULL_OK): Likewise.
34685 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34686 (__fxstat): Do not use CHECK_1.
34687 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34688 <bp-checks.h>.
34689 (___fxstat64): Do not use CHECK_1.
34690 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34691 <bp-checks.h>.
34692 (__fxstatat): Do not use CHECK_1.
34693 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34694 <bp-checks.h>.
34695 (__fxstatat64): Do not use CHECK_1.
34696 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34697 <bp-checks.h>.
34698 (__fxstat): Do not use CHECK_1.
34699 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34700 <bp-checks.h>.
34701 (__fxstatat): Do not use CHECK_1.
34702 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34703 <bp-checks.h>.
34704 (__getresgid): Do not use CHECK_1.
34705 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34706 <bp-checks.h>.
34707 (__getresuid): Do not use CHECK_1.
34708 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34709 <bp-checks.h>.
34710 (__lxstat): Do not use CHECK_1.
34711 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34712 <bp-checks.h>.
34713 (__old_msgctl): Do not use CHECK_1.
34714 (__new_msgctl): Likewise.
34715 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34716 <bp-checks.h>.
34717 (__new_setrlimit): Do not use CHECK_1.
34718 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34719 <bp-checks.h>.
34720 (__old_shmctl): Do not use CHECK_1.
34721 (__new_shmctl): Likewise.
34722 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34723 <bp-checks.h>.
34724 (__xstat): Do not use CHECK_1.
34725 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34726 (__lxstat): Do not use CHECK_1.
34727 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34728 <bp-checks.h>.
34729 (___lxstat64): Do not use CHECK_1.
34730 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34731 (__old_msgctl): Do not use CHECK_1.
34732 (__new_msgctl): Likewise.
34733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34734 <bp-checks.h>.
34735 (__gettimeofday): Do not use CHECK_1.
34736 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34737 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34738 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34739 <bp-checks.h>.
34740 (__gettimeofday): Do not use CHECK_1.
34741 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34742 (__old_shmctl): Do not use CHECK_1_NULL_OK.
34743 (__new_shmctl): Do not use CHECK_1.
34744 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34745 <bp-checks.h>.
34746 (do_sigtimedwait): Do not use CHECK_1.
34747 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34748 <bp-checks.h>.
34749 (do_sigwaitinfo): Do not use CHECK_1.
34750 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34751 <bp-checks.h>.
34752 (msgctl): Do not use CHECK_1.
34753 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34754 <bp-checks.h>.
34755 (shmctl): Do not use CHECK_1.
34756 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34757 (ustat): Do not use CHECK_1.
34758 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34759 <bp-checks.h>.
34760 (__fxstat): Do not use CHECK_1.
34761 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34762 <bp-checks.h>.
34763 (__fxstatat): Do not use CHECK_1.
34764 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34765 <bp-checks.h>.
34766 (__lxstat): Do not use CHECK_1.
34767 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34768 <bp-checks.h>.
34769 (__xstat): Do not use CHECK_1.
34770 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34771 (__xstat): Do not use CHECK_1.
34772 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34773 (___xstat64): Do not use CHECK_1.
34774
b2c9eff4
JM
34775 [BZ #13550]
34776 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34777 definitions.
34778 (CHECK_BOUNDS_HIGH): Likewise.
34779 * string/strcpy.c: Do not include <bp-checks.h>.
34780 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34781
f1d70dad
RM
347822013-02-07 Roland McGrath <roland@hack.frob.com>
34783
34784 * nscd/nscd-client.h (__nscd_drop_map_ref):
34785 Add __attribute__ ((unused)).
34786 * nis/nss-nisplus.h (niserr2nss): Likewise.
34787
34788 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34789 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34790
34791 * csu/libc-tls.c (init_static_tls, init_slotinfo):
34792 Remove inline keyword.
34793 * include/rounding-mode.h (round_away): Likewise.
34794 * libio/wfileops.c (adjust_wide_data): Likewise.
34795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34796 (__m128i_strloadu_tolower): Likewise.
34797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34798 (__m128i_strloadu_tolower): Likewise.
34799 * time/mktime.c (ydhms_diff): Likewise.
34800 * locale/elem-hash.h (elem_hash): Likewise.
34801 * locale/setlocale.c (setdata): Likewise.
34802 * posix/regex_internal.h (re_string_char_size_at): Likewise.
34803 (re_string_wchar_at): Likewise.
34804 (bitset_not, bitset_merge, bitset_mask): Likewise.
34805 [!(__GNUC__ > 3)] (inline): Remove macro.
34806 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34807 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34808 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34809 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34810 * string/memcmp.c (memcmp_bytes): Likewise.
34811 * locale/programs/locarchive.c (compute_hashval): Likewise.
34812 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34813 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34814 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34815 * nss/getent.c (print_rpc, print_protocols): Likewise.
34816 (print_passwd, print_group, print_aliases): Likewise.
34817 * nis/nss-nisplus.h (niserr2nss): Likewise.
34818 * nscd/connections.c (restart_p): Likewise.
34819 Change return type to bool.
34820
eab55bfb
RM
348212013-02-05 Roland McGrath <roland@hack.frob.com>
34822
7bd642f5
RM
34823 * Makeconfig (all-Depend-files): Add existing
34824 $(sorted-subdirs:=/Depend) files.
34825 (all-subdirs): Remove nss.
34826 * sysdeps/unix/inet/Subdirs: Add it here instead.
34827 * hesiod/Depend: New file.
34828
573c29b2
RM
34829 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34830 instead of calling alloca.
34831
b2e25af0
RM
34832 * io/lseek.c (__lseek): Rename to __libc_lseek.
34833 Define __lseek as an alias.
34834
eab55bfb
RM
34835 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34836
9a0d1941
CD
348372013-02-04 Carlos O'Donell <carlos@redhat.com>
34838
34839 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34840 else clause and remove check for non-standard endianness.
34841
b83bbec4
DM
348422013-02-04 David S. Miller <davem@davemloft.net>
34843
34844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34845
6277fdab
JM
348462013-02-04 Joseph Myers <joseph@codesourcery.com>
34847
34848 [BZ #13550]
34849 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34850 (__ubp_memchr): Remove prototype.
34851 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34852 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34853 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34854 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34855 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34856 Remove alias.
34857 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34858 (__ubp_memchr): Likewise.
34859 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34860 (__ubp_memchr): Likewise.
34861 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34862 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34863 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34864 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34865 CHECK_STRING.
34866 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34867 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34868 (__getcwd): Do not use CHECK_STRING.
34869 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34870 <bp-checks.h>.
34871 (__real_chown): Do not use CHECK_STRING.
34872 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34873 <bp-checks.h>.
34874 (fchownat): Do not use CHECK_STRING.
34875 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34876 CHECK_STRING.
34877 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34878 <bp-checks.h>.
34879 (__lchown): Do not use CHECK_STRING.
34880 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34881 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34882 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34883 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34885 include <bp-checks.h>.
34886 (truncate64): Do not use CHECK_STRING.
34887 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34888 <bp-checks.h>.
34889 (__real_chown): Do not use CHECK_STRING.
34890 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34891 <bp-checks.h>.
34892 (__lchown): Do not use CHECK_STRING.
34893 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34894 <bp-checks.h>.
34895 (__chown): Do not use CHECK_STRING.
34896 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34897 <bp-checks.h>.
34898 (truncate64): Do not use CHECK_STRING.
34899 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34900 Likewise.
34901 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34902 (__xmknod): Do not use CHECK_STRING.
34903 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34904 <bp-checks.h>.
34905 (__xmknodat): Do not use CHECK_STRING.
34906 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34907 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34908
903ae060
AS
349092013-02-04 Andreas Schwab <schwab@suse.de>
34910
34911 [BZ #14142]
34912 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34913 * include/netdb.h: Likewise for h_errno.
34914 * elf/tst-stackguard1.c: Include <tls.h>.
34915
542f9466
JK
349162013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
34917
34918 * elf/link.h (struct link_map): Extend the l_addr comment.
34919 * include/link.h (struct link_map): Likewise.
34920
e782a927
JM
349212013-02-01 Joseph Myers <joseph@codesourcery.com>
34922
34923 [BZ #13550]
34924 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34925 (BOUNDED_1): Remove macro.
34926 * debug/backtrace.c: Don't include <bp-checks.h>.
34927 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34928 (__backtrace): Likewise.
34929 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34930 <bp-checks.h>.
34931 (__backtrace): Don't use BOUNDED_1.
34932 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34933 <bp-checks.h>.
34934 (__backtrace): Don't use BOUNDED_1.
34935 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34936 (__backtrace): Don't use BOUNDED_1.
34937 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34938 (shmat): Don't use BOUNDED_N.
34939
8cf28c5e
JM
349402013-01-31 Joseph Myers <joseph@codesourcery.com>
34941
3a7ac8a0
JM
34942 [BZ #13550]
34943 * sysdeps/generic/bp-start.h: Remove file.
34944 * csu/libc-start.c: Don't include <bp-start.h>.
34945 (LIBC_START_MAIN): Set up __environ directly instead of using
34946 INIT_ARGV_and_ENVIRON.
34947 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34948 <bp-start.h>.
34949
f3499f95
JM
34950 [BZ #13550]
34951 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34952 definitions.
34953 (CHECK_FCNTL): Likewise.
34954 (CHECK_N_PAGES): Likewise.
34955
32a45bea
JM
34956 [BZ #13550]
34957 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34958 definitions.
34959 (CHECK_SIGSET_NULL_OK): Likewise.
34960 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34961 <bp-checks.h>.
34962 (sigpending): Don't use CHECK_SIGSET.
34963 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34964 <bp-checks.h>.
34965 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34966 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34967 <bp-checks.h>.
34968 (do_sigsuspend): Don't use CHECK_SIGSET.
34969 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34970 use CHECK_SIGSET.
34971 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34972 (do_sigwait): Don't use CHECK_SIGSET.
34973 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34974 use CHECK_SIGSET.
34975 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34976 include <bp-checks.h>.
34977 (sigpending): Don't use CHECK_SIGSET.
34978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34979 include <bp-checks.h>.
34980 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34981 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34982 <bp-checks.h>.
34983 (sigpending): Don't use CHECK_SIGSET.
34984 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34985 <bp-checks.h>.
34986 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34987
2e8a5c8c
JM
34988 [BZ #13550]
34989 * sysdeps/generic/bp-semctl.h: Remove file.
34990 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34991 <bp-checks.h> and <bp-semctl.h>.
34992 (__old_semctl): Don't use CHECK_SEMCTL.
34993 (__new_semctl): Likewise.
34994 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34995 and <bp-semctl.h>.
34996 (__old_semctl): Don't use CHECK_SEMCTL.
34997 (__new_semctl): Likewise.
34998 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34999 <bp-checks.h> and <bp-semctl.h>.
35000 (__old_semctl): Don't use CHECK_SEMCTL.
35001 (__new_semctl): Likewise.
35002 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35003 <bp-checks.h> and <bp-semctl.h>.
35004 (semctl): Don't use CHECK_SEMCTL.
35005
c2d54929
JM
35006 [BZ #13550]
35007 * Makerules (elide-bp-thunks): Remove variable.
35008 (elide-routines.oS): Don't use $(elide-bp-thunks).
35009 (elide-routines.os): Likewise.
35010 (elide-routines.o): Likewise.
35011 (elide-routines.op): Likewise.
35012 (elide-routines.og): Likewise.
35013 (objects): Don't use $(bp-thunks).
35014 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35015 include.
35016 (common-generated): Do not add s-proto-bp.d.
35017 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35018 (int): Likewise.
35019 (typ): Likewise.
35020 Do not generate makefile rules for bounded-pointer thunks.
35021 * sysdeps/generic/bp-thunks.h: Remove file.
35022 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35023 * sysdeps/unix/s-proto-bp.S: Likewise.
35024
8cf28c5e
JM
35025 [BZ #15062]
35026 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35027 parts of result separately when argument is not close to line from
35028 -i to i and one part of argument is small.
35029 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35030 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35031 * math/libm-test.inc (cacos_test): Add more tests.
35032 (casin_test): Likewise.
35033 (casinh_test): Likewise.
35034 * sysdeps/i386/fpu/libm-test-ulps: Update.
35035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35036
c4e33b8d
DM
350372013-01-31 David S. Miller <davem@davemloft.net>
35038
35039 * po/de.po: Update from translation team.
35040
3b60b421
MK
350412013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35042
35043 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35044
bb931195
TS
350452013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35046
b5a5da23
TS
35047 * configure.in (_AC_PROG_CC_C89): New definition.
35048 * configure: Regenerate.
35049
bb931195
TS
35050 * configure.in (AC_PROG_CPP): New definition.
35051 * configure: Regenerate.
35052
8c53a12c
JM
350532013-01-23 Joseph Myers <joseph@codesourcery.com>
35054
35055 * debug/tst-backtrace.h: New file.
35056 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35057 (ret): Remove variable.
35058 (x): Likewise.
35059 (FAIL): Remove macro.
35060 (NO_INLINE): Likewise.
35061 (fn1): Use match function instead of strstr.
35062 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35063 (ret): Remove variable.
35064 (x): Likewise.
35065 (FAIL): Remove macro.
35066 (NO_INLINE): Likewise.
35067 (fn): Use match function instead of strstr.
35068 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35069 (ret): Remove variable.
35070 (x): Likewise.
35071 (FAIL): Remove macro.
35072 (NO_INLINE): Likewise.
35073 (handle_signal): Use match function instead of strstr.
35074 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35075 (ret): Remove variable.
35076 (x): Likewise.
35077 (FAIL): Remove macro.
35078 (NO_INLINE): Likewise.
35079 (handle_signal): Use match function instead of strstr.
35080
4858fa2a
RM
350812013-01-23 Roland McGrath <roland@hack.frob.com>
35082
35083 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35084
bae8e7f5
DM
350852013-01-23 David S. Miller <davem@davemloft.net>
35086
35087 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35088 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35089 argument of CAS if possible.
35090 * sysdeps/sparc/sparc64/bits/atomic.h
35091 (__arch_compare_and_exchange_val_32_acq): Likewise.
35092 (__arch_compare_and_exchange_val_64_acq): Likewise.
35093
9cbbc4ae
PT
350942013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35095
35096 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35097 * sysdeps/posix/ulimit.c: ... this.
92a601b8 35098 Include <limits.h>.
67b3f58c 35099 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 35100
5655a0b5
AC
351012013-01-23 Adam Conrad <adconrad@0c3.net>
35102
35103 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35104 (LDFLAGS-tst-array5): Likewise.
35105
052aff95
JM
351062013-01-23 Joseph Myers <joseph@codesourcery.com>
35107
35108 [BZ #15036]
35109 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35110 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35111 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35112 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35113
7c1e01aa
DM
351142013-01-21 David S. Miller <davem@davemloft.net>
35115
35116 * sysdeps/sparc/backtrace.c: New file.
35117 * sysdeps/sparc/sparc32/backtrace.h: New file.
35118 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35119 * sysdeps/sparc/sparc64/backtrace.h: New file.
35120 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35121 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35122 -funwind-tables.
35123
ab087e0a
AS
351242013-01-21 Andreas Schwab <schwab@suse.de>
35125
35126 [BZ #15020]
35127 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35128 closed its stdout.
35129
ed689c2f
AS
351302013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35131
35132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35133 "mpa2.h".
35134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35135
31d470ac
JM
351362013-01-18 Joseph Myers <joseph@codesourcery.com>
35137 Mark Mitchell <mark@codesourcery.com>
35138 Tom de Vries <tom@codesourcery.com>
35139 Paul Pluzhnikov <ppluzhnikov@google.com>
35140
35141 * debug/tst-backtrace2.c: New file.
35142 * debug/tst-backtrace3.c: Likewise.
35143 * debug/tst-backtrace4.c: Likewise.
35144 * debug/tst-backtrace5.c: Likewise.
35145 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35146 (CFLAGS-tst-backtrace3.c): Likewise.
35147 (CFLAGS-tst-backtrace4.c): Likewise.
35148 (CFLAGS-tst-backtrace5.c): Likewise.
35149 (LDFLAGS-tst-backtrace2): Likewise.
35150 (LDFLAGS-tst-backtrace3): Likewise.
35151 (LDFLAGS-tst-backtrace4): Likewise.
35152 (LDFLAGS-tst-backtrace5): Likewise.
35153 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35154 tst-backtrace4 and tst-backtrace5.
35155
90567f30 351562013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
35157 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35158
35159 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35160 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35161 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35162 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35164 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35165 "+r" and remove output regs list as redundant. Add explicit inline
35166 asm to specify register of return val to work around compiler codegen
35167 bug. Remove (int) cast on return value. Add return type parameter to
35168 use in macro so that this macro does not truncate return value for
35169 64-bit values.
35170 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35171 pass to INTERNAL_VSYSCALL_NCS.
35172 (INLINE_VSYSCALL): Add 'long int' as return type to
35173 INTERNAL_VSYSCALL_NCS macro invocation.
35174 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35175 INTERNAL_VSYSCALL_NCS macro invocation.
35176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35177
d3b9ea61
SP
351782013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35179
0b57daeb
SP
35180 [BZ #14496]
35181 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35182 Fix application of SIMD FP exception mask.
35183
caa99d06
SP
35184 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35185 mp_no from a power of two.
35186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35187 __mpexp_twomm1. Use __pow_mp.
35188
d3b9ea61
SP
35189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35190 multiplication.
35191
1dbaee3c
DM
351922013-01-17 David S. Miller <davem@davemloft.net>
35193
35194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35195
728d7b43
JM
351962013-01-17 Joseph Myers <joseph@codesourcery.com>
35197
35198 [BZ #15023]
35199 * include/complex.h: Condition contents on [!_COMPLEX_H].
35200 (__kernel_casinhf): New prototype.
35201 (__kernel_casinh): Likewise.
35202 (__kernel_casinhl): Likewise.
35203 * math/Makefile (libm_calls): Add k_casinh.
35204 * math/k_casinh.c: New file.
35205 * math/k_casinhf.c: Likewise.
35206 * math/k_casinhl.c: Likewise.
35207 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35208 finite nonzero arguments.
35209 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35210 finite nonzero arguments.
35211 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35212 finite nonzero arguments.
35213 * math/s_casinh.c: Do not include <float.h>.
35214 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35215 * math/s_casinhf.c: Do not include <float.h>.
35216 (__casinhf): Move code for finite nonzero arguments to
35217 k_casinhf.c.
35218 * math/s_casinhl.c: Do not include <float.h>.
35219 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35220 redefine.
35221 (__casinhl): Move code for finite nonzero arguments to
35222 k_casinhl.c.
35223 * math/libm-test.inc (cacos_test): Add more tests.
35224 * sysdeps/i386/fpu/libm-test-ulps: Update.
35225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35226
2a26ef3a
PT
352272013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35228
35229 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35230 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35231 [!HAVE_MREMAP]: Remove [defined linux] case.
35232 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35233
a897655d
SP
352342013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35235
35236 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35237
881ebe89 352382013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
35239
35240 * elf/elf.h (R_386_SIZE32): New relocation.
35241 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35242 R_386_SIZE32.
35243 (elf_machine_rela): Likewise.
35244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35245 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35246
59981e9b
JM
352472013-01-17 Joseph Myers <joseph@codesourcery.com>
35248
35249 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35250 (FP_FAST_FMA): Do not define.
35251 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35252 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35253 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35254 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35255 !_SOFT_FLOAT]: Likewise.
35256 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35257 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35258 value.
35259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35260 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35261 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35262 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35263 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35264 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35265 file.
35266
cfa8054f
AS
352672013-01-16 Andreas Schwab <schwab@suse.de>
35268
35269 [BZ #14327]
35270 * include/stdlib.h (__mktemp): Add declaration.
35271 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35272 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35273
dd930cc5
SP
352742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35275
881ebe89
SP
35276 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35277 definitions.
35278 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35279 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35280 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35281 definitions here.
35282 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35283 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35284 definitions.
35285 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35286 and ONE.
35287 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35288 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35289 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35290 definitions.
35291 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35292 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35293 definitions.
35294 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 35295
dd930cc5
SP
35296 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35297
c19a9f89
DM
352982013-01-15 David S. Miller <davem@davemloft.net>
35299
1aa61767
DM
35300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35301 trunc{,f} to libm-sysdep_routes.
35302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35304 file.
35305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35307 file.
35308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35309 file.
35310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35312 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35313 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35314 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35315 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35316 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35317 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35318
c42d5e98
DM
35319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35320 nearbyint{,f} to libm-sysdep_routes.
35321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35323 New file.
35324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35325 file.
35326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35327 New file.
35328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35329 file.
35330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35333 file.
35334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35335 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35336 file.
35337 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35338 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35339 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35340
c19a9f89
DM
35341 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35342 libc_feholdexcept and libc_fesetenv.
35343
357679d2
MF
353442013-01-15 Mike Frysinger <vapier@gentoo.org>
35345
35346 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35347
65a82e3d
DM
353482013-01-14 David S. Miller <davem@davemloft.net>
35349
8b954ab9
DM
35350 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35351 (SPARC_ASM_VIS2_IFUNC): Likewise.
35352 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35354 use of 'siam' instruction.
35355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35356 Likewise.
35357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35358 Likewise.
35359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35360 Likewise.
35361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35366 file.
35367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35368 file.
35369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35370 file.
35371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35372 file.
35373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35378 new VIS2 routines.
35379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35382 Likewise.
35383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35388 routines to libm-sysdep_routines.
35389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35390
65a82e3d
DM
35391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35392 fdim/fdimf to libm-sysdep_routines.
35393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35394 file.
35395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35397 file.
35398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35401 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35402 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35403 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35404 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35405
e34ab705
SP
354062013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35407
2a91b573
SP
35408 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35409 to optimize copies.
35410
1066a534
SP
35411 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35414
e34ab705
SP
35415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35416 local variable MPTWO.
35417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35418 Likewise.
35419
aba5e596
MF
354202013-01-13 Mike Frysinger <vapier@gentoo.org>
35421
35422 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35423 GLOB_NOESCAPE.
35424
e557e9e5
MF
354252013-01-13 Mike Frysinger <vapier@gentoo.org>
35426
35427 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35428
0428cec9
MF
354292013-01-13 Mike Frysinger <vapier@gentoo.org>
35430
35431 * manual/pattern.texi (glob_t): Document gl_flags.
35432 (glob64_t): Likewise.
35433
8794a964
DM
354342013-01-11 David S. Miller <davem@davemloft.net>
35435
66438c3f
RM
35436 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35437 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35438 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
35439 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35440 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35441 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35442 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35443 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35444 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35445 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35446 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35447 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35448 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35449
4ae4244d
DM
35450 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35451 sparc V9 rather than using V8 code.
35452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35454
8794a964
DM
35455 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35456 Move to...
35457 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35458 Here.
35459
6270516e
RM
354602013-01-11 Roland McGrath <roland@hack.frob.com>
35461
35462 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35463 not in the main loop.
35464 * configure: Regenerated.
35465
6a57d931
JM
354662013-01-11 Joseph Myers <joseph@codesourcery.com>
35467
35468 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35469 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35470 to just #else.
35471 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
35472 [!__GLIBC_HAVE_LONG_LONG] case.
35473 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35474 condition to just #else.
35475 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35476 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35477 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35478 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35479 unconditional.
35480 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35481 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35482 #elif condition to just #else.
35483 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35484 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35485 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35486 #elif condition to just #else.
35487
0e8529e9
SE
354882013-01-11 Steve Ellcey <sellcey@mips.com>
35489
35490 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35491 (EF_MIPS_ARCH_64): Fix value.
35492 (EF_MIPS_ARCH_32R2): New.
35493 (EF_MIPS_ARCH_64R2): New.
35494
740b3dbe
L
354952013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35496
35497 * Makeconfig (+link-pie-before-libc): New.
35498 (+link-pie-after-libc): Likewise.
35499 (+link-pie-tests): Likewise.
35500 (+link-pie): Rewritten.
35501 (link-before-libc): Remove $(config-LDFLAGS).
35502 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35503 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35504 (config-LDFLAGS): Renamed to ...
35505 (rtld-LDFLAGS): This.
35506 (rtld-tests-LDFLAGS): New macro.
35507 (link-libc-rpath-link): Likewise.
35508 (link-libc-tests-rpath-link): Likewise.
35509 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35510 (link-libc): Prepand $(link-libc-rpath-link).
35511 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35512 (test-program-prefix): New macro.
35513 (test-via-rtld-prefix): Likewise.
35514 (test-program-cmd): Likewise.
35515 (host-test-program-cmd): Likewise.
35516 * Makefile ($(common-objpfx)testrun.sh): Replace
35517 $(run-program-prefix) with $(test-program-prefix).
35518 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35519 $(rtld-LDFLAGS).
35520 ($(common-objpfx)shlib.lds): Likewise.
35521 (build-module-helper): Likewise.
35522 ($(common-objpfx)format.lds): Likewise.
35523 * Rules (binaries-pie-tests): New.
35524 (binaries-pie-notests): Likewise.
35525 (binaries-pie): Rewritten.
35526 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35527 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35528 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35529 (make-test-out): Replace $(host-built-program-cmd) with
35530 $(host-test-program-cmd).
35531 * config.make.in (build-hardcoded-path-in-tests): New variable.
35532 * configure.in (--enable-hardcoded-path-in-tests): New configure
35533 option.
35534 (hardcoded_path_in_tests): New AC_SUBST.
35535 * configure: Regenerated.
35536 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35537 $(built-program-cmd) with $(test-program-cmd).
35538 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35539 (test_program_cmd): This.
35540 * elf/Makefile ($(objpfx)order.out): Run test with
35541 $(test-program-prefix).
35542 ($(objpfx)order2.out): Likewise.
35543 ($(objpfx)tst-initorder.out): Likewise.
35544 ($(objpfx)tst-initorder2.out): Likewise.
35545 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35546 $(test-program-cmd).
35547 ($(objpfx)tst-array1-static.out): Likewise.
35548 ($(objpfx)tst-array2.out): Likewise.
35549 ($(objpfx)tst-array3.out): Likewise.
35550 ($(objpfx)tst-array4.out): Likewise.
35551 ($(objpfx)tst-array5.out): Likewise.
35552 ($(objpfx)tst-array5-static.out): Likewise.
35553 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35554 $(test-program-cmd).
35555 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35556 $(run-program-prefix) with $(test-program-prefix).
35557 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35558 (test_program_prefix): This.
35559 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35560 $(run-program-prefix) with $(test-program-prefix).
35561 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35562 (test_program_prefix): This.
35563 * iconvdata/tst-tables.sh: Likewise.
35564 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35565 $(run-program-prefix) with $(test-program-prefix).
35566 ($(objpfx)tst-translit.out): Likewise.
35567 ($(objpfx)tst-gettext2.out): Likewise.
35568 ($(objpfx)tst-gettext4.out): Likewise.
35569 ($(objpfx)tst-gettext6.out): Likewise.
35570 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35571 (test_program_prefix): This.
35572 * intl/tst-gettext2.sh: Likewise.
35573 * intl/tst-gettext4.sh Likewise.
35574 * intl/tst-gettext6.sh: Likewise.
35575 * intl/tst-translit.sh: Likewise.
35576 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35577 with $(test-program-cmd).
35578 * libio/Makefile ($(objpfx)test-freopen.out): Replace
35579 $(run-program-prefix) with $(test-program-prefix).
35580 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35581 (test_program_prefix): This.
35582 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35583 $(run-program-prefix) with $(test-program-prefix).
35584 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35585 (test_program_prefix): This.
35586 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35587 * posix/Makefile ($(objpfx)globtest.out): Replace
35588 $(run-via-rtld-prefix) and $(test-wrapper) with
35589 $(test-program-prefix) and $(test-via-rtld-prefix).
35590 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35591 $(test-program-prefix).
35592 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35593 $(host-test-program-cmd).
35594 (tst-spawn-ARGS): Likewise.
35595 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35596 $(test-program-prefix).
35597 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35598 (test_via_rtld_prefix): This.
35599 (test_wrapper): Renamed to ...
35600 (test_program_prefix): This.
35601 (run_program_prefix): Replaced by test_program_prefix.
35602 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35603 (test_program_prefix): This.
35604 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35605 with $(host-test-program-cmd).
35606 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35607 $(run-program-prefix) with $(test-program-prefix).
35608 ($(objpfx)tst-printf.out): Likewise.
35609 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35610 $(test-program-cmd).
35611 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35612 (test_program_prefix): This.
35613 * stdio-common/tst-unbputc.sh: Likewise.
35614 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35615 $(run-program-prefix) with $(test-program-prefix).
35616 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35617 (test_program_prefix): This.
35618 * string/Makefile ($(objpfx)tst-svc.out): Replace
35619 $(built-program-cmd) with $(test-program-cmd).
35620
c6fe55cf
AJ
356212013-01-11 Andreas Jaeger <aj@suse.de>
35622
35623 [BZ #15003]
35624 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35625 value. Sync with Linux 3.7.
35626
9e6919c8
DM
356272013-01-10 David S. Miller <davem@davemloft.net>
35628
35629 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35630 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35631 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35632
1c9f1a02
RM
356332013-01-10 Roland McGrath <roland@hack.frob.com>
35634
35635 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35636 never set.
35637 * configure: Regenerated.
35638
b9de2dde
DM
356392013-01-10 David S. Miller <davem@davemloft.net>
35640
35641 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35642 sparc V9 rather than using V8 code.
35643 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35644 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35645
e7f68ef4
RM
356462013-01-10 Roland McGrath <roland@hack.frob.com>
35647
35648 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35649 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35650 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35651 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35652 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35653 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35654 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35655 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35656 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35657 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35658 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35659 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35660 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35661 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35662 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35663 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35664 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35665 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35666 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35667 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35668 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35669 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35670 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35671 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35672 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35673 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35674 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35675
5a47cc9c
DM
356762013-01-10 David S. Miller <davem@davemloft.net>
35677
35678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35679
4cf8f209
L
356802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35681
35682 * posix/Makefile (tests-static): New variable.
35683 (tests): Add $(tests-static).
35684 (tst-exec-static-ARGS): New variable.
35685 (tst-spawn-static-ARGS): Likewise.
35686 * posix/tst-exec-static.c: New file.
35687 * posix/tst-spawn-static.c: Likewise.
35688 * posix/tst-exec.c: Support run directly.
35689 * posix/tst-spawn.c: Likewise.
35690
fed0faa1
JM
356912013-01-10 Joseph Myers <joseph@codesourcery.com>
35692
828beb13
JM
35693 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35694 long.
35695 * math/bits/mathcalls.h (llrint): Likewise.
35696 (llround): Likewise.
35697 * stdlib/stdlib.h (struct drand48_data): Likewise.
35698 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35699 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35700 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35701 Likewise.
35702 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35703 Likewise.
35704 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35705 (elf_greg_t): Likewise.
35706 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35707 (__jmp_buf): Likewise.
35708 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35709 definitions.
35710 (llrint): Likewise, for all definitions.
35711 (llrintl): Likewise.
35712
fed0faa1
JM
35713 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35714 Remove [__GNUC__] condition.
35715 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35716 condition to just [__USE_ISOC99].
35717 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35718
1a20cb20
L
357192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35720
35721 [BZ #14200]
35722 * sysdeps/unix/sysv/linux/x86/bits/environments.h
35723 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35724 defined.
35725 (_POSIX_V6_ILP32_OFF32): Likewise.
35726 (_XBS5_ILP32_OFF32): Likewise.
35727 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35728 (__ILP32_OFFBIG_LDFLAGS): Likewise.
35729
751b85f7
SP
357302013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35731
7490eb81
SP
35732 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35733
751b85f7
SP
35734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35735 doubles __mpexp_twomm1. Adjust usage.
35736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35737 Remove.
35738
988197f0
AS
357392013-01-10 Andreas Schwab <schwab@suse.de>
35740
35741 [BZ #14964]
35742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35743 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35744
e83d7298
DM
357452013-01-09 David S. Miller <davem@davemloft.net>
35746
034ed64b 35747 [BZ #15003]
57f41c40
AS
35748 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35749 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35750 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35751 (TCP_FASTOPEN): Define.
e83d7298
DM
35752 (tcp_repair_opt): New structure.
35753 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35754 enum values.
57f41c40
AS
35755 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35756 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35757 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
35758 (tcp_cookie_transactions): New structure.
35759
d5e0b9bd
AB
357602013-01-09 Anton Blanchard <anton@samba.org>
35761
35762 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35763 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35764 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35765 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35766
0c07e3ea
JM
357672013-01-09 Joseph Myers <joseph@codesourcery.com>
35768
35769 * include/features.h (__USE_ANSI): Remove.
35770
232f7002
RM
357712013-01-09 Roland McGrath <roland@hack.frob.com>
35772
ad98e30c
RM
35773 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35774
232f7002
RM
35775 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35776
950c99ca
SP
357772013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
35778
b5792741
SP
35779 * sysdeps/s390/fpu/libm-test-ulps: Update.
35780
47cf2278
SP
35781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35782
950c99ca
SP
35783 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35784 (__acr): Likewise.
35785 (__cpy): Likewise.
35786 (norm): Likewise.
35787 (denorm): Likewise.
35788 (__mp_dbl): Likewise.
35789 (__dbl_mp): Likewise.
35790 (add_magnitudes): Likewise.
35791 (sub_magnitudes): Likewise.
35792 (__add): Likewise.
35793 (__sub): Likewise.
35794 (__mul): Likewise.
35795 (__inv): Likewise.
35796 (__dvd): Likewise.
35797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35798 (__acr): Likewise.
35799 (__cpy): Likewise.
35800 (norm): Likewise.
35801 (denorm): Likewise.
35802 (__mp_dbl): Likewise.
35803 (__dbl_mp): Likewise.
35804 (add_magnitudes): Likewise.
35805 (sub_magnitudes): Likewise.
35806 (__add): Likewise.
35807 (__sub): Likewise.
35808 (__mul): Likewise.
35809 (__inv): Likewise.
35810 (__dvd): Likewise.
35811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35812 (__acr): Likewise.
35813 (__cpy): Likewise.
35814 (norm): Likewise.
35815 (denorm): Likewise.
35816 (__mp_dbl): Likewise.
35817 (__dbl_mp): Likewise.
35818 (add_magnitudes): Likewise.
35819 (sub_magnitudes): Likewise.
35820 (__add): Likewise.
35821 (__sub): Likewise.
35822 (__mul): Likewise.
35823 (__inv): Likewise.
35824 (__dvd): Likewise.
35825
eede9df9
JM
358262013-01-08 Joseph Myers <joseph@codesourcery.com>
35827
35828 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35829 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35830 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35831 2 && __USE_EXTERN_INLINES]: Likewise.
35832
c40ea3d9
AJ
358332013-01-08 Andreas Jaeger <aj@suse.de>
35834
35835 [BZ# 14985]
35836 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35837 Remove.
35838 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35839 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35840
2ccdea26
AB
358412013-01-07 Anton Blanchard <anton@samba.org>
35842
35843 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35844 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35845 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35846 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35847 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35848 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35849 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35850 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35852 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35855 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35857 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35860 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35861 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35863 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35864 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35866 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35867 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35868 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35869 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35870 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35871 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35872 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35873 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35875 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35876 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35877 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35878 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35879 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35881 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35882 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35883 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35885 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35886
a9708fed
JM
358872013-01-07 Joseph Myers <joseph@codesourcery.com>
35888
375607b9
JM
35889 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35890 (__MALLOC_PMT): Likewise.
35891 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35892 [__GNUC__], only on [_LIBC].
35893 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35894 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35895 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35896 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35897 forward declaration.
35898 (realloc_hook_ini): Likewise.
35899 (memalign_hook_ini): Likewise.
35900 (__libc_memalign): Do not use __MALLOC_PMT in variable
35901 declaration.
35902 (__libc_valloc): Likewise.
35903 (__libc_pvalloc): Likewise.
35904 (__libc_calloc): Likewise.
35905 (__posix_memalign): Likewise.
35906
a9708fed
JM
35907 [BZ #14996]
35908 * math/s_casinh.c: Include <float.h>.
35909 (__casinh): Do not do computation with squaring and square root
35910 for large arguments.
35911 * math/s_casinhf.c: Include <float.h>.
35912 (__casinhf): Do not do computation with squaring and square root
35913 for large arguments.
35914 * math/s_casinhl.c: Include <float.h>.
35915 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35916 (__casinhl): Do not do computation with squaring and square root
35917 for large arguments.
35918 * math/libm-test.inc (casin_test): Add more tests.
35919 (casinh_test): Likewise.
35920 * sysdeps/i386/fpu/libm-test-ulps: Update.
35921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35922
afec409a
L
359232013-01-04 H.J. Lu <hongjiu.lu@intel.com>
35924
35925 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35926 (__x86_64_raw_data_cache_size): Likewise.
35927 (__x86_64_data_cache_size_half): Likewise.
35928 (__x86_64_raw_data_cache_size_half): Likewise.
35929 (__x86_64_shared_cache_size): Likewise.
35930 (__x86_64_raw_shared_cache_size): Likewise.
35931 (__x86_64_shared_cache_size_half): Likewise.
35932 (__x86_64_raw_shared_cache_size_half): Likewise.
35933 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35934 to ...
35935 (__x86_data_cache_size): This.
35936 (__x86_64_raw_data_cache_size): Renamed to ...
35937 (__x86_raw_data_cache_size): This.
35938 (__x86_64_data_cache_size_half): Renamed to ...
35939 (__x86_data_cache_size_half): This.
35940 (__x86_64_raw_data_cache_size_half): Renamed to ...
35941 (__x86_raw_data_cache_size_half): This.
35942 (__x86_64_shared_cache_size): Renamed to ...
35943 (__x86_shared_cache_size): This.
35944 (__x86_64_raw_shared_cache_size): Renamed to ...
35945 (__x86_raw_shared_cache_size): This.
35946 (__x86_64_shared_cache_size_half): Renamed to ...
35947 (__x86_shared_cache_size_half): This.
35948 (__x86_64_raw_shared_cache_size_half): Renamed to ...
35949 (__x86_raw_shared_cache_size_half): This.
35950 * sysdeps/x86_64/memcpy.S: Updated.
35951 * sysdeps/x86_64/memset.S: Likewise.
35952 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35953 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35954 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35955
0b3986d0
DM
359562013-01-04 David S. Miller <davem@davemloft.net>
35957
35958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35959
e47686e9
AS
359602013-01-04 Andreas Schwab <schwab@linux-m68k.org>
35961
d643bac1
AS
35962 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35963 1 to avoid redefinition warning.
35964 (__USE_GNU): Don't define.
35965 (init_signaling_nan): Protoize.
35966
e47686e9
AS
35967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35968
b18decba
SP
359692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35970
fffb407f
SP
35971 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35973 (__cpymn): Likewise.
35974 (norm): Remove commented code.
35975 (denorm): Likewise.
35976 (__mp_dbl): Likewise.
35977 (__inv): Likewise.
35978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35979 (__cpymn): Likewise.
35980 (norm): Remove commented code.
35981 (denorm): Likewise.
35982 (__mp_dbl): Likewise.
35983 (__inv): Likewise.
35984
b18decba
SP
35985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35986 mp_no value for 1.0 and 2.0.
35987 (norm): Use RADIXI instead of radixi.d.
35988 (denorm): Likewise.
35989 (__mul): Use 0.0 instead of zero.d.
35990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35991 mp_no value for 1.0 and 2.0.
35992 (norm): Use RADIXI instead of radixi.d.
35993 (denorm): Likewise.
35994 (__mul): Use 0.0 instead of zero.d.
35995
cdc1c96f
JM
359962013-01-04 Joseph Myers <joseph@codesourcery.com>
35997
35998 [BZ #14994]
35999 * math/s_casinh.c (__casinh): Reduce finite argument to first
36000 quadrant then set signs of results at the end.
36001 * math/s_casinhf.c (__casinhf): Likewise.
36002 * math/s_casinhl.c (__casinhl): Likewise.
36003 * math/libm-test.inc (casin_test): Add more tests.
36004 (casinh_test): Likewise.
36005 * sysdeps/i386/fpu/libm-test-ulps: Update.
36006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36007
302913e1
SP
360082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36009
6420d207
SP
36010 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36011
a9e48ab4
SP
36012 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36013
b7837264
SP
36014 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36015 declarations.
36016 (denorm): Likewise.
36017 (__mp_dbl): Likewise.
36018 (__inv): Likewise.
36019
f8af25d2
SP
36020 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36021 and adjust the header comment.
36022
302913e1
SP
36023 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36024 variable name from declaration.
36025
5d7dd1ca
L
360262013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36027
36028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36029 Initialize COMMON_CPUID_INDEX_7 element.
36030 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36031 (CPUID_RTM): Likewise.
36032 (HAS_RTM): Likewise.
36033 (COMMON_CPUID_INDEX_7): New enum.
36034
2f5f40f4
AS
360352013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36036
36037 [BZ #14981]
36038 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36039 size is zero, record memory as freed.
36040
4056f4a0
AJ
360412013-01-03 Andreas Jaeger <aj@suse.de>
36042
36043 * po/ia.po: Add new Interlingua translation.
36044
ab15736f 360452012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
36046
36047 * locale/programs/localedef.c: Fix description of '--posix' flag.
36048
568035b7
JM
360492013-01-02 Joseph Myers <joseph@codesourcery.com>
36050
e6898b8d
JM
36051 * NEWS: Update dates in second copyright notice.
36052 * README: Update copyright dates in example.
36053 * manual/libc.texinfo: Update copyright dates.
36054 * scripts/test-installation.pl: Update copyright date in --version
36055 output.
36056
0e2f9562
JM
36057 * hurd/ctty-input.c: Fix copyright notice formatting.
36058 * hurd/ctty-output.c: Likewise.
36059 * hurd/dtable.c: Likewise.
36060 * hurd/hurd-raise.c: Likewise.
36061 * hurd/hurdprio.c: Likewise.
36062 * hurd/msgportdemux.c: Likewise.
36063 * misc/sys/file.h: Likewise.
36064 * misc/sys/ioctl.h: Likewise.
36065 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36066 * sysdeps/mach/hurd/chdir.c: Likewise.
36067 * sysdeps/mach/hurd/fchdir.c: Likewise.
36068 * sysdeps/mach/hurd/rename.c: Likewise.
36069 * sysdeps/mach/hurd/rmdir.c: Likewise.
36070 * sysdeps/mach/hurd/seekdir.c: Likewise.
36071 * sysdeps/mach/hurd/setsid.c: Likewise.
36072 * sysdeps/posix/wait3.c: Likewise.
36073
568035b7
JM
36074 * All files with FSF copyright notices: Update copyright dates
36075 using scripts/update-copyrights.
36076 * intl/plural.c: Regenerated.
36077 * locale/programs/charmap-kw.h: Likewise.
36078 * locale/programs/locfile-kw.h: Likewise.
36079
da08f647
SP
360802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36081
0f5477af
SP
36082 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36083 four values.
36084
44e0d4c2
SP
36085 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36086 calculation loop and add branch prediction.
36087
4d55b4e5
SP
36088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36089 check access beyond bounds of m1np.
36090
da08f647
SP
36091 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36092 MPTWO.
36093 (__inv): Remove local variable MPTWO to use the global
36094 constant.
36095 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36097 variable MPTWO.
36098 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36099 MP3HALFS static const.
36100
8e051029
DM
361012013-01-01 David S. Miller <davem@davemloft.net>
36102
36103 * po/ca.po: Update from translation team.
36104
f4cf5f2d
JM
361052013-01-01 Joseph Myers <joseph@codesourcery.com>
36106
36107 * scripts/update-copyrights: New file.
36108 * Makeconfig: Reformat copyright notice.
36109 * ctype/ctype.h: Likewise.
36110 * debug/swprintf_chk.c: Likewise.
36111 * elf/dl-cache.c: Likewise.
36112 * elf/dl-debug.c: Likewise.
36113 * elf/dl-object.c: Likewise.
36114 * grp/initgroups.c: Likewise.
36115 * hurd/Makefile: Likewise.
36116 * hurd/hurd/signal.h: Likewise.
36117 * hurd/hurdfault.c: Likewise.
36118 * hurd/hurdioctl.c: Likewise.
36119 * hurd/hurdlookup.c: Likewise.
36120 * hurd/intr-msg.c: Likewise.
36121 * iconv/gconv_open.c: Likewise.
36122 * libio/swprintf.c: Likewise.
36123 * locale/lc-ctype.c: Likewise.
36124 * locale/nl_langinfo.c: Likewise.
36125 * mach/Machrules: Likewise.
36126 * mach/Makefile: Likewise.
36127 * malloc/obstack.h: Likewise.
36128 * manual/Makefile: Likewise.
36129 * manual/tsort.awk: Likewise.
36130 * misc/bits/stab.def: Likewise.
36131 * nis/nis_print_group_entry.c: Likewise.
36132 * nis/nis_table.c: Likewise.
36133 * nis/nss_compat/compat-pwd.c: Likewise.
36134 * nis/nss_compat/compat-spwd.c: Likewise.
36135 * po/Makefile: Likewise.
36136 * posix/fnmatch.c: Likewise.
36137 * posix/regex.h: Likewise.
36138 * resolv/Makefile: Likewise.
36139 * resolv/nss_dns/dns-network.c: Likewise.
36140 * resolv/res_hconf.c: Likewise.
36141 * scripts/gen-sorted.awk: Likewise.
36142 * soft-fp/soft-fp.h: Likewise.
36143 * stdio-common/printf.h: Likewise.
36144 * stdlib/monetary.h: Likewise.
36145 * stdlib/random.c: Likewise.
36146 * stdlib/random_r.c: Likewise.
36147 * sysdeps/generic/Makefile: Likewise.
36148 * sysdeps/gnu/Makefile: Likewise.
36149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36161 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36162 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36163 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36165 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36166 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36172 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36173 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36177 * sysdeps/mach/hurd/errnos.awk: Likewise.
36178 * sysdeps/mach/hurd/fork.c: Likewise.
36179 * sysdeps/mach/hurd/getcwd.c: Likewise.
36180 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36181 * sysdeps/mach/hurd/mmap.c: Likewise.
36182 * sysdeps/mach/hurd/utimes.c: Likewise.
36183 * sysdeps/mach/hurd/xmknod.c: Likewise.
36184 * sysdeps/posix/profil.c: Likewise.
36185 * sysdeps/posix/readdir_r.c: Likewise.
36186 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36187 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36188 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36189 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36191 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36192 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36193 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36195 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36196 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36197 * sysdeps/pthread/lio_listio.c: Likewise.
36198 * sysdeps/sparc/dl-procinfo.h: Likewise.
36199 * sysdeps/unix/i386/sysdep.S: Likewise.
36200 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36201 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36202 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36203 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36205 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36206 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36207 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36208 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36209 * sysdeps/wordsize-32/divdi3.c: Likewise.
36210 * time/sys/time.h: Likewise.
36211 * wcsmbs/Makefile: Likewise.
36212
0549fbba
DM
362132013-01-01 David S. Miller <davem@davemloft.net>
36214
a141f1a7
DM
36215 * po/fr.po: Update from translation team.
36216
0549fbba
DM
36217 * catgets/gencat.c: Update copyright year.
36218 * csu/version.c: Likewise.
36219 * debug/catchsegv.sh: Likewise.
36220 * debug/pcprofiledump.c: Likewise.
36221 * debug/xtrace.sh: Likewise.
36222 * elf/ldconfig.c: Likewise.
36223 * elf/ldd.bash.in: Likewise.
36224 * elf/pldd.c: Likewise.
36225 * elf/sotruss.ksh: Likewise.
36226 * elf/sprof.c: Likewise.
36227 * iconv/iconv_prog.c: Likewise.
36228 * iconv/iconvconfig.c: Likewise.
36229 * locale/programs/locale.c: Likewise.
36230 * locale/programs/localedef.c: Likewise.
36231 * login/programs/pt_chown.c: Likewise.
36232 * malloc/memusage.sh: Likewise.
36233 * malloc/memusagestat.c: Likewise.
36234 * malloc/mtrace.pl: Likewise.
36235 * nscd/nscd.c: Likewise.
36236 * nss/getent.c: Likewise.
36237 * nss/makedb.c: Likewise.
36238 * posix/getconf.c: Likewise.
36239
18ea052c
SP
362402012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36241
36242 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36243 numbers.
36244
9c89fca6
MF
362452012-12-30 Mike Frysinger <vapier@gentoo.org>
36246
36247 * math/bits/mathcalls.h (modf): Use __nonnull.
36248
085ec079
SP
362492012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36250
36251 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36252 (split): Use macro CN instead of the bare value.
36253 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36254 could be used.
36255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36256 instead of the bare value.
36257 (power1): Likewise.
36258
6d9f97e1
SP
362592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36260
d63f73be
SP
36261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36262 __ATAN_TWOM.
36263 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36264
6d9f97e1
SP
36265 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36266 their values.
36267 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36268 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36269 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36270 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36271
4c4febf5
AJ
362722012-12-28 Andreas Jaeger <aj@suse.de>
36273
af5843ef
AJ
36274 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36275 values are from Linux 3.7.
36276
4c4febf5
AJ
36277 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36278 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36279
99136f82
SP
362802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36281
2f216c3c 36282 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
36283 TRUE case.
36284
99136f82
SP
36285 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36286 (norm): Likewise.
36287 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36288 variables with preprocessor constants.
36289 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36290 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36291 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36292
7fffbdff
BH
362932012-12-27 Bruno Haible <bruno@clisp.org>
36294
36295 [BZ #14317]
36296 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36297 only if needed.
36298
b76eb5f0
SP
362992012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36300
31a7fe5c
SP
36301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36302 and use variable directly.
36303 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36304
b76eb5f0
SP
36305 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36306 MPONE.
36307 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36308 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36309 variable MPONE.
36310 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36312 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36313 include directive. Remove local variable MPONE.
36314 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36317
2c8bfe7d
DM
363182012-12-25 David S. Miller <davem@davemloft.net>
36319
36320 * version.h (RELEASE): Set to "development".
36321 (VERSION): Set to "2.17.90".
36322 * NEWS: Add 2.18 section.
36323
147d03b0
DM
363242012-12-21 David S. Miller <davem@davemloft.net>
36325
36326 * po/hr.po: Update from translation team.
36327
a8ebb2b9
AK
363282012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36329
36330 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36331
95b4f1b6
SE
363322012-12-19 Steve Ellcey <sellcey@mips.com>
36333
b2d94007 36334 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 36335
cedb2a90
MS
363362012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36337
36338 * manual/contrib.texi (Contributors): Spelling correction.
36339
bbf527d6
DM
363402012-12-15 David S. Miller <davem@davemloft.net>
36341
36342 * po/ru.po: Update from translation team.
36343
bc38c906
DM
363442012-12-13 David S. Miller <davem@davemloft.net>
36345
85429b1a
DM
36346 * NEWS: Mention IFUNC testsuite enhancements.
36347
d283e353
DM
36348 * po/pl.po: Update from translation team.
36349 * po/bg.po: Likewise.
36350
bc38c906
DM
36351 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36352 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36353
a181b0d7
DM
363542012-12-11 David S. Miller <davem@davemloft.net>
36355
4641d57e
DM
36356 * po/sv.po: Update from translation team.
36357
f7bc6495
DM
36358 * po/vi.po: Update from translation team.
36359
6fc9048f
DM
36360 * po/cs.po: Update from translation team.
36361
a181b0d7
DM
36362 * po/de.po: Update from translation team.
36363 * po/eo.po: Likewise.
36364 * po/nl.po: Likewise.
36365
f70bfe80
SP
363662012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36367
3c8b4190
SP
36368 [BZ #14246]
36369 * manual/argp.texi (Argp Helper Functions): Move node to follow
36370 Argp Parsing State.
36371
f70bfe80
SP
36372 [BZ #14872]
36373 * manual/conf.texi (Limits on File System Capacity): Mention if
36374 terminating null is included in the max size.
36375
188f0adf
AJ
363762012-12-10 Andreas Jaeger <aj@suse.de>
36377
36378 * po/cs.po: Update from translation team.
36379
56e7d3ad
SP
363802012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36381
36382 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36383 void pointer and cast to uintptr_t.
36384 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36385 path.
36386 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36387 * sysdeps/s390/s390-64/memset.S: Likewise.
36388
76f2d2ea 363892012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
36390
36391 [BZ #14833]
36392 * menual/message.texi (Message Translation): Fix typos.
36393 (Helper programs for gettext): Likewise.
36394
67cbf9a2
AS
363952012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36396
36397 [BZ #14898]
36398 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36399 Change to -1.
36400
682d0e9a
DM
364012012-12-07 David S. Miller <davem@davemloft.net>
36402
36403 * po/libc.pot: Update.
36404
573cd484
RH
364052012-12-07 Richard Henderson <rth@redhat.com>
36406
7e9da188 36407 [BZ #10114]
573cd484
RH
36408 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36409 normal/normal case to before the switch.
36410 (_FP_DIV): Likewise.
36411
e933a943
MF
364122012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36413 Mike Frysinger <vapier@gentoo.org>
36414
36415 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36416 check for __NR_fadvise64_64.
36417
82123268
CM
364182012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36419
36420 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36421 0, not just to plain "0" as a statement.
36422 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36423 with cw.
36424
d9814526
JM
364252012-12-06 Joseph Myers <joseph@codesourcery.com>
36426
36427 * NEWS: Use sourceware.org in Bugzilla URL.
36428
7728c574
SP
364292012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36430
f16946dd
SP
36431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36432 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36433
5704bbcb
SP
36434 * stdio-common/tst-put-error.c (do_test): Add newline to the
36435 padded test to ensure flush.
36436
17aa0516
JL
364372012-12-05 Jeff Law <law@redhat.com>
36438
36439 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36440
363313b5
JM
364412012-12-05 Joseph Myers <joseph@codesourcery.com>
36442
effbd42a
JM
36443 * README: Don't refer to ports add-on as distributed separately.
36444 Mention AArch64 in list of systems supported in the ports add-on.
36445
87600365
JM
36446 * LICENSES: Add more non-FSF copyright and license notices.
36447
a0d7066a
JM
36448 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36449 ((unused)).
36450
66ca5a5b
JM
36451 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36452
363313b5
JM
36453 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36454 10000 as width of padded output.
36455
b37984ad
JM
364562012-12-04 Joseph Myers <joseph@codesourcery.com>
36457
9003570a
JM
36458 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36459
b37984ad
JM
36460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36461 variable LX with __attribute__ ((unused)).
36462 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36463 Likewise.
36464 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36466 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36467 with __attribute__ ((unused)).
36468
c8df52ec
DM
364692012-12-04 David S. Miller <davem@abraco.davemloft.net>
36470
36471 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36472
b3b099af
JM
364732012-12-04 Joseph Myers <joseph@codesourcery.com>
36474
c33aa6e3
JM
36475 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36476 (CFLAGS-nldbl-acos.c): New variable.
36477 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36478 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36479 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36480 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36481 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36482 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36483 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36484 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36485 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36486 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36487 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36488 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36489 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36490 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36491 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36492 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36493 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36494 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36495 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36496 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36497 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36498 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36499 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36500 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36501 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36502 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36503 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36504 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36505 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36506 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36507 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36508 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36509 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36510 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36511 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36512 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36513 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36514 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36515 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36516 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36517 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36518 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36519 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36520 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36521 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36522 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36523 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36524 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36525 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36526 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36527 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36528 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36529 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36530 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36531 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36532 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36533 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36534 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36535 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36536 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36537 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36538 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36539 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36540 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36541 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36542 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36543 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36544 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36545 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36546 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36547 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36548 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36549 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36550 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36551 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36552 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36553 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36554 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36555 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36556 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36557 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36558 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36559 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36560 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36561 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36562 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36563 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36564 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36565 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36566 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36567 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36568 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36569 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36570 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36571 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36572 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36573 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36574
20f0018d
JM
36575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36576 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36577
b3b099af
JM
36578 [BZ #14914]
36579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36580 whole low double instead of just low 47 bits when splitting values
36581 into two parts.
36582
029264d1
AM
365832012-12-03 Allan McRae <allan@archlinux.org>
36584
36585 * manual/stdio.texi (Predefined Printf Handlers): Remove
36586 @hsep and @vsep usage.
36587
c9d6789e
MF
365882012-12-03 Mike Frysinger <vapier@gentoo.org>
36589
36590 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36591 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36592
4b7634a5
JL
365932012-12-03 Jeff Law <law@redhat.com>
36594
36595 * time/sys/time.h (settimeofday): Do not mark TV argument
36596 as __nonnull.
36597
eb6cbd24
MF
365982012-12-01 Mike Frysinger <vapier@gentoo.org>
36599
36600 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36601 when currently writing and seek to current position when not.
36602 * libio/Makefile (tests): Remove bug-fclose1.
36603 * libio/bug-fclose1.c: Delete.
36604
f638872a
JM
366052012-12-01 Joseph Myers <joseph@codesourcery.com>
36606
36607 * manual/arith.texi (feenableexcept): Fix typo.
36608 (fedisableexcept): Likewise.
36609
48085d14
RM
366102012-11-30 Roland McGrath <roland@hack.frob.com>
36611
36612 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36613 second, differently-typed declaration, rather than a cast.
36614
1a538b9f
SP
366152012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36616
36617 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36618 * include/rpc/svc.h: ... here.
36619
d07f2ff1 366202012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
36621
36622 [BZ #13013]
36623 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36624 depending n and resplen2 to catch cases where answer
36625 equals answerp2.
36626
c93ec1f0
CD
366272012-11-29 Carlos O'Donell <carlos@systemhalted.org>
36628
36629 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36630 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36631
37db69de
MF
366322012-11-29 Mike Frysinger <vapier@gentoo.org>
36633
36634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36635
e10c4e4f
RM
366362012-11-29 Roland McGrath <roland@hack.frob.com>
36637
36638 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36639
2af1b328
JL
366402012-11-28 Jeff Law <law@redhat.com>
36641
36642 [BZ #13761]
36643 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36644 dataset_temporary. Track alloca usage into alloca_used.
36645 If dataset is large allocate and release it via malloc/free.
36646
111db5b1
FW
366472012-06-04 Florian Weimer <fweimer@redhat.com>
36648
f06cc227 36649 [BZ #14197]
111db5b1
FW
36650 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36651
dd694abd
DM
366522012-11-28 David S. Miller <davem@davemloft.net>
36653
36654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36655
9984dd01
JM
366562012-11-28 Joseph Myers <joseph@codesourcery.com>
36657
36658 [BZ #14803]
36659 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36660 of pi/2 rounded to nearest to 64 bits.
36661 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36662 nearest to 64 bits.
36663 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36664 bits.
36665
14bc93a9
JL
366662012-11-28 Jeff Law <law@redhat.com>
36667 Martin Osvald <mosvald@redhat.com>
36668
36669 [BZ #14889]
36670 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36671 * sunrpc/svc.c: Include time.h.
36672 (__svc_accept_failed): New function.
36673 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36674 any reason other than EINTR, call __svc_accept_failed.
36675 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36676 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36677
e3c6aa3a
AS
366782012-11-28 Andreas Schwab <schwab@suse.de>
36679
36680 * scripts/abilist.awk: Also handle indirect functions in .opd
36681 section.
36682
1bead169
JM
366832012-11-28 Joseph Myers <joseph@codesourcery.com>
36684
36685 [BZ #13881]
36686 * sysdeps/x86/fpu/powl_helper.c: New file.
36687 * sysdeps/x86/fpu/Makefile: Likewise.
36688 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36689 (p3): New object.
36690 (__ieee754_powl): Use __powl_helper for finite arguments except
36691 integer exponents below 8.
36692 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36693 (p3): New object.
36694 (__ieee754_powl): Use __powl_helper for finite arguments except
36695 integer exponents below 8.
36696 * math/libm-test.inc (pow_test): Add more tests and enable some
36697 previously disabled tests.
36698 * sysdeps/i386/fpu/libm-test-ulps: Update.
36699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36700
0817d63d
SP
367012012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36702 Carlos O'Donell <carlos_odonell@mentor.com>
36703
36704 * nss/makedb.c (is_prime): Assert that input is odd and greater
36705 than 4. Note that fact in a comment too.
36706 (next_prime): Add 4 to input.
36707
de2fd463
SP
367082012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36709
36710 [BZ #11741]
36711 * libio/Makefile (tests): Add test case tst-fwrite-error.
36712 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36713 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36714 * libio/tst-fwrite-error.c: New test case.
36715
c515fb51
L
367162012-11-26 H.J. Lu <hongjiu.lu@intel.com>
36717
36718 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36719 before casting to void *.
36720 * include/libc-internal.h (__pointer_type): New macro.
36721 (__integer_if_pointer_type_sub): Likewise.
36722 (__integer_if_pointer_type): Likewise.
36723 (cast_to_integer): Likewise.
36724 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36725 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36726 before casting to atomic64_t.
36727 (atomic_exchange_acq): Likewise.
36728 (__arch_exchange_and_add_body): Likewise.
36729 (__arch_add_body): Likewise.
36730 (atomic_add_negative): Likewise.
36731 (atomic_add_zero): Likewise.
36732
4cf77aa9
JM
367332012-11-26 Joseph Myers <joseph@codesourcery.com>
36734
36735 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36736 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36737 (add_fdes): Likewise.
36738 (linear_search_fdes): Likewise.
36739 (binary_search_unencoded_fdes): Likewise.
36740
d260b3b4
AS
367412012-11-26 Andreas Schwab <schwab@linux-m68k.org>
36742
36743 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36744
67060746
AC
367452012-11-24 Adam Conrad <adconrad@0c3.net>
36746
36747 * configure.in: Autodetect C++ header directories.
36748 * configure: Regenerated.
36749
800938a1
MF
367502012-11-23 Mike Frysinger <vapier@gentoo.org>
36751
36752 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36753
4e6e34e6
AS
367542012-11-23 Andreas Schwab <schwab@linux-m68k.org>
36755
36756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36757
7c7feb47
JM
367582012-11-22 Joseph Myers <joseph@codesourcery.com>
36759
7184dcdf
JM
36760 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36761 LDBL_MANT_DIG == 106]: Disable some tests.
36762 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36763 Likewise.
36764 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36765 Likewise.
36766
0a42601f
JM
36767 [BZ #14871]
36768 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36769 input for small inputs. Return +/- pi/2 for large inputs.
36770 * math/libm-test.inc (atan_test): Add more tests.
36771
79c9b9fe
JM
36772 * sysdeps/generic/unwind-dw2-fde-glibc.c
36773 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36774 __attribute__ ((unused)).
36775
c60d3bf2
JM
36776 [BZ #14645]
36777 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36778 x * y if x and y are nonzero and z is zero.
36779
ef1e0867
JM
36780 [BZ #14811]
36781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36782 nonzero exponents with absolute value below 0x1p-117 to +/-
36783 0x1p-117.
36784
1468ded3
JM
36785 [BZ #14869]
36786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36787 up arguments below 2**-450, not just those below 2**-500.
36788 * math/libm-test.inc (hypot_test): Add another test.
36789
8e27e3cc
JM
36790 [BZ #14868]
36791 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36792 Return a+b for ratio over 2**120, not 2**60.
36793 * math/libm-test.inc (hypot_test): Add another test.
36794
c9c0279b
JM
36795 * math/libm-test.inc (clog_test): Use
36796 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36797 (clog10_test): Likewise.
36798
7c7feb47
JM
36799 [BZ #6778]
36800 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36801
fff1530e
AS
368022012-11-22 Andreas Schwab <schwab@suse.de>
36803
36804 * sysdeps/i386/fpu/libm-test-ulps: Update.
36805
94558d30
PT
368062012-11-22 Pino Toscano <toscano.pino@tiscali.it>
36807
36808 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36809 printf output with newline.
36810
7e1be741
L
368112012-11-21 H.J. Lu <hongjiu.lu@intel.com>
36812
6bfea974
L
36813 [BZ #14865]
36814 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36815 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36816 -z nodlopen, -z initfirst and -z execstack support.
36817 * configure: Regenerated.
36818
7e1be741
L
36819 * elf/elf.h (DF_1_NODIRECT): New macro.
36820 (DF_1_IGNMULDEF): Likewise.
36821 (DF_1_NOKSYMS): Likewise.
36822 (DF_1_NOHDR): Likewise.
36823 (DF_1_EDITED): Likewise.
36824 (DF_1_NORELOC): Likewise.
36825 (DF_1_SYMINTPOSE): Likewise.
36826 (DF_1_GLOBAUDIT): Likewise.
36827 (DF_1_SINGLETON): Likewise.
36828 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36829 DT_1_SUPPORTED_MASK bits.
36830 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36831
105ce2ce
CD
368322012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
36833
36834 * sysdeps/unix/make-syscalls.sh: Document prefixes.
36835
123be9de
TS
368362012-11-20 Thomas Schwinge <thomas@codesourcery.com>
36837
d072f3f7
TS
36838 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36839 macro.
36840
123be9de
TS
36841 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36842 (sendmmsg): Move declarations...
36843 * socket/sys/socket.h: ... here.
36844 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36845 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36846 include it from...
36847 * socket/recvmmsg.c: ... this new file.
36848 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36849 (sendmmsg): Rename to __sendmmsg, create weak alias and make
36850 definition of __sendmmsg hidden.
36851 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36852 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36853 Move ENOSYS stub into and include it from...
36854 * socket/sendmmsg.c: ... this new file.
36855 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36856 (sysdep_routines): Move recvmmsg and sendmmsg...
36857 * socket/Makefile (routines): ... here.
36858 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36859 (GLIBC_PRIVATE): Add __sendmmsg.
36860 * include/sys/socket.h (__sendmmsg): Add declarations.
36861 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36862 sendmmsg.
36863
cf9a5d18
JM
368642012-11-20 Joseph Myers <joseph@codesourcery.com>
36865
36866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36867 variable I1 with __attribute__ ((unused)).
36868 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36869
ecd4caf9
JM
368702012-11-19 Joseph Myers <joseph@codesourcery.com>
36871
be14d48f
JM
36872 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36873 DUMMY variables with __attribute__ ((unused)).
36874
ecd4caf9
JM
36875 * bits/byteswap.h: Include <bits/types.h>.
36876 (__bswap_64): Use __uint64_t instead of unsigned long long int.
36877
986cab95
PT
368782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36879
36880 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36881 string_t. Do not manually set errno.
36882 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36883 length with __strnlen. Make sure to both set errno and return it on
36884 failure.
36885
6d33cc9d
DM
368862012-11-19 David S. Miller <davem@davemloft.net>
36887
36888 With help from Joseph Myers.
36889 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36890 very large arguments properly.
36891 * math/libm-test.inc (atan_test): New tests.
36892 (atan2_test): New tests.
36893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36895
ee663277
JM
368962012-11-19 Joseph Myers <joseph@codesourcery.com>
36897
877f2d8e
JM
36898 [BZ #14856]
36899 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36900 Define to 3.
36901
116fc08a
JM
36902 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36903 [POSIX] (EADDRNOTAVAIL): Likewise.
36904 [POSIX] (EAFNOSUPPORT): Likewise.
36905 [POSIX] (EALREADY): Likewise.
36906 [POSIX] (ECONNABORTED): Likewise.
36907 [POSIX] (ECONNREFUSED): Likewise.
36908 [POSIX] (ECONNRESET): Likewise.
36909 [POSIX] (EDESTADDRREQ): Likewise.
36910 [POSIX] (EDQUOT): Likewise.
36911 [POSIX] (EHOSTUNREACH): Likewise.
36912 [POSIX] (EIDRM): Likewise.
36913 [POSIX] (EISCONN): Likewise.
36914 [POSIX] (ELOOP): Likewise.
36915 [POSIX] (EMULTIHOP): Likewise.
36916 [POSIX] (ENETDOWN): Likewise.
36917 [POSIX] (ENETUNREACH): Likewise.
36918 [POSIX] (ENOBUFS): Likewise.
36919 [POSIX] (ENODATA): Likewise.
36920 [POSIX] (ENOLINK): Likewise.
36921 [POSIX] (ENOMSG): Likewise.
36922 [POSIX] (ENOPROTOOPT): Likewise.
36923 [POSIX] (ENOSR): Likewise.
36924 [POSIX] (ENOSTR): Likewise.
36925 [POSIX] (ENOTCONN): Likewise.
36926 [POSIX] (ENOTSOCK): Likewise.
36927 [POSIX] (EOPNOTSUPP): Likewise.
36928 [POSIX] (EOVERFLOW): Likewise.
36929 [POSIX] (EPROTO): Likewise.
36930 [POSIX] (EPROTONOSUPPORT): Likewise.
36931 [POSIX] (EPROTOTYPE): Likewise.
36932 [POSIX] (ESTALE): Likewise.
36933 [POSIX] (ETIME): Likewise.
36934 [POSIX] (ETXTBSY): Likewise.
36935 [POSIX] (EWOULDBLOCK): Likewise.
36936 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36937 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36938 [POSIX] (SEEK_CUR): Likewise.
36939 [POSIX] (SEEK_END): Likewise.
36940 [POSIX || UNIX98] (mode_t): Do not require.
36941 [POSIX] (off_t): Likewise.
36942 [POSIX] (pid_t): Likewise.
36943 [POSIX] (sys/stat.h): Do not allow header.
36944 [POSIX] (unistd.h): Likewise.
36945 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36946 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36947 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36948 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36949 require.
36950 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36951 sigevent): Specify elements.
36952 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36953 entry.
36954 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36955 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36956
a483863f
JM
36957 * conform/data/cpio.h-data [POSIX]: Disable whole file.
36958 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36959 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36960 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36961 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36962 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36963 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36964 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36966 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36967 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36968 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36969 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36970 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36971 Likewise.
36972 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36973 Likewise.
36974 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36975 Likewise.
36976 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36977 Likewise.
36978 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36979 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36981 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36982 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36983 Specify lower bound on value.
36984 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36985 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36986 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36987 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36988 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36989 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36990 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36991 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36992 value.
36993 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36994 as optional.
36995 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36996 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36997 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36998 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36999 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37000 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37001 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37002 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37003 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37004 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37005 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37006 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37007 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37008 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37009 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37010 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37011 entry.
37012 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37013 optional.
37014 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37015 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37018 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37019 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37020 Likewise.
37021 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37022 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37023 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37024 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37025 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37026 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37028 as optional.
37029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37031 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37032 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37033 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37034 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37035 specify as optional.
37036 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37037 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37038 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37039 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37040 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37041 [XPG3] (NL_LANGMAX): Likewise.
37042 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37043 [POSIX || XPG3] (NL_NMAX): Likewise.
37044 [POSIX || XPG3] (NL_SETMAX): Likewise.
37045 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37046 [XPG3] (NZERO): Likewise.
37047 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37048 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37049 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37050 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37051 (REG_ERANGE): Expect.
37052 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37053 optional-constant.
37054 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37055 Use (void) in prototype.
37056 [POSIX] (*_t): Allow.
37057 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37058 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37059 (WRDE_BADVAL): Expect.
37060
5ba924e3
JM
37061 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37062 expect.
37063 [XPG3 || XPG4] (O_RSYNC): Likewise.
37064 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37065 Likewise.
37066 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37067 [XPG3 || XPG4] (sigqueue): Likewise.
37068 [XPG3 || XPG4] (sigtimedwait): Likewise.
37069 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37070 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37071 [XPG3 || XPG4] (vsnprintf): Likewise.
37072 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37073 Likewise.
37074 [XPG3 || XPG4] (blksize_t): Likewise.
37075 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37076 Likewise.
37077 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37078 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37079 [XPG3 || XPG4] (struct itimerspec): Likewise.
37080 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37081 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37082 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37083 [XPG3 || XPG4] (clockid_t): Likewise.
37084 [XPG3 || XPG4] (timer_t): Likewise.
37085 [XPG3 || XPG4] (clock_getres): Likewise.
37086 [XPG3 || XPG4] (clock_gettime): Likewise.
37087 [XPG3 || XPG4] (clock_settime): Likewise.
37088 [XPG3 || XPG4] (nanosleep): Likewise.
37089 [XPG3 || XPG4] (timer_create): Likewise.
37090 [XPG3 || XPG4] (timer_delete): Likewise.
37091 [XPG3 || XPG4] (timer_gettime): Likewise.
37092 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37093 [XPG3 || XPG4] (timer_settime): Likewise.
37094 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37095 [XPG3 || XPG4] (getlogin_r): Likewise.
37096 [XPG3 || XPG4] (pread): Likewise.
37097 [XPG3 || XPG4] (pthread_atfork): Likewise.
37098 [XPG3 || XPG4] (pwrite): Likewise.
37099
ee663277
JM
37100 [BZ #14835]
37101 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37102 <bits/siginfo.h>.
37103
942caa16
PT
371042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37105
e19af380
PT
37106 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37107 finalizing MALLSTREAM.
37108
942caa16
PT
37109 * sysdeps/mach/hurd/syncfs.c: New file.
37110
cfde9b46
SP
371112012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37112
37113 [BZ #14719]
37114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37115 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37116 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37117 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37118 (_nss_dns_gethostbyname4_r): Likewise.
37119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37120 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37121
f6da27e5
PH
371222012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37123
37124 [BZ #13763]
37125 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37126
6665d4a2
SM
371272012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37128
1f51ee92
SM
37129 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37130 * elf/cache.c (print_entry): Print ",AArch64" for
37131 FLAG_AARCH64_LIB64
37132
6665d4a2
SM
37133 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37134 * elf/cache.c (print_entry): Print ",hard-float" for
37135 FLAG_ARM_LIBHF.
37136
05b227bd
DM
371372012-11-18 David S. Miller <davem@davemloft.net>
37138
37139 With help from Joseph Myers.
37140 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37141 cutoff to 2**-13.
37142 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37143 cutoff to 2**-25.
37144 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37145 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37146 small.
37147 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37148 * math/libm-test.inc (y0_test): New tests.
37149 (y1_test): New tests.
37150 * sysdeps/i386/fpu/libm-test-ulps: Update.
37151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37153
786b0b67
AS
371542012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37155
37156 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37157 64-bit targets.
37158 * configure: Regenerated.
37159
8e18b86d
DM
371602012-11-17 David S. Miller <davem@davemloft.net>
37161
37162 [BZ #14811]
37163 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37164 nonzero exponents with absolute value below 0x1p-128 to +/-
37165 0x1p-128.
37166
531f1ae0
JM
371672012-11-17 Joseph Myers <joseph@codesourcery.com>
37168
12df29e2
JM
37169 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37170
150dc1a0
JM
37171 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37172
531f1ae0
JM
37173 * posix/getconf-speclist.c: New file.
37174 * posix/posix-envs.def: Likewise.
37175 * posix/confstr.c (START_ENV_GROUP): New macro.
37176 (END_ENV_GROUP): Likewise.
37177 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37178 (KNOWN_PRESENT_ENV_STRING): Likewise.
37179 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37180 (UNKNOWN_ENVIRONMENT): Likewise.
37181 (confstr): Include posix-envs.def instead of handling
37182 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37183 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37184 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37185 (END_ENV_GROUP): Likewise.
37186 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37187 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37188 (UNKNOWN_ENVIRONMENT): Likewise.
37189 (__sysconf): Include posix-envs.def instead of handling associated
37190 cases directly here.
37191 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37192 preprocessing getconf-speclist.c rather than running getconf or
37193 generating empty file.
37194
a93f9cbc
PT
371952012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37196
37197 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37198
d64d9f87
AL
371992012-11-16 Andrej Lajovic <natrij@gmail.com>
37200
37201 [BZ #14672]
37202 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37203
447885eb
DM
372042012-11-16 David S. Miller <davem@davemloft.net>
37205
37206 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37207 smaller than LDBL_EPSILON/2.0L, just return xm1.
37208
bcbf9830
L
372092012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37210
37211 * elf/tst-array1.c (init): Set constructor priority to 1000.
37212 (fini): Set destructor priority to 1000.
37213 * elf/tst-array2dep.c: Likewise.
37214
2b766585
SP
372152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37216
37217 [BZ #11741]
37218 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37219 (_IO_new_file_xsputn): Also return EOF if none of the input
37220 data was written when overflow failed.
37221 * libio/iopadn.c (_IO_padn): Likewise.
37222 * libio/iowpadn.c (_IO_wpadn): Likewise.
37223 * stdio-common/tst-put-error.c: Add copyright notice.
37224 (do_test): Add case for printing padded string.
37225 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37226 _IO_padn returned error.
37227 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37228 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37229 return EOF.
37230
b1848fde
SP
372312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37232
37233 * libio/libioP.h: Add comment note that the references to C++
37234 bits are now obsolete.
37235
2fd89785
MS
372362012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37237
37238 * math/libm-test.inc (check_complex): Use asprintf.
37239
e3ea5409
JM
372402012-11-14 Joseph Myers <joseph@codesourcery.com>
37241
37242 * debug/pcprofiledump.c (print_version): Update copyright year.
37243 * malloc/memusagestat.c (print_version): Likewise.
37244
2e64d265
L
372452012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37246
37247 [BZ #14831]
37248 * elf/Makefile (tests): Add tst-audit8.
37249 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37250 ($(objpfx)tst-audit8.out): New target.
37251 (tst-audit8-ENV): New variable.
37252 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37253 audit if l_reloc_result is NULL.
37254 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37255 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37256 * elf/tst-audit8.c: New file.
37257
c485e4d2
MS
372582012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37259
37260 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37261 * misc/Makefile (CFLAGS-select.c): Define.
37262 * posix/Makefile (CFLAGS-pause.c): Define.
37263
3a0d900a
DM
372642012-11-13 David S. Miller <davem@davemloft.net>
37265
37266 * crypt/Makefile: Move test targets after toplevel Rules
37267 inclusion. Grab any necessary sysdep routines when linking.
37268 * crypt/md5.c (md5_process_block): Remove define, we will always
37269 name it __md5_process_block.
37270 (md5_finish_ctx): Update md5_process_block call.
37271 (md5_stream): Likewise.
37272 (md5_process_bytes): Likewise.
37273 (md5_process_block): Rename to __md5_process_block and move to ...
37274 * crypt/md5-block.c: ... here.
37275 * crypt/sha256.c (sha256_process_block): Move to ...
37276 * crypt/sha256-block.c: ... here.
37277 * crypt/sha512.c (sha512_process_block): Move to ...
37278 * crypt/sha512-block.c: ... here.
37279 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37280 path.
37281 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37282 * sysdeps/sparc/sparc64/multiarch/Makefile
37283 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37284 crypt subdir.
37285 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37286 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37287 multiarch changes.
37288 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37289 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37290 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37291 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37292 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37293 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37294 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37295 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37297 file.
37298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37299 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37300 file.
37301 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37302
8ca89318
JM
373032012-11-13 Joseph Myers <joseph@codesourcery.com>
37304
e27d476a
JM
37305 * timezone/tzselect.ksh: Update from tzcode git revision
37306 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37307 * timezone/zdump.c: Likewise.
37308 * timezone/zic.c: Likewise.
37309 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37310 in TZVERSION setting, not $(PKGVERSION).
37311 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37312 REPORT_BUGS_TO settings.
37313
8ca89318
JM
37314 [BZ #14838]
37315 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37316 macro.
37317
47594329
MS
373182012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37319
37320 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37321 detection to immediately after _FP_ROUND().
37322 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37323 bits are 0.
37324
640ac3f1
DM
373252012-11-11 David S. Miller <davem@davemloft.net>
37326
37327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37328 inttypes.h
37329 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37330 __close rather than their public counterparts.
37331
3d2577bb
JM
373322012-11-10 Joseph Myers <joseph@codesourcery.com>
37333
37334 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37335 file.
37336 [UNIX98] (sem_timedwait): Do not expect.
37337 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37338 [XPG4 || UNIX98] (sockatmark): Do not expect.
37339 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37340 (clock_getcpuclockid): Do not expect.
37341 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37342 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37343 Do not expect.
37344 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37345 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37346 [UNIX98] (vwscanf): Likewise.
37347 [UNIX98] (vswscanf): Likewise.
37348
fb1ae1ee
JM
373492012-11-09 Joseph Myers <joseph@codesourcery.com>
37350
9ec6f8bd
JM
37351 * timezone/version.h: Remove file.
37352 * timezone/README: Do not refer to version.h.
37353 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37354 $(objpfx)version.h.
37355 ($(objpfx)zdump.o): Likewise.
c3f81911 37356 ($(objpfx)version.h): New target.
9ec6f8bd 37357
0aa8f8a1
JM
37358 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37359 2012i.
37360 * timezone/README: Don't mention modification to tzselect.ksh.
37361 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37362 work on unmodified tzselect.ksh. Substitute version numbers in
37363 tzselect.ksh.
37364
4e87147f
JM
37365 * Makefile (format-me): Remove.
37366 (INSTALL): Adjust indentation. Use commands directly instead of
37367 using $(format-me).
37368
8b748aed
JM
37369 * aclocal.m4 (ACX_PKGVERSION): New macro.
37370 (ACX_BUGURL): Likewise.
37371 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37372 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37373 (REPORT_BUGS_TO): Likewise.
37374 * configure: Regenerated.
37375 * config.h.in (PKGVERSION): New macro.
37376 (REPORT_BUGS_TO): Likewise.
37377 * config.make.in (PKGVERSION): New variable.
37378 (PKGVERSION_TEXI): Likewise.
37379 (REPORT_BUGS_TO): Likewise.
37380 (REPORT_BUGS_TEXI): Likewise.
37381 * Makefile (format-me): Use -I$(common-objpfx)manual.
37382 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37383 ($(common-objpfx)manual/%): New target.
37384 (manual/%): Remove target.
37385 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37386 (print_version): Use PKGVERSION.
37387 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37388 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37389 and REPORT_BUGS_TO.
37390 ($(objpfx)xtrace): Likewise.
37391 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37392 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37393 (print_version): Use PKGVERSION.
37394 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37395 (do_version): Use PKGVERSION.
37396 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37397 REPORT_BUGS_TO.
37398 (common-ldd-rewrite): Likewise.
37399 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37400 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37401 (print_version): Use PKGVERSION.
37402 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37403 * elf/pldd.c (argp_program_bug_address): Remove variable.
37404 (more_help): New function.
37405 (argp): Use more_help.
37406 (print_version): Use PKGVERSION.
37407 * elf/sln.c (main): Use PKGVERSION.
37408 (usage): Use REPORT_BUGS_TO.
37409 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37410 (top level): Use PKGVERSION.
37411 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37412 (print_version): Use PKGVERSION.
37413 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37414 (print_version): Use PKGVERSION.
37415 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37416 (print_version): Use PKGVERSION.
37417 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37418 (print_version): Use PKGVERSION.
37419 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37420 (print_version): Use PKGVERSION.
37421 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37422 (print_version): Use PKGVERSION.
37423 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37424 and BUGURL.
37425 ($(objpfx)memusage): Likewise.
37426 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37427 (do_version): Use PKGVERSION.
37428 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37429 (print_version): Use PKGVERSION.
37430 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37431 ($PKGVERSION): New variable.
37432 ($REPORT_BUGS_TO): Likewise.
37433 (usage): Use $REPORT_BUGS_TO.
37434 (top level): Use $PKGVERSION.
37435 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37436 ($(objpfx)pkgvers.texi): New rule.
37437 ($(objpfx)stamp-pkgvers): Likewise.
37438 * manual/install.texi: Include pkgvers.texi.
37439 (--with-pkgversion): Document new configure option.
37440 (--with-bugurl): Likewise.
37441 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37442 than necessarily for this particular distribution. Use
37443 REPORT_BUGS_TO for where to report bugs.
37444 * INSTALL: Regenerated.
37445 * manual/libc.texinfo: Include pkgvers.texi.
37446 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37447 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37448 (print_version): Use PKGVERSION.
37449 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37450 (print_version): Use PKGVERSION.
37451 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37452 (print_version): Use PKGVERSION.
37453 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37454 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37455 macro.
37456 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37457 (print_version): Use PKGVERSION.
37458 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37459 (print_version): Use PKGVERSION.
37460 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37461 and PKGVERSION.
37462
92e4b6a9
JM
37463 * timezone/checktab.awk: Update from tzcode 2012i.
37464 * timezone/ialloc.c: Likewise.
37465 * timezone/private.h: Likewise.
37466 * timezone/scheck.c: Likewise.
37467 * timezone/tzfile.h: Likewise.
37468 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37469 (TZVERSION): Hardcode tzcode version number.
37470 * timezone/zdump.c: Update from tzcode 2012i.
37471 * timezone/zic.c: Likewise.
37472 * timezone/version.h: New file.
37473 * timezone/README: Describe version.h. Update upstream location.
37474
9bde902c
JM
37475 [BZ #14824]
37476 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37477 (mktemp): Enable declaration.
37478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37482 Likewise.
37483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37484 Likewise.
37485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37486 Likewise.
37487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37488 Likewise.
37489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37490 Likewise.
37491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37492 Likewise.
37493
fb1ae1ee
JM
37494 [BZ #14821]
37495 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37496 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37497 for copies of such integer values.
37498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37500
2c1adbcb
AJ
375012012-11-09 Andreas Jaeger <aj@suse.de>
37502
37503 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37504 definitions and declarations that are provided by
37505 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37506
d0f8457e
AK
375072012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37508
3a235abb 37509 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
37510 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37511 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37512 definition.
37513
57241e26
MS
375142012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37515
37516 * elf/elf.h: Update comment before AArch64 relocations.
37517
60e8270d
DM
375182012-11-07 David S. Miller <davem@davemloft.net>
37519
37520 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37521 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37522 (__start_context): Declare.
37523 (__makecontext_ret): Delete.
37524 (__makecontext): Hook up __start_context instead of
37525 __makecontext_ret.
37526 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37527 (sysdep_routines): Add __start_context when in stdlib.
37528
0fbb0fbc
JM
375292012-11-07 Joseph Myers <joseph@codesourcery.com>
37530
37531 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37532 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37533 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37534 hardcoded "nm".
37535 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37536 (READELF): New variable. Use it instead of hardcoded "readelf".
37537
eb48db7e
L
375382012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37539
37540 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37541 * sysdeps/x86/Makefile: Here.
37542 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37543 * sysdeps/x86/tst-xmmymm.sh: This.
37544
05bcf62a
JM
375452012-11-07 Joseph Myers <joseph@codesourcery.com>
37546
c4b6cf53
JM
37547 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37548 expectations.
37549 [UNIX98] (pthread_barrier_t): Do not expect.
37550 [UNIX98] (pthread_barrierattr_t): Likewise.
37551 [UNIX98] (pthread_spinlock_t): Likewise.
37552 [UNIX98] (pthread_barrier_destroy): Likewise.
37553 [UNIX98] (pthread_barrier_init): Likewise.
37554 [UNIX98] (pthread_barrier_wait): Likewise.
37555 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37556 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37557 [UNIX98] (pthread_barrierattr_init): Likewise.
37558 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37559 [UNIX98] (pthread_getcpuclockid): Likewise.
37560 [UNIX98] (pthread_mutex_timedlock): Likewise.
37561 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37562 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37563 [UNIX98] (pthread_sigmask): Likewise.
37564 [UNIX98] (pthread_spin_destroy): Likewise.
37565 [UNIX98] (pthread_spin_init): Likewise.
37566 [UNIX98] (pthread_spin_lock): Likewise.
37567 [UNIX98] (pthread_spin_trylock): Likewise.
37568 [UNIX98] (pthread_spin_unlock): Likewise.
37569 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37570 Do not expect.
37571 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37572 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37573 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37574 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37575 [XPG3 || XPG4] (pthread_key_t): Likewise.
37576 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37577 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37578 [XPG3 || XPG4] (pthread_once_t): Likewise.
37579 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37580 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37581 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37582 [XPG3 || XPG4] (pthread_t): Likewise.
37583
cbe6e120
JM
37584 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37585 not expect.
37586 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37587
1b126443
JM
37588 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37589 Change function return type to int.
37590
b961a573
JM
37591 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37592 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37593 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37594 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37595 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37596 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37597 [!POSIX] (posix_madvise): Likewise.
37598 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37599 && !UNIX98].
37600 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37601 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37602 (mode_t): Likewise.
37603 (posix_mem_offset): Likewise.
37604 (posix_typed_mem_get_info): Likewise.
37605 (posix_typed_mem_open): Likewise.
37606
9e188909
JM
37607 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37608 Change condition to [XOPEN2K8].
37609
05bcf62a
JM
37610 * conform/conformtest.pl: Preprocess allow-header data with -x c
37611 instead of from stdin.
37612 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37613 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37614 [C99-based standards] (cerfc): Likewise.
37615 [C99-based standards] (cexp2): Likewise.
37616 [C99-based standards] (cexpm1): Likewise.
37617 [C99-based standards] (clog10): Likewise.
37618 [C99-based standards] (clog1p): Likewise.
37619 [C99-based standards] (clog2): Likewise.
37620 [C99-based standards] (clgamma): Likewise.
37621 [C99-based standards] (ctgamma): Likewise.
37622 [C99-based standards] (cerff): Likewise.
37623 [C99-based standards] (cerfcf): Likewise.
37624 [C99-based standards] (cexp2f): Likewise.
37625 [C99-based standards] (cexpm1f): Likewise.
37626 [C99-based standards] (clog10f): Likewise.
37627 [C99-based standards] (clog1pf): Likewise.
37628 [C99-based standards] (clog2f): Likewise.
37629 [C99-based standards] (clgammaf): Likewise.
37630 [C99-based standards] (ctgammaf): Likewise.
37631 [C99-based standards] (cerfl): Likewise.
37632 [C99-based standards] (cerfcl): Likewise.
37633 [C99-based standards] (cexp2l): Likewise.
37634 [C99-based standards] (cexpm1l): Likewise.
37635 [C99-based standards] (clog10l): Likewise.
37636 [C99-based standards] (clog1pl): Likewise.
37637 [C99-based standards] (clog2l): Likewise.
37638 [C99-based standards] (clgammal): Likewise.
37639 [C99-based standards] (ctgammal): Likewise.
37640 * conform/data/inttypes.h-data [C99-based standards]: Include
37641 stdint.h-data. Remove all expectations for stdint.h contents.
37642 [C99-based standards] (PRI*): Do not allow.
37643 [C99-based standards] (SCN*): Likewise.
37644 [C99-based standards] (*_t): Likewise.
37645 [C99-based-standards] (PRId8): Expect macro.
37646 [C99-based-standards] (PRIi8): Likewise.
37647 [C99-based-standards] (PRIo8): Likewise.
37648 [C99-based-standards] (PRIu8): Likewise.
37649 [C99-based-standards] (PRIx8): Likewise.
37650 [C99-based-standards] (PRIX8): Likewise.
37651 [C99-based-standards] (SCNd8): Likewise.
37652 [C99-based-standards] (SCNi8): Likewise.
37653 [C99-based-standards] (SCNo8): Likewise.
37654 [C99-based-standards] (SCNu8): Likewise.
37655 [C99-based-standards] (SCNx8): Likewise.
37656 [C99-based-standards] (PRIdLEAST8): Likewise.
37657 [C99-based-standards] (PRIiLEAST8): Likewise.
37658 [C99-based-standards] (PRIoLEAST8): Likewise.
37659 [C99-based-standards] (PRIuLEAST8): Likewise.
37660 [C99-based-standards] (PRIxLEAST8): Likewise.
37661 [C99-based-standards] (PRIXLEAST8): Likewise.
37662 [C99-based-standards] (SCNdLEAST8): Likewise.
37663 [C99-based-standards] (SCNiLEAST8): Likewise.
37664 [C99-based-standards] (SCNoLEAST8): Likewise.
37665 [C99-based-standards] (SCNuLEAST8): Likewise.
37666 [C99-based-standards] (SCNxLEAST8): Likewise.
37667 [C99-based-standards] (PRIdFAST8): Likewise.
37668 [C99-based-standards] (PRIiFAST8): Likewise.
37669 [C99-based-standards] (PRIoFAST8): Likewise.
37670 [C99-based-standards] (PRIuFAST8): Likewise.
37671 [C99-based-standards] (PRIxFAST8): Likewise.
37672 [C99-based-standards] (PRIXFAST8): Likewise.
37673 [C99-based-standards] (SCNdFAST8): Likewise.
37674 [C99-based-standards] (SCNiFAST8): Likewise.
37675 [C99-based-standards] (SCNoFAST8): Likewise.
37676 [C99-based-standards] (SCNuFAST8): Likewise.
37677 [C99-based-standards] (SCNxFAST8): Likewise.
37678 [C99-based-standards] (PRId16): Likewise.
37679 [C99-based-standards] (PRIi16): Likewise.
37680 [C99-based-standards] (PRIo16): Likewise.
37681 [C99-based-standards] (PRIu16): Likewise.
37682 [C99-based-standards] (PRIx16): Likewise.
37683 [C99-based-standards] (PRIX16): Likewise.
37684 [C99-based-standards] (SCNd16): Likewise.
37685 [C99-based-standards] (SCNi16): Likewise.
37686 [C99-based-standards] (SCNo16): Likewise.
37687 [C99-based-standards] (SCNu16): Likewise.
37688 [C99-based-standards] (SCNx16): Likewise.
37689 [C99-based-standards] (PRIdLEAST16): Likewise.
37690 [C99-based-standards] (PRIiLEAST16): Likewise.
37691 [C99-based-standards] (PRIoLEAST16): Likewise.
37692 [C99-based-standards] (PRIuLEAST16): Likewise.
37693 [C99-based-standards] (PRIxLEAST16): Likewise.
37694 [C99-based-standards] (PRIXLEAST16): Likewise.
37695 [C99-based-standards] (SCNdLEAST16): Likewise.
37696 [C99-based-standards] (SCNiLEAST16): Likewise.
37697 [C99-based-standards] (SCNoLEAST16): Likewise.
37698 [C99-based-standards] (SCNuLEAST16): Likewise.
37699 [C99-based-standards] (SCNxLEAST16): Likewise.
37700 [C99-based-standards] (PRIdFAST16): Likewise.
37701 [C99-based-standards] (PRIiFAST16): Likewise.
37702 [C99-based-standards] (PRIoFAST16): Likewise.
37703 [C99-based-standards] (PRIuFAST16): Likewise.
37704 [C99-based-standards] (PRIxFAST16): Likewise.
37705 [C99-based-standards] (PRIXFAST16): Likewise.
37706 [C99-based-standards] (SCNdFAST16): Likewise.
37707 [C99-based-standards] (SCNiFAST16): Likewise.
37708 [C99-based-standards] (SCNoFAST16): Likewise.
37709 [C99-based-standards] (SCNuFAST16): Likewise.
37710 [C99-based-standards] (SCNxFAST16): Likewise.
37711 [C99-based-standards] (PRId32): Likewise.
37712 [C99-based-standards] (PRIi32): Likewise.
37713 [C99-based-standards] (PRIo32): Likewise.
37714 [C99-based-standards] (PRIu32): Likewise.
37715 [C99-based-standards] (PRIx32): Likewise.
37716 [C99-based-standards] (PRIX32): Likewise.
37717 [C99-based-standards] (SCNd32): Likewise.
37718 [C99-based-standards] (SCNi32): Likewise.
37719 [C99-based-standards] (SCNo32): Likewise.
37720 [C99-based-standards] (SCNu32): Likewise.
37721 [C99-based-standards] (SCNx32): Likewise.
37722 [C99-based-standards] (PRIdLEAST32): Likewise.
37723 [C99-based-standards] (PRIiLEAST32): Likewise.
37724 [C99-based-standards] (PRIoLEAST32): Likewise.
37725 [C99-based-standards] (PRIuLEAST32): Likewise.
37726 [C99-based-standards] (PRIxLEAST32): Likewise.
37727 [C99-based-standards] (PRIXLEAST32): Likewise.
37728 [C99-based-standards] (SCNdLEAST32): Likewise.
37729 [C99-based-standards] (SCNiLEAST32): Likewise.
37730 [C99-based-standards] (SCNoLEAST32): Likewise.
37731 [C99-based-standards] (SCNuLEAST32): Likewise.
37732 [C99-based-standards] (SCNxLEAST32): Likewise.
37733 [C99-based-standards] (PRIdFAST32): Likewise.
37734 [C99-based-standards] (PRIiFAST32): Likewise.
37735 [C99-based-standards] (PRIoFAST32): Likewise.
37736 [C99-based-standards] (PRIuFAST32): Likewise.
37737 [C99-based-standards] (PRIxFAST32): Likewise.
37738 [C99-based-standards] (PRIXFAST32): Likewise.
37739 [C99-based-standards] (SCNdFAST32): Likewise.
37740 [C99-based-standards] (SCNiFAST32): Likewise.
37741 [C99-based-standards] (SCNoFAST32): Likewise.
37742 [C99-based-standards] (SCNuFAST32): Likewise.
37743 [C99-based-standards] (SCNxFAST32): Likewise.
37744 [C99-based-standards] (PRId64): Likewise.
37745 [C99-based-standards] (PRIi64): Likewise.
37746 [C99-based-standards] (PRIo64): Likewise.
37747 [C99-based-standards] (PRIu64): Likewise.
37748 [C99-based-standards] (PRIx64): Likewise.
37749 [C99-based-standards] (PRIX64): Likewise.
37750 [C99-based-standards] (SCNd64): Likewise.
37751 [C99-based-standards] (SCNi64): Likewise.
37752 [C99-based-standards] (SCNo64): Likewise.
37753 [C99-based-standards] (SCNu64): Likewise.
37754 [C99-based-standards] (SCNx64): Likewise.
37755 [C99-based-standards] (PRIdLEAST64): Likewise.
37756 [C99-based-standards] (PRIiLEAST64): Likewise.
37757 [C99-based-standards] (PRIoLEAST64): Likewise.
37758 [C99-based-standards] (PRIuLEAST64): Likewise.
37759 [C99-based-standards] (PRIxLEAST64): Likewise.
37760 [C99-based-standards] (PRIXLEAST64): Likewise.
37761 [C99-based-standards] (SCNdLEAST64): Likewise.
37762 [C99-based-standards] (SCNiLEAST64): Likewise.
37763 [C99-based-standards] (SCNoLEAST64): Likewise.
37764 [C99-based-standards] (SCNuLEAST64): Likewise.
37765 [C99-based-standards] (SCNxLEAST64): Likewise.
37766 [C99-based-standards] (PRIdFAST64): Likewise.
37767 [C99-based-standards] (PRIiFAST64): Likewise.
37768 [C99-based-standards] (PRIoFAST64): Likewise.
37769 [C99-based-standards] (PRIuFAST64): Likewise.
37770 [C99-based-standards] (PRIxFAST64): Likewise.
37771 [C99-based-standards] (PRIXFAST64): Likewise.
37772 [C99-based-standards] (SCNdFAST64): Likewise.
37773 [C99-based-standards] (SCNiFAST64): Likewise.
37774 [C99-based-standards] (SCNoFAST64): Likewise.
37775 [C99-based-standards] (SCNuFAST64): Likewise.
37776 [C99-based-standards] (SCNxFAST64): Likewise.
37777 [C99-based-standards] (PRIdMAX): Likewise.
37778 [C99-based-standards] (PRIiMAX): Likewise.
37779 [C99-based-standards] (PRIoMAX): Likewise.
37780 [C99-based-standards] (PRIuMAX): Likewise.
37781 [C99-based-standards] (PRIxMAX): Likewise.
37782 [C99-based-standards] (PRIXMAX): Likewise.
37783 [C99-based-standards] (SCNdMAX): Likewise.
37784 [C99-based-standards] (SCNiMAX): Likewise.
37785 [C99-based-standards] (SCNoMAX): Likewise.
37786 [C99-based-standards] (SCNuMAX): Likewise.
37787 [C99-based-standards] (SCNxMAX): Likewise.
37788 [C99-based-standards] (PRIdPTR): Likewise.
37789 [C99-based-standards] (PRIiPTR): Likewise.
37790 [C99-based-standards] (PRIoPTR): Likewise.
37791 [C99-based-standards] (PRIuPTR): Likewise.
37792 [C99-based-standards] (PRIxPTR): Likewise.
37793 [C99-based-standards] (PRIXPTR): Likewise.
37794 [C99-based-standards] (SCNdPTR): Likewise.
37795 [C99-based-standards] (SCNiPTR): Likewise.
37796 [C99-based-standards] (SCNoPTR): Likewise.
37797 [C99-based-standards] (SCNuPTR): Likewise.
37798 [C99-based-standards] (SCNxPTR): Likewise.
37799 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37800 allow.
37801 * conform/data/stdint.h-data: Update comments to clarify
37802 requirements.
37803 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
37804 type.
37805 [C99-based standards] (INT8_MAX): Likewise.
37806 [C99-based standards] (INT16_MIN): Likewise.
37807 [C99-based standards] (INT16_MAX): Likewise.
37808 [C99-based standards] (INT32_MIN): Likewise.
37809 [C99-based standards] (INT32_MAX): Likewise.
37810 [C99-based standards] (INT64_MIN): Likewise.
37811 [C99-based standards] (INT64_MAX): Likewise.
37812 [C99-based standards] (UINT8_MAX): Likewise.
37813 [C99-based standards] (UINT16_MAX): Likewise.
37814 [C99-based standards] (UINT32_MAX): Likewise.
37815 [C99-based standards] (UINT64_MAX): Likewise.
37816 [C99-based standards] (INT_LEAST8_MIN): Likewise.
37817 [C99-based standards] (INT_LEAST8_MAX): Likewise.
37818 [C99-based standards] (INT_LEAST16_MIN): Likewise.
37819 [C99-based standards] (INT_LEAST16_MAX): Likewise.
37820 [C99-based standards] (INT_LEAST32_MIN): Likewise.
37821 [C99-based standards] (INT_LEAST32_MAX): Likewise.
37822 [C99-based standards] (INT_LEAST64_MIN): Likewise.
37823 [C99-based standards] (INT_LEAST64_MAX): Likewise.
37824 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37825 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37826 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37827 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37828 [C99-based standards] (INT_FAST8_MIN): Likewise.
37829 [C99-based standards] (INT_FAST8_MAX): Likewise.
37830 [C99-based standards] (INT_FAST16_MIN): Likewise.
37831 [C99-based standards] (INT_FAST16_MAX): Likewise.
37832 [C99-based standards] (INT_FAST32_MIN): Likewise.
37833 [C99-based standards] (INT_FAST32_MAX): Likewise.
37834 [C99-based standards] (INT_FAST64_MIN): Likewise.
37835 [C99-based standards] (INT_FAST64_MAX): Likewise.
37836 [C99-based standards] (UINT_FAST8_MAX): Likewise.
37837 [C99-based standards] (UINT_FAST16_MAX): Likewise.
37838 [C99-based standards] (UINT_FAST32_MAX): Likewise.
37839 [C99-based standards] (UINT_FAST64_MAX): Likewise.
37840 [C99-based standards] (INTPTR_MIN): Likewise.
37841 [C99-based standards] (INTPTR_MAX): Likewise.
37842 [C99-based standards] (UINTPTR_MAX): Likewise.
37843 [C99-based standards] (INTMAX_MIN): Likewise.
37844 [C99-based standards] (INTMAX_MAX): Likewise.
37845 [C99-based standards] (UINTMAX_MAX): Likewise.
37846 [C99-based standards] (PTRDIFF_MIN): Likewise.
37847 [C99-based standards] (PTRDIFF_MAX): Likewise.
37848 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37849 [C99-based standards] (SIZE_MAX): Likewise.
37850 [C99-based standards] (WCHAR_MAX): Likewise.
37851 [C99-based standards] (WINT_MAX): Likewise.
37852 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
37853 constraint on value.
37854 [C99-based standards] (WCHAR_MIN): Likewise.
37855 [C99-based standards] (WINT_MIN): Likewise.
37856 [C99-based standards] (*_t): Allow.
37857 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37858 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37859 Include math.h-data and complex.h-data. Remove all expectations
37860 of math.h and complex.h contents.
37861 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37862 at end of line.
37863 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37864 (struct tm): Expect tag.
37865 [C99-based-standards] (wcstof): Expect function.
37866 [C99-based-standards] (wcstold): Likewise.
37867 [C99-based-standards] (wcstoll): Likewise.
37868 [C99-based-standards] (wcstoull): Likewise.
37869 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37870 macro-int-constant. Specify type.
37871 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
37872 constraint on value.
37873 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37874 Specify type.
37875 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37876 Specify value.
37877 [ISO C standards]: Do not allow headers.
37878 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37879 wcs[abcdefghijklmnopqrstuvwxyz]*.
37880 [ISO C standards] (*_t): Do not allow.
37881 * conform/data/wctype.h-data [C99-based standards] (iswblank):
37882 Expect function.
37883 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37884 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37885 Specify type.
37886 [ISO C standards]: Do not allow headers.
37887 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37888 is[abcdefghijklmnopqrstuvwxyz]*.
37889 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37890 to[abcdefghijklmnopqrstuvwxyz]*.
37891 [ISO C standards] (*_t): Do not allow.
37892 * conform/data/stdalign.h-data: New file.
37893 * conform/data/stdbool.h-data: Likewise.
37894 * conform/data/stdnoreturn.h-data: Likewise.
37895
7514feb8
RM
378962012-11-07 Roland McGrath <roland@hack.frob.com>
37897
37898 [BZ #14815]
37899 * manual/filesys.texi (Directory Entries): Typo fix.
37900 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37901
19b2ecfc
MS
379022012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37903
37904 * elf/elf.h (EM_AARCH64): New macro.
37905 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37906 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37907 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37908 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37909 (R_AARCH64_TLSDESC): Likewise.
37910 (NT_ARM_TLS): Likewise.
37911 (NT_ARM_HW_BREAK): Likewise.
37912 (NT_ARM_HW_WATCH): Likewise.
37913
60e235ee
JM
379142012-11-07 Joseph Myers <joseph@codesourcery.com>
37915
37916 [BZ #14811]
37917 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37918 (__ieee754_powl): Saturate nonzero exponents with absolute value
37919 below 0x1p-79 to +/- 0x1p-79.
37920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37921 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37922 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37923 nonzero exponents with absolute value below 0x1p-32 to +/-
37924 0x1p-32.
37925 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37926 (__ieee754_powl): Saturate nonzero exponents with absolute value
37927 below 0x1p-79 to +/- 0x1p-79.
37928 * math/libm-test.inc (pow_test): Add more tests.
37929
0ab234b7
AK
379302012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37931
37932 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37933 _dl_s390_cap_flags with kernel. Increase string length.
37934 (_dl_s390_platforms): Add z196 and zEC12.
37935
45832f74
JM
379362012-11-07 Joseph Myers <joseph@codesourcery.com>
37937
37938 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37939 Change XOPEN21K to XOPEN2K.
37940
19218757
MK
379412012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
37942
37943 * string/memmove.c: Use memcpy when possible.
37944
c5f45721
AJ
379452012-11-06 Andreas Jaeger <aj@suse.de>
37946
37947 * po/eo.po: Update from translation team.
37948
82477c28
JM
379492012-11-06 Joseph Myers <joseph@codesourcery.com>
37950
37951 [BZ #14793]
37952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37953 exponent and small x and y exponents, scale x or y up. Increase
37954 by 2 the exponent used in scaling up.
37955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37957 * math/libm-test.inc (fma_test): Add more tests.
37958 (fma_test_towardzero): Likewise.
37959 (fma_test_downward): Likewise.
37960 (fma_test_upward): Likewise.
37961
99252c8c
JM
379622012-11-05 Joseph Myers <joseph@codesourcery.com>
37963
acfa885f
JM
37964 [BZ #14805]
37965 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37966 fenv_t *.
37967
99252c8c
JM
37968 [BZ #14801]
37969 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37970 namespace for names of struct fields.
37971 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37972 fenv_t fields.
37973 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37974 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37975
d6d98dea
ST
379762012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37977
37978 [BZ #3665]
37979 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37980
e10bb107
TS
379812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37982
37983 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37984 PTR_DEMANGLE.
37985
37986 [BZ #5246]
37987 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37988 PTR_DEMANGLE.
37989
a0c2940d
JM
379902012-11-04 Joseph Myers <joseph@codesourcery.com>
37991
37992 [BZ #14797]
37993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37994 definitely overflow as x * y not x * y + z.
37995 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37997 * math/libm-test.inc (fma_test): Add more tests.
37998 (fma_test_towardzero): Likewise.
37999 (fma_test_downward): Likewise.
38000 (fma_test_upward): Likewise.
38001
b830319d
TS
380022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38003
38004 [BZ #157]
38005
38006 * include/stub-tag.h: Remove file.
38007 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38008 '#include' of it.
38009 * manual/maint.texi (Porting): Don't reference it.
38010 * Makerules ($(objpfx)stubs): Likewise.
38011 * dirent/closedir.c: Don't include <stub-tag.h>.
38012 * dirent/dirfd.c: Likewise.
38013 * dirent/fdopendir.c: Likewise.
38014 * dirent/getdents.c: Likewise.
38015 * dirent/getdents64.c: Likewise.
38016 * dirent/opendir.c: Likewise.
38017 * dirent/readdir.c: Likewise.
38018 * dirent/readdir64.c: Likewise.
38019 * dirent/readdir64_r.c: Likewise.
38020 * dirent/readdir_r.c: Likewise.
38021 * dirent/rewinddir.c: Likewise.
38022 * dirent/seekdir.c: Likewise.
38023 * dirent/telldir.c: Likewise.
38024 * gmon/profil.c: Likewise.
38025 * grp/setgroups.c: Likewise.
38026 * inet/if_index.c: Likewise.
38027 * io/access.c: Likewise.
38028 * io/chdir.c: Likewise.
38029 * io/chmod.c: Likewise.
38030 * io/chown.c: Likewise.
38031 * io/close.c: Likewise.
38032 * io/dup.c: Likewise.
38033 * io/dup2.c: Likewise.
38034 * io/dup3.c: Likewise.
38035 * io/euidaccess.c: Likewise.
38036 * io/faccessat.c: Likewise.
38037 * io/fchdir.c: Likewise.
38038 * io/fchmod.c: Likewise.
38039 * io/fchmodat.c: Likewise.
38040 * io/fchown.c: Likewise.
38041 * io/fchownat.c: Likewise.
38042 * io/fcntl.c: Likewise.
38043 * io/flock.c: Likewise.
38044 * io/fstatfs.c: Likewise.
38045 * io/fstatfs64.c: Likewise.
38046 * io/fstatvfs.c: Likewise.
38047 * io/fstatvfs64.c: Likewise.
38048 * io/futimens.c: Likewise.
38049 * io/fxstat.c: Likewise.
38050 * io/fxstat64.c: Likewise.
38051 * io/fxstatat.c: Likewise.
38052 * io/fxstatat64.c: Likewise.
38053 * io/getcwd.c: Likewise.
38054 * io/isatty.c: Likewise.
38055 * io/lchmod.c: Likewise.
38056 * io/lchown.c: Likewise.
38057 * io/link.c: Likewise.
38058 * io/linkat.c: Likewise.
38059 * io/lseek.c: Likewise.
38060 * io/lseek64.c: Likewise.
38061 * io/lxstat64.c: Likewise.
38062 * io/mkdir.c: Likewise.
38063 * io/mkdirat.c: Likewise.
38064 * io/mkfifo.c: Likewise.
38065 * io/mkfifoat.c: Likewise.
38066 * io/open.c: Likewise.
38067 * io/open64.c: Likewise.
38068 * io/openat.c: Likewise.
38069 * io/openat64.c: Likewise.
38070 * io/pipe.c: Likewise.
38071 * io/pipe2.c: Likewise.
38072 * io/poll.c: Likewise.
38073 * io/posix_fadvise.c: Likewise.
38074 * io/posix_fadvise64.c: Likewise.
38075 * io/posix_fallocate.c: Likewise.
38076 * io/posix_fallocate64.c: Likewise.
38077 * io/read.c: Likewise.
38078 * io/readlink.c: Likewise.
38079 * io/readlinkat.c: Likewise.
38080 * io/rmdir.c: Likewise.
38081 * io/sendfile.c: Likewise.
38082 * io/sendfile64.c: Likewise.
38083 * io/statfs.c: Likewise.
38084 * io/statfs64.c: Likewise.
38085 * io/statvfs.c: Likewise.
38086 * io/statvfs64.c: Likewise.
38087 * io/symlink.c: Likewise.
38088 * io/symlinkat.c: Likewise.
38089 * io/ttyname.c: Likewise.
38090 * io/ttyname_r.c: Likewise.
38091 * io/umask.c: Likewise.
38092 * io/unlink.c: Likewise.
38093 * io/unlinkat.c: Likewise.
38094 * io/utime.c: Likewise.
38095 * io/utimensat.c: Likewise.
38096 * io/write.c: Likewise.
38097 * io/xmknod.c: Likewise.
38098 * io/xmknodat.c: Likewise.
38099 * io/xstat.c: Likewise.
38100 * io/xstat64.c: Likewise.
38101 * login/getpt.c: Likewise.
38102 * login/grantpt.c: Likewise.
38103 * login/unlockpt.c: Likewise.
38104 * math/e_acoshl.c: Likewise.
38105 * math/e_acosl.c: Likewise.
38106 * math/e_asinl.c: Likewise.
38107 * math/e_atan2l.c: Likewise.
38108 * math/e_atanhl.c: Likewise.
38109 * math/e_coshl.c: Likewise.
38110 * math/e_expl.c: Likewise.
38111 * math/e_fmodl.c: Likewise.
38112 * math/e_gammal_r.c: Likewise.
38113 * math/e_hypotl.c: Likewise.
38114 * math/e_j0l.c: Likewise.
38115 * math/e_j1l.c: Likewise.
38116 * math/e_jnl.c: Likewise.
38117 * math/e_lgammal_r.c: Likewise.
38118 * math/e_log10l.c: Likewise.
38119 * math/e_log2l.c: Likewise.
38120 * math/e_logl.c: Likewise.
38121 * math/e_powl.c: Likewise.
38122 * math/e_rem_pio2l.c: Likewise.
38123 * math/e_sinhl.c: Likewise.
38124 * math/e_sqrtl.c: Likewise.
38125 * math/fclrexcpt.c: Likewise.
38126 * math/fedisblxcpt.c: Likewise.
38127 * math/feenablxcpt.c: Likewise.
38128 * math/fegetenv.c: Likewise.
38129 * math/fegetexcept.c: Likewise.
38130 * math/fegetround.c: Likewise.
38131 * math/feholdexcpt.c: Likewise.
38132 * math/fesetenv.c: Likewise.
38133 * math/fesetround.c: Likewise.
38134 * math/feupdateenv.c: Likewise.
38135 * math/fgetexcptflg.c: Likewise.
38136 * math/fraiseexcpt.c: Likewise.
38137 * math/fsetexcptflg.c: Likewise.
38138 * math/ftestexcept.c: Likewise.
38139 * math/k_cosl.c: Likewise.
38140 * math/k_rem_pio2l.c: Likewise.
38141 * math/k_sinl.c: Likewise.
38142 * math/k_tanl.c: Likewise.
38143 * math/s_asinhl.c: Likewise.
38144 * math/s_atanl.c: Likewise.
38145 * math/s_cbrtl.c: Likewise.
38146 * math/s_erfl.c: Likewise.
38147 * math/s_expm1l.c: Likewise.
38148 * math/s_log1pl.c: Likewise.
38149 * math/s_tanhl.c: Likewise.
38150 * misc/acct.c: Likewise.
38151 * misc/brk.c: Likewise.
38152 * misc/chflags.c: Likewise.
38153 * misc/chroot.c: Likewise.
38154 * misc/fchflags.c: Likewise.
38155 * misc/fgetxattr.c: Likewise.
38156 * misc/flistxattr.c: Likewise.
38157 * misc/fremovexattr.c: Likewise.
38158 * misc/fsetxattr.c: Likewise.
38159 * misc/fsync.c: Likewise.
38160 * misc/ftruncate.c: Likewise.
38161 * misc/futimes.c: Likewise.
38162 * misc/futimesat.c: Likewise.
38163 * misc/getdomain.c: Likewise.
38164 * misc/getdtsz.c: Likewise.
38165 * misc/gethostid.c: Likewise.
38166 * misc/gethostname.c: Likewise.
38167 * misc/getloadavg.c: Likewise.
38168 * misc/getpagesize.c: Likewise.
38169 * misc/getsysstats.c: Likewise.
38170 * misc/getxattr.c: Likewise.
38171 * misc/gtty.c: Likewise.
38172 * misc/ioctl.c: Likewise.
38173 * misc/lgetxattr.c: Likewise.
38174 * misc/listxattr.c: Likewise.
38175 * misc/llistxattr.c: Likewise.
38176 * misc/lremovexattr.c: Likewise.
38177 * misc/lsetxattr.c: Likewise.
38178 * misc/lutimes.c: Likewise.
38179 * misc/madvise.c: Likewise.
38180 * misc/mincore.c: Likewise.
38181 * misc/mlock.c: Likewise.
38182 * misc/mlockall.c: Likewise.
38183 * misc/mmap.c: Likewise.
38184 * misc/mprotect.c: Likewise.
38185 * misc/msync.c: Likewise.
38186 * misc/munlock.c: Likewise.
38187 * misc/munlockall.c: Likewise.
38188 * misc/munmap.c: Likewise.
38189 * misc/preadv.c: Likewise.
38190 * misc/preadv64.c: Likewise.
38191 * misc/ptrace.c: Likewise.
38192 * misc/pwritev.c: Likewise.
38193 * misc/pwritev64.c: Likewise.
38194 * misc/readv.c: Likewise.
38195 * misc/reboot.c: Likewise.
38196 * misc/remap_file_pages.c: Likewise.
38197 * misc/removexattr.c: Likewise.
38198 * misc/revoke.c: Likewise.
38199 * misc/select.c: Likewise.
38200 * misc/setdomain.c: Likewise.
38201 * misc/setegid.c: Likewise.
38202 * misc/seteuid.c: Likewise.
38203 * misc/sethostid.c: Likewise.
38204 * misc/sethostname.c: Likewise.
38205 * misc/setregid.c: Likewise.
38206 * misc/setreuid.c: Likewise.
38207 * misc/setxattr.c: Likewise.
38208 * misc/sstk.c: Likewise.
38209 * misc/stty.c: Likewise.
38210 * misc/swapoff.c: Likewise.
38211 * misc/swapon.c: Likewise.
38212 * misc/sync.c: Likewise.
38213 * misc/syncfs.c: Likewise.
38214 * misc/syscall.c: Likewise.
38215 * misc/truncate.c: Likewise.
38216 * misc/ualarm.c: Likewise.
38217 * misc/usleep.c: Likewise.
38218 * misc/ustat.c: Likewise.
38219 * misc/utimes.c: Likewise.
38220 * misc/vhangup.c: Likewise.
38221 * misc/writev.c: Likewise.
38222 * posix/_exit.c: Likewise.
38223 * posix/alarm.c: Likewise.
38224 * posix/execve.c: Likewise.
38225 * posix/fexecve.c: Likewise.
38226 * posix/fork.c: Likewise.
38227 * posix/fpathconf.c: Likewise.
38228 * posix/getaddrinfo.c: Likewise.
38229 * posix/getegid.c: Likewise.
38230 * posix/geteuid.c: Likewise.
38231 * posix/getgid.c: Likewise.
38232 * posix/getgroups.c: Likewise.
38233 * posix/getlogin.c: Likewise.
38234 * posix/getlogin_r.c: Likewise.
38235 * posix/getpgid.c: Likewise.
38236 * posix/getpid.c: Likewise.
38237 * posix/getppid.c: Likewise.
38238 * posix/getresgid.c: Likewise.
38239 * posix/getresuid.c: Likewise.
38240 * posix/getsid.c: Likewise.
38241 * posix/getuid.c: Likewise.
38242 * posix/glob64.c: Likewise.
38243 * posix/nanosleep.c: Likewise.
38244 * posix/pathconf.c: Likewise.
38245 * posix/pause.c: Likewise.
38246 * posix/posix_madvise.c: Likewise.
38247 * posix/pread.c: Likewise.
38248 * posix/pread64.c: Likewise.
38249 * posix/pwrite.c: Likewise.
38250 * posix/pwrite64.c: Likewise.
38251 * posix/sched_getaffinity.c: Likewise.
38252 * posix/sched_getp.c: Likewise.
38253 * posix/sched_gets.c: Likewise.
38254 * posix/sched_primax.c: Likewise.
38255 * posix/sched_primin.c: Likewise.
38256 * posix/sched_rr_gi.c: Likewise.
38257 * posix/sched_setaffinity.c: Likewise.
38258 * posix/sched_setp.c: Likewise.
38259 * posix/sched_sets.c: Likewise.
38260 * posix/sched_yield.c: Likewise.
38261 * posix/setgid.c: Likewise.
38262 * posix/setlogin.c: Likewise.
38263 * posix/setpgid.c: Likewise.
38264 * posix/setresgid.c: Likewise.
38265 * posix/setresuid.c: Likewise.
38266 * posix/setsid.c: Likewise.
38267 * posix/setuid.c: Likewise.
38268 * posix/sleep.c: Likewise.
38269 * posix/spawni.c: Likewise.
38270 * posix/sysconf.c: Likewise.
38271 * posix/times.c: Likewise.
38272 * posix/wait.c: Likewise.
38273 * posix/wait3.c: Likewise.
38274 * posix/wait4.c: Likewise.
38275 * posix/waitpid.c: Likewise.
38276 * resolv/gai_sigqueue.c: Likewise.
38277 * resource/getpriority.c: Likewise.
38278 * resource/getrlimit.c: Likewise.
38279 * resource/getrusage.c: Likewise.
38280 * resource/nice.c: Likewise.
38281 * resource/setpriority.c: Likewise.
38282 * resource/setrlimit.c: Likewise.
38283 * resource/ulimit.c: Likewise.
38284 * rt/aio_cancel.c: Likewise.
38285 * rt/aio_fsync.c: Likewise.
38286 * rt/aio_read.c: Likewise.
38287 * rt/aio_sigqueue.c: Likewise.
38288 * rt/aio_suspend.c: Likewise.
38289 * rt/aio_write.c: Likewise.
38290 * rt/clock_getres.c: Likewise.
38291 * rt/clock_gettime.c: Likewise.
38292 * rt/clock_nanosleep.c: Likewise.
38293 * rt/clock_settime.c: Likewise.
38294 * rt/lio_listio.c: Likewise.
38295 * rt/mq_close.c: Likewise.
38296 * rt/mq_getattr.c: Likewise.
38297 * rt/mq_notify.c: Likewise.
38298 * rt/mq_open.c: Likewise.
38299 * rt/mq_receive.c: Likewise.
38300 * rt/mq_send.c: Likewise.
38301 * rt/mq_setattr.c: Likewise.
38302 * rt/mq_timedreceive.c: Likewise.
38303 * rt/mq_timedsend.c: Likewise.
38304 * rt/mq_unlink.c: Likewise.
38305 * rt/shm_open.c: Likewise.
38306 * rt/shm_unlink.c: Likewise.
38307 * rt/timer_create.c: Likewise.
38308 * rt/timer_delete.c: Likewise.
38309 * rt/timer_getoverr.c: Likewise.
38310 * rt/timer_gettime.c: Likewise.
38311 * rt/timer_settime.c: Likewise.
38312 * setjmp/__longjmp.c: Likewise.
38313 * setjmp/setjmp.c: Likewise.
38314 * signal/kill.c: Likewise.
38315 * signal/killpg.c: Likewise.
38316 * signal/raise.c: Likewise.
38317 * signal/sigaction.c: Likewise.
38318 * signal/sigaltstack.c: Likewise.
38319 * signal/sigblock.c: Likewise.
38320 * signal/sigignore.c: Likewise.
38321 * signal/sigintr.c: Likewise.
38322 * signal/signal.c: Likewise.
38323 * signal/sigpause.c: Likewise.
38324 * signal/sigpending.c: Likewise.
38325 * signal/sigqueue.c: Likewise.
38326 * signal/sigreturn.c: Likewise.
38327 * signal/sigset.c: Likewise.
38328 * signal/sigsetmask.c: Likewise.
38329 * signal/sigstack.c: Likewise.
38330 * signal/sigsuspend.c: Likewise.
38331 * signal/sigtimedwait.c: Likewise.
38332 * signal/sigvec.c: Likewise.
38333 * signal/sigwait.c: Likewise.
38334 * signal/sigwaitinfo.c: Likewise.
38335 * signal/sysv_signal.c: Likewise.
38336 * socket/accept.c: Likewise.
38337 * socket/accept4.c: Likewise.
38338 * socket/bind.c: Likewise.
38339 * socket/connect.c: Likewise.
38340 * socket/getpeername.c: Likewise.
38341 * socket/getsockname.c: Likewise.
38342 * socket/getsockopt.c: Likewise.
38343 * socket/isfdtype.c: Likewise.
38344 * socket/listen.c: Likewise.
38345 * socket/recv.c: Likewise.
38346 * socket/recvfrom.c: Likewise.
38347 * socket/recvmsg.c: Likewise.
38348 * socket/send.c: Likewise.
38349 * socket/sendmsg.c: Likewise.
38350 * socket/sendto.c: Likewise.
38351 * socket/setsockopt.c: Likewise.
38352 * socket/shutdown.c: Likewise.
38353 * socket/sockatmark.c: Likewise.
38354 * socket/socket.c: Likewise.
38355 * socket/socketpair.c: Likewise.
38356 * stdio-common/ctermid.c: Likewise.
38357 * stdio-common/cuserid.c: Likewise.
38358 * stdio-common/remove.c: Likewise.
38359 * stdio-common/rename.c: Likewise.
38360 * stdio-common/renameat.c: Likewise.
38361 * stdio-common/tempname.c: Likewise.
38362 * stdlib/getcontext.c: Likewise.
38363 * stdlib/makecontext.c: Likewise.
38364 * stdlib/setcontext.c: Likewise.
38365 * stdlib/swapcontext.c: Likewise.
38366 * stdlib/system.c: Likewise.
38367 * streams/fattach.c: Likewise.
38368 * streams/fdetach.c: Likewise.
38369 * streams/getmsg.c: Likewise.
38370 * streams/getpmsg.c: Likewise.
38371 * streams/putmsg.c: Likewise.
38372 * streams/putpmsg.c: Likewise.
38373 * sysdeps/unix/bsd/getpt.c: Likewise.
38374 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38375 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38376 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38378 Likewise.
38379 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38380 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38381 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38382 * sysvipc/msgctl.c: Likewise.
38383 * sysvipc/msgget.c: Likewise.
38384 * sysvipc/msgrcv.c: Likewise.
38385 * sysvipc/msgsnd.c: Likewise.
38386 * sysvipc/semctl.c: Likewise.
38387 * sysvipc/semget.c: Likewise.
38388 * sysvipc/semop.c: Likewise.
38389 * sysvipc/semtimedop.c: Likewise.
38390 * sysvipc/shmat.c: Likewise.
38391 * sysvipc/shmctl.c: Likewise.
38392 * sysvipc/shmdt.c: Likewise.
38393 * sysvipc/shmget.c: Likewise.
38394 * termios/tcdrain.c: Likewise.
38395 * termios/tcflow.c: Likewise.
38396 * termios/tcflush.c: Likewise.
38397 * termios/tcgetattr.c: Likewise.
38398 * termios/tcgetpgrp.c: Likewise.
38399 * termios/tcsendbrk.c: Likewise.
38400 * termios/tcsetattr.c: Likewise.
38401 * termios/tcsetpgrp.c: Likewise.
38402 * time/adjtime.c: Likewise.
38403 * time/clock.c: Likewise.
38404 * time/getitimer.c: Likewise.
38405 * time/gettimeofday.c: Likewise.
38406 * time/setitimer.c: Likewise.
38407 * time/settimeofday.c: Likewise.
38408 * time/stime.c: Likewise.
38409 * time/time.c: Likewise.
38410
384112012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 38412
a20492cf
PT
38413 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38414 /usr/old/bin.
38415
72e182e3
PT
38416 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38417 instead of spaces.
38418 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38419
fbeafede
JM
384202012-11-03 Joseph Myers <joseph@codesourcery.com>
38421
5b5b04d6
JM
38422 [BZ #14796]
38423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38424 FE_TONEAREST before applying Dekker multiplication and Knuth
38425 addition. Clear inexact exceptions and check for exact zero
38426 results afterwards.
38427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38428 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38430 * math/libm-test.inc (fma_test): Add more tests.
38431 (fma_test_towardzero): Likewise.
38432 (fma_test_downward): Likewise.
38433 (fma_test_upward): Likewise.
38434 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38435 function.
38436 (libc_fesetround): New macro.
38437 (libc_fesetroundf): Likewise.
38438 (libc_fesetroundl): Likewise.
38439 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38440 function.
38441 (libc_fesetround_387): Likewise.
38442 (libc_fesetroundf): New macro.
38443 (libc_fesetround): Likewise.
38444 (libc_fesetroundl): Likewise.
38445 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38446 function.
38447 (libc_fesetroundf): New macro.
38448 (libc_fesetround): Likewise.
38449 (libc_fesetroundl): Likewise.
38450 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38451 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38452 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38453 libm_hidden_ver.
38454 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38455 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38456 libm_hidden_def.
38457 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38458 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38459 libm_hidden_ver.
38460 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38461 libm_hidden_def.
38462
fbeafede
JM
38463 [BZ #3439]
38464 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38465 integer constant usable in #if and use that to give value to enum
38466 constant.
38467 (FE_DIVBYZERO): Likewise.
38468 (FE_UNDERFLOW): Likewise.
38469 (FE_OVERFLOW): Likewise.
38470 (FE_INVALID): Likewise.
38471 (FE_INVALID_SNAN): Likewise.
38472 (FE_INVALID_ISI): Likewise.
38473 (FE_INVALID_IDI): Likewise.
38474 (FE_INVALID_ZDZ): Likewise.
38475 (FE_INVALID_IMZ): Likewise.
38476 (FE_INVALID_COMPARE): Likewise.
38477 (FE_INVALID_SOFTWARE): Likewise.
38478 (FE_INVALID_SQRT): Likewise.
38479 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38480 (FE_TONEAREST): Likewise.
38481 (FE_TOWARDZERO): Likewise.
38482 (FE_UPWARD): Likewise.
38483 (FE_DOWNWARD): Likewise.
38484 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38485 (FE_DIVBYZERO): Likewise.
38486 (FE_OVERFLOW): Likewise.
38487 (FE_UNDERFLOW): Likewise.
38488 (FE_INEXACT): Likewise.
38489 (FE_TONEAREST): Likewise.
38490 (FE_DOWNWARD): Likewise.
38491 (FE_UPWARD): Likewise.
38492 (FE_TOWARDZERO): Likewise.
38493 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38494 (FE_UNDERFLOW): Likewise.
38495 (FE_OVERFLOW): Likewise.
38496 (FE_DIVBYZERO): Likewise.
38497 (FE_INVALID): Likewise.
38498 (FE_TONEAREST): Likewise.
38499 (FE_TOWARDZERO): Likewise.
38500 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38501 (FE_OVERFLOW): Likewise.
38502 (FE_UNDERFLOW): Likewise.
38503 (FE_DIVBYZERO): Likewise.
38504 (FE_INEXACT): Likewise.
38505 (FE_TONEAREST): Likewise.
38506 (FE_TOWARDZERO): Likewise.
38507 (FE_UPWARD): Likewise.
38508 (FE_DOWNWARD): Likewise.
38509 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38510 (FE_DIVBYZERO): Likewise.
38511 (FE_OVERFLOW): Likewise.
38512 (FE_UNDERFLOW): Likewise.
38513 (FE_INEXACT): Likewise.
38514 (FE_TONEAREST): Likewise.
38515 (FE_DOWNWARD): Likewise.
38516 (FE_UPWARD): Likewise.
38517 (FE_TOWARDZERO): Likewise.
38518
105ca950
CM
385192012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38520
38521 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38522
a542b389
AS
385232012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38524
38525 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38526 commands. Quote $PWD.
38527 (blacklist_exports): Don't use remove_newlines. Replace "declare
38528 -x" by "export".
38529 (remove_newlines): Remove.
38530
f62c8abc
L
385312012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38532
38533 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38534 * stdlib/stdlib.h (atof): Moved to ...
38535 * include/bits/stdlib-float.h: Here. New file.
38536 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38537 * stdlib/bits/stdlib-float.h: New file.
38538 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38539 -mno-sse -mno-mmx.
38540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38541 <xmmintrin.h>.
38542
0155d5b2
JM
385432012-11-02 Joseph Myers <joseph@codesourcery.com>
38544
a68d0680
JM
38545 * conform/conformtest.pl (@headers): Add fenv.h.
38546 * conform/data/fenv.h-data: New file.
38547 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38548 include of <math/fenv.h>.
38549
caf7f573
JM
38550 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38551 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38552 && !UNIX98]. Enables tests for XOPEN2K8.
38553 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38554 POSIX2008]: Likewise.
38555
6c073ad6
JM
38556 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38557 (struct rusage): Do not expect type or its members.
38558
0155d5b2
JM
38559 [BZ #3439]
38560 * math/math.h (FP_NAN): Define macro to integer constant usable in
38561 #if and use that to give value to enum constant.
38562 (FP_INFINITE): Likewise.
38563 (FP_ZERO): Likewise.
38564 (FP_SUBNORMAL): Likewise.
38565 (FP_NORMAL): Likewise.
38566
b5dcacb4
AS
385672012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38568
38569 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38570 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38571 arguments.
38572
f7934be8
RM
385732012-11-02 Roland McGrath <roland@hack.frob.com>
38574
38575 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38576 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38577 autoconf-time if not.
38578 * configure.in: Remove AC_PREREQ.
38579
d7d08bde
TMQMF
385802012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38581
38582 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38583 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38584 of the internal implementation.
38585
dcdae19a
JM
385862012-11-02 Joseph Myers <joseph@codesourcery.com>
38587
38588 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38589 except include of <misc/sys/syslog.h>.
38590
d6cffd3e
AS
385912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38592
38593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38594 function returns with a NULL context exit with zero.
38595
b3563932
TMQMF
385962012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38597
38598 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38599
b288a93d
L
386002012-11-01 H.J. Lu <hongjiu.lu@intel.com>
38601
38602 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38603 (run_program_cmd): This.
38604 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38605 (tst_langinfo): New variable. Use it.
38606
a2421a68
SAS
386072012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
38608
38609 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38610 floating point opcodes.
38611
6f796e1b
TS
386122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38613
7402596b
TS
38614 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38615 variable.
38616
d0d4f868
TS
38617 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38618
6f796e1b
TS
38619 * sysdeps/mach/hurd/powerpc: Remove directory.
38620 * sysdeps/mach/powerpc: Likewise.
38621
4da224a2
AS
386222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38623
38624 * scripts/check-local-headers.sh: Ignore c++ headers.
38625
341dd673
TS
386262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38627
38628 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38629 __libc_cleanup_region_start argument.
38630
473611b2
JM
386312012-11-01 Joseph Myers <joseph@codesourcery.com>
38632
38633 [BZ #14784]
38634 [BZ #14785]
38635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38636 x * y using scaling, not as x * y + z.
38637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38639 * math/libm-test.inc (fma_test): Add more tests.
38640 (fma_test_towardzero): Likewise.
38641 (fma_test_downward): Likewise.
38642 (fma_test_upward): Likewise.
38643
4078da3d
TS
386442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38645
38646 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38647
903252aa
JM
386482012-10-31 Joseph Myers <joseph@codesourcery.com>
38649
38650 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38651 New variable.
38652
cbc818d0
TS
386532012-10-31 Thomas Schwinge <thomas@codesourcery.com>
38654
38655 * rt/tst-shm.c (worker): Correct checking for mmap failure.
38656
5a03cb1e
AS
386572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38658
38659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38660 Fix sort order.
38661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38662 Likewise.
38663
90aff2ff
TMQMF
386642012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38665
38666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38667 Fix the order of the list for glibc 2.17.
38668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38669 Likewise.
38670
1818fcb7
AS
386712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38672
38673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38674
ef82f4da
JM
386752012-10-31 Joseph Myers <joseph@codesourcery.com>
38676
16a0e2ec
JM
38677 [BZ #14610]
38678 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38679 for low part of x being zero before using __atanl (y).
38680 * math/libm-test.inc (atan2_test): Add another test.
38681
0eb69512
JM
38682 * manual/install.texi (Configuring and compiling): Document
38683 general use of test-wrapper and test-wrapper-env.
38684 * INSTALL: Regenerated.
38685
ef82f4da
JM
38686 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38687 (__fma): Do not extract and scale down low bits on after-rounding
38688 systems when result rounded to normal precision would have normal
38689 exponent.
38690 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38691 (__fmal): Do not extract and scale down low bits on after-rounding
38692 systems when result rounded to normal precision would have normal
38693 exponent.
38694 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38695 (__fmal): Do not extract and scale down low bits on after-rounding
38696 systems when result rounded to normal precision would have normal
38697 exponent.
38698 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38699 macro.
38700 (fma_test): Add more tests.
38701 (fma_test_towardzero): Likewise.
38702 (fma_test_downward): Likewise.
38703 (fma_test_upward): Likewise.
38704
954ef0d9
L
387052012-10-30 H.J. Lu <hongjiu.lu@intel.com>
38706
38707 * sysdeps/i386/tininess.h: Renamed to ...
38708 * sysdeps/x86/tininess.h: This.
38709 * sysdeps/x86_64/tininess.h: Removed.
38710
df61ffb2
JM
387112012-10-30 Joseph Myers <joseph@codesourcery.com>
38712
38713 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38714 input. Use $(build-program-cmd).
38715 ($(objpfx)tst-array1-static.out): Likewise.
38716 ($(objpfx)tst-array2.out): Likewise.
38717 ($(objpfx)tst-array3.out): Likewise.
38718 ($(objpfx)tst-array4.out): Likewise.
38719 ($(objpfx)tst-array5.out): Likewise.
38720 ($(objpfx)tst-array5-static.out): Likewise.
38721
01767843
CM
387222012-10-30 Chris Metcalf <cmetcalf@tilera.com>
38723
47cc1490
CM
38724 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38725 if defined.
38726
01767843
CM
38727 * nss/nsswitch.h (nss_interface_function): Provide new
38728 macro for use with NSS functions.
38729 * grp/initgroups.c: Use new macro.
38730 * nss/getXXbyYY.c: Likewise.
38731 * nss/getXXbyYY_r.c: Likewise.
38732 * nss/getXXent.c: Likewise.
38733 * nss/getXXent_r.c: Likewise.
38734 * sysdeps/posix/getaddrinfo.c: Likewise.
38735
8321aa97
AJ
387362012-10-30 Andreas Jaeger <aj@suse.de>
38737
38738 * po/ru.po: Update Russion translation from translation project.
38739
2a27fd6d
JM
387402012-10-30 Joseph Myers <joseph@codesourcery.com>
38741
8627a232
JM
38742 [BZ #14152]
38743 [BZ #14783]
38744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38745 result and shift together with sticky bit instead of replicating
38746 round-to-nearest rounding.
38747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38749 * math/libm-test.inc (fma_test): Add more tests. Do not permit
38750 missing underflow exceptions.
38751 (fma_test_towardzero): Add more tests.
38752 (fma_test_downward): Likewise.
38753 (fma_test_upward): Likewise.
38754
2a27fd6d
JM
38755 [BZ #14047]
38756 * sysdeps/generic/tininess.h: New file.
38757 * sysdeps/i386/tininess.h: Likewise.
38758 * sysdeps/sh/tininess.h: Likewise.
38759 * sysdeps/x86_64/tininess.h: Likewise.
38760 * stdlib/tst-strtod-underflow.c: Likewise.
38761 * stdlib/tst-tininess.c: Likewise.
38762 * stdlib/strtod_l.c: Include <tininess.h>.
38763 (round_and_return): Do not set errno for exact underflow cases.
38764 Force an underflow exception when setting errno for underflow.
38765 Determine underflow based on rounding to normal precision if
38766 TININESS_AFTER_ROUNDING.
38767 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38768 ERANGE for exact underflow cases.
38769 * stdlib/Makefile (tests): Add tst-tininess and
38770 tst-strtod-underflow.
38771 ($(objpfx)tst-tininess): Use $(link-libm).
38772 ($(objpfx)tst-strtod-underflow): Likewise.
38773
e7170363
AJ
387742012-10-30 Andreas Jaeger <aj@suse.de>
38775
e5088dc6
AJ
38776 [BZ#14767]
38777 * elf/Makefile (tests): Remove conditional for have-initfini-array
38778 since this is now always required and the variable does not exist
38779 anymore.
38780 (tests-static): Likewise.
38781 (modules-names): Likewise.
38782
e7170363 38783 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
38784
38785 * elf/tst-array1.c (fini_array): Make writeable so that it can be
38786 merged with constructor/destructor.
38787 (init_array): Likewise.
38788 * elf/tst-array2dep.c (fini_array): Likewise.
38789 (init_array): Likewise.
38790
60457d8a
MF
387912012-10-29 Mike Frysinger <vapier@gentoo.org>
38792
38793 * manual/message.texi: Delete @cartouche tags.
38794
8bece752
PT
387952012-10-29 Pino Toscano <toscano.pino@tiscali.it>
38796
94ce799f
PT
38797 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38798 EOPNOTSUPP.
38799 * sysdeps/mach/hurd/fsync.c: Likewise.
38800
8bece752
PT
38801 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38802 [_POSIX_REALTIME_SIGNALS]: Change condition to
38803 [_POSIX_REALTIME_SIGNALS > 0].
38804
86ebe6b1
AJ
388052012-10-27 Andreas Jaeger <aj@suse.de>
38806
38807 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38808 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38810 [__WORDSIZE != 64]: Likewise.
38811
54399c08
L
388122012-10-26 H.J. Lu <hongjiu.lu@intel.com>
38813
38814 * iconvdata/tst-table.sh: Remove ${SHELL}.
38815 * iconvdata/tst-tables.sh: Likewise.
38816
e2211bed
DM
388172012-10-25 David S. Miller <davem@davemloft.net>
38818
38819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38820 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38821 of strtoull.
38822
f303f97c
DM
38823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38824 ifunc-impl-list.c
38825 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38826 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38827 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38828 file.
38829
1e9d84cd
RM
388302012-10-25 Roland McGrath <roland@hack.frob.com>
38831
38832 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38833 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38834 __getdirentries.
38835
df381762
JM
388362012-10-25 Joseph Myers <joseph@codesourcery.com>
38837 Jim Blandy <jimb@codesourcery.com>
38838
38839 * scripts/cross-test-ssh.sh: New file.
38840 * manual/install.texi (Configuring and compiling): Document use of
38841 cross-test-ssh.sh.
38842 * INSTALL: Regenerated.
38843
bff64913
PT
388442012-10-25 Pino Toscano <toscano.pino@tiscali.it>
38845
38846 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38847 EOPNOTSUPP.
38848
25fe8932
JM
388492012-10-25 Joseph Myers <joseph@codesourcery.com>
38850
38851 * Makeconfig (run-program-prefix): Fix comment.
38852
cc1290d0
JM
388532012-10-24 Joseph Myers <joseph@codesourcery.com>
38854 Jim Blandy <jimb@codesourcery.com>
38855
38856 * Makeconfig (test-wrapper): New variable,
38857 (test-wrapper-env): Likewise.
38858 [$(cross-compiling) = yes && $(test-wrapper) != ""]
38859 (run-built-tests): Define to yes.
38860 (run-program-prefix): Use $(test-wrapper).
38861 (built-program-cmd): Likewise.
38862 * Rules (make-test-out): Use $(test-wrapper-env) and
38863 $(host-built-program-cmd).
38864 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38865 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38866 tst-pathopt.sh.
38867 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38868 $(test-wrapper-env) to tst-rtld-load-self.sh.
38869 ($(objpfx)order2.out): Use $(test-wrapper).
38870 ($(objpfx)tst-initorder.out): Likewise.
38871 ($(objpfx)tst-initorder2.out): Likewise.
38872 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38873 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38874 (test_wrapper_env): New variable. Use it to run ld.so.
38875 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38876 Use it to run ld.so.
38877 (test_wrapper_env): Likewise.
38878 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38879 $(test-wrapper) to run-iconv-test.sh.
38880 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38881 (ICONV): Use $test_wrapper.
38882 * posix/Makefile ($(objpfx)globtest.out): Pass
38883 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38884 globtest.sh, not $(run-program-prefix).
38885 * posix/globtest.sh (run_via_rtld_prefix): New variable.
38886 (test_wrapper): Likewise.
38887 (test_wrapper_env): Likewise. Use it to run globtest with HOME
38888 set together with run_via_rtld_prefix.
38889 (run_program_prefix): Define in terms of test_wrapper and
38890 run_via_rtld_prefix.
38891
6e6249d0
RM
388922012-10-24 Roland McGrath <roland@hack.frob.com>
38893
38894 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38895 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38896 Targets removed.
38897
38898 [BZ #14743]
38899 * include/time.h: Remove librt_hidden_proto (clock_gettime).
38900 Declare __clock_getres, __clock_gettime, __clock_settime,
38901 __clock_nanosleep, and __clock_getcpuclockid.
38902 * rt/clock_gettime.c: Define __clock_gettime as an alias.
38903 Remove librt_hidden_def (clock_gettime).
38904 * sysdeps/unix/clock_gettime.c: Likewise.
38905 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38907 * rt/clock_getres.c: Define __clock_getres as an alias.
38908 * sysdeps/posix/clock_getres.c: Likewise.
38909 * rt/clock_settime.c: Define __clock_settime as an alias.
38910 * sysdeps/unix/clock_settime.c: Likewise.
38911 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38912 * sysdeps/unix/clock_nanosleep.c: Likewise.
38913 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38914 * rt/clock-compat.c: New file.
38915 * rt/Makefile (librt-routines): Add clock-compat and move
38916 $(clock-routines) to ...
38917 (routines): ... here, new variable.
38918 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38919 Don't add get_clockfreq here.
38920 * rt/Versions (libc: GLIBC_2.17): New version set.
38921 Add clock_* symbols here.
38922 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
38923 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38924 (GLIBC_2.17): Add clock_* symbols.
38925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38929 Likewise.
38930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38931 Likewise.
38932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38936 * NEWS: Mention the move.
38937
38938 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38939 Use __open, __read, __close rather than their public counterparts.
38940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38941 (__get_clockfreq_via_cpuinfo): Likewise.
38942 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38943 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38944
38945 * config.h.in (HAVE_IFUNC): New #undef.
38946 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38947 was successful.
38948 * configure: Regenerated.
38949
0cae3f4b
MF
389502012-10-24 Mike Frysinger <vapier@gentoo.org>
38951
38952 * configure.in: Move READELF check to start of file.
38953 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38954 libc_cv_asm_gnu_indirect_function in the process.
38955 * configure: Regenerated.
38956
8175a253
MF
389572012-10-24 Mike Frysinger <vapier@gentoo.org>
38958
38959 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38960 send the output to /dev/null.
38961 (libc_cv_cc_with_libunwind): Likewise.
38962 (libc_cv_as_noexecstack): Likewise.
38963 * configure: Regenerate.
38964
0708a7d1
JM
389652012-10-24 Joseph Myers <joseph@codesourcery.com>
38966
10b40d85
JM
38967 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38968
0708a7d1
JM
38969 * posix/globtest.sh (TMPDIR): Do not set.
38970 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38971 (testout): Likewise.
38972
9fddec1a
AJ
389732012-10-24 Andreas Jaeger <aj@suse.de>
38974
3a8db22f
AJ
38975 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38976 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38977 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38978 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38979 posix_fadvise64, posix_fallocate64.
38980
9fddec1a
AJ
38981 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38982 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38983 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38984 Likewise.
38985 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38986 Likewise.
38987 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38988
38989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38990 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38991 <bits/fcntl-linux.h>.
38992 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38993
38994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38995 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38996 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38997 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38998 [__WORDSIZE != 64]: Likewise.
38999
ebfd1bbd
JM
390002012-10-23 Joseph Myers <joseph@codesourcery.com>
39001
03ac099f
JM
39002 * Makeconfig (run-built-tests): New variable.
39003 * Rules [$(cross-compiling) = yes]: Change condition to
39004 [$(run-built-tests) = no].
39005 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39006 to [$(run-built-tests) = yes].
39007 * elf/Makefile [$(cross-compiling) = no]: Likewise
39008 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39009 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39010 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39011 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39012 * io/Makefile [$(cross-compiling) = no]: Likewise.
39013 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39014 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39015 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39016 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39017 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39018 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39019 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39020 * string/Makefile [$(cross-compiling) = no]: Likewise.
39021
ebfd1bbd
JM
39022 * posix/Makefile ($(objpfx)globtest.out): Pass
39023 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39024 $(rtld-installed-name).
39025 * posix/globtest.sh (elf_objpfx): Remove variable.
39026 (rtld_installed_name): Likewise.
39027 (library_path): Likewise.
39028 (run_program_prefix): New variable. Use for running globtest
39029 binary.
39030
166bca24
JB
390312012-10-23 Jim Blandy <jimb@codesourcery.com>
39032 Joseph Myers <joseph@codesourcery.com>
39033
39034 * Makeconfig (host-built-program-cmd): New variable.
39035 * elf/Makefile (tst-stackguard1-ARGS): Use
39036 $(host-built-program-cmd).
39037 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39038 (tst-spawn-ARGS): Likewise.
39039 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39040
88866099
JM
390412012-10-23 Joseph Myers <joseph@codesourcery.com>
39042 Jim Blandy <jimb@codesourcery.com>
39043
39044 * Makeconfig (run-via-rtld-prefix): New variable.
39045 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39046 (built-program-cmd): Likewise.
39047
b4b4c296
AJ
390482012-10-22 Andreas Jaeger <aj@suse.de>
39049
39050 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39051 __O_RSYNC if it exists, otherwise to O_SYNC.
39052
6fb54a22
JB
390532012-10-22 Jim Blandy <jimb@codesourcery.com>
39054 Joseph Myers <joseph@codesourcery.com>
39055
39056 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39057 /dev/null.
39058 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39059 from /dev/null
39060 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39061 /dev/null.
39062
481b90b9
AJ
390632012-10-22 Andreas Jaeger <aj@suse.de>
39064
2a0e2669
AJ
39065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39066 Define always.
39067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39068
76e38f9a
AJ
39069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39070 bits/fcntl-linux.h.
39071
7cd37b43
AJ
39072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39073 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39074
481b90b9
AJ
39075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39076 to __O_LARGEFILE.
39077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39078 to __O_LARGEFILE.
39079
aba75984
JB
390802012-10-21 Jim Blandy <jimb@codesourcery.com>
39081 Joseph Myers <joseph@codesourcery.com>
39082
39083 * config.make.in (NM): New variable.
39084
88d4247f
AJ
390852012-10-21 Andreas Jaeger <aj@suse.de>
39086
39087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39088 definitions and declarations that are provided by
39089 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39090
f2eed205
L
390912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39092
39093 [BZ #14683]
39094 * elf/Makefile (tests-static): Add tst-leaks1-static.
39095 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39096 ($(objpfx)tst-leaks1-static): New rule.
39097 ($(objpfx)tst-leaks1-static-mem): Likewise.
39098 (tst-leaks1-static-ENV): New macro.
39099 * elf/dl-open.c (dl_open_worker): Check the main application
39100 only if SHARED is defined.
39101 * elf/tst-leaks1-static.c: New file.
39102
335e6931
AJ
391032012-10-20 Andreas Jaeger <aj@suse.de>
39104
39105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39106 generic values for Linux.
39107 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39108 and declarations that are provided by <bits/fcntl-linux.h> and
39109 include <bits/fcntl-linux.h>.
39110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39112
ac5c94d3
RM
391132012-10-20 Roland McGrath <roland@hack.frob.com>
39114
39115 * io/fcntl.h: Move include of <bits/types.h> to the top and
39116 include it unconditionally.
39117
de54b33a
L
391182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39119
228cfb01
L
39120 * wcsmbs/Makefile (tests-ifunc): New variable.
39121 (tests): Add $(tests-ifunc).
39122 * wcsmbs/test-wcschr-ifunc.c: New file.
39123 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39124 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39125 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39126 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39127 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39128
69f07e5f
L
39129 * string/Makefile (tests-ifunc): New variable.
39130 (tests): Add $(tests-ifunc).
39131 * string/test-memccpy.c (TEST_NAME): New macro.
39132 * string/test-memchr.c (TEST_NAME): Likewise.
39133 * string/test-memcmp.c (TEST_NAME): Likewise.
39134 * string/test-memcpy.c (TEST_NAME): Likewise.
39135 * string/test-memmem.c (TEST_NAME): Likewise.
39136 * string/test-memmove.c (TEST_NAME): Likewise.
39137 * string/test-memset.c (TEST_NAME): Likewise.
39138 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39139 * string/test-stpcpy.c (TEST_NAME): Likewise.
39140 * string/test-stpncpy.c (TEST_NAME): Likewise.
39141 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39142 * string/test-strcasestr.c (TEST_NAME): Likewise.
39143 * string/test-strcat.c (TEST_NAME): Likewise.
39144 * string/test-strchr.c (TEST_NAME): Likewise.
39145 * string/test-strcmp.c(TEST_NAME): Likewise.
39146 * string/test-strcpy.c (TEST_NAME): Likewise.
39147 * string/test-strcspn.c (TEST_NAME): Likewise.
39148 * string/test-strlen.c (TEST_NAME): Likewise.
39149 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39150 * string/test-strncmp.c (TEST_NAME): Likewise.
39151 * string/test-strncpy.c (TEST_NAME): Likewise.
39152 * string/test-strnlen.c (TEST_NAME): Likewise.
39153 * string/test-strpbrk.c (TEST_NAME): Likewise.
39154 * string/test-strrchr.c (TEST_NAME): Likewise.
39155 * string/test-strspn.c (TEST_NAME): Likewise.
39156 * string/test-strstr.c (TEST_NAME): Likewise.
39157 * string/test-bcopy-ifunc.c: New file.
39158 * string/test-bzero-ifunc.c: Likewise.
39159 * string/test-memccpy-ifunc.c: Likewise.
39160 * string/test-memchr-ifunc.c: Likewise.
39161 * string/test-memcmp-ifunc.c: Likewise.
39162 * string/test-memcpy-ifunc.c: Likewise.
39163 * string/test-memmem-ifunc.c: Likewise.
39164 * string/test-memmove-ifunc.c: Likewise.
39165 * string/test-mempcpy-ifunc.c: Likewise.
39166 * string/test-memset-ifunc.c: Likewise.
39167 * string/test-rawmemchr-ifunc.c: Likewise.
39168 * string/test-stpcpy-ifunc.c: Likewise.
39169 * string/test-stpncpy-ifunc.c: Likewise.
39170 * string/test-strcasecmp-ifunc.c: Likewise.
39171 * string/test-strcasestr-ifunc.c: Likewise.
39172 * string/test-strcat-ifunc.c: Likewise.
39173 * string/test-strchr-ifunc.c: Likewise.
39174 * string/test-strchrnul-ifunc.c: Likewise.
39175 * string/test-strcmp-ifunc.c: Likewise.
39176 * string/test-strcpy-ifunc.c: Likewise.
39177 * string/test-strcspn-ifunc.c: Likewise.
39178 * string/test-strlen-ifunc.c: Likewise.
39179 * string/test-strncasecmp-ifunc.c: Likewise.
39180 * string/test-strncat-ifunc.c: Likewise.
39181 * string/test-strncmp-ifunc.c: Likewise.
39182 * string/test-strncpy-ifunc.c: Likewise.
39183 * string/test-strnlen-ifunc.c: Likewise.
39184 * string/test-strpbrk-ifunc.c: Likewise.
39185 * string/test-strrchr-ifunc.c: Likewise.
39186 * string/test-strspn-ifunc.c: Likewise.
39187 * string/test-strstr-ifunc.c: Likewise.
39188
de54b33a
L
39189 * debug/Makefile (tests-ifunc): New variable.
39190 (tests): Add $(tests-ifunc).
39191 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39192 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39193 * debug/test-stpcpy_chk-ifunc.c: New file.
39194 * debug/test-strcpy_chk-ifunc.c: Likewise.
39195
88481c16
SP
391962012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39197
39198 [BZ #13601]
39199 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39200 header is not read in.
39201
135948bd
JM
392022012-10-19 Joseph Myers <joseph@codesourcery.com>
39203
89f1c388
JM
39204 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39205 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39206 directly. Pass built executable to script as
39207 $(built-program-cmd).
39208 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39209 $testprogram without using LD_LIBRARY_PATH and $ldso.
39210
e40a0d21
JM
39211 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39212 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39213 $(rtld-installed-name).
39214 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39215 (rtld_installed_name): Likewise.
39216 (library_path): Likewise.
39217 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39218 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39219 $(run-program-prefix) to tst-tables.sh.
39220 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39221 it to run tst-table-from and tst-table-to.
39222 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39223 Pass it to tst-table.sh.
39224 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39225 $(run-program-prefix) to tst-gettext.sh.
39226 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39227 tst-translit.sh.
39228 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39229 tst-gettext2.sh.
39230 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39231 to run tst-gettext.
39232 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39233 to run tst-gettext2.
39234 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39235 to run tst-translit.
39236 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39237 $(run-program-prefix) to tst-mtrace.sh.
39238 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39239 to run tst-mtrace.
39240 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39241 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39242 $(rtld-installed-name).
39243 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39244 (rtld_installed_name): Likewise.
39245 (run_program_prefix): New variable. Use it to run wordexp-test.
39246
728e272a
JM
39247 * Makeconfig (ARCH): Remove all definitions.
39248 (machine): Likewise.
39249 [ARCH]: Remove conditional code.
39250 [!objdir]: Give error.
39251 [!objdir] (objpfx): Remove.
39252 [!objdir] (common-objpfx): Likewise.
39253 [!objdir] (common-objdir): Likewise.
39254 * configure.in (config_makefile): Remove. Hardcode Makefile in
39255 AC_CONFIG_FILES call.
39256 * configure: Regenerated.
39257
d528cdcf
JM
39258 [BZ #13888]
39259 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39260 or TMPDIR.
39261 (testout): Likewise.
39262
135948bd
JM
39263 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39264 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39265 $(rtld-installed-name).
39266 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39267 (rtld_installed_name): Likwise.
39268 (runit): Remove function.
39269 (run_getconf): New variable, Use it for running getconf binary.
39270
38c78296
L
392712012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39272
39273 [BZ #14716]
39274 * string/test-memmem.c (check_result): New function.
39275 (do_one_test): Use it.
39276 (check1): New function.
39277 (test_main): Use it.
39278
d077f65f
MT
392792012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39280
39281 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39282
ced52c71
JM
392832012-10-18 Joseph Myers <joseph@codesourcery.com>
39284
39285 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39286 (_G_LSEEK64): Likewise.
39287 (_G_MMAP64): Likewise.
39288 (_G_FSTAT64): Likewise.
39289 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39290 (_G_LSEEK64): Likewise.
39291 (_G_MMAP64): Likewise.
39292 (_G_FSTAT64): Likewise.
39293 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39294 unconditional. Call __mmap64 directly.
39295 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39296 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39297 __lseek64 directly.
39298 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39299 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39300 __mmap64 directly.
39301 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39302 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39303 __lseek64 directly.
39304 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39305 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39306 __lseek64 directly.
39307 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39308 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39309 __lseek64 directly.
39310 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39311 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39312 __fxstat64 directly.
39313 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39314 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39315 unconditional.
39316 (freopen64) [!_G_OPEN64]: Remove conditional code.
39317 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39318 unconditional.
39319 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39320 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39321 unconditional.
39322 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39323 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39324 unconditional.
39325 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39326 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39327 unconditional.
39328 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39329 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39330 unconditional.
39331 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39332 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39333 unconditional.
39334 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39335 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39336 unconditional.
39337 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39338
b741de23
SP
393392012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39340
39341 [BZ #12140]
39342 * manual/memory.texi (Malloc Tunable Parameters): Add note
39343 about free list pointers overwriting some perturb bytes.
39344 Wording suggested by Roland McGrath.
39345
f9b9d9c9
JM
393462012-10-17 Joseph Myers <joseph@codesourcery.com>
39347
39348 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39349 (lgamma_test): Likewise.
39350 (tgamma_test): Likewise.
39351
172a631a
FW
393522012-10-16 Florian Weimer <fweimer@redhat.com>
39353
39354 [BZ #14700]
39355 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39356 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39357
e9f37252
MK
393582012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39359
39360 * NEWS: Mention BZ #14716.
39361 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39362 when removing AVAILABLE1_USES_J macro.
39363
d394eb74
L
393642012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39365
39366 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39367 (__bswap_64): __uint64_t for unsigned 64-bit int.
39368
ca38dc17
AS
393692012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39370
39371 * include/string.h (memmem): Declare libc hidden alias.
39372 * string/memmem.c (memmem): Define libc hidden alias.
39373 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39374 __read, __close instead of open, read, close.
39375
9a387d1f
L
393762012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39377
ac49ecaf
L
39378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39379 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39380 global and hidden.
39381 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39382 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39383 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39384 Likewise.
39385 (__rawmemchr_sse2): Likewise.
39386 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39387 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39388 (__strchr_sse2): Likewise.
39389 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39390 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39391 (__strcasecmp_sse2): Likewise.
39392 (__strncasecmp_sse2): Likewise.
39393 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39394 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39395 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39396 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39397 (__strrchr_sse2): Likewise.
39398 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39399 ifunc-impl-list.c.
39400 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39401 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39402 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39403 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39404 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39405 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39406 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39407 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39408 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39409 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39410 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39411 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39412 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39413 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39414 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39415 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39416 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39417 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39418 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39419 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39420 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39421 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39422 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39423 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39424 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39425 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39426 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39427 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39428 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39429 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39430
b090e8ea
L
39431 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39432 global and hidden.
39433 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39434 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39435 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39436 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39437 Likewise.
39438 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39439 Likewise.
39440 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39441 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39442 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39443 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39444 ifunc-impl-list.c.
39445 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39446 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39447 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39448 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39449 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39450 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39451 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39452 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39453 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39454 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39455 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39456 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39457 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39458 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39459 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39460 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39461 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39462 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39463 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39464 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39465 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39466 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39467 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39468 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39469 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39470 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39471 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39472 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39473 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39474 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39475 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39476 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39477 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39478 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39479 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39480 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39481 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39482 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39483 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39484 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39485 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39486
11dd4af6
L
39487 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39488 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39489 * include/ifunc-impl-list.h: New file.
39490 * misc/ifunc-impl-list.c: Likewise.
39491 * misc/Makefile (routines): Add ifunc-impl-list.
39492 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39493 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
39494 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39495 TEST_NAME]: New variables.
11dd4af6
L
39496 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39497 are defined.
39498 (test_init): Call __libc_ifunc_impl_list to initialize
39499 func_list if TEST_IFUNC and TEST_NAME are defined.
39500
9a387d1f
L
39501 * string/Makefile (strop-tests): Add bcopy and bzero.
39502 * string/test-bcopy.c: New file.
39503 * string/test-bzero.c: Likewise.
39504 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39505 defined.
39506 * string/test-memset.c: Support bzero test if TEST_BZERO is
39507 defined.
39508 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39509 __libc_memmove.
39510 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39511 __libc_memset.
39512 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39513 of memset.
39514
472371b9
JM
395152012-10-10 Joseph Myers <joseph@codesourcery.com>
39516
1e4a9536
JM
39517 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39518 * configure: Regenerated.
39519
d173d12e
JM
39520 * Makeconfig (+link-static-before-libc): Don't include
39521 $(link-static-libc).
39522
472371b9
JM
39523 * libio/libio.h (_IO_pos_t): Remove.
39524
89a3ad0b
AO
395252012-10-10 Alexandre Oliva <aoliva@redhat.com>
39526
39527 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39528 McGrath.
39529
e7451425
AO
395302012-10-10 Alexandre Oliva <aoliva@redhat.com>
39531
39532 * crypt/crypt-entry.c: Include fips-private.h.
39533 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39534 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39535 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39536 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39537
4ba74a35
AO
395382012-10-10 Alexandre Oliva <aoliva@redhat.com>
39539
39540 * crypt/crypt-private.h: Include stdbool.h.
39541 (_ufc_setup_salt_r): Return bool.
39542 * crypt/crypt-entry.c: Include errno.h.
39543 (__crypt_r): Return NULL with EINVAL for bad salt.
39544 * crypt/crypt_util.c (bad_for_salt): New.
39545 (_ufc_setup_salt_r): Check that salt is long enough and within
39546 the specified alphabet.
39547 * crypt/badsalttest.c: New file.
39548 * crypt/Makefile (tests): Add it.
39549 ($(objpfx)badsalttest): New.
39550
f96f1242
MK
395512012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39552
39553 * NEWS: Add entry for BZ #14602.
39554
0e8e0c1c
JM
395552012-10-09 Joseph Myers <joseph@codesourcery.com>
39556
39557 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39558 type-generic.
39559 * math/libm-test.inc: Update comment listing what functions and
39560 macros are tested.
39561 (isgreater_test): New function.
39562 (isgreaterequal_test): Likewise.
39563 (isless_test): Likewise.
39564 (islessequal_test): Likewise.
39565 (islessgreater_test): Likewise.
39566 (isunordered_test): Likewise.
39567 (main): Call the new functions.
39568
273edc5e
RM
395692012-10-09 Roland McGrath <roland@hack.frob.com>
39570
b8493de0
RM
39571 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39572 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39573 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39574 * sysdeps/i386/configure: Regenerated.
39575 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39576 * sysdeps/mach/configure: Regenerated.
39577 * sysdeps/mach/hurd/configure: Regenerated.
39578 * sysdeps/powerpc/configure: Regenerated.
39579 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39580 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39581 * sysdeps/s390/s390-32/configure: Regenerated.
39582 * sysdeps/s390/s390-64/configure: Regenerated.
39583 * sysdeps/sh/configure: Regenerated.
39584 * sysdeps/sparc/configure: Regenerated.
39585 * sysdeps/unix/sysv/linux/configure: Regenerated.
39586 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39587 * sysdeps/x86_64/configure: Regenerated.
39588
273edc5e
RM
39589 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39590 defined. Don't check if MAP is NULL.
39591
c8450f70
JM
395922012-10-09 Joseph Myers <joseph@codesourcery.com>
39593
39594 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39595 (_G_stat64): Likewise.
39596 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39597 (_G_stat64): Likewise.
39598 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39599 instead of struct _G_stat64.
39600 * libio/fileops.c (mmap_remap_check): Likewise.
39601 (decide_maybe_mmap): Likewise.
39602 (_IO_new_file_seekoff): Likewise.
39603 (_IO_file_stat): Likewise.
39604 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39605 _G_off64_t.
39606 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39607 instead of struct _G_stat64.
39608 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39609
57e605ba
MK
396102012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
39611
39612 [BZ #14602]
39613 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39614 Replace with ...
39615 (CHECK_EOL): New macro.
39616 (two_way_short_needle): Check beginning of haystack for EOL. Use
39617 CHECK_EOL.
39618 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39619 Replace with CHECK_EOL.
39620 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39621 Replace with CHECK_EOL.
39622
ef1bb361
JM
396232012-10-08 Joseph Myers <joseph@codesourcery.com>
39624
39625 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39626 type-generic.
39627 * math/libm-test.inc: Update comment listing what functions and
39628 macros are tested.
39629 (finite_test): New function.
39630 (isinf_test): Likewise.
39631 (isnan_test): Likewise.
39632 (fpclassify_test): Test subnormal input.
39633 (isfinite_test): Likewise.
39634 (isnormal_test): Likewise.
39635 (main): Call the new functions.
39636
55f11534
JN
396372012-10-08 Jonathan Nieder <jrnieder@gmail.com>
39638
39639 [BZ #14660]
39640 * Makerules (%.dynsym): Force C locale when running
39641 $(OBJDUMP) --dynamic-syms.
39642
1ab29350
AS
396432012-10-08 Andreas Schwab <schwab@linux-m68k.org>
39644
39645 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39646 <stdint.h>.
39647
f1ecb7ef
DM
396482012-10-06 David S. Miller <davem@davemloft.net>
39649
39650 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39651 upper 32-bits of the length value in %o2 since we use branch-on-register
39652 tests which consider the entire 64-bit register.
39653
5d41d91a
L
396542012-10-06 H.J. Lu <hongjiu.lu@intel.com>
39655
39656 * string/test-strstr.c (check2): Add a test for page boundary.
39657
3baddb72
DM
396582012-10-05 David S. Miller <davem@davemloft.net>
39659
39660 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39661 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39662 file.
39663 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39664 sysdep_routines.
39665 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39666 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39667 and bzero when HWCAP_SPARC_CRYPTO is present.
39668
9cee5585
L
396692012-10-05 H.J. Lu <hongjiu.lu@intel.com>
39670
d7e0dab9
L
39671 [BZ #14602]
39672 * string/test-strstr.c (check2): New function.
39673 (test_main): Call check2.
39674
03759f47
L
39675 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39676 and bug-strchr1.
39677 * string/bug-strcasestr1.c (do_test): Moved to ...
39678 * string/test-strcasestr.c (check1): Here. New function.
39679 (do_one_test): Break out result checking code into ...
39680 (check_result): This. New function.
39681 (do_one_test): Call check_result.
39682 (test_main): Call check1.
39683 * string/bug-strchr1.c (do_test): Moved to ...
39684 * string/test-strchr.c (check1): Here. New function.
39685 (do_one_test): Break out result checking code into ...
39686 (check_result): This. New function.
39687 (do_one_test): Call check_result.
39688 (test_main): Call check1.
39689 * string/bug-strstr1.c (main): Moved to ...
046f153e 39690 * string/test-strstr.c (check1): Here. New function.
03759f47
L
39691 (do_one_test): Break out result checking code into ...
39692 (check_result): This. New function.
39693 (do_one_test): Call check_result.
39694 (test_main): Call check1.
39695 * string/bug-strcasestr1.c: Removed.
39696 * string/bug-strchr1.c: Likewise.
39697 * string/bug-strstr1.c: Likewise.
39698
53cea63e
L
39699 * elf/Makefile (dl-routines): Add hwcaps.
39700 * elf/dl-support.c (_dl_important_hwcaps): Removed.
39701 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39702 (_dl_important_hwcaps): Moved to ...
39703 * elf/dl-hwcaps.c: Here. New file.
39704 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39705
9cee5585 39706 [BZ #14557]
bb859b06
L
39707 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39708 if IS_IN_rtld isn't defined.
39709
9cee5585
L
39710 * elf/dl-support.c (_dl_sysinfo_map): New.
39711 Include "get-dynamic-info.h" and "setup-vdso.h".
39712 (_dl_non_dynamic_init): Call setup_vdso.
39713 * elf/dynamic-link.h: Don't include <assert.h>.
39714 (elf_get_dynamic_info): Moved to ...
39715 * elf/get-dynamic-info.h: Here. New file.
39716 * elf/dynamic-link.h: Include "get-dynamic-info.h".
39717 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39718 * elf/setup-vdso.h: Here. New file.
39719 * elf/rtld.c: Include "setup-vdso.h".
39720 (dl_main): Call setup_vdso.
39721
23c31b76
JM
397222012-10-05 Joseph Myers <joseph@codesourcery.com>
39723
28234b07
JM
39724 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39725 creal in comment listing functions tested. List finite, isinf,
39726 isnan, isless, islessequal, isgreater, isgreaterequal,
39727 islessgreater, isunordered, lgamma_r and pow10 as functions and
39728 macros not tested. Mention which functions not tested are aliases
39729 for other functions. Fix typo. Note that signs of NaNs are not
39730 tested.
39731
23c31b76
JM
39732 * scripts/config.guess: Update from config.git.
39733 * scripts/config.sub: Likewise.
39734
9043e228
RM
397352012-10-04 Roland McGrath <roland@hack.frob.com>
39736
39737 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39738 * misc/madvise.c (madvise): Renamed to __madvise.
39739 Make madvise a weak alias.
39740 * include/sys/mman.h: Declare __madvise.
39741 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39742 * sysdeps/unix/syscalls.list
39743 (madvise): Make __madvise the strong name, and madvise a weak alias.
39744 * sysdeps/unix/sysv/linux/syscalls.list
39745 (madvise, mmap): Remove redundant entries.
39746 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39747 * malloc/malloc.c (mtrim): Likewise.
39748 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39749
f57f8055
RM
397502012-10-03 Roland McGrath <roland@hack.frob.com>
39751
39752 * sysdeps/mach/hurd/dl-cache.c: File removed.
39753 * config.h.in (USE_LDCONFIG): New #undef.
39754 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39755 * configure: Regenerated.
39756 * elf/Makefile (dl-routines): Add dl-cache only under
39757 [$(use-ldconfig) = yes].
39758 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39759 cache on [USE_LDCONFIG].
39760 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39761 [USE_LDCONFIG].
39762 * elf/rtld.c (dl_main): Likewise.
39763
5bb0c10a
PT
397642012-10-03 Pino Toscano <toscano.pino@tiscali.it>
39765
39766 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39767 _SC_LEVEL4_CACHE_LINESIZE.
39768
010188c6
RM
397692012-10-03 Roland McGrath <roland@hack.frob.com>
39770
39771 * sysdeps/unix/bsd/confstr.h: File removed.
39772
b6c5ec07
AO
397732012-10-02 Alexandre Oliva <aoliva@redhat.com>
39774
39775 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39776 sys/sdt-config.h.
39777
408223d4
RM
397782012-10-02 Roland McGrath <roland@hack.frob.com>
39779
39780 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39781 Make 'mapoff' field ElfW(Off) rather than off_t.
39782
bb9510dc
DL
397832012-10-02 Dmitry V. Levin <ldv@altlinux.org>
39784
fc997c6e
DL
39785 * nscd/Makefile: Remove nscd-cflags and all its users.
39786 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39787 (CFLAGS-nonlib): Add compiler flags for nscd modules.
39788
bb9510dc
DL
39789 [BZ #10631]
39790 * malloc.c (malloc_printerr): Clarify error message.
39791
05699367
L
397922012-10-02 H.J. Lu <hongjiu.lu@intel.com>
39793
39794 [BZ #14648]
39795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39796 Set bit_FMA_Usable if FMA is supported.
39797 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39798 macro.
39799 (bit_FMA4_Usable): Updated.
39800 (index_FMA_Usable): New macro.
39801 (CPUID_FMA): Likewise
39802 (HAS_FMA): Defined with bit_FMA_Usable.
39803
51367701
RM
398042012-10-01 Roland McGrath <roland@hack.frob.com>
39805
39806 * bits/types.h (__swblk_t): Type removed.
39807 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39808 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39810 (__SWBLK_T_TYPE): Likewise.
39811 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39812 (__SWBLK_T_TYPE): Likewise.
39813 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39814 (__SWBLK_T_TYPE): Likewise.
39815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39816 (__SWBLK_T_TYPE): Likewise.
39817
4d57bf63 398182012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 39819 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
39820
39821 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39822 (xdr_mapname): Use YPMAXMAP as maxsize.
39823 (xdr_peername): Use YPMAXPEER as maxsize.
39824 (xdr_keydat): Use YPAXRECORD as maxsize.
39825 (xdr_valdat): Use YPMAXRECORD as maxsize.
39826
93c65d43
RM
398272012-10-01 Roland McGrath <roland@hack.frob.com>
39828
497a03d6
RM
39829 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39830
93c65d43
RM
39831 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39832 * csu/init-first.c: ... here.
39833 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39834 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39835 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39836 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39837 * sysdeps/i386/init-first.c: File removed.
39838 * sysdeps/sh/init-first.c: File removed.
39839
bec749fd
JM
398402012-10-01 Joseph Myers <joseph@codesourcery.com>
39841
39842 [BZ #14645]
39843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39844 if x * y might underflow to zero and z is zero.
39845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39847 * math/libm-test.inc (min_subnorm_value): New variable.
39848 (fma_test): Add more tests.
39849 (fma_test_towardzero): Likewise.
39850 (fma_test_downward): Likewise
39851 (fma_test_upward): Likewise.
39852 (initialize): Set min_subnorm_value.
39853
8ec5b013
JM
398542012-09-29 Joseph Myers <joseph@codesourcery.com>
39855
39856 [BZ #14638]
39857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39858 0 + 0.
39859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39860 mode for addition resulting in exact zero.
39861 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39863 exact 0 + 0.
39864 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39865 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39866 * math/libm-test.inc (fma_test): Add more tests.
39867 (fma_test_towardzero): New function.
39868 (fma_test_downward): Likewise.
39869 (fma_test_upward): Likewise.
39870 (main): Call the new functions.
39871
b1fa802e
DM
398722012-09-28 David S. Miller <davem@davemloft.net>
39873
39874 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39875
d3b9fd9e
RM
398762012-09-28 Roland McGrath <roland@hack.frob.com>
39877
ea4d37b3
RM
39878 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39879 instead of SIGALRM.
39880
ac51c949
RM
39881 * sysdeps/gnu/_G_config.h: Moved to ...
39882 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39883 * sysdeps/mach/hurd/_G_config.h: Moved to ...
39884 * sysdeps/generic/_G_config.h: ... here.
39885
28c195f7
RM
39886 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
39887
848917f9
RM
39888 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39889
6bacf05b
RM
39890 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39891 Conditionalize target on [libnss_test1.so-version].
39892
91363dbb
RM
39893 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39894
cc87f7d8
RM
39895 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39896 (elfobjdir): Move out of conditionals.
39897
b1c608fe
RM
39898 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39899 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39900 (__nss_lookup_function): Conditionalize label remove_from_tree on
39901 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 39902
1d9a6d96
DM
399032012-09-28 David S. Miller <davem@davemloft.net>
39904
39905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39906 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39907 file.
39908 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39909 sysdep_routines.
39910 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39912 when HWCAP_SPARC_CRYPTO is present.
39913
72581615
PT
399142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39915
39916 * io/tst-mknodat.c: Create a FIFO instead of a socket.
39917
715a900c
JL
399182012-09-28 Andreas Schwab <schwab@linux-m68k.org>
39919
39920 [BZ #6530]
39921 * stdio-common/vfprintf.c (process_string_arg): Revert
39922 2000-07-22 change.
39923
399242011-09-28 Jonathan Nieder <jrnieder@gmail.com>
39925
39926 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39927 for testcase.
39928 * stdio-common/tst-sprintf.c: Include <locale.h>
39929 (main): Test sprintf's handling of incomplete multibyte
39930 characters.
39931
9bac1d86
L
399322012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39933
39934 * elf/dl-runtime.c (VERSYMIDX): Removed.
39935 * elf/dl-version.c (VERSYMIDX): Likewise.
39936 * elf/do-rel.h (VERSYMIDX): Likewise.
39937 (VALIDX): Likewise.
39938 * elf/dynamic-link.h (VERSYMIDX): Likewise.
39939 * elf/rtld.c (VALIDX): Likewise.
39940 (ADDRIDX): Likewise.
9bac1d86
L
39941 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39942 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39943 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
39944 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39945 (VALIDX): Likewise.
39946 (ADDRIDX): Likewise.
9bac1d86 39947
b31606c0
PT
399482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39949
39950 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39951
11541177
JL
399522012-09-28 Dmitry V. Levin <ldv@altlinux.org>
39953
39954 [BZ #11438]
39955 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39956 to global scope.
39957 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39958 addresses are in the same scope as 192.0.2/24.
39959 * posix/gai.conf: Document new scope table defaults.
39960
adb26fae
SP
399612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39962
39963 [BZ #5298]
39964 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39965 for ftell. Compute offsets from write pointers instead.
39966 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39967
4573c6b0
SP
399682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39969
39970 [BZ #14543]
39971 * libio/Makefile (tests): New test case tst-fseek.
39972 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39973 combination works in wide mode.
39974 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39975 state when the external buffer state changes.
39976
aa9bbfe6
DM
399772012-09-27 David S. Miller <davem@davemloft.net>
39978
39979 [BZ #14376]
39980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39981 pass reloc->r_addend in as the 'high' argument to
39982 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39983
784421e7
DM
39984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39985
c39bc8b8
PT
399862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39987
39988 * rt/tst-aio2.c: Include <pthread.h>.
39989 * rt/tst-aio3.c: Likewise.
39990
1ccc2399
SE
399912012-09-27 Steve Ellcey <sellcey@mips.com>
39992
39993 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39994
31ed4153
L
399952012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39996
25f5f885
L
39997 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39998 contents on [SHARED].
31ed4153 39999
b7bfe116
MP
400002012-09-26 Marek Polacek <polacek@redhat.com>
40001
40002 [BZ #14530]
40003 [BZ #13741]
40004 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40005 for C++ and GCC <4.3 as well as for non GCC compilers.
40006
43c4edba
MT
400072012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40008
40009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40010
6a1bf82f
RM
400112012-09-25 Roland McGrath <roland@hack.frob.com>
40012
40013 * Makefile.in (all, install): Declare with .PHONY.
40014 Reported by Michael Hope <michael.hope@linaro.org>.
40015
8ad11b9a
TMQMF
400162012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40017
40018 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40019 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40020 system header.
40021 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40022 Likewise.
40023 (sydep_routines): Add the new and the internal functions.
40024 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40025 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40027 (GLIBC_2.17): Add the new function.
40028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40029 (GLIBC_2.17): Likewise.
40030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40031 (GLIBC_2.17): Likewise.
40032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40033 (GLIBC_2.17): Likewise.
40034 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40035
7e2fca8d
AM
400362012-09-25 Alan Modra <amodra@gmail.com>
40037
40038 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40039 Add release barrier before setting once_control to say
40040 initialisation is done. Add hints on lwarx. Use macro in
40041 place of isync.
40042 (clear_once_control): Add release barrier.
40043
b87c4b24
JM
400442012-09-25 Joseph Myers <joseph@codesourcery.com>
40045
d032e0d2
JM
40046 [BZ #13629]
40047 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40048 specially.
40049 * math/s_clog10.c (__clog10): Likewise.
40050 * math/s_clog10f.c (__clog10f): Likewise.
40051 * math/s_clog10l.c (__clog10l): Likewise.
40052 * math/s_clogf.c (__clogf): Likewise.
40053 * math/s_clogl.c (__clogl): Likewise.
40054 * math/Makefile (libm-calls): Add x2y2m1.
40055 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40056 (__x2y2m1): Likewise.
40057 (__x2y2m1l): Likewise.
40058 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40059 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40062 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40063 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40064 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40065 * sysdeps/i386/fpu/libm-test-ulps: Update.
40066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40067
b87c4b24
JM
40068 [BZ #14621]
40069 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40070 int as type of variable DEPTH.
40071 (glob): Use size_t instead of int as type of variables NEWCOUNT
40072 and OLD_PATHC.
40073
6d3bf199
LD
400742012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40075
22bf5c17
LD
40076 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40077 Add s_sincosf-sse2.
40078 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40079 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40080 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40081 macros for using routine as __sincosf_ia32.
40082 Use macro for function declaration and weak_alias.
40083 * sysdeps/i386/fpu/libm-test-ulps: Update.
40084
40085 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40087
40088 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
40089 subnormal argument.
40090 * math/s_cexpf.c (__cexpf): Likewise.
40091 * math/s_csinf.c (__csinf): Likewise.
40092 * math/s_csinhf.c (__csinhf): Likewise.
40093 * math/s_ctanf.c (__ctanf): Likewise.
40094 * math/s_ctanhf.c (__ctanhf): Likewise.
40095 * math/s_ccosh.c (__ccoshf): Likewise.
40096 * math/s_cexp.c (__cexpl): Likewise.
40097 * math/s_csin.c (__csin): Likewise.
40098 * math/s_csinh.c (__csinh): Likewise.
40099 * math/s_ctan.c (__ctan): Likewise.
40100 * math/s_ctanh.c (ctanh): Likewise.
40101 * math/s_ccoshl.c (__ccoshl): Likewise.
40102 * math/s_cexpl.c (__cexpl): Likewise.
40103 * math/s_csinl.c (__csinl): Likewise.
40104 * math/s_csinhl.c (__csinhl): Likewise.
40105 * math/s_ctanl.c (__ctanl): Likewise.
40106 * math/s_ctanhl.c (__ctanhl): Likewise.
40107
203e5603
JM
401082012-09-25 Joseph Myers <joseph@codesourcery.com>
40109
40110 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40111 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40112 (_IO_off_t): Define to __off_t, not _G_off_t.
40113 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40114 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40115 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40116 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40117 type of __dummy and __dummy2 fields.
40118 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40119 (_G_ssize_t): Likewise.
40120 (_G_off_t): Likewise.
40121 (_G_pid_t): Likewise.
40122 (_G_uid_t): Likewise.
40123 (_G_wchar_t): Likewise.
40124 (_G_wint_t): Likewise.
40125 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40126 (_G_ssize_t): Likewise.
40127 (_G_off_t): Likewise.
40128 (_G_pid_t): Likewise.
40129 (_G_uid_t): Likewise.
40130 (_G_wchar_t): Likewise.
40131 (_G_wint_t): Likewise.
40132 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40133 (_G_ssize_t): Likewise.
40134 (_G_off_t): Likewise.
40135 (_G_pid_t): Likewise.
40136 (_G_uid_t): Likewise.
40137 (_G_wchar_t): Likewise.
40138 (_G_wint_t): Likewise.
40139
9fab36eb
SP
401402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40141
40142 * malloc/arena.c: Include malloc-sysdep.h.
40143 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40144 is sufficient to shrink the heap or an unmap is needed.
40145 * sysdeps/generic/malloc-sysdep.h: New file. Define
40146 new function check_may_shrink_heap.
40147 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40148 new function check_may_shrink_heap.
40149
2b4f00d1
SP
401502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40151
40152 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40153 comments.
40154
9a9028b1
DL
401552012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40156
57c69bef
DL
40157 * catgets/test-gencat.sh: Add "set -e".
40158 * elf/tst-pathopt.sh: Likewise.
40159 * grp/tst_fgetgrent.sh: Likewise.
40160 * iconvdata/run-iconv-test.sh: Likewise.
40161 * intl/tst-gettext.sh: Likewise.
40162 * intl/tst-gettext2.sh: Likewise.
40163 * intl/tst-gettext4.sh: Likewise.
40164 * intl/tst-gettext6.sh: Likewise.
40165 * intl/tst-translit.sh: Likewise.
40166 * io/ftwtest-sh: Likewise.
40167 * libio/test-freopen.sh: Likewise.
40168 * malloc/tst-mtrace.sh: Likewise.
40169 * posix/globtest.sh: Likewise.
40170 * posix/tst-getconf.sh: Likewise.
40171 * posix/wordexp-tst.sh: Likewise.
40172 * stdio-common/tst-printf.sh: Likewise.
40173 * stdio-common/tst-unbputc.sh: Likewise.
40174 * stdlib/tst-fmtmsg.sh: Likewise.
40175 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40176 * catgets/Makefile: Do not specify -e option when running
40177 testsuite shell scripts.
40178 * elf/Makefile: Likewise.
40179 * grp/Makefile: Likewise.
40180 * iconvdata/Makefile: Likewise.
40181 * intl/Makefile: Likewise.
40182 * io/Makefile: Likewise.
40183 * libio/Makefile: Likewise.
40184 * malloc/Makefile: Likewise.
40185 * posix/Makefile: Likewise.
40186 * stdio-common/Makefile: Likewise.
40187 * stdlib/Makefile: Likewise.
40188 * sysdeps/x86_64/Makefile: Likewise.
40189
9a9028b1
DL
40190 * io/ftwtest-sh: Add copyright header.
40191 * posix/globtest.sh: Likewise.
40192 * posix/tst-getconf.sh: Likewise.
40193 * posix/wordexp-tst.sh: Likewise.
40194 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40195
ced6f16e
L
401962012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40197
94b32c39
L
40198 [BZ #13679]
40199 * Makeconfig (+link): Defined as $(+link-static) if
40200 $(build-shared) isn't yes.
40201 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40202 isn't yes.
40203 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40204
189e935b
L
40205 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40206
ced6f16e
L
40207 [BZ #14562]
40208 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40209 new chunk size with MALLOC_ALIGN_MASK.
40210
a9f8e53a
JM
402112012-09-24 Joseph Myers <joseph@codesourcery.com>
40212
40213 [BZ #5044]
40214 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40215 <rounding-mode.h>.
40216 (__printf_fphex): Determine rounding using get_rounding_mode and
40217 round_away.
40218 * stdio-common/tst-printf-round.c (struct hex_test): New
40219 structure.
40220 (hex_tests): New variable.
40221 (test_hex_in_one_mode): New function.
40222 (do_test): Also run tests for hex float output.
40223
43153109
JM
402242012-09-21 Joseph Myers <joseph@codesourcery.com>
40225
40226 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40227 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40228 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40229 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40230 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40231 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40232 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40233 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40234
8a26625d
JM
402352012-09-20 Joseph Myers <joseph@codesourcery.com>
40236
40237 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40238 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40239 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40240 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40241
f3fd569c
DL
402422012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40243
40244 [BZ #14579]
40245 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40246 mode only.
40247 * elf/tst-rtld-load-self.sh: New test.
40248 * elf/Makefile: Run it.
40249
63bbedd4
JM
402502012-09-18 Joseph Myers <joseph@codesourcery.com>
40251
40252 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40253 (tst-writev-ENV): Remove.
40254 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40255
626f8b6a
CM
402562012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40257
40258 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40259
b7aaa4d6
JM
402602012-09-17 Joseph Myers <joseph@codesourcery.com>
40261
40262 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40263 unconditional.
40264 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40265 Likewise.
40266 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40267 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40268 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40269 Likewise.
40270
65513990
L
402712012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40272
40273 [BZ #14587]
40274 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40275 * config.make.in (have-cpp-asm-debuginfo): Removed.
40276 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40277 * configure: Regenerated.
40278
784761be
JM
402792012-09-14 Joseph Myers <joseph@codesourcery.com>
40280
40281 [BZ #5044]
40282 * stdio-common/printf_fp.c: Include <stdbool.h> and
40283 <rounding-mode.h>.
40284 (___printf_fp): Determine rounding using get_rounding_mode and
40285 round_away.
40286 * stdio-common/tst-printf-round.c: New file.
40287 * stdio-common/Makefile (tests): Add tst-printf-round.
40288 (link-libm): New variable.
40289 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40290
9503345f
L
402912012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40292
40293 [BZ #14576]
40294 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40295 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40296 Likewise.
40297 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40298 Likewise.
40299
ad35fc00
JM
403002012-09-13 Joseph Myers <joseph@codesourcery.com>
40301
40302 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40303 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40304 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40305 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40306
6c9b0f68
JM
403072012-09-12 Joseph Myers <joseph@codesourcery.com>
40308
40309 [BZ #14518]
40310 * include/rounding-mode.h: New file.
40311 * sysdeps/generic/get-rounding-mode.h: Likewise.
40312 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40313 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40314 (MAX_VALUE): New macro.
40315 (MIN_VALUE): Likewise.
40316 (overflow_value): New function.
40317 (underflow_value): Likewise.
40318 (round_and_return): Use overflow_value and underflow_value to
40319 determine return values in overflow and underflow cases. Use
40320 round_away to determine rounding depending on rounding mode.
40321 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40322 determine return values in overflow and underflow cases.
40323 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40324 (struct test_results): New structure.
40325 (struct test): Use struct test_results to store expected results
40326 for all rounding modes.
40327 (TEST): Include expected results for all rounding modes.
40328 (test_in_one_mode): New function.
40329 (do_test): Use test_in_one_mode to compute and check results.
40330 Check results for all rounding modes.
40331 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40332 $(link-libm).
40333
19fcedd5
AM
403342012-12-09 Allan McRae <allan@archlinux.org>
40335
1e9d84cd 40336 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 40337
8bbfd2f1
JM
403382012-09-11 Joseph Myers <joseph@codesourcery.com>
40339
40340 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40341 (_G_int32_t): Likewise.
40342 (_G_uint16_t): Likewise.
40343 (_G_uint32_t): Likewise.
40344 (_G_HAVE_BOOL): Likewise.
40345 (_G_HAVE_ATEXIT): Likewise.
40346 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40347 (_G_HAVE_IO_FILE_OPEN): Likewise.
40348 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40349 (_G_int32_t): Likewise.
40350 (_G_uint16_t): Likewise.
40351 (_G_uint32_t): Likewise.
40352 (_G_HAVE_BOOL): Likewise.
40353 (_G_HAVE_ATEXIT): Likewise.
40354 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40355 (_G_HAVE_IO_FILE_OPEN): Likewise.
40356 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40357 (_G_int32_t): Likewise.
40358 (_G_uint16_t): Likewise.
40359 (_G_uint32_t): Likewise.
40360 (_G_HAVE_BOOL): Likewise.
40361 (_G_HAVE_ATEXIT): Likewise.
40362 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40363 (_G_HAVE_IO_FILE_OPEN): Likewise.
40364
b1dc5912
L
403652012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40366
40367 * csu/libc-tls.c: Update copyright years.
40368
0e886ef9
JM
403692012-09-10 Joseph Myers <joseph@codesourcery.com>
40370
28361c5e
JM
40371 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40372 [!_G_USING_THUNKS]: Remove conditional code.
40373 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40374 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40375
0e886ef9
JM
40376 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40377 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40378 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40379 (_G_VTABLE_LABEL_PREFIX): Likewise.
40380 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40381 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40382 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40383 (_G_VTABLE_LABEL_PREFIX): Likewise.
40384 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40385 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40386 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40387 (_G_VTABLE_LABEL_PREFIX): Likewise.
40388 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40389
bcba7aa2
L
403902012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40391
40392 * libio/Makefile: Include ../Makeconfig before tests.
40393 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40394 only if $(build-shared) is yes.
40395
06585ee8
L
40396 * iconv/gconv_db.c: Update copyright years.
40397
80ccd52c
LD
403982012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40399
40400 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40401 unwind info if defined PIC. Fix special cases description.
40402 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40403
40404 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40405 DP_HI_MASK entry.
40406 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40407
691bc9c1
L
404082012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40409
3d9b46b3
L
40410 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40411
de2139a9
L
40412 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40413 is NULL.
40414
5ca78dd0
L
40415 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40416 (LDLIBS-tst-chk4): This.
40417 (LDFLAGS-tst-chk5): Renamed to ...
40418 (LDLIBS-tst-chk5): This.
40419 (LDFLAGS-tst-chk6): Renamed to ...
40420 (LDLIBS-tst-chk6): This.
40421 (LDFLAGS-tst-lfschk4): Renamed to ...
40422 (LDLIBS-tst-lfschk4): This.
40423 (LDFLAGS-tst-lfschk5): Renamed to ...
40424 (LDLIBS-tst-lfschk5): This.
40425 (LDFLAGS-tst-lfschk6): Renamed to ...
40426 (LDLIBS-tst-lfschk6): This.
40427
691bc9c1
L
40428 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40429 on $(common-objpfx)soversions.mk.
40430
65cafb1c
JM
404312012-09-07 Joseph Myers <joseph@codesourcery.com>
40432
40433 [BZ #10014]
40434 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40435 example host name.
40436
c78ab094
SP
404372012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40438
40439 * malloc/arena.c (arena_get_retry): New function that gets
40440 another arena for the caller to try its request on.
40441 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40442 current arena cannot fulfill the request.
40443 (__libc_memalign): Likewise.
40444 (__libc_memalign): Likewise.
40445 (__libc_pvalloc): Likewise.
40446 (__libc_calloc): Likewise.
40447
01f49f59
JT
404482012-09-05 John Tobey <john.tobey@gmail.com>
40449
40450 [BZ #13542]
40451 * manual/arith.texi (Operations on Complex): Fix description
40452 of carg branch cut.
40453
4c23fed5
JM
404542012-09-06 Joseph Myers <joseph@codesourcery.com>
40455
1d3c8572
JM
40456 [BZ #10014]
40457 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40458 host name.
40459
4c23fed5
JM
40460 [BZ #10038]
40461 * manual/memory.texi (Memory): Make order of menu items match
40462 order of sections.
40463
04570aaa
L
404642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40465
40466 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40467 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
40468 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40469
b80af2f4
L
404702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40471
40472 * csu/libc-tls.c (static_dtv): Renamed to ...
40473 (_dl_static_dtv): This. Make it global.
40474 (_dl_initial_dtv): Removed.
40475 (__libc_setup_tls): Updated.
40476 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40477 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40478 DL_INITIAL_DTV.
40479
2abe9f15
PM
404802012-09-06 Petr Machata <pmachata@redhat.com>
40481
40482 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40483 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40484 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40485 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40486
0948c3af
L
404872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40488
40489 [BZ #14545]
40490 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40491 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40492 freeing dtv[-1].
40493
a5055ad1
L
404942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40495
40496 [BZ #14544]
40497 * Makeconfig (link-static-before-libc): Replace $(+prector)
40498 with $(+prectorT).
40499 (link-static-after-libc): Replace $(+postctor) with
40500 $(+postctorT).
40501 (link-bounded): Replace $(+prector)/$(+postctor) with
40502 $(+prectorT)/$(+postctorT).
40503 (+prectorT): New macro.
40504 (+postctorT): Likewise.
40505
ed8c2ecd
JM
405062012-09-06 Joseph Myers <joseph@codesourcery.com>
40507
40508 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40509 (round_str): Handle values above the maximum for IBM long double
40510 as inexact.
40511 * stdlib/tst-strtod-round.c (tests): Regenerated.
40512
14c996c8
AK
405132012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40514
40515 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40516 assembler flag.
40517 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40518 zarch_nohighgprs around the zarch optimized routines.
40519 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40520 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40521 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40522 for zarch.
40523
430d6ce6
DM
405242012-09-05 David S. Miller <davem@davemloft.net>
40525
40526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40527
57f41c40
AS
40528 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40529 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
40530 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40531 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40532 entries.
40533
24d4e01b
AO
405342012-09-05 Alexandre Oliva <aoliva@redhat.com>
40535
40536 * malloc/arena.c: Fold copyright years.
40537 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40538
61d58174
AO
405392012-09-05 Alexandre Oliva <aoliva@redhat.com>
40540
40541 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40542
20196a5e
AO
405432012-09-05 Alexandre Oliva <aoliva@redhat.com>
40544
40545 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40546
5c447383
AO
405472012-09-05 Alexandre Oliva <aoliva@redhat.com>
40548
40549 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40550 change internal state upon failure.
40551
fad64255
AO
405522012-09-05 Alexandre Oliva <aoliva@redhat.com>
40553
40554 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40555 * malloc/memusage.c (mmap): Likewise.
40556 (mmap64, mremap): Likewise. Adjust name in comment.
40557
1ffb8c90
SP
405582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40559
40560 * libio/fileops.c: Fix typos in comments.
40561 * libio/oldfileops.c: Likewise.
40562 * libio/wfileops.c: Likewise.
40563
6ef9cc37
SP
405642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40565
40566 [BZ #1349]
40567 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40568 (tst-malloc-usable-ENV): Set environment for test case.
40569 * malloc/hooks.c (malloc_check_get_size): New function to get
40570 requested size.
40571 * malloc/malloc.c (musable): Use malloc_check_get_size.
40572 * malloc/tst-malloc-usable.c: New test case.
40573
4d038ae3
AS
405742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40575
40576 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40577
c4e85184
AM
405782012-09-05 Allan McRae <allan@archlinux.org>
40579
b9dafc56 40580 [BZ #13966]
c4e85184
AM
40581 * configure.in (CXX_SYSINCLUDES): Use compiler output to
40582 determine header location.
40583 * configure: Regenerated.
40584
e1343020
AS
405852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40586
40587 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40588 float format.
40589 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
40590 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40591 format.
e1343020
AS
40592 (test): Regenerate.
40593
0a9f1987
DM
405942012-09-04 David S. Miller <davem@davemloft.net>
40595
40596 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40597 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40598 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40599
29237804
FW
406002012-09-04 Florian Weimer <fweimer@redhat.com>
40601
40602 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40603 failures.
40604
edb3cb88
FW
40605 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40606
60160d83
JM
406072012-09-04 Joseph Myers <joseph@codesourcery.com>
40608
40609 [BZ #9914]
40610 * libio/iogetdelim.c: Include <limits.h>.
40611 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40612 + len + 1 would overflow.
40613
bcd6c8dc
AJ
406142012-09-03 Andreas Jaeger <aj@suse.de>
40615
40616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40617 * sysdeps/i386/fpu/libm-test-ulps: Update.
40618
4ffffbd2
LD
406192012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40620
40621 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40622 Add s_sinf-sse2, s_conf-sse2.
40623
40624 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40625 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40626 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40627 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40628
40629 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40630 for using routine as __sinf_ia32.
40631 Use macro for function declaration and weak_alias.
40632 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40633 for using routine as __cosf_ia32.
40634 Use macro for function declaration and weak_alias.
40635
40636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40637 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40638
40639 * sysdeps/x86_64/fpu/s_sinf.S: New file.
40640 * sysdeps/x86_64/fpu/s_cosf.S: New file.
40641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40642
40643 * math/libm-test.inc (cos_test): Add more test cases.
40644 (sin_test): Likewise.
40645 (sincos_test): Likewise.
40646
511fa286
AK
406472012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40648
40649 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40650 (IFUNC_RESOLVE): Make pointers to the specialized implementations
40651 hidden.
40652 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40653
5f30cfec
L
406542012-09-02 H.J. Lu <hongjiu.lu@intel.com>
40655
40656 [BZ #14538]
40657 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40658 first element of the GOT.
40659 (elf_machine_load_address): Return the difference between
40660 the runtime address of _DYNAMIC and elf_machine_dynamic ().
40661
0786794f
AM
406622012-09-01 Allan McRae <allan@archlinux.org>
40663
5f30cfec
L
40664 [BZ #13412]
40665 * configure.in (AWK): Require gawk version 3.0 or later.
40666 * configure: Regenerated.
0786794f 40667
26889eac
JM
406682012-09-01 Joseph Myers <joseph@codesourcery.com>
40669
40670 * sysdeps/unix/sysv/linux/kernel-features.h
40671 (__ASSUME_POSIX_CPU_TIMERS): Remove.
40672 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40673 [__NR_clock_getres]: Make code unconditional.
40674 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40675 (clock_getcpuclockid): Remove code left unreachable by removal of
40676 conditionals.
40677 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40678 code unconditional.
40679 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40680 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40681 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40682 Make code unconditional.
40683 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40684 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40685 * sysdeps/unix/sysv/linux/clock_settime.c
40686 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40687 conditional code.
40688 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40689 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40690
d22e28b0
L
406912012-08-29 H.J. Lu <hongjiu.lu@intel.com>
40692
40693 [BZ #14476]
40694 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40695 scripts/test-installation.pl.
40696
40697 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40698 and $ld_so_version if it is set.
40699
050af9c4
SP
407002012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40701
40702 [BZ #14516]
40703 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40704 failure if reading from procfs failed.
40705 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40706
ad845c0b
JM
407072012-08-27 Joseph Myers <joseph@codesourcery.com>
40708
40709 * sysdeps/unix/sysv/linux/kernel-features.h
40710 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40711 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40712 Remove conditional code.
40713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40714 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40715 Remove conditional code.
40716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40717 * sysdeps/unix/sysv/linux/i386/fxstat.c
40718 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40720 * sysdeps/unix/sysv/linux/i386/fxstatat.c
40721 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40723 * sysdeps/unix/sysv/linux/i386/lxstat.c
40724 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40726 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40727 Remove conditional code.
40728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40729 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40730 Remove conditional code.
40731 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40732 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40733 <kernel-features.h>.
40734 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40735 Remove.
40736 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40737 Remove conditional code.
40738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40739 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40740 Remove conditional.
40741
5dbf56af
MF
407422012-08-27 Mike Frysinger <vapier@gentoo.org>
40743
40744 [BZ #5400]
40745 * NEWS: Add fixed bug number.
40746
d6e70f43
JM
407472012-08-27 Joseph Myers <joseph@codesourcery.com>
40748
7efb4737
JM
40749 [BZ #14519]
40750 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40751 underflowing exponent in case of negative sign.
40752 * stdlib/tst-strtod-round-data: Add more tests.
40753 * stdlib/tst-strtod-round.c (tests): Regenerated.
40754
af92131a
JM
40755 [BZ #3479]
40756 * stdlib/strtod_l.c (NDIG): Remove.
40757 (HEXNDIG): Likewise.
40758 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40759 smallest representable value.
40760 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40761 lie within an exact representation of 1/2 ulp of the result.
40762 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40763 unconditionally.
40764 (TENS_P9_IDX): Define unconditionally.
40765 (TENS_P9_SIZE): Likewise.
40766 (TENS_P10_IDX): Likewise.
40767 (TENS_P10_SIZE): Likewise.
40768 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40769 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40770 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40771 entries for 10^2^13 and 10^2^14.
40772 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40773 (TENS_P13_IDX): Define.
40774 (TENS_P13_SIZE): Likewise.
40775 (TENS_P14_IDX): Likewise.
40776 (TENS_P14_SIZE): Likewise.
40777 (_fpioconst_pow10): Change array size to
40778 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
40779 unconditional.
40780 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40781 1024]: Add entries for 10^2^13 and 10^2^14.
40782 [LAST_POW10 > _LAST_POW10]: Remove #error.
40783 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40784 (_fpioconst_pow10): Change array size to
40785 FPIOCONST_POW10_ARRAY_SIZE.
40786 * stdlib/gen-fpioconst.c: New file.
40787 * stdlib/gen-tst-strtod-round.c: Likewise.
40788 * stdlib/tst-strtod-round-data: Likewise.
40789 * stdlib/tst-strtod-round.c: Likewise.
40790 * stdlib/Makefile (tests): Add tst-strtod-round.
40791
d6e70f43
JM
40792 [BZ #14459]
40793 * stdlib/strtod_l.c: Include <stdint.h>.
40794 (NDEBUG): Do not define.
40795 (round_and_return): Change EXPONENT parameter to type intmax_t.
40796 Rearrange calculations to avoid internal overflow possibilities.
40797 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40798 Rearrange calculations to avoid internal overflow possibilities.
40799 Assert that number fits inside MPNSIZE limbs.
40800 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40801 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
40802 calculations and add assertions to avoid internal overflow
40803 possibilities. Add casts to avoid signed/unsigned operations.
40804 * stdlib/tst-strtod-overflow.c: New file.
40805 * stdlib/Makefile (tests): Add tst-strtod-overflow.
40806
1f529f7d
MP
408072012-08-25 Marek Polacek <polacek@redhat.com>
40808
40809 * time/time.h: Fix some typos in comments.
40810
59a629f1
RM
408112012-08-23 Roland McGrath <roland@hack.frob.com>
40812
40813 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40814 * posix/tst-rfc3484-2.c: Likewise.
40815 * posix/tst-rfc3484-3.c: Likewise.
40816
d3bafbc9
SM
408172012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
40818
40819 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40820 (EF_ARM_ABI_FLOAT_HARD): Likewise.
40821
4efcc022
JM
408222012-08-23 Joseph Myers <joseph@codesourcery.com>
40823
40824 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40825 #include of fxstatat64.c.
40826
3cc3ef96
RM
408272012-08-22 Roland McGrath <roland@hack.frob.com>
40828
f04e2132
RM
40829 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40830 * shadow/getspent_r.c: Likewise.
40831 * shadow/getspnam.c: Likewise.
40832 * shadow/getspnam_r.c: Likewise.
40833 * gshadow/getsgent.c: Likewise.
40834 * gshadow/getsgent_r.c: Likewise.
40835 * gshadow/getsgnam.c: Likewise.
40836 * gshadow/getsgnam_r.c: Likewise.
40837 * inet/getnetbyad.c: Likewise.
40838 * inet/getnetbyad_r.c: Likewise.
40839 * inet/getnetbynm.c: Likewise.
40840 * inet/getnetbynm_r.c: Likewise.
40841 * inet/getnetent.c: Likewise.
40842 * inet/getnetent_r.c: Likewise.
40843 * inet/getproto.c: Likewise.
40844 * inet/getproto_r.c: Likewise.
40845 * inet/getprtent.c: Likewise.
40846 * inet/getprtent_r.c: Likewise.
40847 * inet/getprtname.c: Likewise.
40848 * inet/getprtname_r.c: Likewise.
40849 * inet/getrpcbyname.c: Likewise.
40850 * inet/getrpcbyname_r.c: Likewise.
40851 * inet/getrpcbynumber.c: Likewise.
40852 * inet/getrpcbynumber_r.c: Likewise.
40853 * inet/getrpcent.c: Likewise.
40854 * inet/getrpcent_r.c: Likewise.
40855 * inet/getaliasent.c: Likewise.
40856 * inet/getaliasent_r.c: Likewise.
40857 * inet/getaliasname.c: Likewise.
40858 * inet/getaliasname_r.c: Likewise.
40859 * nscd/getgrgid_r.c: Likewise.
40860 * nscd/getgrnam_r.c: Likewise.
40861 * nscd/gethstbyad_r.c: Likewise.
40862 * nscd/gethstbynm3_r.c: Likewise.
40863 * nscd/getpwnam_r.c: Likewise.
40864 * nscd/getpwuid_r.c: Likewise.
40865 * nscd/getsrvbynm_r.c: Likewise.
40866 * nscd/getsrvbypt_r.c: Likewise.
40867 * nscd/gai.c: Likewise.
40868
c53d909c
RM
40869 * configure.in (build_nscd): New substituted variable, set
40870 by --disable-build-nscd and defaults to $use_nscd.
40871 * configure: Regenerated.
40872 * config.make.in (build-nscd): New substituted variable.
40873 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40874 Change conditional to require [$(build-nscd) = yes] as well.
40875 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40876
3cc3ef96
RM
40877 [BZ# 13696]
40878 * configure.in (use_nscd): New substituted variable, set by
40879 --disable-nscd. If enabled, define USE_NSCD.
40880 * configure: Regenerated.
40881 * config.h.in: Add USE_NSCD.
40882 * config.make.in (use-nscd): New substituted variable.
40883 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40884 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40885 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40886 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40887 (CFLAGS-getgrnam_r.c): Likewise.
40888 (CFLAGS-initgroups.c): Likewise.
40889 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40890 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40891 Variables removed.
40892 * inet/getnetgrent_r.c
40893 (nscd_setnetgrent): New function, broken out of ...
40894 (setnetgrent): ... here. Call it.
40895 (innetgr): Conditionalize nscd bits on [USE_NSCD].
40896 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40897 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40898 * nscd/Makefile (routines, aux): Move definitions after include of
40899 Makeconfig. Conditionalize on [$(use-nscd) != no].
40900 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40901 Conditionalize on [USE_NSCD].
40902 (is_nscd, nscd_init_cb): Likewise.
40903 (nss_load_library): Conditionalize init callback on [USE_NSCD].
40904 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40905 * nss/nss_db/db-init.c: Likewise.
40906 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40907 [USE_NSCD].
40908 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40909 (make_request): Use it.
40910 (cache_valid_p): New function.
40911 (__check_pf): Use it.
40912 * NEWS: Add item for --disable-nscd.
40913
07e51550
DL
409142012-08-22 Dmitry V. Levin <ldv@altlinux.org>
40915
40916 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40917 to support sed >= 4.2.1-20-ga9bf076.
40918 * configure: Regenerated.
40919
35a5b08b
RM
409202012-08-22 Roland McGrath <roland@hack.frob.com>
40921
40922 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40923 Conditionalize whole body on [IREL].
40924
8479f23a
JL
409252012-08-22 Jeff Law <law@redhat.com>
40926
40927 [BZ #14505]
40928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40929 if the family is PF_UNSPEC.
40930
48da0b21
MF
409312012-08-22 Mike Frysinger <vapier@gentoo.org>
40932
40933 * Makerules (lib-version): Rename from V.
40934 (install-lib-nosubdir): Change V to lib-version.
40935
15d0da8c
WS
409362012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
40937
40938 [BZ #14252]
40939 * powerpc32/power6/wcschr.c: New file.
40940 * powerpc32/power6/wcscpy.c: New file.
40941 * powerpc32/power6/wcsrchr.c: New file.
40942 * powerpc64/power6/wcschr.c: New file.
40943 * powerpc64/power6/wcscpy.c: New file.
40944 * powerpc64/power6/wcsrchr.c: New file.
40945
bcca0895
MK
409462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40947
40948 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40949 (two_way_short_needle): Use it.
5a4aaa33
RM
40950 * string/strstr.c (AVAILABLE1_USES_J): Define.
40951 * string/strcasestr.c: Likewise.
99677e57
MK
40952
40953 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40954 array references.
40955 * string/strcasestr.c (TOLOWER): Make side-effect safe.
40956
400726de
MK
40957 [BZ #11607]
40958 * NEWS: Add an entry.
40959 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40960 define their defaults.
40961 (two_way_short_needle): Detect end-of-string on-the-fly.
40962 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40963 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40964 * string/bug-strcasestr1.c: New test.
40965 * string/Makefile: Run it.
40966
20a71f2c
MK
409672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40968
40969 [BZ #11607]
40970 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40971 the first character.
40972
21ad0558
RM
409732012-08-21 Roland McGrath <roland@hack.frob.com>
40974
40975 * csu/elf-init.c (__libc_csu_irel): Function removed.
40976 * csu/libc-start.c (apply_irel): New function.
40977 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40978
0e1d9911
JM
409792012-08-21 Joseph Myers <joseph@codesourcery.com>
40980
40981 * sysdeps/unix/sysv/linux/kernel-features.h
40982 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40983 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40984 <kernel-features.h>.
40985 [__NR_fadvise64_64]: Make code unconditional.
40986 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40987 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40988 !__NR_fadvise64_64)]: Likewise.
40989 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40990 !__NR_fadvise64_64))]: Likewise.
40991 [__NR_fadvise64]: Make code unconditional.
40992 [!__NR_fadvise64]: Remove conditional code.
40993 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40994 <kernel-features.h>.
40995 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40996 unconditional.
40997 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40998 conditional code.
40999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41000 not include <kernel-features.h>.
41001 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41002 unconditional.
41003 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41004 conditional code.
41005 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41006 include <kernel-features.h>.
41007 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41008 unconditional.
41009 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41010 conditional code.
41011
14a50c9d
WS
410122012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41013
41014 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41015 slight instruction rearrangements per scrollpipe analysis.
41016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41017
c0f4faf0
RM
410182012-08-20 Roland McGrath <roland@hack.frob.com>
41019
696da859
RM
41020 * manual/syslog.texi (syslog; vsyslog, closelog):
41021 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41022 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41023
c0f4faf0
RM
41024 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41025 DSOCAPS to match condition on defining it.
41026
348363b2
JM
410272012-08-20 Joseph Myers <joseph@codesourcery.com>
41028
a35cbf28
JM
41029 * sysdeps/unix/sysv/linux/kernel-features.h
41030 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41032 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41033 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41035 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41036 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41038 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41039 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41040
445f7ecd
JM
41041 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41042 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41043
348363b2
JM
41044 * sysdeps/unix/sysv/linux/kernel-features.h
41045 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41046 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41047 unconditional.
41048 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41049 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41050 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41051 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41052 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41053 Make code unconditional.
41054 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41055 (__mmap64) [!__NR_mmap2]: Likewise.
41056 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41057 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41058 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41059 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41060 [__NR_mmap2]: Make code unconditional.
41061 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41062 (__mmap64) [!__NR_mmap2]: Likewise.
41063
bc5bc0e5
AK
410642012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41065
41066 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41067
88d506de
AJ
410682012-08-18 Andreas Jaeger <aj@suse.de>
41069
41070 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41071
493387d2
MF
410722012-08-18 Mike Frysinger <vapier@gentoo.org>
41073
41074 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41075 * include/unistd.h (__have_sock_cloexec): Likewise.
41076 (__have_pipe2): Likewise.
41077 (__have_dup3): Likewise.
41078
a277af22
MF
410792012-08-18 Mike Frysinger <vapier@gentoo.org>
41080
41081 [BZ #9685]
41082 * include/unistd.h (__have_pipe2): Change define into an extern int.
41083 (__have_dup3): Likewise.
41084 * socket/have_sock_cloexec.c: Include fcntl.h.
41085 (__have_pipe2): New variable.
41086 (__have_dup3): Likewise.
41087
fdab8fd3
MF
410882012-08-17 Mike Frysinger <vapier@gentoo.org>
41089
41090 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41091
31035e80
MP
410922012-08-17 Marek Polacek <polacek@redhat.com>
41093
41094 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41095 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41096
3bd9e993
RM
410972012-08-17 Roland McGrath <roland@hack.frob.com>
41098
c91c505f
RM
41099 * configure.in: Add AC_SUBST for sysheaders.
41100 * configure: Regenerated.
41101 * config.make.in (sysheaders): New substituted variable.
41102
7c6f9d53
RM
41103 * sysdeps/unix/mkfifo.c: Moved ...
41104 * sysdeps/posix/mkfifo.c: ... here.
41105 * sysdeps/unix/mkfifoat.c: Moved ...
41106 * sysdeps/posix/mkfifoat.c: ... here.
41107
41108 * sysdeps/unix/utime.c: Moved ...
41109 * sysdeps/posix/utime.c: ... here.
41110
41111 * sysdeps/unix/time.c: Moved ...
41112 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
41113 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41114 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
41115
41116 * sysdeps/unix/nice.c: Moved ...
41117 * sysdeps/posix/nice.c: ... here.
41118
41119 * sysdeps/unix/alarm.c: Moved ...
41120 * sysdeps/posix/alarm.c: ... here.
41121
3bd9e993
RM
41122 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41123
d1f09384
JL
411242012-08-17 Jeff Law <law@redhat.com>
41125
41126 * intl/Makefile (codeset_mo): New variable.
41127 ($(codeset_mo)): New target.
41128 (tst-codeset.out): Depend on that. Remove explicit rule.
41129 (tst-gettext3.out, tst-gettext5.out): Likewise.
41130 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41131 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41132 * intl/tst-codeset.sh: Remove.
41133 * intl/tst-gettext3.sh: Likewise.
41134 * intl/tst-gettext5.sh: Likewise.
41135
2ae1ae5c
RM
411362012-08-17 Roland McGrath <roland@hack.frob.com>
41137
c31fdb83
RM
41138 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41139 * sysdeps/unix/syscalls.list: ... here.
41140
a0844057
RM
41141 * sysdeps/posix/getaddrinfo.c
41142 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41143 (gaiconf_init, gaiconf_reload): Use them.
41144 [!_STATBUF_ST_NSEC]
41145 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41146 Define using time_t rather than struct timespec.
41147
750c1f2a
RM
41148 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41149 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41150 Macros removed.
41151 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41152 [!NO_THREADS].
41153 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41154 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41155 Likewise.
41156
2ae1ae5c
RM
41157 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41158 __libc_cleanup_push argument.
41159
e66a42f5
RM
41160 * bits/param.h: New file.
41161 * misc/sys/param.h: New file.
41162 * include/sys/param.h: New file.
41163 * misc/Makefile (headers): Add bits/param.h.
41164 * sysdeps/generic/sys/param.h: File removed.
41165 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41166 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41167 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 41168 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 41169
b7c08a66
RM
41170 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41171 last change.
41172
b2e1c562
RM
41173 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41174 [_IO_MTSAFE_IO].
41175 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41176 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41177 New macros.
41178
c75ccd4c
RM
41179 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41180 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41181 rather than -D_IO_MTSAFE_IO conditionally.
41182 * stdio-common/Makefile (CPPFLAGS): Likewise.
41183 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41184 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41185 Use $(libio-mtsafe).
41186 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41187 of -D_IO_MTSAFE_IO.
41188 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41189 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41190 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41191 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41192 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41193 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41194 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41195 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41196 (CFLAGS-fread_u_chk.c): Likewise.
41197 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41198 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41199 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41200 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41201 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41202 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41203 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41204 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41205 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41206
41207 * libio/Makefile: Test [$(libc-reentrant) = yes]
41208 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41209
41210 * Makeconfig
41211 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41212 * sysdeps/pthread/configure: File removed.
41213 * sysdeps/pthread/Makeconfig: New file.
41214 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41215 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41216
d9195db8
GB
412172012-08-16 Gary Benson <gbenson@redhat.com>
41218
41219 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41220 unmapping the first object in a namespace.
41221
86466cd9
RM
412222012-08-16 Roland McGrath <roland@hack.frob.com>
41223
41224 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41225 (__internal_setnetgrent): ... this. Add internal_function to
41226 definition. Add libc_hidden_def.
41227 (setnetgrent): Update caller.
41228 (internal_endnetgrent): Renamed to ...
41229 (__internal_endnetgrent): ... this. Add internal_function to
41230 definition. Add libc_hidden_def.
41231 (endnetgrent): Update caller.
41232 (internal_getnetgrent_r): Renamed to ...
41233 (__internal_getnetgrent_r): ... this. Add internal_function to
41234 definition. Add libc_hidden_def.
41235 (__getnetgrent_r): Update caller.
41236 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41237
c3c8283c
JM
412382012-08-16 Joseph Myers <joseph@codesourcery.com>
41239
41240 * stdlib/longlong.h: Update from GCC.
41241
db1ee0a8
RM
412422012-08-16 Roland McGrath <roland@hack.frob.com>
41243
41244 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41245 on _QL, which is set by umul_ppmm but never used.
41246 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41247 variables, which are set by GMP macros but never used.
41248 * stdio-common/_itowa.c (_itowa): Likewise.
41249 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41250 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41251
30f69637
CD
412522012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41253
41254 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41255 struct La_sh_regs is not constant.
41256 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41257 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41258 and struct La_sparc64_regs are not constant.
41259
93a78ac4
JM
412602012-08-16 Joseph Myers <joseph@codesourcery.com>
41261
41262 * sysdeps/unix/sysv/linux/kernel-features.h
41263 (__ASSUME_POSIX_TIMERS): Remove.
41264 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41265 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41266 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41267 Make code unconditional.
41268 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41269 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41270 Make code unconditional.
41271 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41272 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41273 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41274 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41275 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41276 Make code unconditional.
41277 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41278 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41279 (__libc_missing_posix_timers): Remove.
41280
dd924cd7
RM
412812012-08-15 Roland McGrath <roland@hack.frob.com>
41282
4b4f2771
RM
41283 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41284 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41285
601c888b
RM
41286 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41287
176790a7
RM
41288 * elf/dl-sym.c: Include <stdlib.h>.
41289
329bc018
RM
41290 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41291 constants, which avoids warnings in 32-bit builds.
41292
e04e272d
RM
41293 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41294 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41295
952bf94a
RM
41296 * misc/lseek.c: File moved to ...
41297 * io/lseek.c: ... here.
41298
7c99b50a
RM
41299 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41300
dd924cd7
RM
41301 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41302 shifting LEN more than 31 bits at once.
41303
b3f479a8
LD
413042012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41305
41306 [BZ #14195]
8c4ae0d4
RM
41307 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41308 segmentation fault for a case of two empty input strings.
b3f479a8
LD
41309 * string/test-strncasecmp.c (check1): Renamed to...
41310 (bz12205): ...this.
41311 (bz14195): Add new testcase for two empty input strings and N > 0.
41312 (test_main): Call new testcase, adapt for renamed function.
41313
9c55864e
AJ
413142012-08-15 Andreas Jaeger <aj@suse.de>
41315
41316 [BZ #14090]
41317 * crypt/md5test2.c: New test, based on test supplied by Serge
41318 Belyshev <belyshev@depni.sinp.msu.ru>.
41319 * crypt/Makefile (xtests): Add md5test-giant..
41320 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41321
02dcb6c5
PE
413222012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41323
41324 [BZ #14090]
41325 * crypt/md5.c (md5_process_block): Don't assume the buffer
41326 length is less than 2**32.
41327 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41328 length is less than 2**64.
41329
a3f95dcc
RM
413302012-08-15 Roland McGrath <roland@hack.frob.com>
41331
be75d758
RM
41332 * string/str-two-way.h: Include <sys/param.h>.
41333 (MAX): Macro removed.
41334
7312ca90
RM
41335 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41336 Move #define and #undef of memmove to just before and after
41337 including <string.h>.
41338
9a0a5486
RM
41339 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41340 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41341 and after including <string.h>. Move declarations of
41342 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41343 to before #include "string/memmove.c".
41344
67cc348d
RM
41345 * include/dirent.h: Declare __getdirentries.
41346
a3f95dcc
RM
41347 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41348 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41349
ca98e171
MF
413502012-08-14 Mike Frysinger <vapier@gentoo.org>
41351
41352 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41353 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41354 * sysdeps/i386/configure: Regenerated.
41355 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41356 STABS_CURRENT_FILE, and STABS_FUN.
41357 (END): Remove call to STABS_FUN_END.
41358 (STABS_CURRENT_FILE1): Delete.
41359 (STABS_CURRENT_FILE): Likewise.
41360 (STABS_FUN): Likewise.
41361 (STABS_FUN_END): Likewise.
41362 (STABS_FUN2): Likewise.
41363 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41364 * sysdeps/x86_64/configure: Regenerated.
41365
5908bf46
RM
413662012-08-14 Roland McGrath <roland@hack.frob.com>
41367
41368 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 41369 * elf/dl-lookup.c: Likewise.
5908bf46 41370
f2c05b9e
JM
413712012-08-14 Joseph Myers <joseph@codesourcery.com>
41372
41373 * sysdeps/unix/sysv/linux/kernel-features.h
41374 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41375 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41376 unconditionally.
41377 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41378 unconditionally.
41379 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41380 condition on __ASSUME_CLONE_THREAD_FLAGS.
41381
e11f5155
AJ
413822012-08-14 Andreas Jaeger <aj@suse.de>
41383
41384 * sysdeps/i386/fpu/libm-test-ulps: Update.
41385
51a9ba86
MK
413862012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41387
2fdd4f78
AJ
41388 * include/atomic.h (atomic_exchange_and_add): Split into ...
41389 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41390 New atomic macros.
51a9ba86 41391
ba6cba9e
MT
413922012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41393
41394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41395
42443a47
JL
413962012-08-13 Jeff Law <law@redhat.com>
41397
41398 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41399 null byte in the output string.
41400
121dce05
JM
414012012-08-10 Joseph Myers <joseph@codesourcery.com>
41402
41403 * sysdeps/unix/sysv/linux/kernel-features.h
41404 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41405 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41406 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41407 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41408 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41409 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41410 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41411
bf51f568
JL
414122012-08-09 Jeff Law <law@redhat.com>
41413
41414 [BZ #13939]
41415 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41416 When avoid_arena is set, don't retry in the that arena. Pick the
41417 next one, whatever it might be.
41418 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41419 (arena_lock): Pass in new parameter to arena_get2.
41420 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41421 arena_get2.
41422 (__libc_malloc): Unify retrying after main arena failure with
41423 __libc_memalign version.
41424 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41425
f85fa270
L
414262012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41427
41428 [BZ #14166]
41429 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41430 to __redirect_strstr.
41431 (__strstr_sse42): Use typeof __redirect_strstr.
41432 (__strstr_ia32): Likewise.
41433 (__libc_strstr): New prototype.
41434 (strstr): Renamed to ...
41435 (__libc_strstr): This.
41436 (strstr): New strong alias of __libc_strstr.
41437 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41438 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41439 __redirect_time.
41440 Include <time.h>.
41441 (__libc_time): New prototype.
41442 (time_ifunc): Replace time with __libc_time.
41443 (time): New strong alias and hidden definition of __libc_time.
41444 (__GI_time): Remove strong alias.
41445 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41446 Include <stddef.h>.
41447 (memmove): Redefined to __redirect_memmove.
41448 (__memmove_sse2): Use typeof __redirect_memmove.
41449 (__memmove_ssse3): Likewise.
41450 (__memmove_ssse3_back): Likewise.
41451 (__libc_memmove): New prototype.
41452 (memmove): Renamed to ...
41453 (__libc_memmove): This.
41454 (memmove): New strong alias of __libc_memmove.
41455
33b4a91e
MS
414562012-08-08 Mark Salter <msalter@redhat.com>
41457
41458 * elf/elf.h
41459 (R_MN10300_TLS_GD): Define.
41460 (R_MN10300_TLS_LD): Likewise.
41461 (R_MN10300_TLS_LDO): Likewise.
41462 (R_MN10300_TLS_GOTIE): Likewise.
41463 (R_MN10300_TLS_IE): Likewise.
41464 (R_MN10300_TLS_LE): Likewise.
41465 (R_MN10300_TLS_DTPMOD): Likewise.
41466 (R_MN10300_TLS_DTPOFF): Likewise.
41467 (R_MN10300_TLS_TPOFF): Likewise.
41468 (R_MN10300_SYM_DIFF): Likewise.
41469 (R_MN10300_ALIGN): Likewise.
41470 (R_MN10300_NUM): Update.
41471
b36137f1
JM
414722012-08-08 Joseph Myers <joseph@codesourcery.com>
41473
41474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41475 Remove.
41476
cdd915fd
RM
414772012-08-08 Roland McGrath <roland@hack.frob.com>
41478
a2433aac
RM
41479 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41480
cdd915fd
RM
41481 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41482 sysdeps/unix -> sysdeps/posix move.
41483 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41484
bf9b740a
AM
414852012-08-07 Allan McRae <allan@archlinux.org>
41486
41487 [BZ #14303]
41488 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41489 (SUNOS_CPP): Likewise.
41490 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41491 not found.
41492 (open_input): Call CPP using execvp.
41493
93df14ee
JM
414942012-08-07 Joseph Myers <joseph@codesourcery.com>
41495
41496 * sysdeps/unix/sysv/linux/kernel-features.h
41497 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41498 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41499 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41500 (__ASSUME_WAITID_SYSCALL): Likewise.
41501 * sysdeps/unix/sysv/linux/dl-execstack.c
41502 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41503 code unconditional.
41504 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41505 conditional code.
41506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41507 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41508 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41509 code.
41510 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41511 unconditional.
41512 [__ASSUME_WAITID_SYSCALL]: Likewise.
41513 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41514
d34689de
RM
415152012-08-07 Roland McGrath <roland@hack.frob.com>
41516
a281decc
RM
41517 * sysdeps/unix/closedir.c: Renamed to ...
41518 * sysdeps/posix/closedir.c: ... here.
41519 * sysdeps/unix/dirfd.c: Renamed to ...
41520 * sysdeps/posix/dirfd.c: ... here.
41521 * sysdeps/unix/dirstream.h: Renamed to ...
41522 * sysdeps/posix/dirstream.h: ... here.
41523 * sysdeps/unix/fdopendir.c: Renamed to ...
41524 * sysdeps/posix/fdopendir.c: ... here.
41525 * sysdeps/unix/opendir.c: Renamed to ...
41526 * sysdeps/posix/opendir.c: ... here.
41527 * sysdeps/unix/readdir.c: Renamed to ...
41528 * sysdeps/posix/readdir.c: ... here.
41529 * sysdeps/unix/readdir_r.c: Renamed to ...
41530 * sysdeps/posix/readdir_r.c: ... here.
41531 * sysdeps/unix/rewinddir.c: Renamed to ...
41532 * sysdeps/posix/rewinddir.c: ... here.
41533 * sysdeps/unix/seekdir.c: Renamed to ...
41534 * sysdeps/posix/seekdir.c: ... here.
41535 * sysdeps/unix/telldir.c: Renamed to ...
41536 * sysdeps/posix/telldir.c: ... here.
41537 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41538 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41539 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41540 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41541
22895b47
RM
41542 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41543 * bits/fcntl.h: ... here.
41544
707a53b6
RM
41545 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41546 not 0.
41547 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41548 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41549 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41550 (struct flock): Move l_start, l_len to the beginning.
41551 Use __pid_t for l_pid.
41552 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41553 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41554 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41555 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41556 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41557 [__USE_LARGEFILE64] (struct flock64): New type.
41558 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41559
f0bd3e25
RM
41560 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41561 * bits/dirent.h: ... here.
41562
d34689de
RM
41563 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41564 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41565
6dad2c06
JM
415662012-08-07 Joseph Myers <joseph@codesourcery.com>
41567
41568 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41569 Change from 2.6.0 to 2.6.16.
41570 * sysdeps/unix/sysv/linux/configure: Regenerated.
41571 * sysdeps/unix/sysv/linux/kernel-features.h
41572 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41573 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41574 version.
41575 (__ASSUME_UTIMES): Likewise.
41576 (__ASSUME_CLONE_STOPPED): Remove.
41577 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41578 architectures, not kernel version.
41579 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41580 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41581 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41582 (__ASSUME_WAITID_SYSCALL): Likewise.
41583 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41584 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41585 * README: State 2.6.16 as minimum Linux kernel version. Do not
41586 refer to older versions.
41587
03af9520
RM
415882012-08-06 Roland McGrath <roland@hack.frob.com>
41589
8e49df1d
RM
41590 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41591 Define alphasort64 as an alias.
41592 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41593 Define versionsort64 as an alias.
41594 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41595 Define scandir64 as an alias.
41596 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41597 Define scandirat64 as an alias.
41598 * dirent/alphasort64.c (alphasort64):
41599 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41600 * dirent/versionsort64.c: Likewise.
41601 * dirent/scandir64.c: Likewise.
41602 * dirent/scandirat64.c: Likewise.
41603 * sysdeps/wordsize-64/alphasort.c: File removed.
41604 * sysdeps/wordsize-64/alphasort64.c: File removed.
41605 * sysdeps/wordsize-64/scandir.c: File removed.
41606 * sysdeps/wordsize-64/scandir64.c: File removed.
41607 * sysdeps/wordsize-64/scandirat.c: File removed.
41608 * sysdeps/wordsize-64/scandirat64.c: File removed.
41609 * sysdeps/wordsize-64/versionsort.c: File removed.
41610 * sysdeps/wordsize-64/versionsort64.c: File removed.
41611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41619
41620 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41622 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41624 [defined __arch64__ || defined __sparcv9]
41625 (__INO_T_MATCHES_INO64_T): New macro.
41626 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41627 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41628 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41629 * sysdeps/unix/sysv/linux/bits/dirent.h
41630 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41631 (_DIRENT_MATCHES_DIRENT64): New macro.
41632
03af9520
RM
41633 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41634 Define lockf64 as an alias.
41635 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41636 Define fseeko64 as an alias.
41637 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41638 Define ftello64 as an alias.
41639 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41640 Define _IO_fgetpos64 and fgetpos64 as aliases.
41641 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41642 Define _IO_fsetpos64 and fsetpos64 as aliases.
41643 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41644 Conditionalize body on this.
41645 * libio/fseeko64.c: Likewise.
41646 * libio/ftello64.c: Likewise.
41647 * libio/iofgetpos64.c: Likewise.
41648 * libio/iofsetpos64.c: Likewise.
41649 * sysdeps/wordsize-64/lockf.c: File removed.
41650 * sysdeps/wordsize-64/lockf64.c: File removed.
41651 * sysdeps/wordsize-64/fseeko.c: File removed.
41652 * sysdeps/wordsize-64/fseeko64.c: File removed.
41653 * sysdeps/wordsize-64/ftello.c: File removed.
41654 * sysdeps/wordsize-64/ftello64.c: File removed.
41655 * sysdeps/wordsize-64/iofgetpos.c: File removed.
41656 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41657 * sysdeps/wordsize-64/iofsetpos.c: File removed.
41658 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41659 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41661 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41663 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41665 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41666 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41669
41670 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41672 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41674 [defined __arch64__ || defined __sparcv9]
41675 (__OFF_T_MATCHES_OFF64_T): New macro.
41676 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41677 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41679 (__OFF_T_MATCHES_OFF64_T): New macro.
41680
c5757acd
L
416812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41682
41683 * stdlib/secure-getenv.c (__secure_getenv): Replace
41684 GLIBC_2_16 with GLIBC_2_17.
41685
3a31811e
L
416862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41687
41688 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41690
faa2bccb
DM
416912012-08-03 David S. Miller <davem@davemloft.net>
41692
41693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41694
85fe1997
JM
416952012-08-03 Joseph Myers <joseph@codesourcery.com>
41696
41697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41698 Remove.
41699 (__ASSUME_CORRECT_SI_PID): Likewise.
41700 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41701 (__ASSUME_TMPFS_NAME): Likewise.
41702 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41703 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41704 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41705 (HAVE_AUX_SECURE): Make definition unconditional.
41706 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41707 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41708
4f75b7a0
RM
417092012-08-03 Roland McGrath <roland@hack.frob.com>
41710
41711 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41712 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41713 * sysdeps/mach/hurd/eloop-threshold.h: New file.
41714 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41715 __eloop_threshold instead of SYMLOOP_MAX.
41716
41717 * sysdeps/generic/eloop-threshold.h: New file.
41718 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41719 of MAXSYMLINKS.
41720 * elf/chroot_canon.c (chroot_canon): Likewise.
41721
7aab07e4
JM
417222012-08-03 Joseph Myers <joseph@codesourcery.com>
41723
41724 [BZ #13717]
41725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41726 Change to 2.6.0 everywhere.
41727 * sysdeps/unix/sysv/linux/configure: Regenerated.
41728 * sysdeps/unix/sysv/linux/kernel-features.h
41729 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41730 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41731 kernel versions.
41732 (__ASSUME_POSIX_TIMERS): Define unconditionally.
41733 (__ASSUME_FUTEX_REQUEUE): Remove.
41734 (__ASSUME_STATFS64): Define unconditionally.
41735 (__ASSUME_AT_SECURE): Likewise.
41736 (__ASSUME_CORRECT_SI_PID): Likewise.
41737 (__ASSUME_TGKILL): Define without depending on kernel version for
41738 i386.
41739 (__ASSUME_UTIMES): Likewise.
41740 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41741 kernel version.
41742 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41743 (__ASSUME_TMPFS_NAME): Likewise.
41744 * README: Update reference to Linux kernel versions.
41745
b67e9372
MP
417462012-08-02 Marek Polacek <polacek@redhat.com>
41747
1f529f7d 41748 [BZ# 14150]
b67e9372
MP
41749 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
41750 libc_cv_asm_type_prefix with %.
41751 * configure: Regenerated.
d2441631
RM
41752 * include/libc-symbols.h: Remove comment about
41753 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
41754 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41755 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41756 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41757 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41758 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41759 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41760 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41761 * elf/tst-unique2mod1.c: Likewise.
41762 * elf/tst-unique1mod2.c: Likewise.
41763 * elf/tst-unique1mod1.c: Likewise.
41764 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41765 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41766 Replace ASM_TYPE_DIRECTIVE with .type.
41767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41768 * sysdeps/i386/sysdep.h: Likewise.
41769 * sysdeps/x86_64/sysdep.h: Likewise.
41770 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
41771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41772 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 41773 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
41774 * sysdeps/powerpc/powerpc32/sysdep.h:
41775 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
41776 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41777 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41778 * sysdeps/i386/fpu/e_powf.S: Likewise.
41779 * sysdeps/i386/fpu/e_expl.S: Likewise.
41780 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41781 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41782 * sysdeps/i386/fpu/e_pow.S: Likewise.
41783 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41784 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41785 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41786 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41787 * sysdeps/i386/fpu/e_log2.S: Likewise.
41788 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41789 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41790 * sysdeps/i386/fpu/e_powl.S: Likewise.
41791 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41792 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41793 * sysdeps/i386/fpu/e_logl.S: Likewise.
41794 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41795 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41796 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41797 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41798 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41799 * sysdeps/i386/fpu/e_log.S: Likewise.
41800 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41801 * sysdeps/i386/fpu/e_logf.S: Likewise.
41802 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41803 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41804 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41805 * sysdeps/i386/fpu/e_log10.S: Likewise.
41806 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41807 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41808 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41809 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41810 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41811 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41812 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41813 * sysdeps/i386/i686/strtok.S: Likewise.
41814 * sysdeps/i386/i386-mcount.S: Likewise.
41815 * sysdeps/i386/strtok.S: Likewise.
41816 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41818 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41819 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41820 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41821 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41822 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41823 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41824 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41825 * sysdeps/x86_64/_mcount.S: Likewise.
41826 * sysdeps/x86_64/strtok.S: Likewise.
41827 * sysdeps/sh/_mcount.S: Likewise.
41828
2747bf9a
RM
418292012-08-01 Roland McGrath <roland@hack.frob.com>
41830
41831 * libio/iofopen.c: Include <fcntl.h>.
41832 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41833 (_IO_fopen64, fopen64): Define as aliases.
41834 * libio/iofopen64.c: Include <fcntl.h>.
41835 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41836 Conditionalize body on this.
41837 * sysdeps/wordsize-64/iofopen.c: File removed.
41838 * sysdeps/wordsize-64/iofopen64.c: File removed.
41839
3fb791b8
MP
418402012-08-01 Marek Polacek <polacek@redhat.com>
41841
41842 * libc/Makeconfig: Use elf in place of binfmt-subdir.
41843 Use dlfcn directly instead of a variable.
41844 (binfmt-subdir): Do not define.
41845 (dlfcn): Likewise.
41846
a9f1039f
JM
418472012-08-01 Joseph Myers <joseph@codesourcery.com>
41848
23bddc06
JM
41849 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41850 Remove all definitions.
41851 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41852 <kernel-features.h>.
41853 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41854 (miss_F_GETOWN_EX): Remove all definitions.
41855 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41856 macro definition.
41857 [!__ASSUME_FCNTL64]: Remove conditional code.
41858 [__ASSUME_FCNTL64]: Make code unconditional.
41859 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41860 <kernel-features.h>.
41861 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41862 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41863 (lockf64) [__NR_fcntl64]: Make code unconditional.
41864 (lockf64) [__ASSUME_FCNTL64]: Likewise.
41865
a9f1039f
JM
41866 * sysdeps/unix/sysv/linux/kernel-features.h
41867 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41868 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41869 Make code unconditional.
41870 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41871 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41873 [__NR_vfork]: Make code unconditional.
41874 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41875 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41877 [__NR_vfork]: Make code unconditional.
41878 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41879 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41880
09c0ee5f
RM
418812012-08-01 Roland McGrath <roland@hack.frob.com>
41882
48aec5b9
RM
41883 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41884 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41885
cd97c966
RM
41886 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41887 Define mkstemp64 as an alias.
3f55550c
RM
41888 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41889 Define mkstemps64 as an alias.
cd97c966
RM
41890 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41891 Define mkostemp64 as an alias.
b8625cfc
RM
41892 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41893 Define mkostemps64 as an alias.
cd97c966
RM
41894 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41895 Conditionalize body on this.
41896 * misc/mkostemp64.c: Likewise.
b8625cfc 41897 * misc/mkostemps64.c: Likewise.
3f55550c 41898 * misc/mkstemps64.c: Likewise.
cd97c966
RM
41899 * sysdeps/wordsize-64/mkstemp64.c: File removed.
41900 * sysdeps/wordsize-64/mkostemp64.c: File removed.
41901 * sysdeps/wordsize-64/mkostemp.c: File removed.
41902 * sysdeps/wordsize-64/mkstemp.c: File removed.
41903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41904 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41906 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41907
09c0ee5f
RM
41908 [BZ #14138]
41909 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41910 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41911 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41912 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41913
41914 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41915 compat_symbol macros from <shlib-compat.h> rather than the underlying
41916 default_symbol_version and symbol_version macros, so that DEFAULT
41917 lines in shlib-versions are respected.
41918 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41919
7e66ee51
FW
419202012-08-01 Florian Weimer <fweimer@redhat.com>
41921
41922 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41923 Declare with warn_unused_result.
41924 (setgid, setregid, setegid, setresgid): Likewise.
41925 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41926 Likewise.
41927 * WUR-REPORT: Remove set*id functions.
41928
d2a54255
PT
419292012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41930
41931 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41932
7ecdb005
RM
419332012-07-31 Roland McGrath <roland@hack.frob.com>
41934
b4180a5e 41935 [BZ #10191]
789bd351
RM
41936 * include/sys/socket.h (__libc_accept, __libc_accept4):
41937 Add attribute_hidden.
41938 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41939
40ce302d
RM
41940 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41941 use of PTR_MANGLE.
41942 * inet/getnetgrent_r.c (setup): Likewise.
41943
7ecdb005
RM
41944 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41945
e2eabb2c
DM
419462012-07-31 David S. Miller <davem@davemloft.net>
41947
41948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41949
d0419dbf
JM
419502012-07-31 Joseph Myers <joseph@codesourcery.com>
41951
41952 [BZ #13629]
41953 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41954 value between 1.0 and 2.0 and smaller part has absolute value less
41955 than 1.0.
41956 * math/s_clog10.c (__clog10): Likewise.
41957 * math/s_clog10f.c (__clog10f): Likewise.
41958 * math/s_clog10l.c (__clog10l): Likewise.
41959 * math/s_clogf.c (__clogf): Likewise.
41960 * math/s_clogl.c (__clogl): Likewise.
41961 * math/libm-test.inc (clog_test): Add more tests.
41962 (clog10_test): Likewise.
41963 * sysdeps/i386/fpu/libm-test-ulps: Update.
41964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41965
2bc13872
FW
419662012-07-31 Florian Weimer <fweimer@redhat.com>
41967
41968 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41969 Exit with zero in case no suitable GID is found, and write a
41970 message to standard error.
41971
bea9b193
RM
419722012-07-30 Roland McGrath <roland@hack.frob.com>
41973
41974 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41975 rather than to 1.
41976 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41977 (MAXPATHLEN): Removed.
41978 (NOGROUP, NODEV): New macros.
41979 (setbit, clrbit, isset, isclr): New macros.
41980 (howmany, roundup, powerof2): New macros.
41981 (DEV_BSIZE): New macro.
41982
41983 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41984 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41985
41986 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41987 definition on [!__NO_LONG_DOUBLE_MATH].
41988
41989 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41990 PTR_MANGLE and PTR_DEMANGLE.
41991
41992 * socket/accept4.c (accept4): Rename to __libc_accept4.
41993 Define accept4 as a weak alias.
41994
41995 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41996 on [_DIRENT_HAVE_D_TYPE].
41997 * io/ftw.c (ftw_dir): Likewise.
41998
41999 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42000
42001 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42002
42003 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42004 Use the BSD numbers rather than the arbitrary ones we had.
42005 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42006 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42007 (SIGXCPU, SIGXFSZ): New macros.
42008 (_NSIG): Now 32.
42009
42010 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42011 initializer on [_LIBC_REENTRANT].
42012
42013 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42014 definitions inside [_POSIX_MAPPED_FILES].
42015
42016 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42017
42018 * dirent/opendir.c: Include <fcntl.h>.
42019
42020 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42021 (__libc_getspecific): Likewise.
42022 (__libc_key_create): Likewise.
42023
42024 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42025 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42026 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42027 (tmpfile64): Define as alias.
42028 * sysdeps/wordsize-64/tmpfile.c: File removed.
42029 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42030 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42031 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42032
42033 * stdio-common/vfscanf.c: Include <stdbool.h>.
42034 * nss/makedb.c: Likewise.
42035 * stdio-common/_i18n_number.h: Likewise.
42036 * argp/argp-help.c: Likewise.
42037 * posix/wordexp.c: Likewise.
42038 * sysdeps/posix/spawni.c: Likewise.
42039 * nss/nss_files/files-initgroups.c: Likewise.
42040 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42041 * nss/nss_files/files-initgroups.c: Likewise.
42042 * nss/nss_db/db-netgrp.c: Likewise.
42043 * nss/nss_db/db-initgroups.c: Likewise.
42044 * io/fchmodat.c: Include <sys/stat.h>.
42045
42046 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42047 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42048
42049 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42050 [HAVE_MMAP].
42051
42052 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42053 Add multiple inclusion protection.
42054
e5abc686
DM
420552012-07-27 David S. Miller <davem@davemloft.net>
42056
42057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42058
815e6fa3
GB
420592012-07-27 Gary Benson <gbenson@redhat.com>
42060
42061 [BZ #14298]
42062 * elf/rtld.c: Include <stap-probe.h>.
42063 (dl_main): Added static probes "init_start" and "init_complete".
42064 * elf/dl-load.c: Include <stap-probe.h>.
42065 (lose): Take new parameter "nsid".
42066 Added static probe "map_failed".
42067 (_dl_map_object_from_fd): Pass namespace id to lose.
42068 Added static probe "map_start".
42069 (open_verify): Pass namespace id to lose.
42070 * elf/dl-open.c: Include <stap-probe.h>.
42071 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42072 and "reloc_complete".
42073 * elf/dl-close.c: Include <stap-probe.h>.
42074 (_dl_close_worker): Added static probes "unmap_start" and
42075 "unmap_complete".
42076 * elf/rtld-debugger-interface.txt: New file documenting the above.
42077
9f98c16c
RM
420782012-07-26 Roland McGrath <roland@hack.frob.com>
42079
42080 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42081 rather than a string variable.
42082 * sunrpc/rpc_main.c (h_output): Likewise.
42083 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42084
f3c22df3
PT
420852012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42086
42087 * inet/check_native.c: New file.
42088
3129cfc6
JM
420892012-07-26 Joseph Myers <joseph@codesourcery.com>
42090
da865e95
JM
42091 [BZ #13629]
42092 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42093 if larger part has absolute value 1.0.
42094 * math/s_clog10.c (__clog10): Likewise.
42095 * math/s_clog10f.c (__clog10f): Likewise.
42096 * math/s_clog10l.c (__clog10l): Likewise.
42097 * math/s_clogf.c (__clogf): Likewise.
42098 * math/s_clogl.c (__clogl): Likewise.
42099 * math/libm-test.inc (clog_test): Add more tests.
42100 (clog10_test): Likewise.
42101 * sysdeps/i386/fpu/libm-test-ulps: Update.
42102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42103
3129cfc6
JM
42104 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42105 (pltexit): Likewise.
42106 (La_regs): Likewise.
42107 (La_retval): Likewise.
42108 (int_retval): Likewise.
42109 Update #error for removed macros to refer only to definitions in
42110 tst-audit.h.
42111 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42112 macro.
42113 (pltexit): Likewise.
42114 (La_regs): Likewise.
42115 (La_retval): Likewise.
42116 (int_retval): Likewise.
42117 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42118 macro.
42119 (pltexit): Likewise.
42120 (La_regs): Likewise.
42121 (La_retval): Likewise.
42122 (int_retval): Likewise.
42123 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42124 macro.
42125 (pltexit): Likewise.
42126 (La_regs): Likewise.
42127 (La_retval): Likewise.
42128 (int_retval): Likewise.
42129 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42130 macro.
42131 (pltexit): Likewise.
42132 (La_regs): Likewise.
42133 (La_retval): Likewise.
42134 (int_retval): Likewise.
42135 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42136 macro.
42137 (pltexit): Likewise.
42138 (La_regs): Likewise.
42139 (La_retval): Likewise.
42140 (int_retval): Likewise.
42141 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42142 macro.
42143 (pltexit): Likewise.
42144 (La_regs): Likewise.
42145 (La_retval): Likewise.
42146 (int_retval): Likewise.
42147 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42148 macro definitions in tst-audit.h.
42149 * sysdeps/i386/tst-audit.h: New file.
42150 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42151 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42152 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42153 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42154 * sysdeps/sh/tst-audit.h: Likewise.
42155 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42156 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42157 * sysdeps/x86_64/tst-audit.h: Likewise.
42158
bfc07087
AJ
421592012-07-26 Andreas Jaeger <aj@suse.de>
42160
b1b2aaf8
AJ
42161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42162 ptrace.
42163
42164 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42165 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42166 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42167 PTRACE_O_MASK.
42168 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42169 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42170 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42171
bfc07087
AJ
42172 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42173 value.
42174
42175 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42176 _sigsys.
42177 (si_call_addr, si_syscall, si_arch): Define new macro.
42178 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42179 _sigsys.
42180 (si_call_addr, si_syscall, si_arch): Define new marcro.
42181 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42182 _sigsys.
42183 (si_call_addr, si_syscall, si_arch): Define new macro.
42184 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42185 _sigsys.
42186 (si_call_addr, si_syscall, si_arch): Define new macro.
42187
89b4b02f
JM
421882012-07-25 Joseph Myers <joseph@codesourcery.com>
42189
42190 [BZ #13717]
42191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42192 Change to 2.4.21 where previously 2.4.1.
42193 * sysdeps/unix/sysv/linux/configure: Regenerated.
42194 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42195 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42196 Linux kernel version.
42197 (__ASSUME_STD_AUXV): Remove.
42198 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42199 kernel version.
42200 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42201 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42202 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42203 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42204 (__ASSUME_NETLINK_SUPPORT): Likewise.
42205 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42206 (__no_netlink_support): Remove conditional definition.
42207 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42208 Remove.
42209 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42210 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42211 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42212 (if_nameindex_ioctl): Remove.
42213 (if_nameindex_netlink): Do not handle __no_netlink_support.
42214 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42215 code.
42216 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42217 Remove conditional code.
42218 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42219 code.
42220 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42221 unconditional.
42222 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42223 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42224 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42225 Remove.
42226 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42227 [!__ASSUME_STD_AUXV]: Remove conditional code.
42228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42229 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42230 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42232 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42233 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42234 code.
42235 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42237 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42238 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42239 conditional code.
42240 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42242 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42243 code.
42244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42245 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42246 conditional code.
42247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42248 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42249 code unconditional.
42250 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42251 conditional code.
42252 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42253 unconditional.
42254 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42255 conditional code.
42256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42257 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42258 unconditional.
42259 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42260 conditional code.
42261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42262 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42263 code unconditional.
42264 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42265 conditional code.
42266 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42267 unconditional.
42268 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42269 conditional code.
42270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42271 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42272 code unconditional.
42273 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42274 conditional code.
42275 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42276 unconditional.
42277 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42278 conditional code.
42279
842a39cd
AS
422802012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42281
42282 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42283 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42284 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42285 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42286 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42287 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42288 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42289 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42290 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42291 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42292 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42293 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42294 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42295 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42296 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42297 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42298 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42299 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42300 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42302 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42303 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42304 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42305
84b3fd84
FW
423062012-07-25 Florian Weimer <fweimer@redhat.com>
42307
42308 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
42309 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42310 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42311 Introduce __libc_secure_getenv.
0c7936d5
FW
42312 * stdlib/Versions (2.17): Add secure_getenv
42313 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42314 * stdlib/secure-getenv.c: Rename __secure_getenv to
42315 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42316 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
42317 * stdlib/tst-secure-getenv.c: New.
42318 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
42319 * manual/startup.texi (Environment Access): Document
42320 secure_getenv.
84b3fd84
FW
42321 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42322 __libc_secure_getenv.
42323 * inet/ruserpass.c (ruserpass): Likewise.
42324 * malloc/mtrace.c (mtrace): Likewise.
42325 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 42326 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
42327 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42328 * sysdeps/posix/tempname.c: Likewise. Evaluate
42329 HAVE_SECURE_GETENV.
42330 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 42331 __secure_getenv to __libc_secure_getenv.
84b3fd84 42332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
42333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42334 Likewise.
42335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42336 Likewise.
42337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 42344
56e49b71
JM
423452012-07-25 Joseph Myers <joseph@codesourcery.com>
42346
42347 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42348 (struct La_i86_retval): Likewise.
42349 (struct La_x86_64_regs): Likewise.
42350 (struct La_x86_64_retval): Likewise.
42351 (struct La_x32_regs): Likewise.
42352 (struct La_x32_retval): Likewise.
42353 (struct La_ppc32_regs): Likewise.
42354 (struct La_ppc32_retval): Likewise.
42355 (struct La_ppc64_regs): Likewise.
42356 (struct La_ppc64_retval): Likewise.
42357 (struct La_sh_regs): Likewise.
42358 (struct La_sh_retval): Likewise.
42359 (struct La_s390_32_regs): Likewise.
42360 (struct La_s390_32_retval): Likewise.
42361 (struct La_s390_64_regs): Likewise.
42362 (struct La_s390_64_retval): Likewise.
42363 (struct La_sparc32_regs): Likewise.
42364 (struct La_sparc32_retval): Likewise.
42365 (struct La_sparc64_regs): Likewise.
42366 (struct La_sparc64_retval): Likewise.
42367 (struct audit_ifaces): Remove architecture-specific pltenter and
42368 pltexit members.
42369 * sysdeps/i386/ldsodefs.h: New file.
42370 * sysdeps/powerpc/ldsodefs.h: Likewise.
42371 * sysdeps/s390/ldsodefs.h: Likewise.
42372 * sysdeps/sh/ldsodefs.h: Likewise.
42373 * sysdeps/sparc/ldsodefs.h: Likewise.
42374 * sysdeps/x86_64/ldsodefs.h: Likewise.
42375
354691b7
MP
423762012-07-25 Marek Polacek <polacek@redhat.com>
42377
42378 [BZ #6808]
42379 * math/libm-test.inc (yn_test): Add another test.
42380 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42381 to ERANGE when the result is +-Inf.
42382 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42383 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42384 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42385 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42386
bf9e2071
JM
423872012-07-24 Joseph Myers <joseph@codesourcery.com>
42388
42389 * conform/data/time.h-data (NULL): Use macro-constant. Require
42390 equal to 0.
42391 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42392 clock_t.
42393 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42394
57633811
TS
423952012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42396
42397 * configure.in <sysdeps resolving>: Correct printing
42398 Implies_before.
42399 * configure: Regenerate.
42400
c23c33b0
TS
424012012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42402
42403 * math/w_ilogb.c: Include <limits.h>.
42404 * math/w_ilogbl.c: Likewise.
42405
b5982523
JM
424062012-07-20 Joseph Myers <joseph@codesourcery.com>
42407
42408 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42409 va_copy. Document allowing for unavailable va_copy only as
42410 pre-C99 compatibility.
42411 * manual/string.texi (Copying and Concatenation): Use va_copy
42412 instead of __va_copy in concat example.
42413
ac4ea442
PT
424142012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42415
42416 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42417 (__sendto): Use create_address_port. Initialize APORT and deallocate
42418 it if not null.
42419
f98eafbd
PT
42420 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42421 with O_NOLINK passed to __file_name_lookup.
42422
898c7aab
PT
42423 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42424 with O_NOLINK passed to __file_name_lookup.
42425
0ced335a
PT
42426 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42427 negative N or less than NGIDS.
42428
b3404dbd
PT
42429 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42430 type to string_t. Set ERANGE as errno and return it if NAME is not big
42431 enough. Use memcpy instead of strncpy.
42432
0f48659e
JM
424332012-07-20 Joseph Myers <joseph@codesourcery.com>
42434
42435 * elf/Makefile (check-data): Remove.
42436 (localplt.data): New vpath directive.
42437 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42438 instead of $(check-data).
42439 * scripts/data/localplt-generic.data: Move to ...
42440 * sysdeps/generic/localplt.data: ... here.
42441 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42442 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42443 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42445 ... here.
42446 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42448 ... here.
42449 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42451 ... here.
42452 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42454 ... here.
42455 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42457 ... here.
42458 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42460 ... here.
42461
d37cbdaa
AZ
424622012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42463
42464 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42465 PPC32 and PPC64 files.
42466 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42467 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42468
46f85fc2
AK
424692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42470
42471 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42472 __makecontext_ret to ...
42473 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42474 ... here and call exit if uc_link is NULL. New file.
42475 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42476 __makecontext_ret.S.
42477 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42478 __makecontext_ret to ...
42479 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42480 ... here and call exit if uc_link is NULL. New file.
42481 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42482 __makecontext_ret.S.
42483
08f43f9b
AK
424842012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42485
42486 * elf/elf.h (R_390_IRELATIVE): New definition.
42487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42488 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42489 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42490 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42491 (elf_machine_lazy_rel): Likewise.
42492 * sysdeps/s390/dl-irel.h: New file.
42493 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42494 * sysdeps/s390/s390-64/memset.S: New asm code.
42495 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42496 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42497 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42498 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42499 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42500 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42501 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42502 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42503 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42504 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42505 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42506 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42507 * sysdeps/s390/s390-32/memset.S: New asm code.
42508 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42509
3b05db33
MP
425102012-07-17 Marek Polacek <polacek@redhat.com>
42511
42512 [BZ #14349]
42513 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42514 * sysdeps/s390/s390-64/configure.in: Likewise.
42515 * sysdeps/sparc/configure.in: Likewise.
42516 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42517 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42518 * sysdeps/i386/configure.in: Likewise.
42519 * sysdeps/x86_64/configure.in: Likewise.
42520 * sysdeps/sh/configure.in: Likewise.
42521 * sysdeps/s390/s390-32/configure: Regenerated.
42522 * sysdeps/s390/s390-64/configure: Likewise.
42523 * sysdeps/x86_64/configure: Likewise.
42524 * sysdeps/sh/configure: Likewise.
42525 * sysdeps/powerpc/powerpc64/configure: Likewise.
42526 * sysdeps/powerpc/powerpc32/configure: Likewise.
42527 * sysdeps/sparc/configure: Likwise.
42528 * sysdeps/i386/configure: Likewise.
42529
a66877c6
MP
42530 * elf/dl-open.c: Comment fixes.
42531
cfc82fd8
JM
425322012-07-17 Joseph Myers <joseph@codesourcery.com>
42533
bd29910a
JM
42534 * Makefile [CXX] (check-data): Remove.
42535 [CXX] (c++-types.data): New vpath directive.
42536 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42537 vpath. Do not allow for C++ type data being missing.
42538 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42539 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42540 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42541 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42542 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42543 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42544 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42546 ... here.
42547 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42549 ... here.
42550 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42552 ... here.
42553 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42555 ... here.
42556 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42558 ... here.
42559 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42561 ... here.
42562 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42564 ... here.
42565 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42567
cfc82fd8
JM
42568 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42569 definitions to architecture-specific files.
42570 (TLS_IE): Likewise.
42571 (TLS_LD): Likewise.
42572 (TLS_GD): Likewise.
42573 * sysdeps/i386/tls-macros.h: New file.
42574 * sysdeps/powerpc/tls-macros.h: Likewise.
42575 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42576 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42577 * sysdeps/sh/tls-macros.h: Likewise.
42578 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42579 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42580 * sysdeps/x86_64/tls-macros.h: Likewise.
42581
f7db3170
TS
425822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42583
07cbfc23
TS
42584 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42585 zero value for regular exit case.
42586
f7db3170
TS
42587 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42588 (__start_context): Preserve zero value for regular exit case.
42589
dc97c227
TS
425902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42591 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42592
42593 * manual/setjmp.texi (setcontext): Clarify normal process
42594 termination when uc_link is the null pointer.
42595 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42596 exit call.
42597
d0cd7d02
AS
425982012-07-16 Andreas Schwab <schwab@linux-m68k.org>
42599
42600 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42601 preprocessor. Test for each exception mask separately.
42602
dd318934
AJ
426032012-07-16 Andreas Jaeger <aj@suse.de>
42604
42605 * po/ru.po: Update from translation team.
42606
8048311a
JM
426072012-07-15 Joseph Myers <joseph@codesourcery.com>
42608
42609 * conform/data/string.h-data (NULL): Use macro-constant. Require
42610 equal to 0.
42611 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42612 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42613 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42614 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42616
b637d46e
AJ
426172012-07-13 Andreas Jaeger <aj@suse.de>
42618
42619 * po/fr.po: Update from translation team.
42620
541428fe
MP
426212012-07-12 Marek Polacek <polacek@redhat.com>
42622
42623 [BZ #14173]
42624 * math/libm-test.inc (yn_test): Add test for BZ #14173.
42625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42626 loop condition.
42627
ec332e94
JM
426282012-07-12 Joseph Myers <joseph@codesourcery.com>
42629
42630 [BZ #13717]
42631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42632 Change to 2.4.1 where previously 2.4.0.
42633 * sysdeps/unix/sysv/linux/configure: Regenerated.
42634 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42635 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42636 version.
42637 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42638 (__ASSUME_AT_CLKTCK): Remove.
42639 (__ASSUME_AT_PAGESIZE): Likewise.
42640 (__ASSUME_AT_XID): Likewise.
42641 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42642 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42643 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42644 unconditionally.
42645 (HAVE_AUX_PAGESIZE): Likewise.
42646 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42647 [__ASSUME_AT_CLKTCK]: Make code unconditional.
42648 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42649
7b6e99be
JB
426502012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
42651
42652 [BZ #14307]
42653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42654 the temporary buffer used to invoke __gethostbyname2_r,
42655 __gethostbyaddr_r and gethostbyname4_r to make room for struct
42656 host_data / struct gaih_addrtuple.
42657 * resolv/nss_dns/dns-host.c (global scope): Move definition of
42658 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42659 header file nss/nsswitch.h.
42660 * nss/nsswitch.h (global scope): Add definition of implementation
42661 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42662 resolv/nss_dns/dns-host.c).
42663
608404eb
AJ
426642012-07-11 Andreas Jaeger <aj@suse.de>
42665
42666 * po/fr.po: Update from translation team.
42667
71220aca
AJ
42668 * po/sv.po: Update from translation team
42669 * po/fr.po: Another update from translation team.
42670
28cfe843
AZ
426712012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42672
42673 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42674 for subnormals or multiply small sinh result by itself.
42675 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42677
6b90f981
DM
426782012-07-11 David S. Miller <davem@davemloft.net>
42679
42680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42681
c6825772
AS
426822012-07-10 Andreas Schwab <schwab@linux-m68k.org>
42683
42684 [BZ #14347]
42685 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42686 (INTERNAL_MARK): Shift it here.
42687
7b8e0d49
MP
426882012-07-10 Marek Polacek <polacek@redhat.com>
42689
42690 [BZ #14151]
42691 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
42692 libc_cv_asm_global_directive with .globl.
42693 * configure: Regenerated.
42694 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42695 with .globl.
42696 * sysdeps/i386/configure: Regenerated.
42697 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42698 with .globl.
42699 * sysdeps/x86_64/configure: Regenerated.
42700 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42701 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42702 * elf/tst-unique2mod2.c: Likewise.
42703 * elf/tst-unique2mod1.c: Likewise.
42704 * elf/tst-unique1mod2.c: Likewise.
42705 * elf/tst-unique1mod1.c: Likewise.
42706 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42707 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42709 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42710 * sysdeps/mach/sysdep.h: Likewise.
42711 * sysdeps/i386/sysdep.h: Likewise.
42712 * sysdeps/i386/i386-mcount.S: Likewise.
42713 * sysdeps/x86_64/_mcount.S: Likewise.
42714 * sysdeps/x86_64/sysdep.h: Likewise.
42715 * sysdeps/sh/_mcount.S: Likewise.
42716 * sysdeps/sh/sysdep.h: Likewise.
42717 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42718 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42719 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42720 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42721 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42722 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42723 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42724 * locale/localeinfo.h: Likewise.
42725 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42726 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42727
6c55cda3
RM
427282012-07-09 Roland McGrath <roland@hack.frob.com>
42729
42730 [BZ #14336]
42731 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42732 system".
42733 * manual/message.texi (The Uniforum approach): Likewise.
42734 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42735 (glibc iconv Implementation): Likewise.
42736
638a572e
JM
427372012-07-09 Joseph Myers <joseph@codesourcery.com>
42738
42739 [BZ #14337]
42740 * math/s_clog.c (__clog): Avoid scaling a value down where that
42741 could result in underflow.
42742 * math/s_clog10.c (__clog10): Likewise.
42743 * math/s_clog10f.c (__clog10f): Likewise.
42744 * math/s_clog10l.c (__clog10l): Likewise.
42745 * math/s_clogf.c (__clogf): Likewise.
42746 * math/s_clogl.c (__clogl): Likewise.
42747 * math/libm-test.inc (clog_test): Add more tests.
42748 (clog10_test): Likewise.
42749 * sysdeps/i386/fpu/libm-test-ulps: Update.
42750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42751
261f4859
AS
427522012-07-06 Andreas Schwab <schwab@linux-m68k.org>
42753
0abaf3e4
AS
42754 [BZ #14283]
42755 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42756 by 7 not 8 to examine high bit of fractional part.
42757
261f4859
AS
42758 [BZ #14042]
42759 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42760 for call to __mcount_internal.
42761 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42762 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42763 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42764
f17ac40d
JM
427652012-07-06 Joseph Myers <joseph@codesourcery.com>
42766
9ad63c23
JM
42767 [BZ #14154]
42768 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42769 approximation for values within 0x1p-13f of an odd multiple of
42770 pi/4.
42771 * math/libm-test.inc (tan_test): Do not allow spurious underflow
42772 exception. Add more tests.
42773 * sysdeps/i386/fpu/libm-test-ulps: Update.
42774
f17ac40d
JM
42775 [BZ #6778]
42776 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42777 inputs and return -1 for them. Do not check for +Inf in case not
42778 reachable for +Inf.
42779 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42780 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42781 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42782 and return -1 for them. Do not check for +Inf in case not
42783 reachable for +Inf.
42784 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42785 define.
42786 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42787 and return -1 for them. Do not check for +Inf in case not
42788 reachable for +Inf.
42789 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
42790 spurious underflow.
42791 * sysdeps/i386/fpu/libm-test-ulps: Update.
42792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42793
fb21f89b
MF
427942012-07-06 Mike Frysinger <vapier@gentoo.org>
42795
42796 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42797
cdfe2c5e
JM
427982012-07-05 Joseph Myers <joseph@codesourcery.com>
42799
42800 [BZ #14157]
42801 [BZ #14331]
42802 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42803 could result in spurious underflow. Scale down values above
42804 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42805 * math/s_csqrtf.c (__csqrtf): Likewise.
42806 * math/s_csqrtl.c (__csqrtl): Likewise.
42807 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
42808 spurious underflow.
42809 * sysdeps/i386/fpu/libm-test-ulps: Update.
42810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42811
70d35b67
AS
428122012-07-04 Andreas Schwab <schwab@linux-m68k.org>
42813
704bc459
AS
42814 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42815 xopen-msg.sed.
42816 * catgets/xopen-msg.awk: New file.
42817 * catgets/xopen-msg.sed: Removed.
42818
70d35b67
AS
42819 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42820 po2text.sed.
42821 * intl/po2test.awk: New file.
42822 * intl/po2test.sed: Removed.
42823
ca61cf32
JM
428242012-07-04 Joseph Myers <joseph@codesourcery.com>
42825
42826 [BZ #14328]
42827 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42828 or multiply small sinh result by itself.
42829 * math/s_ctanf.c (__ctanf): Likewise.
42830 * math/s_ctanh.c (__ctanh): Likewise.
42831 * math/s_ctanhf.c (__ctanhf): Likewise.
42832 * math/s_ctanhl.c (__ctanhl): Likewise.
42833 * math/s_ctanl.c (__ctanl): Likewise.
42834 * math/libm-test.inc (ctan_test_tonearest): New function.
42835 (ctan_test_towardzero): Likewise.
42836 (ctan_test_downward): Likewise.
42837 (ctan_test_upward): Likewise.
42838 (ctanh_test_tonearest): Likewise.
42839 (ctanh_test_towardzero): Likewise.
42840 (ctanh_test_downward): Likewise.
42841 (ctanh_test_upward): Likewise.
42842 (main): Call these new functions.
42843 * sysdeps/i386/fpu/libm-test-ulps: Update.
42844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42845
ca48a46a
MF
428462012-07-03 Mike Frysinger <vapier@gentoo.org>
42847
42848 * .gitignore: Delete /ports entry.
42849
9d63d37d
AJ
428502012-07-03 Andreas Jaeger <aj@suse.de>
42851
42852 * po/bg.po: Update from translation team.
42853 * po/cs.po: Likewise.
42854 * po/de.po: Likewise.
42855 * po/hr.po: Likewise.
42856 * po/nl.pl: Likewise.
42857 * po/pl.po: Likewise.
42858 * po/vi.po: Likewise.
42859
370ca3d2
JM
428602012-07-03 Joseph Myers <joseph@codesourcery.com>
42861
95f5a9a8
JM
42862 * Makeconfig [!+link] (+link-before-libc): New variable.
42863 [!+link] (+link-after-libc): Likewise.
42864 [!+link] (+link-tests): Likewise.
42865 [!+link] (+link): Define in terms of $(+link-before-libc) and
42866 $(+link-after-libc).
42867 [!+link-static] (+link-static-before-libc): New variable.
42868 [!+link-static] (+link-static-after-libc): Likewise.
42869 [!+link-static] (+link-static-tests): Likewise.
42870 [!+link-static] (+link-static): Define in terms of
42871 $(+link-static-before-libc) and $(+link-static-after-libc).
42872 [build-shared] (link-libc-before-gnulib): New variable.
42873 [build-shared] (link-libc-tests): Likewise.
42874 [build-shared] (link-libc): Define in terms of
42875 $(link-libc-before-gnulib).
42876 [!build-shared] (link-libc-tests): New variable.
42877 (link-libc-static-tests): New variable.
42878 [!gnulib] (gnulib-arch): New variable.
42879 [!gnulib] (gnulib-tests): Likewise.
42880 [!gnulib] (static-gnulib-arch): Likewise.
42881 [!gnulib] (static-gnulib-tests): Likewise.
42882 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
42883 Define with "=" instead of ":=".
42884 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
42885 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
42886 * Rules (binaries-all-notests): New variable.
42887 (binaries-all-tests): Likewise.
42888 (binaries-static-notests): Likewise.
42889 (binaries-static-tests): Likewise.
42890 (binaries-all): Define using $(binaries-all-notests) and
42891 $(binaries-all-tests).
42892 (binaries-static): Define using $(binaries-static-notests) and
42893 $(binaries-static-tests).
42894 (binaries-shared-tests): New variable.
42895 (binaries-shared-notests): Likewise.
42896 (binaries-shared): Remove variable.
42897 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42898 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42899 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42900 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42901 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42902 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42903 * elf/Makefile (sln-modules): New variable.
42904 (extra-objs): Add $(sln-modules:=.o).
42905 (ldconfig-modules): Add static-stubs.
42906 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42907 * elf/static-stubs.c: New file.
42908
7a845b2c
JM
42909 [BZ #14283]
42910 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42911 by 7 not 8 to examine high bit of fractional part. Use volatile
42912 variables when splitting into final array of floats if
42913 __FLT_EVAL_METHOD__ != 0.
42914 * math/libm-test.inc (cos_test): Add another test.
42915 (sin_test): Likewise.
42916 * sysdeps/i386/fpu/libm-test-ulps: Update.
42917
e2283f38
JM
42918 [BZ #14273]
42919 * math/libm-test.inc (cosh_test): Add more tests.
42920
370ca3d2
JM
42921 * version.h (RELEASE): Set to "development".
42922 (VERSION): Set to "2.16.90".
42923
ee9247c3
CD
429242012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
42925
42926 * NEWS: Update copyright. Remove last-updated date.
42927 Mention math library bug fixes and timezone data changes.
42928 * README: Mention GNU/Hurd, x32, and HPPA support status.
42929
4648c381
TS
429302012-06-28 Thomas Schwinge <thomas@codesourcery.com>
42931
42932 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42933
aac78a43
AJ
429342012-06-27 Andreas Jaeger <aj@suse.de>
42935
42936 * manual/contrib.texi (Contributors): Add Samuel Thibault.
42937
ed3dbfad
AJ
429382012-06-25 Andreas Jaeger <aj@suse.de>
42939
42940 * sysdeps/s390/fpu/libm-test-ulps: Update.
42941
4d0ee855
AS
429422012-06-23 Andreas Schwab <schwab@linux-m68k.org>
42943 Thomas Schwinge <thomas@codesourcery.com>
42944
42945 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42946 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42948 fanotify_mark.
42949
af1bce34
TS
429502012-06-23 Thomas Schwinge <thomas@codesourcery.com>
42951
a9fa33ba
TS
42952 * sysdeps/mach/start.c: Remove file.
42953 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42954 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42955 * sysdeps/sh/init-first.c: Likewise.
42956
58f902b8
TS
42957 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42958 registers for frame unwinding purposes, add CFI directives.
42959 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42960 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42961 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42962 Likewise.
42963
1518f58b
TS
42964 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42965 __fortify_fail returning.
42966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42967
db9b5059
TS
42968 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42969 sysdeps/sh/____longjmp_chk.S.
42970 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42971 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42972 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42973 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42974
967705fe
TS
42975 * sysdeps/sh/abort-instr.h: New file.
42976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42977 process in case exit returns.
42978
a9def8c4
TS
42979 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42980 initialize the GOT register before use.
42981
2a649725
TS
42982 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42983 calculation of ARGC > 4.
42984
af1bce34
TS
42985 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42986 meaningful names to some local labels.
42987
d230f50a
KK
429882012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42989 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42990
42991 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42992 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42993 (__arch_compare_and_exchange_val_16_acq): Likewise.
42994 (__arch_compare_and_exchange_val_32_acq): Likewise.
42995 (atomic_exchange_and_add): Fix gUSA sequence.
42996 (atomic_add): Likewise.
42997 (atomic_add_negative): Likewise.
42998 (atomic_add_zero): Likewise.
42999 (atomic_bit_test_set): Likewise.
43000
0479b305
AS
430012012-06-22 Andreas Schwab <schwab@redhat.com>
43002
43003 [BZ #13579]
43004 * include/link.h (struct link_map): Add l_free_initfini.
43005 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43006 l_initfini.
43007 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43008 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43009 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43010 set.
43011
0e3933b9
CD
430122012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43013
43014 * configure.in: Use AC_LANG_SOURCE.
43015 * configure: Regenerate.
43016
4248b1b1
RM
430172012-06-22 Roland McGrath <roland@hack.frob.com>
43018
43019 * configure.in (libc_cv_localstatedir): New substituted variable.
43020 * configure: Regenerated.
43021 * config.make.in (localstatedir): New variable, substituted from
43022 libc_cv_localstatedir.
43023 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43024 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43025 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43026 * sysdeps/gnu/configure: Regenerated.
43027
006dd861
JL
430282012-06-21 Jeff Law <law@redhat.com>
43029
43030 [BZ #14277]
43031 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43032 free. Simplify list management for _LIBC case.
43033
79662d42
JM
430342012-06-21 Joseph Myers <joseph@codesourcery.com>
43035
b7abb4bf
JM
43036 [BZ #14273]
43037 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43038 Clear sign bit of 64-bit integer value before comparing against
43039 overflow value.
43040
79662d42
JM
43041 * sysdeps/mach/configure: Regenerated.
43042
1f150908
L
430432012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43044
43045 [BZ #14278]
43046 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43047
28363bbf
JL
430482012-06-21 Jeff Law <law@redhat.com>
43049
43050 [BZ #13882]
43051 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43052 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 43053 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
43054 * elf/dl-open.c (dl_open_worker): Likewise.
43055
09615db4
CD
430562012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43057
43058 * scripts/list-sources.sh: Scan PORTS for translations.
43059 * po/libc.pot: Regenerated.
43060
2174c6dd
AJ
430612012-06-21 Andreas Jaeger <aj@suse.de>
43062
43063 [BZ #12194]
43064 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43065 warning.
43066 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43067 * bits/byteswap-16.h (__bswap_16): Likewise.
43068 * bits/byteswap.h (__bswap_constant_16): Likewise.
43069
3ee947b1
L
430702012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43071
43072 [BZ #14117]
a2f34833
L
43073 * sysdeps/i386/fpu_control.h: Removed.
43074 * sysdeps/x86_64/fpu_control.h: Moved to ...
43075 * sysdeps/x86/fpu_control.h: Here.
43076
3ee947b1
L
43077 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43078 (_FPU_SETCW): Likewise.
43079
ed1825f8
L
430802012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43081
25f1282a
L
43082 [BZ #14117]
43083 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43084 * sysdeps/x86/fpu/bits/mathinline.h: This.
43085 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43086
ed1825f8
L
43087 [BZ #14050]
43088 [BZ #14117]
43089 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43090 functions if __x86_64__ is defined.
43091
36d54b74
CLT
430922012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43093
43094 * string/endian.h: Add !__ASSEMBLER__ condition for including
43095 conversion interfaces.
43096
10285c21
JM
430972012-06-15 Joseph Myers <joseph@codesourcery.com>
43098
43099 [BZ #14241]
43100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43101 of ABS(x) in calculating zero to negative powers other than odd
43102 integers.
43103 * math/libm-test.inc (pow_test): Add more tests.
43104
06c5abbd
AJ
431052012-06-15 Andreas Jaeger <aj@suse.de>
43106
43107 * manual/contrib.texi (Contributors): Update entry of Liubov
43108 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43109 Machado Filho.
43110
a3aeac40
CH
431112012-06-15 Cyril Hrubis <metan@ucw.cz>
43112
43113 * string/string.h: Add __wur to GNU version of strerror_r.
43114
49bdf4c1
L
431152012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43116
43117 [BZ #14229]
43118 * string/Makefile (tests): Add tst-strtok_r.
43119 * string/tst-strtok_r.c: New file.
43120 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43121 RAX_LP/RDX_LP on SAVE_PTR.
43122
834f9b8d
RM
431232012-06-14 Roland McGrath <roland@hack.frob.com>
43124
43125 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43126
75fa1921
JM
431272012-06-14 Joseph Myers <joseph@codesourcery.com>
43128
43129 * libm_test.inc (csqrt_test): Allow more spurious underflow
43130 exceptions.
43131 (j0_test): Likewise.
43132 (j1_test): Likewise.
43133 (y0_test): Likewise.
43134 (y1_test): Likewise.
43135
771766df
CD
431362012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43137
43138 * po/Makefile (libc.pot): Use UTF-8 charset.
43139
ceb9e56b
PP
431402012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43141
43142 [BZ #14210]
43143 Suppress sign-conversion warning from FD_SET.
43144 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43145 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43146 not unsigned long int.
43147 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43148
ddb28975
L
431492012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43150
43151 [BZ #14050]
43152 [BZ #14117]
43153 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43154 __extern_always_inline instead of __extern_inline.
43155 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43156 (__signbit): Likewise.
43157 (__signbitl): Support C++ namespace.
43158 (lrintf): New inline function.
43159 (lrint): Likewise.
43160 (llrintf): Likewise.
43161 (llrint): Likewise.
43162 (fmaxf): Likewise.
43163 (fmax): Likewise.
43164 (fminf): Likewise.
43165 (fmin): Likewise.
43166 (rint): Likewise.
43167 (rintf): Likewise.
43168 (ceil): Likewise.
43169 (ceilf): Likewise.
43170 (floor): Likewise.
43171 (floorf): Likewise.
43172 (nearbyint): Likewise.
43173 (nearbyintf): Likewise.
43174
d7b4fb26
TS
431752012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43176
43177 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43178 non-default versions.
43179
eb55f5c2
RM
431802012-06-11 Roland McGrath <roland@hack.frob.com>
43181
43182 [BZ #14218]
43183 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43184
366af02c
TS
431852012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43186
99ff6e5c
TS
43187 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43188 (FE_UPWARD, FE_DOWNWARD): Don't define.
43189 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43190 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43191
366af02c
TS
43192 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43193 reading it.
43194 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43195 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43196
793ea851
KK
431972012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43198
43199 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43201 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43202 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43203
a728a38f
L
432042012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43205
43206 [BZ #14117]
c08010c7
L
43207 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43208 * sysdeps/i386/fpu/Implies: New file.
43209 * sysdeps/x86_64/fpu/Implies: Likewise.
43210 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43211 * sysdeps/x86/fpu/bits/fenv.h: This.
43212
a728a38f
L
43213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43214 __SSE_MATH__.
43215
6e230d11
SP
432162012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43217
43218 [BZ #14134]
43219 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43220 character 0xffff that matches the last element of the
43221 conversion table.
43222
1b671feb
AZ
432232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43224
43225 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43226 fmodl commit.
43227
6043738b
AZ
432282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43229
43230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43231 values higher than 25.6283.
43232
34ae0b32
AZ
432332012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43234
43235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43236 subnormal exponent extraction and add some __builtin_expect.
43237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43238 Fix for subnormal mantissa calculation.
43239
1214ec8f
MF
432402012-06-04 Mike Frysinger <vapier@gentoo.org>
43241
43242 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43243 cpu2 is -1 and errno is not ENOSYS.
43244
f3d1f93c
L
432452012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43246
43247 [BZ #14117]
0e4a3cd7
L
43248 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43249 * sysdeps/x86/bits/string.h: This.
43250 * sysdeps/x86_64/bits/string.h: Removed.
43251
6704c645
L
43252 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43253 if not compiling for x86-64, but compiling for >= i486.
43254
48495318
L
43255 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43256 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43257
14adcbfc
L
43258 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43259 New macro from Linux kernel 3.4.0.
43260 (FP_XSTATE_MAGIC2): Likewise.
43261 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43262 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43263 (struct _fpx_sw_bytes): New struct.
43264 (struct _xsave_hdr): Likewise.
43265 (struct _ymmh_state): Likewise.
43266 (struct _xstate): Likewise.
43267
68e408ab
L
43268 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43269 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43270 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43271 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43272 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43273 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43274
f3d1f93c
L
43275 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43276 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43277 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43278 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43279 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43280 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43281
d9dc34cd
TMQMF
432822012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43283
43284 [BZ #13743]
43285 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43286 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43287 (sysdep_headers): Include sys/platform/ppc.h.
43288 * sysdeps/powerpc/test-gettimebase.c: Test for
43289 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43290 * manual/Makefile (appendices): Include platform.texi.
43291 * manual/contrib.texi (Contributors): Update @node pointers.
43292 * manual/maint.texi (Maintenance): Likewise.
43293 (Platform): New node.
43294 * manual/platform.texi: New file. Document the new features.
43295
4af3879c
SP
432962012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43297 Jakub Jelinek <jakub@redhat.com>
43298
43299 [BZ #14188]
43300 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43301 where __builtin_expect is unavailable.
43302
2fd6ff13
DM
433032012-06-03 David S. Miller <davem@davemloft.net>
43304
43305 * stdlib/longlong.h: Updated from GCC.
43306
173f7220
AS
433072012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43308
43309 [BZ #14042]
43310 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43311 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43312 __mcount_internal.
43313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43314 (GLIBC_2.16): Likewise.
43315
f34a1c6f
L
433162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43317
43318 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43319
88a4576f
JM
433202012-06-01 Joseph Myers <joseph@codesourcery.com>
43321
ea32bcdd
JM
43322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43323 (default-abi): New variable.
43324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43325 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43326 variable.
43327 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43328 Likewise.
43329 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43330 Likewise.
43331 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43332 Likewise.
43333
88a4576f
JM
43334 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43335 definition. Document in comment.
43336
402fe938
DM
433372012-06-01 David S. Miller <davem@davemloft.net>
43338
43339 * stdlib/longlong.h: Updated from GCC.
43340
3553723f
L
433412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43342
43343 [BZ #14117]
3bd872c4
L
43344 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43345 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43346 sys/debugreg.h sys/io.h here.
43347 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43348 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43349 sys/io.h.
43350 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43351 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43352 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43353 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43354 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43355 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43356
3553723f
L
43357 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43358 Define only if __x86_64__ is defined.
43359
4842e4fe
JM
433602012-06-01 Joseph Myers <joseph@codesourcery.com>
43361
c5bfe3d5
JM
43362 [BZ #14048]
43363 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43364 Use int64_t for variable i.
43365 * math/libm-test.inc (fmod_test): Add more tests.
43366
4842e4fe
JM
43367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43368 z computation is not scheduled after fetestexcept.
43369 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43370 Use math_force_eval instead of asm to ensure calculation scheduled
43371 before exception test.
43372 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43373 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43374
efb73488
AJ
433752012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43376
43377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43378 computation is not scheduled after fetestexcept.
43379
29bcce7c
L
433802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43381
43382 [BZ #14117]
43383 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43384 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43385
73a68f94
AZ
433862012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43387
43388 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43389 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43390
67b6df78
L
433912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43392
edf2933a 43393 [BZ #14117]
ebc64a18
L
43394 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43395 <bits/wordsize.h>.
43396 (__WCHAR_MIN): Support __WORDSIZE == 64.
43397 (__WCHAR_MAX): Likewise.
43398
edf2933a
L
43399 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43400 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43401
57c6cf40
L
43402 [BZ #14183]
43403 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43404 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43405
67b6df78 43406 [BZ #14117]
8eb6281e
L
43407 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43408 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43409
aac639f4
L
43410 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43411 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43412
67b6df78
L
43413 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43414 Defined to 1 if __x86_64__ isn't defined.
43415 (_STAT_VER_LINUX_OLD): New.
43416 (st_atime): Remove duplicate.
43417 (st_mtime): Likewise.
43418 (st_ctime): Likewise.
43419
1c2cfe81
DM
434202012-05-31 David S. Miller <davem@davemloft.net>
43421
43422 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43423 entries.
43424
5be8418c
AS
434252012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43426
e7725326
AS
43427 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43428 gen-libm-test.pl.
43429
5be8418c
AS
43430 [BZ #14132]
43431 * elf/dl-reloc.c: Include <_itoa.h>.
43432 (_dl_reloc_bad_type): Remove use of INTUSE.
43433 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43434 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43435 * stdio-common/psiginfo.c (psiginfo): Likewise.
43436 * stdio-common/psignal.c (psignal): Likewise.
43437 * string/strsignal.c (strsignal): Likewise.
43438 * include/signal.h (_sys_siglist): Declare hidden proto.
43439 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43440 INTVARDEF with libc_hidden_data_def.
43441 * stdio-common/itoa-udigits.c: Likewise.
43442 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43443 (_itoa_lower_digits_internal): Remove declaration.
43444 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43445 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43446 (_sys_sigabbrev_internal): Remove aliases.
43447 (_sys_siglist): Define hidden alias.
43448
507352f1
MT
434492012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43450
43451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43452 bits/sysctl.h.
43453
42bbb1c3
L
434542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43455
43456 [BZ #14117]
6bd784b6
L
43457 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43458 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43459
8bca20f0
L
43460 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43461 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43462 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43463 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43464 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43465 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43466
f9e890a9
L
43467 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43468 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43469 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43470
471101a1
L
43471 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43472 with __addr.
43473 (insw): Likewise.
43474 (insl): Likewise.
43475 (outsb): Likewise.
43476 (outsw): Likewise.
43477 (outsl): Likewise.
43478
6451c862
L
43479 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43480 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43481 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43482
a254b8c9
L
43483 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43484 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43485 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43486 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43487 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43488 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43489
b8dfdd92
L
43490 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43491 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43492
578cd270
L
43493 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43494 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43495
de662f5f
L
43496 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43499
25653439
L
43500 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43501 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43502 to ...
43503 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43504
6bad24a0
L
43505 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43506 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43507 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43508
42bbb1c3
L
43509 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43510 for x86-64.
43511 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43512
2d10d547
JM
435132012-05-31 Joseph Myers <joseph@codesourcery.com>
43514
43515 * math/math.h (M_El): Use two more decimal places.
43516 (M_LOG2El): Likewise.
43517 (M_LOG10El): Likewise.
43518 (M_LN2l): Likewise.
43519 (M_LN10l): Likewise.
43520 (M_PIl): Likewise.
43521 (M_PI_2l): Likewise.
43522 (M_PI_4l): Likewise.
43523 (M_1_PIl): Likewise.
43524 (M_2_PIl): Likewise.
43525 (M_2_SQRTPIl): Likewise.
43526 (M_SQRT2l): Likewise.
43527 (M_SQRT1_2l): Likewise.
43528
f230c29b
DM
435292012-05-31 David S. Miller <davem@davemloft.net>
43530
43531 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43532 values between float registers.
43533 * sysdeps/sparc/sparc64/memset.S: Likewise.
43534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43535
fed806c3
MF
435362012-05-31 Mike Frysinger <vapier@gentoo.org>
43537
43538 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43539 -D_FORTIFY_SOURCE=1.
43540 (CPPFLAGS-tst-longjmp_chk.c): Define.
43541 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43542 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43543 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43544 CFLAGS-tst-wchar-h.c.
43545
30917259
MP
435462012-05-31 Marek Polacek <polacek@redhat.com>
43547
43548 [BZ #14132]
43549 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43550 __endmntent_internal): Remove declaration.
43551 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43552 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43553 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43554
1c58d5dc
DM
435552012-05-30 David S. Miller <davem@davemloft.net>
43556
43557 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43558 (___Q_simulate_exceptions): Use real FP ops rather than writing
43559 into the %fsr.
43560 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43561 Likewise.
43562
7dc00e0d
L
435632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43564
43565 [BZ #14117]
0bd53985
L
43566 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43567 * sysdeps/x86/bits/xtitypes.h: This.
43568
3a257e66
L
43569 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43570 * sysdeps/x86/bits/wordsize.h: This.
43571
62f62904
L
43572 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43573 * sysdeps/x86/bits/huge_vall.h: This.
43574
404fe9d9
L
43575 * sysdeps/i386/bits/select.h: Removed.
43576 * sysdeps/x86_64/bits/select.h: Renamed to ...
43577 * sysdeps/x86/bits/select.h: This.
43578
d48d0446
L
43579 * sysdeps/i386/bits/setjmp.h: Removed.
43580 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43581 * sysdeps/x86/bits/setjmp.h: This.
43582
7dc00e0d
L
43583 * sysdeps/i386/bits/mathdef.h: Removed.
43584 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43585 * sysdeps/x86/bits/mathdef.h: This.
43586
03277f8f
AS
435872012-05-30 Andreas Schwab <schwab@linux-m68k.org>
43588
43589 [BZ #14132]
43590 * include/sys/socket.h (__connect_internal)
43591 (__libc_sa_len_internal): Remove declaration.
43592 (__connect, __libc_sa_len): Declare hidden_proto.
43593 (SA_LEN): Remove use of INTUSE.
43594 * socket/connect.c: Add libc_hidden_def.
43595 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43596 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43597 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43598 alias.
43599 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43600 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43601 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43602 of adding _internal alias.
43603
13764867
L
436042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43605
43606 [BZ #14117]
6bd97696
L
43607 * sysdeps/i386/bits/link.h: Removed.
43608 * sysdeps/i386/bits/linkmap.h: Likewise.
43609 * sysdeps/x86_64/bits/link.h: Renamed to ...
43610 * sysdeps/x86/bits/link.h: This.
43611 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43612 * sysdeps/x86/bits/linkmap.h: This.
43613
f726f0bb
L
43614 * sysdeps/i386/bits/endian.h: Removed.
43615 * sysdeps/x86_64/bits/endian.h: Renamed to ...
43616 * sysdeps/x86/bits/endian.h: This.
43617
13764867
L
43618 * sysdeps/i386/bits/byteswap.h: Removed.
43619 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43620 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43621 * sysdeps/x86/bits/byteswap.h: This.
43622 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43623 * sysdeps/x86/bits/byteswap-16.h: This.
43624 * sysdeps/i386/Implies: Add x86.
43625 * sysdeps/x86_64/Implies: Likewise.
43626
ae251b0b
DM
436272012-05-30 David S. Miller <davem@davemloft.net>
43628
43629 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43630 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43632 (FP_TRAPPING_EXCEPTIONS): Define.
43633 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43634 (FP_TRAPPING_EXCEPTIONS): Define.
43635 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43636 subnormals only when inexact has been signalled or underflow
43637 exceptions are enabled.
43638 (_FP_PACK_CANONICAL): Likewise.
43639
d5c90867
L
436402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43641
43642 [BZ #14183]
43643 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43644 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43645
63f1549e
RH
436462012-05-30 Richard Henderson <rth@twiddle.net>
43647
8d8f2279
RH
43648 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43649 with #ifndef NOT_IN_libc.
43650
63f1549e
RH
43651 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
43652 marked to avoid plt entry.
43653
0ab0291b
L
436542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43655
43656 [BZ #14112]
43657 * Makeconfig (default-abi): New macro.
43658 (abi-includes): Likewise.
43659 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
43660 $(abi-$(default-abi)-lib-soname) for soname if defined.
43661 ($(common-objpfx)gnu/lib-names.stmp): Generate from
43662 abi-variants.
43663 * Makefile (installed-stubs): Likewise.
43664 * include/stubs-biarch.h: Removed.
43665 * scripts/lib-names.awk: Only handle one library at a time.
43666 * scripts/soversions.awk: Remove WORDSIZE support.
43667 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43668 entries.
43669 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43670 Removed.
43671 (syscall-list-default-condition): Likewise.
43672 (syscall-list-default-condition): Likewise.
43673 (syscall-list-includes): Likewise.
43674 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43675 syscall-list-* with abi-*. Handle undefined abi-variants.
43676 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43677 * sysdeps/unix/sysv/linux/i386/Implies: New file.
43678 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43679 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43680 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43681 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43682 Removed.
43683 (syscall-list-32-options): Likewise.
43684 (syscall-list-32-condition): Likewise.
43685 (syscall-list-64-options): Likewise.
43686 (syscall-list-64-condition): Likewise.
43687 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43688 macro.
43689 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43690 Renamed to ...
43691 (abi-*): This.
43692 (abi-64-ld-soname): New macro.
43693 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43694 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43695 Renamed to ...
43696 (abi-*): This.
43697 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43698 * sysdeps/x86_64/x32/shlib-versions: Likewise.
43699
4da0431d
JM
437002012-05-30 Joseph Myers <joseph@codesourcery.com>
43701
3a85279c
JM
43702 * sysdeps/unix/sysv/linux/kernel-features.h
43703 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43704 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43705 include <kernel-features.h>.
43706 [!__NR_ftruncate64]: Remove conditional code.
43707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43708 [__NR_ftruncate64]: Make code unconditional.
43709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43710 * sysdeps/unix/sysv/linux/truncate64.c: Do not
43711 include <kernel-features.h>.
43712 [!__NR_ftruncate64]: Remove conditional code.
43713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43714 [__NR_ftruncate64]: Make code unconditional.
43715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43717 include <kernel-features.h>.
43718 [!__NR_ftruncate64]: Remove conditional code.
43719 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43720 [__NR_ftruncate64]: Make code unconditional.
43721 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43723 include <kernel-features.h>.
43724 [!__NR_ftruncate64]: Remove conditional code.
43725 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43726 [__NR_ftruncate64]: Make code unconditional.
43727 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43728
4da0431d
JM
43729 * configure.in (libc_cv_fpie): Weaken to a compile test using
43730 LIBC_TRY_CC_OPTION.
43731 * configure: Regenerated.
43732
11ef492c
AK
437332012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43734
43735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43739 Refreshed.
43740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43746 Refreshed.
43747
d66ef399
DM
437482012-05-27 David S. Miller <davem@davemloft.net>
43749
43750 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43751 (___Q_zero): New.
43752 (__Q_simulate_exceptions): Return void. Change to simulate
43753 exceptions by writing into the %fsr.
43754 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43755 (__Qp_handle_exceptions): Likewise.
43756 (numbers): Delete.
43757 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43758 __Qp_handle_exceptions.
43759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43760 __Qp_handle_exceptions.
43761 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43762 as unused and give dummy FP_RND_NEAREST initializer.
43763 (FP_INHIBIT_RESULTS): Define.
43764 (___Q_simulate_exceptions): Update declaration.
43765 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43766 formatting.
43767 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43768 as unused and give dummy FP_RND_NEAREST initializer.
43769 (__Qp_handle_exceptions): Update declaration.
43770 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43771 formatting.
43772
04fb54b5
TS
437732012-05-27 Thomas Schwinge <thomas@codesourcery.com>
43774
43775 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43776 the temporary FPU control word.
43777 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43778 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43780 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43781 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43782 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43783 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43784 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43785 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43786 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43787 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43788
3f99608f
KK
437892012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43790
43791 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43792 fields.
43793
65a4de4e
CLT
437942012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
43795
43796 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43797 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43798 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43799 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43800 Likewise.
43801 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43802 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43803 Likewise.
43804
15749d40
UD
438052012-05-27 Ulrich Drepper <drepper@gmail.com>
43806
43807 * po/h.po: Update from translation team.
43808
25dbcb27
AS
438092012-05-26 Andreas Schwab <schwab@linux-m68k.org>
43810
3d3f8e55
AS
43811 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43812
25dbcb27
AS
43813 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43814 handling of denormals.
43815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43816 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43817 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43818 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43822 Likewise.
43823
7ad47a80 438242012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
43825
43826 [BZ #14152]
43827 * math/libm-test.inc (fma_test): Don't always expect underflow
43828 exception.
43829
9c6ea9fa
SP
438302012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43831
43832 [BZ #12416]
43833 * elf/tst-execstack.c: Include stackinfo.h.
43834 (do_test): Adjust test case to ensure that pthread_getattr_np
43835 behaviour remains the same after marking stack executable.
43836
a8239222
JM
438372012-05-25 Joseph Myers <joseph@codesourcery.com>
43838
43839 * sysdeps/unix/sysv/linux/kernel-features.h
43840 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43841 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43842 kernel-features.h.
43843 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43844 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43845 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43846 kernel-features.h.
43847 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43848 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43849
918b5606
L
438502012-05-25 H.J. Lu <hongjiu.lu@intel.com>
43851
43852 * configure.in: Define the default includes to being none.
43853 * configure: Regenerated.
43854
3a097cc7
RM
438552012-05-25 Roland McGrath <roland@hack.frob.com>
43856
8422c9a5
RM
43857 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43858 * sysdeps/x86_64/setjmp.S: Likewise.
43859 * sysdeps/i386/bsd-setjmp.S: Likewise.
43860 * sysdeps/i386/bsd-_setjmp.S: Likewise.
43861 * sysdeps/i386/setjmp.S: Likewise.
43862 * sysdeps/i386/__longjmp.S: Likewise.
43863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43864 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43865
3a097cc7
RM
43866 * include/stap-probe.h: New file.
43867 * configure.in: Handle --enable-systemtap.
43868 * configure: Regenerated.
43869 * config.h.in (USE_STAP_PROBE): New #undef.
43870 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43871 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43872 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43873
21708942
JM
438742012-05-25 Joseph Myers <joseph@codesourcery.com>
43875
43876 [BZ #13717]
43877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43878 to 2.4.0 where earlier.
43879 * sysdeps/unix/sysv/linux/configure: Regenerated.
43880 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
43889 [__ASSUME_32BITUIDS]: Make code unconditional.
43890 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43891 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43892 <kernel-features.h>.
43893 [__ASSUME_32BITUIDS]: Make code unconditional.
43894 [!__ASSUME_32BITUIDS]: Remove conditional code.
43895 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43896 <kernel-features.h>.
43897 [__ASSUME_32BITUIDS]: Make code unconditional.
43898 [!__ASSUME_32BITUIDS]: Remove conditional code.
43899 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43900 <kernel-features.h>.
43901 [__ASSUME_32BITUIDS]: Make code unconditional.
43902 [!__ASSUME_32BITUIDS]: Remove conditional code.
43903 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43904 <kernel-features.h>.
43905 [__ASSUME_32BITUIDS]: Make code unconditional.
43906 [!__ASSUME_32BITUIDS]: Remove conditional code.
43907 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43908 <kernel-features.h>.
43909 [__ASSUME_32BITUIDS]: Make code unconditional.
43910 [!__ASSUME_32BITUIDS]: Remove conditional code.
43911 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43912 <kernel-features.h>.
43913 [__ASSUME_32BITUIDS]: Make code unconditional.
43914 [!__ASSUME_32BITUIDS]: Remove conditional code.
43915 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43916 <kernel-features.h>.
43917 [__ASSUME_32BITUIDS]: Make code unconditional.
43918 [!__ASSUME_32BITUIDS]: Remove conditional code.
43919 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43920 <kernel-features.h>.
43921 [__ASSUME_32BITUIDS]: Make code unconditional.
43922 [!__ASSUME_32BITUIDS]: Remove conditional code.
43923 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43924 <kernel-features.h>.
43925 [__ASSUME_32BITUIDS]: Make code unconditional.
43926 [!__ASSUME_32BITUIDS]: Remove conditional code.
43927 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43928 <kernel-features.h>.
43929 [__ASSUME_32BITUIDS]: Make code unconditional.
43930 [!__ASSUME_32BITUIDS]: Remove conditional code.
43931 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43932 <kernel-features.h>.
43933 [__NR_setresgid] (__setresgid): Do not declare.
43934 [__ASSUME_32BITUIDS]: Make code unconditional.
43935 [!__ASSUME_32BITUIDS]: Remove conditional code.
43936 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43937 <kernel-features.h>.
43938 [__NR_setresuid] (__setresuid): Do not declare.
43939 [__ASSUME_32BITUIDS]: Make code unconditional.
43940 [!__ASSUME_32BITUIDS]: Remove conditional code.
43941 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43942 <kernel-features.h>.
43943 [__ASSUME_32BITUIDS]: Make code unconditional.
43944 [!__ASSUME_32BITUIDS]: Remove conditional code.
43945 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43946 <kernel-features.h>.
43947 [__ASSUME_32BITUIDS]: Make code unconditional.
43948 [!__ASSUME_32BITUIDS]: Remove conditional code.
43949 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43950 <kernel-features.h>.
43951 [__ASSUME_32BITUIDS]: Make code unconditional.
43952 [!__ASSUME_32BITUIDS]: Remove conditional code.
43953 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43954 <kernel-features.h>.
43955 [__ASSUME_32BITUIDS]: Make code unconditional.
43956 [!__ASSUME_32BITUIDS]: Remove conditional code.
43957 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43958 <kernel-features.h>.
43959 [__ASSUME_32BITUIDS]: Make code unconditional.
43960 [!__ASSUME_32BITUIDS]: Remove conditional code.
43961 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43962 <kernel-features.h>.
43963 [__ASSUME_32BITUIDS]: Make code unconditional.
43964 [!__ASSUME_32BITUIDS]: Remove conditional code.
43965 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43966 <kernel-features.h>.
43967 [__ASSUME_32BITUIDS]: Make code unconditional.
43968 [!__ASSUME_32BITUIDS]: Remove conditional code.
43969 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43970 <kernel-features.h>.
43971 [__ASSUME_32BITUIDS]: Make code unconditional.
43972 [!__ASSUME_32BITUIDS]: Remove conditional code.
43973 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43974 <kernel-features.h>.
43975 [__ASSUME_32BITUIDS]: Make code unconditional.
43976 [!__ASSUME_32BITUIDS]: Remove conditional code.
43977 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43978 <kernel-features.h>.
43979 [__ASSUME_32BITUIDS]: Make code unconditional.
43980 [!__ASSUME_32BITUIDS]: Remove conditional code.
43981 * sysdeps/unix/sysv/linux/kernel-features.h
43982 (__ASSUME_SETRESUID_SYSCALL): Remove.
43983 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43984 (__ASSUME_32BITUIDS): Likewise.
43985 (__ASSUME_LDT_WORKS): Likewise.
43986 (__ASSUME_O_DIRECTORY): Likewise.
43987 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43988 architecture but not kernel version.
43989 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43990 (__ASSUME_MMAP2_SYSCALL): Likewise.
43991 (__ASSUME_STAT64_SYSCALL): Likewise.
43992 (__ASSUME_IPC64): Likewise.
43993 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43994 <kernel-features.h>.
43995 [__ASSUME_32BITUIDS]: Make code unconditional.
43996 [!__ASSUME_32BITUIDS]: Remove conditional code.
43997 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43998 <kernel-features.h>.
43999 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44000 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44001 132096]: Remove conditional code.
44002 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44003 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44004 <kernel-features.h>.
44005 [__ASSUME_32BITUIDS]: Make code unconditional.
44006 [!__ASSUME_32BITUIDS]: Remove conditional code.
44007 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44008 <kernel-features.h>.
44009 [__ASSUME_32BITUIDS]: Make code unconditional.
44010 [!__ASSUME_32BITUIDS]: Remove conditional code.
44011 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44012 <kernel-features.h>.
44013 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44014 unconditional.
44015 (__setresgid): Do not declare.
44016 [__ASSUME_32BITUIDS]: Make code unconditional.
44017 [!__ASSUME_32BITUIDS]: Remove conditional code.
44018 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44019 <kernel-features.h>.
44020 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44021 unconditional.
44022 (__setresuid): Do not declare.
44023 [__ASSUME_32BITUIDS]: Make code unconditional.
44024 [!__ASSUME_32BITUIDS]: Remove conditional code.
44025 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44026 <kernel-features.h>.
44027 [__ASSUME_32BITUIDS]: Make code unconditional.
44028 [!__ASSUME_32BITUIDS]: Remove conditional code.
44029 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44030 <kernel-features.h>.
44031 [__ASSUME_32BITUIDS]: Make code unconditional.
44032 [!__ASSUME_32BITUIDS]: Remove conditional code.
44033
a386f1cc
RH
440342012-05-25 Richard Henderson <rth@twiddle.net>
44035
44036 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44037 dl_hwcap to ifunc resolver.
44038 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44039 elf_ifunc_invoke.
44040 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44041 dl_hwcap to ifunc resolver.
44042 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44043
b6550497
JM
440442012-05-24 Joseph Myers <joseph@codesourcery.com>
44045
44046 [BZ #14153]
44047 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44048 for |x| <= 2**-26, not 2**-57.
44049 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44050 exception.
44051
b0bc23a1
JL
440522012-05-24 Jeff Law <law@redhat.com>
44053
44054 * stdio-common/Makefile (tests): Add bug25.
44055 * stdio-common/bug25.c: New test.
44056
347c92e9
L
440572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44058
44059 [BZ #13576]
44060 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44061 multiple of MALLOC_ALIGNMENT in size.
44062 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44063
6bcc8b3f
JM
440642012-05-24 Joseph Myers <joseph@codesourcery.com>
44065
44066 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44067 Require >= 256.
44068 (FILENAME_MAX): Use macro-int-constant.
44069 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44070 (_IOFBF): Use macro-int-constant.
44071 (_IOLBF): Likewise.
44072 (_IONBF): Likewise.
44073 (SEEK_CUR): Likewise.
44074 (SEEK_END): Likewise.
44075 (SEEK_SET): Likewise.
44076 (TMP_MAX): Likewise.
44077 (EOF): Use macro-int-constant. Require < 0.
44078 (NULL): Use macro-constant. Require == 0.
44079 (stdin): Require type to be FILE *.
44080 (stdout): Likewise.
44081 (stderr): Likewise.
44082 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44083 macro-int-constant.
44084 (EXIT_SUCCESS): Likewise.
44085 (NULL): Use macro-constant. Require == 0.
44086 (RAND_MAX): Use macro-int-constant.
44087 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44088 [C99-based standards] (strtof): Require function.
44089 [C99-based standards] (strtold): Likewise.
44090 [C99-based standards] (strtoll): Likewise.
44091 [C99-based standards] (strtoull): Likewise.
44092 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44093 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44094 [ISO || ISO99 || ISO11] (math.h): Likewise.
44095 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44096 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44098
d18ea0c5
AS
440992012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44100
44101 [BZ #14132]
56d25bb8
AS
44102 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44103 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44104 * intl/dgettext.c (DCGETTEXT): Likewise.
44105 * intl/gettext.c (DCGETTEXT): Likewise.
44106 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44107 * posix/regex_internal.h (gettext): Likewise.
44108 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44109 Remove declaration.
44110 * include/argz.h (__argz_count_internal)
44111 (__argz_stringify_internal): Remove declaration.
44112 (__argz_count, __argz_stringify): Declare hidden proto.
44113 * intl/dcgettext.c: Remove use of INTDEF.
44114 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44115 * string/argz-stringify.c: Likewise.
44116 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44117 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44118 Declare hidden proto.
d18ea0c5
AS
44119 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44120 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44121 Declare hidden proto.
44122 * include/stdio.h (__asprintf_internal): Don't declare.
44123 (__asprintf): Don't define as macro. Declare hidden proto.
44124 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44125 (__fsetlocking): Declare hidden proto.
44126 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44127 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44128 hidden proto.
44129 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44130 (_IO_setlinebuf): Remove use of INTUSE.
44131 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44132 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44133 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44134 Remove declaration.
44135 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44136 (_IO_do_flush): Remove use of INTUSE.
44137 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44138 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44139 (_IO_adjust_column, _IO_least_wmarker)
44140 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44141 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44142 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44143 (_IO_default_doallocate, _IO_wdefault_doallocate)
44144 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44145 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44146 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44147 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44148 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44149 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44150 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44151 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44152 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44153 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44154 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44155 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44156 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44157 proto.
44158 (_IO_flush_all_internal, _IO_adjust_column_internal)
44159 (_IO_default_uflow_internal, _IO_default_finish_internal)
44160 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44161 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44162 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44163 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44164 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44165 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44166 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44167 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44168 (_IO_file_close_internal, _IO_file_close_it_internal)
44169 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44170 (_IO_file_init_internal, _IO_file_attach_internal)
44171 (_IO_file_fopen_internal, _IO_file_read_internal)
44172 (_IO_file_sync_internal, _IO_file_seek_internal)
44173 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44174 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44175 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44176 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44177 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44178 (_IO_list_all_internal, _IO_link_in_internal)
44179 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44180 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44181 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44182 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44183 (_IO_do_write_internal, _IO_padn_internal)
44184 (_IO_getline_info_internal, _IO_getline_internal)
44185 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44186 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44187 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44188 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44189 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44190 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44191 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44192 with libc_hidden_ver, remove use of INTUSE.
44193 * libio/genops.c: Likewise.
44194 * libio/freopen.c: Likewise.
44195 * libio/freopen64.c: Likewise.
44196 * libio/iofclose.c: Likewise.
44197 * libio/iofdopen.c: Likewise.
44198 * libio/iofflush.c: Likewise.
44199 * libio/iofflush_u.c: Likewise.
44200 * libio/iofgets.c: Likewise.
44201 * libio/iofgets_u.c: Likewise.
44202 * libio/iofopen.c: Likewise.
44203 * libio/iofopncook.c: Likewise.
44204 * libio/iofread.c: Likewise.
44205 * libio/iofread_u.c: Likewise.
44206 * libio/ioftell.c: Likewise.
44207 * libio/iofwrite.c: Likewise.
44208 * libio/iogetline.c: Likewise.
44209 * libio/iogets.c: Likewise.
44210 * libio/iogetwline.c: Likewise.
44211 * libio/iopadn.c: Likewise.
44212 * libio/iopopen.c: Likewise.
44213 * libio/ioseekoff.c: Likewise.
44214 * libio/ioseekpos.c: Likewise.
44215 * libio/iosetbuffer.c: Likewise.
44216 * libio/iosetvbuf.c: Likewise.
44217 * libio/ioungetc.c: Likewise.
44218 * libio/ioungetwc.c: Likewise.
44219 * libio/iovdprintf.c: Likewise.
44220 * libio/iovsprintf.c: Likewise.
44221 * libio/iovsscanf.c: Likewise.
44222 * libio/memstream.c: Likewise.
44223 * libio/obprintf.c: Likewise.
44224 * libio/oldfileops.c: Likewise.
44225 * libio/oldiofclose.c: Likewise.
44226 * libio/oldiofdopen.c: Likewise.
44227 * libio/oldiofopen.c: Likewise.
44228 * libio/oldiopopen.c: Likewise.
44229 * libio/oldstdfiles.c: Likewise.
44230 * libio/putc.c: Likewise.
44231 * libio/setbuf.c: Likewise.
44232 * libio/setlinebuf.c: Likewise.
44233 * libio/stdfiles.c: Likewise.
44234 * libio/strops.c: Likewise.
44235 * libio/vasprintf.c: Likewise.
44236 * libio/vscanf.c: Likewise.
44237 * libio/vsnprintf.c: Likewise.
44238 * libio/vswprintf.c: Likewise.
44239 * libio/wfiledoalloc.c: Likewise.
44240 * libio/wfileops.c: Likewise.
44241 * libio/wgenops.c: Likewise.
44242 * libio/wmemstream.c: Likewise.
44243 * libio/wstrops.c: Likewise.
44244 * libio/__fpurge.c: Likewise.
44245 * libio/__fsetlocking.c: Likewise.
44246 * assert/assert.c: Likewise.
44247 * debug/fgets_chk.c: Likewise.
44248 * debug/fgets_u_chk.c: Likewise.
44249 * debug/fread_chk.c: Likewise.
44250 * debug/fread_u_chk.c: Likewise.
44251 * debug/gets_chk.c: Likewise.
44252 * debug/obprintf_chk.c: Likewise.
44253 * debug/vasprintf_chk.c: Likewise.
44254 * debug/vdprintf_chk.c: Likewise.
44255 * debug/vsnprintf_chk.c: Likewise.
44256 * debug/vsprintf_chk.c: Likewise.
44257 * malloc/mtrace.c: Likewise.
44258 * misc/error.c: Likewise.
44259 * misc/syslog.c: Likewise.
44260 * stdio-common/asprintf.c: Likewise.
44261 * stdio-common/fxprintf.c: Likewise.
44262 * stdio-common/getw.c: Likewise.
44263 * stdio-common/isoc99_fscanf.c: Likewise.
44264 * stdio-common/isoc99_scanf.c: Likewise.
44265 * stdio-common/isoc99_vfscanf.c: Likewise.
44266 * stdio-common/isoc99_vscanf.c: Likewise.
44267 * stdio-common/isoc99_vsscanf.c: Likewise.
44268 * stdio-common/printf-prs.c: Likewise.
44269 * stdio-common/printf_fp.c: Likewise.
44270 * stdio-common/printf_fphex.c: Likewise.
44271 * stdio-common/printf_size.c: Likewise.
44272 * stdio-common/putw.c: Likewise.
44273 * stdio-common/scanf.c: Likewise.
44274 * stdio-common/sprintf.c: Likewise.
44275 * stdio-common/tmpfile.c: Likewise.
44276 * stdio-common/vfprintf.c: Likewise.
44277 * stdio-common/vfscanf.c: Likewise.
44278 * stdlib/strfmon_l.c: Likewise.
44279 * sunrpc/openchild.c: Likewise.
44280 * sunrpc/xdr_stdio.c: Likewise.
44281 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44282 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44283
d6c33fda
RM
442842012-05-24 Roland McGrath <roland@hack.frob.com>
44285
c1487492
RM
44286 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44287
44288 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44289 in the third column, to generate for the shared library an IFUNC
44290 that uses _dl_vdso_vsym.
44291 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44292 * Makeconfig (object-suffixes-noshared): New variable.
44293
44294 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44295 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44296 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44297 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44298
d6c33fda
RM
44299 [BZ #14132]
44300 * include/sys/time.h (__gettimeofday): Remove macro.
44301 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44302 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44303 Remove INTDEF.
44304 (__gettimeofday): Add libc_hidden_def.
44305 (gettimeofday): Add libc_hidden_weak.
44306 * sysdeps/mach/gettimeofday.c: Likewise.
44307 * sysdeps/posix/gettimeofday.c: Likewise.
44308 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44311 (__gettimeofday_internal): Remove strong_alias.
44312 (__gettimeofday): Add libc_hidden_def.
44313 (gettimeofday): Add libc_hidden_weak.
44314 * sysdeps/unix/syscalls.list (gettimeofday):
44315 Remove __gettimeofday_internal alias.
44316
b5a2bbe6
L
443172012-05-24 Daniel Jacobowitz <drow@false.org>
44318 H.J. Lu <hongjiu.lu@intel.com>
44319
44320 [BZ #12495]
44321 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44322 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44323 (largebin_index_32_big): New.
44324 (largebin_index): Use it for 16-byte alignment.
44325 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44326 correction with front_misalign.
44327
cfba4fda
L
443282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44329
7f907421
L
44330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44332 Likewise.
44333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44334 Likewise.
44335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44336 Likewise.
44337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44338 Likewise.
44339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44340 Likewise.
44341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44342 Likewise.
44343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44344 Likewise.
44345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44346 Likewise.
44347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44348 Likewise.
44349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44350 Likewise.
44351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44352 Likewise.
44353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44354 Likewise.
44355
cfba4fda
L
44356 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44357 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44358
80bad0cc
JM
443592012-05-24 Joseph Myers <joseph@codesourcery.com>
44360
7a25eb06
JM
44361 [BZ #10846]
44362 [BZ #14036]
44363 * math/libm-test.inc (exp_test): Add test from bug 14036.
44364 (pow_test): Add test from bug 10846.
44365
795405f9
JM
44366 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44367 and other flags.
44368 (special_function): Do not include flags in test name.
44369 (parse_args): Likewise.
44370 * sysdeps/i386/fpu/libm-test-ulps: Update.
44371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44372 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44373 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44375
80bad0cc
JM
44376 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44377 exceptions.
44378 * math/libm-test.inc ("Philosophy"): Update comment about
44379 exception testing.
44380 (UNDERFLOW_EXCEPTION): New macro.
44381 (UNDERFLOW_EXCEPTION_OK): Likewise.
44382 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44383 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44384 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44385 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44386 (INVALID_EXCEPTION_OK): Update value.
44387 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44388 (OVERFLOW_EXCEPTION_OK): Likewise.
44389 (IGNORE_ZERO_INF_SIGN): Likewise.
44390 (test_exceptions): Handle underflow exceptions.
44391 (acos_test): Update for underflow exception expectations.
44392 (cexp_test): Likewise.
44393 (clog_test): Likewise.
44394 (clog10_test): Likewise.
44395 (csqrt_test): Likewise.
44396 (ctan_test): Likewise.
44397 (ctanh_test): Likewise.
44398 (exp_test): Likewise.
44399 (exp10_test): Likewise.
44400 (exp2_test): Likewise.
44401 (expm1_test): Likewise.
44402 (fma_test): Likewise.
44403 (j0_test): Likewise.
44404 (jn_test): Likewise.
44405 (nexttoward_test): Likewise.
44406 (pow_test): Likewise.
44407 (scalbn_test): Likewise.
44408 (scalbln_test): Likewise.
44409 (tan_test): Likewise.
44410 (y1_test): Likewise.
44411 * sysdeps/i386/fpu/libm-test-ulps: Update.
44412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44413
9e0e3d0b
DM
444142012-05-23 David S. Miller <davem@davemloft.net>
44415
44416 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44417 (__libc_sigaction): Remove unused local variables.
44418
ccd0a08f
L
444192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44420
44421 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44422
62bdf9a6
PE
444232012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44424
f8591f80
PE
44425 mktime: avoid signed integer overflow
44426 * time/mktime.c (__mktime_internal): Do not mishandle the case
44427 where diff == INT_MIN.
44428
94c7d826
PE
44429 mktime: simplify computation of average
44430 * time/mktime.c (ranged_convert): Use new time_t_avg function
44431 instead of rolling our own (probably-slower) code.
44432
ce73d683
PE
44433 mktime: do not assume signed right shift propagates sign bit
44434 * time/mktime.c (isdst_differ): New static function.
44435 (__mktime_internal): No need to normalize tm_isdst now.
44436 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44437 tm_isdst values.
44438
72a22e59
PE
44439 mktime: merge another wrapv change from gnulib
44440 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44441 from some compilers.
44442
68605433
PE
44443 mktime: remove incorrect attempt at unusual arithmetics
44444 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44445 The code didn't really work on such machines anyway.
44446 (TYPE_MINIMUM): Assume two's complement.
44447 (twos_complement_arithmetic): Verify that long_int and time_t
44448 are two's complement (or unsigned, in the latter case).
44449
03cf7fe3
PE
44450 mktime: check signed shifts on long_int and time_t, too
44451 * time/mktime.c (SHR): Check that shifts work as desired
44452 on the types long_int and time_t too, as SHR is used on
44453 such types.
44454
f04dfbc2
PE
44455 mktime: do not assume 'long' is wide enough
44456 * time/mktime.c (verify): Move decl up.
44457 (long_int): New type.
44458 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44459 to remove assumption in the code that 'long' is wide enough to
44460 store year values. This assumption is not true on x32 and on
44461 some non-glibc platforms.
44462
62bdf9a6
PE
44463 mktime: merge wrapv change from gnulib
44464 * time/mktime.c (WRAPV): New macro.
44465 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44466 (guess_time_tm, __mktime_internal): Do not assume that signed
44467 integer overflow wraps around; modern compilers generate code
44468 where this assumption is no longer valid.
44469
5e292e4f
L
444702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44471
44472 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44473 Replace "jmp L(pseudo_end)" with "ret".
44474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44475 Likewise.
44476
8caf8c87
AJ
444772012-05-23 Andreas Jaeger <aj@suse.de>
44478
44479 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44480 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44481
1a09dc56
AJ
444822012-05-23 Andreas Jaeger <aj@suse.de>
44483 Maximilian Attems <max@stro.at>
44484
44485 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44486 New macros.
44487
1c87aba0
L
444882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44489
44490 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44491 code so that pseudo_end is just ret and the stack pointer is
44492 correct also for static library in error case.
44493
40e45bd5
JM
444942012-05-23 Joseph Myers <joseph@codesourcery.com>
44495
c2670533
JM
44496 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44497 move to syscalls.list.
44498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44502
40e45bd5
JM
44503 * manual/install.texi (Running make install): Do not mention Linux
44504 kernel version for which pt_chown is not needed.
44505 (Linux): Do not mention problems with nscd with 2.0 kernels.
44506 * INSTALL: Regenerated.
44507
be08eda5
AJ
445082012-05-23 Andreas Jaeger <aj@suse.de>
44509
44510 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44511 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44512 macro.
44513 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44515 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44517 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44522 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44523 * sysdeps/unix/sysv/linux/bits/in.h
44524 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44525
a6a056bb
RM
445262012-05-22 Roland McGrath <roland@hack.frob.com>
44527
44528 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44529 (PREPARE_VERSION): Just use assert instead, it will be elided
44530 under [NDEBUG] anyway.
44531
c9009328
L
445322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44533
44534 * sysdeps/unix/sysv/linux/Makefile: Include
44535 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 44536 (sysdep_routines): Remove sysctl.
c9009328
L
44537 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44538 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44539 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44540 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44541 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44542
73338355
AJ
445432012-05-22 Andreas Jaeger <aj@suse.de>
44544
44545 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44546 that pseudo_end is just ret and the stack pointer is correct also
44547 for static library in error case.
44548
d44638b0
PP
445492012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44550
44551 [BZ #14122]
44552 * nss/nsswitch.c (defconfig_entries): New variable.
44553 (__nss_database_lookup): Don't leak defconfig entries.
44554 (nss_parse_service_list): Don't leak on error paths.
44555 (free_database_entries): New function.
44556 (free_defconfig): New function.
44557 (free_mem): Move common code to free_database_entries.
44558
31a39bd8
L
445592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44560
da0331a8
L
44561 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44562 Add arch_prctl.
44563 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44564
31a39bd8
L
44565 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44566 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44568 New macro.
44569 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44570 (INTERNAL_SYSCALL_TYPES): Likewise.
44571 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44572 (LOAD_REGS_TYPES_[1-6]): Likewise.
44573 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44574 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44575
45470df3
AZ
445762012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44577
44578 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44579 copysignl for GLIBC_2_0.
44580 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44581 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44583 logbl for GLIBC_2_0.
44584 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44585 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44586
98a61bcb
L
445872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44588
a4f6e481
L
44589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44590 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44591
f63d5db6
L
44592 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44593 Use "neg %eax".
44594
98a61bcb
L
44595 * time/mktime.c: Update copyright years.
44596
95770f14
PE
445972012-05-22 Paul Eggert <eggert@cs.ucla.edu>
44598
6226efbd
PE
44599 mktime: merge comment-quoting-style change from gnulib
44600 * time/mktime.c: Quote 'like this' in comments.
44601 The GNU coding standards suggest that we no longer quote `like this',
44602 as "`" and "'" are typically rendered asymmetrically nowadays.
44603 The typical gnulib style is to quote 'like this' when quoting
44604 code, and "like this" when quoting English.
44605
b99e4f78
PE
44606 * time/mktime.c (compile-command): Add "-I.".
44607
643e01e6
PE
44608 mktime: merge mktime-internal.h change from gnulib
44609 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44610
2554247d
PE
44611 mktime: merge time_r change from gnulib
44612 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44613
826dd0ab
PE
44614 mktime: merge DEBUG change from gnulib
44615 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44616 case system <time.h> has a #define.
44617
bd83aabe
PE
44618 mktime: merge <sys/types.h> change from gnulib
44619 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44620 since <time.t> is now guaranteed to define time_t.
44621
95770f14
PE
44622 mktime: merge HAVE_CONFIG_H change from gnulib
44623 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44624
5e1a27a9
L
446252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44626
0e44a77e
L
44627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44628 Use "neg %eax".
44629
5e1a27a9
L
44630 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44631 __rlim_t cast.
44632 (struct rusage): Use anonymous union to pad each field to
44633 __syscall_slong_t.
44634
46259bec
DM
446352012-05-21 David S. Miller <davem@davemloft.net>
44636
44637 * Makefules (o-iterator): Remove .s cases.
44638 (compile-command.s): Delete.
44639 (COMPILE.s): Delete.
44640 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44641
59f0c22e
JM
446422012-05-21 Joseph Myers <joseph@codesourcery.com>
44643
44644 * configure.in (libc_cv_predef_stack_protector): Only consider
44645 "foobar" and "__stack_chk_fail" lines in libc_undefs.
44646 * configure: Regenerated.
44647
20c07380
L
446482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44649
bbb3154b
L
44650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44651 New macro. Use R*LP on int and pointer.
44652 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
44653 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44654 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
44655 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44656
20c07380
L
44657 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44658 [__WORDSIZE_TIME64_COMPAT32] instead of
44659 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44660 (struct utmp): Likewise.
44661 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44662 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44663 Renamed to ...
44664 (__WORDSIZE_TIME64_COMPAT32): This.
44665 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44666 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44667 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44668 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44669 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44670 (__WORDSIZE_TIME64_COMPAT32): New macro.
44671
d8d1017e
AJ
446722012-05-21 Andreas Jaeger <aj@suse.de>
44673
44674 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44675 only if [SHARED]. Add prototype for __wcschr_ia32.
44676
6c7fb145
RM
446772012-05-21 Roland McGrath <roland@hack.frob.com>
44678
44679 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44680 of %rbp unmolested in the jmp_buf while mangling the low bits.
44681 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44682 unmolested high bits of %rbp while demangling the low bits.
44683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44684
66274218
AJ
446852012-05-21 Andreas Jaeger <aj@suse.de>
44686
07c58f8f
AJ
44687 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44688 * sunrpc/svc_simple.c: Use it for registerrpc.
44689 * sunrpc/xcrypt.c: Use it for passwd2des.
44690
66274218
AJ
44691 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44692
61f65140
L
446932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44694
44695 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44696 Don't define if [__SYSCALL_WORDSIZE != 32].
44697 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44698 New macro.
44699
5fefb436
AJ
447002012-05-21 Bruno Haible <bruno@clisp.org>
44701 Andreas Jaeger <aj@suse.de>
44702
44703 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44704 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44705 inptr and inend for must_buffer_ch.
44706 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44707 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44708 * stdio-common/Makefile (tests): Remove bug15.
44709 (bug15-ENV): Remove macro.
44710 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44711 anymore.
44712
d8e272ab
AJ
447132012-05-19 Andreas Jaeger <aj@suse.de>
44714 Roland McGrath <roland@hack.frob.com>
44715
44716 * manual/contrib.texi: Completely rewritten. It contains now an
44717 alphabetical list of contributors and their contributions.
44718
4a56a162
RH
447192012-05-21 Richard Henderson <rth@twiddle.net>
44720
44721 * misc/getauxval.c (__getauxval): Use unsigned long int.
44722 * misc/sys/auxv.h: Include <sys/cdefs.h>.
44723 (getauxval): Use unsigned long int.
44724
d024d23c
L
447252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44726
44727 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44728
cbc00a03
RM
447292012-05-21 Roland McGrath <roland@hack.frob.com>
44730
44731 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44732 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44733 __alignof__ (long double).
44734
478143fa
AZ
447352012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44736
44737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44738
c7683a6d
RH
447392012-05-20 Richard Henderson <rth@twiddle.net>
44740
44741 * misc/getauxval.c: New file.
44742 * misc/sys/auxv.h: New file.
44743 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44744 (routines): Add getauxval.
44745 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44746 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44747 * elf/dl-sysdep.c (_dl_auxv): Remove.
44748 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44749 * elf/dl-support.c (_dl_auxv): New variable.
44750 (_dl_aux_init): Initialize it.
44751 * manual/startup.texi (Auxiliary Vector): New node.
44752 * sysdeps/generic/bits/hwcap.h: New file.
44753 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44754 * sysdeps/powerpc/sysdep.h: ... here. Include it.
44755 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44756 * sysdeps/sparc/sysdep.h: ... here. Include it.
44757 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44758 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
44759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44760 Update.
c7683a6d
RH
44761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44764 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44769
a6f1845d
AZ
447702012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44771
44772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44773
cbcbe830
DM
447742012-05-19 David S. Miller <davem@davemloft.net>
44775
44776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44777
e0b16cc2
JM
447782012-05-19 Joseph Myers <joseph@codesourcery.com>
44779
44780 [BZ #14123]
44781 * math/s_ccosh.c: Include <float.h>
44782 (__ccosh): Avoid internal overflow calculating sinh and cosh
44783 values before multiplying by sin and cos values.
44784 * math/s_ccoshf.c: Likewise.
44785 * math/s_ccoshl.c: Likewise.
44786 * math/s_csin.c: Likewise.
44787 * math/s_csinf.c: Likewise.
44788 * math/s_csinl.c: Likewise.
44789 * math/s_csinh.c: Likewise.
44790 * math/s_csinhf.c: Likewise.
44791 * math/s_csinhl.c: Likewise.
44792 * math/libm-test.inc (ccos_test): Add more tests.
44793 (ccosh_test): Likewise.
44794 (csin_test): Likewise.
44795 (csinh_test): Likewise.
44796 * sysdeps/i386/fpu/libm-test-ulps: Update.
44797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44798
6ad13e08
L
447992012-05-19 H.J. Lu <hongjiu.lu@intel.com>
44800
f66f0ce8
L
44801 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44802 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44803
6ad13e08
L
44804 * sysdeps/x86_64/x32/_itoa.h: Add comment.
44805
b1d072a7
JM
448062012-05-19 Joseph Myers <joseph@codesourcery.com>
44807
44808 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44809 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44810 * sysdeps/powerpc/soft-fp/Versions: Likewise.
44811 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44812 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44813 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44814 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44815 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44816 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44817 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44818 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44819 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44820 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44821 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44822 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44823 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44824 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44825 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44826 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44827 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44828 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44829 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44830 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44831 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44832 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44833 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44834 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44835 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44836 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44837 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44838 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44839
9eae47cb
AJ
448402012-05-18 Andreas Jaeger <aj@suse.de>
44841
44842 * csu/.gitignore: Delete.
44843
bb07f69f
L
448442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44845
44846 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44847 (timex): Use __syscall_slong_t.
44848
e6bdb741
AJ
448492012-05-18 Andreas Jaeger <aj@suse.de>
44850 Carlos O'Donell <carlos_odonell@mentor.com>
44851
44852 * manual/install.texi (Configuring and compiling): Update
44853 description about files modified in the source directory.
d6c33fda 44854 * INSTALL: Regenerated.
e6bdb741 44855
1b74487e
L
448562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44857
44858 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44859 value. Use "or" to set return value to -1.
44860 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44861 negate return value.
44862
a88b64b9
TMQMF
448632012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44864
57f41c40
AS
44865 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44866 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
44867 failure if the compiler has Graphite support disabled.
44868 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44869 Likewise.
57f41c40
AS
44870 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44871 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
44872 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44873 Likewise.
44874
3707636e
L
448752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44876
610b8622
L
44877 * sysdeps/x86_64/x32/_itoa.h: New file.
44878
7cd195df
L
44879 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44880 getdents system call only if kernel and user dirents have the
44881 same d_ino and d_off.
44882
94b07d20
L
44883 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44884 LLONG_MAX != LONG_MAX.
44885 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44886 (_fitoa_word): Likewise.
44887
18298070
L
44888 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44889 years.
44890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44891 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44892 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44893
553c7ea4
L
44894 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44895 include <bits/wordsize.h>. Check __x86_64__ instead of
44896 __WORDSIZE.
44897 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44898 if __x86_64__ is defined. Use anonymous union on fpstate.
44899
3707636e
L
44900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44901 anonymous union.
44902
b53ef01a
AS
449032012-05-18 Andreas Schwab <schwab@linux-m68k.org>
44904
37fb1dc0
AS
44905 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44906 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44907 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44908 Refer to _rtld_local_ro instead of _rtld_global_ro.
44909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44910 Likewise.
44911 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44912 Likewise.
44913 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44914 Likewise.
44915 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44916 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44917 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44918
b53ef01a
AS
44919 * sysdeps/powerpc/powerpc32/dl-machine.c
44920 (__elf_machine_runtime_setup) [PROF]: Don't reference
44921 _dl_prof_resolve.
44922
7a185db2
AJ
449232012-05-18 Andreas Jaeger <aj@suse.de>
44924
44925 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44926 function only available for GCCs before 3.4 since GCC 3.4
44927 introduced a builtin.
44928 (lrint): Likewise.
44929 (llrintf): Likewise.
44930 (llrint): Likewise.
44931 (fmaxf): Likewise.
44932 (fmax): Likewise.
44933 (fminf): Likewise.
44934 (fmin): Likewise.
44935 (rint): Likewise.
44936 (rintf): Likewise.
44937 (nearbyint): Likewise.
44938 (nearbyintf): Likewise.
44939 (ceil): Likewise.
44940 (ceilf): Likewise.
44941 (floor): Likewise.
44942 (floorf): Likewise.
44943
3e5aef87
L
449442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44945
428bd707
L
44946 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44947 on both fields and cast pointer to __syscall_ulong_t.
44948
3e5aef87
L
44949 * bits/types.h (__fsword_t): New type.
44950 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44951 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44953 (__FSWORD_T_TYPE): Likewise.
44954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44955 (__FSWORD_T_TYPE): Likewise.
44956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44957 (__FSWORD_T_TYPE): Likewise.
44958 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44959 (__FSWORD_T_TYPE): Likewise.
44960 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44961 __SWORD_TYPE with __fsword_t.
44962 (statfs64): Likewise.
44963
1ba7c3dc
DM
449642012-05-17 David S. Miller <davem@davemloft.net>
44965
44966 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44967
59910343
AJ
449682012-05-17 Andreas Jaeger <aj@suse.de>
44969
44970 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44971 warning.
44972
2e4c1e9e
L
449732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44974
44975 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44976
de7f5ce7
AJ
449772012-05-17 Andreas Jaeger <aj@suse.de>
44978
44979 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44980 when it is used.
44981
286abc3d
CM
449822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44983
44984 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44985
477cc68e
L
449862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44987
44988 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44989 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44990
1a0994f5
CD
449912012-05-17 Andreas Jaeger <aj@suse.de>
44992 Carlos O'Donell <carlos_odonell@mentor.com>
44993
44994 [BZ #14059]
44995 * sysdeps/x86_64/multiarch/init-arch.h
44996 (bit_YMM_Usable): Rename to...
44997 (bit_AVX_Usable): ... this.
44998 (bit_FMA4_Usable): New macro.
44999 (bit_XMM_state): New macro.
45000 (bit_YMM_state): New macro.
45001 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45002 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45003 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45004 (CPUID_OSXSAVE): New macro.
45005 (CPUID_AVX): New macro.
45006 (CPUID_FMA4): New macro.
45007 (index_YMM_Usable): Rename to...
45008 (index_AVX_Usable): ... this.
45009 (HAS_AVX): Use HAS_ARCH_FEATURE.
45010 (HAS_FMA4): Likewise.
45011 (HAS_YMM_USABLE): Remove.
45012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45013 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45014 are present.
45015 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45016 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45017 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45018 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45019 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45020
0af797de
CM
450212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45022
45023 * math/libm-test.c: Support platforms without multiple rounding modes.
45024 * math/bug-nextafter.c: Support platforms without FP exceptions.
45025 * math/bug-nexttoward.c: Likewise.
45026 * math/test-fenv.c: Likewise.
45027 * math/test-misc.c: Likewise.
45028 * stdlib/bug-getcontext.c: Likewise.
45029
e39745ff
AJ
450302012-05-17 Andreas Jaeger <aj@suse.de>
45031
45032 * manual/examples/search.c (critter_cmp): Change signature to
45033 avoid warnings.
45034 * manual/string.texi (Collation Functions): Likewise.
45035
48970aba
L
450362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45037
45038 * bits/types.h: Fold copyright years.
45039 * bits/typesizes.h: Likewise.
45040 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45041 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45044 * time/time.h: Likewise.
45045
bedee953
PP
450462012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45047
45048 [BZ #208]
45049 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45050 in instead of returning them. Return void.
45051 (__libc_mallinfo): Accumulate over all arenas.
45052 (__malloc_stats): Adjust for change in int_mallinfo interface.
45053
61653dfb
RM
450542012-05-16 Roland McGrath <roland@hack.frob.com>
45055
30b99d79
RM
45056 [BZ #10375]
45057 * configure.in (NM): Add AC_CHECK_TOOL for it.
45058 (libc_extra_cflags): New substituted variable.
45059 Check for -fstack-protector being used implicitly.
45060 * configure: Regenerated.
45061 * config.make.in (config-extra-cflags): New variable,
45062 gets @libc_extra_cflags@.
45063 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45064
61653dfb
RM
45065 [BZ #10375]
45066 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45067 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45068 * configure: Regenerated.
45069 * config.make.in (CPPUNDEFS): New substituted variable.
45070 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45071 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45072 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45073
661768bb
L
450742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45075
45076 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45077 (mq_attr): Use __syscall_slong_t.
45078
d4261567
L
450792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45080
45081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45082 Check __x86_64__ instead of __WORDSIZE.
45083 (_STAT_VER_LINUX): Likewise.
45084 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45085 __syscall_ulong_t and __syscall_slong_t.
45086 (stat64): Likewise.
45087
cf3ff365
L
450882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45089
45090 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45091
76cf3e4d
L
450922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45093
45094 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45095
a637753a
L
450962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45097
45098 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45099 __syscall_ulong_t.
45100
d5e05119
L
45101 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45102 include <bits/wordsize.h>. Check __x86_64__ instead of
45103 __WORDSIZE.
45104 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45105 defined.
45106 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45107
f62ee380
L
45108 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45109 include <bits/wordsize.h>. Check __x86_64__ instead of
45110 __WORDSIZE.
45111 (user_regs_struct): Use "__extension__ unsigned long long"
45112 instead of "unsigned long" if __x86_64__ is defined.
45113 (user): Likewise. Pad after pointer field if __ILP32__ is
45114 defined.
45115
4e124ced
JM
451162012-05-16 Joseph Myers <joseph@codesourcery.com>
45117
6a3951a0
JM
45118 * configure.in (makeinfo): Require version 4.5 or later. Allow
45119 versions 5 to 9.
45120 * configure: Regenerated.
45121 * manual/install.texi (texinfo): Increase version requirement to
45122 4.5 or later.
45123 * INSTALL: Regenerated.
45124
4e124ced
JM
45125 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45126
953ca31a
L
451272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45128
45129 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45130
617aca05
L
45131 * sysdeps/x86_64/x32/ffs.c: New file.
45132
5762f7ae
L
45133 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45134 __syscall_ulong_t.
45135 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45136 defined. Use __syscall_ulong_t.
45137 (shminfo): Use __syscall_ulong_t.
45138 (shm_info): Likewise.
45139
a26b6856
L
45140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45141 __syscall_ulong_t.
45142
cb2b9ef7
L
45143 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45144 <bits/wordsize.h>.
45145 (msgqnum_t): Use __syscall_ulong_t.
45146 (msglen_t): Likewise.
45147 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45148 __syscall_ulong_t.
45149
34683bb0
L
45150 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45151 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45152
84a68786
L
45153 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45154
48baa5f1
L
45155 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45156 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45157
180be88b
L
45158 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45159 __syscall_slong_t.
45160
5e90c8ad
L
45161 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45162 include <bits/wordsize.h>. Check __x86_64__ instead of
45163 __WORDSIZE.
45164
23dfb58b
L
45165 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45166 "unsigned long long int" if __x86_64__ is defined.
45167 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45168
ce5d54b0
L
45169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45170 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45171 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45172
13dc9eac
L
45173 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45174 <stdint.h>.
45175 (GET_PC): Cast to uintptr_t first.
45176 (GET_FRAME): Likewise.
45177 (GET_STACK): Likewise.
45178
a7895d15
L
45179 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45180 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45181 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45182 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45183 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45184 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45185 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45186 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45187 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45188 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45189 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45192 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45193 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45195 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45196 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45198 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45200 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45202 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45208
656416c9
AS
452092012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45210
5bd66283
AS
45211 * Makerules (+depfiles): Also collect depfiles from .oS in
45212 $(extra-objs).
45213 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45214 .oS, $(libnldbl-routines)).
45215
656416c9
AS
45216 * Makerules (native-compile-mkdep-flags): Define.
45217 * sunrpc/Makefile (extra-objs): Add $(addprefix
45218 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45219 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45220 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45221 calling $(make-target-directory).
45222
a46f2169
L
452232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45224
45225 * bits/types.h (__snseconds_t): Removed.
45226 * time/time.h (struct timespec): Replace __snseconds_t with
45227 __syscall_slong_t.
45228 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45229 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45230 Likewise.
45231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45232 (__SNSECONDS_T_TYPE): Likewise.
45233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45234 (__SNSECONDS_T_TYPE): Likewise.
45235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45236 (__SNSECONDS_T_TYPE): Likewise.
45237
6af6528b
L
452382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45239
45240 * sysdeps/mach/hurd/bits/typesizes.h
45241 (__SYSCALL_SLONG_TYPE): New macro.
45242 (__SYSCALL_ULONG_TYPE): Likewise.
45243
de986b56
L
452442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45245
45246 * bits/types.h (__syscall_slong_t): New type.
45247 (__syscall_ulong_t): Likewise.
45248
45249 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45250 (__SYSCALL_ULONG_TYPE): Likewise.
45251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45252 (__SYSCALL_SLONG_TYPE): Likewise.
45253 (__SYSCALL_ULONG_TYPE): Likewise.
45254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45255 (__SYSCALL_SLONG_TYPE): Likewise.
45256 (__SYSCALL_ULONG_TYPE): Likewise.
45257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45258 (__SYSCALL_SLONG_TYPE): Likewise.
45259 (__SYSCALL_ULONG_TYPE): Likewise.
45260
85736dc7
L
452612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45262
45263 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45264 Add sigaltstack-offsets.sym.
45265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45266 <sigaltstack-offsets.h>.
45267 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45268 longjmp_msg pointer.
45269 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45270 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45271 signal stack.
45272 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45273
cc03b296
JM
452742012-05-15 Joseph Myers <joseph@codesourcery.com>
45275
a9538892
JM
45276 * elf/stackguard-macros.h: Remove file.
45277 * sysdeps/generic/stackguard-macros.h: New file.
45278 * sysdeps/i386/stackguard-macros.h: Likewise.
45279 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45280 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45281 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45282 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45283 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45284 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45285 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45286 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45287 <elf/stackguard-macros.h>.
45288
cc03b296
JM
45289 [BZ #14109]
45290 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45291 __aligned__ in attribute.
45292 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45293 (gregset_t): Likewise.
45294
93171016
L
452952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45296
45297 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45298 * sysdeps/x86_64/64/Implies-after: Here. New file.
45299 * sysdeps/x86_64/x32/Implies-after: New file.
45300
d86813a0
L
453012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45302
45303 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45304 and access return value for _dl_profile_fixup. Use R10_LP to
45305 load frame size.
45306
2953ec75
L
453072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45308
45309 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45310
3b550e9e
L
453112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45312
45313 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45314 * sysdeps/x86_64/x32/sysdep.h: New file.
45315
eda41706
L
453162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45317
45318 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45319 * sysdeps/x86_64/setjmp.S: Likewise.
45320
9ea01d93
AZ
453212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45322
45323 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45324 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45325 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45327 remove unused global constant.
45328
02a91938
CM
453292012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45330
45331 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45332 include of <not-cancel.h>.
45333
6540185f
RM
453342012-05-15 Roland McGrath <roland@hack.frob.com>
45335
45336 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45337
509072a0
AJ
453382012-05-15 Jeff Law <law@redhat.com>
45339 Andreas Jaeger <aj@suse.de>
45340
45341 [BZ #13594]
45342 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45343 out from...
45344 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45345 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45346 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45347 code changing __hst_map_handle.map.
45348
ba75122d
RM
453492012-05-15 Roland McGrath <roland@hack.frob.com>
45350
45351 * configure.in (sysnames): Look for Implies-before and Implies-after
45352 files.
45353 * configure: Regenerated.
45354
890d8bd8
L
453552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45356
45357 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45358 8-byte data alignment with LP_SIZE alignment.
45359
f6ee6623
L
453602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45361
45362 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45363 into R10_LP.
45364
ea2626f6
L
453652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45366
45367 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45368
085f715e
L
453692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45370
45371 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45372 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45373 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45374 Likewise.
45375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45376
be8498fc
L
453772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45378
45379 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45380 (stackinfo_sub_sp): Likewise.
45381
70bc83b9
L
453822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45383
45384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45385 RAX_LP.
45386
9bc0b730
L
453872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45388
45389 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45390 into R*_LP.
45391
6d2850e7
L
453922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45393
45394 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45395 sizes into R*_LP.
45396
3cb84561
L
453972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45398
45399 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45400
54e2ed81
L
454012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45402
45403 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45404 into R11_LP and load __x86_64_shared_cache_size_half into
45405 R8_LP.
45406
8a17f349
L
454072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45408
45409 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45410 R8_LP.
45411
777b1eea
AZ
454122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45413
45414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45415 logb for POWER7.
45416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45417 logbf for POWER7.
45418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45419 logbl for POWER7.
45420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45421 powerpc32/power7/fpu/s_logb.c via #include.
45422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45423 powerpc32/power7/fpu/s_logbf.c via #include.
45424 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45425 powerpc32/power7/fpu/s_logbl.c via #include.
45426
d20d4ac2
JM
454272012-05-15 Joseph Myers <joseph@codesourcery.com>
45428
45429 * README.libm: Remove file.
45430
6cdef1ab
L
454312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45432
45433 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45434 count for x32. Use R*_LP and omit operand-size suffix.
45435
0b254d8f
L
454362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45437
45438 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45439 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45440 * sysdeps/x86_64/x32/shlib-versions: New file.
45441
ceb809dc
RM
454422012-05-14 Roland McGrath <roland@hack.frob.com>
45443
45444 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45445 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45446 Use _dl_fatal_printf instead.
45447
37f1abd4
JM
454482012-05-14 Joseph Myers <joseph@codesourcery.com>
45449
45450 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45451 set if not set by the user. Do not allow for being unset.
45452 * sysdeps/unix/sysv/linux/configure: Regenerated.
45453
11de3a33
L
454542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45455
45456 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45457 the `q' suffix from lea and replace .quad with ASM_ADDR.
45458
e02f153a
L
454592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45460
45461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45462 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45463 instead of $17.
45464 (PTR_DEMANGLE): Likewise.
45465
520ae0fd
L
454662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45467
45468 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45469 (LP_OP): Likewise.
45470 (ASM_ADDR): Likewise.
45471 (RAX_LP): Likewise.
45472 (RBP_LP): Likewise.
45473 (RBX_LP): Likewise.
45474 (RCX_LP): Likewise.
45475 (RDI_LP): Likewise.
45476 (RSI_LP): Likewise.
45477 (RSP_LP): Likewise.
45478 (R8_LP): Likewise.
45479 (R9_LP): Likewise.
45480 (R10_LP): Likewise.
45481 (R10_LP): Likewise.
45482 (R11_LP): Likewise.
45483 (R12_LP): Likewise.
45484 (R13_LP): Likewise.
45485 (R14_LP): Likewise.
45486 (R15_LP): Likewise.
45487
b985be81
L
454882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45489
45490 * sysdeps/x86_64/x32/dl-machine.h: New file.
45491
6a4888ff
AJ
454922012-05-14 Andreas Jaeger <aj@suse.de>
45493
45494 * manual/Makefile (subdir): Remove export of subdir.
45495 (all): Remove target.
45496 (.PHONY): Remove all from list.
45497 (mkinstalldirs): Remove.
45498 (.PHONY): Remove installdirs from list.
45499 ($(inst_infodir)/libc.info): Use make-target-directory.
45500 (installdirs): Remove.
45501 (subdir_%): Remove.
45502 (glibc-targets): Remove.
45503 (lib): Remove.
45504 (stubs): Remove.
45505 ($(objpfx)stubs ../po/manual.pot): Remove.
45506 ($(objpfx)stamp%): Remove.
45507 (make-target-directory): Remove.
45508 (subdir_install): Remove.
45509 (routines): Remove.
45510 (aux): Remove.
45511 (sources): Remove.
45512 (objects): Remove.
45513 (headers): Remove.
45514
45515 [BZ #13750]
45516 * manual/.gitignore: Remove, it's not needed anymore.
45517 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45518 all files in it.
45519 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45520 directory.
45521 (texis): Renamed to $(objpfx)texis.
45522 (texis-path): New, contains path to generated files.
45523 (chapters.%): Use texis-path for complete path, add extra argument
45524 libc-texinfo.sh.
45525 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45526 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45527 (summary,texi, stamp-summary): Use complete path of
45528 files. Generate files in build dir.
45529 (dir-add.texi): Build in build dir.
45530 (libm-err.texi,stamp-libm-err): Likewise.
45531 (version.texi, stamp-version): Likewise.
45532 (.%c.texi): Likewise.
45533 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45534 (mostlyclean): Remove target.
45535 (realclean): Remove target.
45536 (generated): Add new variable with contents from mostlyclean and
45537 realclean, remove entries duplicated in common-mostlyclean, add
45538 stamp-libm-err and stamp-version.
45539 (generated-dirs): Add libc directory.
45540 ($(inst_infodir)/libc.info): Install files from build dir.
45541
45542 * manual/install.texi (Configuring and compiling): Adjust since
45543 the info files are not part of the tar ball anymore.
45544
7ac77294
AJ
455452012-05-14 Andreas Jaeger <aj@suse.de>
45546
45547 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45548 variable.
45549
ffb7875d
JM
455502012-05-14 Joseph Myers <joseph@codesourcery.com>
45551
45552 [BZ #13717]
45553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45554 to 2.2.0 where earlier.
45555 * sysdeps/unix/sysv/linux/configure: Regenerated.
45556 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45557 Remove conditional code.
45558 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45559 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45560 Remove conditional code.
45561 [!__NR_lchown]: Likewise.
45562 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45563 [__NR_lchown]: Likewise.
45564 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45565 comment referencing __ASSUME_LCHOWN_SYSCALL.
45566 * sysdeps/unix/sysv/linux/i386/sigaction.c
45567 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45568 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45569 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45570 Remove conditional code.
45571 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45572 (__protocol_available): Remove #if 0 code.
45573 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45574 conditional code.
45575 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45576 * sysdeps/unix/sysv/linux/kernel-features.h
45577 (__ASSUME_GETCWD_SYSCALL): Don't define.
45578 (__ASSUME_REALTIME_SIGNALS): Likewise.
45579 (__ASSUME_PREAD_SYSCALL): Likewise.
45580 (__ASSUME_PWRITE_SYSCALL): Likewise.
45581 (__ASSUME_POLL_SYSCALL): Likewise.
45582 (__ASSUME_LCHOWN_SYSCALL): Likewise.
45583 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45584 non-SPARC.
45585 (__ASSUME_SIOCGIFNAME): Don't define.
45586 (__ASSUME_MSG_NOSIGNAL): Likewise.
45587 (__ASSUME_SENDFILE): Define unconditionally.
45588 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45589 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45590 conditional code.
45591 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45592 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45593 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45594 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45595 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45596 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45597 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45602 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45611 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45614 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45617 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45620 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45621 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45622 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45623 Remove conditional code.
45624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45625 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45626 Remove conditional code.
45627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45628 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45629 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45630 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45631 Remove conditional code.
45632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45633 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45634 Remove conditional code.
45635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45636 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45637 Remove conditional code.
45638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45639 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45640 Remove conditional code.
45641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45642 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45643 Remove conditional code.
45644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45645 * sysdeps/unix/sysv/linux/sh/pwrite64.c
45646 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45648 * sysdeps/unix/sysv/linux/sigaction.c
45649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45651 * sysdeps/unix/sysv/linux/sigpending.c
45652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45654 * sysdeps/unix/sysv/linux/sigprocmask.c
45655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45657 * sysdeps/unix/sysv/linux/sigsuspend.c
45658 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45659 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45660 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45661 (__libc_missing_rt_sigs): Remove.
45662 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45663 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45664 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45665 Remove conditional code.
45666 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45667 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45668 return 1.
45669 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45670 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45671 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45672 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45673
1bfb7291
AJ
456742012-05-14 Andreas Jaeger <aj@suse.de>
45675
caae5a81
AJ
45676 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45677 it's not used in glibc.
45678 (__coshm1): Likewise.
45679 (__acosh1p): Likewise.
45680 (__sgn): Likewise.
45681
1bfb7291
AJ
45682 * manual/string.texi (Copying and Concatenation): Add missing
45683 variable in concat example.
45684 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45685
c044d724
L
456862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45687
144c5467 45688 [BZ #14103]
c044d724
L
45689 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45690 __builtin_clzl with __builtin_clzll.
45691
2523c62b
L
456922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45693
45694 [BZ #14104]
45695 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45696 libc_freeres_ptr.
45697
d7bb4c42
LD
456982012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45699
45700 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45701 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45702 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45703 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45704
9dc4e1fb
MF
457052012-05-14 Mike Frysinger <vapier@gentoo.org>
45706
45707 * NEWS: Update ia64 info.
45708
c7df0112
AS
457092012-05-12 Andreas Schwab <schwab@linux-m68k.org>
45710
45711 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45712 used as bcopy.
45713
dc70356c
TS
457142012-05-12 Thomas Schwinge <thomas@codesourcery.com>
45715
45716 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45717 * sysdeps/unix/syscalls.list (dup3): Likewise.
45718 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45719 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45720
9fb1a21f
L
457212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45722
45723 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45724 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45725
4822a2a5
L
457262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45727
45728 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45729 thread pointer.
45730 (TLS_IE): Use mov/add instead of movq/addq to load thread
45731 pointer.
45732 (TLS_GD_PREFIX): New.
45733 (TLS_GD): Use it.
45734
842b81d6
DM
457352012-05-11 David S. Miller <davem@davemloft.net>
45736
45737 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45738 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45739 (_FPU_SETCW): Likewise.
45740
1cf463cd
L
457412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45742
45743 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45744 is 32-byte aligned.
45745
60cc4a18
AS
457462012-05-11 Andreas Schwab <schwab@linux-m68k.org>
45747
45748 [BZ #11837]
45749 * iconvdata/gb18030.c: Update tables.
45750 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
45751 characters specially.
45752 (BODY for TO_LOOP): Add encoding of missing ranges.
45753
febb44a4
TS
457542012-05-11 Thomas Schwinge <thomas@codesourcery.com>
45755
45756 [BZ #13673]
45757 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45758 * sysdeps/mach/hurd/dup3.c: Likewise.
45759 * sysdeps/mach/hurd/readlinkat.c: Likewise.
45760 * sysdeps/powerpc/memmove.c:: Likewise.
45761
0a10fb9e
L
457622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45763
45764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45765 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45766
df8a552f
L
457672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45768
45769 * elf/elf.h (R_X86_64_RELATIVE64): New.
45770 (R_X86_64_NUM): Updated.
45771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45772 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
45773 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45774 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45775 tst-quad1pie tst-quad2pie
45776 (modules-names): Add tst-quadmod1 tst-quadmod2.
45777 ($(objpfx)tst-quad1): New dependency.
45778 ($(objpfx)tst-quad2): Likewise.
45779 ($(objpfx)tst-quad1pie): Likewise.
45780 ($(objpfx)tst-quad2pie): Likewise.
45781 * sysdeps/x86_64/tst-quad1.c: New file.
45782 * sysdeps/x86_64/tst-quad1pie.c: New file.
45783 * sysdeps/x86_64/tst-quad2.c: Likewise.
45784 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45785 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45786 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45787 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45788 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45789
f34d6f84
ST
457902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45791
f42d41d1
ST
45792 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45793 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45794 * streams/stropts.h (t_scalar_t): Define type.
45795
3c3571fc
ST
45796 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45797 (_PATH_PRESERVE): Set to "/var/lib".
45798 (_PATH_RWHODIR): Set to "/var/spool/rwho".
45799
61f06bd3
ST
45800 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45801 instead of int.
45802
918d4d71
ST
45803 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45804 if __dir_mkfile succeeded.
45805
f34d6f84
ST
45806 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45807 checking for _hurd_dtablesize. Unlock it right after having
45808 finished _hurd_dtable allocation.
45809
10589b4a
TS
458102012-05-10 Thomas Schwinge <thomas@schwinge.name>
45811
674cdbc7
TS
45812 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45813 * sysdeps/mach/hurd/configure: Regenerated.
45814 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45815 special-casing to...
45816 * sysdeps/gnu/configure.in: ... this new file.
45817 * sysdeps/unix/sysv/linux/configure: Regenerated.
45818 * sysdeps/gnu/configure: New generated file.
45819
8e41b99f
TS
45820 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45821 for Linux: use nsec instead of usec, as well as:
45822 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45823 members of type struct timespec.
45824 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45825 New macros.
45826 (struct stat64): Likewise.
45827 (_STATBUF_ST_NSEC): New macro.
45828 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45829
10589b4a
TS
45830 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45831 __strtoul_internal rather than strtoul.
45832
63643c85
PT
458332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45834
45835 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45836 and reject them.
45837
3faebe6a
ST
458382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45839
45840 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45841 which preserves existing values.
45842 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45843
c6474b07
PT
458442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45845
45846 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45847 TIMEOUT values. Return EINVAL for NFDS values either negative or
45848 greater than FD_SETSIZE.
45849
1043890b
ST
458502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45851
45852 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45853 allocated, call __vm_protect to finish enabling the existing space, and
45854 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45855 allocate the remainder.
45856
37ed8b9b
PT
458572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45858
45859 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45860 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
45861
db653660
ST
458622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45863
37ed8b9b
PT
45864 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45865 sysdeps/mach/hurd/readlink.c.
b29d4053 45866
db653660
ST
45867 * posix/tst-sysconf.c (posix_options): Only use
45868 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45869 _POSIX_SYNCHRONIZED_IO when they are defined
45870 * sysdeps/mach/hurd/bits/posix_opt.h:
45871 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45872 (_XOPEN_REALTIME): Undefine macro.
45873 (_XOPEN_REALTIME_THREADS): Undefine macro.
45874 (_XOPEN_SHM): Undefine macro.
45875 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45876 macro to -1.
45877 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45878 macro to -1.
45879 (_POSIX_ASYNC_IO): Undefine macro.
45880 (_POSIX_PRIORITIZED_IO): Undefine macro.
45881 (_POSIX_SPIN_LOCKS): Define macro to -1.
45882
ee16e894
ST
45883 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45884 SA_NODEFER, SA_RESETHAND.
45885 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45886 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45887 F_DUPFD_CLOEXEC.
45888
6103ae3b
TS
458892012-05-10 Thomas Schwinge <thomas@schwinge.name>
45890
45891 * elf/Makefile (pldd-modules): Define unconditionally.
45892
80b4e5f3
TS
458932012-05-10 Thomas Schwinge <thomas@schwinge.name>
45894
45895 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45896
edadcbd6
ST
458972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45898
45899 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45900 Return ENOENT when name is empty.
45901 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45902
80694780
TS
459032012-05-10 Thomas Schwinge <thomas@schwinge.name>
45904
1792c087
TS
45905 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45906
80694780
TS
45907 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45908
6b645f0d
ST
459092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45910
80694780
TS
45911 Fix mlock in all cases except non-readable pages.
45912 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45913 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 45914
6b645f0d
ST
45915 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45916 (__mkdir): When path is `/', just fail with EEXIST.
45917 * sysdeps/mach/hurd/mkdirat.c: Likewise.
45918
e468f8a3
TS
459192012-05-10 Thomas Schwinge <thomas@schwinge.name>
45920
45921 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45922 <sys/uio.h> (for writev).
45923 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45924 and <sys/param.h> (for MIN).
45925
a4186cff
PT
459262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45927
45928 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45929 REQUESTED_TIME. Properly set the remaining time and return EINTR
45930 if interrupted.
45931
510bbf14
TS
459322012-05-10 Thomas Schwinge <thomas@schwinge.name>
45933
45934 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45935 Depend on against $(link-rpcuserlibs).
45936
5d5722e8
ST
459372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45938
a4186cff
PT
45939 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45940 (__libc_stack_end): Do not use attribute_relro.
45941 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45942 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 45943 to libthread-provided value.
a4186cff
PT
45944 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45945 attribute_relro.
5d5722e8 45946
37233df9
TS
459472012-05-10 Thomas Schwinge <thomas@schwinge.name>
45948
be971a2b
TS
45949 [BZ #3748]
45950 * bits/libc-lock.h (__libc_once_get): New macro.
45951 * sysdeps/mach/bits/libc-lock.h: Likewise.
45952 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45954 instead of using implementation details.
45955
37233df9
TS
45956 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45957 * libio/freopen.c: Likewise.
45958 * libio/freopen64.c: Likewise.
45959 * misc/syslog.c: Likewise.
45960 * nscd/connections.c: Likewise.
45961 * nscd/netgroupcache.c: Likewise.
45962 * sysdeps/posix/getcwd.c: Likewise.
45963
38de94a5
RM
459642012-05-10 Roland McGrath <roland@hack.frob.com>
45965
45966 * math/w_ilogbf.c: Add #include <limits.h>.
45967
67530489
ST
459682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45969
a4186cff 45970 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
45971 path instead of returning without unlocking.
45972
67530489
ST
45973 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45974 immediate-write ioctls.
45975 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45976
5aa3a74a
TS
459772012-05-10 Thomas Schwinge <thomas@schwinge.name>
45978
18bad2ae
TS
45979 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45980 __builtin_frame_address instead of making assumptions about the
45981 location of the return address relative to DATA. Force early load of
45982 the return address.
45983 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45984 __builtin_frame_address.
45985
5aa3a74a
TS
45986 dup3 for GNU Hurd.
45987 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45988 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45989 implement dup3 and do some further code clean-ups.
45990 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45991 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45992
ecd0de9a
ST
459932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45994
cd9fa985
ST
45995 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45996
a4186cff
PT
45997 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45998 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45999 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46000 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46001 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46002 d->port.lock.
802ca5a5 46003
a4186cff
PT
46004 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46005 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46006 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 46007
bcf55240
TS
460082012-05-10 Thomas Schwinge <thomas@schwinge.name>
46009
6960eb42
TS
46010 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46011 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46012 definitions.
46013
eb43375f
TS
46014 accept4 for GNU Hurd.
46015 * include/sys/socket.h (__libc_accept4): New prototype.
46016 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46017 to implement __libc_accept4.
46018 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46019 __libc_accept4.
46020 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46021
bcf55240
TS
46022 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46023 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46024 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46025 signal-defines.sym.
46026
6178c55b
ST
460272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46028
a4186cff 46029 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 46030
6f080c2f
TS
460312012-05-10 Thomas Schwinge <thomas@schwinge.name>
46032
46033 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46034 assertion on O_CLOEXEC flag.
46035 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46036 * hurd/intern-fd.c: Likewise.
46037 * hurd/port2fd.c: Likewise.
46038
bcfe3a54
ST
460392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46040
46041 [BZ #3906]
46042 * bits/in.h (IPV6_PKTINFO): Define new macro.
46043 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46044
89c9aa49
AZ
460452012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46046
46047 [BZ #13954]
46048 [BZ #13955]
46049 [BZ #13956]
46050 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46051 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46052 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46053 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46055 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46056 * math/libm-test.inc (logb_test) : Additional logb tests.
46057
021db4be
AJ
460582012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46059 Andreas Jaeger <aj@suse.de>
46060
46061 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46062 * configure: Regenerated.
46063 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46064 * config.make.in (link-obsolete-rpc): New substituted variable.
46065 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46066 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46067 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46068 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46069 so that libc.a contains the symbols.
46070 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46071 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46072 * sunrpc/auth_none.c: Likewise.
46073 * sunrpc/auth_unix.c: Likewise.
46074 * sunrpc/authdes_prot.c: Likewise.
46075 * sunrpc/authuxprot.c: Likewise.
46076 * sunrpc/clnt_gen.c: Likewise.
46077 * sunrpc/clnt_perr.c: Likewise.
46078 * sunrpc/clnt_raw.c: Likewise.
46079 * sunrpc/clnt_simp.c: Likewise.
46080 * sunrpc/clnt_tcp.c: Likewise.
46081 * sunrpc/clnt_udp.c: Likewise.
46082 * sunrpc/clnt_unix.c: Likewise.
46083 * sunrpc/des_crypt.c: Likewise.
46084 * sunrpc/des_soft.c: Likewise.
46085 * sunrpc/get_myaddr.c: Likewise.
46086 * sunrpc/key_call.c: Likewise.
46087 * sunrpc/key_prot.c: Likewise.
46088 * sunrpc/netname.c: Likewise.
46089 * sunrpc/pm_getmaps.c: Likewise.
46090 * sunrpc/pm_getport.c: Likewise.
46091 * sunrpc/pmap_clnt.c: Likewise.
46092 * sunrpc/pmap_prot.c: Likewise.
46093 * sunrpc/pmap_prot2.c: Likewise.
46094 * sunrpc/pmap_rmt.c: Likewise.
46095 * sunrpc/publickey.c: Likewise.
46096 * sunrpc/rpc_cmsg.c: Likewise.
46097 * sunrpc/rpc_common.c: Likewise.
46098 * sunrpc/rpc_dtable.c: Likewise.
46099 * sunrpc/rpc_prot.c: Likewise.
46100 * sunrpc/rpc_thread.c: Likewise.
46101 * sunrpc/rtime.c: Likewise.
46102 * sunrpc/svc.c: Likewise.
46103 * sunrpc/svc_auth.c: Likewise.
46104 * sunrpc/svc_raw.c: Likewise.
46105 * sunrpc/svc_run.c: Likewise.
46106 * sunrpc/svc_tcp.c: Likewise.
46107 * sunrpc/svc_udp.c: Likewise.
46108 * sunrpc/svc_unix.c: Likewise.
46109 * sunrpc/svcauth_des.c: Likewise.
46110 * sunrpc/xcrypt.c: Likewise.
46111 * sunrpc/xdr.c: Likewise.
46112 * sunrpc/xdr_array.c: Likewise.
46113 * sunrpc/xdr_float.c: Likewise.
46114 * sunrpc/xdr_intXX_t.c: Likewise.
46115 * sunrpc/xdr_mem.c: Likewise.
46116 * sunrpc/xdr_rec.c: Likewise.
46117 * sunrpc/xdr_ref.c: Likewise.
46118 * sunrpc/xdr_sizeof.c: Likewise.
46119 * sunrpc/xdr_stdio.c: Likewise.
46120
b5c086a2
RM
461212012-05-10 Roland McGrath <roland@hack.frob.com>
46122
46123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46124 change. Update copyright years.
46125
6d74dd09
JM
461262012-05-10 Joseph Myers <joseph@codesourcery.com>
46127
46128 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46129
28e72501
MK
461302012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46131 Joseph Myers <joseph@codesourcery.com>
46132 Paul Pluzhnikov <ppluzhnikov@google.com>
46133
46134 [BZ #14012]
46135 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46136 requiring rpcgen.
46137 [cross-compiling] (extra-libs): Likewise.
46138 [cross-compiling] (extra-libs-others): Likewise.
46139 [cross-compiling] (librpcsvc-routines): Likewise.
46140 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46141 [cross-compiling] (omit-deps): Likewise.
46142 (sunrpc-CPPFLAGS): New variable.
46143 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46144 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46145 (cross-rpcgen-objs): New variable.
46146 (extra-objs): Append $(cross-rpcgen-objs).
46147 ($(cross-rpcgen-objs)): New rule.
46148 ($(objpfx)cross-rpcgen): Likewise.
46149 (rpcgen-cmd): Define to use $(built-program-file). Expand
46150 comment.
46151 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46152 ($(objpfx)x%.stmp): Likewise.
46153 * sunrpc/proto.h [IS_IN_build] (_): Define.
46154 [IS_IN_build] (_libc_intl_domainname): Likewise.
46155
c8c59454
L
461562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46157
46158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46159 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46160 and R_X86_64_TPOFF64.
46161
6f27cd16
JM
461622012-05-10 Joseph Myers <joseph@codesourcery.com>
46163
46164 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46165 sysdeps/unix/sysv/syscalls.list.
46166 (stime): Likewise.
46167 (utime): Likewise.
46168 * sysdeps/unix/sysv/syscalls.list: Remove file.
46169
02467e1c
PE
461702012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46171
46172 [BZ #3440]
46173 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46174 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46175 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46176 (__LC_IDENTIFICATION): Make these macros useful in #if
46177 expressions, as required by C99.
46178
da392631
AS
461792012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46180
46181 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46182 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46183 after this.
46184
8115f29b
L
461852012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46186
46187 * stdlib/longlong.h: Updated from GCC.
46188
bdd74070
AJ
461892012-05-09 Andreas Jaeger <aj@suse.de>
46190
edfe0dbe
AJ
46191 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46192 default is first entry.
46193 (run_mode): Set type.
46194 (main): Remove informal message about syslog.
46195 (options): Fix typo.
46196
bcfe3a54
ST
46197 [BZ #14053]
46198 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 46199 to asm.
bcfe3a54
ST
46200 (lrint): Likewise.
46201 (llrintf): Likewise.
46202 (llrint): Likewise.
46203 (rint): Likewise.
46204 (rintf): Likewise.
46205 (nearbyint): Likewise.
46206 (nearbyintf): Likewise.
bdd74070 46207
91d8d69e
AJ
462082012-05-09 Andreas Jaeger <aj@suse.de>
46209 Pedro Alves <palves@redhat.com>
46210
46211 * nscd/nscd.c (run_mode): Use enum.
46212 (main): Cleanup coding style issue.
46213
bb90b80b
AJ
462142012-05-09 Alexandre Oliva <aoliva@redhat.com>
46215 Andreas Jaeger <aj@suse.de>
46216
bcfe3a54
ST
46217 * nscd/nscd.c (go_background): Replaced with...
46218 (run_mode): ... this.
bb90b80b 46219 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
46220 (options): Add -F --foreground.
46221 (main): Implement it.
46222 (parse_opt): Parse it.
bb90b80b 46223
1a4b75a1
AJ
462242012-05-09 Andreas Jaeger <aj@suse.de>
46225
46226 [BZ #14083]
46227 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46228 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46229 -Wconversion warning.
46230 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46231 Likewise.
46232
b1cc2472
JM
462332012-05-09 Joseph Myers <joseph@codesourcery.com>
46234
46235 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46236 == 0.
46237 (LC_ALL): Use macro-int-constant.
46238 (LC_COLLATE): Likewise.
46239 (LC_CTYPE): Likewise.
46240 (LC_MESSAGES): Likewise.
46241 (LC_MONETARY): Likewise.
46242 (LC_NUMERIC): Likewise.
46243 (LC_TIME): Likewise.
46244 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46245 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46247 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46248 Specify type.
46249 [C99-based standards] (float_t): Expect type.
46250 [C99-based standards] (double_t): Expect type.
46251 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46252 type.
46253 [C99-based standards] (HUGE_VALL): Likewise.
46254 [C99-based standards] (INFINITY): Likewise.
46255 [C99-based standards] (NAN): Likewise.
46256 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46257 [C99-based standards] (FP_NAN): Likewise.
46258 [C99-based standards] (FP_NORMAL): Likewise.
46259 [C99-based standards] (FP_SUBNORMAL): Likewise.
46260 [C99-based standards] (FP_ZERO): Likewise.
46261 [C99-based standards] (FP_FAST_FMA): Use
46262 optional-macro-int-constant. Specify type. Require == 1.
46263 [C99-based standards] (FP_FAST_FMAF): Likewise.
46264 [C99-based standards] (FP_FAST_FMAL): Likewise.
46265 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46266 [C99-based standards] (FP_ILOGBNAN): Likewise.
46267 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46268 Specify type.
46269 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46270 [C99-based standards] (math_errhandling): Specify type.
46271 [ISO99 || ISO11] (signgam): Do not allow.
46272 [non-C99-based standards] (copysignf): Do not allow.
46273 [non-C99-based standards] (exp2f): Likewise.
46274 [non-C99-based standards] (log2f): Likewise.
46275 [non-C99-based standards] (modff): Allow.
46276 [non-C99-based standards] (erff): Do not allow.
46277 [non-C99-based standards] (erfcf): Likewise.
46278 [non-C99-based standards] (gammaf): Likewise.
46279 [non-C99-based standards] (hypotf): Likewise.
46280 [non-C99-based standards] (j0f): Likewise.
46281 [non-C99-based standards] (j1f): Likewise.
46282 [non-C99-based standards] (jnf): Likewise.
46283 [non-C99-based standards] (lgammaf): Likewise.
46284 [non-C99-based standards] (tgammaf): Likewise.
46285 [non-C99-based standards] (y0f): Likewise.
46286 [non-C99-based standards] (y1f): Likewise.
46287 [non-C99-based standards] (ynf): Likewise.
46288 [non-C99-based standards] (isnanf): Likewise.
46289 [non-C99-based standards] (acoshf): Likewise.
46290 [non-C99-based standards] (asinhf): Likewise.
46291 [non-C99-based standards] (atanhf): Likewise.
46292 [non-C99-based standards] (cbrtf): Likewise.
46293 [non-C99-based standards] (expm1f): Likewise.
46294 [non-C99-based standards] (ilogbf): Likewise.
46295 [non-C99-based standards] (log1pf): Likewise.
46296 [non-C99-based standards] (logbf): Likewise.
46297 [non-C99-based standards] (nextafterf): Likewise.
46298 [non-C99-based standards] (remainderf): Likewise.
46299 [non-C99-based standards] (rintf): Likewise.
46300 [non-C99-based standards] (scalbf): Likewise.
46301 [non-C99-based standards] (copysignl): Likewise.
46302 [non-C99-based standards] (exp2l): Likewise.
46303 [non-C99-based standards] (log2l): Likewise.
46304 [non-C99-based standards] (modfl): Allow.
46305 [non-C99-based standards] (erfl): Do not allow.
46306 [non-C99-based standards] (erfcl): Likewise.
46307 [non-C99-based standards] (gammal): Likewise.
46308 [non-C99-based standards] (hypotl): Likewise.
46309 [non-C99-based standards] (j0l): Likewise.
46310 [non-C99-based standards] (j1l): Likewise.
46311 [non-C99-based standards] (jnl): Likewise.
46312 [non-C99-based standards] (lgammal): Likewise.
46313 [non-C99-based standards] (tgammal): Likewise.
46314 [non-C99-based standards] (y0l): Likewise.
46315 [non-C99-based standards] (y1l): Likewise.
46316 [non-C99-based standards] (ynl): Likewise.
46317 [non-C99-based standards] (isnanl): Likewise.
46318 [non-C99-based standards] (acoshl): Likewise.
46319 [non-C99-based standards] (asinhl): Likewise.
46320 [non-C99-based standards] (atanhl): Likewise.
46321 [non-C99-based standards] (cbrtl): Likewise.
46322 [non-C99-based standards] (expm1l): Likewise.
46323 [non-C99-based standards] (ilogbl): Likewise.
46324 [non-C99-based standards] (log1pl): Likewise.
46325 [non-C99-based standards] (logbl): Likewise.
46326 [non-C99-based standards] (nextafterl): Likewise.
46327 [non-C99-based standards] (remainderl): Likewise.
46328 [non-C99-based standards] (rintl): Likewise.
46329 [non-C99-based standards] (scalbl): Likewise.
46330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46331 [non-C99-based standards] (FP_*): Do not allow.
46332 [C99-based standards] (FP_*): Change to
46333 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46334 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46335 allow.
46336 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46337 (SIG_ERR): Likewise.
46338 [X/Open-based standards] (SIG_HOLD): Likewise.
46339 (SIG_IGN): Likewise.
46340 (SIGABRT): Use macro-int-constant. Specify type. Require
46341 positive value.
46342 (SIGFPE): Likewise.
46343 (SIGILL): Likewise.
46344 (SIGINT): Likewise.
46345 (SIGSEGV): Likewise.
46346 (SIGTER): Likewise.
46347 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46348 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46349 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46350 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46351 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46352 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46353 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46354 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46355 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46356 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46357 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46358 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46359 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46360 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46361 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46362 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46363 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46364 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46365 [X/Open-based standards] (SIGTRAP): Likewise.
46366 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46367 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46368 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46369 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46370 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46371 allow.
46372
b9f1922d
IW
463732012-05-08 Ian Wienand <ianw@vmware.com>
46374
46375 [BZ #14080]
46376 * time/tzset.c (__tzset_parse_tz): Update default rules for
46377 daylight time changes in the Energy Policy Act of 2005.
46378
1db86e88
AJ
463792012-05-09 Andreas Jaeger <aj@suse.de>
46380
46381 [BZ #13983]
46382 * elf/ldconfig.c (parse_conf): Change string to make clear that
46383 ldconfig only issued a warning if ld.so.conf does not exist.
46384
dee4a4e3
DM
463852012-05-08 David S. Miller <davem@davemloft.net>
46386
ee0db190
DM
46387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46388 movxtod instead of popping the value on the stack.
46389
dee4a4e3
DM
46390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46391
6a43ec98
CD
463922012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46393
46394 * config.h.in: Add HAVE_ARM_PCS_VFP.
46395
05c2c961
RMG
463962012-05-08 Roland Mc Grath <roland@hack.frob.com>
46397
bcfe3a54
ST
46398 [BZ #13979]
46399 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46400 checking but the checks are disabled for any reason.
05c2c961 46401
4b30f61a
L
464022012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46403
46404 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46405 and ELF64_R_TYPE with ELFW(R_TYPE).
46406
eee2bc67
JM
464072012-05-08 Joseph Myers <joseph@codesourcery.com>
46408
7ea5391a
JM
46409 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46410 (ulimit): Likewise.
46411
eee2bc67
JM
46412 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46413 (settimeofday): Likewise.
46414
abb66a67
MF
464152012-05-08 Mike Frysinger <vapier@gentoo.org>
46416
46417 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46418 a struct th_u2 inside the union, and move tu_block/tu_code into
46419 a new th_u3 union of tu_block/tu_code inside of that. Move
46420 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46421 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46422 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46423 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46424 (th_stuff): Change to th_u1.tu_stuff.
46425 (th_data): Define.
46426 (th_msg): Change to th_u1.th_u2.tu_data.
46427
7f18b530
DM
464282012-05-07 David S. Miller <davem@davemloft.net>
46429
05760585
DM
46430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46431
7f18b530
DM
46432 [BZ #14074]
46433 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46434 (SETUP_PIC_REG): Use it.
46435 (SETUP_PIC_REG_LEAF): Use it.
46436
495fd99f
JM
464372012-05-07 Joseph Myers <joseph@codesourcery.com>
46438
46439 [BZ #13885]
46440 [BZ #13923]
46441 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46442 USE_AS_EXPM1L.
46443 (EXPL_FINITE): Likewise.
46444 (FLDLOG): Likewise.
46445 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46446 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46447 e_expl.S.
46448 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46449 USE_AS_EXPM1L.
46450 (EXPL_FINITE): Likewise.
46451 (FLDLOG): Likewise.
46452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46453 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46454 e_expl.S.
46455 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46456 test of -max_value argument for long double.
46457 * sysdeps/i386/fpu/libm-test-ulps: Update.
46458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46459
6693d694
DM
464602012-05-06 David S. Miller <davem@davemloft.net>
46461
46462 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46463 quad soft-float symbols whose references which are compiler
46464 generated.
46465 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46466
6c23e11c
JM
464672012-05-06 Joseph Myers <joseph@codesourcery.com>
46468
d8b82cad
JM
46469 [BZ #13884]
46470 [BZ #13914]
46471 * sysdeps/i386/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 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46481 e_expl.S.
46482 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46483 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46484 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46485 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46487 USE_AS_EXP10L.
46488 (EXPL_FINITE): Likewise.
46489 (FLDLOG): Likewise.
46490 (c0): Likewise.
46491 (c1): Likewise.
46492 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46493 Adjust comments for base varying.
46494 (__expl_finite): Change alias to EXPL_FINITE.
46495 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46496 tests for bugs.
46497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46498
6c23e11c
JM
46499 [BZ #14064]
46500 * math/libm-test.inc (check_float_internal): Correct ulp
46501 calculation for subnormal expected results.
46502
29ba805c
AJ
465032012-05-06 Andreas Jaeger <aj@suse.de>
46504
46505 * Makeconfig (+math-flags): New, set to -frounding-math.
46506 (+cflags): Add +math-flags so that all of glibc gets compiled with
46507 it.
46508
46509 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46510
7b17aeda
JM
465112012-05-05 Joseph Myers <joseph@codesourcery.com>
46512
5779f134
JM
46513 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46514 Disable one test.
46515
41498f4d
JM
46516 [BZ #13787]
46517 [BZ #13922]
46518 [BZ #14036]
46519 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46520 (__ieee754_expl): Allow for and saturate large arguments.
46521 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46522 (u_threshold): Likewise.
46523 (__exp): Call __ieee754_exp before checking for overflow and
46524 underflow.
46525 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46526 (u_threshold): Likewise.
46527 (__expf): Call __ieee754_expf before checking for overflow and
46528 underflow.
46529 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46530 (u_threshold): Likewise.
46531 (__expl): Call __ieee754_expl before checking for overflow and
46532 underflow.
46533 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46534 (__ieee754_expl): Allow for and saturate large arguments.
46535 * math/libm-test.inc (exp_test): Add another test. Do not allow
46536 missing overflow exception on overflow.
46537 (expm1_test): Do not allow missing overflow exception on overflow.
46538
6698b8bf
JM
46539 * sysdeps/i386/fpu/e_expl.c: Move to ...
46540 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46541 rather than using inline asm.
46542 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46543 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46544 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46545
7b17aeda
JM
46546 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46547 (nice): Likewise.
46548 (poll): Likewise.
46549 (signal): Likewise.
46550 (time): Likewise.
46551 (times): Likewise.
46552
f7c85819
JM
465532012-05-04 Joseph Myers <joseph@codesourcery.com>
46554
46555 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46556 sysdeps/unix/common/syscalls.list.
46557 (fchmod): Likewise.
46558 (fchown): Likewise.
46559 (ftruncate): Likewise.
46560 (getrusage): Likewise.
46561 (gettimeofday): Likewise.
46562 (setpgid): Likewise.
46563 (setregid): Likewise.
46564 (setreuid): Likewise.
46565 (sigaction): Likewise.
46566 (truncate): Likewise.
46567 (vhangup): Likewise.
46568 * sysdeps/unix/common/syscalls.list: Remove file.
46569 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46570 * sysdeps/unix/sysv/linux/Implies: Likewise.
46571
336270d0
L
465722012-05-04 H.J. Lu <hongjiu.lu@intel.com>
46573
46574 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46576 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46577 Moved to ...
46578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46579 Here.
46580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46581 to ...
46582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46584 to ...
46585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46586 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46587 to ...
46588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46589 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46590 to ...
46591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46592 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46593 to ...
46594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46595 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46596 to ...
46597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46598 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46599 to ...
46600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46601 Here.
46602 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46603 to ...
46604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46605 Here.
46606 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46607 to ...
46608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46609 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46610 Moved to ...
46611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46612 Here.
46613 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46614 to ...
46615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46616
d128e450
JM
466172012-05-04 Joseph Myers <joseph@codesourcery.com>
46618
fa8ee516
JM
46619 * sysdeps/unix/common/bits/dirent.h: Remove file.
46620 * sysdeps/unix/common/bits/fcntl.h: Likewise.
46621
d128e450
JM
46622 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46623 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46624 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46625 * sysdeps/unix/bsd/isatty.c: Likewise.
46626 * sysdeps/unix/bsd/tcdrain.c: Likewise.
46627 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46628 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46629
ff8faaf0 466302012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 46631
62881be4 46632 [BZ #13563]
31dc8730
AZ
46633 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46634 long double comparison inaccuracies.
46635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46637
6fef930c
AS
466382012-05-04 Andreas Schwab <schwab@linux-m68k.org>
46639
46640 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46642
8f203e6c
JM
466432012-05-04 Joseph Myers <joseph@codesourcery.com>
46644
46645 [BZ #14049]
46646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46647 nonzero digits before rounding a hex value.
46648 * stdlib/tst-strtod.c (tests): Add another test.
46649
5197d9c2
AK
466502012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46651
46652 * sysdeps/s390/fpu/libm-test-ulps: Update.
46653
f0c1dedf
AJ
466542012-05-03 Andreas Jaeger <aj@suse.de>
46655
46656 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46657 does not get optimized out.
46658 (malloc_opt_barrier): New.
46659
a65ef2ae 466602012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 46661 Roland McGrath <roland@hack.frob.com>
a65ef2ae 46662
2b942cb7 46663 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 46664 intermediate file deletion.
2b942cb7 46665 (generated): Add .symlist files.
a65ef2ae 46666
54b71e02
JM
466672012-05-03 Joseph Myers <joseph@codesourcery.com>
46668
46669 [BZ #13775]
46670 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46671 Redirect under this condition.
46672 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46673 [__USE_GNU] (__dprintf_chk): Not under this condition.
46674 [__USE_GNU] (__vdprintf_chk): Likewise.
46675 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46676 under this condition.
46677 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46678 [__USE_XOPEN2K8] (dprintf): Define under this condition.
46679 [__USE_XOPEN2K8] (vdprintf): Likewise.
46680 [__USE_GNU] (__dprintf_chk): Not under this condition.
46681 [__USE_GNU] (__vdprintf_chk): Likewise.
46682 [__USE_GNU] (dprintf): Likewise.
46683 [__USE_GNU] (vdprintf): Likewise.
46684
d3dfcc41
RM
466852012-05-03 Roland McGrath <roland@hack.frob.com>
46686
46687 * elf/Makefile (common-generated): Set this instead of generated for
46688 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
46689 $(all-built-dso)-derived lists.
46690
7ac30cc5
AJ
466912012-05-03 Andreas Jaeger <aj@suse.de>
46692
0c51e550
AJ
46693 * sysdeps/i386/fpu/libm-test-ulps: Update.
46694
7ac30cc5
AJ
46695 * FAQ: Removed.
46696 * FAQ.in: Likewise.
46697 * scripts/gen-FAQ.pl: Likewise.
46698 * manual/install.texi (Installation): Point to online location of
46699 FAQ.
46700 * Makefile (files-for-dist): Remove FAQ.
46701 (FAQ): Remove.
46702
d4c2917f
AM
467032012-05-02 Allan McRae <allan@archlinux.org>
46704
46705 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46706 (LDFLAGS-reldepmod5.so): Likewise.
46707 (LDFLAGS-reldep6mod1.so): Likewise.
46708 (LDFLAGS-reldep6mod4.so): Likewise.
46709 (LDFLAGS-reldep8mod3.so): Likewise.
46710 (LDFLAGS-unload4mod1.so): Likewise.
46711 (LDFLAGS-unload4mod2.so): Likewise.
46712 (LDFLAGS-tst-initorder): Likewise.
46713 (LDFLAGS-tst-initordera2.so): Likewise.
46714 (LDFLAGS-tst-initordera3.so): Likewise.
46715 (LDFLAGS-tst-initordera4.so): Likewise.
46716 (LDFLAGS-tst-initorderb2.so): Likewise.
46717 (LDFLAGS-noload): Likewise.
46718 (LDFLAGS-next): Likewise.
46719 (LDFLAGS-order2mod1.so): Likewise.
46720 (LDFLAGS-order2mod2.so): Likewise.
46721 (LDFLAGS-tst-initorder2): Likewise.
46722 (LDFLAGS-tst-initorder2a.so): Likewise.
46723 (LDFLAGS-tst-initorder2b.so): Likewise.
46724 (LDFLAGS-tst-initorder2c.so): Likewise.
46725 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46726
d77f993f
DM
467272012-05-02 David S. Miller <davem@davemloft.net>
46728
46729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46730
171a70b4
PP
467312012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
46732
46733 [BZ #14055]
46734 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46735
0be196ad
AJ
467362012-05-02 Andreas Jaeger <aj@suse.de>
46737
46738 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46739 since we manipulate rounding mode.
46740 (CPPFLAGS-test-idouble.c): Likewise.
46741 (CPPFLAGS-test-ifloat.c): Likewise.
46742 (CFLAGS-test-ldouble.c): Likewise.
46743 (CFLAGS-test-double.c): Likewise.
46744 (CFLAGS-test-float.c): Likewise.
46745 (CFLAGS-test-misc.c): Likewise.
46746 (CFLAGS-test-test-fenv.c): Likewise.
46747
4f9d04aa
AZ
467482012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46749
2b942cb7
RM
46750 [BZ #2550]
46751 [BZ #2570]
46752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46753 comparisons to determine direction to adjust input.
4f9d04aa 46754
82a79e7d
RM
467552012-05-01 Roland McGrath <roland@hack.frob.com>
46756
f5a01ca9
RM
46757 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46758 output to the target.
46759
90fe4186
RM
46760 * scripts/localplt.awk: New file.
46761 * elf/Makefile ($(objpfx)check-localplt): Target removed.
46762 (check-localplt-CFLAGS): Variable removed.
46763 ($(all-built-dso:=.jmprel)): New static pattern rule.
46764 (generated): Add those targets.
46765 (localplt-built-dso): New variable.
46766 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46767
46768 * elf/check-localplt.c: File removed.
46769
82397ed6
RM
46770 * scripts/check-execstack.awk: New file.
46771 * elf/Makefile ($(objpfx)check-execstack): Target removed.
46772 (check-execstack-CFLAGS): Variable removed.
46773 ($(objpfx)check-execstack.h): Target removed.
46774 ($(objpfx)execstack-default): New target.
46775 (generated): Add that instead of check-execstack.h.
46776 ($(all-built-dso:=.phdr)): New static pattern rule.
46777 (generated): Add those targets.
46778 * elf/check-execstack.c: File removed.
46779
82a79e7d
RM
46780 * scripts/check-textrel.awk: New file.
46781 * elf/Makefile ($(objpfx)check-textrel): Target removed.
46782 (check-textrel-CFLAGS): Variable removed.
46783 (all-built-dso): Use := to define.o
46784 ($(all-built-dso:=.dyn)): New static pattern rule.
46785 (generated): Add those targets.
46786 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46787 * config.make.in (READELF): New substituted variable.
46788 * elf/check-textrel.c: File removed.
46789
62fde54f 467902012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 46791
615605c9
JM
46792 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46793 allow.
46794 * conform/data/ctype.h-data [C99-based standards] (isblank):
46795 Expect function.
46796 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46797 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46799 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46800 Specify type. Require positive value.
46801 (EILSEQ): Likewise.
46802 (ERANGE): Likewise.
46803 [ISO || POSIX] (EILSEQ): Do not expect.
46804 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46805 Specify type. Require positive value.
46806 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46807 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46808 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46809 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46810 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46811 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46812 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46813 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46814 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46815 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46816 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46817 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46818 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46819 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46820 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46821 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46822 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46823 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46824 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46825 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46826 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46827 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46828 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46829 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46830 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46831 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46832 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46833 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46834 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46835 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46836 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46837 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46838 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46839 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46840 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46841 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46842 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46843 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46844 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46845 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46846 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46847 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46848 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46849 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46850 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46851 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46852 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46853 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46854 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46855 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46856 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46857 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46858 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46859 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46860 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46861 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46862 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46863 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46864 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46865 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46866 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46867 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46868 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46869 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46870 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46871 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46872 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46873 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46874 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46875 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46876 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46877 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46878 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46879 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46880 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46881 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46882 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46883 Require >= 2.
46884 (FLT_ROUNDS): Expect as macro, not constant.
46885 (FLT_MANT_DIG): Use macro-int-constant.
46886 (DBL_MANT_DIG): Likewise.
46887 (LDBL_MANT_DIG): Likewise.
46888 (FLT_DIG): Likewise.
46889 (DBL_DIG): Likewise.
46890 (LDBL_DIG): Likewise.
46891 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
46892 (DBL_MIN_EXP): Likewise.
46893 (LDBL_MIN_EXP): Likewise.
46894 (FLT_MAX_EXP): Use macro-int-constant.
46895 (DBL_MAX_EXP): Likewise.
46896 (LDBL_MAX_EXP): Likewise.
46897 (FLT_MAX_10_EXP): Likewise.
46898 (DBL_MAX_10_EXP): Likewise.
46899 (LDBL_MAX_10_EXP): Likewise.
46900 (FLT_MAX): Use macro-constant.
46901 (DBL_MAX): Likewise.
46902 (LDBL_MAX): Likewise.
46903 (FLT_EPSILON): Use macro-constant. Give upper bound.
46904 (DBL_EPSILON): Likewise.
46905 (LDBL_EPSILON): Likewise.
46906 (FLT_MIN): Likewise.
46907 (DBL_MIN): Likewise.
46908 (LDBL_MIN): Likewise.
46909 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46910 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46911 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46912 [ISO11] (FLT_HAS_SUBNORM): Likewise.
46913 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46914 [ISO11] (DBL_DECIMAL_DIG): Likewise.
46915 [ISO11] (FLT_DECIMAL_DIG): Likewise.
46916 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46917 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46918 [ISO11] (FLT_TRUE_MIN): Likewise.
46919 [ISO11] (LDBL_TRUE_MIN): Likewise.
46920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46921 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46922 (SCHAR_MIN): Use macro-int-constant. Specify type.
46923 (SCHAR_MAX): Likewise.
46924 (UCHAR_MAX): Likewise.
46925 (CHAR_MIN): Likewise.
46926 (CHAR_MAX): Likewise.
46927 (MB_LEN_MAX): Use macro-int-constant.
46928 (SHRT_MIN): Use macro-int-constant. Specify type.
46929 (SHRT_MAX): Likewise.
46930 (USHRT_MAX): Likewise.
46931 (INT_MAX): Likewise.
46932 (INT_MIN): Use macro-int-constant. Specify type. Make upper
46933 bound negative.
46934 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
46935 bound with "U".
46936 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46937 bound with "L".
46938 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
46939 bound negative. Suffix upper bound with "L".
46940 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46941 bound with "UL".
46942 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46943 Specify type.
46944 [C99-based standards] (LLONG_MAX): Likewise.
46945 [C99-based standards] (ULLONG_MAX): Likewise.
46946 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
46947 == 0.
46948 [ISO11] (max_align_t): Require type.
46949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46950
c9140a62
JM
46951 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46952 from $CFLAGS, without defining away __attribute__ calls.
46953 (checknamespace): Use $CFLAGS_namespace.
46954
9af0bf29
JM
46955 * conform/conformtest.pl (@keywords): Only include C99 keywords
46956 for standards based on C99 or C11.
46957
343222a2
JM
46958 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46959 Disable tests.
46960 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46961 UNIX98]: Likewise.
46962
661f8cf0
JM
46963 * conform/conformtest.pl: Handle "macro-int-constant" and test for
46964 usability of symbols in #if.
46965
ee74b9cb
JM
46966 * conform/conformtest.pl: If macro or constant types start
46967 "promoted:", expect the symbol to be of the following type
46968 promoted by the integer promotions.
62fde54f 46969
aafc49b3
JM
46970 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46971 in one place. Also handle "macro-constant".
46972
fefdf574
JM
46973 * conform/conformtest.pl: Only accept expected macro values with
46974 "==". Parse all "macro" lines in one place.
46975 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46976
f2d922fe
JM
46977 * conform/conformtest.pl: Handle braced types on "constant" lines
46978 instead of handling "typed-constant".
46979 * conform/data/signal.h-data: Use "constant" instead of
46980 "typed-constant".
46981
d22956c9
JM
46982 * conform/conformtest.pl: Handle "optional-" at start of lines in
46983 one place rather than duplicating several cases. Handle each
46984 format of "macro" line with initial "optional-".
46985
028e2e38
JM
46986 * conform/conformtest.pl: Only accept expected constant or
46987 optional-constant values with "==". Parse all "constant" lines in
46988 one place. Parse all "optional-constant" lines in one place.
46989 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46990 * conform/data/fmtmsg.h-data: Likewise.
46991 * conform/data/netinet/in.h-data: Likewise.
46992 * conform/data/tar.h-data: Likewise.
46993 * conform/data/limits.h-data: Use "==" form on "constant" and
46994 "optional-constant" lines.
46995
1b8f2850
JM
46996 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46997 Use -std=c99 for XOPEN2K.
46998 (@knownproblems): Remove.
46999 (newtoken): Don't check %isknown.
47000
a05a144b
JM
47001 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47002 Do not expect macro.
47003 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47004 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47005 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47006 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47007 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47008 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47009 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47010 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47011 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47012 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47013 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47014 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47015 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47016 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47017 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47018 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47019 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47020 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47021 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47022 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47023 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47026 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47027 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47028 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47029 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47030 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47031 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47032 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47033 [XPG3] (acosh): Likewise.
47034 [XPG3] (asinh): Likewise.
47035 [XPG3] (atanh): Likewise.
47036 [XPG3] (cbrt): Likewise.
47037 [XPG3] (expm1): Likewise.
47038 [XPG3] (ilogb): Likewise.
47039 [XPG3] (log1p): Likewise.
47040 [XPG3] (logb): Likewise.
47041 [XPG3] (nextafter): Likewise.
47042 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47043 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47044 [XPG3] (remainder): Likewise.
47045 [XPG3] (rint): Likewise.
47046 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47047 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47048 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47049 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47050 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47051 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47052 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47053 [UNIX98 || XOPEN2K] (scalb): Expect.
47054 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47055 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47056 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47057 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47058 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47059 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47060 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47061 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47062 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47063 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47064 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47065 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47066 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47067 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47068 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47069 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47070 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47071 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47072 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47073 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47074 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47075 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47076 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47077 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47078 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47079 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47080 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47081 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47082 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47083 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47084 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47085 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47086 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47087 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47088 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47089 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47090 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47091 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47092 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47093 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47094 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47095 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47096 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47097 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47098 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47099 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47100 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47101 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47102 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47103 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47104 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47105 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47106 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47107 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47108 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47109 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47110 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47111 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47112 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47113 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47114 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47115 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47116 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47117 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47118 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47119 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47120 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47121 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47122 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47123 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47124 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47125 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47126 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47127 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47128 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47129 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47130 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47131 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47132 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47133 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47134 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47135 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47136 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47137 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47138 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47139 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47140 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47141 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47142 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47143 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47144 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47145 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47146 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47147 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47148 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47149 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47150 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47151 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47152 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47153 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47154 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47155 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47156 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47157 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47158 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47159 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47160 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47161 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47162 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47163 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47164 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47165 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47166 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47167 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47168 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47169 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47170 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47171 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47172 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47173 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47174 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47175 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47176 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47177 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47178 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47179 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47180 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47181 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47182 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47183 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47184 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47185 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47186 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47187 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47188 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47189 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47190 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47191
73c5ebe3
JM
47192 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47193 _XOPEN_SOURCE_EXTENDED for XPG4.
47194
39c33b6c
JM
47195 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47196
62fde54f
JM
47197 * Makeconfig (localtime): Remove variable.
47198 (inst_localtime-file): Likewise.
47199
0741d64c
AS
472002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47201
47202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47203 Update.
47204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47205 Update.
47206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47207 Update.
47208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47209 Update.
47210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47211 Update.
47212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47213 Update.
47214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47215 Update.
47216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47217 Update.
47218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47219 Update.
47220
7cb029ee
JM
472212012-05-01 Joseph Myers <joseph@codesourcery.com>
47222
47223 [BZ #2550]
47224 [BZ #2570]
47225 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47226 comparisons to determine direction to adjust input.
47227 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47228 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47230 Likewise.
47231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47232 Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47234 Likewise.
47235 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47236 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47237 Likewise.
47238 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47239 Likewise.
47240 * math/libm-test.inc (nexttoward_test): Add more tests.
47241
412bd966
AS
472422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47243
47244 [BZ #14040]
47245 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47246 in version GLIBC_2.1, not GLIBC_2.0.
47247 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47248 Likewise.
47249
9568c0c2
JM
472502012-04-30 Joseph Myers <joseph@codesourcery.com>
47251
adfbc8ac
JM
47252 [BZ #13942]
47253 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47254 (1 - x) * (1 + x).
47255 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47256 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47257 * math/libm-test.inc (acos_test): Add more tests.
47258 (asin_test): Likewise.
47259 * sysdeps/i386/fpu/libm-test-ulps: Update.
47260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47261
5ba3cc69
JM
47262 [BZ #14034]
47263 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47264 of square root.
47265 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47266 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47267 * math/libm-test.inc (acos_test_tonearest): New function.
47268 (acos_test_towardzero): Likewise.
47269 (acos_test_downward): Likewise.
47270 (acos_test_upward): Likewise.
47271 (asin_test_tonearest): Likewise.
47272 (asin_test_towardzero): Likewise.
47273 (asin_test_downward): Likewise.
47274 (asin_test_upward): Likewise.
47275 (main): Call the new functions.
47276 * sysdeps/i386/fpu/libm-test-ulps: Update.
47277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47278
9568c0c2
JM
47279 [BZ #13884]
47280 [BZ #13924]
47281 * math/e_exp10.c: Include <float.h>.
47282 (__ieee754_exp10): Handle underflow here rather than multiplying
47283 large negative argument by M_LN10.
47284 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47285 of __ieee754_expf.
47286 * math/e_exp10l.c: Include <float.h>.
47287 (__ieee754_exp10l): Handle underflow here rather than multiplying
47288 large negative argument by M_LN10l.
47289 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47290 spurious overflow exception on underflow.
47291
5ac3ea17
MP
472922012-04-29 Marek Polacek <polacek@redhat.com>
47293
47294 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47295 (__fortify_function): New macro.
47296 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47297 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47298 __extern_always_inline.
47299 * libio/bits/stdio2.h: Likewise.
47300 * libio/bits/stdio.h: Likewise.
47301 * string/string.h: Likewise.
47302 * string/bits/string3.h: Likewise.
47303 * include/stdio.h: Likewise.
47304 * stdlib/bits/stdlib.h: Likewise.
47305 * stdlib/stdlib.h: Likewise.
47306 * rt/bits/mqueue2.h: Likewise.
47307 * rt/mqueue.h: Likewise.
47308 * posix/bits/unistd.h: Likewise.
47309 * posix/unistd.h: Likewise.
47310 * io/bits/poll2.h: Likewise.
47311 * io/bits/fcntl2.h: Likewise.
47312 * io/fcntl.h: Likewise.
47313 * io/sys/poll.h: Likewise.
47314 * misc/bits/syslog.h: Likewise.
47315 * misc/bits/syslog-ldbl.h: Likewise.
47316 * misc/sys/syslog.h: Likewise.
47317 * socket/bits/socket2.h: Likewise.
47318 * socket/sys/socket.h: Likewise.
47319 * debug/tst-chk1.c: Likewise.
47320 * wcsmbs/bits/wchar2.h: Likewise.
47321 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47322 * wcsmbs/wchar.h: Likewise.
47323
ecf0ebfb
AJ
473242012-04-29 Andreas Jaeger <aj@suse.de>
47325
47326 * Makerules (tests): Remove enable-check-abi protection.
47327 (check-abi-warn): Remove.
47328 (check-abi-%): Remove check-abi-warn usage.
47329
47330 * configure.in: Remove check-abi configure option.
47331 * configure: Regenerated.
47332 * config.make.in (enable-check-abi): Remove.
47333
6d5c57fa
AS
473342012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47335
24c5d07e 47336 [BZ #14033]
ded5180a
AS
47337 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47338 double functions to double *_finite functions.
47339
7e0d315d
AS
47340 [BZ #13941]
47341 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47342 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47343 LDBL_MIN_EXP.
47344 * stdio-common/Makefile (tests): Add tst-sprintf3.
47345 * stdio-common/tst-sprintf3.c: New file.
47346
6d5c57fa
AS
47347 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47348 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47349
0749ff8b
JM
473502012-04-28 Joseph Myers <joseph@codesourcery.com>
47351
47352 * conform/conformtest.pl: Remove duplicate typed-constant
47353 handling.
47354
8dbd5d7b
DM
473552012-04-28 David S. Miller <davem@davemloft.net>
47356
47357 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47358 (check-abi-%): Remove AWK script prerequisite and explicit
47359 abilist directory.
47360 (check-abi): Rewrite to just diff the symlist with the abilist.
47361 (config-tls, config-abi-config): Delete, no longer used.
47362 (update-abi-%): Remove AWK script and explicit abilist directory.
47363 (update-abi): Rewrite to simply compare and conditionally copy the
47364 symlist and the sysdep abilist file. Remove update-abi-config
47365 checks.
47366 * abilist/ld.abilist: Remove.
47367 * abilist/libBrokenLocale.abilist: Remove.
47368 * abilist/libanl.abilist: Remove.
47369 * abilist/libcrypt.abilist: Remove.
47370 * abilist/libdl.abilist: Remove.
47371 * abilist/librt.abilist: Remove.
47372 * abilist/libthread_db.abilist: Remove.
47373 * abilist/libutil.abilist: Remove.
47374 * scripts/extract-abilist.awk: Remove.
47375 * scripts/merge-abilist.awk: Remove.
47376 * sysdeps/generic/libcidn.abilist: New file.
47377 * sysdeps/generic/libnss_compat.abilist: New file.
47378 * sysdeps/generic/libnss_db.abilist: New file.
47379 * sysdeps/generic/libnss_dns.abilist: New file.
47380 * sysdeps/generic/libnss_files.abilist: New file.
47381 * sysdeps/generic/libnss_hesiod.abilist: New file.
47382 * sysdeps/generic/libnss_nis.abilist: New file.
47383 * sysdeps/generic/libnss_nisplus.abilist: New file.
47384 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47385 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47386 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47387 file.
47388 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47389 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47390 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47391 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47392 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47393 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47394 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47395 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47396 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47397 file.
47398 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47399 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47400 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47401 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47402 file.
47403 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47404 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47405 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47406 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47407 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47408 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47409 file.
47410 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47411 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47412 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47413 file.
47414 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47416 New file.
47417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47418 New file.
47419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47420 New file.
47421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47422 New file.
47423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47424 New file.
47425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47426 New file.
47427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47428 New file.
47429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47430 New file.
47431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47432 New file.
47433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47434 New file.
47435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47436 New file.
47437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47438 New file.
47439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47440 New file.
47441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47442 file.
47443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47444 New file.
47445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47446 New file.
47447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47448 file.
47449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47450 New file.
47451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47452 New file.
47453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47454 file.
47455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47456 New file.
47457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47458 New file.
47459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47460 New file.
47461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47462 New file.
47463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47464 New file.
47465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47466 New file.
47467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47469 file.
47470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47471 New file.
47472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47473 file.
47474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47475 file.
47476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47477 file.
47478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47479 file.
47480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47481 file.
47482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47483 New file.
47484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47485 file.
47486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47487 file.
47488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47489 New file.
47490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47491 file.
47492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47494 file.
47495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47496 New file.
47497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47498 file.
47499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47500 file.
47501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47502 file.
47503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47504 file.
47505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47506 file.
47507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47508 New file.
47509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47510 file.
47511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47512 file.
47513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47514 New file.
47515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47516 file.
47517 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47518 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47519 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47520 file.
47521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47522 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47523 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47524 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47525 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47526 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47527 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47528 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47529 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47530 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47533 file.
47534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47535 New file.
47536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47537 file.
47538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47539 file.
47540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47541 file.
47542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47543 file.
47544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47545 file.
47546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47547 New file.
47548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47549 New file.
47550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47551 file.
47552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47553 New file.
47554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47555 file.
47556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47558 file.
47559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47560 New file.
47561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47562 file.
47563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47564 file.
47565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47566 file.
47567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47568 file.
47569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47570 file.
47571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47572 New file.
47573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47574 New file.
47575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47576 file.
47577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47578 New file.
47579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47580 file.
47581
41d73a1b
JM
475822012-04-28 Joseph Myers <joseph@codesourcery.com>
47583
47584 * conform/conformtest.pl: Fix typo in handling typed-constant from
47585 allow-header.
47586
28aeeda4
JM
475872012-04-27 Joseph Myers <joseph@codesourcery.com>
47588
adae8f5e
JM
47589 * README: Cut down references to pre-2.6 Linux kernels and
47590 Linuxthreads. Update lists of configurations in libc and ports
47591 and sort alphabetically. Say "or newer" with Linux kernel version
47592 requirements.
47593
28aeeda4
JM
47594 * config.h.in [IS_IN_build]: Allow compiling without optimization.
47595
a462cb63
RA
475962012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47597
47598 [BZ #887]
47599 * math/libm-test.inc (logb_test_downward): New test to expose
47600 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47601 rounding mode.
47602
6ad3493e
JM
476032012-04-27 Joseph Myers <joseph@codesourcery.com>
47604
47605 [BZ #14027]
47606 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47607 to be done.
47608 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47609 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47610
2ce4f015
JM
476112012-04-26 Joseph Myers <joseph@codesourcery.com>
47612
5aeb141a
JM
47613 * sysdeps/unix/i386/brk.S: Remove file.
47614 * sysdeps/unix/i386/dl-brk.S: Likewise.
47615 * sysdeps/unix/i386/pipe.S: Likewise.
47616 * sysdeps/unix/i386/sigreturn.S: Likewise.
47617 * sysdeps/unix/i386/syscall.S: Likewise.
47618 * sysdeps/unix/i386/vfork.S: Likewise.
47619 * sysdeps/unix/i386/wait.S: Likewise.
47620
7143acae
JM
47621 * sysdeps/unix/common/tcsendbrk.c: Move to ...
47622 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47623
2ce4f015
JM
47624 * configure.in (arm*-none*): Do not allow without
47625 --enable-hacker-mode.
47626 (netbsd*): Remove case setting base_os.
47627 (386bsd*): Likewise.
47628 (freebsd*): Likewise.
47629 (bsdi*): Likewise.
47630 (osf*): Likewise.
47631 (sunos*): Likewise.
47632 (ultrix*): Likewise.
47633 (newsos*): Likewise.
47634 (dynix*): Likewise.
47635 (*bsd*): Likewise.
47636 (sysv*): Likewise.
47637 (isc*): Likewise.
47638 (esix*): Likewise.
47639 (sco*): Likewise.
47640 (minix*): Likewise.
47641 (irix4*): Likewise.
47642 (irix6*): Likewise.
47643 (solaris[2-9]*): Likewise.
47644 (none): Likewise.
47645 * configure: Regenerated.
47646
0ac229c8
AZ
476472012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47648
47649 [BZ #11521]
47650 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47651 overflow or cancellation in calculating denominator.
47652 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47653 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47654 down expression to avoid unexpected rounding in newer GCCs.
47655 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47656
33f244f4
DM
476572012-04-26 David S. Miller <davem@davemloft.net>
47658
47659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47660 long-double compat symbols.
47661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47674
cfa1f3e8
DM
476752012-04-25 David S. Miller <davem@davemloft.net>
47676
47677 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47678 HWCAP_* values only after the memory barriers have been defined.
47679 (atomic_full_barrier): Define.
47680 (atomic_read_barrier): Define.
47681 (atomic_write_barrier): Define.
47682
6e236b92
SP
476832012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47684
47685 * shlib-versions: Add libgcc_s version information.
47686 * sysdeps/generic/libgcc_s.h: Remove.
47687 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47688 libgcc_s.h.
47689 * sysdeps/gnu/unwind-resume.c: Likewise.
47690 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47691
aab39a09
DM
476922012-04-25 David S. Miller <davem@davemloft.net>
47693
47694 * sysdeps/unix/sparc/brk.S: Delete.
47695 * sysdeps/unix/sparc/dl-brk.S: Delete.
47696 * sysdeps/unix/sparc/pipe.S: Delete.
47697 * sysdeps/unix/sparc/sysdep.S: Delete.
47698 * sysdeps/unix/sparc/sysdep.h: Delete.
47699 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
47700 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47701 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47702 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47703 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
47704 (JUMPTARGET): Remove.
47705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47706 sysdeps/unix/sparc/sysdep.h
47707 (ENTRY, END): Remove.
47708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47709
a3cc4f48
JM
477102012-04-25 Joseph Myers <joseph@codesourcery.com>
47711
2ed8cda2
JM
47712 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47713 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47714 -DIS_IN_build.
47715
35d76d59
JM
47716 * timezone/README: Update upstream location and email address for
47717 tzcode and tzdata.
47718 * timezone/zdump.c: Update from tzcode 2012b.
47719 * timezone/zic.c: Likewise.
47720
a3cc4f48
JM
47721 * configure.in (libc_cv_as_needed): Remove test.
47722 * configure: Regenerated.
47723 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47724 conditional definition.
47725 [$(have-as-needed) != yes] (no-as-needed): Likewise.
47726 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47727 * config.make.in (have-as-needed): Remove variable.
47728
ceab42c3
SP
477292012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47730 Paul Pluzhnikov <ppluzhnikov@google.com>
47731
47732 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47733 strings correctly.
47734
3ce2865f
CLT
477352012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
47736
47737 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47738 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47739 * sysdeps/sh/strlen.S: Likewise.
47740
f37e0d68
JM
477412012-04-24 Joseph Myers <joseph@codesourcery.com>
47742
ae186e9a
JM
47743 * sysdeps/unix/fork.S: Remove file.
47744 * sysdeps/unix/i386/fork.S: Likewise.
47745 * sysdeps/unix/sparc/fork.S: Likewise.
47746
b96914af
JM
47747 * sysdeps/unix/system.c: Remove file.
47748 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47749
f37e0d68
JM
47750 * sysdeps/unix/getegid.S: Remove file.
47751 * sysdeps/unix/geteuid.S: Likewise.
47752
87ef29ca
RM
477532012-04-24 Roland McGrath <roland@hack.frob.com>
47754
83bcd236
RM
47755 * scripts/check-localplt.awk: New file.
47756 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47757 of diff.
47758 * scripts/data/localplt-generic.data: Add a comment.
47759
87ef29ca
RM
47760 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47761 NODE when __dir_mkfile failed.
47762 * sysdeps/mach/hurd/symlinkat.c: Likewise.
47763 Reported by Ludovic Courtès <ludo@gnu.org>.
47764
e5a6e567
AJ
477652012-04-24 Andreas Jaeger <aj@suse.de>
47766
47767 * Makerules (common-clean): Also remove gen-as-const-headers
47768 files.
47769
c1820385
JM
477702012-04-24 Joseph Myers <joseph@codesourcery.com>
47771
47772 * Makerules (native-compile): Do not change working directory for
47773 build. Use $(OUTPUT_OPTION) in command.
47774 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47775
94e02fc4
AZ
477762012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47777
47778 [BZ #13886]
47779 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47780 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47781 * math/libm-test.inc (floor_test): Add more tests.
47782 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47783
3a533ca3
JM
477842012-04-24 Joseph Myers <joseph@codesourcery.com>
47785
940ab4b3
JM
47786 * sysdeps/unix/getdents.c: Remove file.
47787 * sysdeps/unix/sysv/getdents.c: Likewise.
47788 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47789
90e037bd
JM
47790 * sysdeps/unix/syscalls.list (madvise): Add syscall from
47791 sysdeps/unix/mman/syscalls.list.
47792 (mmap): Likewise.
47793 (mprotect): Likewise.
47794 (msync): Likewise.
47795 (munmap): Likewise.
47796 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47797 * sysdeps/unix/mman/syscalls.list: Remove.
47798 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47799
3a533ca3
JM
47800 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47801 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47802 * configure: Regenerated.
47803 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47804 $(libgcc_s_suffix).
47805 * config.make.in (libgcc_s_suffix): Remove variable.
47806
1ad743de
JM
478072012-04-23 Joseph Myers <joseph@codesourcery.com>
47808
4ad451e2
JM
47809 * sysdeps/unix/sysv/gethostname.c: Move to ...
47810 * sysdeps/posix/gethostname.c: ... here.
47811
5e37ce39
JM
47812 * sysdeps/unix/execve.S: Remove file.
47813
1ad743de
JM
47814 * sysdeps/unix/_exit.S: Remove file.
47815
4e681b5b
AJ
478162012-04-23 Andreas Jaeger <aj@suse.de>
47817
47818 [BZ #13739]
47819 * manual/Makefile: Remove make dist support, there's no
47820 need for a stand-alone documentation tar ball.
47821 (TEXI2DVI): Define always, it's not in Makeconfig.
47822 (dist): Removed.
47823 (tar-it): Removed.
47824 (edition): Removed.
47825 (glibc-doc-$(edition).tar): Removed
47826 (%.Z): Removed.
47827 (%.gz): Removed.
47828 (%.uu): Removed.
47829 (ETAGS): Remove, it's in Makeconfig.
47830 (move-if-change): Remove, it's in Makeconfig.
47831
38686a03 478322012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
47833
47834 [BZ #13970]
47835 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47836 (strtod, strtof, strtold, strtol, strtoul, strtoq)
47837 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47838 (strtod_l, strtof_l, strtold_l): Remove __wur.
47839 It is not necessarily an error to ignore strtol's return value.
47840 One can reliably look at the stored endptr to decide whether
47841 the number had valid syntax.
47842
7c0616fa
AJ
478432012-04-21 Andreas Jaeger <aj@suse.de>
47844
803cb6b7 47845 [BZ #13739]
7c0616fa
AJ
47846 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47847
b0fe253f
JM
478482012-04-21 Joseph Myers <joseph@codesourcery.com>
47849
47850 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47851 * sysdeps/unix/sysv/Versions: Remove file.
47852
8280f22d
MT
478532012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
47854
47855 [BZ #13927]
47856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47857
75ce411f 478582012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
47859
47860 [BZ #7064]
47861 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47862 version from __vm86.
47863
097d59fa
JM
478642012-04-20 Joseph Myers <joseph@codesourcery.com>
47865
a90f3bcb
JM
47866 * sysdeps/unix/common/lxstat.c: Remove file.
47867 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47868
edc7ea78
JM
47869 * sysdeps/unix/sysv/Makefile: Remove file.
47870
cb78c221
JM
47871 * sysdeps/unix/sysv/direct.h: Remove file.
47872
efa6a45f
JM
47873 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47874 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47875 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47876 * sysdeps/unix/sysv/bits/signum.h: Likewise.
47877 * sysdeps/unix/sysv/bits/stat.h: Likewise.
47878 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47879 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47880
9c9f2d0c
JM
47881 * sysdeps/unix/sysv/setrlimit.c: Remove file.
47882
4541c83b
JM
47883 * sysdeps/unix/xmknod.c: Remove file.
47884 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47885
f5d153a0
JM
47886 * sysdeps/unix/sysv/settimeofday.c: Remove file.
47887
aa746595
JM
47888 * sysdeps/unix/sysv/i386/time.S: Remove file.
47889
cce5905e
JM
47890 * sysdeps/unix/fxstat.c: Remove file.
47891 * sysdeps/unix/xstat.c: Likewise.
47892 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47893
37fa3841
JM
47894 * sysdeps/unix/sysv/sigaction.c: Remove file.
47895
ff1962a3
JM
47896 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47897 (sysdep_headers): Remove variable.
47898 [termio.h not in sysdep_headers] (generated): Likewise.
47899 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47900 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47901 * sysdeps/unix/sysv/tcdrain.c: Likewise.
47902 * sysdeps/unix/sysv/tcflow.c: Likewise.
47903 * sysdeps/unix/sysv/tcflush.c: Likewise.
47904 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47905 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47906 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47907 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47908 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47909
e7740d31
JM
47910 * sysdeps/unix/siglist.c: Remove file.
47911
ee06f18b
JM
47912 * sysdeps/unix/getppid.S: Remove file.
47913
097d59fa
JM
47914 * sysdeps/unix/mkdir.c: Remove file.
47915 * sysdeps/unix/rmdir.c: Likewise.
47916
ff3d51ec
AS
479172012-04-19 Andreas Schwab <schwab@linux-m68k.org>
47918
47919 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47920 ERR_MAX value.
47921 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47922 errlist-compat value.
47923
50f81fd7
DM
479242012-04-18 David S. Miller <davem@davemloft.net>
47925
47926 * sysdeps/generic/memcopy.h (reg_char): Delete.
47927 * debug/strcat_chk.c: Use char, not reg_char.
47928 * debug/strcpy_chk.c: Likewise.
47929 * debug/strncat_chk.c: Likewise.
47930 * debug/strncpy_chk.c: Likewise.
47931 * string/memchr.c: Likewise.
47932 * string/memrchr.c: Likewise.
47933 * string/rawmemchr.c: Likewise.
47934 * string/strcat.c: Likewise.
47935 * string/strchr.c: Likewise.
47936 * string/strchrnul.c: Likewise.
47937 * string/strcmp.c: Likewise.
47938 * string/strcpy.c: Likewise.
47939 * string/strncat.c: Likewise.
47940 * string/strncmp.c: Likewise.
47941 * string/strncpy.c: Likewise.
47942
8ff41c46
WS
479432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47944
47945 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47946 __builtin_memcopy is called when src and dest ranges are known to not
47947 overlap.
47948
6b652f46
WS
479492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47950
47951 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47952 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47953 fwd_align_merge macro call.
47954 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47955 bwd_align_merge macro call.
47956 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47957
b282631e
WS
479582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47959
47960 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47961 bwd_align_merge macros.
47962 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47963 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47964 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47965
95aa737c
DM
479662012-04-18 David S. Miller <davem@davemloft.net>
47967
47968 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47969
7a99a614
AJ
479702012-04-18 Andreas Jaeger <aj@suse.de>
47971
47972 [BZ# 6794]
47973 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47974 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47975 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47976
47977 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47978 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47979 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47980
47981 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47982 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47983 Adjust for changed ldbl-128 files.
47984
47985 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47986 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47987 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47988
e5270c23
DM
479892012-04-17 David S. Miller <davem@davemloft.net>
47990
47991 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47992
fb5e92c9
AS
479932012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47994
47995 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47996 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47997 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47998 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47999 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48000 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48001
76da7265
AZ
480022012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48003
48004 [BZ #6794]
48005 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48006 * math/libm-test.inc: Add ilogb errno and exception tests.
48007 * math/w_ilogb.c: New file: ilogb wrapper.
48008 * math/w_ilogbf.c: New file: ilogbf wrapper.
48009 * math/w_ilogbl.c: New file: ilogbl wrapper.
48010 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48011 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48012 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48013 exception being thrown with 0.0 as argument.
48014 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48015 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48016 exception being thrown with 0.0 as argument.
48017 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48018 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48019 exception being thrown with 0.0 as argument.
48020 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48021 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48022 exception being thrown with 0.0 as argument.
48023 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48024 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 48025 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
48026 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48027 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48028 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48029 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48030 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48031 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48032
0396e69d
PB
480332012-04-17 Petr Baudis <pasky@ucw.cz>
48034
48035 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48036 with altivec.
48037
750b5926
MP
480382012-04-16 Marek Polacek <polacek@redhat.com>
48039
48040 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48041
751728a1
MP
480422012-04-16 Marek Polacek <polacek@redhat.com>
48043
48044 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48045 operands of fdivp instruction.
48046
34a27407
L
480472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48048
48049 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48050 * elf/tst-auditmod3b.c: Likewise.
48051 * elf/tst-auditmod4b.c: Likewise.
48052 * elf/tst-auditmod5b.c: Likewise.
48053 * elf/tst-auditmod6b.c: Likewise.
48054 * elf/tst-auditmod6c.c: Likewise.
48055 * elf/tst-auditmod7b.c: Likewise.
48056 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48057 * sysdeps/x86_64/preconfigure.in: Likewise.
48058 * sysdeps/x86_64/preconfigure: Regenerated.
48059
7e73e17d
L
480602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48061
48062 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48063 __ILP32__.
48064
c7a6ab72
AB
480652012-04-13 Antoine Balestrat <merkil33@gmail.com>
48066
48067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48068 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48069
a9e8e0e0
CL
480702012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48071
48072 [BZ #13973]
48073 * locale/iso-639.def: Fix gl language name. Spotted by
48074 Yaron Shahrabani.
48075
ec98af7d
RM
480762012-04-12 Roland McGrath <roland@hack.frob.com>
48077
48078 [BZ #2074]
48079 * libio/libio.h (__io_write_fn): Update comment.
48080
247c3ede
PB
480812012-04-12 Petr Baudis <pasky@ucw.cz>
48082
48083 [BZ #2074]
48084 * stdio.texi (Hook Functions): The user provided writer function
48085 is not allowed to return -1.
48086
55939d6d
DM
480872012-04-11 David S. Miller <davem@davemloft.net>
48088
48089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48090
90020f5a
MF
480912012-04-11 Mike Frysinger <vapier@gentoo.org>
48092
48093 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48094 Add a leading slash to rtkaio.
48095
288f9098
JM
480962012-04-11 Jim Meyering <meyering@redhat.com>
48097
90020f5a
MF
48098 [BZ #11959]
48099 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48100 It is not necessarily an error to ignore fwrite's return
48101 value. One can reliably use ferror to test for errors after
48102 the fact.
288f9098 48103
4be2b570
L
481042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48105
48106 * bits/types.h (__snseconds_t): New type.
48107 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48108
48109 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48111 (__SNSECONDS_T_TYPE): Likewise.
48112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48113 (__SNSECONDS_T_TYPE): Likewise.
48114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48115 (__SNSECONDS_T_TYPE): Likewise.
48116
288f9098 481172012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
48118
48119 [BZ #2636]
48120 * manual/time.texi (Processor Time): Return type of times is
48121 elapsed real time since an arbitrary point in the past.
48122 (CPU Time): Move CLK_TCK from here...
48123 (Processor Time): ...to here. Correct description.
48124 * manual/conf.texi (Constants for Sysconf): Correct description of
48125 _SC_CLK_TCK.
48126
d7dd4413
DM
481272012-04-10 David S. Miller <davem@davemloft.net>
48128
48129 [BZ #13967]
48130 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48131 where the is a gap between DT_REL(A) and DT_JMPREL.
48132
b46068fc
L
481332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48134
48135 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48136 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48137 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48138
73d65cc3
SP
481392012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48140
48141 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48142 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48143 (dl_main): Handle --inhibit-cache.
48144 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48145 _dl_inhibit_cache.
48146 * elf/dl-load.c (_dl_map_object): Use it.
48147 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48148
bcc8d661
JM
481492012-04-09 Joseph Myers <joseph@codesourcery.com>
48150
8f9a2fae
JM
48151 [BZ #13872]
48152 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48153 (__ieee754_powl): Saturate large exponents rather than testing for
48154 overflow of y*log2(x).
48155 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48156 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48157 exceptions.
48158
bcc8d661
JM
48159 [BZ #11521]
48160 * math/s_ctan.c: Include <float.h>.
48161 (__ctan): Avoid internal overflow or cancellation in calculating
48162 denominator.
48163 * math/s_ctanf.c: Likewise.
48164 * math/s_ctanl.c: Likewise.
48165 * math/s_ctanh.c: Likewise.
48166 * math/s_ctanhf.c: Likewise.
48167 * math/s_ctanhl.c: Likewise.
48168 * math/libm-test.inc (ctan_test): Add more tests.
48169 (ctanh_test): Likewise.
48170 * sysdeps/i386/fpu/libm-test-ulps: Update.
48171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48172
823fbbb4
AJ
481732012-04-09 Andreas Jaeger <aj@suse.de>
48174
03879793
AJ
48175 [BZ #6894]
48176 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48177 is an optional BSD extension.
48178
823fbbb4
AJ
48179 [BZ #10254]
48180 * manual/stdio.texi (Opening Streams): Document additional fopen
48181 parameters.
48182
8de131cb
RM
481832012-04-09 Roland McGrath <roland@hack.frob.com>
48184
48185 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48186 %eax without telling the compiler.
48187
c0ed9d7d
CD
481882012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48189
48190 [BZ # 13963]
48191 * manual/install.texi: Use sourceware.org.
48192
c483f6b4
JM
481932012-04-09 Joseph Myers <joseph@codesourcery.com>
48194
d7dd9453
JM
48195 [BZ #13873]
48196 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48197 (__ieee754_pow): Generate overflow and underflow using huge*huge
48198 and tiny*tiny rather than just returning constant infinity or zero
48199 for large exponents.
48200 * math/libm-test.inc (pow_test): Require overflow exceptions for
48201 applicable cases of large exponents.
48202
c483f6b4
JM
48203 [BZ #706]
48204 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48205 (__ieee754_pow): Use iterative multiplication algorithm only for
48206 integer exponents with absolute value below 1024. Check for odd
48207 integer exponents when using algorithm for real exponents.
48208 * math/libm-test.inc (pow_test): Add more tests.
48209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48210
d2de7579
JM
482112012-04-08 Joseph Myers <joseph@codesourcery.com>
48212
48213 [BZ #13705]
48214 * math/libm-test.inc (exp_test): Do not allow overflow exception
48215 on underflow test.
48216
f77f1232
AJ
482172012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48218
48219 [BZ #13705]
48220 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48221 instead of __kernel_standard_f.
48222
3884932b
MF
482232012-04-08 Mike Frysinger <vapier@gentoo.org>
48224
48225 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48226 * sysdeps/x86_64/memset_chk.S: Likewise.
48227
54472e9c
AJ
482282012-04-08 Andreas Jaeger <aj@suse.de>
48229
6ab0fbfc
AJ
48230 [BZ #10153]
48231 * manual/startup.texi (Environment Access): Describe return value
48232 for putenv and setenv.
48233
61efba8c
AJ
48234 [BZ #6895]
48235 * manual/filesys.texi (Directory Entries): Add description for
48236 DT_LNK.
48237
95c3f29a
AJ
48238 [BZ #6890]
48239 * manual/filesys.texi (Directory Entries): Clarify that it's file
48240 system not operating system in the description of DT_UNKNOWN.
48241
54472e9c
AJ
48242 [BZ #6578]
48243 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48244
624254b1
SC
482452012-04-08 Stephen Compall <s11@member.fsf.org>
48246
48247 [BZ #6649]
48248 * manual/llio.texi (Opening and Closing Files): Add cross
48249 reference to explain mode argument.
48250
1e4920e0
MF
482512012-04-07 Mike Frysinger <vapier@gentoo.org>
48252
48253 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48254 * sysdeps/x86_64/memset_chk.S: Likewise.
48255
5ed848f3
DM
482562012-04-07 David S. Miller <davem@davemloft.net>
48257
48258 * elf/elf.h (R_SPARC_WDISP10): Define.
48259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48260 R_SPARC_SIZE32.
48261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48262 R_SPARC_SIZE64 and R_SPARC_H34.
48263
96154cd8
CD
482642012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48265
48266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48267 conditions and remove no longer applicable assertion.
48268
9904dc47
L
482692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48270
48271 * bits/byteswap.h: Include <features.h>.
48272 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48273 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48274
f8887d0a
L
482752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48276
48277 * bits/byteswap.h (__bswap_16): Removed.
48278 Include <bits/byteswap-16.h> to get __bswap_16.
48279 * sysdeps/i386/bits/byteswap.h: Likewise.
48280 * sysdeps/s390/bits/byteswap.h: Likewise.
48281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48282 * bits/byteswap-16.h: New file.
48283 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48284 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48285 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48286 * string/Makefile (headers): Add bits/byteswap-16.h.
48287
62470f60
PP
482882012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48289
48290 [BZ #13895]
48291 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48292 extra indirection.
48293 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48294 * nss/tst-nss-static.c: New.
48295
4dad7bab
RM
482962012-04-06 Robert Millan <rmh@gnu.org>
48297
48298 [BZ #6486]
48299 * manual/llio.texi (File Position Primitive): lseek
48300 refers to WHENCE when it really means OFFSET.
48301
e9142a17
AJ
483022012-04-06 Andreas Jaeger <aj@suse.de>
48303
2c040eff
AJ
48304 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48305 strncmp declarations.
48306
e9142a17
AJ
48307 * abilist/libc.abilist: Add __poll and __ppoll.
48308
ff9f1c5f
DM
483092012-04-05 David S. Miller <davem@davemloft.net>
48310
dcd2ae90
DM
48311 * scripts/check-local-headers.sh: Accept a host triplet in the
48312 path matched by the exclude regexp.
48313
993eb054
DM
48314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48315 definition.
48316 * sysdeps/powerpc/powerpc32/dl-machine.h
48317 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48318 * sysdeps/s390/s390-32/dl-machine.h
48319 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48320 * sysdeps/sparc/sparc32/dl-machine.h
48321 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48322 * sysdeps/sparc/sparc64/dl-machine.h
48323 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48324
ff9f1c5f
DM
48325 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48326 lazy binding.
48e2e132 48327 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
48328 undefined symbol errors.
48329
48e2e132 48330 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
48331 DT_NEEDED entries.
48332
e80d6f94
MM
483332012-04-05 Michael Matz <matz@suse.de>
48334
48335 [BZ #13592]
48336 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48337
349fa79f
AJ
483382012-04-05 Andreas Jaeger <aj@suse.de>
48339
48340 [BZ #13908]
48341 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48342 comment.
48343
f402708f
KK
483442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48345
48346 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48347 which ROUND is no valid rounding mode.
48348
2ecccfc9
KK
483492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48350
48351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48352 read again.
48353 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48354
8a53f50f
KK
483552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48356
48357 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48358 an exception using FPU order intentionally.
48359
483602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48361
48362 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48363 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48364 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48365 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48366
d653abb7
SJ
483672012-04-05 Simon Josefsson <simon@josefsson.org>
48368
48369 [BZ #12340]
48370 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48371 EINVAL when BUFLEN is too smal.
48372
c3b1bf7d
TS
483732012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48374
48375 [BZ #13553]
48376 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48377 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48378
b1aa60f3
AJ
483792012-04-03 Andreas Jaeger <aj@suse.de>
48380
c3b1bf7d 48381 [BZ #13938]
67f60a26
AJ
48382 * manual/setjmp.texi (System V contexts): Fix sentence.
48383
b1aa60f3
AJ
48384 [BZ #13926]
48385 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48386 New macro for this case.
48387 [!__GNUC__] (__bswap_64): New inline function for this case.
48388 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48389 * bits/byteswap.h: Likewise.
48390 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48391 ull, guard with __GLIBC_HAVE_LONG_LONG.
48392
48393 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48394 __GLIBC_HAVE_LONG_LONG.
48395
48396 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48397 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48398
39c59c35
TMQMF
483992012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48400
48401 [BZ #13691]
48402 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48403 inptr and inend, rather than using last_ch.
48404
135ffda8
DM
484052012-04-02 David S. Miller <davem@davemloft.net>
48406
48407 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48408 * stdio-common/printf-parse.h (read_int): Change return type to
48409 'int', return -1 on INT_MAX overflow.
48410 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48411 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48412 overflows INT_MAX. Check for overflow of in-format-string precision
48413 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48414 SIZE_MAX not INT_MAX for integer overflow test.
48415 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48416 skip the construct in the format string but do not record anything.
48417 * stdio-common/bug22.c: Adjust to test both width/prevision
48418 INT_MAX overflow as well as total length INT_MAX overflow. Check
48419 explicitly for proper errno values.
48420
228c019e
TS
484212012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48422
302cadd3
TS
48423 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48424 CHAR_MAX.
48425 * string/test-strcmp.c [! WIDE]: Likewise.
48426 * time/tst-mktime2.c: Likewise for INT_MAX.
48427 * string/test-string.h: #include <sys/param.h> for MIN.
48428
228c019e
TS
48429 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48430 * sysdeps/i386/init-first.c (init): Likewise.
48431 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48432 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48433 * sysdeps/sh/init-first.c (init): Likewise.
48434
cfa633f5
UD
484352012-04-01 Ulrich Drepper <drepper@gmail.com>
48436
48437 * po/ru.po: Update from translation team.
d1635ef8 48438 * po/vi.po: Likewise.
cfa633f5 48439
6cd0a5ea
SP
484402012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48441
48442 * resolv/nss_dns/dns-host.c: Merge copyright years.
48443
4b43400f
LD
484442012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48445
48446 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48447 Optimize memcpy with prefetch if
48448 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48449 src, dst pointers have unequal 16 byte alignments.
48450
48c41d04
SP
484512012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48452
48453 [BZ #13928]
48454 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48455 from a CNAME entry and return the minimum ttl for the query.
48456 (gaih_getanswer_slice): Likewise.
48457
b8dc394d
JL
484582012-03-30 Jeff Law <law@redhat.com>
48459
48460 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48461 due to long keys.
48462 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48463 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48464
2f5a5ed0
JL
48465 * resolv/nss_dns/dns-host.c: Update copyright year.
48466
1d39e359
UD
484672012-03-30 Ulrich Drepper <drepper@gmail.com>
48468
c030f70c 48469 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 48470 requests to save a system call. Fix check that all bytes are sent.
c030f70c 48471
1d39e359
UD
48472 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48473 comments for sendmmsg.
48474
484752012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
48476
48477 [BZ #13691]
48478 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48479 with only 1 character between 0x0041 and 0x01b0.
48480 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48481 * wcsmbs/tst-mbsnrtowcs.c: New file.
48482
20fde227
DM
484832012-03-29 David S. Miller <davem@davemloft.net>
48484
48485 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48486 small copies by hand.
48487
984a4237
JL
484882012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48489
48490 [BZ #13761]
57f41c40
AS
48491 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48492 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48493 group memberships.
984a4237 48494
18c9d62b
DM
484952012-03-28 David S. Miller <davem@davemloft.net>
48496
88d85d4f
DM
48497 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48498 that branches into memcpy.
48499 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48502 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48504 bits.
48505 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48506 implementation too.
48507 * sysdeps/sparc/mempcpy.S: New file.
48508
e5aa83e1
DM
48509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48510 the IFUNC routine in the libc case.
48511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48512
88570753
DM
48513 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48514 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48515 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48516 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48517 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48518 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48519 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48520 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48521
249d7567
DM
48522 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48523 loop to 256 bytes instead of 64 bytes and fix test signedness.
48524
18c9d62b
DM
48525 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48526 * sysdeps/sparc/sparc32/Makefile: rather than here...
48527 * sysdeps/sparc/sparc64/Makefile: and here.
48528
05f3d1f6
UD
485292012-03-28 Ulrich Drepper <drepper@gmail.com>
48530
48531 * malloc/mallocbug.c: Avoid warnings about unused variables.
48532
86ae07a8
JL
485332012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48534
48535 [BZ #13760]
48536 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48537 in the right place. Discard and retry query if response is
48538 larger than input buffer size.
48539
41bf21a1
JM
485402012-03-28 Joseph Myers <joseph@codesourcery.com>
48541
d6270972
JM
48542 [BZ #369]
48543 [BZ #2678]
48544 [BZ #3866]
48545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48546 x for large integer exponent.
48547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48548 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48549 sign of result as needed afterwards.
48550 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48551 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48552 result for underflowing pow the same as for overflow.
48553 (__kernel_standard_l): Handle powl overflow and underflow here
48554 rather than calling __kernel_standard.
48555 * math/libm-test.inc (pow_test): Add more tests.
48556
414fca03 48557 [BZ #3868]
41bf21a1
JM
48558 [BZ #13879]
48559 [BZ #13910]
48560 [BZ #13911]
48561 [BZ #13912]
48562 [BZ #13913]
48563 [BZ #13915]
48564 [BZ #13916]
48565 [BZ #13917]
48566 [BZ #13918]
48567 [BZ #13919]
48568 [BZ #13920]
48569 [BZ #13921]
48570 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48571 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48572 (__kernel_standard_l): New function.
48573 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48574 __kernel_standard.
48575 * math/w_acosl.c (__acosl): Likewise.
48576 * math/w_asinl.c (__asinl): Likewise.
48577 * math/w_atan2l.c (__atan2l): Likewise.
48578 * math/w_atanhl.c (__atanhl): Likewise.
48579 * math/w_coshl.c (__coshl): Likewise.
48580 * math/w_exp10l.c (__exp10l): Likewise.
48581 * math/w_exp2l.c (__exp2l): Likewise.
48582 * math/w_fmodl.c (__fmodl): Likewise.
48583 * math/w_hypotl.c (__hypotl): Likewise.
48584 * math/w_j0l.c (__j0l, __y0l): Likewise.
48585 * math/w_j1l.c (__j1l, __y1l): Likewise.
48586 * math/w_jnl.c (__jnl, __ynl): Likewise.
48587 * math/w_lgammal.c (__lgammal): Likewise.
48588 * math/w_log10l.c (__log10l): Likewise.
48589 * math/w_log2l.c (__log2l): Likewise.
48590 * math/w_logl.c (__logl): Likewise.
48591 * math/w_powl.c (__powl): Likewise.
48592 * math/w_remainderl.c (__remainderl): Likewise.
48593 * math/w_scalbl.c (sysv_scalbl): Likewise.
48594 * math/w_sinhl.c (__sinhl): Likewise.
48595 * math/w_sqrtl.c (__sqrtl): Likewise.
48596 * math/w_tgammal.c (__tgammal): Likewise.
48597 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48598 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48599 * math/libm-test.inc (acos_test): Add more tests.
48600 (acosh_test): Likewise.
48601 (asin_test): Likewise.
48602 (atanh_test): Likewise.
48603 (exp_test): Likewise.
48604 (exp10_test): Likewise.
48605 (exp2_test): Likewise.
48606 (expm1_test): Likewise.
48607 (lgamma_test): Likewise.
48608 (log_test): Likewise.
48609 (log10_test): Likewise.
48610 (log1p_test): Likewise.
48611 (log2_test): Likewise.
48612 (pow_test): Do not allow some spurious overflow exceptions.
48613 (sqrt_test): Add more tests.
48614 (tgamma_test): Likewise.
48615 (y0_test): Likewise.
48616 (y1_test): Likewise.
48617 (yn_test): Likewise.
48618
dd62fda6
AB
486192012-03-27 Anton Blanchard <anton@samba.org>
48620
48621 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48622 MAP_HUGETLB.
48623 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48624 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48625 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48626
1e3cdfda
AJ
486272012-03-27 David S. Miller <davem@davemloft.net>
48628
b855ab85
DM
48629 * conform/Makefile: Run run-conformtest.sh using $(BASH).
48630
1e3cdfda
AJ
48631 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48632 have-as-vis3 check.
48633
486342012-03-27 Andreas Jaeger <aj@suse.de>
48635
48636 * sysdeps/x86_64/elf/configure.in: Moved to ...
48637 * sysdeps/x86_64/configure.in: ... here.
48638 * sysdeps/x86_64/elf/start.S: Moved to ...
48639 * sysdeps/x86_64/start.S: ... here.
48640 * sysdeps/x86_64/elf/configure: Delete.
48641
48642 * sysdeps/x86_64/configure.in: Merge contents from
48643 sysdeps/i386/configure.in (without i686 check).
48644
48645 * sysdeps/i386/elf/Versions: Merge into ...
48646 * sysdeps/i386/Versions: ... this.
48647 * sysdeps/i386/elf/Versions: Delete file.
48648 * sysdeps/i386/elf/start.S: Moved to ...
48649 * sysdeps/i386/start.S: ...here.
48650 * sysdeps/i386/elf/configure.in: Merge into...
48651 * sysdeps/i386/configure.in: ...here.
48652 * sysdeps/i386/elf/configure.in: Delete file.
48653 * sysdeps/i386/elf/configure: Delete file.
48654
48655 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48656 * debug/backtracesyms.c: ... here.
48657 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48658 * debug/backtracesymsfd.c: ... here.
48659 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48660 * sysdeps/generic/ifunc-sel.h: ... here.
48661
48662 * sysdeps/unix/i386/start.c: Delete file.
48663 * sysdeps/unix/sparc/start.c: Delete file.
48664 * sysdeps/unix/start.c: Delete file.
48665
48666 * sysdeps/sh/elf/configure.in: Moved to ...
48667 * sysdeps/sh/configure.in: ... here.
48668 * sysdeps/sh/elf/start.S: Moved to ...
48669 * sysdeps/sh/start.S: ... here.
48670 * sysdeps/sh/elf/configure: Delete file.
48671
48672 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48673 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48674 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48675 * sysdeps/powerpc/powerpc64/entry.h: ... here.
48676 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48677 * sysdeps/powerpc/powerpc64/start.S: here.
48678 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48679 * sysdeps/powerpc/powerpc64/Makefile: ... this.
48680 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48681 * sysdeps/powerpc/powerpc64/configure.in: ... this.
48682 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48683
48684 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48685 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48686 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48687 * sysdeps/powerpc/powerpc32/start.S: ... here.
48688 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48689 * sysdeps/powerpc/powerpc32/configure.in: ... this.
48690 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48691
48692 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48693 * sysdeps/powerpc/ifunc-sel.h: ... here.
48694 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48695 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48696
48697 * sysdeps/sparc/elf/configure.in: Moved to ...
48698 * sysdeps/sparc/configure.in: ... here.
48699 * sysdeps/sparc/elf/configure: Delete file.
48700 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48701 * sysdeps/sparc/sparc32/start.S: ... here.
48702 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48703 * sysdeps/sparc/sparc64/start.S: ... here.
48704 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48705 * sysdeps/sparc/sparc32/Makefile: ... this.
48706 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48707 * sysdeps/sparc/sparc64/Makefile: ... this.
48708
48709 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48710 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48711 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48712 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48713 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48714 * sysdeps/s390/s390-32/setjmp.S: ... here.
48715 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48716 * sysdeps/s390/s390-32/configure.in: ... here.
48717 * sysdeps/s390/s390-32/elf/configure: Delete file.
48718 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48719 * sysdeps/s390/s390-32/start.S: ... here.
48720
48721 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48722 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48723 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48724 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48725 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48726 * sysdeps/s390/s390-64/setjmp.S: ... here.
48727 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48728 * sysdeps/s390/s390-64/configure.in: ... here
48729 * sysdeps/s390/s390-64/elf/configure: Delete file.
48730 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48731 * sysdeps/s390/s390-64/start.S: ... here.
48732 * sysdeps/s390/s390-64/elf/configure: Delete.
48733
48734 * configure.in: Remove support for elf directories in sysdeps.
48735
48736 * configure: Regenerated.
48737 * sysdeps/i386/configure: Regenerated.
48738 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48739 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48740 * sysdeps/s390/s390-32/configure: Regenerated.
48741 * sysdeps/s390/s390-64/configure: Regenerated.
48742 * sysdeps/sh/configure: Regenerated.
48743 * sysdeps/sparc/configure: Regenerated.
48744 * sysdeps/x86_64/configure: Regenerated.
48745
a3f61311
AS
487462012-03-26 Andreas Schwab <schwab@linux-m68k.org>
48747
c876e002
AS
48748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48749
a3f61311
AS
48750 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48751 denormal result into account.
48752
ac4c54f0
RM
487532012-03-25 Roland McGrath <roland@hack.frob.com>
48754
48755 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48756 Reported by Allan McRae <allan@archlinux.org>.
48757
6a9b9c02
JL
487582012-03-23 Jeff Law <law@redhat.com>
48759
48760 * nss/getnssent.c (__nss_getent): Fix typo.
48761
4c42a0c1
DM
487622012-03-23 David S. Miller <davem@davemloft.net>
48763
48764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48765
1532c7ac
L
487662012-03-23 H.J. Lu <hongjiu.lu@intel.com>
48767
48768 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48769 to pad to uint64_t for each field.
48770 (dl_tls_index): Replace unsigned long with uint64_t.
48771
3ff42526
PP
487722012-03-23 Daniel Jacobowitz <dmj@google.com>
48773 Paul Pluzhnikov <ppluzhnikov@google.com>
48774
48775 [BZ #6528]
48776 * grp/Makefile (otherlibs): Don't set it.
48777 * inet/Makefile (otherlibs): Likewise.
48778 * login/Makefile (otherlibs): Likewise.
48779 * nscd/Makefile (otherlibs): Likewise.
48780 * posix/Makefile (otherlibs): Likewise.
48781 * pwd/Makefile (otherlibs): Likewise.
48782 * rt/Makefile (otherlibs): Likewise.
48783 * sunrpc/Makefile (otherlibs): Likewise.
48784 * nss/Makefile (otherlibs): Likewise.
48785 Add libnss_files to routines and static-only-routines.
48786 ($(objpfx)getent): Remove rule.
48787 * resolv/Makefile: Add libnss_dns and libresolv to routines and
48788 static-only-routines.
48789
7c69cd14
JM
487902012-03-22 Joseph Myers <joseph@codesourcery.com>
48791
48792 [BZ #13892]
48793 * math/s_cexp.c: Include <float.h>.
48794 (__cexp): Handle exp result overflowing not necessarily
48795 overflowing both real and imaginary parts of result.
48796 * math/s_cexpf.c: Likewise.
48797 * math/s_cexpl.c: Likewise.
48798 * math/libm-test.inc (cexp_test): Add more tests.
48799 * sysdeps/i386/fpu/libm-test-ulps: Update.
48800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48801
81b035fe
L
488022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48803
48804 * include/link.h (ELFW): New macro.
48805 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48806 Replace ELF64_R_TYPE with ELFW(R_TYPE).
48807
1da7940c
L
488082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48809
48810 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48811 with uint64_t.
48812
b749dbb9
L
488132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48814
48815 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48816 declaration.
48817 (struct La_x32_retval): Likewise.
48818
2ff87f3f
L
488192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48820
48821 * sysdeps/x86_64/preconfigure.in: New file.
48822 * sysdeps/x86_64/preconfigure: New generated file.
48823
c0df8e69
JM
488242012-03-22 Joseph Myers <joseph@codesourcery.com>
48825
48e44791
JM
48826 [BZ #13824]
48827 * math/e_exp2l.c: Include <float.h>.
48828 (__ieee754_exp2l): Handle overflow and underflow cases
48829 separately. Only pass fractional part of argument to
48830 __ieee754_expl.
48831 * math/libm-test.inc (exp2_test): Add more tests.
48832
c0df8e69
JM
48833 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48834 negating x to take absolute value.
48835 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48836 Likewise.
48837 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48838 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48839 Likewise.
48840 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48841 computing low part if x was negated.
48842 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48843
c8e43ba7
L
488442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48845
48846 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48847 la_x32_gnu_pltexit.
48848 (pltexit): Cast int_retval to ptrdiff_t.
48849 * elf/tst-auditmod3b.c: Likewise.
48850 * elf/tst-auditmod4b.c: Likewise.
48851 * elf/tst-auditmod5b.c: Likewise.
48852 * elf/tst-auditmod6b.c: Likewise.
48853 * elf/tst-auditmod6c.c: Likewise.
48854 * elf/tst-auditmod7b.c: Likewise.
48855
48856 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48857 and x32_gnu_pltexit.
48858
48859 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48860 __ELF_NATIVE_CLASS.
48861 (La_x32_regs): New macro.
48862 (La_x32_retval): Likewise.
48863 (la_x32_gnu_pltenter): New function prototype.
48864 (la_x32_gnu_pltexit): Likewise.
48865
7998fa78
AS
488662012-03-21 Andreas Schwab <schwab@linux-m68k.org>
48867
dcb33988
AS
48868 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48869 exponent.
48870
233fc563
AS
48871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48872
7998fa78
AS
48873 * configure.in (libc_cv_cc_nofma): Check for option to disable
48874 generation of FMA instructions.
48875 * configure: Regenerate.
48876 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48877 * sysdeps/ieee754/dbl-64/Makefile: New file.
48878 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48879 Remove brandred-fma4.
48880 (CFLAGS-brandred-fma4.c): Remove.
48881 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48882 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48883 define.
48884 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48885 define.
48886
8e95c99a
L
488872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48888
48889 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48890 LLONG_MAX != LONG_MAX.
48891 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48892 (_fitoa_word): Likewise.
48893 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48894 LLONG_MAX != LONG_MAX.
48895 * stdio-common/_itowa.h: Include <_itoa.h>.
48896 (_itowa_word): Use _ITOA_WORD_TYPE on value.
48897 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
48898 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
48899 only if not defined.
48900 (_ITOA_WORD_TYPE): Likewise.
48901 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48902 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48903
6f4db457
DM
489042012-03-21 David S. Miller <davem@davemloft.net>
48905
48906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48907
7785fe5a
L
489082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48909
48910 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48911 of x86_64 when setting libc_cv_slibdir, libdir and
48912 libc_cv_localedir.
48913 * sysdeps/unix/sysv/linux/configure: Regenerated.
48914
4535cd55
JM
489152012-03-21 Joseph Myers <joseph@codesourcery.com>
48916
48917 * manual/lang.texi (Old Varargs): Remove section.
48918 (How Variadic): Update menu.
48919 (va_start): Do not mention varargs.h.
48920
17228132
TS
489212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48922 Joseph Myers <joseph@codesourcery.com>
48923
48924 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48925 link test.
48926 * configure: Regenerated.
48927
8149f976
TS
489282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48929
05f3d1f6
UD
48930 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48931 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48932 conformtest.pl
8149f976 48933
1a4ac776
JM
489342012-03-21 Joseph Myers <joseph@codesourcery.com>
48935
be22ce65
JM
48936 * NOTES: Remove.
48937 * Makefile (files-for-dist): Remove NOTES.
48938 (NOTES): Remove rule.
48939 * README: Don't refer to NOTES.
48940 * manual/creature.texi: Don't include macros.texi.
48941 * manual/intro.texi (creature.texi): Remove comment referring to
48942 NOTES.
48943
40b601fb
JM
48944 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48945 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48946 * configure: Regenerated.
48947 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48948 LIBC_TRY_CC_OPTION.
48949 (libc_cv_as_i686): Likewise.
48950 (libc_cv_cc_avx): Likewise.
48951 (libc_cv_cc_sse2avx): Likewise.
48952 (libc_cv_cc_fma4): Likewise.
48953 (libc_cv_cc_novzeroupper): Likewise.
48954 * sysdeps/i386/configure: Regenerated.
48955
1a4ac776
JM
48956 [BZ #13883]
48957 * sysdeps/i386/fpu/s_cexp.S: Remove.
48958 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48959 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48960 * math/libm-test.inc (cexp_test): Add more tests.
48961 * sysdeps/i386/fpu/libm-test-ulps: Update.
48962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48963
a458e7fe
AM
489642012-03-21 Allan McRae <allan@archlinux.org>
48965
48966 * timezone/Makefile: Do not install iso3166.tab and zone.tab
48967
0cb7efc5
JM
489682012-03-21 Joseph Myers <joseph@codesourcery.com>
48969
48970 [BZ #13871]
48971 * math/w_exp2.c: Do not include <float.h>.
48972 (o_threshold, u_threshold): Remove.
48973 (__exp2): Calculate result before checking finiteness and calling
48974 __kernel_standard.
48975 * math/w_exp2f.c: Likewise.
48976 * math/w_exp2l.c: Likewise.
48977 * math/libm-test.inc (exp2_test): Require overflow exception for
48978 1e6 input.
2460d3aa
JM
48979
48980 [BZ #3866]
48981 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48982 range of signed 64-bit integers before using fistpll. Remove
48983 checks for whether integers fit in mantissa bits.
48984 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48985 the range of signed 32-bit integers before using fistpl. Remove
48986 checks for whether integers fit in mantissa bits.
48987 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48988 (__ieee754_powl): Test for y outside the range of signed 64-bit
48989 integers before using fistpll. Reduce 64-bit values to 63-bit
48990 ones as needed.
48991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48992 divide-by-zero is raised for zero to large negative powers.
48993 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48994 (__ieee754_powl): Test for y outside the range of signed 64-bit
48995 integers before using fistpll. Reduce 64-bit values to 63-bit
48996 ones as needed.
48997 * math/libm-test.inc (pow_test): Add more tests.
48998
eb96ffb0
L
489992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49000
49001 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49002 <stdio-common/_itoa.h>.
49003 * debug/segfault.c: Likewise.
49004 * elf/dl-cache.c: Likewise.
49005 * elf/dl-minimal.c: Likewise.
49006 * elf/dl-misc.c: Likewise.
49007 * elf/dl-sysdep.c: Likewise.
49008 * elf/dl-version.c: Likewise.
49009 * elf/rtld.c: Likewise.
49010 * hurd/hurdsock.c: Likewise.
49011 * hurd/lookup-retry.c: Likewise.
49012 * malloc/malloc.c: Likewise.
49013 * malloc/mtrace.c: Likewise.
49014 * nscd/nscd_getgr_r.c: Likewise.
49015 * nscd/nscd_getpw_r.c: Likewise.
49016 * nscd/nscd_getserv_r.c: Likewise.
49017 * posix/getopt_init.c: Likewise.
49018 * posix/wordexp.c: Likewise.
49019 * stdio-common/_itoa.c: Likewise.
49020 * stdio-common/printf_fphex.c: Likewise.
49021 * stdio-common/vfprintf.c: Likewise.
49022 * string/_strerror.c: Likewise.
49023 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49024 * sysdeps/i386/i686/hp-timing.h: Likewise.
49025 * sysdeps/mach/_strerror.c: Likewise.
49026 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49027 * sysdeps/mach/hurd/sethostid.c: Likewise.
49028 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49029 * sysdeps/mach/xpg-strerror.c: Likewise.
49030 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49032 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49033 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49034 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49035 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49036 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49037 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49038 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49039 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49040 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49041 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49042 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49043 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49044 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49045 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49046 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49047 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49048 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49049 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49050 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49051
49052 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49053
49054 * stdio-common/_itoa.h: Moved to ...
49055 * sysdeps/generic/_itoa.h: Here.
49056
49057 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49058
49059 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49060 instead of "_itoa.h" and "_itowa.h".
49061 * stdio-common/vfprintf.: Likewise.
49062
d1af992d
L
490632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49064
49065 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49066 <bits/wordsize.h>.
49067 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49068 (__signbit): Likwise.
49069 (llrintf): Likwise.
49070 (llrint): Likwise.
49071
114883e0
L
490722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49073
49074 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49075 __WORDSIZE != 64.
49076
c135cc1b
JM
490772012-03-20 Joseph Myers <joseph@codesourcery.com>
49078
49079 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49080 OVERFLOW_EXCEPTION_OK.
49081 * math/libm-test.inc ("Philosophy"): Update comment about
49082 exception testing.
49083 (OVERFLOW_EXCEPTION): Define.
49084 (OVERFLOW_EXCEPTION_OK): Likewise.
49085 (INVALID_EXCEPTION_OK): Renumber.
49086 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49087 (IGNORE_ZERO_INF_SIGN): Likewise.
49088 (test_exceptions): Handle FE_OVERFLOW.
49089 (exp10_test): Expect overflow exceptions.
49090 (exp2_test): Likewise.
49091 (expm1_test): Likewise.
49092 (nextafter_test): Likewise.
49093 (pow_test): Likewise.
49094 (scalbn_test): Likewise.
49095 (scalbln_test): Likewise.
49096
95443d88
L
490972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49098
49099 * sysdeps/x86_64/bits/atomic.h
49100 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49101 64bit integer.
49102 (atomic_exchange_acq): Likewise.
49103 (__arch_exchange_and_add_body): Likewise.
49104 (__arch_add_body): Likewise.
49105 (atomic_add_negative): Likewise.
49106 (atomic_add_zero): Likewise.
49107
490df6c4
L
491082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49109
c2722551 49110 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
49111 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49112
5e52b189
L
491132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49114
49115 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49116 Check __x86_64__ instead of __WORDSIZE.
49117
a9879d4c
L
491182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49119
49120 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49121
5df98260
DM
491222012-03-19 David S. Miller <davem@davemloft.net>
49123
e1497744
DM
49124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49125
5df98260
DM
49126 * sysdeps/sparc/fpu/fenv_private.h: New file.
49127 * sysdeps/sparc/fpu/math_private.h: Use it.
49128 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49129 Remove.
57f41c40 49130 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
49131 (libc_feholdexcept_setroundl): Remove.
49132 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49133 Remove.
49134 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49135 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49136
b4c35121
L
491372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49138
49139 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49140 int64_t instead of long int.
49141 (INSERT_WORDS64): Likwise.
49142
56965fd7
L
491432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49144
49145 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49146 _Unwind_GetCFA return to _Unwind_Ptr first.
49147
83d1aec8
JM
491482012-03-19 Joseph Myers <joseph@codesourcery.com>
49149
1897ad44
JM
49150 [BZ #13629]
49151 * math/s_clog.c: Include <float.h>.
49152 (__clog): Scale large or subnormal inputs.
49153 * math/s_clogf.c: Likewise.
49154 * math/s_clogl.c: Likewise.
49155 * math/s_clog10.c: Include <float.h>.
49156 (M_LOG10_2): Define.
49157 (__clog10): Scale large or subnormal inputs.
49158 * math/s_clog10f.c: Likewise.
49159 * math/s_clog10l.c: Likewise.
49160 * math/libm-test.inc (clog_test): Add more tests.
49161 (clog10_test): Likewise.
49162 * sysdeps/i386/fpu/libm-test-ulps: Update.
49163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49164
7726d6a9
JM
49165 [BZ #11451]
49166 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49167 x and y.
49168 * math/libm-test.inc (atan2_test): Add another test.
49169
83d1aec8
JM
49170 * Makerules (common-objdir-compile): Remove.
49171 * sysdeps/unix/Makefile (config-generated): Do not add
49172 $(unix-generated) to variable.
49173 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49174 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49175 Remove rule.
49176 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49177 Likewise.
49178 [generic bits/local_lim.h] (before-compile): Do not append to
49179 variable.
49180 [generic bits/local_lim.h] (common-generated): Likewise.
49181 [generic sys/param.h] (before-compile): Do not append to variable.
49182 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49183 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49184 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49185 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49186 include.
49187 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49188 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49189 [generic sys/param.h] ($(addprefix
49190 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49191 [generic sys/param.h] (common-generated): Do not append to
49192 variable.
49193 [generic sys/param.h] (sysdep_headers): Likewise.
49194 [generic bits/errno.h] (before-compile): Do not append to
49195 variable.
49196 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49197 rule.
49198 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49199 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49200 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49201 [generic bits/errno.h] (common-generated): Do not append to
49202 variable.
49203 [generic bits/ioctls.h] (before-compile): Do not append to
49204 variable.
49205 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49206 rule.
49207 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49208 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49209 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49210 rule.
49211 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49212 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49213 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49214 [generic bits/ioctls.h] (common-generated): Do not append to
49215 variable.
49216 [generic sys/syscall.h] (syscall.h): Remove variable.
49217 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49218 rule.
49219 [generic sys/syscall.h] (before-compile): Do not append to
49220 variable.
49221 [generic sys/syscall.h] (common-generated): Likewise.
49222 * sysdeps/unix/errnos-tmpl.c: Remove file.
49223 * sysdeps/unix/errnos.awk: Likewise.
49224 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49225 * sysdeps/unix/ioctls.awk: Likewise.
49226 * sysdeps/unix/mk-local_lim.c: Likewise.
49227 * sysdeps/unix/snarf-ioctls: Likewise.
49228
4851a949
RH
492292012-03-19 Richard Henderson <rth@twiddle.net>
49230
bd37f2ee
RH
49231 * sysdeps/i386/fpu/fenv_private.h: New file.
49232 * sysdeps/i386/fpu/math_private.h: Use it.
49233 (math_opt_barrier, math_force_eval): Remove.
49234 (libc_feholdexcept_setround_53bit): Remove.
49235 (libc_feupdateenv_53bit): Remove.
49236 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49237 (math_opt_barrier, math_force_eval): Remove.
49238 (libc_feholdexcept): Remove.
49239 (libc_feholdexcept_setround): Remove.
49240 (libc_fetestexcept, libc_fesetenv): Remove.
49241 (libc_feupdateenv_test): Remove.
49242 (libc_feupdateenv, libc_feholdsetround): Remove.
49243 (libc_feresetround): Remove.
49244
d0adc922
RH
49245 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49246 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49247
0fe0f1f8
RH
49248 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49249 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49250 (libc_feupdateenv_testl): New.
49251 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49252 (libc_feupdateenv_testf): New.
49253 (libc_feupdateenv): Use libc_feupdateenv_test.
49254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49255 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49256
eb92c487
RH
49257 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49258 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49259 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49260 (libc_feresetround_noex): New.
49261 (libc_feresetround_noexf): New.
49262 (libc_feresetround_noexl): New.
49263 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49264 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49265 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49266 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49267 SET_RESTORE_ROUND.
49268 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49270 (__cos): Likewise.
49271 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49272 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49273 SET_RESTORE_ROUND_NOEX.
49274 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49275 SET_RESTORE_ROUND_NOEXF.
49276 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49277 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49278 (libc_feholdsetroundf): New.
49279 (libc_feresetround, libc_feresetroundf): New.
49280
7d2e8012
RH
49281 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49282 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49283 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49284
b4dabbb4
RH
49285 * sysdeps/generic/math_private.h: Include <fenv.h>.
49286 (default_libc_feholdexcept): New.
49287 (default_libc_feholdexcept_setround): New.
49288 (default_libc_fesetenv, default_libc_feupdateenv): New.
49289 (libc_feholdexcept): Only define if undefined.
49290 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49291 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49292 (libc_feholdexcept_setroundl): Likewise.
49293 (libc_feholdexcept_setround_53bit): Likewise.
49294 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49295 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49296 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49297 (libc_feupdateenv_53bit): Likewise.
49298 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49299 (libc_feholdexcept): Convert from macro to inline function.
49300 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49301 (libc_fesetenv, libc_feupdateenv): Likewise.
49302
4851a949
RH
49303 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49304 not previously defined.
49305 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49306 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49307 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49308 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49309 * sysdeps/ieee754/flt-32/math_private.h: New file.
49310 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49311 math_private.h below SET_FLOAT_WORD.
49312 (__isnan, __isinf_ns, __finite): Remove.
49313 (__isnanf, __isinf_nsf, __finitef): Remove.
49314
e79d442e
AS
493152012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49316
49317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49318
90b80344
DM
493192012-03-17 David S. Miller <davem@davemloft.net>
49320
49321 [BZ #6471]
49322 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49323 for 2.16.
49324
edc21804
DM
493252012-03-16 David S. Miller <davem@davemloft.net>
49326
77e927af
DM
49327 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49328 warnings.
49329
374976dd
DM
49330 [BZ #6471]
49331 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49332 properly.
49333 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49334 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49335 sysdep_routines when subdir is sysvipc.
49336 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49337 __getshmlba helper.
49338
edc21804
DM
49339 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49340
473c3ef3
L
493412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49342
49343 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49344 [__LP64__].
49345
eb0f39b6
L
493462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49347
49348 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49349 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49350 (__lround): Renamed to ...
49351 (__llround): This. Replace long int with long long int.
49352 Define lround functions as aliases of llround functions.
49353 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49354
6b6cd74b
L
493552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49356
49357 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49358 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49359 adresses to uintptr_t. Replace "long int" and "unsigned long
49360 int" with "greg_t" on va_arg.
49361
f1a77b01
L
493622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49363
49364 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49365 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49366
49367 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49368 Move e_machine check before EI_CLASS check. Handle x32
49369 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49370 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49371 SKIP_EM_IA_64 and include
49372 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49373
49374 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49375 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49376 (add_system_dir): New macro.
49377
49378 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49379 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49380
11b90b9f
JM
493812012-03-16 Joseph Myers <joseph@codesourcery.com>
49382
c36e1d23
JM
49383 [BZ #2551]
49384 [BZ #2552]
49385 [BZ #2553]
49386 [BZ #2554]
49387 [BZ #2562]
49388 [BZ #2563]
49389 [BZ #2565]
49390 [BZ #2566]
49391 [BZ #2576]
49392 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49393 (y0): Likewise.
49394 * math/w_j0f.c (j0f): Likewise.
49395 (y0f): Likewise.
49396 * math/w_j0l.c (__j0l): Likewise.
49397 (__y0l): Likewise.
49398 * math/w_j1.c (j1): Likewise.
49399 (y1): Likewise.
49400 * math/w_j1f.c (j1f): Likewise.
49401 (y1f): Likewise.
49402 * math/w_j1l.c (__j1l): Likewise.
49403 (__y1l): Likewise.
49404 * math/w_jn.c (jn): Likewise.
49405 (yn): Likewise.
49406 * math/w_jnf.c (jnf): Likewise.
49407 (ynf): Likewise.
49408 * math/w_jnl.c (__jnl): Likewise.
49409 (__ynl): Likewise.
49410 * math/libm-test.inc (j0_test): Add more tests.
49411 (j1_test): Likewise.
49412 (jn_test): Likewise. Add trailing semicolon to existing test.
49413 (y0_test): Likewise.
49414 (y1_test): Likewise.
49415 * sysdeps/i386/fpu/libm-test-ulps: Update.
49416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49417
11b90b9f
JM
49418 [BZ #13851]
49419 [BZ #13854]
49420 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49421 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49422 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49424 (__tanl): Set errno for infinite argument.
49425 * sysdeps/i386/fpu/mptan.c: Remove.
49426 * sysdeps/i386/fpu/s_tan.S: Likewise.
49427 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49428 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49429 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49430 * math/libm-test.inc (tan_test): Add more tests and enable more
49431 tests for double and long double.
49432 * sysdeps/i386/fpu/libm-test-ulps: Update.
49433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49434
6a1bd2a1
JK
494352012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49436
49437 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49438 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49439
10a803e0
RM
494402012-03-16 Roland McGrath <roland@hack.frob.com>
49441
49442 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49443 * configure.in: Use it for both main tree and add-ons.
49444 * configure: Regenerated.
49445
f196c7f7
L
494462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49447
49448 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49449
8848d99d
JM
494502012-03-16 Joseph Myers <joseph@codesourcery.com>
49451
96cbe7f4
JM
49452 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49453 in comment.
49454
8848d99d
JM
49455 [BZ #13851]
49456 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49457 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49458 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49459 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49460 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49461 infinite argument.
49462 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49464 != 0 for prec == 2.
49465 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49466 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49467 * sysdeps/i386/fpu/s_cosl.S: Likewise.
49468 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49469 * sysdeps/i386/fpu/s_sinl.S: Likewise.
49470 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49471 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49472 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49473 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49474 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49475 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49476 * math/libm-test.inc (cos_test): Add more tests and enable more
49477 tests for long double.
49478 (sin_test): Likewise.
49479 (sincos_test): Likewise.
49480 * sysdeps/i386/fpu/libm-test-ulps: Update.
49481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49482
dd7f4703
DM
494832012-03-16 David S. Miller <davem@davemloft.net>
49484
49485 * sysdeps/sparc/fpu/math_private.h: New file.
49486
006f1daa
DM
494872012-03-15 David S. Miller <davem@davemloft.net>
49488
c0c83bc8
DM
49489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49490 file.
e6a62e18 49491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
49492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49493 file.
e6a62e18
DM
49494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49500 sysdep routines.
49501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49502
88cb87d9
DM
49503 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49504 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49505
006f1daa 49506 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
49507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49508 sparc-ifunc.h
006f1daa 49509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
49510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49511 Likewise.
49512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49513 Likewise.
006f1daa
DM
49514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
49517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49518 Likewise.
006f1daa
DM
49519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
49523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49524 Likewise.
49525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49526 Likewise.
006f1daa
DM
49527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49551
11e0098e
AS
495522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49553
49554 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49555 scaling.
49556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49557
e85b09d0
AJ
495582012-03-15 Andreas Jaeger <aj@suse.de>
49559
49560 [BZ #13852]
49561 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49562 ieee754/flt-32 implementation for sin, cos and sincos.
49563 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49564 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49565 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49566 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49567 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49568 ieee754/flt-32 implementation for tan.
49569
49570 * math/libm-test.inc (cos_test): Enable some large input tests for
49571 float as well
49572 (sin_test): Likewise.
49573 (sincos_test): Likewise.
49574 (tan_test): Add tests for large input.
49575
49576 * sysdeps/i386/fpu/libm-test-ulps: Update.
49577
81c64153
AJ
495782012-03-15 Andreas Jaeger <aj@suse.de>
49579
49580 [BZ #13658]
49581 * math/libm-test.inc (cos_test): Add more test cases.
49582 (sin_test): Likewise.
49583 (sincos_test): Likewise.
49584
7bbfa5c6
AJ
495852012-03-15 Andreas Jaeger <aj@suse.de>
49586
49587 [BZ #13837]
49588 * math/libm-test.inc (cos_test): Add a test case for large input
49589 value.
49590 (sin_test): Likewise.
49591 (sincos_test): Likewise.
49592
57f41c40
AS
495932012-03-15 Andreas Jaeger <aj@suse.de>
49594 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
49595
49596 [BZ #13658]
0671f479 49597 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
49598 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49599 * sysdeps/i386/fpu/branred.c: Likewise.
49600 * sysdeps/i386/fpu/dosincos.c: Likewise.
49601 * sysdeps/i386/fpu/mpa.c: Likewise.
49602 * sysdeps/i386/fpu/s_cos.S: Likewise.
49603 * sysdeps/i386/fpu/s_sin.S: Likewise.
49604 * sysdeps/i386/fpu/s_sincos.S: Likewise.
49605 * sysdeps/i386/fpu/sincos32.c: Likewise.
49606
49607 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49608 Define.
49609 (libc_feupdateenv_53bit): Define.
49610 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49611 Define.
49612 (libc_feupdateenv_53bit): Define.
49613
49614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49615 53 bit (without extend i386 double precision).
49616
49617 * math/libm-test.inc (sincos_test): Add tests for large input.
49618 (sin): Likewise.
49619 (cos): Likewise.
49620
49621 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49622
9cad04ea
AS
496232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49624
49625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49626
f7062b9a
DM
496272012-03-15 David S. Miller <davem@davemloft.net>
49628
49629 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49630 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49631 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49632 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
49644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49645 file.
f7062b9a 49646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
49647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49648 file.
f7062b9a 49649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
49650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49651 file.
f7062b9a 49652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
49653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49654 file.
f7062b9a
DM
49655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49657 fmin/fmax sysdep routines.
49658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49659
7bd951ff
DM
496602012-03-14 David S. Miller <davem@davemloft.net>
49661
559398ab
DM
49662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
49690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49691 routines.
49692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49693 file.
559398ab 49694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
49695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49696 file.
559398ab 49697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
49698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49699 file.
559398ab 49700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
49701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49702 file.
559398ab 49703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
49704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49705 file.
559398ab 49706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
49707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49708 file.
49709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49710 file.
49711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49712 file.
49713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49714 file.
49715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49716 New file.
49717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49718 file.
49719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49720 file.
559398ab 49721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
49722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49723 file.
559398ab 49724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
49725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49726 file.
559398ab 49727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
49728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49729 file.
559398ab 49730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
49731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49732 VIS3 routines.
559398ab
DM
49733
49734 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49735 New file.
49736
5a1c1e32
DM
49737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49738
eae47a36
DM
49739 * sysdeps/sparc/configure.in: New file.
49740 * sysdeps/sparc/configure: Generate.
49741 * configure.in (libc_cv_sparc_as_vis3): Substitute.
49742 * configure: Regenerate.
49743 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49744 * config.make.in (have-as-vis3): New.
49745 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49746 available use -Av9d instead of -Av9a.
49747 * sysdeps/sparc/sparc64/Makefile: Likewise.
49748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
49749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49750 New file.
49751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49752 file.
49753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49754 New file.
49755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49756 file.
eae47a36
DM
49757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49762
c0c83bc8
DM
49763 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49764 fzeros/fnegs to load 0x80000000 into a float register instead of
49765 using the stack.
7bd951ff
DM
49766 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49767
bd951ccb
JM
497682012-03-14 Joseph Myers <joseph@codesourcery.com>
49769
49770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49771 bits/syscall.h.
49772 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49773 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49774 ($(inst_includedir)/bits/syscall.h): Remove rule.
49775 ($(objpfx)bits/syscall.d): Include instead of
49776 $(objpfx)syscall-list.d.
49777 (generated): Change syscall-list.h and syscall-list.d to
49778 bits/syscall.h and bits/syscall.d.
49779
bb4e6db2
RM
497802012-03-14 Roland McGrath <roland@hack.frob.com>
49781
49782 [BZ #13846]
49783 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49784
aa4a2ae1
JM
497852012-03-14 Joseph Myers <joseph@codesourcery.com>
49786
e456826d
JM
49787 [BZ #13841]
49788 * math/s_csqrt.c: Include <float.h>.
49789 (__csqrt): Scale large or subnormal inputs.
49790 * math/s_csqrtf.c: Likewise.
49791 * math/s_csqrtl.c: Likewise.
49792 * math/libm-test.inc (csqrt_test): Add more tests.
49793 * sysdeps/i386/fpu/libm-test-ulps: Update.
49794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49795
aa4a2ae1
JM
49796 [BZ #13840]
49797 * math/libm-test.inc (hypot_test): Add more tests.
49798
7c10fd35
DM
497992012-03-13 David S. Miller <davem@davemloft.net>
49800
49801 [BZ #13840]
49802 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49803 double-precision for the calculation instead of scaling.
49804
f453b98b
JM
498052012-03-13 Joseph Myers <joseph@codesourcery.com>
49806
49807 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49808 manipulate bits before adding and subtracting TWO52[sx].
49809 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49810 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49811 Likewise.
49812 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49813
09a3453f
DM
498142012-03-13 David S. Miller <davem@davemloft.net>
49815
8e59da90
DM
49816 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49817 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49819 rtld-global-offsets.h
49820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49821
2a8ab7f2
DM
49822 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49823 large parameters.
49824
10f62770
DM
49825 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49826
5f0bdb18
DM
49827 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49828 'err' in the ifdef scope in which it is actually used.
49829
09a3453f
DM
49830 * nss/nss_db/db-init.c: Include string.h
49831
b4b2eb5e
DM
498322012-03-12 David S. Miller <davem@davemloft.net>
49833
98bb2f1c
DM
49834 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49835 masking out of the most significant byte of random value used.
49836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49837 Fix coding style in previous change.
49838
b4b2eb5e
DM
49839 * sysdeps/unix/sysv/linux/kernel-features.h
49840 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49841 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49842 expression.
49843 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49844 later.
49845
6e226b09
DM
498462012-03-11 David S. Miller <davem@davemloft.net>
49847
a1bcbd40
DM
49848 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49849 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49850 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49851 for 'resultvar' otherwise things get truncated on 64-bit.
49852
cb9d6174
DM
49853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49854 Fix masking out of the most significant byte of random value used.
49855
6e226b09
DM
49856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49857
058c132d
AS
498582012-03-10 Andreas Schwab <schwab@linux-m68k.org>
49859
49860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49861
2d2cd515
DM
498622012-03-09 David S. Miller <davem@davemloft.net>
49863
49864 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49865 variables with appropriate CPP guards.
57f41c40
AS
49866 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49867 from the frame pointer, not the stack pointer. Correct layout
49868 comments. Fix test on resulting framesize and the management of
49869 the outregs buffer for pltexit. Preserve floating point return
49870 values across _dl_call_pltexit call.
2d2cd515
DM
49871 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49872 framesize and the management of the outregs buffer for pltexit.
49873 Preserve floating point return values across _dl_call_pltexit
49874 call.
57f41c40
AS
49875 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49876 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49877 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
49878 (print_exit): Fix format string for return register value.
49879
9a07f9d0
JM
498802012-03-10 Joseph Myers <joseph@codesourcery.com>
49881
49882 * sunrpc/Makefile (others): Add rpcgen.
49883 ($(objpfx)rpcgen): Remove special build rule and dependency on
49884 libc.
49885 * sunrpc/rpcgen.c: New file.
49886
547b5e30
PE
498872012-03-09 Paul Eggert <eggert@cs.ucla.edu>
49888
c524201a
PE
49889 [BZ #13673]
49890 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49891 * stdio-common/bug-vfprintf-nargs.c: Likewise.
49892 * sysdeps/i386/crti.S: Likewise.
49893 * sysdeps/i386/crtn.S: Likewise.
49894 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49895 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49896 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49897 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49898 * sysdeps/sh/crti.S: Likewise.
49899 * sysdeps/sh/crtn.S: Likewise.
49900 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49901
7b6235f2
PE
49902 [BZ #13673]
49903 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49904 with URL.
49905 * locale/programs/locfile-kw.gperf: Likewise.
49906 * locale/programs/charmap-kw.h: Regenerated.
49907 * locale/programs/locfile-kw.h: Likewise.
49908
547b5e30
PE
49909 [BZ #13673]
49910 * intl/plural.y: Replace FSF snail mail address with URL.
49911 * intl/plural.c: Regenerated.
49912
5f0a5dae
RH
499132012-03-09 Richard Henderson <rth@twiddle.net>
49914
49915 * include/math_private.h: Remove file.
49916 * math/math_private.h: Move file ...
49917 * sysdeps/generic/math_private.h: ... here.
49918
b8c03620
RH
49919 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49920 * sysdeps/powerpc/fpu/math_private.h: Likewise.
49921 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49922
4e234f5d 49923 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
49924 and <math_private.h>.
49925 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49926 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49927 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49928 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49929 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49930 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49931 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49933 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49934 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49936 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49937 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49939 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49940 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49941 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49942 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49943 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49944 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49946 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49947 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49949 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49950 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49951 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49952 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49955 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49957 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49958 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49959 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49960 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49961 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49962 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49963 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49964 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49965 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49966 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49968 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49969 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49970 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49971 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49972 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49973 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49974 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49975 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49976 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49977 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49978 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49979 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49980 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49981 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49982 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49983 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49984 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49985 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49992 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49994 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49998 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49999 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50000 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50004 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50005 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50006 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50008 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50009 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50012 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50013 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50014 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50015 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50016 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50017 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50018 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50019 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50020 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50021 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50022 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50023 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50024 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50025 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50026 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50027 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50028 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50029 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50030 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50031 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50032 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50033 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50034 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50035 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50036 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50037 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50038 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50039 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50040 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50041 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50042 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50043 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50044 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50045 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50046 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50047 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50048 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50049 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50050 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50051 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50052 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50053 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50054 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50055 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50056 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50057 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50058 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50059 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50060 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50061 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50062 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50063 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50064 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50065 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50066 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50067 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50068 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50069 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50070 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50071 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50072 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50073 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50074 * sysdeps/ieee754/k_standard.c: Likewise.
50075 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50076 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50077 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50078 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50079 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50080 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50081 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50082 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50083 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50084 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50086 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50087 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50088 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50089 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50090 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50091 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50092 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50093 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50094 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50095 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50096 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50097 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50098 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50099 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50100 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50101 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50103 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50104 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50105 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50106 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50107 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50108 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50109 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50110 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50111 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50112 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50113 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50114 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50115 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50116 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50117 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50118 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50119 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50120 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50121 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50122 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50123 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50124 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50125 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50126 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50127 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50128 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50129 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50130 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50131 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50132 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50133 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50134 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50135 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50136 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50137 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50145 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50147 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50149 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50151 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50153 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50154 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50155 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50156 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50159 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50160 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50161 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50162 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50163 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50165 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50166 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50167 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50168 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50169 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50170 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50171 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50172 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50173 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50174 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50175 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50176 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50179 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50182 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50183 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50184 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50185 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50186 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50187 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50188 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50189 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50190 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50191 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50192 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50193 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50194 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50195 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50196 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50197 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50198 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50199 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50200 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50201 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50202 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50203 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50205 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50206 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50207 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50208 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50209 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50210 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50211 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50212 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50213 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50214 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50215 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50216 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50217 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50218 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50219 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50220 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50221 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50222 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50223 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50224 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50225 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50226 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50227 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50228 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50229 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50230 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50231 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50232 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50233 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50234 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50235 * sysdeps/ieee754/s_lib_version.c: Likewise.
50236 * sysdeps/ieee754/s_matherr.c: Likewise.
50237 * sysdeps/ieee754/s_signgam.c: Likewise.
50238 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50239 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50240 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50241 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50242 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50243 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50244 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50245 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50246 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50247 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50248 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50249 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50250 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50251 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50252 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50253 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50254 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50255 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50256 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 50259
1991fa03
JM
502602012-03-09 Joseph Myers <joseph@codesourcery.com>
50261
50262 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50263 * sunrpc/rpc_main.c: Likewise.
50264 * sunrpc/rpc_svcout.c: Likewise.
50265
60d6f5a6
DM
502662012-03-09 David S. Miller <davem@davemloft.net>
50267
50268 * include/math_private.h: New file.
50269
4962050e
JM
502702012-03-09 Joseph Myers <joseph@codesourcery.com>
50271
02a6f887
JM
50272 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50273 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50274 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50275 from <bits/socket_type.h>.
50276 (enum __socket_type): Don't define here.
50277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50279 bits/socket_type.h.
50280
c6e013c1
JM
50281 [BZ #13566]
50282 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50283 checking __USE_GNU.
50284
4962050e
JM
50285 * Makerules ($(inst_includedir)/%.h): New rule.
50286 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50287 (install-others): Remove variable setting.
50288 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50289
38842f45
RH
502902012-03-08 Richard Henderson <rth@twiddle.net>
50291
67bb6da6
RH
50292 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50293 from macro to inline function; merge with the
50294 !__LIBC_INTERNAL_MATH_INLINES version.
50295 (__ieee754_sqrtf): Likewise.
50296
15194b4b
RH
50297 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50298 to inline function.
50299 (__rintf, __floor, __floorf): Likewise.
50300
64e21ede
RH
50301 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50302 macro to inline function.
50303 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50304
38842f45
RH
50305 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50306 not <math/math_private.h>.
50307
c64bf5fe
DM
503082012-03-08 David S. Miller <davem@davemloft.net>
50309
50310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50311 copyright year.
50312 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50313
82d86f28
TS
503142012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50315
50316 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50317 normalization.
50318 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50319 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50320
aea5d727
UD
503212012-03-08 Ulrich Drepper <drepper@gmail.com>
50322
50323 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50324 be defined individually, they must be defined as a block. Define
50325 S for printing a string instead of hidint the different by using a
50326 macro for adding the 'l'.
50327 * stdio-common/tst-fphex-wide.c: Adjust.
50328
70bca0a3
MP
503292012-03-07 Marek Polacek <polacek@redhat.com>
50330
50331 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50332
65b81130
MP
503332012-03-08 Marek Polacek <polacek@redhat.com>
50334
50335 [BZ #13806]
50336 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50337 * stdio-common/tst-fphex.c: Define a few macros to make the
50338 test reusable. Use them.
50339 * stdio-common/tst-fphex-wide.c: New file.
50340
07037eeb
JM
503412012-03-08 Joseph Myers <joseph@codesourcery.com>
50342
a7a93d50
JM
50343 [BZ #6911]
50344 * manual/macros.texi (gnusystems): New macro.
50345 (nongnusystems): Likewise.
50346 (gnulinuxhurdsystems): Likewise.
50347 (gnuhurdsystems): Likewise..
50348 (gnulinuxsystems): Likewise.
50349 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50350 variants of the GNU system, not "GNU system".
50351 * manual/conf.texi: Likewise.
50352 * manual/errno.texi: Likewise. Update example of errno macro
50353 expansion.
50354 * manual/filesys.texi: Likewise.
50355 (getumask): Document as specific to GNU/Hurd.
50356 * manual/install.texi: Likewise. Reword some references to
50357 GNU/Linux.
50358 * manual/intro.texi: Likewise.
50359 * manual/io.texi: Likewise.
50360 (File Name Portability): Detail which constraints are inapplicable
50361 to all GNU systems and which are only inapplicable to GNU/Hurd.
50362 * manual/job.texi: Likewise.
50363 * manual/llio.texi: Likewise.
50364 (O_NOCTTY): Document as present on GNU/Linux.
50365 * manual/maint.texi: Likewise.
50366 * manual/memory.texi: Likewise.
50367 * manual/pattern.texi: Likewise.
50368 * manual/pipe.texi: Likewise.
50369 * manual/process.texi: Likewise.
50370 * manual/resource.texi: Likewise.
50371 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50372 child on GNU/Hurd.
50373 * manual/setjmp.texi: Likewise.
50374 * manual/signal.texi: Likewise.
50375 * manual/startup.texi: Likewise.
50376 * manual/stdio.texi: Likewise.
50377 * manual/terminal.texi: Likewise.
50378 (ONLCR): Document as POSIX.
50379 (OXTABS): Document availability on GNU/Linux as XTABS.
50380 (ONOEOT): Document availability separately from other bits.
50381 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50382 * manual/time.texi: Likewise.
50383 * manual/users.texi: Likewise.
50384 * INSTALL: Regenerated.
50385 * sysdeps/gnu/errlist.c: Regenerated.
50386
07037eeb
JM
50387 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50388 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50389 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50390 puts.
50391 * configure: Regenerated.
50392
d1d3431a
JM
503932012-03-07 Joseph Myers <joseph@codesourcery.com>
50394
af6a1e37
JM
50395 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50396 default includes instead of AC_HEADER_CHECK.
50397 * sysdeps/i386/configure: Regenerated.
50398
d1d3431a
JM
50399 [BZ #10716]
50400 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50401 * math/s_cacoshf.c (__cacoshf): Likewise.
50402 * math/s_cacoshl.c (__cacoshl): Likewise.
50403 * math/s_casinh.c (__casinh): Set signs of result from argument.
50404 * math/s_casinhf.c (__casinhf): Likewise.
50405 * math/s_casinhl.c (__casinhl): Likewise.
50406 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50407 (casinh_test): Add more tests.
50408 * sysdeps/i386/fpu/libm-test-ulps: Update.
50409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50410
482ff4da
UD
504112012-03-07 Ulrich Drepper <drepper@gmail.com>
50412
872fda05
UD
50413 * po/zh_TW.po: Update from translation team.
50414
a4300c7a
UD
50415 * login/Makefile (distribute): Remove variable.
50416 * catgets/Makefile: Likewise.
50417 * mach/Makefile: Likewise.
50418 * malloc/Makefile: Likewise.
50419 * misc/Makefile: Likewise.
50420 * iconv/Makefile: Likewise.
50421 * nscd/Makefile: Likewise.
50422 * hurd/Makefile: Likewise.
50423 * manual/Makefile: Likewise.
50424 * locale/Makefile: Likewise.
50425 * intl/Makefile: Likewise.
50426 * conform/Makefile: Likewise.
50427 * nss/Makefile: Likewise.
50428 * time/Makefile: Likewise.
50429 * soft-fp/Makefile: Likewise.
50430 * dirent/Makefile: Likewise.
50431 * gmon/Makefile: Likewise.
50432 * po/Makefile: Likewise.
50433 * rt/Makefile: Likewise.
50434 * socket/Makefile: Likewise.
50435 * math/Makefile: Likewise.
50436 * signal/Makefile: Likewise.
50437 * debug/Makefile: Likewise.
50438 * elf/Makefile: Likewise.
50439 * timezone/Makefile: Likewise.
50440 * stdlib/Makefile: Likewise.
50441 * iconvdata/Makefile: Likewise.
50442 * sunrpc/Makefile: Likewise.
50443 * io/Makefile: Likewise.
50444 * argp/Makefile: Likewise.
50445 * inet/Makefile: Likewise.
50446 * hesiod/Makefile: Likewise.
50447 * grp/Makefile: Likewise.
50448 * csu/Makefile: Likewise.
50449 * wctype/Makefile: Likewise.
50450 * crypt/Makefile: Likewise.
50451 * libio/Makefile: Likewise.
50452 * string/Makefile: Likewise.
50453 * nis/Makefile: Likewise.
50454 * resolv/Makefile: Likewise.
50455 * stdio-common/Makefile: Likewise.
50456 * wcsmbs/Makefile: Likewise.
50457 * dlfcn/Makefile: Likewise.
50458 * posix/Makefile: Likewise.
50459
3b7c4e74 50460 [BZ #6959]
482ff4da
UD
50461 * timezone/Makefile: Don't install timezone files, just the programs
50462 and scripts.
50463
f72ed77d
UD
504642012-03-06 Ulrich Drepper <drepper@gmail.com>
50465
a000466f
UD
50466 * nss/databases.def: Add missing gshadow entry.
50467
f72ed77d
UD
50468 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
50469
a53b7a4e
MP
504702012-03-06 Marek Polacek <polacek@redhat.com>
50471
50472 [BZ #13726]
50473 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50474 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50475 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50476 * stdio-common/tst-long-dbl-fphex.c: New file.
50477
e9258400
DM
504782012-03-06 David S. Miller <davem@davemloft.net>
50479
50480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50481 (set_obp_int): New function.
50482 (get_obp_int): New function.
50483 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
50484 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50485 Avoid unused variable warnings on 'val' and use builtin_expect.
50486 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50487 __builtin_expect.
e9258400
DM
50488 (INLINE_CLONE_SYSCALL): Likewise.
50489
3bd2c723
DM
504902012-03-05 David S. Miller <davem@davemloft.net>
50491
50492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50493
bbb78d03
AS
504942012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50495
884c5db4
AS
50496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50497
bbb78d03
AS
50498 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50499 only for |x| >= 40.
50500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50501
1c9f702a 505022012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
50503
50504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50505 Replace gettimeofday with __vdso_gettimeofday.
50506
7be16f82
RM
50507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50508 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50509 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
50510
50511 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50512 time with __vdso_time.
50513
ed58a00f
JM
505142012-03-05 Joseph Myers <joseph@codesourcery.com>
50515
50516 * manual/lang.texi (size_t): Note types to which size_t may be
50517 equivalent with the GNU C Library, but do not describe when
50518 differences between them are significant.
50519
30ee4ced
AJ
505202012-03-05 Andreas Jaeger <aj@suse.de>
50521
50522 * sysdeps/i386/fpu/libm-test-ulps: Update.
50523
b7cd39e8
JM
505242012-03-05 Joseph Myers <joseph@codesourcery.com>
50525
50526 [BZ #3976]
50527 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50528 (__ieee754_pow): Save and restore rounding mode and use
50529 round-to-nearest for main computations.
50530 * math/libm-test.inc (pow_test_tonearest): New function.
50531 (pow_test_towardzero): Likewise.
50532 (pow_test_downward): Likewise.
50533 (pow_test_upward): Likewise.
50534 (main): Call the new functions.
50535 * sysdeps/i386/fpu/libm-test-ulps: Update.
50536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
50537
50538 [BZ #3976]
50539 * math/libm-test.inc (cosh_test_tonearest): New function.
50540 (cosh_test_towardzero): Likewise.
50541 (cosh_test_downward): Likewise.
50542 (cosh_test_upward): Likewise.
50543 (sinh_test_tonearest): Likewise.
50544 (sinh_test_towardzero): Likewise.
50545 (sinh_test_downward): Likewise.
50546 (sinh_test_upward): Likewise.
50547 (main): Call the new functions.
50548 * sysdeps/i386/fpu/libm-test-ulps: Update.
50549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50550
6c6a98c9
TV
505512012-03-05 Tom de Vries <tom@codesourcery.com>
50552
50553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50554 default stack guard is set in last bytes.
50555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50556
21bb2d2e 505572012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 50558
21bb2d2e 50559 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 50560
21bb2d2e
AJ
50561 [BZ #13656]
50562 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50563 possibly allocate from heap instead of stack.
50564 * stdio-common/bug-vfprintf-nargs.c: New file.
50565 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 50566
c6922934
AS
505672012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50568
50569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50570
bc957d53
MP
505712012-03-03 Marek Polacek <polacek@redhat.com>
50572
50573 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50574 * math/math_private.h: Likewise.
50575 * stdlib/tst-strtod.c: Likewise.
50576 * sysdeps/i386/i486/bits/atomic.h: Likewise.
50577 * sysdeps/x86_64/bits/atomic.h: Likewise.
50578
6358490d
DM
505792012-03-02 David S. Miller <davem@davemloft.net>
50580
50581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50585 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50586 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50587 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50588 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50589
01ae168d
RM
505902012-03-02 Roland McGrath <roland@hack.frob.com>
50591
d9a17c07
RM
50592 [BZ #13792]
50593 * manual/examples/README: New file, says the example source files
50594 can be used under GPL>=2.
50595 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50596 line containing just "*/".
50597 * manual/examples/add.c: Add copyright header (GPL>=2).
50598 * manual/examples/argp-ex1.c: Likewise.
50599 * manual/examples/argp-ex2.c: Likewise.
50600 * manual/examples/argp-ex3.c: Likewise.
50601 * manual/examples/argp-ex4.c: Likewise.
50602 * manual/examples/atexit.c: Likewise.
50603 * manual/examples/db.c: Likewise.
50604 * manual/examples/dir.c: Likewise.
50605 * manual/examples/dir2.c: Likewise.
50606 * manual/examples/execinfo.c: Likewise.
50607 * manual/examples/filecli.c: Likewise.
50608 * manual/examples/filesrv.c: Likewise.
50609 * manual/examples/fmtmsgexpl.c: Likewise.
50610 * manual/examples/genpass.c: Likewise.
50611 * manual/examples/inetcli.c: Likewise.
50612 * manual/examples/inetsrv.c: Likewise.
50613 * manual/examples/isockad.c: Likewise.
50614 * manual/examples/longopt.c: Likewise.
50615 * manual/examples/memopen.c: Likewise.
50616 * manual/examples/memstrm.c: Likewise.
50617 * manual/examples/mkfsock.c: Likewise.
50618 * manual/examples/mkisock.c: Likewise.
50619 * manual/examples/mygetpass.c: Likewise.
50620 * manual/examples/pipe.c: Likewise.
50621 * manual/examples/popen.c: Likewise.
50622 * manual/examples/rprintf.c: Likewise.
50623 * manual/examples/search.c: Likewise.
50624 * manual/examples/select.c: Likewise.
50625 * manual/examples/setjmp.c: Likewise.
50626 * manual/examples/sigh1.c: Likewise.
50627 * manual/examples/sigusr.c: Likewise.
50628 * manual/examples/stpcpy.c: Likewise.
50629 * manual/examples/strdupa.c: Likewise.
50630 * manual/examples/strftim.c: Likewise.
50631 * manual/examples/strncat.c: Likewise.
50632 * manual/examples/subopt.c: Likewise.
50633 * manual/examples/swapcontext.c: Likewise.
50634 * manual/examples/termios.c: Likewise.
50635 * manual/examples/testopt.c: Likewise.
50636 * manual/examples/testpass.c: Likewise.
50637 * manual/examples/timeval_subtract.c: Likewise.
50638
01ae168d
RM
50639 [BZ #13792]
50640 * manual/time.texi (Elapsed Time): Move timeval_subtract example
50641 function to ...
50642 * manual/timeval_subtract.c.texi: ... here, new file.
50643
49efa33d
DM
506442012-03-02 David S. Miller <davem@davemloft.net>
50645
50646 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50647
28afd92d
JM
506482012-03-02 Joseph Myers <joseph@codesourcery.com>
50649
804360ed
JM
50650 [BZ #3976]
50651 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50652 (__sin): Save and restore rounding mode and use round-to-nearest
50653 for all computations.
50654 (__cos): Save and restore rounding mode and use round-to-nearest
50655 for all computations.
50656 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50657 <fenv.h>.
50658 (tan): Save and restore rounding mode and use round-to-nearest for
50659 all computations.
50660 * math/libm-test.inc (cos_test_tonearest): New function.
50661 (cos_test_towardzero): Likewise.
50662 (cos_test_downward): Likewise.
50663 (cos_test_upward): Likewise.
50664 (sin_test_tonearest): Likewise.
50665 (sin_test_towardzero): Likewise.
50666 (sin_test_downward): Likewise.
50667 (sin_test_upward): Likewise.
50668 (tan_test_tonearest): Likewise.
50669 (tan_test_towardzero): Likewise.
50670 (tan_test_downward): Likewise.
50671 (tan_test_upward): Likewise.
50672 (main): Call the new functions.
50673 * sysdeps/i386/fpu/libm-test-ulps: Update.
50674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50675
a6d06d7b
JM
50676 [BZ #10135]
50677 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50678 small n, then large n, before computing and testing k+n.
50679 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50681 Likewise.
50682 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50683 Likewise.
50684 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50685 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50686 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50687 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50688 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50689 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50690 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50691 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50692 * math/libm-test.inc (scalbn_test): Add more tests.
50693 (scalbln_test): Likewise.
50694
07e12bb3
JM
50695 * manual/filesys.texi (mode_t): Describe constraints on size and
50696 signedness, not exact equivalence to a particular type.
50697 (ino_t): Likewise.
50698 (ino64_t): Likewise.
50699 (dev_t): Likewise.
50700 (nlink_t): Likewise.
50701 (blkcnt_t): Likewise.
50702 (blkcnt64_t): Likewise.
50703 * manual/llio.texi (off_t): Likewise.
50704
28afd92d
JM
50705 [BZ #3976]
50706 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50707 (__ieee754_exp): Save and restore rounding mode and use
50708 round-to-nearest for all computations.
50709 * math/libm-test.inc (exp_test_tonearest): New function.
50710 (exp_test_towardzero): Likewise.
50711 (exp_test_downward): Likewise.
50712 (exp_test_upward): Likewise.
50713 (main): Call the new functions.
50714 * sysdeps/i386/fpu/libm-test-ulps: Update.
50715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50716
b1eeb65d
CD
507172012-03-01 Chris Demetriou <cgd@google.com>
50718
50719 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50720 have predictable order.
50721
53362a4b
DM
507222012-03-01 David S. Miller <davem@davemloft.net>
50723
3c969083
DM
50724 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50725
759707de
DM
50726 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50727 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50728 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50729 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50730
dfdb8ff2
DM
50731 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50732 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50733 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50735 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50736 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50737 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50738 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50739 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50740
ead89f96
DM
50741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50742
7f66bd07
DM
50743 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50744 * sysdeps/sparc/fpu/libm-test-ulps: to here.
50745 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50746
53362a4b
DM
50747 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50748 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50749 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50750 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50751 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50752 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50754 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50755 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50756 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50757 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50758 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50759 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50760 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50761 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50763 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50764 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50765 * sysdeps/sparc/elf/configure: Regenerated.
50766
7b1902cb
JM
507672012-03-01 Joseph Myers <joseph@codesourcery.com>
50768
bec039bc
JM
50769 * configure.in (AS, LD): Require binutils 2.20 or later.
50770 * configure: Regenerated.
50771 * manual/install.texi (Tools for Compilation): Give binutils 2.20
50772 as required minimum version.
50773 * INSTALL: Regenerated.
50774
7b1902cb
JM
50775 [BZ #2541]
50776 [BZ #4108]
50777 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50778 before squaring exponent.
50779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50780 bottom long double and 27 bits of top long double before squaring
50781 exponent.
50782 * math/libm-test.inc (erfc_test): Add more tests.
50783 * sysdeps/i386/fpu/libm-test-ulps: Update.
50784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50786
f775c276
KT
507872012-03-01 Kai Tietz <ktietz@redhat.com>
50788
50789 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50790 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50791 containing bit-fields.
50792 * soft-fp/extended.h (_FP_UNION_E): Likewise.
50793 * soft-fp/single.h (_FP_UNION_S): Likewise.
50794 * soft-fp/double.h (_FP_UNION_D): Likewise.
50795
5b8a4d4a
JM
507962012-02-29 Joseph Myers <joseph@codesourcery.com>
50797
0bab47b6
JM
50798 [BZ #13786]
50799 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50800 not include ../strcmp.S.
50801 [USE_AS_STRNCASECMP_L]: Likewise.
50802 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50803 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50804 * sysdeps/i386/i686/multiarch/strncase_l-c.c
50805 (__strncasecmp_l_ia32): Define as alias to
50806 __strncasecmp_l_nonascii.
50807
0fcad3e2
JM
50808 [BZ #5794]
50809 * math/libm-test.inc (expm1_test): Add test for bug 5794.
50810 * sysdeps/i386/fpu/libm-test-ulps: Update.
50811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50812
5b8a4d4a
JM
50813 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50815
8fdceb2e
JL
508162012-02-29 Jeff Law <law@redhat.com>
50817
50818 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50819 out of bounds read.
50820
1f393a11
MP
508212012-02-29 Marek Polacek <polacek@redhat.com>
50822
50823 [BZ #13706]
50824 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50825 * elf/Makefile: Add rules to run tst-unused-dep.out.
50826
8847f037
DM
508272012-02-28 David S. Miller <davem@davemloft.net>
50828
50829 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50830 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50831 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50833 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50834 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50835
169d7f11
JM
508362012-02-29 Joseph Myers <joseph@codesourcery.com>
50837
50838 * math/libm-test.inc (llround_test): Move one test from
50839 lround_test. Use TEST_f_L in moved test.
50840 (lround_test): Move misplaced test to llround_test. Add testcase
50841 from bug 2561.
50842
39adf059
UD
508432012-02-28 Ulrich Drepper <drepper@gmail.com>
50844
50845 * sysdeps/x86_64/fpu/e_expf.S: New file.
50846 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50847
71b5d1c5
SB
508482012-02-28 Stanislav Brabec <sbrabec@suse.cz>
50849
50850 [BZ #13637]
50851 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50852 of remain_len that may cause incomplete multi-byte character and
50853 false match.
50854 * posix/bug-regex33.c: New file.
50855 * posix/Makefile (tests): Add bug-regex33.
50856
1f77f049
JM
508572012-02-28 Joseph Myers <joseph@codesourcery.com>
50858
50859 * manual/macros.texi: New file.
50860 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50861 * manual/libc.texinfo: Include macros.texi.
50862 * manual/creatute.texi: Likewise.
50863 * manual/install.texi: Likewise.
50864 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50865 @glibcadj{} in references to the GNU C Library.
50866 * manual/charset.texi: Likewise.
50867 * manual/conf.texi: Likewise.
50868 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
50869 when not using those macros.
50870 * manual/creature.texi: Likewise.
50871 * manual/crypt.texi: Likewise.
50872 * manual/errno.texi: Likewise.
50873 * manual/filesys.texi: Likewise.
50874 * manual/header.texi: Likewise.
50875 * manual/install.texi: Likewise.
50876 * manual/intro.texi: Likewise.
50877 * manual/io.texi: Likewise.
50878 * manual/job.texi: Likewise.
50879 * manual/lang.texi: Likewise.
50880 * manual/libc.texiinfo: Likewise.
50881 * manual/llio.texi: Likewise.
50882 * manual/locale.texi: Likewise.
50883 * manual/maint.texi: Likewise.
50884 * manual/math.texi: Likewise.
50885 * manual/memory.texi: Likewise.
50886 * manual/message.texi: Likewise.
50887 * manual/nss.texi: Likewise.
50888 * manual/pattern.texi: Likewise.
50889 * manual/process.texi: Likewise.
50890 * manual/resource.texi: Likewise.
50891 * manual/search.texi: Likewise.
50892 * manual/setjmp.texi: Likewise.
50893 * manual/signal.texi: Likewise.
50894 * manual/socket.texi: Likewise.
50895 * manual/startup.texi: Likewise.
50896 * manual/stdio.texi: Likewise.
50897 * manual/string.texi: Likewise.
50898 * manual/sysinfo.texi: Likewise.
50899 * manual/syslog.texi: Likewise.
50900 * manual/terminal.texi: Likewise.
50901 * manual/time.texi: Likewise.
50902 * manual/users.texi: Likewise.
50903 * INSTALL: Regenerated.
50904 * NOTES: Regenerated.
d40c5d54 50905 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 50906
450bf206
AS
509072012-02-28 Andreas Schwab <schwab@linux-m68k.org>
50908
50909 * include/dirent.h: Include <dirstream.h> before
50910 <dirent/dirent.h>.
50911
741a235b
DM
509122012-02-28 David S. Miller <davem@davemloft.net>
50913
50914 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50915 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50916 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50917 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50918
d6b5aa58
DM
509192012-02-27 David S. Miller <davem@davemloft.net>
50920
1aff59a3
DM
50921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50923 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50924 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50925
d6b5aa58
DM
50926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50927 frame pointer instead of stack pointer relative arg slot.
50928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50929 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50930 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50931
433f48bf
CD
509322012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
50933
50934 [BZ #3992]
50935 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50936
d674b76d
DM
509372012-02-27 David S. Miller <davem@davemloft.net>
50938
50939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50943 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50944 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50945 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50946 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50947
0e7727f7
JM
509482012-02-27 Joseph Myers <joseph@codesourcery.com>
50949
50950 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50951 later. Allow versions 5-9.
43be4ca2 50952 * configure: Regenerated.
0e7727f7
JM
50953 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50954 required minimum version and 4.6 as recommended version. Do not
50955 mention bugs in GCC 2.7 and 2.8.
43be4ca2 50956 * INSTALL: Regenerated.
0e7727f7 50957
a78bc654
DM
509582012-02-27 David S. Miller <davem@davemloft.net>
50959
428d5830
DM
50960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50964 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50965 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50966 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50967 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50968
a78bc654
DM
50969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50970 manipulate bits before adding and subtracting TWO112[sx].
50971 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50972
4579f81c
RM
509732012-02-27 Roland McGrath <roland@hack.frob.com>
50974
36c8acb4
RM
50975 [BZ #13775]
50976 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50977 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50978 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50979 being in POSIX, because they are in 1003.1-2008.
50980
84ad622b
RM
50981 * rt/tst-aio.c: Include <fcntl.h>.
50982 * rt/tst-aio7.c: Likewise.
50983 * rt/tst-aio64.c: Likewise.
50984
4579f81c
RM
50985 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50986
abd923db
JM
509872012-02-27 Joseph Myers <joseph@codesourcery.com>
50988
50989 * manual/install.texi (--with-headers): Describe headers as
50990 interface headers, not private headers.
50991 (Specific advice for GNU/Linux systems): Describe use of headers
50992 from "make headers_install", not private headers from older
50993 kernels.
43be4ca2 50994 * INSTALL: Regenerated.
abd923db
JM
50995 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50996 Change to 2.6.19.
50997 * sysdeps/unix/sysv/linux/configure: Regenerated.
50998
6664049b
JM
50999 * manual/llio.texi (fclean): Remove documentation.
51000
bb8b6697
JM
51001 * manual/Makefile (libc-texi-generated): New variable. Include
51002 version.texi.
51003 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51004 $(libc-texi-generated), not duplicated list of files.
51005 (version.texi, stamp-version): New rules.
51006 (realclean): Remove $(libc-texi-generated), not individual files
51007 from that list. Do not remove dir-add.texinfo.
51008 * manual/libc.texinfo: Comment out uses of edition numbers and
51009 references to printed manual. Remove last-updated dates.
51010 (EDITION): Comment out.
51011 (ISBN): Likewise.
51012 (VERSION, UPDATED): Remove.
51013 (version.texi): Include.
51014
12e5c3b9
AS
510152012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51016
51017 * sysdeps/posix/spawni.c: Include <signal.h>.
51018 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51019 * sysdeps/pthread/aio_fsync.c: Likewise.
51020
4efeffc1 510212012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 51022
ba63ba08
UD
51023 * conform/Makefile (tests): Run only when not cross-compiling and
51024 when fast-check is not defined.
51025
d94a4670
UD
51026 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51027 * conform/data/limits.h-data: Fixes for POSIX2008.
51028 * conform/run-conformtest.sh: Run all tests.
51029 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51030 headers.
51031 * include/bits/dlfcn.h: Likewise.
51032 * include/langinfo.h: Likewise.
51033 * include/monetary.h: Likewise.
51034 * include/sys/poll.h: Likewise.
51035
51036 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51037 for __USE_GNU.
51038 * posix/spawn.h: Define __need_sigset_t.
51039 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51040 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51041 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51042 to get sigevent_t only.
51043 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51044 only for __USE_GNU.
51045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51046 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51047 process_vm_writev only for __USE_GNU.
51048 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
51049
51050 * conform/Makefile: For now ignore errors from run-conformtest.
51051 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51052 POSIX to avoid namespace pollution. Don't prepend headers.
51053 * conform/data/aio.h-data: Fixes for POSIX testing.
51054 * conform/data/fcntl.h-data: Likewise.
51055 * conform/data/glob.h-data: Likewise.
51056 * conform/data/grp.h-data: Likewise.
51057 * conform/data/pthread.h-data: Likewise.
51058 * conform/data/pwd.h-data: Likewise.
51059 * conform/data/signal.h-data: Likewise.
51060 * conform/data/spawn.h-data: Likewise.
51061 * conform/data/stdio.h-data: Likewise.
51062 * conform/data/stdlib.h-data: Likewise.
51063 * conform/data/stropts.h-data: Likewise.
51064 * conform/data/sys/mman.h-data: Likewise.
51065 * conform/data/sys/stat.h-data: Likewise.
51066 * conform/data/sys/types.h-data: Likewise.
51067 * conform/data/sys/wait.h-data: Likewise.
51068 * conform/data/time.h-data: Likewise.
51069 * conform/data/unistd.h-data: Likewise.
51070 * conform/data/utime.h-data: Likewise.
51071
51072 * io/sys/stat.h: fchmod was always in POSIX.
51073 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51074 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51075 * rt/aio.h: Define __need_timespec before including <time.h>.
51076 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51077 struct. Add forward declaration of pthread_attr_t and use it in
51078 sigevent.
51079 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51081 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51082 always remove CLK_TCK definition.
51083
c20105c3
AS
510842012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51085
51086 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51087
7a270350
UD
510882012-02-25 Ulrich Drepper <drepper@gmail.com>
51089
31341567
UD
51090 * conform/run-conformtest.sh: New file.
51091 * conform/Makefile: Run run-conformtest for tests.
51092 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51093 support.
51094
51095 * conform/data/uchar.h-data: New file.
51096 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51097 * conform/data/arpa/inet.h-data: Likewise.
51098 * conform/data/assert.h-data: Likewise.
51099 * conform/data/complex.h-data: Likewise.
51100 * conform/data/cpio.h-data: Likewise.
51101 * conform/data/ctype.h-data: Likewise.
51102 * conform/data/dirent.h-data: Likewise.
51103 * conform/data/dlfcn.h-data: Likewise.
51104 * conform/data/errno.h-data: Likewise.
51105 * conform/data/fcntl.h-data: Likewise.
51106 * conform/data/float.h-data: Likewise.
51107 * conform/data/fmtmsg.h-data: Likewise.
51108 * conform/data/fnmatch.h-data: Likewise.
51109 * conform/data/ftw.h-data: Likewise.
51110 * conform/data/glob.h-data: Likewise.
51111 * conform/data/grp.h-data: Likewise.
51112 * conform/data/iconv.h-data: Likewise.
51113 * conform/data/inttypes.h-data: Likewise.
51114 * conform/data/langinfo.h-data: Likewise.
51115 * conform/data/libgen.h-data: Likewise.
51116 * conform/data/limits.h-data: Likewise.
51117 * conform/data/locale.h-data: Likewise.
51118 * conform/data/math.h-data: Likewise.
51119 * conform/data/monetary.h-data: Likewise.
51120 * conform/data/mqueue.h-data: Likewise.
51121 * conform/data/ndbm.h-data: Likewise.
51122 * conform/data/net/if.h-data: Likewise.
51123 * conform/data/netdb.h-data: Likewise.
51124 * conform/data/netinet/in.h-data: Likewise.
51125 * conform/data/nl_types.h-data: Likewise.
51126 * conform/data/poll.h-data: Likewise.
51127 * conform/data/pthread.h-data: Likewise.
51128 * conform/data/pwd.h-data: Likewise.
51129 * conform/data/regex.h-data: Likewise.
51130 * conform/data/sched.h-data: Likewise.
51131 * conform/data/search.h-data: Likewise.
51132 * conform/data/semaphore.h-data: Likewise.
51133 * conform/data/setjmp.h-data: Likewise.
51134 * conform/data/signal.h-data: Likewise.
51135 * conform/data/spawn.h-data: Likewise.
51136 * conform/data/stdarg.h-data: Likewise.
51137 * conform/data/stdio.h-data: Likewise.
51138 * conform/data/stdlib.h-data: Likewise.
51139 * conform/data/string.h-data: Likewise.
51140 * conform/data/strings.h-data: Likewise.
51141 * conform/data/stropts.h-data: Likewise.
51142 * conform/data/sys/ipc.h-data: Likewise.
51143 * conform/data/sys/mman.h-data: Likewise.
51144 * conform/data/sys/msg.h-data: Likewise.
51145 * conform/data/sys/resource.h-data: Likewise.
51146 * conform/data/sys/select.h-data: Likewise.
51147 * conform/data/sys/sem.h-data: Likewise.
51148 * conform/data/sys/shm.h-data: Likewise.
51149 * conform/data/sys/socket.h-data: Likewise.
51150 * conform/data/sys/stat.h-data: Likewise.
51151 * conform/data/sys/statvfs.h-data: Likewise.
51152 * conform/data/sys/time.h-data: Likewise.
51153 * conform/data/sys/timeb.h-data: Likewise.
51154 * conform/data/sys/times.h-data: Likewise.
51155 * conform/data/sys/types.h-data: Likewise.
51156 * conform/data/sys/uio.h-data: Likewise.
51157 * conform/data/sys/un.h-data: Likewise.
51158 * conform/data/sys/utsname.h-data: Likewise.
51159 * conform/data/sys/wait.h-data: Likewise.
51160 * conform/data/syslog.h-data: Likewise.
51161 * conform/data/tar.h-data: Likewise.
51162 * conform/data/termios.h-data: Likewise.
51163 * conform/data/utime.h-data: Likewise.
51164 * conform/data/utmpx.h-data: Likewise.
51165 * conform/data/varargs.h-data: Likewise.
51166 * conform/data/wchar.h-data: Likewise.
51167 * conform/data/wctype.h-data: Likewise.
51168 * conform/data/wordexp.h-data: Likewise.
51169
51170 * include/stropts.h: New file.
51171 * include/uchar.h: New file.
51172 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51173 * include/assert.h: Likewise.
51174 * include/ctype.h: Likewise.
51175 * include/dirent.h: Likewise.
51176 * include/dlfcn.h: Likewise.
51177 * include/fcntl.h: Likewise.
51178 * include/fnmatch.h: Likewise.
51179 * include/glob.h: Likewise.
51180 * include/grp.h: Likewise.
51181 * include/libio.h: Likewise.
51182 * include/locale.h: Likewise.
51183 * include/math.h: Likewise.
51184 * include/net/if.h: Likewise.
51185 * include/netdb.h: Likewise.
51186 * include/netinet/in.h: Likewise.
51187 * include/pthread.h: Likewise.
51188 * include/pwd.h: Likewise.
51189 * include/regex.h: Likewise.
51190 * include/sched.h: Likewise.
51191 * include/search.h: Likewise.
51192 * include/setjmp.h: Likewise.
51193 * include/signal.h: Likewise.
51194 * include/stdio.h: Likewise.
51195 * include/stdlib.h: Likewise.
51196 * include/string.h: Likewise.
51197 * include/sys/cdefs.h: Likewise.
51198 * include/sys/mman.h: Likewise.
51199 * include/sys/msg.h: Likewise.
51200 * include/sys/resource.h: Likewise.
51201 * include/sys/select.h: Likewise.
51202 * include/sys/socket.h: Likewise.
51203 * include/sys/stat.h: Likewise.
51204 * include/sys/statvfs.h: Likewise.
51205 * include/sys/time.h: Likewise.
51206 * include/sys/times.h: Likewise.
51207 * include/sys/uio.h: Likewise.
51208 * include/sys/utsname.h: Likewise.
51209 * include/sys/wait.h: Likewise.
51210 * include/termios.h: Likewise.
51211 * include/time.h: Likewise.
51212 * include/ulimit.h: Likewise.
51213 * include/unistd.h: Likewise.
51214 * include/utime.h: Likewise.
51215 * include/wchar.h: Likewise.
51216 * include/wctype.h: Likewise.
51217 * include/wordexp.h: Likewise.
51218
51219 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51220
7a270350
UD
51221 * time/time.h: TIME_UTC must be a macro.
51222 Make timespec_get available for ISO C11 only as well.
51223
7724defc
UD
512242012-02-24 Ulrich Drepper <drepper@gmail.com>
51225
51226 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51227 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51228
6b1d1d46
JM
512292012-02-24 Joseph Myers <joseph@codesourcery.com>
51230
51231 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 51232
0f8bbd69
JM
512332012-02-24 Joseph Myers <joseph@codesourcery.com>
51234
51235 * manual/texinfo.tex: Update to version 2012-01-19.16.
51236
66ab80bc
JM
512372012-02-24 Joseph Myers <joseph@codesourcery.com>
51238
51239 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51240
74981cc5
RM
512412012-02-24 Roland McGrath <roland@hack.frob.com>
51242
ee968201
RM
51243 [BZ #13738]
51244 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51245 * manual/fdl-1.3.texi: New file.
51246 * manual/fdl-1.1.texi: File removed.
51247
74981cc5
RM
51248 [BZ #13738]
51249 * manual/libc.texinfo (FDL_VERSION): New @set.
51250 Use it for mention of FDL in cover text.
51251 (Documentation License): Use it in @include file name.
51252
7bb764bc
JM
512532012-02-22 Joseph Myers <joseph@codesourcery.com>
51254 Roland McGrath <roland@hack.frob.com>
51255
51256 [BZ #5461]
57f41c40
AS
51257 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51258 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
51259 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51260 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51261 name.
51262 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51263
6cbeae47
JM
512642012-02-22 Joseph Myers <joseph@codesourcery.com>
51265
51266 [BZ #2547]
51267 [BZ #11365]
51268 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51269 manipulate bits before adding and subtracting TWO23[sx].
51270 * math/libm-test.inc (nearbyint_test): Add more tests.
51271
fe45ce09
JM
512722012-02-22 Joseph Myers <joseph@codesourcery.com>
51273
51274 [BZ #2548]
51275 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51276 bits before adding and subtracting TWO23[sx].
51277 * math/libm-test.inc (rint_test): Add more tests.
51278 (rint_test_tonearest): Likewise.
51279 (rint_test_towardzero): Likewise.
51280 (rint_test_downward): Likewise.
51281 (rint_test_upward: Likewise.
51282
ff3b3d82
JM
512832012-02-22 Joseph Myers <joseph@codesourcery.com>
51284
51285 [BZ #10110]
51286 * include/stdc-predef.h: New file. Extracted from features.h.
51287 * include/features.h: Include stdc-predef.h.
51288 * Makefile (headers): Add stdc-predef.h.
51289 * CONFORMANCE (Compiler limitations): Update.
51290
ef0aab35
JM
512912012-02-22 Joseph Myers <joseph@codesourcery.com>
51292
51293 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51294
58639409
DM
512952012-02-21 David S. Miller <davem@davemloft.net>
51296
51297 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51298 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51299
c0e70b25
DM
513002012-02-20 David S. Miller <davem@davemloft.net>
51301
51302 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51303 using a normal save/restore sequence, rather than allocating a
51304 dummy stack frame just to store a frame pointer and restore.
51305 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51306
fb06851d
JM
513072012-02-21 Joseph Myers <joseph@codesourcery.com>
51308
51309 * manual/install.texi: Fix stray word in line-wrapped comment.
51310
7a8b71c3
DM
513112012-02-20 David S. Miller <davem@davemloft.net>
51312
d510c123
DM
51313 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51314 both binutils and gcc support GOTDATA.
51315
0722d7c2
DM
51316 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51317 "rd %pc" in the PIC register setup sequences.
51318
3d2b3019
DM
51319 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51320 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51321 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51322 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51323 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51326 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51328 (SYSCALL_ERROR_HANDLER): Likewise.
51329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51332 (SYSCALL_ERROR_HANDLER): Likewise.
51333
c80098a9
DM
51334 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51335 (HAVE_GCC_GOTDATA): New.
51336 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51337 relocation support in both binutils and gcc.
51338 * sysdeps/sparc/elf/configure: Regenerate.
51339
3a2545a0
DM
51340 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51341 * sysdeps/sparc/sparc32/elf/configure: Delete.
51342 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51343 * sysdeps/sparc/sparc64/elf/configure: Delete.
51344 * sysdeps/sparc/elf/configure.in: New file.
51345 * sysdeps/sparc/elf/configure: Generate.
51346
7a8b71c3
DM
51347 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51348 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51349 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51350 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51351 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51352
f1e86fca
JM
513532012-02-21 Joseph Myers <joseph@codesourcery.com>
51354
51355 * manual/install.texi: Do not mention specific glibc version
51356 numbers.
51357 * manual/libc.texinfo (VERSION, UPDATED): Update.
51358 (@copying): Use @copyright{} and range of years.
51359
0e7dfaef
JM
513602012-02-21 Joseph Myers <joseph@codesourcery.com>
51361
51362 [BZ #13695]
51363 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51364 [crti.S not in sysdirs] (generated): Do not append.
51365 [crti.S not in sysdirs] (omit-deps): Likewise.
51366 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51367 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51368 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51369 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51370 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51371 Likewise.
51372 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51373 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51374 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51375 * csu/defs.awk: Remove file.
51376 * sysdeps/generic/initfini.c: Likewise.
51377 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51378 variable.
51379 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51380 Likewise.
51381
599af3ca
JM
513822012-02-20 Joseph Myers <joseph@codesourcery.com>
51383
51384 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51385 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51386 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51388 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51389 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51390 <bits/epoll.h>.
51391 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51392 (__EPOLL_PACKED): Define to empty if not defined by
51393 <bits/epoll.h>.
51394 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51396 bits/epoll.h.
51397
0e499750
JM
513982012-02-20 Joseph Myers <joseph@codesourcery.com>
51399
51400 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51401 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51402 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51403 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51404 <bits/timerfd.h>.
51405 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51407 bits/timerfd.h.
51408
5ad91f6e
JM
514092012-02-20 Joseph Myers <joseph@codesourcery.com>
51410
51411 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51412 in C locale.
51413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51414 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51415 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51417
06b99b02
AJ
514182012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51419
51420 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51421 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51422
7638c0fd
AS
514232012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51424
51425 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51426 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51427 defined.
51428 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51429 Likewise.
51430 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51431 entry for 2.16.
51432
92221550
AJ
514332012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51434
51435 * math/w_acos.c: Use non-signaling floating-point comparisons.
51436 * math/w_acosf.c: Likewise.
51437 * math/w_acosh.c: Likewise.
51438 * math/w_acoshf.c: Likewise.
51439 * math/w_acoshl.c: Likewise.
51440 * math/w_acosl.c: Likewise.
51441 * math/w_asin.c: Likewise.
51442 * math/w_asinf.c: Likewise.
51443 * math/w_asinl.c: Likewise.
51444 * math/w_atanh.c: Likewise.
51445 * math/w_atanhf.c: Likewise.
51446 * math/w_atanhl.c: Likewise.
51447 * math/w_exp2.c: Likewise.
51448 * math/w_exp2f.c: Likewise.
51449 * math/w_exp2l.c: Likewise.
51450 * math/w_j0.c: Likewise.
51451 * math/w_j0f.c: Likewise.
51452 * math/w_j0l.c: Likewise.
51453 * math/w_j1.c: Likewise.
51454 * math/w_j1f.c: Likewise.
51455 * math/w_j1l.c: Likewise.
51456 * math/w_jn.c: Likewise.
51457 * math/w_jnf.c: Likewise.
51458 * math/w_log.c: Likewise.
51459 * math/w_log10.c: Likewise.
51460 * math/w_log10f.c: Likewise.
51461 * math/w_log10l.c: Likewise.
51462 * math/w_log2.c: Likewise.
51463 * math/w_log2f.c: Likewise.
51464 * math/w_log2l.c: Likewise.
51465 * math/w_logf.c: Likewise.
51466 * math/w_logl.c: Likewise.
51467 * math/w_sqrt.c: Likewise.
51468 * math/w_sqrtf.c: Likewise.
51469 * math/w_sqrtl.c: Likewise.
51470 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51471 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51472 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51473 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51474 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51475
ebaf36eb
JM
514762012-02-19 Joseph Myers <joseph@codesourcery.com>
51477
51478 [BZ #9739]
51479 * manual/string.texi (strnlen): Use correct parameter name in
51480 equivalent expression.
51481
71c254a6
JM
514822012-02-19 Joseph Myers <joseph@codesourcery.com>
51483
51484 [BZ #11174]
51485 * manual/users.texi (seteuid): Consistently use neweuid for
51486 argument name.
51487
16d2c631
JM
514882012-02-19 Joseph Myers <joseph@codesourcery.com>
51489
51490 [BZ #13704]
51491 * manual/nss.texi (Services in the NSS configuration): Correct
51492 list of services in example configuration file.
51493
cd837b09
NB
514942012-02-19 Nick Bowler <nbowler@draconx.ca>
51495
51496 [BZ #11322]
51497 * manual/arith.texi: Remove statements about negative zero
51498 behaving identically to zero.
51499
02c4bbad
JM
515002012-02-18 Joseph Myers <joseph@codesourcery.com>
51501
51502 [BZ #5993]
51503 * manual/install.texi: Do not document upgrading from libc5.
51504
366842e7
JM
515052012-02-18 Joseph Myers <joseph@codesourcery.com>
51506
51507 [BZ #4596]
51508 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51509
dd54084d
DM
515102012-02-18 David S. Miller <davem@davemloft.net>
51511
51512 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51513 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51514 %o7 across the call.
51515 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51516 instead.
51517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51518 SETUP_PIC_REG_LEAF.
51519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51520 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51521 * sysdeps/sparc/crtn.S: Likewise.
51522
2bcc53a3
UD
515232012-02-17 Ulrich Drepper <drepper@gmail.com>
51524
51525 * aout/Makefile: Remove.
51526
09c093b5
RK
515272012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51528
51529 [BZ #13058]
51530 * manual/examples/argp-ex1.c (main): Format definition in GNU
51531 style.
51532 * manual/examples/argp-ex2.c (main): Likewise.
51533 * manual/examples/argp-ex3.c (main): Likewise.
51534 * manual/examples/argp-ex4.c (main): Likewise.
51535 * manual/examples/longopt.c (main): Use new-style prototype
51536 definition.
51537 * manual/examples/strncat.c (main): Specify return type and use
51538 (void) for arguments.
51539 * manual/examples/subopt.c (main): Use char **argv argument.
51540
2ee633a2
JM
515412012-02-17 Joseph Myers <joseph@codesourcery.com>
51542
51543 [BZ #5077]
51544 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51545 rounding modes.
51546
0520adde
FB
515472012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51548
51549 [BZ #6907]
51550 * manual/string.texi (strchr): Change when strchrnul is
51551 recommended.
51552
3f4081cd
DGM
515532012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51554
51555 [BZ #174]
51556 * manual/locale.texi (setlocale): Document LOCPATH.
51557
d1b10e78
JM
515582012-02-17 Joseph Myers <joseph@codesourcery.com>
51559
51560 [BZ #10210]
51561 * manual/process.texi (execle): Move @dots{} before last argument.
51562
79c6869c
PB
515632012-02-17 Paul Bolle <pebolle@tiscali.nl>
51564
51565 [BZ #12047]
51566 * manual/charset.texi (Generic Charset Conversion): Fix typo
51567 (LC_TYPE -> LC_CTYPE).
51568
cc6e48bc
NB
515692012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51570
51571 [BZ #5805]
51572 * manual/arith.texi (scalbn): Use @var{} on parameter names.
51573 (scalbnf): Likewise.
51574 (scalbnl): Likewise.
51575 (scalbln): Likewise.
51576 (scalblnf): Likewise.
51577 (scalblnl): Likewise.
51578 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51579 (vwarnx): Likewise.
51580 (verr): Likewise.
51581 (verrx): Likewise.
51582 * manual/filesys.texi (telldir): Use braces around return type.
51583 * manual/llio.texi (mmap): Add space after comma.
51584 (mmap64): Likewise.
51585 * manual/math.texi (jn): Use @var{} on parameter names.
51586 (jnf): Likewise.
51587 (jnl): Likewise.
51588 (yn): Likewise.
51589 (ynf): Likewise.
51590 (ynl): Likewise.
51591 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51592 line.
51593 * manual/resource.texi (ulimit): Use @dots{} instead of literal
51594 "...".
51595 (sched_get_priority_min): Remove semicolon on @deftypefun line.
51596 (sched_get_priority_max): Likewise.
51597 * manual/signal.texi (sigvec): Add space after comma.
51598 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51599 names.
51600 (if_indextoname): Likewise.
51601 (if_freenameindex): Likewise.
51602 (sendto): Use ',' instead of '.' in prototype.
51603 * manual/startup.texi (syscall): Use @dots{} instead of literal
51604 "...".
51605 * manual/stdio.texi (__fpending): Separate initial words of
51606 paragraph from @deftypefun line.
51607 * manual/syslog.texi (syslog): Use @dots{} instead of literal
51608 "...".
51609 (vsyslog): Use @var{} on parameter names.
51610 * manual/terminal.texi (stty): Use @var{} on parameter names.
51611 * manual/users.texi (getutmp): Use @var{} on parameter names.
51612 (getutmpx): Likewise.
51613
5b23062f
JM
516142012-02-17 Joseph Myers <joseph@codesourcery.com>
51615
51616 [BZ #6884]
51617 * manual/stdio.texi (fopen): Fix typos in description of
51618 ",ccs=STRING".
51619
8dee4833
AJ
516202012-02-17 Aurelien Jarno <aurelien@aurel32.net>
51621
51622 [BZ #4026]
51623 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51624 get clock_id definition.
51625
9078ce93
TS
516262012-02-17 Thomas Schwinge <thomas@schwinge.name>
51627
51628 [BZ #4822]
51629 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51630 (madvise): Cast every argument to void on its own.
51631
3835c55f
JM
516322012-02-17 Joseph Myers <joseph@codesourcery.com>
51633
51634 [BZ #9902]
51635 * manual/startup.texi (Exit Status): Fix typo.
51636
35c47e37
JM
516372012-02-17 Joseph Myers <joseph@codesourcery.com>
51638
51639 [BZ #10140]
51640 * manual/examples/argp-ex1.c: Include <stdlib.h>.
51641 * manual/examples/argp-ex2.c: Likewise.
51642 * manual/examples/argp-ex3.c: Likewise.
51643
e3b69ca7
RH
516442012-02-16 Richard Henderson <rth@redhat.com>
51645
51646 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51647 * sysdeps/s390/s390-32/initfini.c: Remove.
51648 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51649 * sysdeps/s390/s390-64/initfini.c: Remove.
51650
df83af67
KK
516512012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51652
51653 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51654 compiler output for sysdeps/generic/initfini.c.
51655 * sysdeps/sh/elf/initfini.c: Remove file.
51656
f63f3380
DM
516572012-02-16 David S. Miller <davem@davemloft.net>
51658
fb59b3a4
DM
51659 [BZ #11494]
51660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51661
f63f3380
DM
51662 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51663 * sysdeps/sparc/crti.S: New file.
51664 * sysdeps/sparc/crtn.S: New file.
51665 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51666 * sysdeps/sparc/sparc64/Makefile: Likewise.
51667
df6a4a4a
MF
516682012-02-15 Mike Frysinger <vapier@gentoo.org>
51669
6dd8f3dc 51670 [BZ #3335]
df6a4a4a
MF
51671 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51672
1cac7236
RM
516732012-02-15 Roland McGrath <roland@hack.frob.com>
51674
d2c736f8
RM
51675 [BZ #4822]
51676 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51677
1cac7236
RM
51678 * mach/devstream.c (cookie_io_functions_t): Macro removed.
51679 (write, read, close): Likewise.
51680 Patch by Aurelien Jarno <aurelien@aurel32.net>.
51681
8e475601
JM
516822012-02-15 Joseph Myers <joseph@codesourcery.com>
51683
51684 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51685 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51686 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51687 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51688 <bits/signalfd.h>.
51689 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51691 bits/signalfd.h.
51692
ed656b40
MP
516932012-02-14 Marek Polacek <polacek@redhat.com>
51694
51695 * sysdeps/x86_64/crti.S: New file.
51696 * sysdeps/x86_64/crtn.S: New file.
51697 * sysdeps/x86_64/elf/initfini.c: Remove file.
51698
2a979d3a
JM
516992012-02-13 Joseph Myers <joseph@codesourcery.com>
51700
51701 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51702 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51703 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51704 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51705 <bits/inotify.h>.
51706 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51708 bits/inotify.h.
51709
2a418ac3
JM
517102012-02-13 Joseph Myers <joseph@codesourcery.com>
51711
51712 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51713 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51714 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51715 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51716 <bits/eventfd.h>.
51717 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51719 bits/eventfd.h.
51720
fb779be7
TS
517212012-02-10 Thomas Schwinge <thomas@codesourcery.com>
51722
e19e83c5
RM
51723 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51724 __feraiseexcept instead of feraiseexcept.
7c35ffed 51725
fb779be7
TS
51726 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51727 nanosleep invocations.
51728 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51729 strings, and add error checking for a nanosleep invocations.
51730
59ba27a6
PE
517312012-02-09 Paul Eggert <eggert@cs.ucla.edu>
51732
51733 Replace FSF snail mail address with URLs, as per GNU coding standards.
51734 Most of the snail mail addresses were wrong anyway, and omitting
51735 them makes the source code easier to maintain. Almost all of the
51736 changes are to license notices and to locale LC_IDENTIFICATION
51737 addresses, except for this one:
51738 * manual/libc.texinfo: In "Published by", give the FSF's URL,
51739 not its snail mail address.
51740
57b957eb
RH
517412012-02-09 Richard Henderson <rth@twiddle.net>
51742
af850b1c
RH
51743 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51744 of kernel-features.h.
51745
57b957eb
RH
51746 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51747
6b73181a
MP
517482012-02-08 Marek Polacek <polacek@redhat.com>
51749
51750 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51751 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51752 * sysdeps/gnu/_G_config.h: Likewise.
51753 * sysdeps/generic/_G_config.h: Likewise.
51754
26ecc33a
AS
517552012-02-08 Andreas Schwab <schwab@linux-m68k.org>
51756
6c6dbc63
AS
51757 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51758 tests.
51759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51760
e216c012
AS
51761 * sysdeps/powerpc/powerpc32/crti.S: New file.
51762 * sysdeps/powerpc/powerpc32/crtn.S: New file.
51763 * sysdeps/powerpc/powerpc64/crti.S: New file.
51764 * sysdeps/powerpc/powerpc64/crtn.S: New file.
51765
26ecc33a
AS
51766 * Makeconfig (have-initfini): Don't set.
51767 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51768 * configure.in (nopic_initfini): Don't substitute.
51769 * config.h.in (HAVE_INITFINI): Don't #undef.
51770 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51771 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51772
3add8e13
JM
517732012-02-08 Joseph Myers <joseph@codesourcery.com>
51774
51775 Support crti.S and crtn.S provided directly by architectures.
51776 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51777 [crti.S in sysdirs] (omit-deps): Likewise.
51778 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51779 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51780 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51781 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51782 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51783 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51784 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51785 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51786 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51787 compiler output for sysdeps/generic/initfini.c.
51788 * sysdeps/i386/elf/Makefile: Remove file.
51789 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51790
a22f12b4
MP
517912012-02-07 Marek Polacek <polacek@redhat.com>
51792
51793 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51794 * sysdeps/gnu/_G_config.h: Likewise.
51795 * sysdeps/mach/hurd/_G_config.h: Likewise.
51796
148cf100
MP
517972012-02-07 Marek Polacek <polacek@redhat.com>
51798
51799 * math/Makefile (tests): Add tst-CMPLX2.
51800 * math/tst-CMPLX2.c: New file.
51801
cfdc0dd7
AS
518022012-02-07 Andreas Schwab <schwab@linux-m68k.org>
51803
84ba42c4
AS
51804 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51805
cfdc0dd7
AS
51806 * math/libm-test.inc (jn_test): Add missing L suffix.
51807
622c86f4
MP
518082012-02-06 Marek Polacek <polacek@redhat.com>
51809
51810 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51811 * sysdeps/i386/fpu/e_powf.S: Likewise.
51812 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51813 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51814 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51815 * sysdeps/i386/fpu/e_pow.S: Likewise.
51816 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51817 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51818 * sysdeps/i386/fpu/s_expm1.S: Likewise.
51819 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51820 * sysdeps/i386/fpu/e_log2.S: Likewise.
51821 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51822 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51823 * sysdeps/i386/fpu/e_powl.S: Likewise.
51824 * sysdeps/i386/fpu/s_log1p.S: Likewise.
51825 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51826 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51827 * sysdeps/i386/fpu/e_logl.S: Likewise.
51828 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51829 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51830 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51831 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51832 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51833 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51834 * sysdeps/i386/fpu/e_log.S: Likewise.
51835 * sysdeps/i386/fpu/s_cexp.S: Likewise.
51836 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51837 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51838 * sysdeps/i386/fpu/e_logf.S: Likewise.
51839 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51840 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51841 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51842 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51843 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51844 * sysdeps/i386/fpu/e_log10.S: Likewise.
51845 * sysdeps/i386/fpu/s_frexp.S: Likewise.
51846 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51847 * sysdeps/i386/fpu/s_asinh.S: Likewise.
51848 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51849 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51850 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51851 * sysdeps/i386/asm-syntax.h: Likewise.
51852 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51855 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51856 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51857 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51858 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51859 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51860 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51861 * sysdeps/powerpc/sysdep.h: Likewise.
51862 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51863 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51864
d4a54ac6
JM
518652012-02-06 Joseph Myers <joseph@codesourcery.com>
51866
51867 [BZ #411]
51868 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51869
314054ea
JM
518702012-02-06 Joseph Myers <joseph@codesourcery.com>
51871
51872 * sysdeps/i386/sysdep.h: Include <features.h>.
51873 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51874 version.
51875
d8e0ca50
JM
518762012-02-05 Joseph Myers <joseph@codesourcery.com>
51877
51878 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51879 Define.
51880 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51881 LOAD_PIC_REG_STR.
51882
b1da7dd9
JM
518832012-02-03 Joseph Myers <joseph@codesourcery.com>
51884
51885 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51886 (SETUP_PIC_REG): Use GET_PC_THUNK.
51887 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51888 macro.
51889
9a1d9254
JM
518902012-02-03 Joseph Myers <joseph@codesourcery.com>
51891
51892 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51893 for non-PIC compilation.
51894 (SETUP_PIC_REG): Add .p2align directive.
51895 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51896 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51897 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51898 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51899 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51900 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51901 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51902 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51903 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51904 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51905 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51906 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51907 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51908 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51909 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51910 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51911 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51912 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51913 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51914 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51915 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51916 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51917 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51918 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51921 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51923 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51924 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51925 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51927 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51928 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51929 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51930 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51931 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51932 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51933 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51934 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51935 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51936
65dc3b75
JM
519372012-02-03 Joseph Myers <joseph@codesourcery.com>
51938
51939 * math/tst-CMPLX.c: Include <stdio.h>.
51940
d55bf177
JM
519412012-01-31 Joseph Myers <joseph@codesourcery.com>
51942
51943 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51944 float.
51945 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51946 * sysdeps/sparc/bits/mathdef.h: Likewise.
51947
69db4f8f
MP
519482012-01-31 Marek Polacek <polacek@redhat.com>
51949
51950 * libio/libio.h: Don't define _PARAMS.
51951 * locale/programs/config.h: Don't define PARAMS.
51952 * stdlib/strtol_l.c: Likewise.
51953 (__strtol_l): Remove PARAMS from the prototype.
51954
41b81892
UD
519552012-01-31 Ulrich Drepper <drepper@gmail.com>
51956
3b49edc0
UD
51957 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
51958 names. Just use the correct names. Remove unnecessary wrapper
51959 functions.
51960 * malloc/arena.c: Likewise.
51961 * malloc/hooks.c: Likewise.
51962
41b81892
UD
51963 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51964 ARENA_TEST says not to. Simplify test for creation of a new arena.
51965 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51966
27a25b6e
UD
519672012-01-30 Ulrich Drepper <drepper@gmail.com>
51968
51969 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51970 into tail calls.
51971 (update_get_addr): New function.
51972 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51973 GET_ADDR_MODULE parameter.
51974
c8a89e7d
JM
519752012-01-30 Joseph Myers <joseph@codesourcery.com>
51976
51977 * crypt/cert.c: Remove __STDC__ conditionals.
51978 * crypt/crypt-entry.c: Likewise.
51979 * crypt/crypt_util.c: Likewise.
51980 * libio/filedoalloc.c: Likewise.
51981 * libio/fileops.c: Likewise.
51982 * libio/genops.c: Likewise.
51983 * libio/iofclose.c: Likewise.
51984 * libio/iofdopen.c: Likewise.
51985 * libio/iofopen.c: Likewise.
51986 * libio/iofopen64.c: Likewise.
51987 * libio/iogetdelim.c: Likewise.
51988 * libio/iopopen.c: Likewise.
51989 * libio/obprintf.c: Likewise.
51990 * libio/oldfileops.c: Likewise.
51991 * libio/oldiofclose.c: Likewise.
51992 * libio/oldiofdopen.c: Likewise.
51993 * libio/oldiofopen.c: Likewise.
51994 * libio/oldiopopen.c: Likewise.
51995 * libio/wfiledoalloc.c: Likewise.
51996 * libio/wgenops.c: Likewise.
51997 * locale/programs/xmalloc.c: Likewise.
51998 * misc/syslog.c: Likewise.
51999 * stdio-common/xbug.c: Likewise.
52000 * string/memchr.c: Likewise.
52001 * string/memcmp.c: Likewise.
52002 * string/memrchr.c: Likewise.
52003 * string/rawmemchr.c: Likewise.
52004 * sysdeps/posix/getcwd.c: Likewise.
52005 * time/strftime_l.c: Likewise.
52006
3b100462
JM
520072012-01-30 Joseph Myers <joseph@codesourcery.com>
52008
52009 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
52010 * config.make.in (config-cflags-sse2avx): Define.
52011 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52012 Fix typo.
52013
607998af
CM
520142012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52015
52016 * scripts/config.guess: Update from upstream config git repository.
52017 * scripts/config.sub: Likewise.
52018
3601428f
CM
520192012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52020
3ac8b282
CM
52021 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52022 (EM_NUM): Update.
52023 (R_TILEPRO_*, R_TILEGX_*): New macros.
52024
e034841e
CM
52025 * scripts/firstversions.awk: Fix bug in version range handling.
52026
540d7568
CM
52027 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52028
3601428f
CM
52029 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52030
463de862
CM
52031 * include/sys/epoll.h: New file.
52032 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52033 libc_hidden_def.
52034
73139a76
UD
520352012-01-28 Ulrich Drepper <drepper@gmail.com>
52036
96bc5b45
UD
52037 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52038 Avoid unnecessary __WORDSIZE == 64 test.
52039 (fmaxf): Use VEX format if possible.
52040 (fmax): Likewise.
52041 (fminf): Likewise.
52042 (fmin): Likewise.
52043
56f6f6a2
UD
52044 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52045 * math/math_private.h: Remove libc_fegetround* and
52046 libc_fesetround*.
52047 * sysdeps/i386/configure.in: Check for -msse2avx.
52048 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52049 also if SSE2AVX is defined.
52050 Remove libc_fegetround* and libc_fesetround*.
52051 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52052 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52054 of HAS_YMM_USABLE.
52055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52056 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52057 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52058 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52060
73139a76
UD
52061 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52062
d73f93a4
AZ
520632012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52064
52065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52066 size is not set.
52067 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52068
6ee65ed6
UD
520692012-01-27 Ulrich Drepper <drepper@gmail.com>
52070
52071 [BZ #13618]
52072 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52073 relocation.
52074 * Makeconfig (libm): Define.
52075 * elf/Makefile: Add rules to build and run tst-relsort1.
52076 * elf/tst-relsort1.c: New file.
52077 * elf/tst-relsort1mod1.c: New file.
52078 * elf/tst-relsort1mod2.c: New file.
52079
8db21882
JM
520802012-01-27 Joseph Myers <joseph@codesourcery.com>
52081
52082 * math/s_ldexp.c: Remove __STDC__ conditionals.
52083 * math/s_ldexpf.c: Likewise.
52084 * math/s_ldexpl.c: Likewise.
52085 * math/s_nextafter.c: Likewise.
52086 * math/s_nexttowardf.c: Likewise.
52087 * math/s_significand.c: Likewise.
52088 * math/s_significandf.c: Likewise.
52089 * math/s_significandl.c: Likewise.
52090 * math/w_jnl.c: Likewise.
52091 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52092 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52093 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52094 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52095 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52097 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52098 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52099 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52100 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52101 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52103 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52104 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52105 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52106 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52107 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52108 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52110 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52111 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52113 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52114 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52115 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52116 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52117 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52118 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52119 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52120 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52121 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52122 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52123 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52125 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52126 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52127 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52128 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52129 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52130 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52131 * sysdeps/ieee754/k_standard.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52134 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52135 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52136 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52137 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52138 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52140 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52141 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52142 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52143 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52149 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52150 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52151 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52152 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52153 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52155 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52156 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52157 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52163 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52164 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52165 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52169 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52170 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52171 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52172 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52173 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52174 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52177 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52180 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52181 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52185 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52186 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52187 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52188 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52191 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52192 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52193 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52196 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52197 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52198 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52199 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52200 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52201 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52202 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52203 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52204 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52205 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52206 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52207 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52208 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52209 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52210 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52211 * sysdeps/ieee754/s_matherr.c: Likewise.
52212 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52213 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52214 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52216
965a54a4
JM
522172012-01-26 Joseph Myers <joseph@codesourcery.com>
52218
52219 * crypt/md5.h: Remove __STDC__ conditionals.
52220 * libio/libioP.h: Likewise.
52221 * locale/programs/config.h: Likewise.
52222 * sysdeps/generic/sysdep.h: Likewise.
52223 * sysdeps/i386/asm-syntax.h: Likewise.
52224 * sysdeps/s390/asm-syntax.h: Likewise.
52225 * sysdeps/unix/sysdep.h: Likewise.
52226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52228
7071ad79
JM
522292012-01-26 Joseph Myers <joseph@codesourcery.com>
52230
52231 * libio/libio.h: Remove __STDC__ conditionals.
52232 * malloc/obstack.h: Likewise.
52233 * math/complex.h: Likewise.
52234 * math/math.h: Likewise.
52235 * sysdeps/generic/_G_config.h: Likewise.
52236 * sysdeps/gnu/_G_config.h: Likewise.
52237 * sysdeps/mach/hurd/_G_config.h: Likewise.
52238 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52239 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52240 * sysdeps/sparc/bits/mathdef.h: Likewise.
52241
afc5ed09
UD
522422012-01-26 Ulrich Drepper <drepper@gmail.com>
52243
52244 [BZ #13583]
52245 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 52246 Clean up HAS_* macros.
afc5ed09 52247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
52248 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52249 possible.
52250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52251 HAS_AVX.
52252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 52257
bdb6de1d
JM
522582012-01-25 Joseph Myers <joseph@codesourcery.com>
52259
52260 * elf/tst-unique3.cc (gets): Remove declaration.
52261 * elf/tst-unique3lib.cc (gets): Likewise.
52262 * elf/tst-unique3lib2.cc (gets): Likewise.
52263 * elf/tst-unique4.cc (gets): Likewise.
52264
b15549e6
UD
522652012-01-24 Ulrich Drepper <drepper@gmail.com>
52266
52267 * include/stdio.h: Add C++ protection. Add gets declarations and
52268 definitions.
52269 * debug/tst-chk1.c: Don't declare gets here.
52270 * stdio-common/tst-gets.c: Likewise.
52271
a037381f
JM
522722012-01-24 Joseph Myers <joseph@codesourcery.com>
52273
52274 * posix/glob: Remove directory.
52275
f1d4aa75
JM
522762012-01-24 Joseph Myers <joseph@codesourcery.com>
52277
52278 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52279
81c0c964
PT
522802012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52281
52282 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52283 of the non-standard EPFNOSUPPORT.
52284
0ea698ae
ST
522852011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52286
52287 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52288 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52289 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52290
d220b117
UD
522912012-01-21 Ulrich Drepper <drepper@gmail.com>
52292
52293 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52294
3e1aa84e
UD
522952012-01-20 Ulrich Drepper <drepper@gmail.com>
52296
52297 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52298 transient errors.
52299 * nscd/grpcache.c (cache_addgr): Likewise.
52300 * nscd/hstcache.c (cache_addhst): Likewise.
52301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52302 * nscd/pwdcache.c (cache_addpw): Likewise.
52303 * nscd/servicescache.c (cache_addserv): Likewise.
52304
400aa020
UD
523052012-01-16 Ulrich Drepper <drepper@gmail.com>
52306
d77e7869
UD
52307 * malloc/malloc.c: Various cleanups.
52308 * malloc/hooks.c: Likewise.
52309
400aa020
UD
52310 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52311 * stdlib/bug-fmtmsg1.c: New file.
52312
52313 * stdlib/fmtmsg.c (init): Add missing unlock.
52314 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52315
e0a309cf
MP
523162012-01-12 Marek Polacek <polacek@redhat.com>
52317
52318 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52319 and _GNU_SOURCE.
52320
929d11c7
WS
523212012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52322
52323 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52324 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52325 macro to ensure uniqueness of label name.
52326 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52327 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52328
41d0e869
UD
523292012-01-11 Ulrich Drepper <drepper@gmail.com>
52330
0cc5ed3b
UD
52331 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52332
41d0e869
UD
52333 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52334 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52335 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52337
a47a831a
UD
523382012-01-10 Ulrich Drepper <drepper@gmail.com>
52339
daa891c0
UD
52340 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52341
52342 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52343 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52344 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52345
e58ef0f2
UD
52346 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52347
a47a831a 52348 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
52349 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52350 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 52351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
52352
52353 * math/bits/math-finite.h: Add ldexp support.
52354
a0bfc9c7
MP
523552012-01-10 Marek Polacek <polacek@redhat.com>
52356
52357 * locale/programs/localedef.h (show_archive_content): Add noreturn
52358 attribute.
52359
d6e97a1d
UD
523602012-01-09 Ulrich Drepper <drepper@gmail.com>
52361
52362 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52363
d5835c26
UD
523642012-01-08 Ulrich Drepper <drepper@gmail.com>
52365
e5f484c6
UD
52366 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52367
d5835c26
UD
52368 * io/Makefile (headers): Add bits/poll2.h.
52369
d1f741e9
WS
523702011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52371
52372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52373 typo #include statement.
52374
ec09c1c4
UD
523752012-01-08 Ulrich Drepper <drepper@gmail.com>
52376
52377 * include/sys/cdefs.h: Define __attribute_alloc_size.
52378 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52379 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52380 * elf/pldd.c: Likewise.
52381 * iconv/iconv_charmap.c: Likewise.
52382 * iconv/iconvconfig.c: Likewise.
52383 * iconv/strtab.c: Likewise.
52384 * locale/programs/locale.c: Likewise.
52385 * locale/programs/localedef.h: Likewise.
52386 * locale/programs/simple-hash.c: Likewise.
52387 * nscd/nscd.h: Likewise.
52388 * nss/makedb.c: Likewise.
52389 * sysdeps/generic/ldconfig.h: Likewise.
52390 * locale/programs/localedef.c: Remove xmalloc prototype.
52391 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52392
20b38e03
PP
523932012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52394
52395 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52396 appropriate.
52397
a0da5fe1
UD
523982012-01-08 Ulrich Drepper <drepper@gmail.com>
52399
1d5a644a 52400 * math/Makefile (tests): Add tst-CMPLX.
669704fd 52401 * math/tst-CMPLX.c: New file.
1d5a644a 52402
8784a6db
UD
52403 * math/complex.h (CMPLXL): Fix typo.
52404
d9a216c0
UD
52405 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52406 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52407 GLIBC_2.16.
52408 * debug/tst-chk1.c: Add poll and ppoll tests.
52409 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52410 * include/sys/poll.h: Add hidden proto for ppoll.
52411 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52412 * sysdeps/mach/hurd/ppoll.c: Likewise.
52413 * io/ppoll.c: Likewise.
52414 * debug/poll_chk.c: New file.
52415 * debug/ppoll_chk.c: New file.
52416 * include/bits/poll2.h: New file.
52417 * io/bits/poll2.h: New file.
52418
ac097f5c
UD
52419 [BZ #1350]
52420 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52421
2119dcfa
UD
52422 * configure.in: static is always set to yes. Remove.
52423 * config.make.in: Don't set build-static.
52424 * Makeconfig: Remove use of build-static.
52425 * dlfcn/Makefile: Likewise.
52426 * elf/Makefile: Likewise.
52427 * math/Makefile: Likewise.
52428 * misc/Makefile: Likewise.
52429 * nptl/Makefile: Likewise.
52430 * sysdeps/mach/hurd/Makefile: Likewise.
52431
121766a9
UD
52432 * configure.in: PWD_P is not used anymore.
52433 * config.make.in: Remove PWD_P entry.
52434
51a1d39c 52435 * configure.in: Remove last remnants of RANLIB.
8720d066 52436 No need to check for signed size_t anymore.
215f4bdc
UD
52437 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52438 and IA-64.
3857022a 52439 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
52440 * aclocal.m4: Likewise.
52441
d3ed7225
UD
52442 * wcsmbs/mbrtoc16.c: Implement using towc function.
52443 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52444 * wcsmbs/wcsmbsload.c: Likewise.
52445 * iconv/gconv_simple.c: Likewise.
52446 * iconv/gconv_int.h: Likewise.
52447 * iconv/gconv_builtin.h: Likewise.
52448 * iconv/iconv_prog.c: Remove CHAR16 handling.
52449
52450 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52451
52452 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52453
a0da5fe1
UD
52454 * configure.in: Remove --with-elf and --enable-bounded options.
52455 Dont set base_machine for ia64. More non-ELF conditions removed.
52456 Remove testing and setting of leading underscore information.
52457 * config.make.in (build-bounded): Set to no.
52458 * config.h.in: Remove NO_UNDERSCORES entry.
52459 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52460 them.
52461 * csu/start.c: Remove !NO_UNDERSCORE code.
52462 * locale/localeinfo.h: Likewise.
52463 * sysdeps/generic/machine-gmon.h: Likewise.
52464 * sysdeps/generic/sysdep.h: Likewise.
52465 * sysdeps/i386/sysdep.h: Likewise.
52466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52467 * sysdeps/mach/sysdep.h: Likewise.
52468 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52469 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52470 * sysdeps/sh/sysdep.h: Likewise.
52471 * sysdeps/sparc/sparc32/alloca.S: Likewise.
52472 * sysdeps/unix/i386/sysdep.S: Likewise.
52473 * sysdeps/unix/sparc/start.c: Likewise.
52474 * sysdeps/unix/sparc/sysdep.S: Likewise.
52475 * sysdeps/unix/sparc/sysdep.h: Likewise.
52476 * sysdeps/unix/start.c: Likewise.
52477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52478 * sysdeps/x86_64/sysdep.h: Likewise.
52479
df78418a
UD
524802012-01-07 Ulrich Drepper <drepper@gmail.com>
52481
a784e502
UD
52482 [BZ #13553]
52483 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52484 for non-gcc.
52485 * argp/argp-fmtstream.h: Use const instead __const.
52486 * argp/argp.h: Likewise.
52487 * assert/assert.h: Likewise.
52488 * bits/fenv.h: Likewise.
52489 * bits/sched.h: Likewise.
52490 * bits/sigset.h: Likewise.
52491 * bits/sigthread.h: Likewise.
52492 * catgets/nl_types.h: Likewise.
52493 * conform/data/pthread.h-data: Likewise.
52494 * crypt/crypt-private.h: Likewise.
52495 * crypt/crypt.h: Likewise.
52496 * crypt/crypt_util.c: Likewise.
52497 * ctype/ctype.h: Likewise.
52498 * debug/execinfo.h: Likewise.
52499 * debug/mbsnrtowcs_chk.c: Likewise.
52500 * debug/mbsrtowcs_chk.c: Likewise.
52501 * debug/wcsnrtombs_chk.c: Likewise.
52502 * debug/wcsrtombs_chk.c: Likewise.
52503 * debug/wcstombs_chk.c: Likewise.
52504 * dirent/dirent.h: Likewise.
52505 * dlfcn/dlfcn.h: Likewise.
52506 * elf/neededtest4.c: Likewise.
52507 * grp/grp.h: Likewise.
52508 * gshadow/gshadow.h: Likewise.
52509 * iconv/gconv.h: Likewise.
52510 * iconv/gconv_int.h: Likewise.
52511 * iconv/gconv_simple.c: Likewise.
52512 * iconv/iconv.h: Likewise.
52513 * iconv/loop.c: Likewise.
52514 * iconv/skeleton.c: Likewise.
52515 * include/aio.h: Likewise.
52516 * include/aliases.h: Likewise.
52517 * include/argz.h: Likewise.
52518 * include/arpa/inet.h: Likewise.
52519 * include/assert.h: Likewise.
52520 * include/dirent.h: Likewise.
52521 * include/dlfcn.h: Likewise.
52522 * include/execinfo.h: Likewise.
52523 * include/fcntl.h: Likewise.
52524 * include/fenv.h: Likewise.
52525 * include/glob.h: Likewise.
52526 * include/grp.h: Likewise.
52527 * include/libintl.h: Likewise.
52528 * include/mntent.h: Likewise.
52529 * include/netdb.h: Likewise.
52530 * include/pwd.h: Likewise.
52531 * include/rpc/netdb.h: Likewise.
52532 * include/sched.h: Likewise.
52533 * include/search.h: Likewise.
52534 * include/shadow.h: Likewise.
52535 * include/signal.h: Likewise.
52536 * include/stdio.h: Likewise.
52537 * include/stdlib.h: Likewise.
52538 * include/string.h: Likewise.
52539 * include/sys/socket.h: Likewise.
52540 * include/sys/stat.h: Likewise.
52541 * include/sys/statfs.h: Likewise.
52542 * include/sys/statvfs.h: Likewise.
52543 * include/sys/syslog.h: Likewise.
52544 * include/sys/time.h: Likewise.
52545 * include/sys/uio.h: Likewise.
52546 * include/time.h: Likewise.
52547 * include/unistd.h: Likewise.
52548 * include/utmp.h: Likewise.
52549 * include/wchar.h: Likewise.
52550 * include/wctype.h: Likewise.
52551 * inet/aliases.h: Likewise.
52552 * inet/arpa/inet.h: Likewise.
52553 * inet/netinet/ether.h: Likewise.
52554 * inet/netinet/in.h: Likewise.
52555 * intl/libintl.h: Likewise.
52556 * io/bits/fcntl2.h: Likewise.
52557 * io/fcntl.h: Likewise.
52558 * io/ftw.h: Likewise.
52559 * io/sys/poll.h: Likewise.
52560 * io/sys/stat.h: Likewise.
52561 * io/sys/statfs.h: Likewise.
52562 * io/sys/statvfs.h: Likewise.
52563 * io/utime.h: Likewise.
52564 * libio/bits/stdio.h: Likewise.
52565 * libio/bits/stdio2.h: Likewise.
52566 * libio/libio.h: Likewise.
52567 * libio/libioP.h: Likewise.
52568 * libio/stdio.h: Likewise.
52569 * locale/lc-ctype.c: Likewise.
52570 * locale/locale.h: Likewise.
52571 * login/utmp.h: Likewise.
52572 * malloc/arena.c: Likewise.
52573 * malloc/malloc.c: Likewise.
52574 * malloc/malloc.h: Likewise.
52575 * malloc/mcheck.c: Likewise.
52576 * malloc/mtrace.c: Likewise.
52577 * math/bits/mathcalls.h: Likewise.
52578 * math/fenv.h: Likewise.
52579 * math/math_private.h: Likewise.
52580 * misc/bits/error.h: Likewise.
52581 * misc/bits/syslog.h: Likewise.
52582 * misc/err.h: Likewise.
52583 * misc/error.h: Likewise.
52584 * misc/fstab.h: Likewise.
52585 * misc/mntent.h: Likewise.
52586 * misc/regexp.h: Likewise.
52587 * misc/search.h: Likewise.
52588 * misc/sgtty.h: Likewise.
52589 * misc/sys/mman.h: Likewise.
52590 * misc/sys/syslog.h: Likewise.
52591 * misc/sys/uio.h: Likewise.
52592 * misc/sys/xattr.h: Likewise.
52593 * misc/ttyent.h: Likewise.
52594 * nis/rpcsvc/ypclnt.h: Likewise.
52595 * nss/nss.h: Likewise.
52596 * posix/bits/unistd.h: Likewise.
52597 * posix/fnmatch.h: Likewise.
52598 * posix/glob.h: Likewise.
52599 * posix/sched.h: Likewise.
52600 * posix/spawn.h: Likewise.
52601 * posix/sys/wait.h: Likewise.
52602 * posix/unistd.h: Likewise.
52603 * posix/wordexp.h: Likewise.
52604 * pwd/pwd.h: Likewise.
52605 * resolv/netdb.h: Likewise.
52606 * resource/sys/resource.h: Likewise.
52607 * rt/aio.h: Likewise.
52608 * rt/bits/mqueue2.h: Likewise.
52609 * rt/mqueue.h: Likewise.
52610 * shadow/shadow.h: Likewise.
52611 * signal/signal.h: Likewise.
52612 * socket/send.c: Likewise.
52613 * socket/sendto.c: Likewise.
52614 * socket/sys/socket.h: Likewise.
52615 * stdio-common/printf.h: Likewise.
52616 * stdlib/bits/stdlib.h: Likewise.
52617 * stdlib/fmtmsg.h: Likewise.
52618 * stdlib/monetary.h: Likewise.
52619 * stdlib/stdlib.h: Likewise.
52620 * stdlib/ucontext.h: Likewise.
52621 * streams/stropts.h: Likewise.
52622 * string/argz.h: Likewise.
52623 * string/bits/string2.h: Likewise.
52624 * string/string.h: Likewise.
52625 * string/strings.h: Likewise.
52626 * sunrpc/rpc/auth.h: Likewise.
52627 * sunrpc/rpc/auth_des.h: Likewise.
52628 * sunrpc/rpc/clnt.h: Likewise.
52629 * sunrpc/rpc/netdb.h: Likewise.
52630 * sunrpc/rpc/pmap_clnt.h: Likewise.
52631 * sunrpc/rpc/xdr.h: Likewise.
52632 * sysdeps/generic/inttypes.h: Likewise.
52633 * sysdeps/generic/net/if.h: Likewise.
52634 * sysdeps/generic/sys/swap.h: Likewise.
52635 * sysdeps/gnu/net/if.h: Likewise.
52636 * sysdeps/gnu/utmpx.h: Likewise.
52637 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52638 * sysdeps/i386/i486/bits/string.h: Likewise.
52639 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52640 * sysdeps/s390/bits/string.h: Likewise.
52641 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52642 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52643 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52644 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52645 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52646 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52647 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52648 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52649 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52650 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52651 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52652 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52653 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52654 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52655 * sysdeps/unix/sysv/linux/readv.c: Likewise.
52656 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52657 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52662 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52663 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52664 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52665 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52666 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52667 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52669 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52670 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52671 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52672 * sysvipc/sys/ipc.h: Likewise.
52673 * sysvipc/sys/msg.h: Likewise.
52674 * sysvipc/sys/sem.h: Likewise.
52675 * sysvipc/sys/shm.h: Likewise.
52676 * termios/termios.h: Likewise.
52677 * time/sys/time.h: Likewise.
52678 * time/time.h: Likewise.
52679 * wcsmbs/bits/wchar2.h: Likewise.
52680 * wcsmbs/uchar.h: Likewise.
52681 * wcsmbs/wchar.h: Likewise.
52682 * wctype/wctype.h: Likewise.
52683
0269750c
UD
52684 [BZ #13551]
52685 * Makeconfig: Remove all but ELF support including AIX support.
52686 * Makerules: Likewise.
52687 * config.h.in: Likewise.
52688 * config.make.in: Likewise.
52689 * configure: Likewise.
52690 * configure.in: Likewise.
52691 * csu/Makefile: Likewise.
52692 * csu/version.c: Likewise.
52693 * debug/Makefile: Likewise.
52694 * dlfcn/Makefile: Likewise.
52695 * elf/Makefile: Likewise.
52696 * extra-lib.mk: Likewise.
52697 * iconv/Makefile: Likewise.
52698 * include/libc-symbols.h: Likewise.
52699 * include/shlib-compat.h: Likewise.
52700 * resolv/Makefile: Likewise.
52701 * resolv/res_libc.c: Likewise.
52702 * rt/Makefile: Likewise.
52703 * sysdeps/i386/asm-syntax.h: Likewise.
52704 * sysdeps/i386/sysdep.h: Likewise.
52705 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52706 * sysdeps/mach/sysdep.h: Likewise.
52707 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52708 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52709 * sysdeps/s390/asm-syntax.h: Likewise.
52710 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52711 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52712 * sysdeps/sh/sysdep.h: Likewise.
52713 * sysdeps/unix/sparc/sysdep.h: Likewise.
52714 * sysdeps/wordsize-32/divdi3.c: Likewise.
52715 * sysdeps/x86_64/sysdep.h: Likewise.
52716
00bbd29b
UD
52717 * argp/Versions: Remove _argp_unlock_xxx.
52718
52719 [BZ #13559]
52720 * abilist/ld.abilist: Update. Adjust for removal of tls option.
52721 * abilist/libBrokenLocale.abilist: Likewise.
52722 * abilist/libanl.abilist: Likewise.
52723 * abilist/libc.abilist: Likewise.
52724 * abilist/libcrypt.abilist: Likewise.
52725 * abilist/libdl.abilist: Likewise.
52726 * abilist/libm.abilist: Likewise.
52727 * abilist/libnsl.abilist: Likewise.
52728 * abilist/libpthread.abilist: Likewise.
52729 * abilist/libresolv.abilist: Likewise.
52730 * abilist/librt.abilist: Likewise.
52731 * abilist/libthread_db.abilist: Likewise.
52732 * abilist/libutil.abilist: Likewise.
52733 * abilist/libnss_db.abilist: New file.
52734
52735 * scripts/abilist.awk: Add support for indirect functions.
52736
a2693a0e
UD
52737 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52738
3f05895f
UD
52739 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52740
ecb6fb48
UD
52741 * shlib-versions: Remove entries for ports architectures.
52742
664f8cb9
UD
52743 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
52744 files in ports.
52745 * elf/stackguard-macros.h: Remove support for IA-64.
52746 * elf/tst-auditmod1.c: Likewise.
52747 * sysdeps/generic/ldsodefs.h: Likewise.
52748
7ae81d88
UD
52749 * sysdeps/unix/sysv/linux/configure.in: Ports should define
52750 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52751 configure files.
52752
bdeba135
UD
52753 [BZ #13552]
52754 * configure.in: Remove --enable-omitfp support.
52755 * FAQ.in: Adjust.
52756 * config.make.in: Likewise.
52757 * Makeconfig: Likewise.
52758 * manual/install.texi: Likewise.
52759
d75a0a62
UD
52760 In case anyone cares, the IA-64 architecture could move to ports.
52761 * sysdeps/ia64/*: Removed.
52762 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 52763 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 52764
dcc9756b
UD
52765 [BZ #13555]
52766 * configure.in: Remove entries for unsupported architectures.
52767
d3761ebc 52768 [BZ #13533]
9954432e
UD
52769 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52770 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
52771 routines.
52772 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52773 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52774 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
52775 fall back to using wcrtomb.
52776 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52777 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
52778 renaming.
52779 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52780 * wcsmbs/tst-c16c32-1.c: New file.
52781
52782 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52783 local variable.
52784
c3a87236
UD
52785 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52786
28926a1b
UD
52787 * elf/tst-unique3.cc: Add explicit declaration of gets.
52788 * elf/tst-unique3lib.cc: Likewise.
52789 * elf/tst-unique3lib2.cc: Likewise.
52790 * elf/tst-unique4.cc: Likewise.
52791
df78418a
UD
52792 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52793
8ecd6b2a
JM
527942012-01-06 Joseph Myers <joseph@codesourcery.com>
52795
52796 [BZ #13566]
52797 * assert/assert.h (static_assert): Don't define for C++.
52798 * libio/stdio.h (gets): Do declare for C++ <= C++11.
52799 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52800
9f115170
UD
528012012-01-03 Ulrich Drepper <drepper@gmail.com>
52802
5e0d0300
UD
52803 * iconv/loop.c (single loop): Fix assertion in storing of
52804 remaining bytes.
52805
9f115170
UD
52806 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52807
81fb02b0
UD
528082012-01-01 Ulrich Drepper <drepper@gmail.com>
52809
52810 * posix/getconf.c: Update copyright year.
52811 * nss/getent.c: Likewise.
a316c1f6 52812 * nss/makedb.c: Likewise.
81fb02b0
UD
52813 * iconv/iconvconfig.c: Likewise.
52814 * iconv/iconv_prog.c: Likewise.
52815 * elf/ldconfig.c: Likewise.
a316c1f6
UD
52816 * elf/pldd.c: Likewise.
52817 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
52818 * catgets/gencat.c: Likewise.
52819 * csu/version.c: Likewise.
52820 * elf/ldd.bash.in: Likewise.
52821 * elf/sprof.c (print_version): Likewise.
52822 * locale/programs/locale.c: Likewise.
52823 * locale/programs/localedef.c: Likewise.
a316c1f6 52824 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
52825 * nscd/nscd.c (print_version): Likewise.
52826 * debug/xtrace.sh: Likewise.
52827 * malloc/memusage.sh: Likewise.
52828 * malloc/mtrace.pl: Likewise.
52829 * debug/catchsegv.sh: Likewise.
52830
2ba92745
JJ
528312011-12-30 Jakub Jelinek <jakub@redhat.com>
52832
52833 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52834 pure attribute.
52835
dadebdae
UD
528362011-12-24 Ulrich Drepper <drepper@gmail.com>
52837
d3761ebc 52838 [BZ #13533]
db6af3eb
UD
52839 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52840 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52841 transformations.
52842 * iconv/gconv_int.h: Likewise.
52843 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52844 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52845 from libc for GLIBC_2.16.
52846 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52847 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52848 * wcsmbs/uchar.h: Really define mbstate_t.
52849 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52850 * wcsmbs/c16rtomb.c: New file.
52851 * wcsmbs/mbrtoc16.c: New file.
52852 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52853 for C/POSIX locale.
52854 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52855 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52856
dadebdae
UD
52857 * wcsmbs/wchar.h: Add missing __restrict.
52858
67371b56
UD
528592011-12-23 Ulrich Drepper <drepper@gmail.com>
52860
74033a25
UD
52861 [BZ #13532]
52862 * time/Makefile (routines): Add timespec_get.
52863 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52864 * time/time.h: Define TIME_UTC and declare timespec_get. Define
52865 timespec for ISO C11.
52866 * time/timespec_get.c: New file.
52867 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52868 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52869
380d7e87
UD
52870 [BZ #13531]
52871 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52872 * stdlib/stdlib.h: Declare aligned_alloc.
52873 * Versions.def: Add GLIBC_2.16 for libc.
52874 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52875
4e9e7a35
UD
52876 [BZ 13527]
52877 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52878 ISO C11.
52879
380d7e87 52880 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
52881 code.
52882
03a71829
UD
52883 [BZ #13528]
52884 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52885
839e283e
UD
52886 [BZ #13529]
52887 * assert/assert.h (static_assert): Define.
52888
ce5294e2 52889 * version.h: Update for 2.16 development version.
90fa7312 52890
8d44e150 52891 [BZ #13526]
d7809905
UD
52892 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52893 _ISOC11_SOURCE.
52894
c0da14cd
UD
52895 * version.h (RELEASE): Bump for 2.15 release.
52896 * include/features.h (__GLIBC_MINOR__): Bump to 15.
52897
530a3249
MP
52898 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52899 Patch by Marek Polacek <mpolacek@redhat.com>.
52900
67371b56
UD
52901 * bits/byteswap.h: Protect long long constants with __extension__.
52902 * sysdeps/i386/bits/byteswap.h: Likewise.
52903 * sysdeps/ia64/bits/byteswap.h: Likewise.
52904 * sysdeps/s390/bits/byteswap.h: Likewise.
52905 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52906
15db4de1
LD
529072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52908
52909 [BZ #13540]
bbe315ea
LD
52910 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52911 destination buffer.
15db4de1
LD
52912 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52913
2b2596b1
MP
529142011-12-23 Marek Polacek <polacek@redhat.com>
52915
52916 * elf/dl-addr.c (determine_info): Add inline keyword.
52917 * elf/tst-auditmod4b.c (check_avx): Likewise.
52918 * elf/tst-auditmod6b.c (check_avx): Likewise.
52919 * elf/tst-auditmod6c.c (check_avx): Likewise.
52920 * elf/tst-auditmod7b.c (check_avx): Likewise.
52921
70c6c246
UD
529222011-12-23 Ulrich Drepper <drepper@gmail.com>
52923
52924 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52925 !__SSE_MATH__.
52926
c044cf14
LD
529272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52928
15db4de1 52929 [BZ #13540]
c044cf14
LD
52930 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52931 processing for last bytes.
52932
6b13d9d9
BH
529332011-08-06 Bruno Haible <bruno@clisp.org>
52934
d455f537
BH
52935 [BZ #13061]
52936 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52937 U+0385, not to U+1FEE.
52938
6b13d9d9
BH
52939 [BZ #13062]
52940 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52941 entry for U+00A5 U+0301.
52942
db910efd
UD
529432011-12-22 Ulrich Drepper <drepper@gmail.com>
52944
27deeafc
UD
52945 [BZ #13166]
52946 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52947 buffer for the output is too small.
52948
aed9d171
UD
52949 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52950 optimization.
52951
db910efd
UD
52952 [BZ #13185]
52953 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52954 SSE flags if possible.
52955
2bd779ae
LD
529562011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52957
e7f9dac3 52958 [BZ #13540]
2bd779ae
LD
52959 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52960 processing for last bytes.
52961
154bfc16
JM
529622011-12-22 Joseph Myers <joseph@codesourcery.com>
52963
52964 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52965 (syscall-list-default-options, syscall-list-default-condition)
52966 (syscall-list-includes): Define.
52967 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52968 list of ABIs and options and #if conditions for each ABI. Do not
52969 handle common syscalls between ABIs specially.
52970 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52971 Remove.
52972 (syscall-list-variants, syscall-list-32bit-options)
52973 (syscall-list-32bit-condition, syscall-list-64bit-options)
52974 (syscall-list-64bit-condition): Define.
52975 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52976 (syscall-list-variants, syscall-list-32bit-options)
52977 (syscall-list-32bit-condition, syscall-list-64bit-options)
52978 (syscall-list-64bit-condition): Define.
52979 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52980 Remove.
52981 (syscall-list-variants, syscall-list-32bit-options)
52982 (syscall-list-32bit-condition, syscall-list-64bit-options)
52983 (syscall-list-64bit-condition): Define.
52984 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52985 Remove.
52986 (syscall-list-variants, syscall-list-32bit-options)
52987 (syscall-list-32bit-condition, syscall-list-64bit-options)
52988 (syscall-list-64bit-condition): Define.
52989
21eaf3a5
UD
529902011-12-22 Ulrich Drepper <drepper@gmail.com>
52991
16c6f992
UD
52992 * locale/iso-639.def: Add brx entry.
52993
41043168
UD
52994 [BZ #13328]
52995 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52996 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52997
21eaf3a5
UD
52998 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52999 __feraiseexcept_renamed.
53000
e3a851a2
UD
530012011-12-21 Ulrich Drepper <drepper@gmail.com>
53002
4920765e
UD
53003 [BZ #13538]
53004 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53005 EPOLLET with unsigned values.
53006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53007 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53008
e3a851a2
UD
53009 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53010 to large cancellation.
53011 * math/s_cacoshf.c: Likewise.
53012 * math/s_cacoshl.c: Likewise.
53013
b27e24b8
RK
530142011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53015
53016 [BZ #13305]
aebefeee 53017 [BZ #12786]
b27e24b8
RK
53018 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53019 * math/s_cacoshf.c: Likewise.
53020 * math/s_cacoshl.c: Likewise.
53021
ee190f67
UD
530222011-12-21 Ulrich Drepper <drepper@gmail.com>
53023
53024 [BZ #13439]
53025 * iconv/gconv.h: Define __GCONV_SWAP.
53026 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53027 * iconvdata/utf-16.c: Likewise.
53028 * iconvdata/utf-32.c: Likewise.
53029
707f25df
AS
530302011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53031
53032 [BZ #13524]
53033 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53034 numerator after shifting it by one limb.
53035
d2daaa1e
RÁE
530362011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53037
53038 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53039 under [__USE_EXTERN_INLINES].
53040
a4647e72
UD
530412011-12-17 Ulrich Drepper <drepper@gmail.com>
53042
53043 [BZ #13446]
53044 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53045
f0b264f1
AZ
530462011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53047
53048 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53049 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53050 optimized code.
53051 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53052 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53053 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53054 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53055 for strncasecmp/strncasecmp_l compilation.
53056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53057 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53058
8ef4f244
MP
530592011-12-08 Marek Polacek <mpolacek@redhat.com>
53060
53061 [BZ #13484]
53062 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53063 of __asm__.
53064
97ac2654
UD
530652011-12-17 Ulrich Drepper <drepper@gmail.com>
53066
53067 [BZ #13506]
53068 * time/tzfile.c (__tzfile_read): Check values from file header.
53069
91d2a845
WS
530702011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53071
53072 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53073 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53074 * powerpc/powerpc32/dl-start.S: Likewise.
53075 * powerpc/powerpc32/elf/start.S: Likewise.
53076 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53077 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53078 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53079 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53080 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53081 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53082 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53083 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53084 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53085 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53086 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53087 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53088 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53089 * powerpc/powerpc32/memset.S: Likewise.
53090 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53091 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53092 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53093 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53094 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53095 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53096 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53097 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53098 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53099 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53100 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53101 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53102 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53103
a1267ba1
AZ
531042011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53105
53106 * math/libm-test.inc: Added more nearbyint tests.
53107 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53108 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53109 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53111
ad8ac1bd
RL
531122011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53113
53114 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53115 FD_CLOEXEC.
53116
1d3e4b61
UD
531172011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53118
53119 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53120 Add wcscpy-ssse3 wcscpy-c.
53121 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53122 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53123 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53124 * sysdeps/x86_64/wcschr.S: New file.
53125 * sysdeps/x86_64/wcsrchr.S: New file.
53126 * string/test-strcmp.c: Remove checking of wcscmp function for
53127 wrong alignments.
53128 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53129 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53130 wcsrchr-sse2 wcsrchr-c.
53131 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53132 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53133 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53134 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53135 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53136 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53137 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53138 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53139 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53140 * wcsmbc/wcschr.c (WCSCHR): New macro.
53141
5b330a2d
UD
531422011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53143
53144 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53145 * wcsmbs/test-wcsrchr.c: New file.
53146 * string/test-strrchr.c: Add wcsrchr support.
53147 (WIDE): New macro.
53148 * wcsmbs/test-wcscpy.c: New file.
53149 * string/test-strcpy.c: Add wcscpy support.
53150 (WIDE): New macro.
26428b7c 53151
f039c043
UD
531522011-12-10 Ulrich Drepper <drepper@gmail.com>
53153
53154 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53155 the inner loop.
53156
850fb039
AS
531572011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53158
53159 [BZ #13472]
53160 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53161
4efbd5cb
UD
531622011-12-04 Ulrich Drepper <drepper@gmail.com>
53163
52ff5dd0 53164 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 53165 Minor optimizations.
52ff5dd0 53166
4efbd5cb
UD
53167 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53168 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53169 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53170
8a426e12
UD
531712011-12-03 Ulrich Drepper <drepper@gmail.com>
53172
aff2453d
UD
53173 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53174 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53175 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53176 for gcc to avoid warnings.
53177 * inet/Makefile (tests): Add tst-checks.
53178 * inet/tst-checks.c: New file.
53179
53180 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53181 warning.
53182
53183 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53184 __wmemcmp_sse2.
53185
53186 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53187 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53188
8a426e12
UD
53189 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53190
9bea3473
UD
531912011-12-02 Ulrich Drepper <drepper@gmail.com>
53192
3a965496
UD
53193 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53194 problem.
53195
9bea3473
UD
53196 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53197
f101631b
UD
531982011-11-29 Joseph Myers <joseph@codesourcery.com>
53199
53200 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53201 conditional on GCC version.
53202 (__arch_compare_and_exchange_val_8_acq)
53203 (__arch_compare_and_exchange_val_16_acq)
53204 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53205 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53206 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53207
a98275aa
UD
532082011-12-02 Joseph Myers <joseph@codesourcery.com>
53209
53210 * sysdeps/sh/backtrace.c: New file.
53211
d4cc29a2
AS
532122011-12-02 Andreas Schwab <schwab@redhat.com>
53213
53214 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53215 parenthesis.
53216
6257af2d
AS
532172011-12-01 Andreas Schwab <schwab@redhat.com>
53218
53219 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53220 falling back to utime.
53221
b5f44c1a
AS
532222011-11-30 Andreas Schwab <schwab@redhat.com>
53223
53224 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53225 expectations for float.
53226
f3a6cc0a
AS
532272011-11-29 Andreas Schwab <schwab@redhat.com>
53228
53229 * locale/weight.h (findidx): Add parameter len.
53230 * locale/weightwc.h (findidx): Likewise.
53231 * posix/fnmatch_loop.c (FCT): Adjust caller.
53232 * posix/regcomp.c (build_equiv_class): Likewise.
53233 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53234 * posix/regexec.c (check_node_accept_bytes): Likewise.
53235 * string/strcoll_l.c (STRCOLL): Likewise.
53236 * string/strxfrm_l.c (STRXFRM): Likewise.
53237
9d65ea3a
UD
532382011-11-17 Ulrich Drepper <drepper@gmail.com>
53239
53240 * Makefile.in: Remove CVSOPT handling.
53241 * configure.in: Remove use of AC_REVISION.
53242 * iconvdata/Makefile (distribute): No need to filter out CVS.
53243 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53244 handling.
53245
5583a086
AS
532462011-11-16 Andreas Schwab <schwab@redhat.com>
53247
53248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53249 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53250 [USE_AS_STRNCASECMP_L]: Likewise.
53251 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53252 NO_TLS_DIRECT_SEG_REFS.
53253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53254 Fix argument offsets for non-PIC.
53255 [USE_AS_STRNCASECMP_L]: Likewise.
53256 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53257 NO_TLS_DIRECT_SEG_REFS.
53258
d62a8200
UD
532592011-11-15 Ulrich Drepper <drepper@gmail.com>
53260
9d65ea3a 53261 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
53262 O_CLOEXEC.
53263 * locale/loadlocale.c (_nl_load_locale): Likewise.
53264
09f93bd3
AS
532652011-11-15 Andreas Schwab <schwab@redhat.com>
53266
446514f9
AS
53267 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53268 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53269 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53270 (SYSCALL_GETTIME): Set errno on error.
53271
09f93bd3
AS
53272 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53273 count references to noai6ai_cached.
53274
312be3f9
UD
532752011-11-15 Ulrich Drepper <drepper@gmail.com>
53276
53277 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53278
53279 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53280 FD_CLOEXEC for /proc/self/maps.
53281
53282 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53283 FD_CLOEXEC for /proc/meminfo.
53284
53285 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53286 gai.conf.
53287
53288 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53289 FD_CLOEXEC for given file.
53290
53291 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53292
53293 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53294 FD_CLOEXEC for /etc/hosts.
53295 (_gethtent): Likewise.
53296
53297 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53298
53299 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53300 cancellation and set FD_CLOEXEC for /etc/netgroup.
53301
53302 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53303 reading /etc/publickey.
53304
53305 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53306 allow cancellation when reading /etc/group.
53307
53308 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53309 cancellation.
53310 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53311
53312 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53313 when using data file.
53314
53315 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53316
53317 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53318 (write_nis_obj): Use "c" and "e" in fopen.
53319
53320 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53321
53322 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53323
53324 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53325
53326 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53327
53328 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53329 locale.alias.
53330
53331 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53332
53333 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53334
53335 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53336
53337 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53338 file parsing and set FD_CLOEXEC.
53339
82af0fa8
UD
533402011-11-14 Ulrich Drepper <drepper@gmail.com>
53341
53342 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53343
a5fb313c
AS
533442011-11-14 Andreas Schwab <schwab@redhat.com>
53345
53346 * malloc/arena.c (arena_get2): Don't call reused_arena when
53347 _int_new_arena failed.
53348
6abf3465
UD
533492011-11-14 Ulrich Drepper <drepper@gmail.com>
53350
53351 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53352 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53353 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53354 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53355 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53357 to compile strcasecmp and strncasecmp.
53358 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53359 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53360
53361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53362
76e3966e
UD
533632011-11-13 Ulrich Drepper <drepper@gmail.com>
53364
53365 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53366 locale-defines.sym to gen-as-const-headers.
53367 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53368 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53370 to compile strcasecmp and strncasecmp.
53371 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53372 strcasecmp_l and strncasecmp_l.
53373 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53374 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53375 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53376 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53377 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53378 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53379 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53380 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53381 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53382 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53383 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53384
ab26144e
UD
533852011-11-12 Ulrich Drepper <drepper@gmail.com>
53386
7edb22ef
UD
53387 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53388 result of SYSDEP_GETTIME_CPU to retval.
53389 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53390 parameter list to macro. Remove trailing semicolon. Adjust users.
53391
9694fc44
UD
53392 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53393 variable.
53394
8ad89ef8
UD
53395 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53396 mantissa words.
53397 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53398
0c822ef9
UD
53399 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53400 from unused variable.
53401
874e0564
UD
53402 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53403 DWARF definitions.
53404 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53405 for assembling.
53406
3a2edc79
UD
53407 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53408 over namespaces.
53409
f3c2577f
UD
53410 * sunrpc/rpc_prot.c (rejected): Fix case value.
53411
294ce126
UD
53412 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53413 unsigned long long int to avoid warnings in shift.
53414
5e2b63c6
UD
53415 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53416 of use of trans.
53417 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53418 variable tmp.
53419
e7f4b08e
UD
53420 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53421 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53422 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53423
ab26144e
UD
53424 * nis/nis_table.c (nis_list): Use variable of correct type for
53425 result of __follow_path call.
53426
8a6d5255
AZ
534272011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53428
53429 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53430 of math functions ceil, trunc, floor, round, and sqrt, when
53431 avaliable on the platform.
53432 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53433 name clash.
53434 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53435 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53436 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53437
aaddc98c
MP
534382011-10-30 Marek Polacek <mpolacek@redhat.com>
53439
53440 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53441 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53442
95b7042b
RM
534432011-11-11 Roland McGrath <roland@hack.frob.com>
53444
53445 * include/unistd.h: Fix __readlink return type.
53446 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53447
57769839
UD
534482011-11-11 Ulrich Drepper <drepper@gmail.com>
53449
53450 * stdlib/ucontext.h: Undo last change for makecontext.
53451
edc5984d
AS
534522011-11-11 Andreas Schwab <schwab@redhat.com>
53453
98591e58
AS
53454 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53455
edc5984d
AS
53456 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53457 * setjmp/setjmp.h: Mark functions as non-leaf.
53458 * setjmp/bits/setjmp2.h: Likewise.
53459 * stdlib/ucontext.h: Likewise.
53460
77cdc054
AS
534612011-11-10 Andreas Schwab <schwab@redhat.com>
53462
53463 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53464 (reused_arena): Don't check arena limit.
53465 (arena_get2): Atomically check arena limit.
53466
fe72eebd
UD
534672011-11-08 Ulrich Drepper <drepper@gmail.com>
53468
5f078c32
UD
53469 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53470 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53471
fe72eebd
UD
53472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53473 instructions.
53474
ae1bc2fa
AS
534752011-11-07 Andreas Schwab <schwab@redhat.com>
53476
7583a88d
AS
53477 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53478 handler when locking.
53479
ae1bc2fa
AS
53480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53481 Fix size of allocated buffer.
53482
10fb0bfa
AS
534832011-11-04 Andreas Schwab <schwab@redhat.com>
53484
998832a4
AS
53485 [BZ #10103]
53486 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53487 declarations for long double functions.
53488 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53489
10fb0bfa
AS
53490 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53491
3d7ba52b
AS
534922011-11-03 Andreas Schwab <schwab@redhat.com>
53493
a9ae54a1
AS
53494 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53495 installed.
53496
3d7ba52b
AS
53497 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53498 is disabled.
53499
bc8db248
ST
535002011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53501
53502 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53503
45b96dd6
AS
535042011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53505
647776f6
AS
53506 * include/alloca.h (stackinfo_alloca_round): Define.
53507 (extend_alloca): Use it.
53508 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53509 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53510 here.
53511
d91a8b93
AS
53512 * scripts/check-local-headers.sh: Ignore libaudit.h.
53513
45b96dd6
AS
53514 * nscd/Makefile (extra-objs): Make recursively expanded.
53515
432d41ce
UD
535162011-11-01 Ulrich Drepper <drepper@gmail.com>
53517
34372fc6
UD
53518 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53519 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53520
fadb59f8
UD
53521 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53522 * posix/tst-rfc3484-2.c: Likewise.
53523 * posix/tst-rfc3484-3.c: Likewise.
53524
78239589
UD
53525 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53526 process_vm_writev.
53527 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53528 process_vm_writev.
53529 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53530 process_vm_writev from libc using GLIBC_2.15 version.
53531
432d41ce
UD
53532 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53533
02f9c6cf
PP
535342011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53535
53536 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53537 stack usage.
53538
3a2c0242
UD
535392011-10-31 Ulrich Drepper <drepper@gmail.com>
53540
f4ec4833
UD
53541 [BZ #13367]
53542 * nss/getent.c (initgroups_keys): Show error message in case no group
53543 names are given.
53544
3a2c0242
UD
53545 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53546 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53547 __bump_nl_timestamp.
53548 * nscd/connections (nscd_init): When host database is served open
53549 netlink socket and request notification about configuration changes.
53550 (main_loop_poll): Track netlink file descriptor and bump timestamp
53551 in case data becomes available.
53552 (main_loop_epoll): Likewise.
53553 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53554 (database_pers_head): Add extra_data fileds.
53555 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53556 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53557 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53558 Adjust caller.
53559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53560 in6ai data, call __free_in6ai.
53561 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53562 Add -DHAVE_NETLINK.
53563 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53564 interface information. Reuse previous data if netlink timestamp
53565 is not changed.
53566 (__bump_nl_timestamp): New function.
53567 (__free_in6ai): New function.
53568
636064eb
UD
535692011-10-30 Ulrich Drepper <drepper@gmail.com>
53570
53571 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53572 close_not_cancel_no_status here.
53573 (__check_pf): Reorganize code a bit to not call close twice if OOM.
53574
9beb2334
UD
535752011-10-29 Ulrich Drepper <drepper@gmail.com>
53576
6ef76f3b
UD
53577 [BZ #13276]
53578 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53579 return value.
53580
0ffc4f3e 53581 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
53582 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53583 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53584
cb95113e
UD
535852011-07-03 Andreas Jaeger <aj@suse.de>
53586
53587 [BZ #10709]
53588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53589 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53590 * math/libm-test.inc (sin_test): Add test case.
53591
a1b560ff
UD
535922011-10-29 Ulrich Drepper <drepper@gmail.com>
53593
c9aaface
UD
53594 [BZ #13337]
53595 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53596 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53597
d272e7f1
UD
53598 * elf/chroot_canon.c (chroot_canon): Cleanups.
53599
1bc33071
UD
53600 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53601
1760874d
TJ
53602 [BZ #13335]
53603 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53604 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53605
51d91b18
UD
53606 * string/test-strchr.c: Make usable for strchrnul testing.
53607 * string/test-strchrnul.c: New file.
53608 * string/Makefile (strop-tests): Add strchrnul.
53609
a1b560ff 53610 * po/it.po: Update from translation team.
b611fb81 53611 * po/es.po: Likewise.
a1b560ff 53612
a5b81e1f
UD
536132011-10-28 Ulrich Drepper <drepper@gmail.com>
53614
fd52bc6d
UD
53615 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53616 the three constants needed as parameters. Drop the others.
53617 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53618 __m128i_strloadu_tolower.
52e4b9eb
UD
53619 Create and initialize variable zero and use it in all the places
53620 where _mm_setzero_si128 was used.
fd52bc6d 53621
a5b81e1f
UD
53622 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53623 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53624 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53625 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53626 anymore.
53627 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53628 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53629 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53630 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53631 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53632 __mpranred, __mptan.
53633 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53634 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53635 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53636 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53637 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53638 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53639 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53640 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53641 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53642
b4343346
AS
536432011-10-28 Andreas Schwab <schwab@redhat.com>
53644
0c92d8a8
AS
53645 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53646 redefine if SHARED.
53647 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53648
b4343346
AS
53649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53650 wide char related routines to wcsmbs subdir.
53651
3871f58f
AS
536522011-10-27 Andreas Schwab <schwab@redhat.com>
53653
53654 [BZ #13344]
53655 * misc/sys/cdefs.h (__THROWNL): Define.
53656 * posix/unistd.h: Use __THREADNL instead of __THREAD
53657 for memory synchronization functions.
53658
94d44d9f
RM
536592011-10-26 Roland McGrath <roland@hack.frob.com>
53660
21b64b15 53661 [BZ #13349]
94d44d9f
RM
53662 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53663 doesn't exist.
53664 * manual/stdio.texi (Obstack Streams): Node removed.
53665
f6ce9294
AS
536662011-10-26 Andreas Schwab <schwab@redhat.com>
53667
80479147
AS
53668 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53669 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53670 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53671
f6ce9294
AS
53672 * math/math_private.h (math_force_eval): Allow non-addressable
53673 arguments.
53674 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53675
618280a1
UD
536762011-10-25 Ulrich Drepper <drepper@gmail.com>
53677
e0016b11
UD
53678 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53679 file is not needed.
53680
53681 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53688 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53689 Add AVX variants.
53690 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53691 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53692 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53693 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53694 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53695 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53696 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53697 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53698 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53699 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53700 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53701 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53703 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53704 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53705 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53706 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53707 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53708 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53709
53710 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53711 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
53712
618280a1
UD
53713 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53714 place. Use VEX encoding when compiling for AVX.
53715
37822576
AS
537162011-10-25 Andreas Schwab <schwab@redhat.com>
53717
1f1e1947
AS
53718 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53719 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53720
37822576
AS
53721 * string/test-strchr.c (do_test): Don't generate NUL bytes.
53722
31ea014d
UD
537232011-10-25 Ulrich Drepper <drepper@gmail.com>
53724
d7826aa1 53725 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 53726 useless if() expression.
d7826aa1
UD
53727 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53728 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53731 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53732 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53733 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53739 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53740 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53741 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53742 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53743 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53744 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53745 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53746
31ea014d
UD
53747 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53748
16437fec
AS
537492011-10-25 Andreas Schwab <schwab@redhat.com>
53750
53751 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53752 condition.
53753 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53754
31d3cc00
UD
537552011-10-25 Ulrich Drepper <drepper@gmail.com>
53756
53757 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53758 .text section. Avoid duplicate constants.
53759 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53767 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53768 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53769 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53770 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53771 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53772 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53773 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53775 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53776 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53777 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53782 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53783 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53784 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53785 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53786 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53787 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53788 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53789 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53790 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53792 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53793 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53794 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53795 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53797 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53798 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53799 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53800 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53801 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53802 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53803 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53804
58985aa9
UD
538052011-10-24 Ulrich Drepper <drepper@gmail.com>
53806
202c9deb
UD
53807 * sysdeps/x86_64/dla.h: Move to ...
53808 * sysdeps/x86_64/fpu/dla.h: ...here.
53809 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53810 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 53811
af968f62
UD
53812 * config.make.in: Add have-mfma4 entry.
53813 * configure.in: Substitute libc_cv_cc_fma4.
53814 * math/Makefile (dbl-only-routines): Add sincostab.
53815 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53816 Use __sincostab not sincos.
53817 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53818 name is a macro.
53819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
53823 using __copysign.
53824 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
53825 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
53826 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53827 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53828 and __inv.
53829 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53830 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53831 __copysign.
53832 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
53833 define aliases when function name is a macro.
53834 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53835 sysdeps/ieee754/dbl-64/sincos.tbl.
53836 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53837 fma4-enabled routines.
53838 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53839 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53840 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53841 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53842 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53843 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53844 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53845 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53846 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53847 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53848 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53849 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53850 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53851 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53852 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53853 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53854 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53855 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53856 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53858 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53859 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53861 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53863 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53864 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53865 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53866 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53867 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53868
58985aa9
UD
53869 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53870 rename.
53871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53879
a201fbcf
AS
538802011-10-24 Andreas Schwab <schwab@redhat.com>
53881
53882 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53883
fc2ee42a
LD
538842011-10-23 Ulrich Drepper <drepper@gmail.com>
53885
bb3129bd
UD
53886 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53887
0275fff8
UD
53888 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53889 prediction.
53890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53891
2fa2ae85
UD
53892 * string/strnlen.c: Don't define STRNLEN, reverse logic.
53893 Remove unused variable magic_bits.
53894 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53895
fc2ee42a
LD
53896 * string/strnlen.c: Define and use STRNLEN macro.
53897 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53898 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53899 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53900 * wcsmbs/wcslen.c: Define and use WCSLEN.
53901 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53902 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53903 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53904 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53905 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53906 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53907 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53908
ce7dd29f
LD
539092011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53910
53911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53912 strnlen-sse2-no-bsf.
53913 Rename strlen-no-bsf to strlen-sse2-no-bsf.
53914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53915 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53916 Add strnlen support.
53917 (USE_AS_STRNLEN): New macro.
53918 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53920 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53921 * sysdeps/x86_64/wcslen.S: New file.
53922
979c70a3
MZ
539232011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
53924
53925 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53926 XMM-moves are used for copying on small sizes.
53927
2d09f82f
LD
539282011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53929
53930 * wcsmbs/Makefile (strop-tests): Add wcschr.
53931 * wcsmbs/test-wcschr.c: New file.
53932 * string/test-strchr.c: Update.
53933 Add wcschr support.
53934 (WIDE): New macro.
53935
619fccca
LD
539362011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53937
2d09f82f 53938 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
53939 * wcsmbs/test-wcslen.c: New file.
53940 * string/test-strlen.c: Update.
53941 Add wcslen support.
53942 (WIDE): New macro.
53943
09f699ea
UD
539442011-10-23 Ulrich Drepper <drepper@gmail.com>
53945
53946 * po/it.po: Update from translation team.
53947
95584d3b
LD
539482011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53949
53950 * sysdeps/x86_64/wcscmp.S: Update.
53951 Fix wrong comparison semantics.
53952 wcscmp shall use signed comparison not unsigned.
53953 Don't use substraction to avoid overflow bug.
53954 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53955 * wcsmbc/wcscmp.c: Likewise.
53956 * string/test-strcmp.c: Likewise.
53957 Add new tests to check cases with negative values.
53958
c8b3296b
UD
539592011-10-23 Ulrich Drepper <drepper@gmail.com>
53960
53961 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53962 * sysdeps/x86_64/dla.h: ...here. New file.
53963 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53968 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53969 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53970 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53971 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53972
246ad57a
AS
539732011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53974
53975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53976 __ynl_finite aliases.
53977
a1a87169
UD
539782011-10-22 Ulrich Drepper <drepper@gmail.com>
53979
0d355eb7
UD
53980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53981
a1a87169
UD
53982 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53983 define DLA_FMA.
53984 [DLA_FMA] (EMULV): Use DLA_FMA.
53985 [DLA_FMA] (MUL12): Use EMULV.
53986 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53987 that are not needed.
53988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53995
ee2aafe0
AS
539962011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53997
53998 * math/s_nan.c: Undef __nan.
53999 * math/s_nanf.c: Undef __nanf.
54000 * math/s_nanl.c: Undef __nanl.
54001 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54002 "math_private.h".
54003
bc62c2fb
UD
540042011-10-22 Ulrich Drepper <drepper@gmail.com>
54005
77425c63
UD
54006 * math/s_catan.c: Add branch predictions.
54007 * math/s_catanf.c: Likewise.
54008 * math/s_catanh.c: Likewise.
54009 * math/s_catanhf.c: Likewise.
54010 * math/s_catanhl.c: Likewise.
54011 * math/s_catanl.c: Likewise.
54012 * math/s_cexp.c: Likewise.
54013 * math/s_cexpf.c: Likewise.
54014 * math/s_cexpl.c: Likewise.
54015 * math/s_clog.c: Likewise.
54016 * math/s_clog10.c: Likewise.
54017 * math/s_clog10f.c: Likewise.
54018 * math/s_clog10l.c: Likewise.
54019 * math/s_clogf.c: Likewise.
54020 * math/s_clogl.c: Likewise.
54021 * math/s_csqrt.c: Likewise.
54022 * math/s_csqrtf.c: Likewise.
54023 * math/s_csqrtl.c: Likewise.
54024 * math/s_ctanf.c: Likewise.
54025 * math/s_ctanh.c: Likewise.
54026 * math/s_ctanhf.c: Likewise.
54027 * math/s_ctanhl.c: Likewise.
54028 * math/s_ctanl.c: Likewise.
54029
bc62c2fb
UD
54030 * math/math_private.h: Define __nan, __nanf, __nanl.
54031 * math/s_cacosh.c: Include <math_private.h>.
54032 * math/s_cacoshl.c: Likewise.
54033 * math/s_casinh.c: Likewise.
54034 * math/s_casinhf.c: Likewise.
54035 * math/s_casinhl.c: Likewise.
54036 * math/s_ccos.c: Rely entire on ccosh.
54037 * math/s_ccosf.c: Rely entire on ccoshf.
54038 * math/s_ccosl.c: Rely entirely on ccoshl.
54039 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54040 Remove tests for FE_INVALID.
54041 * math/s_ccoshf.c: Likewise.
54042 * math/s_ccoshl.c: Likewise.
54043 * math/s_csin.c: Likewise.
54044 * math/s_csinf.c: Likewise.
54045 * math/s_csinh.c Likewise.
54046 * math/s_csinhf.c: Likewise.
54047 * math/s_csinhl.c: Likewise.
54048 * math/s_csinl.c: Likewise.
54049 * math/s_ctan.c: Likewise.
54050 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54051 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54052 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54053
8ec250a4
UD
540542011-10-21 Ulrich Drepper <drepper@gmail.com>
54055
c196fed8
UD
54056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54057 compilation problems.
54058
8ec250a4
UD
54059 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54060 __builtin_expect.
54061
8d4f46c6
UD
540622011-10-20 Ulrich Drepper <drepper@gmail.com>
54063
ed72b654
UD
54064 * sysdeps/i386/configure.in: Test for -mfma4 option.
54065 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54066 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54067 COMMON_CPUID_INDEX_80000001.
54068 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54069 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54070 use it if FMA3 is not supported.
54071 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54072
8d4f46c6
UD
54073 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54074 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54075
d45c60c2
AS
540762011-10-20 Andreas Schwab <schwab@redhat.com>
54077
54078 [BZ #12892]
54079 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54080 it would create a cycle with a link time dependency.
54081
d9a4d2ab
UD
540822011-10-19 Ulrich Drepper <drepper@gmail.com>
54083
855d1560
UD
54084 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54085 instruction.
54086 * string/Makefile (strop-tests): Add rawmemchr.
54087 * string/test-rawmemchr.c: New file.
54088
d9a4d2ab
UD
54089 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54091 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54092 when compiling str{,n}casecmp and when AVX is available. Hook up
54093 new optimized code in initializers.
54094
8f3b1ffe
AS
540952011-10-19 Andreas Schwab <schwab@redhat.com>
54096
54097 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54098 __feraiseexcept instead of feraiseexcept.
54099
d38f1dba
UD
541002011-10-18 Ulrich Drepper <drepper@gmail.com>
54101
d9a8d0ab
UD
54102 * math/math_private.h: Define defaults for libc_fetestexcept and
54103 libc_feupdateenv.
54104 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54105 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54106 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54107 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54108 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54109 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54110 libc_fetestexcept and libc_feupdateenv.
54111
4855e3dd
UD
54112 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54113 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54114 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54115 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54116 libc_feholdexcept_setround.
54117
581d30e3
UD
54118 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54119 Add s_nearbyint-c and s_nearbyintf-c.
54120 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54121 nearbyintf inlines.
54122 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54123 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54124 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54125 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54126
d38f1dba
UD
54127 * math/math_private.h: Define defaults for libc_fegetround,
54128 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54129 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54130 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54131 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54132 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54133 standard functions.
54134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54135 Remove comments and hacks for old compiler versions.
54136 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54137 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54138 libc_feholdexceptl.
54139
caa6c9d8
AS
541402011-10-18 Andreas Schwab <schwab@redhat.com>
54141
54142 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
54143 (__feraiseexcept_renamed): Add __NTH.
54144 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
54145 namespace violations.
54146
97c066e6
UD
541472011-10-17 Ulrich Drepper <drepper@gmail.com>
54148
99ce7b04
UD
54149 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54150
1004d182
UD
54151 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54152
228a984d
UD
54153 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54154 recently added interfaces.
54155 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54156
c8553a6a
UD
54157 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54158 about macro parameter expansion.
54159
ed22dcf6
UD
54160 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54161 __NO_MATH_INLINES is defined. Cleanups.
54162
54163 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54164 and __floorf is target has SSE4.1.
54165 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54166 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54167 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54168 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54169
b171c137
UD
54170 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54171 name.
54172 (floorf): Likewise.
54173
97c066e6
UD
54174 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54175
629f62ef
AS
541762011-10-17 Andreas Schwab <schwab@redhat.com>
54177
49a43d80
AS
54178 * misc/sys/cdefs.h: Fix last change.
54179
629f62ef
AS
54180 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54181 database lookup.
54182
e453f6cd
UD
541832011-10-16 Ulrich Drepper <drepper@gmail.com>
54184
aa78043a
UD
54185 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54186
ad0f5cad
UD
54187 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54189 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54190 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54192 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54193 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54194 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54195 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54196 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54197 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54198 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54199 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54200 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54201 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54202 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54203 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54204 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54205 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54206 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54207 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54208 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54209
54210 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54211 ceil, ceilf, floor, floorf.
54212
54213 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54214 Perform IRELATIVE relocations last.
54215
e453f6cd
UD
54216 * elf/do-rel.h: Add another parameter nrelative, replacing the
54217 local variable with the same name. Change name of the function
54218 to end in Rel or Rela (uppercase).
54219 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54220 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54221 elf_dynamic_do_##reloc function.
54222
fd5bdc09
UD
542232011-10-15 Ulrich Drepper <drepper@gmail.com>
54224
79b195b5
UD
54225 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54226 is sufficient, at least on modern CPUs.
54227
d4a28569
UD
54228 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54229
b61099b5
UD
54230 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54231 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54232
bcf01e6d
UD
54233 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54234 __expl_finite.
54235 * math/bits/math-finite.h: Add entries for exp.
54236 * math/e_expl.c: Add __*_finite alias.
54237 * sysdeps/i386/fpu/e_exp.S: Likewise.
54238 * sysdeps/i386/fpu/e_expf.S: Likewise.
54239 * sysdeps/i386/fpu/e_expl.c: Likewise.
54240 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54241 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54242 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54244 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54245 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54246 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54247
ba1a0d59
UD
54248 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54249 is sufficient, at least on modern CPUs.
54250
fd5bdc09
UD
54251 * ctype/ctype-info.c (__ctype_init): Define.
54252 * include/ctype.h (__ctype_init): Declare.
54253 (__ctype_b_loc): The variable is always initialized.
54254 (__ctype_toupper_loc): Likewise.
54255 (__ctype_tolower_loc): Likewise.
54256 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54257 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54258
7872cfb0
AS
542592011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54260
b468825a
AS
54261 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54262
7872cfb0
AS
54263 * configure.in: Also look in $cxxmachine/include for C++ system
54264 headers.
54265
be13f7bf
LD
542662011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54267
54268 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54269 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54270 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54271 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54272 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54273 (USE_AS_WMEMCMP): New macro.
54274 Fixing indents.
54275 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54276 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54277 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54278 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54280 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54281 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54282 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54283 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54284 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54285 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54286 (USE_AS_WMEMCMP): New macro.
54287 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54288 * sysdeps/string/test-memcmp.c: Update.
54289 Fix simple_wmemcmp.
54290 Add new tests.
54291 * wcsmbs/wmemcmp.c: Update.
54292 (WMEMCMP): New macro.
54293 Fix overflow bug.
54294
556a2007
AJ
542952011-10-12 Andreas Jaeger <aj@suse.de>
54296
54297 [BZ #13268]
54298 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54299
538faaa7
UD
543002011-10-15 Ulrich Drepper <drepper@gmail.com>
54301
ab6737ff
UD
54302 * libio/iofwide.c (do_length): Avoid warning.
54303
538faaa7
UD
54304 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54305
396a21b1
UD
543062011-10-14 Ulrich Drepper <drepper@gmail.com>
54307
cdf2901f
UD
54308 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54309
38ad40ce
UD
54310 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54311 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54312 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54313 * sysdeps/i386/i686/fpu/e_log.S: New file.
54314 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54315 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54316
396a21b1
UD
54317 * ctype/ctype.h: Add support for inlined isXXX functions when
54318 compiling C++ code.
54319
6b1f68c9
AS
543202011-10-14 Andreas Schwab <schwab@redhat.com>
54321
349290c0
AS
54322 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54323
6b1f68c9
AS
54324 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54325
f2282d42
RM
543262011-10-13 Roland McGrath <roland@hack.frob.com>
54327
54328 [BZ #13291]
54329 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54330
5298ffa8
AS
543312011-10-13 Andreas Schwab <schwab@redhat.com>
54332
714fad23
AS
54333 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54334 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54335 feraiseexcept.
54336
81dcc7fb
AS
54337 * sysdeps/x86_64/memrchr.S: Check for zero size.
54338
5298ffa8
AS
54339 * string/stratcliff.c: Add memrchr tests.
54340
951fbcec
LD
543412011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54342
54343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54344 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54345 rawmemchr-sse2 rawmemchr-sse2-bsf.
54346 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54347 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54348 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54349 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54350 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54351 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54352 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54353 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54354 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54355 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54356 * string/memrchr.c (MEMRCHR): New macro.
54357
0ac5ae23
UD
543582011-10-12 Ulrich Drepper <drepper@gmail.com>
54359
54360 Add integration with gcc's -ffinite-math-only and optimize wrapper
54361 functions in libm.
54362 * Versions.def: Define GLIBC_2.15 version for libm.
54363 * math/Makefile (headers): Add bits/math-finite.h.
54364 * math/bits/math-finite.h: New file.
54365 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54366 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54367 * math/e_acoshl.c: Add __*_finite alias.
54368 * math/e_acosl.c: Likewise.
54369 * math/e_asinl.c: Likewise.
54370 * math/e_atan2l.c: Likewise.
54371 * math/e_atanhl.c: Likewise.
54372 * math/e_coshl.c: Likewise.
54373 * math/e_exp10.c: Likewise.
54374 * math/e_exp10f.c: Likewise.
54375 * math/e_exp10l.c: Likewise.
54376 * math/e_exp2l.c: Likewise.
54377 * math/e_fmodl.c: Likewise.
54378 * math/e_gammal_r.c: Likewise.
54379 * math/e_hypotl.c: Likewise.
54380 * math/e_j0l.c: Likewise.
54381 * math/e_j1l.c: Likewise.
54382 * math/e_jnl.c: Likewise.
54383 * math/e_lgammal_r.c: Likewise.
54384 * math/e_log10l.c: Likewise.
54385 * math/e_log2l.c: Likewise.
54386 * math/e_logl.c: Likewise.
54387 * math/e_powl.c: Likewise.
54388 * math/e_sinhl.c: Likewise.
54389 * math/e_sqrtl.c: Likewise.
54390 * math/e_scalb.c: Completely rewritten and optimized.
54391 * math/e_scalbf.c: Likewise.
54392 * math/e_scalbl.c: Likewise.
54393 * math/w_acos.c: Likewise.
54394 * math/w_acosf.c: Likewise.
54395 * math/w_acosl.c: Likewise.
54396 * math/w_acosh.c: Likewise.
54397 * math/w_acoshf.c: Likewise.
54398 * math/w_acoshl.c: Likewise.
54399 * math/w_asin.c: Likewise.
54400 * math/w_asinf.c: Likewise.
54401 * math/w_asinl.c: Likewise.
54402 * math/w_atan2.c: Likewise.
54403 * math/w_atan2f.c: Likewise.
54404 * math/w_atan2l.c: Likewise.
54405 * math/w_atanh.c: Likewise.
54406 * math/w_atanhf.c: Likewise.
54407 * math/w_atanhl.c: Likewise.
54408 * math/w_exp10.c: Likewise.
54409 * math/w_exp10f.c: Likewise.
54410 * math/w_exp10l.c: Likewise.
54411 * math/w_fmod.c: Likewise.
54412 * math/w_fmodf.c: Likewise.
54413 * math/w_fmodl.c: Likewise.
54414 * math/w_j0.c: Likewise.
54415 * math/w_j0f.c: Likewise.
54416 * math/w_j0l.c: Likewise.
54417 * math/w_j1.c: Likewise.
54418 * math/w_j1f.c: Likewise.
54419 * math/w_j1l.c: Likewise.
54420 * math/w_jn.c: Likewise.
54421 * math/w_jnf.c: Likewise.
54422 * math/w_log.c: Likewise.
54423 * math/w_logf.c: Likewise.
54424 * math/w_logl.c: Likewise.
54425 * math/w_log10.c: Likewise.
54426 * math/w_log10f.c: Likewise.
54427 * math/w_log10l.c: Likewise.
54428 * math/w_log2.c: Likewise.
54429 * math/w_log2f.c: Likewise.
54430 * math/w_log2l.c: Likewise.
54431 * math/w_pow.c: Likewise.
54432 * math/w_powf.c: Likewise.
54433 * math/w_powl.c: Likewise.
54434 * math/w_remainder.c: Likewise.
54435 * math/w_remainderf.c: Likewise.
54436 * math/w_remainderl.c: Likewise.
54437 * math/w_scalb.c: Likewise.
54438 * math/w_scalbf.c: Likewise.
54439 * math/w_scalbl.c: Likewise.
54440 * math/w_sqrt.c: Likewise.
54441 * math/w_sqrtf.c: Likewise.
54442 * math/w_sqrtl.c: Likewise.
54443 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54444 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54445 used.
54446 * math/math_private.h: Declare __kernel_standard_f.
54447 * math/w_cosh.c: Remove cruft and optimize a bit.
54448 * math/w_coshf.c: Likewise.
54449 * math/w_coshl.c: Likewise.
54450 * math/w_exp2.c: Likewise.
54451 * math/w_exp2f.c: Likewise.
54452 * math/w_exp2l.c: Likewise.
54453 * math/w_hypot.c: Likewise.
54454 * math/w_hypotf.c: Likewise.
54455 * math/w_hypotl.c: Likewise.
54456 * math/w_lgamma.c: Likewise.
54457 * math/w_lgamma_r.c: Likewise.
54458 * math/w_lgammaf.c: Likewise.
54459 * math/w_lgammaf_r.c: Likewise.
54460 * math/w_lgammal.c: Likewise.
54461 * math/w_lgammal_r.c: Likewise.
54462 * math/w_sinh.c: Likewise.
54463 * math/w_sinhf.c: Likewise.
54464 * math/w_sinhl.c: Likewise.
54465 * math/w_tgamma.c: Likewise.
54466 * math/w_tgammaf.c: Likewise.
54467 * math/w_tgammal.c: Likewise.
54468 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54470 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54471 Minor optimizations. Pretty printing. Remove cruft.
54472 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54473 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54474 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54475 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54476 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54477 * sysdeps/i386/fpu/e_asin.S: Likewise.
54478 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54479 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54480 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54481 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54482 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54483 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54484 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54485 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54486 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54487 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54488 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54489 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54490 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54491 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54492 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54493 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54494 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54495 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54496 * sysdeps/i386/fpu/e_log.S: Likewise.
54497 * sysdeps/i386/fpu/e_log10.S: Likewise.
54498 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54500 * sysdeps/i386/fpu/e_log2.S: Likewise.
54501 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54502 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54503 * sysdeps/i386/fpu/e_logf.S: Likewise.
54504 * sysdeps/i386/fpu/e_logl.S: Likewise.
54505 * sysdeps/i386/fpu/e_pow.S: Likewise.
54506 * sysdeps/i386/fpu/e_powf.S: Likewise.
54507 * sysdeps/i386/fpu/e_powl.S: Likewise.
54508 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54509 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54510 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54511 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54512 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54513 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54514 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54515 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54516 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54517 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54518 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54520 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54521 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54522 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54523 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54524 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54525 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54526 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54527 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54528 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54530 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54531 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54533 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54534 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54535 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54537 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54538 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54539 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54540 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54541 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54542 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54543 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54544 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54545 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54546 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54548 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54550 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54551 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54552 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54553 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54554 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54555 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54556 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54557 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54558 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54559 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54560 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54561 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54562 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54563 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54564 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54565 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54566 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54567 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54568 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54569 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54570 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54571 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54572 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54573 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54574 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54575 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54576 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54577 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54578 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54581 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54582 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54583 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54585 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54587 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54588 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54591 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54594 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54596 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54597 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54598 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54599 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54600 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54601 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54602 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54604 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54605 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54606 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54607 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54608 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54609 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54610 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54611 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54612 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54613 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54614 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54615 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54616 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54617 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54618 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54619 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54620 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54621 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54622 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54623 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54625 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54626 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54627 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
54628 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54629 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54630 (__isnanf): Likewise.
54631 (__isinf_ns): Likewise.
54632 (__isinf_nsf): Likewise.
54633 (__finite): Likewise.
54634 (__finitef): Likewise.
54635 (__ieee754_sqrt): Define as macro.
54636 (__ieee754_sqrtf): Define as macro.
54637 (__ieee754_sqrtl): Define as macro.
54638 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54639 inlined copy.
54640 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54641 __FINITE_MATH_ONLY__ consistent.
54642 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54643
12cc2fcd
AS
546442011-10-10 Andreas Schwab <schwab@linux-m68k.org>
54645
a843a204
AS
54646 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54647 of rawmemchr.
54648
12cc2fcd
AS
54649 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54650
c853acd5
UD
546512011-10-09 Ulrich Drepper <drepper@gmail.com>
54652
54653 * po/ja.po: Update from translation team.
54654
c658d255
RM
546552011-10-08 Roland McGrath <roland@hack.frob.com>
54656
110946e4
RM
54657 * locale/programs/locarchive.c (prepare_address_space): New function.
54658 (create_archive, enlarge_archive, open_archive): Use it.
54659
50604220
RM
54660 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54661 inside [SHARED], where it is used.
54662
c658d255
RM
54663 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54664
54665 * nss/getent.c (netgroup_keys): Remove unused variable.
54666 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54667
6a621eb7
UD
546682011-10-08 Ulrich Drepper <drepper@gmail.com>
54669
7edb55ce
UD
54670 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54671 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54673 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54674 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54675 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54676 * math/Makefile (libm-calls): Add s_isinf_ns.
54677 * math/divtc3.c: Use __isinf_nsl instead of isinf.
54678 * math/multc3.c: Likewise.
54679 * math/s_casin.c: Likewise.
54680 * math/s_casinf.c: Likewise.
54681 * math/s_casinl.c: Likewise.
54682 * math/s_ccos.c: Likewise.
54683 * math/s_ccosf.c: Likewise.
54684 * math/s_ccosl.c: Likewise.
54685 * math/s_ctan.c: Likewise.
54686 * math/s_ctanf.c: Likewise.
54687 * math/s_ctanh.c: Likewise.
54688 * math/s_ctanhf.c: Likewise.
54689 * math/s_ctanhl.c: Likewise.
54690 * math/s_ctanl.c: Likewise.
54691 * math/w_fmod.c: Likewise.
54692 * math/w_fmodf.c: Likewise.
54693 * math/w_fmodl.c: Likewise.
54694 * math/w_remainder.c: Likewise.
54695 * math/w_remainderf.c: Likewise.
54696 * math/w_remainderl.c: Likewise.
54697 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54698 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54701 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54702 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54703 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54704 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54705
187da0ae
UD
54706 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54707 of the number.
54708 * stdio-common/printf_fphex.c: Likewise.
54709 * stdio-common/printf_size.c: Likewise.
54710
9277c064
UD
54711 * math/e_exp10.c: Include math_private.h using <...> not "...".
54712 * math/e_exp10f.c: Likewise.
54713 * math/e_exp10l.c: Likewise.
54714 * math/e_exp2l.c: Likewise.
54715 * math/e_j0l.c: Likewise.
54716 * math/e_j1l.c: Likewise.
54717 * math/e_jnl.c: Likewise.
54718 * math/e_lgammal_r.c: Likewise.
54719 * math/e_rem_pio2l.c: Likewise.
54720 * math/e_scalb.c: Likewise.
54721 * math/e_scalbf.c: Likewise.
54722 * math/e_scalbl.c: Likewise.
54723 * math/k_cosl.c: Likewise.
54724 * math/k_sinl.c: Likewise.
54725 * math/k_tanl.c: Likewise.
54726 * math/s_cacoshf.c: Likewise.
54727 * math/s_catan.c: Likewise.
54728 * math/s_catanf.c: Likewise.
54729 * math/s_catanh.c: Likewise.
54730 * math/s_catanhf.c: Likewise.
54731 * math/s_catanhl.c: Likewise.
54732 * math/s_catanl.c: Likewise.
54733 * math/s_ccosh.c: Likewise.
54734 * math/s_ccoshf.c: Likewise.
54735 * math/s_ccoshl.c: Likewise.
54736 * math/s_cexp.c: Likewise.
54737 * math/s_cexpf.c: Likewise.
54738 * math/s_cexpl.c: Likewise.
54739 * math/s_clog.c: Likewise.
54740 * math/s_clog10.c: Likewise.
54741 * math/s_clog10f.c: Likewise.
54742 * math/s_clog10l.c: Likewise.
54743 * math/s_clogf.c: Likewise.
54744 * math/s_clogl.c: Likewise.
54745 * math/s_csin.c: Likewise.
54746 * math/s_csinf.c: Likewise.
54747 * math/s_csinh.c: Likewise.
54748 * math/s_csinhf.c: Likewise.
54749 * math/s_csinhl.c: Likewise.
54750 * math/s_csinl.c: Likewise.
54751 * math/s_csqrt.c: Likewise.
54752 * math/s_csqrtf.c: Likewise.
54753 * math/s_csqrtl.c: Likewise.
54754 * math/s_ctan.c: Likewise.
54755 * math/s_ctanf.c: Likewise.
54756 * math/s_ctanh.c: Likewise.
54757 * math/s_ctanhf.c: Likewise.
54758 * math/s_ctanhl.c: Likewise.
54759 * math/s_ctanl.c: Likewise.
54760 * math/s_ldexp.c: Likewise.
54761 * math/s_ldexpf.c: Likewise.
54762 * math/s_ldexpl.c: Likewise.
54763 * math/s_significand.c: Likewise.
54764 * math/s_significandf.c: Likewise.
54765 * math/s_significandl.c: Likewise.
54766 * math/w_acos.c: Likewise.
54767 * math/w_acosf.c: Likewise.
54768 * math/w_acosh.c: Likewise.
54769 * math/w_acoshf.c: Likewise.
54770 * math/w_acoshl.c: Likewise.
54771 * math/w_acosl.c: Likewise.
54772 * math/w_asin.c: Likewise.
54773 * math/w_asinf.c: Likewise.
54774 * math/w_asinl.c: Likewise.
54775 * math/w_atan2.c: Likewise.
54776 * math/w_atan2f.c: Likewise.
54777 * math/w_atan2l.c: Likewise.
54778 * math/w_atanh.c: Likewise.
54779 * math/w_atanhf.c: Likewise.
54780 * math/w_atanhl.c: Likewise.
54781 * math/w_cosh.c: Likewise.
54782 * math/w_coshf.c: Likewise.
54783 * math/w_coshl.c: Likewise.
54784 * math/w_dremf.c: Likewise.
54785 * math/w_exp10.c: Likewise.
54786 * math/w_exp10f.c: Likewise.
54787 * math/w_exp10l.c: Likewise.
54788 * math/w_exp2.c: Likewise.
54789 * math/w_exp2f.c: Likewise.
54790 * math/w_fmod.c: Likewise.
54791 * math/w_fmodf.c: Likewise.
54792 * math/w_fmodl.c: Likewise.
54793 * math/w_hypot.c: Likewise.
54794 * math/w_hypotf.c: Likewise.
54795 * math/w_hypotl.c: Likewise.
54796 * math/w_j0.c: Likewise.
54797 * math/w_j0f.c: Likewise.
54798 * math/w_j0l.c: Likewise.
54799 * math/w_j1.c: Likewise.
54800 * math/w_j1f.c: Likewise.
54801 * math/w_j1l.c: Likewise.
54802 * math/w_jn.c: Likewise.
54803 * math/w_jnf.c: Likewise.
54804 * math/w_jnl.c: Likewise.
54805 * math/w_lgamma.c: Likewise.
54806 * math/w_lgamma_r.c: Likewise.
54807 * math/w_lgammaf.c: Likewise.
54808 * math/w_lgammaf_r.c: Likewise.
54809 * math/w_lgammal.c: Likewise.
54810 * math/w_lgammal_r.c: Likewise.
54811 * math/w_log.c: Likewise.
54812 * math/w_log10.c: Likewise.
54813 * math/w_log10f.c: Likewise.
54814 * math/w_log10l.c: Likewise.
54815 * math/w_log2.c: Likewise.
54816 * math/w_log2f.c: Likewise.
54817 * math/w_log2l.c: Likewise.
54818 * math/w_logf.c: Likewise.
54819 * math/w_logl.c: Likewise.
54820 * math/w_pow.c: Likewise.
54821 * math/w_powf.c: Likewise.
54822 * math/w_powl.c: Likewise.
54823 * math/w_remainder.c: Likewise.
54824 * math/w_remainderf.c: Likewise.
54825 * math/w_remainderl.c: Likewise.
54826 * math/w_scalb.c: Likewise.
54827 * math/w_scalbf.c: Likewise.
54828 * math/w_scalbl.c: Likewise.
54829 * math/w_sinh.c: Likewise.
54830 * math/w_sinhf.c: Likewise.
54831 * math/w_sinhl.c: Likewise.
54832 * math/w_sqrt.c: Likewise.
54833 * math/w_sqrtf.c: Likewise.
54834 * math/w_sqrtl.c: Likewise.
54835 * math/w_tgamma.c: Likewise.
54836 * math/w_tgammaf.c: Likewise.
54837 * math/w_tgammal.c: Likewise.
54838
6a621eb7
UD
54839 * po/ja.po: Update from translation team.
54840
bf582445
AJ
548412011-09-29 Andreas Jaeger <aj@suse.de>
54842
f9efbf3a
AJ
54843 [BZ #13179]
54844 * sunrpc/netname.c (netname2host): Fix logic.
54845
bf582445
AJ
54846 [BZ #6779]
54847 [BZ #6783]
54848 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54849 correctly.
54850 * math/w_remainder.c (__remainder): Likewise.
54851 * math/w_remainderf.c (__remainderf): Likewise.
54852 * math/libm-test.inc (remainder_test): Add test cases.
54853
48693bea
AK
548542011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54855
54856 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
54857 sdiv_qrnnd.
54858
42622229
LD
548592011-10-07 Ulrich Drepper <drepper@gmail.com>
54860
54861 * string/test-memcmp.c: Avoid unncessary #defines.
54862 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54863
093ecf92
LD
548642011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54865
54866 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54867 Use new sse2 version for core i3 - i7 as it's faster
54868 than sse42 version.
54869 (bit_Prefer_PMINUB_for_stringop): New.
54870 * sysdeps/x86_64/rawmemchr.S: Update.
54871 Replace with faster SSE2 version.
54872 * sysdeps/x86_64/memrchr.S: New file.
54873 * sysdeps/x86_64/memchr.S: Update.
54874 Replace with faster SSE2 version.
54875
fde56e5c
MP
548762011-09-12 Marek Polacek <mpolacek@redhat.com>
54877
54878 * elf/dl-load.c (lose): Add cast to avoid warning.
54879
21fd49a9
UD
548802011-10-07 Ulrich Drepper <drepper@gmail.com>
54881
5a06e643
UD
54882 * po/ca.po: Update from translation team.
54883
684ae515
UD
54884 * inet/getnetgrent_r.c: Hook up nscd.
54885 * nscd/Makefile (routines): Add nscd_netgroup.
54886 (nscd-modules): Add netgroupcache.
54887 (CFLAGS-netgroupcache.c): Define.
54888 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54889 (cache_search): Add const to second parameter.
54890 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54891 INNETGR.
54892 (dbs): Add netgrdb entry.
54893 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54894 (verify_persistent_db): Handle netgrdb.
54895 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54896 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54897 GETFDNETGR.
54898 (netgroup_response_header): Define.
54899 (innetgroup_response_header): Define.
54900 (datahead): Add netgroup_response_header and innetgroup_response_header
54901 elements.
54902 * nscd/nscd.conf: Add entries for netgroup cache.
54903 * nscd/nscd.h (dbtype): Add netgrdb.
54904 (_PATH_NSCD_NETGROUP_DB): Define.
54905 (netgroup_iov_disabled): Declare.
54906 (xmalloc, xcalloc, xrealloc): Move declarations here.
54907 (cache_search): Adjust prototype.
54908 Add netgroup-related prototypes.
54909 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54910 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54911 (__nscd_innetgr): Declare.
54912 * nscd/selinux.c (perms): Use access_vector_t as element type and
54913 add netgroup-related initializers.
54914 * nscd/netgroupcache.c: New file.
54915 * nscd/nscd_netgroup.c: New file.
54916 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54917 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54918 For four parameters use innetgr.
54919 * nss/nss_files/files-init.c: Add definition and callback for netgr.
54920 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54921 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54922 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54923
21fd49a9
UD
54924 * nscd/connections.c (register_traced_file): Don't register file
54925 for disabled databases.
54926
054c0457
UD
549272011-10-06 Ulrich Drepper <drepper@gmail.com>
54928
32b63198
UD
54929 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54930
054c0457
UD
54931 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54932 from tree and freeing node.
54933
64031225
JO
549342011-09-25 Jiri Olsa <jolsa@redhat.com>
54935
54936 * nss/nsswitch.c (__nss_database_lookup): Handle
54937 nss_parse_service_list out of memory case.
54938
0490345c
JO
549392011-09-15 Jiri Olsa <jolsa@redhat.com>
54940
54941 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54942 out of memory case.
54943
3a62d00d
AS
549442011-10-04 Andreas Schwab <schwab@redhat.com>
54945
54946 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54947 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54948 pass it down.
54949 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54950 elf_machine_rela, elf_machine_lazy_rel.
54951 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54952 (ELF_DYNAMIC_DO_REL): Likewise.
54953 (ELF_DYNAMIC_DO_RELA): Likewise.
54954 (ELF_DYNAMIC_RELOCATE): Likewise.
54955 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54956 to ELF_DYNAMIC_DO_REL.
54957 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54958 (dl_main): In trace mode always set __RTLD_NOIFUNC.
54959 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54960 elf_machine_rela.
54961 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54962 skip_ifunc, don't call ifunc function if non-zero.
54963 (elf_machine_rela): Likewise.
54964 (elf_machine_lazy_rel): Likewise.
54965 (elf_machine_lazy_rela): Likewise.
54966 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54967 (elf_machine_lazy_rel): Likewise.
54968 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54969 Likewise.
54970 (elf_machine_lazy_rel): Likewise.
54971 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54972 Likewise.
54973 (elf_machine_lazy_rel): Likewise.
54974 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54975 (elf_machine_lazy_rel): Likewise.
54976 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54977 (elf_machine_lazy_rel): Likewise.
54978 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54979 (elf_machine_lazy_rel): Likewise.
54980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54981 (elf_machine_lazy_rel): Likewise.
54982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54983 (elf_machine_lazy_rel): Likewise.
54984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54985 (elf_machine_lazy_rel): Likewise.
54986
68577918
UD
549872011-09-28 Ulrich Drepper <drepper@gmail.com>
54988
54989 * nss/nss_files/files-init.c (_nss_files_init): Use static
54990 initialization for all the *_traced_file variables.
54991
68822d74
AS
549922011-09-28 Andreas Schwab <schwab@redhat.com>
54993
54994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54995
2056100b
RM
549962011-09-27 Roland McGrath <roland@hack.frob.com>
54997
54998 [BZ #13226]
54999 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55000
32c76b63
AS
550012011-09-27 Andreas Schwab <schwab@redhat.com>
55002
55003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55004 Reread the line before reparsing it.
55005
bf972c9d
AS
550062011-09-26 Andreas Schwab <schwab@redhat.com>
55007
55008 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55009
e057a1b5
JM
550102011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55011 Maxim Kuvyrkov <maxim@codesourcery.com>
55012 Joseph Myers <joseph@codesourcery.com>
55013
55014 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55015 if needed for __stack_chk_guard.
55016
bc7e1c36
RM
550172011-09-19 Roland McGrath <roland@hack.frob.com>
55018
ecb1482f
RM
55019 * sysdeps/posix/spawni.c (script_execute): Always define it.
55020 It will be optimized away if unused.
55021 (maybe_script_execute): New function.
55022 (__spawni): Call it.
55023
bc7e1c36
RM
55024 * Makerules: Don't include tls.make.
55025 (config-tls): Always set to thread.
55026 * tls.make.c: File removed.
55027
1c3b002b
MF
550282011-09-19 Mike Frysinger <vapier@gentoo.org>
55029
55030 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55031 * config.make.in (CPPFLAGS-config): New substituted variable.
55032
2840865d
UD
550332011-09-15 Ulrich Drepper <drepper@gmail.com>
55034
88738eb6
UD
55035 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55036
cbf645a6 55037 [BZ #13192]
2840865d
UD
55038 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55039 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55040
b402e91a
RM
550412011-09-15 Roland McGrath <roland@hack.frob.com>
55042
55043 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55044 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55046 (CALL_FAIL): Likewise.
55047 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55048 (CALL_FAIL): Macro removed.
55049 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55050
4c1a1f71
UD
550512011-09-15 Ulrich Drepper <drepper@gmail.com>
55052
55053 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55054 for __FINITE_MATH_ONLY__ == 1.
55055
edc121be
AS
550562011-09-15 Andreas Schwab <schwab@redhat.com>
55057
55058 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55059 __ieee754_sqrt instead of sqrt.
55060 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55061 __ieee754_sqrtf instead of sqrtf.
55062 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55063 __floorf instead of floorf.
55064 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55065 __floorf, __truncf instead of floorf, truncf.
55066
cd205654
UD
550672011-09-14 Ulrich Drepper <drepper@gmail.com>
55068
ee4d0315
UD
55069 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55070
cd205654
UD
55071 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55072 __extern_always_inline.
55073 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55074 32-bit.
55075
48b67d71
AS
550762011-09-14 Andreas Schwab <schwab@redhat.com>
55077
55078 * elf/rtld.c (dl_main): Also relocate in dependency order when
55079 doing symbol dependency testing.
55080
1ae12c75
AS
550812011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55082
55083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55084 Always define `refsym'.
55085
995a80df
AS
550862011-09-13 Andreas Schwab <schwab@redhat.com>
55087
e529793b
AS
55088 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55089 (__FD_ELT): Renamed from __FDELT.
55090 * misc/bits/select2.h (__FD_ELT): Likewise.
55091 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55092 __FD_MASK instead of __FDELT, __FDMASK.
55093 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55094 Likewise.
55095 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55096 Likewise.
55097
52d4fef8
AS
55098 * elf/Makefile (gen-ldd): Fix pattern.
55099
995a80df
AS
55100 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55101 (init_tls): Likewise.
55102
8682f8b0
UD
551032011-09-12 Ulrich Drepper <drepper@gmail.com>
55104
55105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55106
de82006d
AS
551072011-09-12 Andreas Schwab <schwab@redhat.com>
55108
a7c8e6a1
AS
55109 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55110 `struct cmsghdr *' instead of `void *'.
55111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55112 Likewise.
55113
0f31fe77
AS
551142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55115
55116 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55117 if non-absolute.
55118 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55119 ldd_rewrite_script.
0f31fe77 55120
32b4c839
UD
551212011-09-11 Ulrich Drepper <drepper@gmail.com>
55122
83cd1420
UD
55123 * configure.in: Remove --with-tls option.
55124 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55125 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55126 out in case it is missing.
55127 * sysdeps/ia64/elf/configure.in: Likewise.
55128 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55129 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55130 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55131 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55132 * sysdeps/sh/elf/configure.in: Likewise.
55133 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55134 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55135 * sysdeps/x86_64/elf/configure.in: Likewise.
55136 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55137 * sysdeps/mach/hurd/tls.h: Likewise.
55138
633f745d
UD
55139 [BZ #13067]
55140 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55141
f318beb8
UD
55142 [BZ #13090]
55143 * configure.in: Fix use of AC_INIT.
55144
32b4c839
UD
55145 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55146
3ce1f295
UD
551472011-09-10 Ulrich Drepper <drepper@gmail.com>
55148
bb016596
UD
55149 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55150 __set_errno.
8e58439c
UD
55151 * malloc/hooks.c: Likewise.
55152
aebae053 55153 [BZ #11929]
02d46fc4
UD
55154 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55155 variables statically.
55156 (narenas): Initialize.
55157 (list_lock): Initialize.
bb016596
UD
55158 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55159 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
55160 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55161 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55162 Add initializers to main_arena and mp_.
55163 (malloc_state): Remove pagesize member. Change all users to use
55164 GLRO(dl_pagesize).
55165
55166 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55167 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55168 is always initialized.
55169
22a89187
UD
55170 * malloc/malloc.c: Removed unused configurations and dead code.
55171 * malloc/arena.c: Likewise.
55172 * malloc/hooks.c: Likewise.
02d46fc4 55173 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 55174
d063d164
UD
55175 * include/tls.h: Removed. USE___THREAD must always be defined.
55176 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55177 * elf/dl-libc.c: Likewise.
55178 * elf/dl-tsd.c: Likewise.
55179 * include/errno.h: Likewise.
55180 * include/netdb.h: Likewise.
55181 * include/resolv.h: Likewise.
55182 * inet/herrno-loc.c: Likewise.
55183 * inet/herrno.c: Likewise.
55184 * malloc/arena.c: Likewise.
55185 * malloc/hooks.c: Likewise.
55186 * malloc/malloc.c: Likewise.
55187 * resolv/res-state.c: Likewise.
55188 * resolv/res_libc.c: Likewise.
55189 * sysdeps/i386/dl-machine.h: Likewise.
55190 * sysdeps/ia64/dl-machine.h: Likewise.
55191 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55192 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55193 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55194 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55195 * sysdeps/sh/dl-machine.h: Likewise.
55196 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55197 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55198 * sysdeps/unix/i386/sysdep.S: Likewise.
55199 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55200 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55201 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55205 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55209 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55210 * sysdeps/x86_64/dl-machine.h: Likewise.
55211 * tls.make.c: Likewise.
55212
3ce1f295
UD
55213 * configure.in: Remove --with-__thread option. Make tests for
55214 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55215 tls_model attribute fail if no support is available. Remove
55216 USE_IN_LIBIO.
55217 * Makeconfig: Adjust for dropped configure option. All features are
55218 now mandatory.
55219 * Makerules: Likewise.
55220 * Versions.def: Likewise.
55221 * argp/argp-fmtstream.c: Likewise.
55222 * argp/argp-fmtstream.h: Likewise.
55223 * argp/argp-help.c: Likewise.
55224 * assert/assert.c: Likewise.
55225 * config.h.in: Likewise.
55226 * config.make.in: Likewise.
55227 * configure: Likewise.
55228 * configure.in: Likewise.
55229 * csu/Versions: Likewise.
55230 * csu/init.c: Likewise.
55231 * elf/tst-audit2.c: Likewise.
55232 * elf/tst-tls10.c: Likewise.
55233 * elf/tst-tls10.h: Likewise.
55234 * elf/tst-tls11.c: Likewise.
55235 * elf/tst-tls12.c: Likewise.
55236 * elf/tst-tls14.c: Likewise.
55237 * elf/tst-tlsmod11.c: Likewise.
55238 * elf/tst-tlsmod12.c: Likewise.
55239 * elf/tst-tlsmod13.c: Likewise.
55240 * elf/tst-tlsmod13a.c: Likewise.
55241 * elf/tst-tlsmod14a.c: Likewise.
55242 * elf/tst-tlsmod15b.c: Likewise.
55243 * elf/tst-tlsmod16a.c: Likewise.
55244 * elf/tst-tlsmod16b.c: Likewise.
55245 * elf/tst-tlsmod7.c: Likewise.
55246 * elf/tst-tlsmod8.c: Likewise.
55247 * elf/tst-tlsmod9.c: Likewise.
55248 * gmon/gmon.c: Likewise.
55249 * grp/fgetgrent_r.c: Likewise.
55250 * grp/putgrent.c: Likewise.
55251 * hurd/fopenport.c: Likewise.
55252 * include/libc-symbols.h: Likewise.
55253 * include/tls.h: Likewise.
55254 * intl/gettextP.h: Likewise.
55255 * intl/loadinfo.h: Likewise.
55256 * locale/global-locale.c: Likewise.
55257 * locale/localeinfo.h: Likewise.
55258 * mach/devstream.c: Likewise.
55259 * malloc/arena.c: Likewise.
55260 * malloc/set-freeres.c: Likewise.
55261 * misc/err.c: Likewise.
55262 * misc/getttyent.c: Likewise.
55263 * misc/mntent_r.c: Likewise.
55264 * posix/getopt.c: Likewise.
55265 * posix/wordexp.c: Likewise.
55266 * pwd/fgetpwent_r.c: Likewise.
55267 * resolv/Versions: Likewise.
55268 * resolv/res_hconf.c: Likewise.
55269 * shadow/fgetspent_r.c: Likewise.
55270 * shadow/putspent.c: Likewise.
55271 * stdio-common/printf_fphex.c: Likewise.
55272 * stdio-common/tmpfile.c: Likewise.
55273 * stdlib/abort.c: Likewise.
55274 * stdlib/fmtmsg.c: Likewise.
55275 * sunrpc/auth_unix.c: Likewise.
55276 * sunrpc/clnt_perr.c: Likewise.
55277 * sunrpc/clnt_tcp.c: Likewise.
55278 * sunrpc/clnt_udp.c: Likewise.
55279 * sunrpc/clnt_unix.c: Likewise.
55280 * sunrpc/openchild.c: Likewise.
55281 * sunrpc/svc_simple.c: Likewise.
55282 * sunrpc/svc_tcp.c: Likewise.
55283 * sunrpc/svc_udp.c: Likewise.
55284 * sunrpc/svc_unix.c: Likewise.
55285 * sunrpc/xdr.c: Likewise.
55286 * sunrpc/xdr_array.c: Likewise.
55287 * sunrpc/xdr_rec.c: Likewise.
55288 * sunrpc/xdr_ref.c: Likewise.
55289 * sunrpc/xdr_stdio.c: Likewise.
55290
1248c1c4
PB
552912011-09-09 Ulrich Drepper <drepper@gmail.com>
55292
55293 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55294
552952011-07-03 Andreas Jaeger <aj@suse.de>
55296
55297 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55298 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55299 regenerate with gen-libm-tests.pl.
55300
553012010-05-12 Petr Baudis <pasky@suse.cz>
55302
55303 [BZ #11589]
55304 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55305 around j0() zero points by switching to j1().
55306 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55309 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55310
f22e1074
UD
553112011-09-09 Ulrich Drepper <drepper@gmail.com>
55312
f19009c1
UD
55313 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55314 instead of 0.
55315 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 55316 instead of 0.
f19009c1
UD
55317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55318 Patch in part by Pavel Roskin <proski@gnu.org>.
55319
3f8cc204
UD
55320 [BZ #13138]
55321 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55322 realloc.
55323 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55324 Free memory block if necessary.
55325
f22e1074
UD
55326 [BZ #12847]
55327 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55328 be NULL. Don't lock in this case.
55329
0a2349f9
RM
553302011-09-09 Roland McGrath <roland@hack.frob.com>
55331
55332 * elf/elf.h (ELFOSABI_GNU): New macro.
55333 (ELFOSABI_LINUX): Define to that.
55334
f3cdd467
DZ
553352011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55336
55337 * string/strncat.c (strncat): Undef the symbol in case it has been
55338 defined in bits/string.h.
55339
74718d13
UD
553402011-09-09 Ulrich Drepper <drepper@gmail.com>
55341
633e9e0f
UD
55342 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55343
0a2349f9 55344 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
55345 link map.
55346
f9924780
AJ
553472011-08-17 Andreas Jaeger <aj@suse.de>
55348
55349 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55350
7f5517aa
PP
553512011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55352 Ian Lance Taylor <iant@google.com>
55353
55354 * math/libm-test.inc (lround_test): New testcase.
55355 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55356
762011fe
UD
553572011-09-08 Ulrich Drepper <drepper@gmail.com>
55358
92963737
UD
55359 * Makefile: Remove support for automatic cvs check-ins.
55360 * Makerules: Likewise.
55361 * config.make.in: Likewise.
55362 * configure.in: Likewise.
55363 * intl/Makefile: Likewise.
55364 * locale/Makefile: Likewise.
55365 * po/Makefile: Likewise.
55366 * posix/Makefile: Likewise.
55367 * sysdeps/gnu/Makefile: Likewise.
55368 * sysdeps/mach/hurd/Makefile: Likewise.
55369 * sysdeps/sparc/sparc32/Makefile: Likewise.
55370
b0727fd8
JS
55371 [BZ #13118]
55372 * posix/Makefile (bug-regex32-ENV): Define.
55373 Patch by John Stanley <jpsinthemix@verizon.net>.
55374
a0f33f99
UD
55375 * misc/Makefile (headers): Add bits/select2.h.
55376 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55377 * misc/bits/select2.h: New file.
55378 * include/bits/select2.h: New file.
55379 * debug/Makefile (routines): Add fdelt_chk.
55380 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55381 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55382 FD_ISSET.
55383 * debug/fdelt_chk.c: New file.
55384
762011fe
UD
55385 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55386 * wcsmbs/test-wmemcmp.c: Likewise.
55387 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 55388 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
55389
553902011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55391
55392 * string/Makefile (strop-tests): Add memcmp.
55393 * string/test-wmemcmp.c: New file.
55394 * string/test-memcmp.c: Add wmemcmp support.
55395
7f513ec8
RM
553962011-09-08 Roland McGrath <roland@hack.frob.com>
55397
0442afb4
RM
55398 [BZ #13153]
55399 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55400 2011-07-19 change.
55401
7f513ec8
RM
55402 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55403 garbage value in a __mach_port_mod_refs call in the cases of the
55404 task-self and thread-self ports.
55405
a12b2239
ST
554062011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55407
55408 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55409
610f9ab4
AS
554102011-09-08 Andreas Schwab <schwab@redhat.com>
55411
7f513ec8 55412 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 55413
48882a1a
LD
554142011-09-07 Ulrich Drepper <drepper@gmail.com>
55415
b49865be
UD
55416 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55417
fdc86bc9
UD
55418 * elf/dl-libc.c (dlerror_run): Pass back error code from
55419 dl_catch_error.
55420
c966526a
UD
55421 [BZ #13123]
55422 * elf/dl-load.c (lose): Free l_origin if it is valid.
55423
48882a1a
LD
55424 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55425 names.
55426 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55427 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55429 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55430 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55431 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55432
77a2a8b4
AZ
554332011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55434
55435 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55436 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55437 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55438 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55439 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55440 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55441 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55442 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55443 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55444 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55445
24f579d8
AM
554462011-08-15 Alan Modra <amodra@gmail.com>
55447
55448 [BZ #13092]
55449 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55450 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55451 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55452 ppc_mcount to static-only-routines.
55453 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55454 __mcount_internal.
55455 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55456 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55457
3d4837df
UD
554582011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55459
55460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55461 for finite and infinity parameters.
55462
22700377
WS
554632011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55464
55465 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55466 and add nop instructions for throughput optimization.
55467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55468
5025581e
WS
554692011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
55470
55471 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55472 aligned copy for power7 with vector-scalar instructions.
55473 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55474
08a300c9
L
554752011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55476
55477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55478 AVX check.
55479
59178ef9
AS
554802011-09-07 Andreas Schwab <schwab@redhat.com>
55481
55482 [BZ #13144]
55483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55484 last change.
55485
e38ba7ab
UD
554862011-09-07 Ulrich Drepper <drepper@gmail.com>
55487
55488 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55489 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55490 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55491 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55492 clock_gettime.
55493
d53a73ac
UD
554942011-09-06 Ulrich Drepper <drepper@gmail.com>
55495
fc8bffcc
UD
55496 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55497 Forgot to demangle the pointer.
55498
ceaa0c5d
UD
55499 * sysdeps/i386/sysdep.h: Define atom_text_section.
55500 * sysdeps/x86_64/sysdep.h: Likewise.
55501 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55502 section with atom_text_section.
55503 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55504 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55505 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55507 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55508
a77d3c17
UD
55509 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55510 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55511 already be defined. Change to take two parameters and don't assign
55512 result to variable. Adjust all users.
55513 Define INTERNAL_GETTIME if not already defined.
55514 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55515 call.
55516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55517 HAVE_CLOCK_GETTIME_VSYSCALL.
55518 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55519
d53a73ac
UD
55520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55521 gettimeofday vsyscall, just use time.
55522
a8f84144
AS
555232011-09-06 Andreas Schwab <schwab@redhat.com>
55524
55525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55526 <errno.h>.
55527
ef606249
UD
555282011-09-06 Ulrich Drepper <drepper@gmail.com>
55529
55530 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55531 syscall on x86-64.
55532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55533 syscall.
55534 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55535 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55536 syscall if possible.
55537
6585cb60
UD
555382011-09-05 Ulrich Drepper <drepper@gmail.com>
55539
55540 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55541 e_ident. Don't pass to find_mapsXX.
55542 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55543
a5f524e4
LD
555442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55545
55546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55547 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55548 * sysdeps/x86_64/multiarch/strchr.S: Update.
55549 Check bit_slow_BSF bit.
55550 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55551 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55553
554881ef
UD
555542011-09-05 Ulrich Drepper <drepper@gmail.com>
55555
d96de963
UD
55556 [BZ #13134]
55557 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55558 before glibc 2.15.
55559 (tryshell): Define.
55560 (__spawni): Change last parameter to be flag. Test
55561 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55562 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55563 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55564 * posix/spawni.c: Likewise.
55565 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55566 * posix/spawnp.c: Likewise. Change normal version to use
55567 SPAWN_XFLAGS_USE_PATH.
55568 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55569 SPAWN_XFLAGS_TRY_SHELL.
55570
d48e5868
UD
55571 [BZ #13150]
55572 * posix/glob.h: Remove gcc 1.x support.
55573
554881ef
UD
55574 [BZ #13068]
55575 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55576
693fb948
LD
555772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55578
55579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55580 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55581 strrchr-sse2-bsf
55582 * sysdeps/i386/i686/multiarch/strchr.S: New file.
55583 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55584 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55585 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55586 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55587 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55588
1b48c537
UD
555892011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55590
49d42c37
UD
55591 * sysdeps/x86_64/wcscmp.S: New file.
55592
1b48c537
UD
55593 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55594 wcscmp-c wcscmp-sse2
55595 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55596 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55597 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55598 * wcsmbs/wcscmp.c: Allow renaming.
55599
15c95c5d
DM
556002011-09-05 David S. Miller <davem@davemloft.net>
55601
55602 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55603 stack slot, rather than the struct return pointer slot.
55604 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55605 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55607 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55608
2f0ad8f3
UD
556092011-09-05 Ulrich Drepper <drepper@gmail.com>
55610
d88ae418
UD
55611 * po/ja.po: Update from translation team.
55612
2f0ad8f3
UD
55613 [BZ #13144]
55614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55615 kernel in 64-bit binaries.
55616
5f4318d1
DM
556172011-09-01 David S. Miller <davem@davemloft.net>
55618
55619 * elf/elf.h (HWCAP_SPARC_*): Move to..
55620 * sysdeps/sparc/sysdep.h: this new file and add new values.
55621 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55622 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55623 _DL_HWCAP_COUNT to 24.
55624 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55625 entries.
55626 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55627 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55628 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55630 instead of magic constants.
55631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55632
3ba57516
DM
556332011-08-31 David S. Miller <davem@davemloft.net>
55634
55635 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55637 Reimplement to do errno handling inline.
55638 (SYSCALL_ERROR_HANDLER): New macro.
55639 (__SYSCALL_STRING): Do not do errno handling in asm.
55640 (__CLONE_SYSCALL_STRING): Delete.
55641 (__INTERNAL_SYSCALL_STRING): Delete.
55642 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55643 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55644 (PSEUDO): Reimplement to do errno handling inline.
55645 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55646 (SYSCALL_ERROR_HANDLER): New macro.
55647 (__SYSCALL_STRING): Do not do errno handling in asm.
55648 (__CLONE_SYSCALL_STRING): Delete.
55649 (__INTERNAL_SYSCALL_STRING): Delete.
55650 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55651 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55652 i386.
55653 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55654 (inline_syscall*): Add 'err' argument.
55655 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55656 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55657 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55658 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55659
55660 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55661 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55662
2bc17433
AS
556632011-08-30 Andreas Schwab <schwab@redhat.com>
55664
55665 * elf/rtld.c (dl_main): Relocate objects in dependency order.
55666
fbeb5f4d
JO
556672011-08-29 Jiri Olsa <jolsa@redhat.com>
55668
55669 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55670 directive.
55671
ad69cc26
DM
556722011-08-24 David S. Miller <davem@davemloft.net>
55673
55674 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55675
39dd69df
AS
556762011-08-24 Andreas Schwab <schwab@redhat.com>
55677
55678 * elf/Makefile: Add rules to build and run unload8 test.
55679 * elf/unload8.c: New file.
55680 * elf/unload8mod1.c: New file.
55681 * elf/unload8mod1x.c: New file.
55682 * elf/unload8mod2.c: New file.
55683 * elf/unload8mod3.c: New file.
55684
55685 * elf/dl-close.c (_dl_close_worker): Reset private search list if
55686 it wasn't used.
55687
2c0b250a
DM
556882011-08-23 David S. Miller <davem@davemloft.net>
55689
55690 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55691 subtract stack bias.
55692 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55693 %sp not %fp in calculations.
55694 (_JMPBUF_UNWINDS_ADJ): Likewise.
55695
22044b48
DM
55696 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55697 (aio_suspend): Call it to force an exception region around the
55698 AIO_MISC_WAIT() invocation.
55699
2cae4995
AS
557002011-08-23 Andreas Schwab <schwab@redhat.com>
55701
55702 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55703 backslash.
55704
873a772e
AJ
557052011-07-04 Aurelien Jarno <aurelien@aurel32.net>
55706
55707 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55708 protection macro.
55709 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55710 and <dl-machine.h>.
55711 (Elf64_FuncDesc): Remove.
55712
25ad0df1
DM
557132011-08-22 David S. Miller <davem@davemloft.net>
55714
55715 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55716 sigaltstack check, add missing cfi directives.
55717 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55718 missing cfi directives, and sigaltstack handling.
55719
e888bcbe
AS
557202011-08-16 Andreas Schwab <schwab@redhat.com>
55721
55722 [BZ #11724]
55723 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55724 object is seen twice.
55725 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55726
55727 * elf/Makefile (distribute): Add tst-initorder2.c.
55728 (tests): Add tst-initorder2.
55729 (modules-names): Add tst-initorder2a tst-initorder2b
55730 tst-initorder2c tst-initorder2d. Add rules to build them.
55731 ($(objpfx)tst-initorder2.out): New rule.
55732 * elf/tst-initorder2.c: New file.
55733 * elf/tst-initorder2.exp: New file.
55734
87162f46
AS
557352011-08-22 Andreas Schwab <schwab@redhat.com>
55736
70538b7f
AS
55737 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55738
f55ffe58
AS
55739 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55740 dependencies back to end of function.
55741
87162f46
AS
55742 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55743 $(elfobjdir)/ld.so.
55744
91b392a4
UD
557452011-08-21 Ulrich Drepper <drepper@gmail.com>
55746
55747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55748 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55749 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55750 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55751 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55752 of __vdso_gettimeofday.
55753 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55754 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
55755 attribute_hidden.
55756 (_libc_vdso_platform_setup): Remove initialization of
55757 __vdso_gettimeofday and __vdso_time.
55758
5c43483f
UD
557592011-08-20 Ulrich Drepper <drepper@gmail.com>
55760
775a77e7
UD
55761 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55762 and fgetc_unlocked.
55763 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55764 getc_unlocked.
89f447ed 55765
49c74ba9
UD
55766 * elf/dl-open.c (add_to_global): Report additions to the global scope
55767 for LD_DEBUG=scopes.
55768 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 55769 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 55770
5c43483f
UD
55771 [BZ #13114]
55772 * stdio-common/Makefile (tests): Add bug24.
55773 * stdio-common/bug24.c: New file.
55774
a101b025
AJ
557752011-08-19 Andreas Jaeger <aj@suse.de>
55776
55777 [BZ #13114]
55778 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55779 non-existant file when using close-on-exec mode.
55780
c88f1766
UD
557812011-08-20 Ulrich Drepper <drepper@gmail.com>
55782
0276a718
UD
55783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55784 the very first instruction.
55785
c88f1766
UD
55786 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55787 the CFI state in the end.
55788 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55789 inclusion of dl-trampoline.h.
55790 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55791
51ccffa0
AS
557922011-08-19 Andreas Schwab <schwab@redhat.com>
55793
94d7165f
AS
55794 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55795 expectations for long double.
55796
51ccffa0
AS
55797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55798 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55799
fd708658 558002011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
55801
55802 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55803 artificual limit depends upon the system page size.
55804
44f0a71e
UD
558052011-08-17 Ulrich Drepper <drepper@gmail.com>
55806
55807 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55808 * resolv/Makefile: Define CFLAGS-libresolv.
55809
8de79a24
AS
558102011-08-17 Andreas Schwab <schwab@redhat.com>
55811
55812 * nss/makedb.c (compute_tables): Make variables used in nested
55813 function static.
55814
27724598
UD
558152011-08-17 Ulrich Drepper <drepper@gmail.com>
55816
c5305d88
UD
55817 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55818 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55819 if buffer was too small.
55820
27724598
UD
55821 * elf/pldd.c (main): Attach to all threads in the process.
55822 Rewrite /proc handling to use *at functions.
55823
076fe015
UD
558242011-08-16 Ulrich Drepper <drepper@gmail.com>
55825
174baab3
UD
55826 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55827 specifies first scope to show.
55828 (dl_open_worker): Update callers. Move printing scope of new
55829 object to before the relocation.
44f0a71e 55830 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
55831 * sysdeps/generic/ldsodefs.h: Update declaration.
55832
076fe015
UD
55833 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55834 string for the scope number.
55835
a60df2c3
UD
558362011-08-14 Ulrich Drepper <drepper@gmail.com>
55837
55838 * nscd/servicescache.c (cache_addserv): Make sure written is always
55839 initialized.
55840
5e4287d1
RM
558412011-08-14 Roland McGrath <roland@hack.frob.com>
55842
85ae0589
RM
55843 * sysdeps/i386/i486/bits/atomic.h
55844 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55845 statement expression, so as to suppress "set but not used" warning.
55846 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55847
69f63097
RM
55848 * string/strncat.c (STRNCAT): Use prototype definition.
55849
675456ef
RM
55850 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55851 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55852 -Iprograms here.
55853 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55854 (localedef-modules): Add localedef.
55855 (locale-modules): Add locale.
55856
5e4287d1
RM
55857 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55858 * elf/rtld.c (dl_main): Invert order of assignment in last change,
55859 to avoid a warning.
55860
9c96ff23
DM
558612011-08-14 David S. Miller <davem@davemloft.net>
55862
55863 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55864 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55865
f9ddf089
UD
558662011-08-13 Ulrich Drepper <drepper@gmail.com>
55867
44f0a71e 55868 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
55869 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55870 * elf/rtld.c (dl_main): Set l_name of vDSO.
55871 Call _dl_show_scope when DL_DEBUG_SCOPES.
55872 (process_dl_debug): Recognize scopes flag and also set it for all.
55873 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55874 Declare _dl_show_scope.
55875
1dc27704
UD
55876 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55877 (do_dlopen): Pass caller_dlopen to dl_open.
55878 (__libc_dlopen_mode): Initialize caller_dlopen.
55879
f9ddf089
UD
55880 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55881 of libc. Make tolower call locale-independent. Optimize a bit by
55882 using isdigit instead of isalnum.
55883 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55884
9ac533d3
UD
558852011-08-12 Ulrich Drepper <drepper@gmail.com>
55886
55887 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55888 was a dependency or dynamically loaded.
55889
89edf2e9
UD
558902011-08-11 Ulrich Drepper <drepper@gmail.com>
55891
8e999d29
UD
55892 * intl/l10nflist.c: Allow architecture-specific pop function.
55893 * sysdeps/x86_64/l10nflist.c: New file.
55894
89edf2e9
UD
55895 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55896 classification.
55897
14d96785
AS
558982011-08-10 Andreas Schwab <schwab@redhat.com>
55899
55900 * include/dirent.h: Add libc_hidden_proto for scandirat and
55901 scandirat64. Don't declare __scandirat64.
55902 * dirent/scandirat.c: Add libc_hidden_def.
55903 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55904 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55905
6761ac04
DM
559062011-08-10 David S. Miller <davem@davemloft.net>
55907
55908 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55909 enum.
55910 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55911 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55912 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55913
c55fbd1e
UD
559142011-08-09 Ulrich Drepper <drepper@gmail.com>
55915
55916 * Versions.def [libc]: Add GLIBC_2.15.
55917 * dirent/Makefile (routines): Add scandirat and scandirat64.
55918 * dirent/Versions [libc]: Export scandirat and scandirat64 for
55919 GLIBC_2.15.
55920 * dirent/dirent.h: Declare scandirat and scandirat64.
55921 * dirent/scandirat.c: New file.
55922 * dirent/scandirat64.c: New file.
55923 * sysdeps/wordsize-64/scandirat.c: New file.
55924 * sysdeps/wordsize-64/scandirat64.c: New file.
55925 * dirent/opendir.c: Define opendirat.
55926 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
55927 using scandirat.
55928 * dirent/scandir64.c: Adjust for scandir.c change.
55929 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
55930 __scandirat64, and __scandir_cancel_handler.
55931 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
55932 additional parameter and use openat instead of open (outside of ld.so).
55933 Add new __opendir as wrapper around __opendirat.
55934 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55935 here without requiring old scandirat implementation.
55936
879165f2
UD
559372011-08-08 Ulrich Drepper <drepper@gmail.com>
55938
55939 * dirent/scandir.c (cancel_handler): Renamed to
55940 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
55941 defined. Adjust users.
55942 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55943 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55944
cb7e923b
UD
559452011-08-04 Ulrich Drepper <drepper@gmail.com>
55946
16292edd
UD
55947 * string/test-string.h (IMPL): Use __STRING to expand name and then
55948 stringify it.
55949
cb7e923b
UD
55950 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
55951 of cleanups.
55952
cff82933
LD
559532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55954
55955 * string/Makefile: Update.
55956 (strop-tests): Append strncat.
55957 * string/test-wcscmp.c: New file.
55958 New comprehensive test for wcscmp.
55959 * string/test-strcmp.c: Update.
55960 (WIDE): New define.
55961
9be9bfcc
AS
559622011-07-22 Andreas Schwab <schwab@redhat.com>
55963
55964 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55965 line.
55966
2e96f1c7
AS
559672011-07-26 Andreas Schwab <schwab@redhat.com>
55968
55969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55970 encoding to ACE if AI_IDN.
55971
85188888
JJ
559722011-08-01 Jakub Jelinek <jakub@redhat.com>
55973
55974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55975 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55976
5fa16e9b
LD
559772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55978
55979 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55980 Fix overflow bug in strncat.
55981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55982
55983 * string/test-strncat.c: Update.
55984 Add new tests for checking overflow bugs.
55985
559862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55987
55988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55989 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55990 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55991 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55993 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55994 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55995 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55996 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55997
55998 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55999 (USE_AS_STRCAT): Define.
56000 Add strcat and strncat support.
56001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56002
8c1a459f
AS
560032011-07-25 Andreas Schwab <schwab@redhat.com>
56004
56005 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56006 __n bigger than INT_MAX+1.
56007 (__strncmp_g): Likewise.
56008
bba33c28
UD
560092011-07-23 Ulrich Drepper <drepper@gmail.com>
56010
798be72d
UD
56011 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56012 * libio/stido.h: Likewise.
56013
8accd4dc
UD
56014 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56015 (AF_NFC): Define.
56016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56017 (AF_NFC): Define.
56018
cbff0d96
UD
56019 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56020 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56022 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56024
9191c04a
UD
56025 [BZ #13021]
56026 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56027 installed.
56028
bba33c28
UD
56029 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56030 typo.
56031 (_dl_x86_64_save_sse): Likewise.
56032
90f139dd
UD
560332011-07-22 Ulrich Drepper <drepper@gmail.com>
56034
1aae088a
UD
56035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56036 OSXSAVE.
56037 (_dl_x86_64_save_sse): Likewise.
56038
8e2045f5
UD
56039 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56040
90f139dd
UD
56041 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56042
1d002f25
AS
560432011-07-21 Andreas Schwab <schwab@redhat.com>
56044
56045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56046 change.
56047 (_dl_x86_64_save_sse): Use correct AVX check.
56048
21137f89
UD
560492011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56050
56051 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56052 bug in strncpy/strncat.
56053 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56054
a65c0b7a
UD
560552011-07-21 Ulrich Drepper <drepper@gmail.com>
56056
56057 * string/tester.c (test_strcat): Add tests for different alignments
56058 of source and destination.
56059 (test_strncat): Likewise.
56060
6986b98a
UD
560612011-07-20 Ulrich Drepper <drepper@gmail.com>
56062
90bb2039
UD
56063 [BZ #12852]
56064 * posix/glob.c (glob): Check passed in values before using them in
56065 expressions to avoid some overflows.
56066 (glob_in_dir): Likewise.
56067
5644ef54
UD
56068 [BZ #13007]
56069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56070 check for AVX enablement so that we don't crash with old kernels and
56071 new hardware.
56072 * elf/tst-audit4.c: Add same checks here.
56073 * elf/tst-audit6.c: Likewise.
56074
56075 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 56076
bfc9dc9b
AS
560772011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56078
56079 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56080
702e64bb
UD
560812011-07-20 Ulrich Drepper <drepper@gmail.com>
56082
56083 * po/cs.po: Update from translation team.
56084 * po/bg.po: Likewise.
56085
295e904f
MP
560862011-07-12 Marek Polacek <mpolacek@redhat.com>
56087
56088 * misc/sys/cdefs.h: Add support for const attribute.
56089 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56090 to gnu_dev_{major,minor,makedev} functions.
56091
3ff94596
MP
560922011-07-20 Marek Polacek <mpolacek@redhat.com>
56093
56094 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56095
28b59fca
AS
560962011-07-20 Andreas Schwab <schwab@redhat.com>
56097
56098 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56099 strlen results.
56100
19df733e
AK
561012011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56102
56103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56104 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56105 register in order to avoid conflicts with the soft frame pointer
56106 being held in r11 when necessary.
56107 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56108 (INTERNAL_VSYSCALL_NCS): Likewise.
56109
c8835729
MP
561102011-07-14 Marek Polacek <mpolacek@redhat.com>
56111
56112 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56113 * elf/dl-fini.c (_dl_fini): Adjust caller.
56114 * elf/dl-close.c (_dl_close_worker): Likewise.
56115 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56116
b902330c
MP
561172011-07-15 Marek Polacek <mpolacek@redhat.com>
56118
8991e135
MP
56119 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56120 "aux_cache->nlibs < 0".
56121
b902330c
MP
56122 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56123 in the reload-count case.
56124
99710781
LD
561252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56126
56127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56128 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56129 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56130 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56131 * sysdeps/x86_64/multiarch/strcat.S: New file.
56132 * sysdeps/x86_64/multiarch/strncat.S: New file.
56133 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56134 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56135 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56136 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56138 (USE_AS_STRCAT): Define.
56139 Add strcat and strncat support.
56140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56142 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56143 * string/strncat.c: Update.
56144 (USE_AS_STRNCAT): Define.
56145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56146 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56147 and i7.
56148 * sysdeps/x86_64/multiarch/init-arch.h
56149 (bit_Prefer_PMINUB_for_stringop): New.
56150 (index_Prefer_PMINUB_for_stringop): Likewise.
56151 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56152 bit_Prefer_PMINUB_for_stringop.
56153
7dc6bd90
UD
561542011-07-19 Ulrich Drepper <drepper@gmail.com>
56155
56156 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56157 buffer64.
56158 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56159 of casting of buffer.
56160 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56161 buffer32 and buffer64.
56162 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56163 writes instead of casting of buffer.
56164 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56165 buffer32.
56166 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56167 casting of buffer.
56168
e0e72284
AS
561692011-07-19 Andreas Schwab <schwab@redhat.com>
56170
56171 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56172
feb1eb0b
UD
561732011-07-19 Ulrich Drepper <drepper@gmail.com>
56174
56175 * nscd/nscd.c (termination_handler): Don't do anything for a database
56176 if it has not yet been initialized.
56177
298711ff
UD
561782011-07-18 Ulrich Drepper <drepper@gmail.com>
56179
56180 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56181
561822011-07-15 Marek Polacek <mpolacek@redhat.com>
56183
56184 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56185
f9d68389
UD
561862011-07-18 Ulrich Drepper <drepper@gmail.com>
56187
56188 * po/nl.po: Update from translation team.
56189 * po/sv.po: Likewise.
56190
db290cf5
RM
561912011-07-16 Roland McGrath <roland@hack.frob.com>
56192
56193 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56194 now disallowed by GCC.
5c550700 56195
fd5e21c7
RM
56196 * configure.in (use-default-link): Default to yes if a test -shared
56197 link meets our qualifications.
56198 * configure: Regenerated.
56199
5c550700
RM
56200 * config.make.in (output-format): New variable.
56201 * configure.in: Check for ld --print-output-format support.
56202 * configure: Regenerated.
56203 * Makerules ($(common-objpfx)format.lds)
56204 [$(output-format) != unknown]: Just use $(output-format),
56205 instead of the linker-script munging.
56206
9fa2c032
RM
562072011-07-14 Roland McGrath <roland@hack.frob.com>
56208
a6928d51
RM
56209 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56210 of $(common-objpfx)shlib.lds.
56211 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56212
661607b3
RM
56213 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56214 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56215
9fa2c032
RM
56216 * configure.in (-z relro check): Adjust test code to add a large
56217 writable data section after it.
56218 * configure: Regenerated.
56219
defe9061
RM
562202011-07-11 Roland McGrath <roland@hack.frob.com>
56221
56222 * configure.in (-z relro check): Fix test code to make the variable
56223 truly const.
56224 * configure: Regenerated.
56225
319b9ad4
UD
562262011-07-11 Ulrich Drepper <drepper@gmail.com>
56227
56228 * nscd/nscd.h (struct traced_file): Define.
56229 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56230 elements. Add traced_files.
56231 (inotify_fd): Declare.
56232 (register_traced_file): Declare.
56233 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56234 (inotify_fd): Export.
56235 (resolv_conf_descr): Remove.
56236 (nscd_init): Move inotify descriptor creation to main.
56237 Don't register files for notification here.
56238 (register_traced_file): New function.
56239 (invalidate_cache): Don't use reset_res to determine whether to call
56240 res_init, go through the list of registered files.
56241 (main_loop_poll): The inotify descriptors are now stored in the
56242 structures for the traced files.
56243 (main_loop_epoll): Likewise
56244 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56245 to __nss_disable_nscd.
56246 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56247 for a database anymore. Check the records for all the registered
56248 files instead.
56249 * nss/Makefile (libnss_files-routines): Add files-init.
56250 (libnss_db-routines): Add db-init.
56251 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56252 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56253 * nss/nss_db/db-init.c: New file.
56254 * nss/nss_files/files-init.c: New file.
56255 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56256 __nss_lookup_function.
56257 (__nss_lookup_function): Call nss_load_library.
56258 (nss_load_all_libraries): New function.
56259 (__nss_disable_nscd): Take parameter with callback function for files
56260 to register. Set is_nscd. Load all the DSOs for the NSS modules
56261 used for the cached services.
56262 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56263 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56264 options for features to all the files in nscd.
56265
56266 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56267
23bee3e8
RM
562682011-07-10 Roland McGrath <roland@hack.frob.com>
56269
56270 * csu/elf-init.c (__libc_csu_init): Comment typo.
56271
46a5b7f0
UD
562722011-07-09 Ulrich Drepper <drepper@gmail.com>
56273
56274 * po/pl.po: Update from translation team.
56275 * po/ja.po: Likewise.
56276 * po/ru.po: Likewise.
56277 * po/ko.po: Likewise.
56278 * po/fr.po: Likewise.
56279
d30cf5bb
RM
562802011-07-09 Roland McGrath <roland@hack.frob.com>
56281
113ddea4
RM
56282 * configure.in (.ctors/.dtors header and trailer check):
56283 Use an empirical test on a built program.
56284 * configure: Regenerated.
56285
574920b4
RM
56286 * configure.in (-z relro check): Use an empirical test on a built DSO.
56287 Detect, but do not require, on ia64.
56288 * configure: Regenerated.
56289
d30cf5bb
RM
56290 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56291 Update tests that use readelf to use $READELF instead.
56292 * configure: Regenerated.
56293
8538fdb3
UD
562942011-07-08 Ulrich Drepper <drepper@gmail.com>
56295
56296 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56297 if the result is not used.
56298
04d08991
AJ
562992011-07-05 Andreas Jaeger <aj@suse.de>
56300
56301 [BZ#9696]
56302 * stdlib/tst-strtod.c: Add testcase.
56303
de283087
AD
563042011-07-07 Ulrich Drepper <drepper@gmail.com>
56305
4e5f31c8 56306 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 56307 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
56308 The latter has a higher limit. Take additional parameter to pass to
56309 the new function.
56310 (__pathconf): Pass file to __statfs_link_max.
56311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56312 __statfs_link_max.
56313 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56314 __statfs_link_max.
56315
de283087
AD
56316 [BZ #12868]
56317 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56318 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56319 Handle Lustre.
56320 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56321 (__statfs_filesize_max): Likewise.
56322 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56323
c75fa153
AJ
563242011-07-05 Andreas Jaeger <aj@suse.de>
56325
56326 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56327
1a544854
UD
563282011-07-06 Marek Polacek <mpolacek@redhat.com>
56329
56330 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56331 `status' variable.
56332 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56333 Likewise.
56334
6f0eec67
UD
563352011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56336
56337 * Makefile (strop-tests): Add strncat.
56338 * string/test-strncat.c: New file.
56339
aae30307
UD
563402011-06-30 Marek Polacek <mpolacek@redhat.com>
56341
56342 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56343
c0cfb5eb
UD
563442011-06-21 Andreas Jaeger <aj@suse.de>
56345
56346 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56347 Copy rule from iconvdata/Makefile.
56348
01636b21
UD
563492011-07-06 Ulrich Drepper <drepper@gmail.com>
56350
56351 [BZ #12922]
56352 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56353 but no long options are defined, just return 'W'.
56354
9895c8bc
UD
563552011-06-22 Marek Polacek <mpolacek@redhat.com>
56356
56357 [BZ #9696]
56358 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56359
5d4cf042
UD
563602011-07-06 Ulrich Drepper <drepper@gmail.com>
56361
56362 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56363 netgroups to read.
960e5535 56364 (innetgr): Likewise.
5d4cf042 56365
751eb97e
RM
563662011-07-05 Roland McGrath <roland@hack.frob.com>
56367
56368 * config.make.in (install_root): Default to $(DESTDIR).
56369
f15f1e45
UD
563702011-07-05 Ulrich Drepper <drepper@gmail.com>
56371
56372 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56373
4e34ac6a
RM
563742011-07-02 Roland McGrath <roland@hack.frob.com>
56375
5e9b6af4
RM
56376 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56377
84f9ea0f
RM
56378 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56379 containing directory rather than embedding absolute directory names.
56380
ea5ee9f7
RM
56381 * scripts/check-local-headers.sh: Rewritten using awk.
56382 Match by word, not by line. Print error messages for matches.
56383 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56384
1b74661a
RM
56385 * Makerules [shlib-lds-flags empty]:
56386 ($(common-objpfx)libc_pic.opts): New target.
56387 ($(common-objpfx)libc_pic.os.clean): New target.
56388 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56389
56390 * config.make.in (OBJCOPY): New variable.
56391 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56392 * configure: Regenerated.
56393
f781ef40
RM
56394 * config.make.in (use-default-link): New variable.
56395 * configure.in (use_default_link): Grok --with-default-link to set it.
56396 * configure: Regenerated.
56397 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56398 (shlib-lds, shlib-lds-flags): Define to empty.
56399
2d4fa81e
RM
56400 * Makerules (shlib-lds): New variable.
56401 (shlib-lds-flags): New variable.
56402 (build-shlib, build-moduile, build-module-asneeded): Use it.
56403 ($(common-objpfx)libc.so): Use $(shlib-lds).
56404 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56405 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56406
31fffa6b
RM
56407 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56408 DT_FLAGS/DT_FLAGS_1 with zero flags.
56409
4e34ac6a
RM
56410 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56411 linker script munging.
56412
fcfc776b
UD
564132011-07-02 Ulrich Drepper <drepper@gmail.com>
56414
56415 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56416 as 128-bit value.
56417 * crypt/sha512.c (sha512_process_block): Perform total addition using
56418 128-bit if possible.
56419 (__sha512_finish_ctx): Likewise.
56420 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56421 as 64-bit value.
56422 * crypt/sha256.c (SWAP64): Define.
56423 (sha256_process_block): Perform total addition using 64-bit if
56424 possible.
56425 (__sha256_finish_ctx): Likewise.
56426
99231d9a
UD
564272011-07-01 Ulrich Drepper <drepper@gmail.com>
56428
56429 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56431 * nscd/hstcache.c (cache_addhst): Likewise.
56432 * nscd/grpcache.c (cache_addgr): Likewise.
56433 * nscd/aicache.c (addhstaiX): Likewise
56434 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56435
445b4a53
TK
564362011-07-01 Thorsten Kukuk <kukuk@suse.de>
56437
56438 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56440 * nscd/hstcache.c (cache_addhst): Likewise.
56441 * nscd/grpcache.c (cache_addgr): Likewise.
56442 * nscd/aicache.c (addhstaiX): Likewise
56443
6d4d8e8e
AS
564442011-07-01 Andreas Schwab <schwab@redhat.com>
56445
56446 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56447 domain only when needed.
56448
89f654c5
AS
564492011-06-30 Andreas Schwab <schwab@redhat.com>
56450
56451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56452 is always restored.
56453
cf3b23ff
UD
564542011-06-29 Ulrich Drepper <drepper@gmail.com>
56455
56456 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56457 are re-adding the entry.
56458 * nscd/servicescache.c (cache_addserv): Likewise.
56459
751626f9
AJ
564602011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56461
56462 * sysdeps/generic/dl-irel.h: fix protection against multiple
56463 inclusions.
56464 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56465
9113ea1f
UD
564662011-06-28 Ulrich Drepper <drepper@gmail.com>
56467
5c0b8d90
UD
56468 [BZ #12935]
56469 * malloc/memusage.sh: Fix quoting in message.
56470 * debug/xtrace.sh: Likewise.
56471
9113ea1f
UD
56472 * configure.in: Remove support for --experimental-malloc option, make
56473 it the default.
56474 * config.make.in: Likewise.
56475 * malloc/Makefile: Likewise.
56476
a4172181
AS
564772011-06-27 Andreas Schwab <schwab@redhat.com>
56478
56479 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56480 two-byte characters.
56481
78a7eee7
RM
564822011-06-27 Roland McGrath <roland@hack.frob.com>
56483
62bede13
RM
56484 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56485 AC_CACHE_CHECK invocation.
56486 * configure: Regenerated.
56487
78a7eee7
RM
56488 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56489
5ce33a62
UD
564902011-06-27 Ulrich Drepper <drepper@gmail.com>
56491
034807a9
UD
56492 [BZ #12350]
56493 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56494 bit from old_res_options.
56495
4902da17
UD
56496 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56497
5ce33a62
UD
56498 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56499 value type for setfct.
56500
c2344f56
L
565012011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56502
56503 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56504 __gettimeofday instead of gettimeofday.
56505
68468076
UD
565062011-06-26 Ulrich Drepper <drepper@gmail.com>
56507
56508 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56509
acb0d739
L
565102011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56511
56512 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56513
56514 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56515 info.
56516
8912479f
L
565172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56518
56519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56520 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56521 strcpy-sse2-unaligned strncpy-sse2-unaligned
56522 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56523 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56524 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56525 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56526 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56527 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56529 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56530 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56531 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56532 (STRCPY): Support SSE2 and SSSE3 versions.
56533
d5495a11
UD
565342011-06-24 Ulrich Drepper <drepper@gmail.com>
56535
56536 [BZ #12874]
56537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56538 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56539 kernels which artificially limit size of requests.
56540
0b1cbaae
L
565412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56542
56543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56544 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56545 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56546 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56547 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56548 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56549 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56550 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56551 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56553 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56554 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56555 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56556 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56557 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56559 Enable unaligned load optimization for Intel Core i3, i5 and i7
56560 processors.
56561 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56562 Define.
56563 (index_Fast_Unaligned_Load): Define.
56564 (HAS_FAST_UNALIGNED_LOAD): Define.
56565
07f494a0
MP
565662011-06-23 Marek Polacek <mpolacek@redhat.com>
56567
56568 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56569
fa3fc0fe
UD
565702011-06-22 Ulrich Drepper <drepper@gmail.com>
56571
56572 [BZ #12907]
56573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56574 until it is clear that the information is realy needed.
56575 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56576
e12df166
AS
565772011-06-22 Andreas Schwab <schwab@redhat.com>
56578
56579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56580
852eb34d
UD
565812011-06-22 Ulrich Drepper <drepper@gmail.com>
56582
84e2a551
UD
56583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56584 /sys/devices/system/cpu/online if it is usable.
56585
852eb34d
UD
56586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56587 reading the information from the /proc filesystem to once a second.
56588
6e502e19
UD
565892011-06-21 Andreas Jaeger <aj@suse.de>
56590
56591 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56592 NULL after inclusion of kernel headers.
56593
75d39ff2
UD
565942011-06-21 Ulrich Drepper <drepper@gmail.com>
56595
51f9aa6a
UD
56596 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56597 calls to internal_setent.
56598
c0244a9d
UD
56599 [BZ #12885]
56600 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56601 addresses using gethostbyname4_r ignore IPv4 addresses.
56602
c5e3c2ae
UD
56603 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56604 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
56605
75d39ff2
UD
56606 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56607
42675c6f
DM
566082011-06-20 David S. Miller <davem@davemloft.net>
56609
56610 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56611 inclusions.
56612 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56613
56614 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56615 (elf_irel): Use it.
56616 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56617 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56618 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56619 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56620 * sysdeps/x86_64/dl-irel.h: Likewise.
56621
56622 * elf/dl-runtime.c: Use elf_ifunc_invoke.
56623 * elf/dl-sym.c: Likewise.
56624
57912a71
UD
566252011-06-15 Ulrich Drepper <drepper@gmail.com>
56626
56627 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
56628 need to dereference resplen2.
56629
ee22793d
AS
566302011-06-14 Andreas Schwab <schwab@redhat.com>
56631
56632 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56633
a9e836b0
UD
566342011-06-15 Ulrich Drepper <drepper@gmail.com>
56635
77fb9117
UD
56636 * Makeconfig: Define vardbdir and inst_vardbdir.
56637 * nss/Makefile: Add rules to install db-Makefile.
56638
40c1b22c
UD
56639 * nss/nss_db/db-XXX.c: Cleanup.
56640
9f2da732
UD
56641 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56642 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56643 GLIBC_PRIVATE.
56644 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56645 * nss/makedb.c: Implement -g option to specify that value strings
56646 are generated and should not be added to table iterated over for
56647 get*ent calls.
56648 * nss/nss_db/db-initgroups.c: New file.
56649
82e9a1f7
UD
56650 * nss/getent.c: Add support for initgroups lookups through getgrouplist
56651 interface.
56652
c41af17e
UD
56653 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56654 (internal_getgrouplist): Adjust to name change.
56655 Update use_initgroups_entry if this is not the first call.
56656 * nss/databases.def: Add initgroups entry.
56657
a9e836b0
UD
56658 * nss/makedb.c (compute_tables): Check result of multiple hash table
56659 sizes to minimize maximum chain length.
56660
2666d441
UD
566612011-06-14 Ulrich Drepper <drepper@gmail.com>
56662
56663 * Versions.def: Add entry for libnss_db.
56664 * shlib-versions: Likewise.
56665 * nss/Makefile: Add rules to build libnss_db.
56666 * nss/Versions: Add libnss_db information. Organize libnss_files
56667 entries better.
56668 * nss/db-Makefile: Add gshadow support. Change rules for the new
56669 makedb progra. Some minor improvements to generate smaller files.
56670 * nss/nss_db/nss_db.h: Move NSS database header data structures to
56671 here from...
56672 * nss/makedb.c: ...here.
56673 Improve database format to be smaller and require less memory at
56674 runtime.
56675 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
56676 db anymore.
56677 * nss/nss_db/db-netgrp.c: Likewise.
56678 * nss/nss_db/db-open.c: Likewise.
56679 * nss/nss_files/flies-XXX.x: Adjust comments.
56680 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56681 * nss/nss_files/files-grp.c: Likewise.
56682 * nss/nss_files/files-hosts.c: Likewise.
56683 * nss/nss_files/files-network.c: Likewise.
56684 * nss/nss_files/files-proto.c: Likewise.
56685 * nss/nss_files/files-pwd.c: Likewise.
56686 * nss/nss_files/files-rpc.c: Likewise.
56687 * nss/nss_files/files-service.c: Likewise.
56688 * nss/nss_files/files-sgrp.c: Likewise.
56689 * nss/nss_files/files-spwd.c: Likewise.
56690 * nss/nss_db/db-alias.c: Removed.
56691 * nss/nss_db/dummy-db.h: Removed.
56692
9ee76b5a
UD
566932011-06-02 Ulrich Drepper <drepper@gmail.com>
56694
56695 * nss/makedb.c: Rewritten to not use database library.
56696 * nss/Makefile: Update to build new makedb program.
56697
c71ca1f8
AJ
566982011-06-14 Andreas Jaeger <aj@suse.de>
56699
56700 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56701 memset declaration.
56702
3154bfb8
UD
567032011-06-10 Andreas Schwab <schwab@redhat.com>
56704
56705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56706 tmpbuf.
56707
b350afab
RM
567082011-06-10 Roland McGrath <roland@hack.frob.com>
56709
decd4e50
RM
56710 * Makerules (shlib.lds): Fail if the linker script comes out empty.
56711 * elf/Makefile ($(objpfx)ld.so): Likewise.
56712
5615eaf2
RM
56713 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56714 Don't list ld.so twice in dependencies.
56715
56716 * posix/bug-regex31.c: Include <stdlib.h>.
56717
56718 * nscd/hstcache.c (cache_addhst): Remove unused variable.
56719
56720 * nis/nss_compat/compat-spwd.c
56721 (getspent_next_nss_netgr): Remove unused variable.
56722 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56723
56724 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56725 nonmembers" output to use the right array.
56726
56727 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56728
56729 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56730
56731 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56732 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56733 * catgets/gencat.c (read_input_file): Likewise.
56734 * locale/programs/locarchive.c (enlarge_archive): Likewise.
56735
56736 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56737 variable definition inside #if's controlling its use.
56738
56739 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56740
56741 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56742
56743 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56744
56745 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56746 unreachable code.
56747
56748 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56749
b68e08db
RM
56750 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56751 * configure: Regenerated.
56752
b350afab
RM
56753 * Makerules: Revert last change.
56754 * elf/Makefile: Likewise.
56755
28368601
RM
567562011-06-09 Roland McGrath <roland@hack.frob.com>
56757
56758 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56759 * elf/Makefile ($(objpfx)librtld.os): Likewise.
56760 (reloc-link): Likewise.
56761
11988f8f
UD
567622011-06-09 Ulrich Drepper <drepper@gmail.com>
56763
56764 * elf/Makefile: Add rules to build pldd.
56765 * elf/pldd.c: New file.
56766 * elf/pldd-xx.c: New file.
56767
e80fab37
UD
567682011-06-07 Ulrich Drepper <drepper@gmail.com>
56769
56770 * version.h: Update for 2.15 development version.
56771
9b849836
DM
567722011-06-07 David S. Miller <davem@davemloft.net>
56773
56774 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56775 ifuncs.
56776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56777 elf_machine_lazy_rel): Likewise.
56778 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56780 elf_machine_lazy_rel): Likewise.
56781 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56782 dl_hwcap via passed in argument.
56783 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56784 Likewise.
56785
5a31b283
AK
567862011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56787
56788 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
56789
069e52f8
RM
567902011-06-06 Roland McGrath <roland@hack.frob.com>
56791
56792 [BZ #12849]
56793 * manual/fdl-1.1.texi: New file, verbatim from:
56794 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56795 * manual/lgpl-2.1.texi: New file, verbatim from:
56796 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56797 * manual/Makefile (licenses): New variable, list those new file names.
56798 (texis): Use it.
56799 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56800
56801 * manual/fdl.texi: File removed.
56802 * manual/lesser.texi: File removed.
56803 * manual/libc.texinfo (Copying, Documentation License):
56804 Use new @include file names, put @appendix directive before @include.
56805
f16846a5
JJ
568062011-06-04 Jakub Jelinek <jakub@redhat.com>
56807
56808 [BZ #12841]
56809 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56810 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56811 (mq_open): Add __NTH.
56812
3d29045b
L
568132011-06-02 H.J. Lu <hongjiu.lu@intel.com>
56814
56815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56816 Assume Intel Core i3/i5/i7 processor if AVX is available.
56817
8c297311
UD
568182011-05-31 Ulrich Drepper <drepper@gmail.com>
56819
56820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56821 typo.
56822
c8fc0c91
UD
568232011-05-31 Andreas Schwab <schwab@redhat.com>
56824
56825 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56826 memory. Use alloca_account. Fix memory leak when retrying.
56827
5b27a807
UD
568282011-05-31 Ulrich Drepper <drepper@gmail.com>
56829
356f8bc6
UD
56830 * version.h (RELEASE): Bump for 2.14 release.
56831 * include/features.h (__GLIBC_MINOR__): Bump to 14.
56832
5b27a807
UD
56833 * config.make.in (RANLIB): Remove entry.
56834
01f16ab0
UD
568352011-05-30 Ulrich Drepper <drepper@gmail.com>
56836
41fce8bd
UD
56837 * po/Makefile (po-sed-cmd): Add ksh to extensions.
56838 (libc.pot): Work around missing support for .ksh extension in xgettext.
56839
4769ae77
UD
56840 [BZ #12684]
56841 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56842 if both request failed.
56843 (send_dg): In case of server errors clear resplen or *resplen2.
56844
6b1e7d19
UD
56845 [BZ #12454]
56846 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56847 when there are multiple maps.
56848 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56849 (_dl_fini): Remove test here.
56850
01f16ab0
UD
56851 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56852
b1ebd700
UD
568532011-05-29 Ulrich Drepper <drepper@gmail.com>
56854
7ae22829
UD
56855 [BZ #12350]
56856 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56857 bit from old_res_options.
56858 (gaih_inet): Likewise.
56859
553149f6 56860 [BZ #11099]
18a84741 56861 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
56862 as signed.
56863
652ffab1
UD
56864 * resolv/res_init.c (res_setoptions): Make the code more compact.
56865
16985fd0
UD
56866 [BZ #11558]
56867 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56868 set RES_USEVC.
56869
0464f746
UD
56870 [BZ #11634]
56871 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56872
7d17596c
UD
56873 * malloc/malloc.h: Mark malloc hook variables as deprecated.
56874
cf6bbbd7
UD
56875 [BZ #11781]
56876 * malloc/malloc.h: Declare malloc hook variables as volatile.
56877
13f1ab36
UD
56878 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56879 in last patch.
56880
b1ebd700
UD
56881 [BZ #11799]
56882 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 56883 raise in the comment.
80e2212d
UD
56884 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56885 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56886 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 56887
ce67228d
UD
568882011-05-28 Ulrich Drepper <drepper@gmail.com>
56889
8887a920
UD
56890 [BZ #12811]
56891 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56892 grow the buffers more if it already has to be sufficient.
56893 (build_wcs_upper_buffer): Likewise.
56894 * posix/regexec.c (check_matching): Likewise.
56895 (clean_state_log_if_needed): Likewise.
56896 (extend_buffers): Don't enlarge buffers beyond size of the input
56897 buffer.
56898 Patches mostly by Emil Wojak <emil@wojak.eu>.
56899 * posix/bug-regex32.c: New file.
56900 * posix/Makefile (tests): Add bug-regex32.
56901
4f031072
UD
56902 * locale/findlocale.c (_nl_find_locale): Return right away if
56903 _nl_explode_name failed.
56904 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56905
d0478f0c
UD
56906 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56907
de81b246
UD
56908 * debug/xtrace.sh: Unify messages.
56909 * malloc/memusage.sh: Likewise.
56910
c738465a
UD
56911 [BZ #12813]
56912 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56913 time symbol from vDSO. Substitute with vsyscall if not available.
56914 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56915 __vdso_time.
56916
f1f929d7
UD
56917 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56918 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56919 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56920 Add sendmmsg and internal_sendmmsg.
56921 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56922 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56923 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56924
ce67228d
UD
56925 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56926 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56928
e57420c6
UD
569292011-05-27 Ulrich Drepper <drepper@gmail.com>
56930
a8509ca5
UD
56931 [BZ #12813]
56932 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56933 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
56934 available.
56935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56936 __vdso_getcpu.
56937
e57420c6
UD
56938 [BZ #12814]
56939 * iconvdata/Makefile (tests): Add bug-iconv9.
56940 * iconvdata/bug-iconv9.c: New file.
56941
4d07db15
AS
569422011-05-27 Andreas Schwab <schwab@redhat.com>
56943
56944 [BZ #12814]
56945 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56946
ea486f69
JJ
569472011-05-25 Jakub Jelinek <jakub@redhat.com>
56948
56949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56950 (struct user_regs_struct): Change intcs field back to cs.
56951
6f038433
UD
569522011-05-25 Ulrich Drepper <drepper@gmail.com>
56953
56954 * po/ja.po: Update from translation team.
56955
67f86a25
UD
569562011-05-23 Ulrich Drepper <drepper@gmail.com>
56957
56958 [BZ #12795]
56959 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56960 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56961
def7fbd6
AS
569622011-05-20 Andreas Schwab <schwab@redhat.com>
56963
56964 * stdlib/longlong.h: Update from GCC.
56965
f50ef8f1
AS
569662011-05-23 Andreas Schwab <schwab@redhat.com>
56967
56968 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56969 parameter name.
56970 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56971 Add parameter name.
56972 (__sysconf): Pass it down.
56973
de7ce8f1
UD
569742011-05-22 Ulrich Drepper <drepper@gmail.com>
56975
f2962a71
UD
56976 [BZ #12671]
56977 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56978 some situations.
56979 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56980 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56981 add in in __libc_use_alloca calls. Adjust callers.
56982 (glob): Use malloc in some situations.
56983
de7ce8f1
UD
56984 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56985 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56986 pltexit.
56987
aec84f53
UD
569882011-05-21 Ulrich Drepper <drepper@gmail.com>
56989
05bb4a68
UD
56990 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56991 and CLOCK_BOOTTIME_ALARM.
56992
7ea72f99
UD
56993 [BZ #12782]
56994 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56995 is returned.
56996
7e4afad5
UD
56997 * string/_strerror.c (__strerror_r): Print negative errors as signed
56998 numbers.
56999
8e211fec
UD
57000 [BZ #12777]
57001 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57002 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57003 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57004
f7d82dc9
UD
57005 * configure.in: Fix typo in redirection and correct removal of test
57006 files in two cases.
57007
cc9e536d
UD
57008 [BZ #12788]
57009 * locale/setlocale.c (new_composite_name): Fix test to check for
57010 identical name of all categories.
57011
aec84f53
UD
57012 [BZ #12792]
57013 * libio/filedoalloc.c (local_isatty): New function.
57014 (_IO_file_doallocate): Use local_isatty.
57015 * stdio-common/perror.c (perror): In case a new stream is used
57016 forward the stream error.
57017 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57018 error flag.
57019
78e64fdc
RT
570202011-05-20 Ulrich Drepper <drepper@gmail.com>
57021
34a9094f
UD
57022 [BZ #11869]
57023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57024 alloca.
57025 * include/alloca.h (extend_alloca_account): Define.
57026
78e64fdc
RT
57027 [BZ #11857]
57028 * posix/regex.h: Fix comments with documentation of user-accessible
57029 fields after compilation and describe correct free'ing of pattern
57030 after re_compile_pattern.
57031 Patch by Reuben Thomas <rrt@sc3d.org>.
57032
457bddfc
RA
570332011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57034
57035 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57036 and -mno-altivec to prevent the compiler from using Altivec and/or
57037 VSX instructions when the corresponding registers are not available.
57038
a4527b51
AS
570392011-05-19 Andreas Schwab <schwab@redhat.com>
57040
57041 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57042
ed690b2f
UD
570432011-05-19 Ulrich Drepper <drepper@gmail.com>
57044
57045 * libio/freopen.c (freopen): Use __dup2, not dup2.
57046 * libio/freopen64.c (freopen64): Likewise.
57047
8db73634
L
570482011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57049
57050 [BZ #12775]
57051 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57052 * math/Makefile (tests): Add test-powl.
57053 (CFLAGS-test-powl.c): Define.
57054 * math/test-powl.c: New file.
57055
0a197a9d
L
570562011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57057
57058 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57059
ee30c380
UD
570602011-05-17 Ulrich Drepper <drepper@gmail.com>
57061
57062 [BZ #11837]
57063 * iconvdata/gb18030.c: Update to GB18020-2005.
57064
6ce75379
UD
570652011-05-16 Ulrich Drepper <drepper@gmail.com>
57066
a4b89fd8
AR
57067 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57068 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57069 Patch by Aharon Robbins <arnold@skeeve.com>.
57070
ea389b12
UD
57071 [BZ #11892]
57072 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57073 on the stack.
57074
68a3f91f
UD
57075 [BZ #11895]
57076 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57077 through underflows.
57078
15cc7dd1
UD
57079 [BZ #12766]
57080 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57081 point to strings before performing equality test for error_one_per_line
57082 mode.
57083
f3799213
UD
57084 [BZ #11697]
57085 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57086
d79a9c94
UD
57087 [BZ #11820]
57088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57089 (struct user_fpregs_struct): Avoid __uint*_t types.
57090
56e5eb46
UD
57091 [BZ #6420]
57092 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57093 symbol info. Use it instead of calling _dl_addr locally.
57094 (lock_and_info): New function.
57095 (tr_freehook): Call lock_and_info and pass symbol info as additional
57096 parameter to tr_where.
57097 (tr_mallochook): Likewise.
57098 (tr_reallochook): Likewise.
57099 (tr_memalignhook): Likewise.
57100
6ce75379
UD
57101 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57102 used and couldn't be at all thread-safe.
57103
f8a3b5bf
UD
571042011-05-15 Ulrich Drepper <drepper@gmail.com>
57105
94b7cc37
UD
57106 * libio/freopen.c (freopen): Don't close old file descriptor
57107 before the new one is opened. Instead dup the new file descriptor
57108 to the old one after the new stream is created.
57109 * libio/freopen64.c (freopen64): Likewise.
57110 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57111 * libio/fileops.c (_IO_new_file_close_it): Handle new
57112 _IO_FLAGS2_NOCLOSE flag.
57113 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57114 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57115 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57116 _IO_FLAGS2_NOCLOSE flag.
57117 * include/unistd.h: Add hidden_proto for dup3.
57118 Define __have_dup3.
57119 * io/dup3.c: Define hidden symbol.
57120 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57121
bd25564e
UD
57122 [BZ #7101]
57123 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57124 when an incomplete long option is used.
57125 * posix/tst-getopt_long1.c: New file.
57126 * posix/Makefile (tests): Add tst-getopt_long1.
57127
c84cfef4
UD
57128 [BZ #10138]
57129 * scripts/config.guess: Update from autoconf-2.68.
57130 * scripts/config.sub: Likewise.
57131
3b85df27
UD
57132 [BZ #10157]
57133 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57134 tests into ...
57135 (has_cpuclock): ...this. New function.
57136 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57137 macro here based on has_cpuclock code.
57138
15a856b1
UD
57139 [BZ #10149]
57140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57141 First byte (not low byte) is now always NUL.
57142 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57143
05f399e6
UD
57144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57145 Use non-cancelable interfaces.
57146
10a52685 57147 [BZ #9809]
94ecc67d
UD
57148 * locale/iso-639.def: Add entry for Sorani.
57149
f8a3b5bf
UD
57150 [BZ #11901]
57151 * include/stdlib.h: Move include protection to the right place.
57152 Define abort_msg_s. Declare __abort_msg with it.
57153 * stdlib/abort.c (__abort_msg): Adjust type.
57154 * assert/assert.c (__assert_fail_base): New function. Majority
57155 of code from __assert_fail. Allocate memory for __abort_msg with
57156 mmap.
57157 (__assert_fail): Now call __assert_fail_base.
57158 * assert/assert-perr.c: Remove bulk of implementation. Use
57159 __assert_fail_base.
57160 * include/assert.hL Declare __assert_fail_base.
57161 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57162 mmap.
57163 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57164
1af4e298
UD
571652011-05-14 Ulrich Drepper <drepper@gmail.com>
57166
f8a3b5bf 57167 [BZ #11952]
d26dfc60
MG
57168 [BZ #12453]
57169 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57170 until all modules are registered in the DTV.
57171 * elf/Makefile: Add rules to build and run tst-tls19.
57172 * elf/tst-tls19.c: New file.
57173 * elf/tst-tls19mod1.c: New file.
57174 * elf/tst-tls19mod2.c: New file.
57175 * elf/tst-tls19mod3.c: New file.
57176 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57177
2fc54d6f
UD
57178 [BZ #12083]
57179 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57180 correctly.
57181
98d76b46
UD
57182 [BZ #12601]
57183 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57184 two-byte sequence errors.
57185 * iconvdata/Makefile (tests): Add bug-iconv8.
57186 * iconvdata/bug-iconv8.c: New file.
57187
da3c19ef
UD
57188 [BZ #12626]
57189 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57190 buf2 definition.
57191
ca408c15
UD
57192 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57193
d6f67f7d
UD
57194 [BZ #12432]
57195 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57196 (dummy_getcfa): New function.
57197 (init): Get _Unwind_GetCFA address, use dummy if not found.
57198 (backtrace_helper): In recursion check, also check whether CFA changes.
57199 (__backtrace): Completely initialize arg.
57200
1af4e298 57201 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
57202 storing incomplete byte sequence in state object. Avoid testing for
57203 guaranteed too small input if we know there is enough data available.
1af4e298 57204
da62f81b
AS
572052011-05-11 Andreas Schwab <schwab@redhat.com>
57206
57207 * Makeconfig (+link-pie): Indent.
57208 * Rules (binaries-pie): Define if $(have-fpie) and
57209 $(build-shared).
57210 (binaries-shared): Also filter out $(binaries-pie).
57211 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57212 * nscd/Makefile (others-pie): Add nscd.
57213 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57214 ($(objpfx)nscd): Remove command override.
57215 * login/Makefile (others-pie): Add pt_chown.
57216 ($(objpfx)pt_chown): Remove command override.
57217 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57218 remove command overrides.
57219
fcabc0f8
UD
572202011-05-13 Ulrich Drepper <drepper@gmail.com>
57221
20030ae6
UD
57222 * libio/tst_putwc.c: Fix error messages.
57223
fcabc0f8
UD
57224 [BZ #12724]
57225 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57226 currently writing and seek to current position when not.
57227 * libio/Makefile (tests): Add bug-fclose1.
57228 * libio/bug-fclose1.c: New file.
57229
320a5dc0
PB
572302011-05-12 Ulrich Drepper <drepper@gmail.com>
57231
57232 [BZ #12511]
57233 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57234 don't set DF_1_NODELETE here.
57235 (do_lookup_x): When entering new entry test for copy relocation
57236 and if necessary set DF_1_NODELETE flag.
57237 * elf/tst-unique4.cc: New file.
57238 * elf/tst-unique4.h: New file.
57239 * elf/tst-unique4lib.cc: New file.
57240 * elf/Makefile: Add rules to build and run tst-unique4.
57241 Patch by Piotr Bury <pbury@goahead.com>.
57242
22836f52
UD
572432011-05-11 Ulrich Drepper <drepper@gmail.com>
57244
f574184a
UD
57245 [BZ #12052]
57246 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57247
e1fb097f
UD
57248 [BZ #12625]
57249 * misc/mntent_r.c (addmntent): Flush the stream after the output
57250
22836f52
UD
57251 [BZ #12393]
57252 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57253 (is_trusted_path_normalize): Skip initial colon. Append slash
57254 to empty buffer. Duplicate is_trusted_path code but allow
57255 constructed patch to be prefix.
57256 (is_dst): Allow $ORIGIN followed by /.
57257 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57258 Correct testing of result of is_trusted_path_normalize
57259 (decompose_rpath): Fix warning.
57260
7b3b0b2a
UD
572612011-05-10 Ulrich Drepper <drepper@gmail.com>
57262
57263 [BZ #11257]
57264 * grp/initgroups.c (internal_getgrouplist): When we found the service
57265 list through the initgroups entry in nsswitch.conf do not always
57266 continue on a successful lookup. Don't always use the
eac80ce2 57267 __nss_group_database value if it is set.
7b3b0b2a
UD
57268 * nss/nsswitch.conf (initgroups): Change action for successful db
57269 lookup to continue for compatibility.
57270
2a81eaa5
UD
572712011-05-09 Ulrich Drepper <drepper@gmail.com>
57272
be97a69e
UD
57273 [BZ #11532]
57274 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57275 and CP774 modules.
57276 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57277 and CP774 modules.
57278 * iconvdata/tst-tables.sh: Likewise.
57279 * iconvdata/cp770.c: New file.
57280 * iconvdata/cp771.c: New file.
57281 * iconvdata/cp772.c: New file.
57282 * iconvdata/cp773.c: New file.
57283 * iconvdata/cp774.c: New file.
57284 * iconvdata/testdata/CP770: New file.
57285 * iconvdata/testdata/CP770..UTF8: New file.
57286 * iconvdata/testdata/CP771: New file.
57287 * iconvdata/testdata/CP771..UTF8: New file.
57288 * iconvdata/testdata/CP772: New file.
57289 * iconvdata/testdata/CP772..UTF8: New file.
57290 * iconvdata/testdata/CP773: New file.
57291 * iconvdata/testdata/CP773..UTF8: New file.
57292 * iconvdata/testdata/CP774: New file.
57293 * iconvdata/testdata/CP774..UTF8: New file.
57294
57295 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57296 END CHARMAP line.
57297 * iconvdata/gen-8bit-gap.sh: Likewise.
57298 * iconvdata/gen-8bit.sh: Likewise.
57299
c1e9e399
UD
57300 * locale/iso-639.def: Add ary entry.
57301
24c55fb3 57302 [BZ #11258]
96b4b1b0
UD
57303 * locale/C-translit.h.in: Add U20A1 transliteration.
57304
bdc2f971
KB
57305 [BZ #12178]
57306 * locale/iso-639.def: Add wae entry.
57307 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57308
2952b117
UD
57309 [BZ #12545]
57310 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57311 for n.
57312
2a81eaa5
UD
57313 [BZ #12711]
57314 * locale/C-translit.h.in: Add entry for U20B9.
57315 Patch by pravin.d.s@gmail.com.
57316
28377d1b
UD
573172011-05-08 Ulrich Drepper <drepper@gmail.com>
57318
7fb90fb8
UD
57319 [BZ #12713]
57320 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57321 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
57322 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57323 in rtld. Use *stat64.
7fb90fb8 57324 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 57325 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 57326 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
57327 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57328 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57329 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57330 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57331 __fstatat64 macros.
7fb90fb8
UD
57332 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57333 * dirent/rewinddir.c: Add libc_hidden_def.
57334 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 57335 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 57336
28377d1b
UD
57337 * include/dirent.h (__alloc_dir): Add flags parameter.
57338 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57339 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57340 __alloc_dir.
57341 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57342 from fdopendir if O_CLOEXEC is already set.
57343
66bdbaa4
AM
573442011-03-15 Alan Modra <amodra@gmail.com>
57345
57346 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57347 l_tls_firstbyte_offset non-zero. Save padding offset in
57348 l_tls_firstbyte_offset for later use.
57349 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57350 freeing static tls block.
57351
95721191
JN
573522011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57353
57354 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57355 where #ifdef was intended. The intent is to prevent ARG_MAX from
57356 being defined by the kernel headers.
57357
f87dfb1f
UD
573582011-05-07 Ulrich Drepper <drepper@gmail.com>
57359
57360 [BZ #12734]
57361 * resolv/resolv.h: Define RES_NOTLDQUERY.
57362 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57363 no-tld-query and set RES_NOTLDQUERY.
57364 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57365 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57366 modern BIND to search name as TLD unless forbidden.
57367
47c3cd7a
UD
573682011-05-07 Petr Baudis <pasky@suse.cz>
57369 Ulrich Drepper <drepper@gmail.com>
57370
57371 [BZ #12393]
57372 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57373 (is_trusted_path): ...to here.
c1e9ea35 57374 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 57375 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 57376 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 57377
8a35c912
PP
573782011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57379
57380 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57381 __BEGIN/__END_DECLS.
57382
acd41f47
UD
573832011-05-06 Ulrich Drepper <drepper@gmail.com>
57384
57385 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57386 NSS_STATUS_NOTFOUND if no record was found.
57387
597df647
AS
573882011-05-05 Andreas Schwab <schwab@redhat.com>
57389
57390 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57391 (headers-not-in-tirpc): Remove rpc/netdb.h
57392 * resolv/netdb.h: Revert last change.
57393
b9af1301
PP
573942011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57395
57396 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57397 circular dependency between libgcc.a and libc.a.
57398
4e34d5f5
AS
573992011-05-05 Andreas Schwab <schwab@redhat.com>
57400
57401 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57402 * nis/Makefile: Don't install rpcsvc/*.
57403 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57404 instead of <rpc/types.h>.
57405 (MAXHOSTNAMELEN): Define.
57406
00ee369c
AS
574072011-05-03 Andreas Schwab <schwab@redhat.com>
57408
57409 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57410
0b592a30
MB
574112011-04-28 Maciej Babinski <mbabinski@google.com>
57412
57413 [BZ #12714]
57414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57415 gethostbyname4_r when IPv6 results are possible.
57416
6e04cbbe
UD
574172011-05-02 Ulrich Drepper <drepper@gmail.com>
57418
57419 [BZ #12723]
57420 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57421 _PC_PIPE_BUF handling.
57422
e4ecafe0
BH
574232011-04-30 Bruno Haible <bruno@clisp.org>
57424
57425 [BZ #12717]
57426 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57427 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57428 to 'int'.
57429 * inet/getnameinfo.c (getnameinfo): Likewise.
57430
125ee683
UD
574312011-04-29 Ulrich Drepper <drepper@gmail.com>
57432
57433 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57434 to groups setting in database lookup.
57435 * nss/nsswitch.conf: Add initgroups entry.
57436
b722481a
EB
574372011-04-22 Ulrich Drepper <drepper@gmail.com>
57438
57439 [BZ #12685]
57440 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57441 mode string.
57442 Patch by Eric Blake <eblake@redhat.com>.
57443
4df46dbd
L
574442011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57445
57446 * sunrpc/Makefile (need-export-routines): Add svc_run.
57447 (routines): Remove svc_run.
57448 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57449 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57450 * sunrpc/svc_run.c (svc_run): Likewise.
57451 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57452
e84142d2
UD
574532011-04-21 Ulrich Drepper <drepper@gmail.com>
57454
57455 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57456 problem in reallocation in last patch.
57457
877175d8
UD
574582011-04-20 Ulrich Drepper <drepper@gmail.com>
57459
57460 * sunrpc/Makefile: Move inclusion of Rules.
57461
ab8eed78
UD
574622011-04-19 Ulrich Drepper <drepper@gmail.com>
57463
57464 * nss/nss_files/files-initgroups.c: New file.
57465 * nss/Makefile (libnss_files-routines): Add files-initgroups.
57466 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57467 _nss_files_initgroups_dyn.
57468
e3d8f584
RS
574692011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
57470
57471 * elf/elf.h (R_ARM_IRELATIVE): Define.
57472
af190f45
UD
574732011-04-19 Ulrich Drepper <drepper@gmail.com>
57474
57475 * po/ru.po: Update from translation team.
57476
53cf59ef
UD
574772011-04-17 Ulrich Drepper <drepper@gmail.com>
57478
57479 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57480 dependencies.
57481
4c559bcd
MF
574822011-02-06 Mike Frysinger <vapier@gentoo.org>
57483
57484 [BZ #12653]
57485 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57486 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57490
4420675c
AS
574912011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57492
57493 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57494 differing bytes.
57495 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57498
75ea32ab
UD
574992011-04-17 Ulrich Drepper <drepper@gmail.com>
57500
57501 [BZ #12420]
57502 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57503 storing it.
57504 * stdlib/bug-getcontext.c: New file.
57505 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57506
27390476
AK
575072011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57508
57509 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57510 instructions into .machine "z9-109".
57511 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57512 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57513
10442705
AK
575142011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57515
57516 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57517 between environment variables and auxiliary vector.
57518
7b57bfe5
UD
575192011-04-16 Ulrich Drepper <drepper@gmail.com>
57520
57521 * Makefile: Add rules to build linkobj/libc.so.
57522 * include/libc-symbols.h: Define libc_hidden_nolink.
57523 * include/rpc/auth.h: Mark functions which are to be hidden.
57524 * include/rpc/auth_des.h: Likewise.
57525 * include/rpc/auth_unix.h: Likewise.
57526 * include/rpc/clnt.h: Likewise.
57527 * include/rpc/des_crypt.h: Likewise.
57528 * include/rpc/key_prot.h: Likewise.
57529 * include/rpc/pmap_clnt.h: Likewise.
57530 * include/rpc/pmap_prot.h: Likewise.
57531 * include/rpc/pmap_rmt.h: Likewise.
57532 * include/rpc/rpc_msg.h: Likewise.
57533 * include/rpc/svc.h: Likewise.
57534 * include/rpc/svc_auth.h: Likewise.
57535 * include/rpc/xdr.h: Likewise.
57536 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57537 * nss/Makefile: Likewise.
57538 * sunrpc/Makefile: Don't install headers. Build library with normal
57539 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57540 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57541 for the compat linking library. Remove use of INTDEF/INTUSE.
57542 * sunrpc/auth_none.c: Likewise.
57543 * sunrpc/auth_unix.c: Likewise.
57544 * sunrpc/authdes_prot.c: Likewise.
57545 * sunrpc/authuxprot.c: Likewise.
57546 * sunrpc/clnt_gen.c: Likewise.
57547 * sunrpc/clnt_perr.c: Likewise.
57548 * sunrpc/clnt_raw.c: Likewise.
57549 * sunrpc/clnt_simp.c: Likewise.
57550 * sunrpc/clnt_tcp.c: Likewise.
57551 * sunrpc/clnt_udp.c: Likewise.
57552 * sunrpc/clnt_unix.c: Likewise.
57553 * sunrpc/des_crypt.c: Likewise.
57554 * sunrpc/des_soft.c: Likewise.
57555 * sunrpc/get_myaddr.c: Likewise.
57556 * sunrpc/key_call.c: Likewise.
57557 * sunrpc/key_prot.c: Likewise.
57558 * sunrpc/netname.c: Likewise.
57559 * sunrpc/pm_getmaps.c: Likewise.
57560 * sunrpc/pm_getport.c: Likewise.
57561 * sunrpc/pmap_clnt.c: Likewise.
57562 * sunrpc/pmap_prot.c: Likewise.
57563 * sunrpc/pmap_prot2.c: Likewise.
57564 * sunrpc/pmap_rmt.c: Likewise.
57565 * sunrpc/publickey.c: Likewise.
57566 * sunrpc/rpc_cmsg.c: Likewise.
57567 * sunrpc/rpc_common.c: Likewise.
57568 * sunrpc/rpc_dtable.c: Likewise.
57569 * sunrpc/rpc_prot.c: Likewise.
57570 * sunrpc/rpc_thread.c: Likewise.
57571 * sunrpc/rtime.c: Likewise.
57572 * sunrpc/svc.c: Likewise.
57573 * sunrpc/svc_auth.c: Likewise.
57574 * sunrpc/svc_authux.c: Likewise.
57575 * sunrpc/svc_raw.c: Likewise.
57576 * sunrpc/svc_run.c: Likewise.
57577 * sunrpc/svc_simple.c: Likewise.
57578 * sunrpc/svc_tcp.c: Likewise.
57579 * sunrpc/svc_udp.c: Likewise.
57580 * sunrpc/svc_unix.c: Likewise.
57581 * sunrpc/svcauth_des.c: Likewise.
57582 * sunrpc/xcrypt.c: Likewise.
57583 * sunrpc/xdr.c: Likewise.
57584 * sunrpc/xdr_array.c: Likewise.
57585 * sunrpc/xdr_float.c: Likewise.
57586 * sunrpc/xdr_intXX_t.c: Likewise.
57587 * sunrpc/xdr_mem.c: Likewise.
57588 * sunrpc/xdr_rec.c: Likewise.
57589 * sunrpc/xdr_ref.c: Likewise.
57590 * sunrpc/xdr_sizeof.c: Likewise.
57591 * sunrpc/xdr_stdio.c: Likewise.
57592
e6c61494
UD
575932011-04-10 Ulrich Drepper <drepper@gmail.com>
57594
57595 [BZ #12650]
57596 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57597 * sysdeps/ia64/dl-tls.h: Likewise.
57598 * sysdeps/powerpc/dl-tls.h: Likewise.
57599 * sysdeps/s390/dl-tls.h: Likewise.
57600 * sysdeps/sh/dl-tls.h: Likewise.
57601 * sysdeps/sparc/dl-tls.h: Likewise.
57602 * sysdeps/x86_64/dl-tls.h: Likewise.
57603 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57604
34fe483e
AS
576052011-03-14 Andreas Schwab <schwab@redhat.com>
57606
57607 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57608 rpath element also skip the following colon.
57609 (expand_dynamic_string_token): Add is_path parameter and pass
57610 down to DL_DST_REQUIRED and _dl_dst_substitute.
57611 (decompose_rpath): Call expand_dynamic_string_token with
57612 non-zero is_path. Ignore empty rpaths.
57613 (_dl_map_object_from_fd): Call expand_dynamic_string_token
57614 with zero is_path.
57615
f12a32e6
AS
576162011-04-08 Andreas Schwab <schwab@linux-m68k.org>
57617
57618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57619 Make cancelable.
57620
38a7d692
UD
576212011-04-09 Ulrich Drepper <drepper@gmail.com>
57622
57623 [BZ #12655]
57624 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57625 Patch by Filipe David Manana <fdmanana@apache.org>.
57626
e451d22b
AS
576272011-04-07 Andreas Schwab <schwab@redhat.com>
57628
57629 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57630 Maintain aligned stack.
57631 (CHECK_RSP): Remove unused macro.
57632
dedc7c7b
UD
576332011-04-03 Ulrich Drepper <drepper@gmail.com>
57634
57635 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57636 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57637
94521213
UD
576382011-04-02 Ulrich Drepper <drepper@gmail.com>
57639
57640 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57641
8cb700c0 57642 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 57643
0354e355
L
576442011-03-26 H.J. Lu <hongjiu.lu@intel.com>
57645
57646 [BZ #12518]
57647 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57648 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57649 * sysdeps/x86_64/memmove.c: New file.
57650 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57651 (memcpy): Renamed to ...
57652 (__new_memcpy): This.
57653 (memcpy): Provide GLIBC_2_14 memcpy.
57654 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57655 (memcpy): Provide GLIBC_2_2_5 memcpy.
57656
8593482f
UD
576572011-04-01 Ulrich Drepper <drepper@gmail.com>
57658
57659 [BZ #12631]
57660 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57661
81a5726b
AS
576622011-03-30 Andreas Schwab <schwab@redhat.com>
57663
57664 * misc/syncfs.c: New file.
57665 * misc/Makefile (routines): Add syncfs.
57666 * posix/unistd.h: Declare syncfs.
57667 * sysdeps/unix/syscalls.list: Add syncfs.
57668
00e5419f
AS
576692011-04-01 Andreas Schwab <schwab@redhat.com>
57670
57671 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57672 open_by_handle_at.
57673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57674 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57676 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57678 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57679 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57680
748876bf
UD
576812011-04-01 Ulrich Drepper <drepper@gmail.com>
57682
658e451d
UD
57683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57685 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57687 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57690
748876bf
UD
57691 * io/Makefile: Compile fallocate.c, fallocate64.c, and
57692 sync_file_range.c with -fexceptions.
57693 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57694 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57695 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57696 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57697 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57698 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
57700 sync_file_range as cancellation point
57701 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
57702 now a wrapper around __call_sync_file_range with cancellation handling.
57703 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57704 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
57705 function name to __call_sync_file_range.
57706 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57707 Add call_sync_file_range.
748876bf 57708
6e63d5e1
AS
577092011-04-01 Andreas Schwab <schwab@redhat.com>
57710
57711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 57712 bits/timex.h.
6e63d5e1 57713
46998f74
UD
577142011-04-01 Ulrich Drepper <drepper@gmail.com>
57715
4c1423ed
UD
57716 * iconv/iconv.h: Fix typo in comment.
57717 * io/fcntl.h: Likewise.
57718 * libio/stdio.h: Likewise.
57719 * posix/spawn.h: Likewise.
57720 * posix/unistd.h: Likewise.
57721 * stdlib/stdlib.h: Likewise.
57722 * time/time.h: Likewise.
57723 * wcsmbs/wchar.h: Likewise.
57724
158648c0
UD
57725 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57726 open_by_handle): Add.
57727 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57728 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
57729 Augment a few comments.
57730 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57735 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57736 open_by_handle.
57737
46998f74
UD
57738 * io/fcntl.h (AT_EMPTY_PATH): Define.
57739
83fe108b
UD
577402011-03-30 Ulrich Drepper <drepper@gmail.com>
57741
57742 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57743 * sysdeps/unix/sysv/linux/bits/time.h: New file.
57744 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57745 to...
57746 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
57747 * Versions.def: Add GLIBC_2.14.
57748 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57749 Export.
83fe108b 57750
bb242059
UD
577512011-03-22 Ulrich Drepper <drepper@gmail.com>
57752
57753 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57754 round counter.
57755 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57756
c97a1282
L
577572011-03-20 H.J. Lu <hongjiu.lu@intel.com>
57758
57759 [BZ #12597]
57760 * string/test-strncmp.c (do_page_test): New function.
57761 (check2): Likewise.
57762 (test_main): Call check2.
57763 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57764
2a115601
UD
577652011-03-20 Ulrich Drepper <drepper@gmail.com>
57766
57767 [BZ #12587]
57768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57769 Handle cache information in CPU leaf 4.
57770 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57771
8126d904
UD
577722011-03-18 Ulrich Drepper <drepper@gmail.com>
57773
042c49c6 57774 [BZ #12583]
8126d904
UD
57775 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57776 character representation.
57777 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57778
ccfe366e
RA
577792011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
57780
57781 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57782 END(__isnan) to END(__isnanf) to match function entry point/label
57783 EALIGN(__isnanf,...).
57784
c6e13027
JJ
577852011-03-10 Jakub Jelinek <jakub@redhat.com>
57786
57787 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57788
33f85a3f
UD
577892011-03-10 Ulrich Drepper <drepper@gmail.com>
57790
028478fa
UD
57791 [BZ #12510]
57792 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57793 copy from the symbol referenced in the relocation to initialize the
57794 used variable.
57795 Patch by Piotr Bury <pbury@goahead.com>.
57796 * elf/Makefile: Add rules to build and tst-unique3.
57797 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57798 * elf/tst-unique3.cc: New file.
57799 * elf/tst-unique3.h: New file.
57800 * elf/tst-unique3lib.cc: New file.
57801 * elf/tst-unique3lib2.cc: New file.
57802
33f85a3f
UD
57803 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57804
03592fc7
MF
578052011-03-10 Mike Frysinger <vapier@gentoo.org>
57806
57807 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57808 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
57809 to _start.
03592fc7 57810
6a5ee102
UD
578112011-03-06 Ulrich Drepper <drepper@gmail.com>
57812
57813 * elf/dl-load.c (_dl_map_object): If we are looking for the first
57814 to-be-loaded object along a path to loader is ld.so.
57815
7e4ba49c
HJ
578162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57817 Ulrich Drepper <drepper@gmail.com>
57818
57819 * sysdeps/x86_64/memset.S: After aligning destination, code
57820 branches to different locations depending on the value of
57821 misalignment, when multiarch is enabled. Fix this.
57822
578232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57824
57825 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57826 Set _x86_64_preferred_memory_instruction for AMD processsors.
57827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57828 Set bit_Prefer_SSE_for_memop for AMD processors.
57829
13a804de
UD
578302011-03-04 Ulrich Drepper <drepper@gmail.com>
57831
57832 * libio/fmemopen.c (fmemopen): Optimize a bit.
57833
9d25c392
AS
578342011-03-03 Andreas Schwab <schwab@redhat.com>
57835
57836 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57837
a5543c6a
RM
578382011-03-03 Roland McGrath <roland@redhat.com>
57839
57840 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57841
012d35f7
DM
578422011-02-28 Aurelien Jarno <aurelien@aurel32.net>
57843
7e4ba49c 57844 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
57845 __bzero_ultra1 instead of __memset_ultra1.
57846
4bff6e01
AS
578472011-02-23 Andreas Schwab <schwab@redhat.com>
57848 Ulrich Drepper <drepper@gmail.com>
57849
57850 [BZ #12509]
57851 * include/link.h (struct link_map): Add l_orig_initfini.
57852 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57853 returning unsuccessfully.
57854 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57855 close of a file loaded at startup, restore the original l_initfini
57856 list.
57857 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57858 list, store the pointer.
57859 * elf/Makefile ($(objpfx)noload-mem): New rule.
57860 (noload-ENV): Define.
57861 (tests): Add $(objpfx)noload-mem.
57862 * elf/noload.c: Include <memcheck.h>.
57863 (main): Call mtrace. Close all opened handles.
57864
f2092faf
AS
578652011-02-17 Andreas Schwab <schwab@redhat.com>
57866
57867 [BZ #12454]
57868 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57869 dependencies are missing.
57870
6c8a2e88
ST
578712011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
57872
f2092faf 57873 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
57874 Hurd needs munmap.
57875 * sysdeps/mach/hurd/ifreq.h: New file.
57876
84a42118
PB
578772011-01-27 Petr Baudis <pasky@suse.cz>
57878 Ulrich Drepper <drepper@gmail.com>
57879
071f805e 57880 [BZ 12445]#
84a42118
PB
57881 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57882 to extend_alloca().
57883 * stdio-common/bug23.c: New file.
57884 * stdio-common/Makefile (tests): Add bug23.
57885
e23fe25b
AS
578862010-09-28 Andreas Schwab <schwab@redhat.com>
57887 Ulrich Drepper <drepper@gmail.com>
57888
57889 [BZ #12489]
57890 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57891 before performing relro protection. At old place add assertion
57892 to make sure nothing changed.
57893
d3f02e10
NS
578942011-02-17 Nathan Sidwell <nathan@codesourcery.com>
57895 Glauber de Oliveira Costa <glommer@gmail.com>
57896
57897 * elf/elf.h: Add new ARM TLS relocs.
57898
d55fd7a5
RA
578992011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
57900
57901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57902 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57903 cast from r3.
57904 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
57905 'tests' variable.
57906 * sysdeps/wordsize-64/tst-writev.c: New file.
57907
2206397e
RA
579082011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
57909
57910 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57911 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57912 insns in _dl_start to prevent a TOC reference before relocs are
57913 resolved.
57914
e9433893
UD
579152011-02-15 Ulrich Drepper <drepper@gmail.com>
57916
57917 [BZ #12469]
57918 * Makeconfig: Remove RANLIB definition.
57919 * Makerules: Don't use RANLIB.
57920 * aclocal.m4: Remove ranlib test.
57921 * configure.in: No need to check for ranlib.
57922 * elf/rtld-Rules: Don't use RANLIB.
57923
f75286c6
ST
579242011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
57925
8e31c82d
ST
57926 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57927 protection macro.
57928 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57929 inclusion protection macro.
57930
f75286c6
ST
57931 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57932 SIGRTMIN and SIGRTMAX and print information in that case only when
57933 SIGRTMIN is defined.
57934
c1d0e639
JJ
579352011-02-11 Jakub Jelinek <jakub@redhat.com>
57936
57937 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57938 arginfo fn returning -1.
57939
57940 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57941 and thousands string is zero terminated.
57942
edf9294e
AS
579432011-02-03 Andreas Schwab <schwab@redhat.com>
57944
57945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57946 sysdeps/unix/sysv/linux/bits/socket.h.
57947
2b7e92df
ST
579482011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
57949
edf9294e
AS
57950 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57951 (__CPU_COUNT): Remove old macros.
57952 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57953 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57954 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
57955 (__sched_cpualloc, __sched_cpufree): Add declarations.
57956
a4c7ea7b
UD
579572011-02-05 Ulrich Drepper <drepper@gmail.com>
57958
57959 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57960 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57961 * nscd/aicache.c (addhstaiX): Return timeout of added value.
57962 (readdhstai): Return value of addhstaiX call.
57963 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57964 (addgrbyX): Return value returned by cache_addgr.
57965 (readdgrbyname): Return value returned by addgrbyX.
57966 (readdgrbygid): Likewise.
57967 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57968 (addpwbyX): Return value returned by cache_addpw.
57969 (readdpwbyname): Return value returned by addhstbyX.
57970 (readdpwbyuid): Likewise.
57971 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57972 (addservbyX): Return value returned by cache_addserv.
57973 (readdservbyname): Return value returned by addservbyX:
57974 (readdservbyport): Likewise.
57975 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57976 (addhstbyX): Return value returned by cache_addhst.
57977 (readdhstbyname): Return value returned by addhstbyX.
57978 (readdhstbyaddr): Likewise.
57979 (readdhstbynamev6): Likewise.
57980 (readdhstbyaddrv6): Likewise.
57981 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57982 (readdinitgroups): Return value returned by addinitgroupsX.
57983 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57984 (prune_cache): Keep track of timeout value of re-added entries.
57985 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57986 * nscd/nscd.h: Adjust prototypes of readd* functions.
57987
a0bf67cc
RM
579882011-02-04 Roland McGrath <roland@redhat.com>
57989
57990 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57991 (nis_stats): Likewise.
57992 * nis/nis_modify.c (nis_modify): Likewise.
57993 * nis/nis_remove.c (nis_remove): Likewise.
57994 * nis/nis_add.c (nis_add): Likewise.
57995
57996 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57997
57998 * posix/fnmatch_loop.c: Add some consts.
57999
58000 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58001
435b95eb
L
580022011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58003
58004 [BZ #12460]
58005 * config.make.in (config-cflags-novzeroupper): Define.
58006 * configure.in: Substitute libc_cv_cc_novzeroupper.
58007 * elf/Makefile (AVX-CFLAGS): Define.
58008 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58009 (CFLAGS-tst-auditmod4a.c): Likewise.
58010 (CFLAGS-tst-auditmod4b.c): Likewise.
58011 (CFLAGS-tst-auditmod6b.c): Likewise.
58012 (CFLAGS-tst-auditmod6c.c): Likewise.
58013 (CFLAGS-tst-auditmod7b.c): Likewise.
58014 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58015
8517b15e
UD
580162011-02-02 Ulrich Drepper <drepper@gmail.com>
58017
58018 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58019 function to the callback.
58020 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58021
10a656fe
AS
580222011-02-02 Andreas Schwab <schwab@redhat.com>
58023
58024 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58025 of errno.
58026
968dad0a
UD
580272011-01-19 Ulrich Drepper <drepper@gmail.com>
58028
9f94d2ea 58029 [BZ #11724]
968dad0a
UD
58030 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58031 of constructors.
58032 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58033 of destructors.
58034 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58035
58036 [BZ #11724]
58037 * elf/Makefile: Add rules to build and run new test.
58038 * elf/tst-initorder.c: New file.
58039 * elf/tst-initorder.exp: New file.
58040 * elf/tst-initordera1.c: New file.
58041 * elf/tst-initordera2.c: New file.
58042 * elf/tst-initordera3.c: New file.
58043 * elf/tst-initordera4.c: New file.
58044 * elf/tst-initorderb1.c: New file.
58045 * elf/tst-initorderb2.c: New file.
58046 * elf/tst-order-a1.c: New file.
58047 * elf/tst-order-a2.c: New file.
58048 * elf/tst-order-a3.c: New file.
58049 * elf/tst-order-a4.c: New file.
58050 * elf/tst-order-b1.c: New file.
58051 * elf/tst-order-b2.c: New file.
58052 * elf/tst-order-main.c: New file.
58053 New test case by George Gensure <werkt0@gmail.com>.
58054
86e92359
UD
580552010-10-01 Andreas Schwab <schwab@redhat.com>
58056
58057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58058 decoding ACE if AI_CANONIDN.
58059
5d5732b0
UD
580602011-01-18 Ulrich Drepper <drepper@gmail.com>
58061
58062 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58063
a77e8cbc
UD
580642011-01-17 Ulrich Drepper <drepper@gmail.com>
58065
6392473f
UD
58066 * version.h (RELEASE): Bump for 2.13 release.
58067 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58068
620a0529
UD
58069 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58070
18ba70a5
UD
58071 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58072 MADV_NOHUGEPAGE.
32465c3e
UD
58073 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58074 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58075 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58076 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58077 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58078 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58079
c0dafcf1
UD
58080 * posix/getconf.c: Update copyright year.
58081 * catgets/gencat.c: Likewise.
58082 * csu/version.c: Likewise.
58083 * debug/catchsegv.sh: Likewise.
58084 * debug/xtrace.sh: Likewise.
58085 * elf/ldconfig.c: Likewise.
58086 * elf/ldd.bash.in: Likewise.
58087 * elf/sprof.c (print_version): Likewise.
58088 * iconv/iconv_prog.c: Likewise.
58089 * iconv/iconvconfig.c: Likewise.
58090 * locale/programs/locale.c: Likewise.
58091 * locale/programs/localedef.c: Likewise.
58092 * malloc/memusage.sh: Likewise.
58093 * malloc/mtrace.pl: Likewise.
58094 * nscd/nscd.c (print_version): Likewise.
58095 * nss/getent.c: Likewise.
58096
a77e8cbc
UD
58097 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58098 PF_CAIF, and PF_ALG.
58099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58100
77e8bddf
AS
581012011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58102
1f20b93a
AS
58103 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58104 (modules-names): Use them.
58105 (ifunc-test-modules, ifunc-pie-tests): Define.
58106 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58107 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58108 (test-extras): Likewise.
58109 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58110 $(compile-command.c).
58111 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58112 (all-built-dso): Define.
58113 (check-textrel.out, check-execstack.out): Depend on it.
58114
77e8bddf
AS
58115 * configure.in: Don't override --enable-multi-arch.
58116
bc425b33
UD
581172011-01-15 Ulrich Drepper <drepper@gmail.com>
58118
58119 [BZ #6812]
58120 * nscd/hstcache.c (tryagain): Define.
58121 (cache_addhst): Return tryagain not notfound for temporary errors.
58122 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58123 failed.
58124
794c3ad3
UD
581252011-01-14 Ulrich Drepper <drepper@gmail.com>
58126
70181fdd
UD
58127 [BZ #10563]
58128 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58129 to make the syscall.
58130 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58131
794c3ad3
UD
58132 [BZ #12378]
58133 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58134 and fall back to matching as normal character if the string ends before
58135 the matching ']' is found. This is what POSIX requires.
58136 * posix/testfnm.c: Adjust test result.
58137 * posix/globtest.sh: Adjust test result. Add new test.
58138 * posix/tst-fnmatch.input: Likewise.
58139 * posix/tst-fnmatch2.c: Add new test.
58140
68dc9497
AS
581412010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58142
58143 * elf/Makefile (check-execstack): Revert last change. Depend on
58144 check-execstack.h.
58145 (check-execstack.h): New target.
58146 (generated): Add check-execstack.h.
58147 * elf/check-execstack.c: Include "check-execstack.h".
58148 (main): Revert last change.
58149 (handle_file): Return zero if GNU_STACK is absent and
58150 DEFAULT_STACK_PERMS doesn't include PF_X.
58151
451f001b
UD
581522011-01-13 Ulrich Drepper <drepper@gmail.com>
58153
cfa28e56
UD
58154 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58155 in child fails because the descriptor is already closed.
8cf8ce17
UD
58156 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58157 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58158 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 58159
1086d70d
UD
58160 [BZ #12397]
58161 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58162 syscall.
58163
451f001b
UD
58164 [BZ #10484]
58165 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58166 temporary buffer used to handle multi lookups locally.
a85b5cb4 58167 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 58168
08769175
UD
581692011-01-12 Ulrich Drepper <drepper@gmail.com>
58170
58171 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58172 loader is ld.so.
58173
5e49c52e
UD
581742011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58175
58176 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58177 alignment for SSE2.
58178
60522a5f
UD
581792011-01-12 Ulrich Drepper <drepper@gmail.com>
58180
58181 [BZ #12394]
58182 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58183 characters. When rounding increased number of integer digits recompute
58184 number of groups.
58185 * stdio-common/tst-grouping.c: New file.
58186 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58187
f257bbd7
UD
581882011-01-09 Ulrich Drepper <drepper@gmail.com>
58189
58190 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58191 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58192
58193 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58194 void.
58195 * bits/select.h: Likewise.
58196
fa9c15cb
UD
581972011-01-08 Ulrich Drepper <drepper@gmail.com>
58198
58199 * po/ja.po: Update from translation team.
58200
16c2895f
DM
582012011-01-04 David S. Miller <davem@sunset.davemloft.net>
58202
58203 [BZ #11155]
58204 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58205 implementation just like for lxstat, fxstatat, et al.
58206
2543fef2
JM
582072010-12-27 Jim Meyering <meyering@redhat.com>
58208
58209 [BZ #12348]
58210 * posix/regexec.c (build_trtable): Return failure indication upon
58211 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58212
98727dbe
UD
582132010-12-25 Ulrich Drepper <drepper@gmail.com>
58214
5bd6dc5c
UD
58215 [BZ #12201]
58216 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58217 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58218 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58219 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58220
97983464
UD
58221 [BZ #12207]
58222 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58223
98727dbe
UD
58224 [BZ #12204]
58225 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58226 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58227
4a531bb0
L
582282010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58229
58230 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58231 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58232 script has SORT_BY_INIT_PRIORITY.
58233 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58234 NO_CTORS_DTORS_SECTIONS is defined.
58235 * elf/soinit.c: Likewise.
58236 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58237 NO_CTORS_DTORS_SECTIONS is defined.
58238 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58239 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58240 * sysdeps/sh/init-first.c: Likewise.
58241 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58242
07eb4b71
UD
582432010-12-24 Ulrich Drepper <drepper@gmail.com>
58244
58245 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58246 always use the slow path.
58247
30950a5f
RA
582482010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58249
58250 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58251 similar rule which adds the sysdep directories to the header search in
58252 order to pick up the correct platform stackinfo.h.
58253 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58254 perform test if it is, otherwise return successfully without testing.
58255 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58256 DEFAULT_STACK_PERMS define in stackinfo.h.
58257 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58258 defined in stackinfo.h.
58259 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58260 DEFAULT_STACK_PERMS defined in stackinfo.h.
58261 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58262 * sysdeps/ia64/stackinfo.h: Likewise.
58263 * sysdeps/s390/stackinfo.h: Likewise.
58264 * sysdeps/sh/stackinfo.h: Likewise.
58265 * sysdeps/sparc/stackinfo.h: Likewise.
58266 * sysdeps/x86_64/stackinfo.h: Likewise.
58267 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58268 PF_X for powerpc64. Retain PF_X for powerpc32.
58269
db753e2c
UD
582702010-12-19 Ulrich Drepper <drepper@gmail.com>
58271
14b697f7
UD
58272 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58273 accurately.
db753e2c
UD
58274 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58275 GETDENTS_64BIT_ALIGNED.
58276
28300719
UD
582772010-12-14 Ulrich Drepper <dreper@gmail.com>
58278
14b697f7 58279 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 58280
4f197237
AS
582812010-12-10 Andreas Schwab <schwab@redhat.com>
58282
dbb0472f
AS
58283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58284 _GNU_SOURCE.
58285
4f197237
AS
58286 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58287 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58288 Remove __restrict.
58289 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58290 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58291
fb88ac72
UD
582922010-12-09 Ulrich Drepper <drepper@gmail.com>
58293
58294 [BZ #11655]
58295 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58296 are initialized.
58297
42acbb92
JJ
582982010-12-09 Jakub Jelinek <jakub@redhat.com>
58299
58300 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58301
c038d98d
UD
583022010-12-03 Ulrich Drepper <drepper@gmail.com>
58303
58304 * po/it.po: Update from translation team.
58305
3a4a2499
L
583062010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58307
58308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58309 unused codes.
58310
1e24cf6e
UD
583112010-11-30 Ulrich Drepper <drepper@gmail.com>
58312
58313 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58314
a7690819
AS
583152010-11-24 Andreas Schwab <schwab@redhat.com>
58316
58317 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58318 specially.
58319 (gaih_getanswer_slice): Likewise.
58320
3bf8d1b1
JJ
583212010-10-20 Jakub Jelinek <jakub@redhat.com>
58322
58323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58324
6db52fbb
PB
583252010-05-31 Petr Baudis <pasky@suse.cz>
58326
58327 [BZ #11149]
58328 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58329 silently even in the chroot mode.
58330
eaca7569
UD
583312010-11-22 Ulrich Drepper <drepper@gmail.com>
58332
58333 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58334 last patch a bit. Pretty printing
58335
3056dcdb
UD
583362010-05-31 Petr Baudis <pasky@suse.cz>
58337
58338 [BZ #10085]
58339 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58340 initialization of skip_initgroups_dyn.
58341
cf7c9078
UD
583422010-11-19 Ulrich Drepper <drepper@gmail.com>
58343
58344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58345 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58346
a1fb5e3e
UD
583472010-11-16 Ulrich Drepper <drepper@gmail.com>
58348
58349 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58350
3540d66b
AS
583512010-11-11 Andreas Schwab <schwab@redhat.com>
58352
58353 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58354 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58355 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58356 ($(objpfx)tst-fnmatch-mem): New rule.
58357 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58358 * posix/tst-fnmatch.c (main): Call mtrace.
58359
13b69574
L
583602010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58361
58362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58363 Support Intel processor model 6 and model 0x2c.
58364
da93d214
LM
583652010-11-10 Luis Machado <luisgpm@br.ibm.com>
58366
58367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58368 signed comparison.
58369
8ca52c6e
L
583702010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58371
58372 [BZ #12205]
58373 * string/test-strncasecmp.c (check_result): New function.
58374 (do_one_test): Use it.
58375 (check1): New function.
58376 (test_main): Use it.
58377 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58378 Support strcasecmp and strncasecmp.
58379
69da074d
UD
583802010-11-08 Ulrich Drepper <drepper@gmail.com>
58381
58382 [BZ #12194]
58383 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58384 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58385
ff02d528
L
583862010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58387
58388 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58389 IFUNC support.
58390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58391 memset-x86-64.
58392 * sysdeps/x86_64/multiarch/bzero.S: New file.
58393 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58394 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58395 * sysdeps/x86_64/multiarch/memset.S: New file.
58396 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58398 Set bit_Prefer_SSE_for_memop for Intel processors.
58399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58400 Define.
58401 (index_Prefer_SSE_for_memop): Define.
58402 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58403
344d0b54
LM
584042010-11-04 Luis Machado <luisgpm@br.ibm.com>
58405
58406 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58407 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58408
c0dde15b
UD
584092010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58410
58411 [BZ #12191]
58412 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58413 (__x86_64_raw_data_cache_size_half): Likewise.
58414 (__x86_64_raw_shared_cache_size): Likewise.
58415 (__x86_64_raw_shared_cache_size_half): Likewise.
58416
58417 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58418 (__x86_64_raw_data_cache_size_half): Likewise.
58419 (__x86_64_raw_shared_cache_size): Likewise.
58420 (__x86_64_raw_shared_cache_size_half): Likewise.
58421 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58422 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58423 and __x86_64_raw_shared_cache_size_half. Round
58424 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58425 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58426 to multiple of 256 bytes.
58427
0e516e0e
MS
584282010-11-03 Ulrich Drepper <drepper@gmail.com>
58429
58430 [BZ #12167]
58431 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58432 of inacessible symlinks. Verify result of symlink before returning it.
58433 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58434 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58435
0e012e87
ER
584362010-10-28 Erich Ritz <erichritz@gmail.com>
58437
58438 * math/math.h (isinf): Fix typo in comment.
58439
de0ff7bc
UD
584402010-11-01 Ulrich Drepper <drepper@gmail.com>
58441
58442 * po/da.po: Update from translation team.
58443
fa41c84d
UD
584442010-10-26 Ulrich Drepper <drepper@gmail.com>
58445
58446 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58447 is added to the list.
58448
f0967738
AK
584492010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58450 Ulrich Drepper <drepper@gmail.com>
58451
58452 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58453 the global list here. Move code to...
58454 (_dl_add_to_namespace_list): ...here. New function.
58455 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58456 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58457 * elf/dl-load.c (lose): Don't remove the element from the list.
58458 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58459 (_dl_map_object): Likewise.
58460
584612010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
58462
58463 [BZ #12159]
58464 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58465 into all bytes of SSE register.
58466 Patch by Richard Li <richardpku@gmail.com>.
58467
f0967738 584682010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
58469
58470 [BZ #12140]
58471 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58472 perturbing.
58473
d0b9e94f
MB
584742010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58475
58476 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58477 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58478 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58479 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58481 submachine.
58482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58483
8e9f92e9
AS
584842010-10-22 Andreas Schwab <schwab@redhat.com>
58485
58486 * include/dlfcn.h (__RTLD_SECURE): Define.
58487 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58488 mode & __RTLD_SECURE instead.
58489 (open_path): Rename preloaded parameter to secure.
58490 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58491 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58492 * elf/dl-deps.c (openaux): Likewise.
58493 * elf/rtld.c (struct map_args): Remove is_preloaded.
58494 (map_doit): Don't use it.
58495 (dl_main): Likewise.
58496 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58497 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58498
bc96fbda
AS
584992010-09-09 Andreas Schwab <schwab@redhat.com>
58500
58501 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58502 (sysd-rules-targets): Remove duplicates.
58503 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58504 rtld-%.$o dependency.
58505
22cd1c9b
AS
585062010-10-18 Andreas Schwab <schwab@redhat.com>
58507
58508 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58509 _dl_map_object do it.
58510
18edac48
UD
585112010-10-19 Ulrich Drepper <drepper@gmail.com>
58512
58513 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58514 fast fma builtins, define the macros in the C99 standard.
58515 (FP_FAST_FMAF): Likewise.
58516 (FP_FAST_FMAL): Likewise.
58517 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58518
58519 * bits/mathdef.h: Update copyright year.
58520 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58521
d2050124
MM
585222010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58523
58524 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58525 builtins, define the macros in the C99 standard.
58526 (FP_FAST_FMAF): Likewise.
58527 (FP_FAST_FMAL): Likewise.
58528 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58529 multiply/add.
58530 (FP_FAST_FMAF): Likewise.
58531
475facd1
JJ
585322010-10-15 Jakub Jelinek <jakub@redhat.com>
58533
58534 [BZ #3268]
58535 * math/libm-test.inc (fma_test): Some new testcases.
58536 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58538 y and infinite z. Do multiplication by C already in long double.
58539 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58541 y and infinite z. Do bitwise or of inexact bit into u.d.
58542 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58543 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58544 * sysdeps/i386/fpu/s_fma.S: Removed.
58545 * sysdeps/i386/fpu/s_fmal.S: Removed.
58546
7c08a05c
JJ
585472010-10-16 Jakub Jelinek <jakub@redhat.com>
58548
58549 [BZ #3268]
58550 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58552 computation is not scheduled after fetestexcept. Fix value
58553 of minimum denormal long double.
58554
f3f7372d
JJ
585552010-10-14 Jakub Jelinek <jakub@redhat.com>
58556
58557 [BZ #3268]
58558 * math/libm-test.inc (fma_test): Add some more tests.
58559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58560 correctly.
58561
14d43591
AS
585622010-10-15 Andreas Schwab <schwab@redhat.com>
58563
58564 * scripts/data/localplt-s390-linux-gnu.data: New file.
58565 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58566
5e908464
JJ
585672010-10-13 Jakub Jelinek <jakub@redhat.com>
58568
58569 [BZ #3268]
58570 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58571 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58572 instead of dbl-64.
58573 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58574 inlines.
58575 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58577 if one of x and y is very large and the other is subnormal.
58578 * sysdeps/s390/fpu/s_fmaf.c: New file.
58579 * sysdeps/s390/fpu/s_fma.c: New file.
58580 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58581 * sysdeps/powerpc/fpu/s_fma.S: New file.
58582 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58583 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58584 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58585
585862010-10-12 Jakub Jelinek <jakub@redhat.com>
58587
58588 [BZ #3268]
58589 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58590 fma tests.
58591 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58592 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58593 * sysdeps/i386/i686/multiarch/s_fma.c: Include
58594 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58595 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58596 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58597 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58598
b833d51f
UD
585992010-10-12 Ulrich Drepper <drepper@redhat.com>
58600
58601 [BZ #12078]
58602 * posix/regcomp.c (parse_branch): One more memory leak plugged.
58603 * posix/bug-regex31.input: Add test case.
58604
1751705d
UD
586052010-10-11 Ulrich Drepper <drepper@gmail.com>
58606
e9b9cbf5
UD
58607 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58608 * posix/bug-regex31.input: New file.
58609
58610 [BZ #12078]
58611 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58612 (parse_sub_exp): Fix last change, use postorder.
58613
ef06edbe
UD
58614 * posix/bug-regex31.c: New file.
58615 * posix/Makefile: Add rules to build and run bug-regex31.
58616
a129c80d
UD
58617 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58618
58619 [BZ #12078]
58620 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58621
b76b818e
UD
58622 [BZ #12108]
58623 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58624 to have entries in sys_siglist.
58625
1751705d
UD
58626 [BZ #12093]
58627 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58628 be NULL.
58629
9ff8d36f
JJ
586302010-10-07 Jakub Jelinek <jakub@redhat.com>
58631
58632 [BZ #3268]
58633 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58634 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58635 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58636 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58637 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58638 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58639 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58640 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58641 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58642 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58643 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58644 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58645 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58646 * math/ftestexcept.c (fetestexcept): Likewise.
58647 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58648 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58649 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58650 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58651 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58652 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58653 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58654
af325969
UD
586552010-10-11 Ulrich Drepper <drepper@gmail.com>
58656
c579b202 58657 [BZ #12107]
af325969
UD
58658 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58659 newline.
58660
67a67b95
UD
586612010-10-06 Ulrich Drepper <drepper@gmail.com>
58662
58663 * string/bug-strstr1.c: New file.
58664 * string/Makefile: Add rules to build and run bug-strstr1.
58665
5fb308bc
EB
586662010-10-05 Eric Blake <eblake@redhat.com>
58667
58668 [BZ #12092]
58669 * string/str-two-way.h (two_way_long_needle): Always clear memory
58670 when skipping input due to the shift table.
58671
45db99c7
UD
586722010-10-03 Ulrich Drepper <drepper@gmail.com>
58673
3b111893
UD
58674 [BZ #12005]
58675 * malloc/mcheck.c: Handle large requests.
58676
45db99c7
UD
58677 [BZ #12077]
58678 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58679 for strncmp and strncasecmp.
58680 * string/stratcliff.c: Add tests for strcmp and strncmp.
58681 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58682
cf7a1eb8
NI
586832010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
58684
58685 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58686 __set_fpscr.
58687
6484ba5e
AJ
586882010-09-30 Andreas Jaeger <aj@suse.de>
58689
58690 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58691 (CGROUP_SUPER_MAGIC): Define.
58692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58693 Handle btrfs and cgroup file systems.
58694 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58695 Likewise.
58696
91c42559
LM
586972010-09-27 Luis Machado <luisgpm@br.ibm.com>
58698
58699 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58700 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58701
87a97932
AK
587022010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58703
58704 [BZ #12067]
58705 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58706 trying to locate the ELF header.
58707
c21cc9bc
AS
587082010-09-27 Andreas Schwab <schwab@redhat.com>
58709
58710 [BZ #11611]
58711 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58712 Mask out sign-bit copies when constructing f_fsid.
58713
315970f6
PB
587142010-09-24 Petr Baudis <pasky@suse.cz>
58715
58716 * debug/stack_chk_fail_local.c: Add missing licence exception.
58717 * debug/warning-nop.c: Likewise.
58718
1ac7a2c7
JM
587192010-09-15 Joseph Myers <joseph@codesourcery.com>
58720
58721 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58722 implementing getdents64 using getdents syscall, set d_type if
58723 __ASSUME_GETDENTS32_D_TYPE.
58724
56801c50
AS
587252010-09-16 Andreas Schwab <schwab@redhat.com>
58726
58727 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58728 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58729
dda51327
UD
587302010-09-21 Ulrich Drepper <drepper@redhat.com>
58731
58732 [BZ #12037]
58733 * posix/unistd.h: Undo change of feature selection for ftruncate from
58734 2010-01-11.
58735
8ffcee4a
UD
587362010-09-20 Ulrich Drepper <drepper@redhat.com>
58737
a545ecd9 58738 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
58739 detection.
58740
e24f0a8b
AS
587412010-09-20 Andreas Schwab <schwab@redhat.com>
58742
58743 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58744 fanotify_mark.
58745 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58746
7291c56f
AS
587472010-09-14 Andreas Schwab <schwab@redhat.com>
58748
58749 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58750 variables after CHECK_SP call.
58751 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58752
bc5fb037
AS
587532010-09-13 Andreas Schwab <schwab@redhat.com>
58754 Ulrich Drepper <drepper@redhat.com>
58755
58756 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58757 re-relocationg ld.so.
58758 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58759 _dl_init_paths call.
58760 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
58761 here anymore.
58762
e66e7419
UD
587632010-09-14 Ulrich Drepper <drepper@redhat.com>
58764
58765 * resolv/res_init.c (__res_vinit): Count the default server we added.
58766
c044aa75
CLT
587672010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
58768 Ulrich Drepper <drepper@redhat.com>
58769
58770 [BZ #11968]
58771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58772 (____longjmp_chk): Use %ebx for saving value across system call.
58773 Add unwind info.
58774
32cf4069
AS
587752010-09-06 Andreas Schwab <schwab@redhat.com>
58776
58777 * manual/Makefile: Don't mix pattern rules with normal rules.
58778
817328ee
AS
587792010-09-05 Andreas Schwab <schwab@linux-m68k.org>
58780
58781 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58782 operation.
58783 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58784 * libio/iofopncook.c (_IO_cookie_init): Likewise.
58785 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58786 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58788 Likewise.
58789
29fddf61
UD
587902010-09-04 Ulrich Drepper <drepper@redhat.com>
58791
58792 [BZ #11979]
58793 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58794 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58795
0959ffc9
UD
587962010-09-02 Ulrich Drepper <drepper@redhat.com>
58797
58798 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58799 * sysdeps/x86_64/addmul_1.S: Likewise.
58800 * sysdeps/x86_64/lshift.S: Likewise.
58801 * sysdeps/x86_64/mul_1.S: Likewise.
58802 * sysdeps/x86_64/rshift.S: Likewise.
58803 * sysdeps/x86_64/sub_n.S: Likewise.
58804 * sysdeps/x86_64/submul_1.S: Likewise.
58805
ece29840
ST
588062010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
58807
0959ffc9
UD
58808 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58809 Define __sched_param instead of SCHED_* and sched_param when
ece29840 58810 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 58811 * bits/sched.h [__need_schedparam]
ece29840 58812 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
58813 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58814 (__defined_schedparam): Define to 1.
ece29840
ST
58815 (__sched_param): New structure, identical to sched_param.
58816 (__need_schedparam): Undefine.
58817
e53a31fe
MF
588182010-08-31 Mike Frysinger <vapier@gentoo.org>
58819
fdc0c10d
MF
58820 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58821 (epoll_create1): Declare.
58822
e53a31fe
MF
58823 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58824
a726d796
AS
588252010-08-31 Andreas Schwab <schwab@redhat.com>
58826
58827 [BZ #7066]
58828 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58829 shifting retval into place.
58830
2f3e3dc7
UD
588312010-09-01 Ulrich Drepper <drepper@redhat.com>
58832
f2933da9
UD
58833 * nis/rpcsvc/nis.h: Update copyright notice.
58834 * nis/rpcsvc/nis.x: Likewise.
58835 * nis/rpcsvc/nis_callback.h: Likewise.
58836 * nis/rpcsvc/nis_callback.x: Likewise.
58837 * nis/rpcsvc/nis_object.x: Likewise.
58838 * nis/rpcsvc/nis_tags.h: Likewise.
58839 * nis/rpcsvc/yp.h: Likewise.
58840 * nis/rpcsvc/yp.x: Likewise.
58841 * nis/rpcsvc/ypupd.h: Likewise.
58842 * nis/yp_xdr.c: Likewise.
58843 * nis/ypupdate_xdr.c: Likewise.
58844
2f3e3dc7
UD
58845 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
58846 mainly the body of pmap_getport. Add parameters to specify timeouts.
58847 (pmap_getport): Use __libc_rpc_getport.
58848 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58849 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58850 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58851
f3dcc2f9
AS
588522010-08-31 Andreas Schwab <schwab@linux-m68k.org>
58853
58854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58855 fanotify_mark.
58856
6d34eb5b
RM
588572010-08-27 Roland McGrath <roland@redhat.com>
58858
58859 * sysdeps/i386/i686/multiarch/Makefile
58860 (CFLAGS-varshift.c): New variable.
58861
9ea3de11
UD
588622010-08-27 Ulrich Drepper <drepper@redhat.com>
58863
c96d23fc
UD
58864 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58865 * sysdeps/i386/i686/multiarch/varshift.c: New file.
58866
9ea3de11
UD
58867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58868
58869 * sysdeps/x86_64/strlen.S: Minimal code improvement.
58870
623aac7f
L
588712010-08-26 H.J. Lu <hongjiu.lu@intel.com>
58872
58873 * sysdeps/x86_64/strlen.S: Unroll the loop.
58874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58875 strlen-sse2 strlen-sse2-bsf.
58876 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58877 __strlen_no_bsf if bit_Slow_BSF is set.
58878 (__strlen_sse42): Removed.
58879 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58880 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58881
8b2b7715
RM
588822010-08-25 Roland McGrath <roland@redhat.com>
58883
58884 * sysdeps/x86_64/multiarch/varshift.S: File removed.
58885 * sysdeps/x86_64/multiarch/varshift.c: New file.
58886 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58887 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58888 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58889 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58890
e73015f2
L
588912010-08-25 H.J. Lu <hongjiu.lu@intel.com>
58892
58893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58894 strlen-sse2 strlen-sse2-bsf.
58895 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58896 __strlen_sse2_bsf if bit_Slow_BSF is unset.
58897 (__strlen_sse2): Removed.
58898 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58899 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58901 bit_Slow_BSF for Atom.
58902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58903 (index_Slow_BSF): Define.
58904 (HAS_SLOW_BSF): Define.
58905
df24a73e
UD
589062010-08-25 Ulrich Drepper <drepper@redhat.com>
58907
58908 [BZ #10851]
58909 * resolv/res_init.c (__res_vinit): When no server address at all
58910 is given default to loopback.
58911
f2ac4868
RM
589122010-08-24 Roland McGrath <roland@redhat.com>
58913
09055553
RM
58914 * configure.in: Remove config-name.h generation.
58915 * configure: Regenerated.
58916 * config-name.in: File removed.
58917 * scripts/config-uname.sh: New file.
58918 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58919 ($(objdir)config-name.h): New target.
58920
f2ac4868
RM
58921 * sunrpc/rpc_parse.h: Avoid nested comment.
58922
73f27d5e
RH
589232010-08-24 Richard Henderson <rth@redhat.com>
58924 Ulrich Drepper <drepper@redhat.com>
58925 H.J. Lu <hongjiu.lu@intel.com>
58926
58927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58929 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58930 Replace _mm_srli_si128 with __m128i_shift_right. Replace
58931 _mm_alignr_epi8 with _mm_loadu_si128.
58932 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58933 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58934 (__m128i_shift_right): Removed.
58935 * sysdeps/i386/i686/multiarch/varshift.h: New file.
58936 * sysdeps/i386/i686/multiarch/varshift.S: New file.
58937 * sysdeps/x86_64/multiarch/varshift.h: New file.
58938 * sysdeps/x86_64/multiarch/varshift.S: New file.
58939
84b9230c
MF
589402010-08-21 Mike Frysinger <vapier@gentoo.org>
58941
58942 * configure.in: Move assembler checks to before sysdep dir checking.
58943
9bbd0ddc
PB
589442010-08-20 Petr Baudis <pasky@suse.cz>
58945
58946 * LICENSES: Sync the sunrpc license.
58947
9da4bb31
UD
589482010-08-19 Ulrich Drepper <drepper@redhat.com>
58949
a7ab6ec8
UD
58950 * sunrpc/auth_des.c: Update copyright notice once again.
58951 * sunrpc/auth_none.c: Likewise.
58952 * sunrpc/auth_unix.c: Likewise.
58953 * sunrpc/authdes_prot.c: Likewise.
58954 * sunrpc/authuxprot.c: Likewise.
58955 * sunrpc/bindrsvprt.c: Likewise.
58956 * sunrpc/clnt_gen.c: Likewise.
58957 * sunrpc/clnt_perr.c: Likewise.
58958 * sunrpc/clnt_raw.c: Likewise.
58959 * sunrpc/clnt_simp.c: Likewise.
58960 * sunrpc/clnt_tcp.c: Likewise.
58961 * sunrpc/clnt_udp.c: Likewise.
58962 * sunrpc/clnt_unix.c: Likewise.
58963 * sunrpc/des_crypt.c: Likewise.
58964 * sunrpc/des_soft.c: Likewise.
58965 * sunrpc/get_myaddr.c: Likewise.
58966 * sunrpc/getrpcport.c: Likewise.
58967 * sunrpc/key_call.c: Likewise.
58968 * sunrpc/key_prot.c: Likewise.
58969 * sunrpc/openchild.c: Likewise.
58970 * sunrpc/pm_getmaps.c: Likewise.
58971 * sunrpc/pm_getport.c: Likewise.
58972 * sunrpc/pmap_clnt.c: Likewise.
58973 * sunrpc/pmap_prot.c: Likewise.
58974 * sunrpc/pmap_prot2.c: Likewise.
58975 * sunrpc/pmap_rmt.c: Likewise.
58976 * sunrpc/rpc/auth.h: Likewise.
58977 * sunrpc/rpc/auth_unix.h: Likewise.
58978 * sunrpc/rpc/clnt.h: Likewise.
58979 * sunrpc/rpc/des_crypt.h: Likewise.
58980 * sunrpc/rpc/key_prot.h: Likewise.
58981 * sunrpc/rpc/netdb.h: Likewise.
58982 * sunrpc/rpc/pmap_clnt.h: Likewise.
58983 * sunrpc/rpc/pmap_prot.h: Likewise.
58984 * sunrpc/rpc/pmap_rmt.h: Likewise.
58985 * sunrpc/rpc/rpc.h: Likewise.
58986 * sunrpc/rpc/rpc_des.h: Likewise.
58987 * sunrpc/rpc/rpc_msg.h: Likewise.
58988 * sunrpc/rpc/svc.h: Likewise.
58989 * sunrpc/rpc/svc_auth.h: Likewise.
58990 * sunrpc/rpc/types.h: Likewise.
58991 * sunrpc/rpc/xdr.h: Likewise.
58992 * sunrpc/rpc_clntout.c: Likewise.
58993 * sunrpc/rpc_cmsg.c: Likewise.
58994 * sunrpc/rpc_common.c: Likewise.
58995 * sunrpc/rpc_cout.c: Likewise.
58996 * sunrpc/rpc_dtable.c: Likewise.
58997 * sunrpc/rpc_hout.c: Likewise.
58998 * sunrpc/rpc_main.c: Likewise.
58999 * sunrpc/rpc_parse.c: Likewise.
59000 * sunrpc/rpc_parse.h: Likewise.
59001 * sunrpc/rpc_prot.c: Likewise.
59002 * sunrpc/rpc_sample.c: Likewise.
59003 * sunrpc/rpc_scan.c: Likewise.
59004 * sunrpc/rpc_scan.h: Likewise.
59005 * sunrpc/rpc_svcout.c: Likewise.
59006 * sunrpc/rpc_tblout.c: Likewise.
59007 * sunrpc/rpc_util.c: Likewise.
59008 * sunrpc/rpc_util.h: Likewise.
59009 * sunrpc/rpcinfo.c: Likewise.
59010 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59011 * sunrpc/rpcsvc/key_prot.x: Likewise.
59012 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59013 * sunrpc/rpcsvc/mount.x: Likewise.
59014 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59015 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59016 * sunrpc/rpcsvc/rex.x: Likewise.
59017 * sunrpc/rpcsvc/rstat.x: Likewise.
59018 * sunrpc/rpcsvc/rusers.x: Likewise.
59019 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59020 * sunrpc/rpcsvc/spray.x: Likewise.
59021 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59022 * sunrpc/rtime.c: Likewise.
59023 * sunrpc/svc.c: Likewise.
59024 * sunrpc/svc_auth.c: Likewise.
59025 * sunrpc/svc_authux.c: Likewise.
59026 * sunrpc/svc_raw.c: Likewise.
59027 * sunrpc/svc_run.c: Likewise.
59028 * sunrpc/svc_simple.c: Likewise.
59029 * sunrpc/svc_tcp.c: Likewise.
59030 * sunrpc/svc_udp.c: Likewise.
59031 * sunrpc/svc_unix.c: Likewise.
59032 * sunrpc/svcauth_des.c: Likewise.
59033 * sunrpc/xcrypt.c: Likewise.
59034 * sunrpc/xdr.c: Likewise.
59035 * sunrpc/xdr_array.c: Likewise.
59036 * sunrpc/xdr_float.c: Likewise.
59037 * sunrpc/xdr_mem.c: Likewise.
59038 * sunrpc/xdr_rec.c: Likewise.
59039 * sunrpc/xdr_ref.c: Likewise.
59040 * sunrpc/xdr_sizeof.c: Likewise.
59041 * sunrpc/xdr_stdio.c: Likewise.
59042
9da4bb31
UD
59043 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59044 handling.
59045
bdaa77bc
AS
590462010-08-19 Andreas Schwab <schwab@redhat.com>
59047
59048 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59049
fe2f79db
LM
590502010-08-19 Luis Machado <luisgpm@br.ibm.com>
59051
59052 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59053 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59054 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59055 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59056 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59057 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59058 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59059 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59060 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59061 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59062 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59063 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59064 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59066
b9b42ee0
AB
590672010-07-26 Anton Blanchard <anton@samba.org>
59068
59069 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59070 * malloc/arena.c (heap_trim): Likewise.
59071
1c06ba31
UD
590722010-08-16 Ulrich Drepper <drepper@redhat.com>
59073
59074 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59075 here. Not...
59076 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59077 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59078
f8392f40
L
590792010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59080
59081 * sysdeps/i386/elf/Makefile: New file.
59082
3162f12e
AS
590832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59084
59085 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59086 from fanotify_init.
59087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59088 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59089
28c90b2c
UD
590902010-08-15 Ulrich Drepper <drepper@redhat.com>
59091
59092 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59093 of strncasecmp_l.
1feccb6c 59094 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 59095
ca6bb004
UD
590962010-08-14 Ulrich Drepper <drepper@redhat.com>
59097
e9f82e0d
UD
59098 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59099 strncase_l-nonascii.
59100 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59101 Add strncase_l-ssse3.
59102 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59103 * sysdeps/x86_64/strcmp.S: Likewise.
59104 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59105 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59106 * sysdeps/x86_64/strncase.S: New file.
59107 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59108 * sysdeps/x86_64/strncase_l.S: New file.
59109 * string/Makefile (strop-tests): Add strncasecmp.
59110 * string/test-strncasecmp.c: New file.
59111
59112 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59113 warning.
59114
ca6bb004
UD
59115 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59116 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59117
052fa7b3
AS
591182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59119
59120 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59121
962dba78
UD
591222010-08-12 Ulrich Drepper <drepper@redhat.com>
59123
59124 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59125 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59126 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59127
bebff237
AM
591282010-05-01 Alan Modra <amodra@gmail.com>
59129
59130 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59131 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59132 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59133 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59134 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59135 tidying. Don't tail-call __sigjmp_save for static lib.
59136 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59137 save location.
59138 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59139 (CALL_MCOUNT): Add eh info, and nop after bl.
59140 (TAIL_CALL_SYSCALL_ERROR): New macro.
59141 (PSEUDO_RET): Use it.
59142 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59143 Correct save location of integer regs and cr.
59144 (_dl_profile_resolve): Correct cr save location. Delete nops
59145 after bl when SHARED. Reduce cfi size a little by better
59146 placement of cfi directives.
59147 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59148 make a stack frame. Instead use parm save area as a temp.
59149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59150 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59152 Don't make a stack frame for parent, use parm save area.
59153 Increase child stack frame to 112 bytes. Don't save unused reg,
59154 and adjust reg usage. Set up cfi on error recovery and
59155 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59157 (__makecontext): Add dummy nop after jump to exit.
59158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59159 Use correct parm save area and cr save, reduce stack frame.
59160 Correct cfi for possible PSEUDO_RET frame setup.
59161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59162 Branch to local label emitted by PSEUDO_RET rather than
59163 __syscall_error.
59164
02637374
AS
591652010-08-12 Andreas Schwab <schwab@redhat.com>
59166
59167 [BZ #11904]
59168 * locale/programs/locale.c (print_assignment): New function.
59169 (show_locale_vars): Use it.
59170
c3e2f19b
UD
591712010-08-11 Ulrich Drepper <drepper@redhat.com>
59172
3cdaa6ad
UD
59173 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59174 field.
59175 (struct statfs64): Likewise.
59176 (_STATFS_F_FLAGS): Define.
59177 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59178 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59179 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59180 (ST_VALID): Define locally.
59181 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59182 __statvfs_getflags, use the provided value.
59183 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59184 __ASSUME_STATFS_F_FLAGS.
59185
754f7da3
UD
59186 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59187
10b3bedc
UD
59188 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59189 Add sys/fanotify.h.
59190 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59191 fanotify_mask for GLIBC_2.13.
59192 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59193 fanotify_init and fanotify_mark.
59194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59195 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59196
c08fb0d7
UD
59197 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59198 Add prlimit.
59199 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59200 prlimit64 for GLIBC_2.13.
59201 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59202 prlimit64.
59203 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59204 syscall.
59205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59206 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59207 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59208 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59210 add prlimit alias.
59211 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59212
15bac72b
UD
59213 [BZ #11903]
59214 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59215 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59216
c3e2f19b
UD
59217 * nss/Makefile: Add rules to build and run tst-nss-test1.
59218 * shlib-versions: Add entry for libnss_test1.
59219 * nss/nss_test1.c: New file.
59220 * nss/tst-nss-test1.c: New file.
59221
59222 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59223 (__nss_configure_lookup): Set appropriate entry in
59224 __nss_configure_lookup to true.
59225 * nss/nsswitch.h: Define enum with indeces of databases in
59226 databases and __nss_database_custom arrays. Declare
59227 __nss_database_custom.
59228 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59229 to avoid using nscd when custom rules are installed.
59230 * nss/getXXbyYY_r.c: Likewise.
59231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59232
59233 * nss/nss_files/files-parse.c: Whitespace fixes.
59234
f15ce4d8
UD
592352010-08-09 Ulrich Drepper <drepper@redhat.com>
59236
59237 [BZ #11883]
59238 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59239 * posix/fnmatch_loop.c: Likewise.
59240
d22e4cc9
AK
592412010-07-17 Andi Kleen <ak@linux.intel.com>
59242
59243 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59244 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59245 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59246 * Versions.def [GLIBC_2.13]: Add.
59247
805bc17d
UD
592482010-08-06 Ulrich Drepper <drepper@redhat.com>
59249
59250 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59251 Also fail if tpwd after pwuid call is NULL.
59252
5a42321d
ST
592532010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59254
59255 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59256 when converting to ms.
59257
fd3ebeda
ST
592582010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59259
59260 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59261 EOPNOTSUPP errors with ENOTTY.
59262 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59263 EOPNOTSUPP errors with ENOTTY.
59264
73507d3a
UD
592652010-07-31 Ulrich Drepper <drepper@redhat.com>
59266
59267 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59268 Add strcasecmp_l-ssse3.
59269 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59270 strcasecmp.
59271 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59272 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59273 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59274
fe36dd02
UD
592752010-07-30 Ulrich Drepper <drepper@redhat.com>
59276
66f6765a
UD
59277 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59278
42e08a54
UD
59279 * string/Makefile (strop-tests): Add strcasecmp.
59280 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59281 strcasecmp_l-nonascii.
59282 (gen-as-const-headers): Add locale-defines.sym.
59283 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59284 * sysdeps/x86_64/strcasecmp.S: New file.
59285 * sysdeps/x86_64/strcasecmp_l.S: New file.
59286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59287 * sysdeps/x86_64/locale-defines.sym: New file.
59288 * string/test-strcasecmp.c: New file.
59289
fe36dd02
UD
59290 * string/test-strcasestr.c: Test both ends of the range of characters.
59291 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59292
48cbc0d6
RM
592932010-07-29 Roland McGrath <roland@redhat.com>
59294
76e6d6bc 59295 [BZ #11856]
48cbc0d6
RM
59296 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59297
880113d9
UD
592982010-07-27 Ulrich Drepper <drepper@redhat.com>
59299
59300 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59301 for ld.so.
59302
deb9cabb
AS
593032010-07-27 Andreas Schwab <schwab@redhat.com>
59304
59305 * manual/memory.texi (Malloc Tunable Parameters): Document
59306 M_PERTURB.
59307
1c7570ff
RM
593082010-07-26 Roland McGrath <roland@redhat.com>
59309
59310 [BZ #11840]
59311 * configure.in (-fgnu89-inline check): Set and substitute
59312 gnu89_inline, not libc_cv_gnu89_inline.
59313 * configure: Regenerated.
59314 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59315
24fb0f88
UD
593162010-07-26 Ulrich Drepper <drepper@redhat.com>
59317
59318 * string/test-strnlen.c: New file.
59319 * string/Makefile (strop-tests): Add strnlen.
59320 * string/tester.c (test_strnlen): Add a few more test cases.
59321 * string/tst-strlen.c: Better error reporting.
59322
59323 * sysdeps/x86_64/strnlen.S: New file.
59324
8e96b93a
UD
593252010-07-24 Ulrich Drepper <drepper@redhat.com>
59326
59327 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59328 lower-latency instructions.
59329
dbc676d4
UD
593302010-07-23 Ulrich Drepper <drepper@redhat.com>
59331
59332 * string/test-strcasestr.c: New file.
59333 * string/test-strstr.c: New file.
59334 * string/Makefile (strop-tests): Add strstr and strcasestr.
59335 * string/str-two-way.h: Don't undefine MAX.
59336 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59337
f6a31e0e
AS
593382010-07-21 Andreas Schwab <schwab@redhat.com>
59339
59340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59341 strcasestr-nonascii.
59342 (CFLAGS-strcasestr-nonascii.c): Define.
59343 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59344 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59345 Remove unused attribute.
59346
5dbc3b6c
RM
593472010-07-20 Roland McGrath <roland@redhat.com>
59348
59349 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59350 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59351 ld.so.cache was broken. With it, there is no way to disable dsocaps
59352 like LD_HWCAP_MASK can disable hwcaps.
59353
23d101d8
EPM
593542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59355
59356 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59357
cc9f2e47
UD
593582010-07-16 Ulrich Drepper <drepper@redhat.com>
59359
59360 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59361 call in strcasestr.
59362 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59363 __strcasestr_sse42_nonascii.
59364 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59365 strcasestr-nonascii.c.
59366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59367
77c1b069
LM
593682010-06-15 Luis Machado <luisgpm@br.ibm.com>
59369
59370 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59371 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59372 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59373 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59374
440566c3
UD
593752010-07-09 Ulrich Drepper <drepper@redhat.com>
59376
59377 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59378 fcntl.
59379
5be9d05d
AS
593802010-07-06 Andreas Schwab <schwab@redhat.com>
59381
c30b7ee2 59382 [BZ #11577]
5be9d05d
AS
59383 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59384 dl_signal_cerror.
59385
8a492a67
UD
593862010-07-06 Ulrich Drepper <drepper@redhat.com>
59387
59388 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59389 _PC_PIPE_BUF using F_GETPIPE_SZ.
59390
713df3d5
RM
593912010-07-05 Roland McGrath <roland@redhat.com>
59392
59393 * manual/arith.texi (Rounding Functions): Fix rint description
59394 implicit in round description.
59395
702e8f14
UD
593962010-07-02 Ulrich Drepper <drepper@redhat.com>
59397
59398 * elf/Makefile: Fix linking for a few tests to make recent linker
59399 happy.
59400
52ed8be9
AS
594012010-06-30 Andreas Schwab <schwab@redhat.com>
59402
59403 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59404 $(common-objpfx)libc_nonshared.a.
59405
f47c9a11
LM
594062010-06-21 Luis Machado <luisgpm@br.ibm.com>
59407
59408 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59409 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59410 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59411 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59412 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59413 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59414 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59415 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59430 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59431 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59432 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59433 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59434 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59435 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59436 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59437 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59438 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59439 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59440 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59441 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59456
6fb8cbcb
L
594572010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59458
59459 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59460 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59461 * string/memmove.c (memmove): Renamed to ...
59462 (MEMMOVE): ...this. Default to memmove.
59463 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59464 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59465 (END_CHK): Define.
59466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59467 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59468 mempcpy-ssse3-back memmove-ssse3-back.
59469 * sysdeps/x86_64/multiarch/bcopy.S: New file .
59470 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59471 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59472 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59473 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59474 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59475 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59476 * sysdeps/x86_64/multiarch/memmove.c: New file.
59477 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59478 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59479 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59480 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59481 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59483 Define.
59484 (index_Fast_Copy_Backward): Define.
59485 (HAS_ARCH_FEATURE): Define.
59486 (HAS_FAST_REP_STRING): Define.
59487 (HAS_FAST_COPY_BACKWARD): Define.
59488
4e733bac 594892010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
59490
59491 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59492 Restore proper fallback handling.
59493
63c4ed22
UD
594942010-06-19 Ulrich Drepper <drepper@redhat.com>
59495
ac2b484c
UD
59496 [BZ #11701]
59497 * posix/group_member.c (__group_member): Correct checking loop.
59498
63c4ed22
UD
59499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59500 OOM in getpwuid_r correctly. Return error number when the caller
59501 should return, otherwise -1.
59502 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59503 call returning > 0 value.
59504 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59505
765ade4b
AS
595062010-06-07 Andreas Schwab <schwab@redhat.com>
59507
59508 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59509 libc_nonshared.a from targets in modules-names.
59510
80da2e09
KS
595112010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59512
59513 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59514 requires it.
59515
158db122
LM
595162010-06-10 Luis Machado <luisgpm@br.ibm.com>
59517
59518 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59519 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59520 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59522
caa78cf8
AS
595232010-06-02 Andreas Schwab <schwab@redhat.com>
59524
59525 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59526
b2ef2c01
UD
595272010-06-14 Ulrich Drepper <drepper@redhat.com>
59528
59529 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59530 and F_GETPIPE_SZ.
59531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59536 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59537
fbd643b6
RM
595382010-06-14 Roland McGrath <roland@redhat.com>
59539
59540 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59541
f32f2869
JJ
595422010-06-07 Jakub Jelinek <jakub@redhat.com>
59543
59544 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59545 __REDIRECT followed by __THROW.
59546 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59547 * posix/getopt.h (getopt): Likewise.
59548
2a50c078
EPM
595492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59550
59551 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59552 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59553 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59554 in AT_FLAGS.
59555 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59556 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59557
eb5ad2eb
LM
595582010-05-28 Luis Machado <luisgpm@br.ibm.com>
59559
59560 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59561
3c88fe1e
L
595622010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59563
59564 [BZ #11640]
59565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59566 Properly check family and model.
59567
d2f73151
TY
595682010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59569
59570 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59571
ebd2e13d
LM
595722010-05-24 Luis Machado <luisgpm@br.ibm.com>
59573
59574 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59575
b32b8b45
UD
595762010-05-21 Ulrich Drepper <drepper@redhat.com>
59577
59578 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59579 symbol reference.
59580
9acbe24d
AS
595812010-05-19 Andreas Schwab <schwab@redhat.com>
59582
59583 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59584 symbol reference.
59585
f0ccf6ea
AS
595862010-05-21 Andreas Schwab <schwab@redhat.com>
59587
3d04ff3a
AS
59588 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59589 and internal_recvmmsg.
59590 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59591 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59592 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59593 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59594
f0ccf6ea
AS
59595 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59596 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59597 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59598
5b08ac57
AS
595992010-05-20 Andreas Schwab <schwab@redhat.com>
59600
59601 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59602
4828935d
LM
596032010-05-17 Luis Machado <luisgpm@br.ibm.com>
59604
59605 POWER7 optimizations.
59606 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59607 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59608
373d545e
UD
596092010-05-19 Ulrich Drepper <drepper@redhat.com>
59610
59611 * version.h: Update for 2.13 development version.
59612
21a2b1ae
AS
596132010-05-12 Andrew Stubbs <ams@codesourcery.com>
59614
59615 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59616 exceptions. Return 0.
59617
3f7dcb2b
RM
596182010-05-07 Roland McGrath <roland@redhat.com>
59619
59620 * elf/ldconfig.c (main): Add a const.
59621
5f24d53a 596222010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 59623
a160f8d8
UD
59624 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59625 (args_options): Add no-idn option.
59626 (ahosts_keys_int): Add idn_flags to ai_flags.
59627 (parse_option): Handle 'i' option to clear idn_flags.
59628
5f24d53a
UD
59629 * malloc/malloc.c (_int_free): Possible race in the most recently
59630 added check. Only act on the data if no current modification
59631 happened.
265bb1ce
UD
59632
59633See ChangeLog.17 for earlier changes.