]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
test-skeleton.c: Use stdout for error messages
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c5c13355
WN
12014-06-23 Will Newton <will.newton@linaro.org>
2
3 * test-skeleton.c (signal_handler): Use printf and %m
4 rather than perror. Use printf rather than fprintf to
5 stderr. Use puts rather than fputs to stderr.
6 (main): Likewise.
7
bd3675f9
LC
82014-06-22 Ludovic Courtès <ludo@gnu.org>
9
10 * nscd/nscd.c (thread_info_t): Remove typedef.
11 (thread_info): Remove variable.
12
d03efb2f
AM
132014-06-21 Allan McRae <allan@archlinux.org>
14
15 * NEWS: Mention CVE-2014-4043.
16
bc4a86fa
RM
172014-06-20 Roland McGrath <roland@hack.frob.com>
18
dc9a54f8
RM
19 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
20 * nptl/smp.h: ... here.
21
bd7022c4
RM
22 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23
26ffd5e6
RM
24 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28
93a6d082
RM
29 * nptl/allocatestack.c: Include <stack-aliasing.h>.
30 * nptl/stack-aliasing.h: New file.
31 * sysdeps/i386/i686/stack-aliasing.h: New file.
32 * sysdeps/i386/i686/nptl/Makefile: File removed.
33 * sysdeps/x86_64/stack-aliasing.h: New file.
34 * sysdeps/x86_64/nptl/Makefile
35 (CFLAGS-pthread_create.c): Variable removed.
36
bc4a86fa
RM
37 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39 old file.
40 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42 old file.
43
2272ffc1
JM
442014-06-21 Joseph Myers <joseph@codesourcery.com>
45
46 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47 (__ASSUME_SIGFRAME_V2): Remove macro.
48 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
50 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
51 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
52 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
53 Declare as function. Remove conditional macro definitions.
54 (__default_rt_sa_restorer): Likewise.
55 (__default_sa_restorer_v1): Remove declaration.
56 (__default_sa_restorer_v2): Likewise.
57 (__default_rt_sa_restorer_v1): Likewise.
58 (__default_rt_sa_restorer_v2): Likewise.
59 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
60 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
61 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
62
4b88139b
RM
632014-06-20 Roland McGrath <roland@hack.frob.com>
64
65 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
66 (libpthread-routines): Add sysdep.
67 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
68 * sysdeps/unix/sysv/linux/sparc/Versions
69 (libpthread: GLIBC_2.3.3): New version set.
70 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
71 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
72 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
73 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
74 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
75 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
76 Moved ...
77 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
78 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
79 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
80 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
81 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
82 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
83 * sysdeps/sparc/nptl/sem_init.c: ... here.
84 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
85 * sysdeps/sparc/nptl/sem_post.c: ... here.
86 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
87 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
88 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
89 * sysdeps/sparc/nptl/sem_wait.c: ... here.
90 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
91 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
92 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
93 (libpthread-routines): Add cpu_relax.
94 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
95 File removed.
96 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
97 (librt: GLIBC_2.3.3): New version set.
98 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
99 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
100 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
101 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
104 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
106 Moved ...
107 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
109 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
111 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
113 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
115 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
117 Moved ...
118 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
119 Update #include.
120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
121 Moved ...
122 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
123 Update #include.
124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
125 Moved ...
126 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
127 Update #include.
128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
129 Moved ...
130 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
131 Update #include.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
133 Moved ...
134 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
135 Update #include.
136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
137 Moved ...
138 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
139 Update #include.
140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
141 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
147 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
149 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
151 Moved ...
152 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
154 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
156 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
157
d7109027
JM
1582014-06-20 Joseph Myers <joseph@codesourcery.com>
159
9bc6103d
JM
160 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
161 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
162 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
163 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
164 * nscd/nscd.c: Likewise.
165 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
166 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
167 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
168 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
169
d7109027
JM
170 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
171 <kernel-features.h>.
172 (init_mq_netlink): Remove conditional have_sock_cloexec
173 definitions. Remove code conditional on have_sock_cloexec < 0.
174 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
175 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
176 * sysdeps/unix/sysv/linux/opensock.c: Do not include
177 <kernel-features.h>.
178 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
179 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
180
d92d8f8a
L
1812014-06-20 H.J. Lu <hongjiu.lu@intel.com>
182
183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
184 Add tests for memset_chk and memset.
185
186 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
187 with AVX2_Usable.
188
4e6d2347
MR
1892014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
190
257ce712
MR
191 [BZ #16046]
192 * elf/tst-dl-iter-static.c: New file.
193 * elf/Makefile (tests-static): Add tst-dl-iter-static.
194
4e6d2347
MR
195 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
196 error.
197
a2a76afe
JM
1982014-06-20 Joseph Myers <joseph@codesourcery.com>
199
7fd00f99
JM
200 * sysdeps/unix/sysv/linux/kernel-features.h
201 (__ASSUME_F_GETOWN_EX): Remove macro.
202 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
203 <kernel-features.h>.
204 (miss_F_GETOWN_EX): Remove variable or macro.
205 (do_fcntl): Do not check miss_F_GETOWN_EX.
206 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
207
4a103975
JM
208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
209 Remove macro.
210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
211 [!__ASSUME_AT_RANDOM]: Remove conditional code.
212 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
213
a2a76afe
JM
214 * sysdeps/unix/sysv/linux/kernel-features.h
215 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
216 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
217 [ADJ_OFFSET_SS_READ]: Make code unconditional.
218 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
219
90e5dd48
MR
2202014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
221
222 [BZ #17075]
223 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
224 Fix calculation of the symbol's value.
225 * sysdeps/arm/tst-armtlsdescloc.c: New file.
226 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
227 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
228 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
229 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
230 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
231 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
232 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
233 (modules-names): Add `tst-armtlsdescmod',
234 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
235 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
236 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
237 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
238 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
239 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
240 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
241 ($(objpfx)tst-armtlsdescloc): New dependency.
242 ($(objpfx)tst-armtlsdescextnow): Likewise.
243 ($(objpfx)tst-armtlsdescextlazy): Likewise.
244 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
245 TLS scheme support.
246 * sysdeps/arm/configure: Regenerate.
247
809fdf0d
JM
2482014-06-20 Joseph Myers <joseph@codesourcery.com>
249
250 * include/fcntl.h (__atfct_seterrno): Remove prototype.
251 (__atfct_seterrno_2): Likewise.
252 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
253 <kernel-features.h>.
254 (__ASSUME_ATFCTS): Do not undefine and redefine.
255 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
256 (__have_atfcts): Remove conditional definition.
257 (__fxstatat([__NR_fstatat64]: Make code unconditional.
258 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
259 unreachable if [__ASSUME_ATFCTS].
260 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
261 not undefine and redefine.
262 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
263 <kernel-features.h>.
264 (faccessat) [__NR_faccessat]: Make code unconditional.
265 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
266 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
267 <kernel-features.h>.
268 (fchmodat) [__NR_fchmodat]: Make code unconditional.
269 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
270 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
271 <kernel-features.h>.
272 (fchownat) [__NR_fchownat]: Make code unconditional.
273 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
274 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
275 <kernel-features.h>.
276 (futimesat) [__NR_futimesat]: Make code unconditional.
277 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
278 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
279 <kernel-features.h>.
280 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
281 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
282 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
283 <kernel-features.h>.
284 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
285 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
286 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
287 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
288 <kernel-features.h>.
289 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
290 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
291 * sysdeps/unix/sysv/linux/linkat.c: Do not include
292 <kernel-features.h>.
293 (linkat) [__NR_linkat]: Make code unconditional.
294 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
295 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
296 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
297 <kernel-features.h>.
298 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
299 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
300 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
301 <kernel-features.h>.
302 (mkdirat) [__NR_mkdirat]: Make code unconditional.
303 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
304 * sysdeps/unix/sysv/linux/openat.c: Do not include
305 <kernel-features.h>.
306 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
307 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
308 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
309 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
310 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
311 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
312 <kernel-features.h>.
313 (readlinkat) [__NR_readlinkat]: Make code unconditional.
314 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
315 result of INLINE_SYSCALL directly, not via int variable.
316 * sysdeps/unix/sysv/linux/renameat.c: Do not include
317 <kernel-features.h>.
318 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
319 (renameat) [__NR_renameat]: Make code unconditional.
320 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
321 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
322 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
323 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
324 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
325 (__ASSUME_ATFCTS): Do not undefine and redefine.
326 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
327 <kernel-features.h>.
328 (symlinkat) [__NR_symlinkat]: Make code unconditional.
329 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
330 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
331 <kernel-features.h>.
332 (unlinkat) [__NR_unlinkat]: Make code unconditional.
333 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
334 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
335 (__ASSUME_ATFCTS): Do not undefine and redefine.
336 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
337 <kernel-features.h>.
338 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
339 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
341 <kernel-features.h>.
342 (__xmknodat) [__NR_mknodat]: Make code unconditional.
343 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
344
224c6c51
L
3452014-06-20 H.J. Lu <hongjiu.lu@intel.com>
346
347 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
348
aa6ec754
AS
3492014-06-20 Andreas Schwab <schwab@linux-m68k.org>
350
351 [BZ #17069]
352 * posix/regcomp.c (parse_reg_exp): Deallocate partially
353 constructed tree before returning error.
354 * posix/bug-regexp36.c: Expand test case.
355
d8c2869d
SL
3562014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
357
3ef6b850
SL
358 [BZ #6803]
359 * math/libm-test.inc (scalbln_test_date):
360 Add errno expectations.
361 * math/w_scalblnf.c: New File.
362 Add wrapper which checks for setting errno to ERANGE.
363 Add weak_alias for corresponding scalbln function.
364 * math/w_scalbln.c: Likewise.
365 * math/w_scalblnl.c: Likewise.
366 * math/Makefile (libm-calls): Add w_scalbln.
367 * sysdeps/ieee754/flt-32/s_scalblnf.c:
368 Remove weak_alias for corresponding scalbln function.
369 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
372 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
373 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
374 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
375 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
376 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
377 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
378 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
379 Remove long_double_symbol for scalblnl function in libm, libc.
380 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
381 Add wrapper which checks for setting errno to ERANGE.
382 Add long_double_symbol for scalblnl function in libm, libc.
383 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
384 Remove long_double_symbol for scalblnl in libm.
385 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
386 Add wrapper which checks for setting errno to ERANGE.
387 Add long_double_symbol for scalblnl function in libm.
388 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
389 Do not use wrapper because of own implementation.
390
c8daec5c
L
3912014-06-19 H.J. Lu <hongjiu.lu@intel.com>
392
393 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
394 3 bytes for __pad1 for x32.
395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
396
5c74e47c
LM
3972014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
398 H.J. Lu <hongjiu.lu@intel.com>
399
400 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
401 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
402 * sysdeps/x86_64/multiarch/memset.S: Likewise.
403 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
404 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
405
4d43ef1e
AS
4062014-06-19 Andreas Schwab <schwab@linux-m68k.org>
407
408 [BZ #17069]
409 * posix/regcomp.c (parse_expression): Deallocate partially
410 constructed tree before returning error.
411 * posix/Makefile.c (tests): Add bug-regex36.
412 (generated): Add bug-regex36.mtrace.
413 (tests-special): Add $(objpfx)bug-regex36-mem.out
414 (bug-regex36-ENV): New variable.
415 ($(objpfx)bug-regex36-mem.out): New rule.
416 * posix/bug-regex36.c: New file.
417
51a7380b
WN
4182014-06-19 Will Newton <will.newton@linaro.org>
419
420 * malloc/malloc.c (systrim): If extra is zero then return
421 early.
422
91b84fe5
SP
4232014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
424
425 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
426
f940b965
RE
4272014-06-19 Richard Earnshaw <rearnsha@arm.com>
428
429 * sysdeps/aarch64/strchr.S: New file.
430
4ba7a00f
JM
4312014-06-18 Joseph Myers <joseph@codesourcery.com>
432
433 [BZ #17022]
434 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
435 from arguments -2 or below.
436 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
437 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
438
b3a9f56b
AS
4392014-06-18 Andreas Schwab <schwab@suse.de>
440
441 [BZ #17062]
442 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
443 of a bracket expr not to run off the end of the string.
444 * posix/Makefile (tests): Add tst-fnmatch3.
445 * posix/tst-fnmatch3.c: New file.
446
85d89278
JM
4472014-06-18 Joseph Myers <joseph@codesourcery.com>
448
449 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
450 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
451 [$(cross-compiling) = no]: Likewise.
452 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
453 [$(cross-compiling) = no]: Likewise.
454
754c5a08
RS
4552014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
456
457 [BZ #17031]
458 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
459 double, adjusted for any remainder from the high double.
460 * math/libm-test.inc (nearbyint): Add tests.
461 (rint): Likewise.
462
556f529d
AZ
4632014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
464
465 * nptl/sysdeps/powerpc/Makefile: Moved ...
466 * sysdeps/powerpc/nptl/Makefile: ... here.
467 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
468 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
469 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
470 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
471 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
472 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
473 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
474 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
475 * nptl/sysdeps/powerpc/tls.h: Moved ...
476 * sysdeps/powerpc/nptl/tls.h: ... here.
477
91c03c53
JM
4782014-06-16 Joseph Myers <joseph@codesourcery.com>
479
480 [BZ #16681]
481 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
482 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
483 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
484 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
485 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
486 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
487 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
488 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
489 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
490
a76e63c5
AS
4912014-06-17 Andreas Schwab <schwab@linux-m68k.org>
492
493 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
494
f2f6d82f
AS
4952014-06-16 Andreas Schwab <schwab@linux-m68k.org>
496
ea8a15f6
AS
497 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
498 defined operator.
499
f2f6d82f
AS
500 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
501 $TIMEOUTFACTOR.
502
a7291117
FW
5032014-06-16 Florian Weimer <fweimer@redhat.com>
504
505 [BZ #17058]
506 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
507 non-executed part of the test.
508
3d7c00e3
AS
5092014-06-16 Andreas Schwab <schwab@suse.de>
510
511 * string/bits/string2.h (strdup, strndup): Update feature guard.
512
6957fb31
DM
5132014-06-14 David S. Miller <davem@davemloft.net>
514
515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
516
11b9e55b
AS
5172014-06-14 Andreas Schwab <schwab@linux-m68k.org>
518
1d2a0492
AS
519 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
520 that was previously under [RESET_PID].
521 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
522
11b9e55b
AS
523 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
524 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
525 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
526 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
527 (__libc_vfork): New strong alias.
528 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
529
0f6901d0
AK
5302014-06-14 Andi Kleen <ak@linux.intel.com>
531
532 * sysdeps/generic/elide.h: New file.
533
38bbbb9f
SL
5342014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
535
536 * Makefile (installed-headers): Adjust path of pthread.h header.
537
45193bb8
RM
5382014-06-13 Roland McGrath <roland@hack.frob.com>
539
9a25fd1e
RM
540 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
541 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
542 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
543 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
544
4004f7e4
RM
545 * nptl/sysdeps/s390/Makefile: Moved ...
546 * sysdeps/s390/nptl/Makefile: ... here.
547 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
548 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
549 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
550 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
551 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
552 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
553 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
554 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
555 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
556 * sysdeps/s390/nptl/pthreaddef.h: ... here.
557 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
558 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
559 * nptl/sysdeps/s390/tls.h: Moved ...
560 * sysdeps/s390/nptl/tls.h: ... here.
561
45193bb8
RM
562 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
563 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
564
f6fdf533
DM
5652014-06-13 David S. Miller <davem@davemloft.net>
566
567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
570 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
574 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
575 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
576 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
577 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
578 Remove RESET_PID cpp guards.
579 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
580 Remove RESET_PID cpp guards.
581 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
582
f5d71e14
AS
5832014-06-13 Andreas Schwab <schwab@linux-m68k.org>
584
585 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
586 __sp to uintptr_t.
587
b7aa8caa
AK
5882014-06-13 Andi Kleen <ak@linux.intel.com>
589
4b266200
AZ
590 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
591 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
592 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
593 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
594 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
595 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
596 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
597 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
598 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
599 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
600 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
601 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
602 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
603 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
604 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
605 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
606 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
607 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
608 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
609 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
610
611 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
612 (pthread_rwlock_rdlock): Add elision.
613 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
614 (pthread_rwlock_wrlock): Add elision.
615 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
616 (pthread_rwlock_trywrlock): Add elision.
617 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
618 (pthread_rwlock_tryrdlock): Add elision.
619 * nptl/pthread_rwlock_unlock.c: Include elide.h.
620 (pthread_rwlock_tryrdlock): Add elision unlock.
621 * nptl/sysdeps/pthread/pthread.h:
622 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
623 (PTHREAD_RWLOCK_INITIALIZER,
624 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
625 Handle new elision field.
626 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
627 * sysdeps/arm/nptl/bits/pthreadtypes.h
628 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
629 * sysdeps/sh/nptl/bits/pthreadtypes.h
630 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
631 * sysdeps/tile/nptl/bits/pthreadtypes.h
632 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
633 * sysdeps/a/nptl/bits/pthreadtypes.h
634 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
635 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
637 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
638 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
639 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
640 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
641 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
642 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
643 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
644 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
645 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
646 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
647 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
649 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
650 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
651 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
652 (elision_init): Set try_xbegin to zero when no RTM.
653 * sysdeps/x86/nptl/bits/pthreadtypes.h
654 (pthread_rwlock_t): Change __pad1 to __rwelision.
655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 656
a832bdd3
AK
6572014-06-13 Andi Kleen <ak@linux.intel.com>
658
659 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
660 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
661 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
662 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
663
995a46bb
MI
6642014-06-13 Meador Inge <meadori@codesourcery.com>
665
666 [BZ #16996]
03ed7738 667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
668 that the cached result has been set before returning it.
669
45262aee
RM
6702014-06-12 Roland McGrath <roland@hack.frob.com>
671
febf6cc5
RM
672 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
673 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
674 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
675 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
676 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
677 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
678
e2682246
RM
679 * nptl/sysdeps/sparc/Makefile: Moved ...
680 * sysdeps/sparc/nptl/Makefile: ... here.
681 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
682 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
683 * nptl/sysdeps/sparc/tls.h: Moved ...
684 * sysdeps/sparc/nptl/tls.h: ... here.
685 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
686 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
687 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
688 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
689 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
690 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
691 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
692 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
693 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
694 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
695 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
696 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
697 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
698 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
699 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
700 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
701 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
702 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
703 Update #include.
704 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
705 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
706 Update #include.
707 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
708 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
709 Update #include.
710 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
711 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
712 Update #include.
713
b0725f43
RM
714 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
715
b14368b8
RM
716 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
717 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
718
c5620eb3
RM
719 * sysdeps/pthread/posix-timer.h: Include <list.h>.
720 (struct list_links): Type removed.
721 (struct thread_node, struct timer_node): Replace struct list_links
722 with struct list_head.
723 (list_unlink_ip): Likewise.
724 * sysdeps/pthread/timer_routines.c
725 (timer_free_list, thread_free_list, thread_active_list): Likewise.
726 (list_append, list_insbefore): Likewise.
727 (list_init): Function removed.
728 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
729 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
730 * sysdeps/pthread/Makefile: ... here, new file.
731
732 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
733 * sysdeps/nptl/Implies: ... here.
734 * sysdeps/unix/sysv/linux/Implies: Add nptl.
735 * nptl/sysdeps/pthread/list.h: Moved ...
736 * include/list.h: ... here.
737 * nptl/sysdeps/pthread/createthread.c: Moved ...
738 * nptl/createthread.c: ... here.
739 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
740 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
741 * nptl/pt-longjmp.c: ... here.
742 * nptl/sysdeps/pthread/Makefile: Moved ...
743 * sysdeps/nptl/Makefile: ... here.
744 * nptl/sysdeps/pthread/Subdirs: Moved ...
745 * sysdeps/nptl/Subdirs: ... here.
746 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
747 * sysdeps/nptl/aio_misc.h: ... here.
748 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
749 * sysdeps/nptl/bits/libc-lock.h: ... here.
750 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
751 * sysdeps/nptl/bits/libc-lockP.h: ... here.
752 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
753 * sysdeps/nptl/bits/stdio-lock.h: ... here.
754 * nptl/sysdeps/pthread/configure: Moved ...
755 * sysdeps/nptl/configure: ... here.
756 * nptl/sysdeps/pthread/configure.ac: Moved ...
757 * sysdeps/nptl/configure.ac: ... here.
758 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
759 * sysdeps/nptl/gai_misc.h: ... here.
760 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
761 * sysdeps/nptl/librt-cancellation.c: ... here.
762 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
763 * sysdeps/nptl/malloc-machine.h: ... here.
764 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
765 * sysdeps/nptl/pthread-functions.h: ... here.
766 * nptl/sysdeps/pthread/pthread.h: Moved ...
767 * sysdeps/nptl/pthread.h: ... here.
768 * nptl/sysdeps/pthread/setxid.h: Moved ...
769 * sysdeps/nptl/setxid.h: ... here.
770 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
771 * sysdeps/nptl/sigfillset.c: ... here.
772 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
773 * sysdeps/nptl/tcb-offsets.h: ... here.
774 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
775 * sysdeps/nptl/tst-mqueue8x.c: ... here.
776 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
777 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
778 * nptl/sysdeps/pthread/allocalim.h: Moved ...
779 * sysdeps/pthread/allocalim.h: ... here.
780 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
781 * sysdeps/pthread/bits/sigthread.h: ... here.
782 * nptl/sysdeps/pthread/flockfile.c: Moved ...
783 * sysdeps/pthread/flockfile.c: ... here.
784 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
785 * sysdeps/pthread/ftrylockfile.c: ... here.
786 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
787 * sysdeps/pthread/funlockfile.c: ... here.
788 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
789 * sysdeps/pthread/posix-timer.h: ... here.
790 * nptl/sysdeps/pthread/timer_create.c: Moved ...
791 * sysdeps/pthread/timer_create.c: ... here.
792 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
793 * sysdeps/pthread/timer_delete.c: ... here.
794 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
795 * sysdeps/pthread/timer_getoverr.c: ... here.
796 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
797 * sysdeps/pthread/timer_gettime.c: ... here.
798 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
799 * sysdeps/pthread/timer_routines.c: ... here.
800 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
801 * sysdeps/pthread/timer_settime.c: ... here.
802 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
803 * sysdeps/pthread/tst-timer.c: ... here.
804 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
805 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
806
e876b090
RM
807 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
808 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
809
f6b07b3d
RM
810 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
811 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
812 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
813 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
814 Update #include target.
815 * nptl/sysdeps/i386/i686/Makefile: Moved ...
816 * sysdeps/i386/i686/nptl/Makefile: ... here.
817 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
818 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
819 Update #include target.
820 * nptl/sysdeps/i386/i686/tls.h: Moved ...
821 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
822 * nptl/sysdeps/i386/Makefile: Moved ...
823 * sysdeps/i386/nptl/Makefile: ... here.
824 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
825 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
826 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
827 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
828 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
829 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
830 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
831 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
832 * sysdeps/i386/nptl/pthreaddef.h: ... here.
833 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
834 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
835 * nptl/sysdeps/i386/tls.h: Moved ...
836 * sysdeps/i386/nptl/tls.h: ... here.
837
45262aee
RM
838 * sysdeps/sh/Makefile [$(subdir) = csu]
839 (gen-as-const-headers): Add tcb-offsets.sym.
840 * nptl/sysdeps/sh/Makefile: File removed.
841 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
842 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
843 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
844 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
845 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
846 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
847 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
848 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
849 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
850 * sysdeps/sh/nptl/pthreaddef.h: ... here.
851 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
852 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
853 * nptl/sysdeps/sh/tls.h: Moved ...
854 * sysdeps/sh/nptl/tls.h: ... here.
855 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
856 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
857 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
858 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
859 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
860 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
862 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
863 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
864 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
865 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
866 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
867 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
868 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
869 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
870 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
871 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
872 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
874 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
875 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
876 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
878 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
880 Moved ...
881 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
882 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
883 Moved ...
884 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
885 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
886 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
887 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
888 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
889 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
890 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
892 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
893 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
894 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
896 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
898 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
899 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
900 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
901 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
902 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
903
35a5e3e3
SL
9042014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
905
906 * posix/spawn_faction_addopen.c: Include string.h.
907
14642b85
RM
9082014-06-11 Roland McGrath <roland@hack.frob.com>
909
910 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
911 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
912 * nptl/sysdeps/x86_64/Makefile: Moved ...
913 * sysdeps/x86_64/nptl/Makefile: ... here.
914 * nptl/sysdeps/x86_64/configure: Moved ...
915 * sysdeps/x86_64/nptl/configure: ... here.
916 * nptl/sysdeps/x86_64/configure.ac: Moved ...
917 * sysdeps/x86_64/nptl/configure.ac: ... here.
918 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
919 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
920 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
921 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
922 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
923 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
924 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
925 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
926 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
927 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
928 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
929 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
930 * nptl/sysdeps/x86_64/tls.h: Moved ...
931 * sysdeps/x86_64/nptl/tls.h: ... here.
932 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
933 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
934 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
935 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
936
937 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
938
31c44fea
AZ
9392014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940
941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
942
e81a4f9a
JM
9432014-06-11 Joseph Myers <joseph@codesourcery.com>
944
945 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
946 type.
947 [POSIX] (off_t): Likewise.
948 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
949 [POSIX] (S_ISBLK): Require macro.
950 [POSIX] (S_ISCHR): Likewise.
951 [POSIX] (S_ISDIR): Likewise.
952 [POSIX] (S_ISFIFO): Likewise.
953 [POSIX] (S_ISREG): Likewise.
954 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
955 optional-macro.
956 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
957 type.
958 [POSIX] (time_t): Likewise.
959 [POSIX] (timer_t): Likewise.
960
89e435f3
FW
9612014-06-11 Florian Weimer <fweimer@redhat.com>
962
963 [BZ #17048]
964 * posix/spawn_int.h (struct __spawn_action): Make the path string
965 non-const to support deallocation.
966 * posix/spawn_faction_addopen.c
967 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
968 * posix/spawn_faction_destroy.c
969 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
970 path in all spawn_do_open actions.
971 * posix/tst-spawn.c (do_test): Exercise the copy operation in
972 posix_spawn_file_actions_addopen.
973
c3a2ebe1
CM
9742014-06-11 Chris Metcalf <cmetcalf@tilera.com>
975
976 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
977 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
978 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
979 conditional code always true.
980 (__libc_vfork): New alias.
981
9503784a
RM
9822014-06-11 Roland McGrath <roland@hack.frob.com>
983
c9cab3d2
RM
984 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
985 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
986
d3996c79
RM
987 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
988
ba5ec611
RM
989 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
990 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
991
f12b4814
RM
992 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
993 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
994
9503784a
RM
995 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
996 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
997
e23d3d26
VR
9982014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1001 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1002 multiarch strcmp for PPC64.
1003 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1004 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1006 multiarch optimizations.
1007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1008 (__libc_ifunc_impl_list): Likewise.
1009
42b1161e
SP
10102014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1011
1012 * benchtests/scripts/validate_benchout.py: New script.
1013 * benchtests/Makefile (bench-func): Call it.
1014 * benchtests/scripts/benchout.schema.json: New file.
1015
2d0fc4dc
CM
10162014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1017
4a594c34
AZ
1018 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1019 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1020 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1021 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1022 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1023 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1024 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1025 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1026 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1027 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1028 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1029 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1030 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1031 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1032 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1033 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1035 Moved ...
4a594c34 1036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1037 ... here.
4a594c34 1038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1039 Moved ...
4a594c34
AZ
1040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1042 Moved ...
4a594c34 1043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1044 ... here.
4a594c34 1045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1046 Moved ...
4a594c34 1047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1048 ... here.
4a594c34 1049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1050 Moved ...
4a594c34
AZ
1051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1053 Moved ...
4a594c34 1054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1055 ... here.
4a594c34 1056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1057 Moved ...
4a594c34 1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1059 ... here.
4a594c34 1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1061 Moved ...
4a594c34
AZ
1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1064 Moved ...
4a594c34 1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1066 ... here.
4a594c34 1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1068 Moved ...
4a594c34 1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1070 ... here.
4a594c34 1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1072 Moved ...
4a594c34 1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1074 ... here.
4a594c34 1075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1076 Moved ...
4a594c34
AZ
1077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1079 Moved ...
4a594c34 1080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1081 ... here.
4a594c34 1082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1083 Moved ...
4a594c34 1084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1085 ... here.
4a594c34 1086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1087 Moved ...
4a594c34 1088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1089 ... here.
4a594c34 1090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1091 Moved ...
4a594c34
AZ
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1094 Moved ...
4a594c34 1095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1096 ... here.
4a594c34 1097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1098 Moved ...
4a594c34 1099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1100 ... here.
4a594c34 1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1102 Moved ...
4a594c34
AZ
1103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1105 Moved ...
4a594c34 1106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1107 ... here.
4a594c34 1108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1109 Moved ...
4a594c34
AZ
1110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1112 Moved ...
4a594c34
AZ
1113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1115 Moved ...
4a594c34 1116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1117 ... here.
4a594c34 1118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1119 Moved ...
4a594c34 1120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1121 ... here.
4a594c34 1122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1123 Moved ...
4a594c34 1124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1125 ... here.
4a594c34 1126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1127 Moved ...
4a594c34
AZ
1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1130 Moved ...
4a594c34 1131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1132 ... here.
4a594c34 1133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1134 Moved ...
4a594c34 1135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1136 ... here.
4a594c34
AZ
1137 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1138 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1139 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1142 Moved ...
4a594c34 1143 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1144 ... here.
4a594c34
AZ
1145 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1158 Moved ...
4a594c34
AZ
1159 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1161 Moved ...
4a594c34
AZ
1162 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1166 Moved ...
4a594c34
AZ
1167 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1171 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1172 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1173 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1174
0570cfed
W
11752014-06-10 Wilco <wdijkstr@arm.com>
1176
1177 * math/test-fenv-return.c: New file.
1178 * math/Makefile: Add new test test-fenv-return.
1179
f8ba1b56
JM
11802014-06-10 Joseph Myers <joseph@codesourcery.com>
1181
1182 [BZ #17042]
1183 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1184 when x - 1 is zero.
1185 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1186 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1187 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1188 0.0L for an argument of 1.0L.
1189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1190 Likewise.
1191 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1192 value when x - 1 is zero.
1193 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1194 * sysdeps/i386/fpu/libm-test-ulps: Update.
1195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1196
2c3520d9
BO
11972014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1198
1199 [BZ #15119]
1200 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1201
acaa4d24
RM
12022014-06-09 Roland McGrath <roland@hack.frob.com>
1203
1204 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1205 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1206
962b744d
RM
12072014-06-09 Roland McGrath <roland@hack.frob.com>
1208
d752f0cc
RM
1209 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1210 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1211
34eda6d1
RM
1212 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1213 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1214
50f0a637
RM
1215 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1216 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1217
08f41f04
RM
1218 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1219 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1220
962b744d
RM
1221 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1222 if not already defined.
1223 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1224 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1225 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1226 (TLS_INIT_TP): Use it.
1227 (TLS_DEFINE_INIT_TP): New macro.
1228 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1229
09f19b05
JM
12302014-06-09 Joseph Myers <joseph@codesourcery.com>
1231
1232 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1233 constant.
1234 [POSIX] (IXANY): Likewise.
1235 [POSIX] (OLCUC): Likewise.
1236 [POSIX || POSIX2008] (CBAUD): Do not allow.
1237 [POSIX || POSIX2008] (DEFECHO): Likewise.
1238 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1239 [POSIX || POSIX2008] (ECHOKE): Likewise.
1240 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1241 [POSIX || POSIX2008] (EXTA): Likewise.
1242 [POSIX || POSIX2008] (EXTB): Likewise.
1243 [POSIX || POSIX2008] (FLUSHO): Likewise.
1244 [POSIX || POSIX2008] (LOBLK): Likewise.
1245 [POSIX || POSIX2008] (PENDIN): Likewise.
1246 [POSIX || POSIX2008] (SWTCH): Likewise.
1247 [POSIX || POSIX2008] (VDISCARD): Likewise.
1248 [POSIX || POSIX2008] (VDSUSP): Likewise.
1249 [POSIX || POSIX2008] (VLNEXT): Likewise.
1250 [POSIX || POSIX2008] (VREPRINT): Likewise.
1251 [POSIX || POSIX2008] (VSTATUS): Likewise.
1252 [POSIX || POSIX2008] (VWERASE): Likewise.
1253 (B*): Change to B[0123456789]*.
1254 * conform/data/time.h-data [POSIX || UNIX98]
1255 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1256 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1257 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1258 [POSIX] (tm_*): Do not allow.
1259
686554bf
JM
12602014-06-07 Joseph Myers <joseph@codesourcery.com>
1261
1262 * Makefile (install): Don't set LANGUAGE.
1263 * Makefile.in (install): Likewise.
1264 * assert/Makefile (test-assert-ENV): Remove variable.
1265 (test-assert-perr-ENV): Likewise.
1266 * elf/Makefile (neededtest4-ENV): Likewise.
1267 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1268 [$(cross-compiling) = no]: Don't set LANGUAGE.
1269 * io/ftwtest-sh (LANG): Remove variable.
1270 * libio/Makefile (tst-widetext-ENV): Likewise.
1271 * manual/install.texi (Running make install): Don't refer to
1272 environment settings for make install.
1273 * INSTALL: Regenerated.
1274 * nptl/tst-tls6.sh: Don't set LANG.
1275 * posix/globtest.sh (LANG): Remove variable.
1276 * string/Makefile (tester-ENV): Likewise.
1277 (inl-tester-ENV): Likewise.
1278 (noinl-tester-ENV): Likewise.
1279 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1280 [$(cross-compiling) = no]: Don't set LANGUAGE.
1281 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1282 without explicit environment settings.
1283
68e6b6b1
RM
12842014-06-06 Roland McGrath <roland@hack.frob.com>
1285
1286 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1287 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1288 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1289 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1290
4d3ae034
CM
12912014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1292
1293 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1294 other files in the crypt directory.
1295 * crypt/crypt.c: Remove duplicate includes.
1296 * crypt/crypt-entry.c: Likewise.
1297 * crypt/crypt_util.c: Likewise.
1298
8540f6d2
JM
12992014-06-06 Joseph Myers <joseph@codesourcery.com>
1300
1301 * Makeconfig (run-program-env): New variable.
1302 (run-program-prefix-before-env): Likewise.
1303 (run-program-prefix-after-env): Likewise.
1304 (run-program-prefix): Define in terms of new variables.
1305 (built-program-cmd-before-env): New variable.
1306 (built-program-cmd-after-env): Likewise.
1307 (built-program-cmd): Define in terms of new variables.
1308 (test-program-prefix-before-env): New variable.
1309 (test-program-prefix-after-env): Likewise.
1310 (test-program-prefix): Define in terms of new variables.
1311 (test-program-cmd-before-env): New variable.
1312 (test-program-cmd-after-env): Likewise.
1313 (test-program-cmd): Define in terms of new variables.
1314 * Rules (make-test-out): Use $(run-program-env).
1315 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1316 (help): Do not mention environment variables. Mention
1317 --timeoutfactor option.
1318 (timeoutfactor): New variable.
1319 (blacklist_exports): Remove function.
1320 (exports): Remove variable.
1321 (command): Do not include ${exports}.
1322 * manual/install.texi (Configuring and compiling): Do not mention
1323 test wrappers preserving environment variables. Mention that last
1324 assignment to a variable must take precedence.
1325 * INSTALL: Regenerated.
1326 * benchtests/Makefile (run-bench): Use $(run-program-env).
1327 * catgets/Makefile ($(objpfx)test1.cat): Use
1328 $(built-program-cmd-before-env), $(run-program-env) and
1329 $(built-program-cmd-after-env).
1330 ($(objpfx)test2.cat): Do not specify environment variables
1331 explicitly.
1332 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1333 $(run-program-env) and $(built-program-cmd-after-env).
1334 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1335 $(run-program-env) and $(test-program-cmd-after-env).
1336 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1337 explicitly.
1338 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1339 run_program_env and test_program_cmd_after_env arguments.
1340 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1341 * elf/tst-pathopt.sh: Use run_program_env argument.
1342 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1343 $(test-wrapper-env) and $(run-program-env).
1344 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1345 run_program_env arguments.
1346 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1347 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1348 $(test-program-prefix-before-env), $(run-program-env) and
1349 $(test-program-prefix-after-env).
1350 ($(objpfx)tst-gettext2.out): Likewise.
1351 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1352 run_program_env and test_program_prefix_after_env arguments.
1353 * intl/tst-gettext2.sh: Likewise.
1354 * intl/tst-gettext4.sh: Do not set environment variables
1355 explicitly.
1356 * intl/tst-gettext6.sh: Likewise.
1357 * intl/tst-translit.sh: Likewise.
1358 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1359 $(test-program-prefix-before-env), $(run-program-env) and
1360 $(test-program-prefix-after-env).
1361 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1362 run_program_env and test_program_prefix_after_env arguments.
1363 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1364 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1365 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1366 explicitly with each use of ${test_wrapper_env}.
1367 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1368 $(test-program-prefix-before-env), $(run-program-env) and
1369 $(test-program-prefix-after-env).
1370 * posix/tst-getconf.sh: Do not set environment variables
1371 explicitly.
1372 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1373 run_program_env and test_program_prefix_after_env arguments.
1374 * stdio-common/tst-printf.sh: Do not set environment variables
1375 explicitly.
1376 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1377 $(test-program-prefix-before-env), $(run-program-env) and
1378 $(test-program-prefix-after-env).
1379 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1380 run_program_env and test_program_prefix_after_env arguments.
1381 Split $test calls into $test_pre and $test.
1382 * timezone/Makefile (build-testdata): Use
1383 $(built-program-cmd-before-env), $(run-program-env) and
1384 $(built-program-cmd-after-env).
1385
ed36bfa1
AZ
13862014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1389 strlen for non SHARED builds.
1390
fc75bf46
SP
13912014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1392
1393 * nptl/allocatestack.c (check_list): Inlined function...
1394 (__reclaim_stacks): ... here.
1395
d89b3d80
OB
13962014-06-05 Ondřej Bílka <neleai@seznam.cz>
1397
1398 [BZ #15698]
1399 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1400 memory overrun.
1401
2bf18041
JM
14022014-06-05 Joseph Myers <joseph@codesourcery.com>
1403
1404 * Rules (make-test-out): Include
1405 LOCPATH=$(common-objpfx)localedata in default environment.
1406 * debug/Makefile (tst-chk1-ENV): Remove variable.
1407 (tst-chk2-ENV): Likewise.
1408 (tst-chk3-ENV): Likewise.
1409 (tst-chk4-ENV): Likewise.
1410 (tst-chk5-ENV): Likewise.
1411 (tst-chk6-ENV): Likewise.
1412 (tst-lfschk1-ENV): Likewise.
1413 (tst-lfschk2-ENV): Likewise.
1414 (tst-lfschk3-ENV): Likewise.
1415 (tst-lfschk4-ENV): Likewise.
1416 (tst-lfschk5-ENV): Likewise.
1417 (tst-lfschk6-ENV): Likewise.
1418 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1419 (tst-iconv7-ENV): Likewise.
1420 * intl/Makefile (LOCPATH-ENV): Likewise.
1421 (tst-codeset-ENV): Likewise.
1422 (tst-gettext3-ENV): Likewise.
1423 (tst-gettext5-ENV): Likewise.
1424 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1425 (tst-fopenloc-ENV): Likewise.
1426 (tst-fgetws-ENV): Remove variable.
1427 (tst-ungetwc1-ENV): Likewise.
1428 (tst-ungetwc2-ENV): Likewise.
1429 (bug-ungetwc2-ENV): Likewise.
1430 (tst-swscanf-ENV): Likewise.
1431 (bug-ftell-ENV): Likewise.
1432 (tst-fgetwc-ENV): Likewise.
1433 (tst-fseek-ENV): Likewise.
1434 (tst-ftell-partial-wide-ENV): Likewise.
1435 (tst-ftell-active-handler-ENV): Likewise.
1436 (tst-ftell-append-ENV): Likewise.
1437 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1438 (tst-regexloc-ENV): Likewise.
1439 (bug-regex1-ENV): Likewise.
1440 (tst-regex-ENV): Likewise.
1441 (tst-regex2-ENV): Likewise.
1442 (bug-regex5-ENV): Likewise.
1443 (bug-regex6-ENV): Likewise.
1444 (bug-regex17-ENV): Likewise.
1445 (bug-regex18-ENV): Likewise.
1446 (bug-regex19-ENV): Likewise.
1447 (bug-regex20-ENV): Likewise.
1448 (bug-regex22-ENV): Likewise.
1449 (bug-regex23-ENV): Likewise.
1450 (bug-regex25-ENV): Likewise.
1451 (bug-regex26-ENV): Likewise.
1452 (bug-regex30-ENV): Likewise.
1453 (bug-regex32-ENV): Likewise.
1454 (bug-regex33-ENV): Likewise.
1455 (bug-regex34-ENV): Likewise.
1456 (bug-regex35-ENV): Likewise.
1457 (tst-rxspencer-ENV): Likewise.
1458 (tst-rxspencer-no-utf8-ENV): Likewise.
1459 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1460 (tst-sscanf-ENV): Likewise.
1461 (tst-swprintf-ENV): Likewise.
1462 (tst-swscanf-ENV): Likewise.
1463 (test-vfprintf-ENV): Likewise.
1464 (scanf13-ENV): Likewise.
1465 (bug14-ENV): Likewise.
1466 (tst-grouping-ENV): Likewise.
1467 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1468 (tst-strtod3-ENV): Likewise.
1469 (tst-strtod4-ENV): Likewise.
1470 (tst-strtod5-ENV): Likewise.
1471 (testmb2-ENV): Likewise./
1472 * string/Makefile (tst-strxfrm-ENV): Likewise.
1473 (tst-strxfrm2-ENV): Likewise.
1474 (bug-strcoll1-ENV): Likewise.
1475 (test-strcasecmp-ENV): Likewise.
1476 (test-strncasecmp-ENV): Likewise.
1477 * time/Makefile (tst-strptime-ENV): Likewise.
1478 (tst-ftime_l-ENV): Likewise.
1479 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1480 (tst-mbrtowc-ENV): Likewise.
1481 (tst-wcrtomb-ENV): Likewise.
1482 (tst-mbrtowc2-ENV): Likewise.
1483 (tst-c16c32-1-ENV): Likewise.
1484 (tst-mbsnrtowcs-ENV): Likewise.
1485
cd1fb604
OB
14862014-06-05 Ondřej Bílka <neleai@seznam.cz>
1487
1488 * manual/resource.texi (How to get information about the memory
1489 subsystem?): Fix typo.
1490 Reported by Peon de la Parra Ivan <peon@keba.com>
1491
b42eca7d
GY
14922014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1493
1494 [BZ #16882]
1495 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1496 (pthread_spin_lock): Branch out of spin loop to proper location.
1497 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1498 (pthread_spin_lock): Likewise.
1499
902b71f9
DM
1500 * nptl/tst-spin4.c: New test.
1501 * nptl/Makefile (tests): Add tst-spin4.
1502
f9d2d032
AS
15032014-06-03 Andreas Schwab <schwab@suse.de>
1504
1505 [BZ #15946]
1506 * resolv/res_send.c (send_dg): Reload file descriptor after
1507 calling reopen.
1508
cf7bfd28
SL
15092014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1510
1511 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1512
111cc714
RH
15132014-06-03 Richard Henderson <rth@redhat.com>
1514
89b4bd6b
RH
1515 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1516 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1517 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1518 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1519 in the SAVE_PID block.
1520 (__libc_vfork): New alias.
71840409 1521 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 1522
111cc714
RH
1523 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1524 child in registers, not on the stack. Remove RESET_PID conditionals.
1525 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1526
ccc39911
MS
15272014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1528
1529 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1530
693096cc
W
15312014-06-03 Wilco <wdijkstr@arm.com>
1532
1533 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1534 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1535 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1536 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1537 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1538 Likewise.
1539
0b4366bc
W
15402014-06-03 Wilco <wdijkstr@arm.com>
1541
1542 * sysdeps/aarch64/fpu/math_private.h
1543 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1544 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1545 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1546 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1547 Fix declarations.
1548
8747cd03
KS
15492014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1550
1551 * crypt/crypt-private.h: Include ufc-crypt.h.
1552 (__b64_from_24bit): Declare extern.
1553 * crypt/crypt_util.c(__b64_from_24bit): New function.
1554 (b64t): New static const variable.
1555 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1556 (b64t): Remove variable.
1557 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1558 * crypt/sha256-crypt.c: Include crypt-private.h.
1559 (b64t): Remove variable.
1560 (__sha256_crypt_r): Remove b64_from_24bit and replace
1561 with __b64_from_24bit.
1562 * crypt/sha512-crypt.c: Likewise.
1563
d936d379
RM
15642014-06-02 Roland McGrath <roland@hack.frob.com>
1565
1566 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1567 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1568 Label the code __libc_vfork rather than __vfork.
1569 [!NOT_IN_libc] (vfork): Define as weak alias.
1570 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1571 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1572 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1573
9fa76613
SP
15742014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1575
1576 * malloc/malloc.c (malloc_info): Fix format specifier for
1577 n_mmaps.
1578
a88dadbe
W
15792014-06-02 Wilco <wdijkstr@arm.com>
1580
1581 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1582 FPCR write.
1583
c95b3011
W
15842014-06-02 Wilco <wdijkstr@arm.com>
1585
1586 [BZ #17009]
1587 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1588 Rewrite to reduce FPCR/FPSR accesses.
1589
6b4d7a90
DM
15902014-06-01 David S. Miller <davem@davemloft.net>
1591
1592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1593
30f3d07c
DM
15942014-05-31 David S. Miller <davem@davemloft.net>
1595
1596 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1597 to occur in round to nearest mode when |x| >= 2.0
1598
74f31c18
RH
15992014-05-30 Richard Henderson <rth@twiddle.net>
1600
f0712b54
RH
1601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1602 (PSEUDO_RET_NOERRNO): Remove.
1603 (ret): Don't redefine.
1604 (ret_NOERRNO): Define in terms of ret.
1605 (ret_ERRVAL): Likewise.
1606
74f31c18
RH
1607 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1608 use of PSEUDO_RET; perform the error check directly.
1609
30477995
MM
16102014-05-30 Marko Myllynen <myllynen@redhat.com>
1611
1612 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1613 with __int128_t.
1614
62a58816
SP
16152014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1616
1617 * malloc/malloc (malloc_info): Fix formatting.
1618
4d653a59
SP
16192014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1620 Roland McGrath <roland@hack.frob.com>
1621
1622 * malloc/malloc (malloc_info): Also print mmapped statistics.
1623
5190c17f
RM
16242014-05-30 Roland McGrath <roland@hack.frob.com>
1625
1626 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1627 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1628
987c0269
OB
16292014-05-30 Ondřej Bílka <neleai@seznam.cz>
1630
1631 * malloc/malloc.c (malloc_info): Inline mi_arena.
1632
af4e8ef9
RH
16332014-05-29 Richard Henderson <rth@twiddle.net>
1634
1670e207
RH
1635 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1636 Remove comma before expanding ASM_ARGS_##nr.
1637 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1638 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1639 of ASM_ARGS_##nr.
1640 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1641 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1642 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1643 (ASM_ARGS_1): Add leading comma.
1644
11a28aee
RH
1645 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1646 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1647 to __errno_location.
1648 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1649 Remove the expected plt for __errno_location.
1650
a17e5ffb 1651 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1652 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1653 call to __read_tp.
1654
b5be4597
RH
1655 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1656 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1657 it and break it down.
1658 (DOCARGS_0, DOCARGS_1): Do nothing.
1659 (DOCARGS_2): Update to store into the new stack frame.
1660 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1661 (UNDOCARGS_1): Update to restore from the new stack frame.
1662 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1663 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1664
645d44ab
RH
1665 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1666 (SINGLE_THREAD_P): New parameter for result regno.
1667 (PSEUDO): Update to match; use cbz instead of beq.
1668
a8b4f04a
RH
1669 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1670 Use ENTRY to define the _nocancel entry point. Share the syscall
1671 and syscall error check paths with the cancel path.
1672 (PSEUDO_END): New.
1673
af4e8ef9
RH
1674 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1675 whitespace; tabs before and after asm mnemonics.
1676
26b0d2e1
EW
16772014-05-29 Eric Wong <normalperson@yhbt.net>
1678
1679 [BZ #15132]
1680 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1681 Call fstat64 or stat64 internally, depending on arguments passed.
1682 Replace stat buffer argument with file descriptor argument.
1683 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1684 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1685 Pass fd to __internal_statvfs instead of calling fstat64.
1686 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1687 Pass fd to __internal_statvfs64 instead of calling fstat64.
1688 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1689 Pass -1 to __internal_statvfs instead of calling stat64.
1690 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1691 Pass -1 to __internal_statvfs64 instead of calling stat64.
1692
1efe2bd9
RM
16932014-05-28 Roland McGrath <roland@hack.frob.com>
1694
0d3b7a19
RM
1695 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1696 that was previously under [RESET_PID].
1697 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1698
1efe2bd9
RM
1699 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1700 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1701
a6bea3ca
RM
17022014-05-27 Roland McGrath <roland@hack.frob.com>
1703
30b6629e
RM
1704 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1705
a6bea3ca
RM
1706 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1707 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1708
3dfb9a5c
OB
17092014-05-27 Ondřej Bílka <neleai@seznam.cz>
1710
1711 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1712
774f9285
AS
17132014-05-27 Andreas Schwab <schwab@suse.de>
1714
1715 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1716 TLS_INIT_TP macro.
1717 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1718 * elf/rtld.c (init_tls, dl_main): Likewise.
1719 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1720 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1721 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1722 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1723 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1724 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1725 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1726 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1727 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1728 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1729 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1730 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1731 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1732 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1733 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1734 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1735 * sysdeps/generic/tls.h: Update description.
1736
36ffe739
WN
17372014-05-27 Will Newton <will.newton@linaro.org>
1738
1739 [BZ #16990]
1740 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1741 and restore r2 rather than just restoring.
1742
2482ae43
SP
17432014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1744
1745 [BZ #16724]
1746 * libio/tst-ftell-append.c: New test case.
1747 * libio/Makefile (tests): Add test case.
1748 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1749 append mode.
1750 * libio/wfileops.c (do_ftell_wide): Likewise.
1751
3d1024e8
AZ
17522014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1753
bab90016
AZ
1754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1755
c7a8d667
AZ
1756 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1757 ...
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1760 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1761 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1762 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1763 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1764 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1765 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1767 Moved ...
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1770 Moved ...
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1773 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1775 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1777 ...
1778 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1779 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1780 Moved ...
1781 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1782 here.
1783 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1784 ...
1785 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1787 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1788
daee7851
AZ
1789 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1790 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1792 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1793
50a40819
AZ
1794 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1795 merge into ...
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1797 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1798 ...
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1801 ...
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1804 Moved ...
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1806 here.
1807 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1808 Moved ...
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1811 Moved ...
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1813
8464c2a1
AZ
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1815 conditional [RESET_PID].
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1817 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1818 removed.
1819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1820 removed.
1821
3d1024e8
AZ
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1823 <tcb-offsets.h>.
1824 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1825 (__libc_vfork): New strong alias.
1826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1827 removed.
1828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1829 Removed.
1830
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1832 <tcb-offsets.h>.
1833 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1834 (__libc_vfork): New strong alias.
1835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1836 removed.
1837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1838 removed.
1839
fdfd175d
CD
18402014-05-26 Carlos O'Donell <carlos@redhat.com>
1841
1842 * malloc/malloc.c (mi_arena): New function.
1843 (malloc_info): Remove nested function mi_arena. Call non-nosted
1844 function mi_arena.
1845
d298c416
AZ
18462014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1847
1848 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1849 by insrwi.
1850 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1851 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1852 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1853 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1854 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1855 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1856 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1857
b60ea6ff
AS
18582014-05-26 Andreas Schwab <schwab@suse.de>
1859
1860 [BZ #16984]
1861 * locale/programs/repertoire.c (repertoire_read): Add slash
1862 between I18NPATH element and file name.
1863 * locale/programs/locfile.c (locfile_read): Likewise.
1864
67365926
SL
18652014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1866
1867 * nptl/pthread_mutexattr_settype.c
1868 (__pthread_mutexattr_settype):
1869 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1870
f8bdf1f0
SL
18712014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1872
1873 * nptl/tst-mutex5 (do_test):
1874 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1875
15eaf6ff
SP
18762014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1877
1878 * benchtests/README: Document 'init' directive.
1879 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1880 BENCH_INIT.
1881 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1882 (parse_file): Recognize 'init' directive.
1883
75f11331
KM
18842014-05-26 Kyle McMartin <kyle@redhat.com>
1885
1886 [BZ #16796]
1887 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1888 alignment of struct pthread.
1889
c3ec475c
SP
18902014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1891
1892 [BZ #16878]
1893 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1894 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1895 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1896 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1897
82aab97c
RH
18982014-05-25 Richard Henderson <rth@twiddle.net>
1899
aa2f176d
RH
1900 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1901 (SINGLE_THREAD_P_PIC): Remove.
1902 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1903 (SINGLE_THREAD_P_PIC): Remove.
1904
ca3cfa40
RH
1905 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1906 branch to syscall error ...
1907 (PSEUDO): ... here.
1908 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1909 from __local_syscall_error to .Lsyscall_error.
1910 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1911 (SYSCALL_ERROR): Update label name.
1912
6e6c2d01
RH
1913 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1914 Do not use DOARGS/UNDOARGS.
1915 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1916 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1917 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1918 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1919 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1920
c69abcee
RH
1921 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1922 block comment.
1923
82aab97c
RH
1924 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1925 define if !NOT_IN_libc.
1926 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1927 define with non-default symbol versions.
1928
8820e3ac
RH
19292014-05-23 Richard Henderson <rth@twiddle.net>
1930
900e445f
RH
1931 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1932 (vfork, __vfork): Define via compat_symbol.
1933
8820e3ac
RH
1934 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1935 [!HAVE_IFUNC] (vfork_compat): Remove.
1936 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1937
e59252a5
JM
19382014-05-23 Joseph Myers <joseph@codesourcery.com>
1939
1940 [BZ #16978]
1941 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1942 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1943 variable.
1944
132c7f5f
RH
19452014-05-23 Richard Henderson <rth@twiddle.net>
1946
bc89e962
RH
1947 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1948 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1949 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1950 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1951
1952 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1953 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1954 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1955 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1956 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1957 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1958 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1959 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1960 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1961 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1962 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1963 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1964 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1965 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1967 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1969 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1973 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1975 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1976 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1977 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1979 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1981 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1991 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1992 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1993 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1994 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1995 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1996 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1997 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1998 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1999 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2000 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2001 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2002 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2003 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2004 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2005 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2006 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2007 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2008
e2fa4bc2
RH
2009 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2010 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2011 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2012 before exiting on error.
2013 (__libc_vfork): New strong alias.
2014 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2015 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2016
279b24e2
RH
2017 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2018 that was previously under [RESET_PID].
2019 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2020
132c7f5f
RH
2021 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2022
b72592e7
JM
20232014-05-23 Joseph Myers <joseph@codesourcery.com>
2024
2025 [BZ #16977]
2026 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2027 value when x - 1 is zero.
2028 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2029 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2030 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2031 0.0L for an argument of 1.0L.
2032 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2033 Likewise.
2034 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2035 value when x - 1 is zero.
2036 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2037 * sysdeps/i386/fpu/libm-test-ulps: Update.
2038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2039
2302d679
RV
20402014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2041
2042 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2043 alphasort and versionsort.
2044
32999d63
AZ
20452014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2046
2047 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2048 macro.
2049 [copysignf]: Likewise.
2050
019324d0
SP
20512014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2052
2053 * crypt/md5-crypt.c: Fix formatting.
2054
34fff5c2
KS
20552014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2056
2057 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2058 (b64_from_24bit): New function.
2059
3d2badac
AZ
20602014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2063 libc_hidden_builtin_def to ifunc.
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2065 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2066
f7bb179f 20672014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2068
2069 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2070 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2071
4134b50d
JM
20722014-05-21 Joseph Myers <joseph@codesourcery.com>
2073
bb7d0337
JM
2074 * nscd/Depend (linuxthreads): Remove.
2075 (nptl): Add.
2076 * resolv/Depend (linuxthreads): Remove.
2077 * rt/Depend (linuxthreads): Remove.
2078
4134b50d
JM
2079 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2080 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2081 $(common-objpfx)elf/.
2082 (link-libc-before-gnulib): Likewise.
2083 (elfobjdir): Remove variable.
2084 * Makefile (install): Use $(elf-objpfx) instead of
2085 $(common-objpfx)elf/.
2086 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2087 $(elfobjdir)/.
2088 (link-libc-deps): Likewise.
2089 ($(common-objpfx)libc.so): Likewise.
2090 ($(common-objpfx)linkobj/libc.so): Likewise.
2091 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2092 instead of $(common-objpfx)elf/.
2093 (symbolic-link-list): Likewise.
2094 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2095 [$(cross-compiling) = no]: Likewise.
2096 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2097 $(elfobjdir)/.
2098 (static-gnulib-arch): Likewise.
2099 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2100 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2101 $(common-objpfx)elf/.
2102
3612eb8f
RH
21032014-05-21 Richard Henderson <rth@redhat.com>
2104
a6b3657b
RH
2105 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2106 (SINGLE_THREAD_P): Use the correct width load. Fold
2107 into the ldr offset.
2108
3612eb8f
RH
2109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2110 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2111
175cef41
JM
21122014-05-20 Joseph Myers <joseph@codesourcery.com>
2113
2114 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2115 (libgcc_s_resume): Use __attribute_used__.
2116 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2117 Likewise.
2118
e13bccd3
AZ
21192014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120
2121 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2122 optimization when used with float constants.
2123
7c112a38
AZ
2124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2125
ae75a883
AJ
21262014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2127
2128 [BZ #16915]
2129 * locale/nl_langinfo_l.c: Make direct reference to every
2130 _nl_current_CATEGORY symbol.
2131 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2132 (tests-static): Add tst-langinfo-static.
2133 (tests-special): Add tst-langinfo-static.out.
2134 ($(objpfx)tst-langinfo.out): Redirect output.
2135 ($(objpfx)tst-langinfo-static.out): New.
2136 * localedata/tst-langinfo.sh: Send output to stdout.
2137 * localedata/tst-langinfo-static.c: New file.
2138
4406c41c
AJ
2139 [BZ #16965]
2140 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2141 when the shift amount is modulo the limb size.
2142
4c0a1e63
RH
21432014-05-20 Richard Henderson <rth@redhat.com>
2144
de9d8f20
RH
2145 [BZ #16967]
2146 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2147 Change type of sa_flags from unsigned int to int.
2148
4c0a1e63
RH
2149 [BZ #16966]
2150 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2151
2152 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2153
a60339aa
WN
21542014-05-20 Will Newton <will.newton@linaro.org>
2155
2156 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2157 Test the return value of the system call in the nocancel case.
2158
7d05a816
YR
21592014-05-20 Will Newton <will.newton@linaro.org>
2160 Yvan Roux <yvan.roux@linaro.org>
2161
2162 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2163 #include of asm/ptrace.h.
2164 (PTRACE_GET_THREAD_AREA): Remove #undef.
2165 (PTRACE_GETHBPREGS): Likewise.
2166 (PTRACE_SETHBPREGS): Likewise.
2167 (struct user_regs_struct): New structure.
2168 (struct user_fpsimd_struct): New structure.
2169 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2170 #include of asm/ptrace.h and second #include of sys/user.h.
2171 (PTRACE_GET_THREAD_AREA): Remove #undef.
2172 (PTRACE_GETHBPREGS): Likewise.
2173 (PTRACE_SETHBPREGS): Likewise.
2174 (ELF_NGREG): Use new struct user_regs_struct.
2175 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2176
af121e37
AZ
21772014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178
2179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2181
834caf06
JM
21822014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2183
2184 [BZ #16958]
2185 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2186 membar to avoid block loads/stores to overlap previous stores.
2187
e184a918
RH
21882014-05-17 Richard Henderson <rth@redhat.com>
2189
2190 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2191 Create the __##syscall_name##_nocancel entry point.
2192 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2193 Remove; let the sysdep-cancel.h code create it.
2194
f56c7a6a
DM
21952014-05-17 David S. Miller <davem@davemloft.net>
2196
2197 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2198 Protect with __USE_GNU.
2199 (TIOCSET_TEMPT): Likewise.
2200 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2201 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2202 these are already provided in bits/ioctl-types.h
2203
f75616b2
RM
22042014-05-16 Roland McGrath <roland@hack.frob.com>
2205
3edeca86
RM
2206 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2207 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2208
f75616b2
RM
2209 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2210 Use wait4 regardless of [__NR_waitpid].
2211
deb0f7f6
MR
22122014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2213
2214 PR libgcc/60166
2215 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2216 (_FP_NANSIGN_Q): Set the quiet bit.
2217
79520f4b
JM
22182014-05-16 Joseph Myers <joseph@codesourcery.com>
2219
2220 * benchtests/Makefile
2221 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2222 not $(common-objpfx)math/libm.so.
2223 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2224 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2225 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2226 $(common-objpfx)dlfcn/libdl.so.
2227 ($(objpfx)tst-audit8): Depend on $(libm), not
2228 $(common-objpfx)math/libm.so.
2229 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2230 not $(common-objpfx)dlfcn/libdl.so.
2231 * math/Makefile
2232 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2233 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2234 [$(build-shared) = yes].
2235 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2236 $(common-objpfx)nptl/libpthread.so.
2237 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2238 $(common-objpfx)math/libm.so$(libm.so-version) or
2239 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2240 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2241 $(common-objpfx)dlfcn/libdl.so.
2242 * setjmp/Makefile (link-libm): Remove variable.
2243 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2244 * stdio-common/Makefile (link-libm): Remove variable.
2245 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2246 * stdlib/Makefile (link-libm): Remove variable.
2247 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2248 ($(objpfx)tst-strtod-round): Likewise.
2249 ($(objpfx)tst-tininess): Likewise.
2250 ($(objpfx)tst-strtod-underflow): Likewise.
2251 ($(objpfx)tst-strtod6): Likewise.
2252 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2253 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2254 $(common-objpfx)dlfcn/libdl.so.
2255
026b0fe4
AZ
22562014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2257
2258 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2259 BSD terminal modes definitions.
2260
def4bcb2
RM
22612014-05-16 Roland McGrath <roland@hack.frob.com>
2262
fe39b021
RM
2263 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2264 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2265
1d1fc46e 2266 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
2267 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2268 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2269 Don't do #include_next.
2270 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2271 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2272 Don't do #include_next.
2273 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2274 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2275 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2276 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2277
c72399fb
AM
22782014-05-16 Allan McRae <allan@archlinux.org>
2279
d51d659d
AM
2280 * po/sv.po: Update Swedish translation from translation project.
2281
c72399fb
AM
2282 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2283 in sed expression.
2284
d0583c40
AJ
22852014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2286
2287 [BZ #16917]
2288 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2289 errno if the TIOCGPTN ioctl fails with an error different than
2290 EINVAL.
2291 * login/tst-ptsname.c: New file.
2292 * login/Makefile (tests): Add tst-ptsname.
2293
d16e6ec7
AJ
2294 [BZ #16943]
2295 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2296 and prlimit64.
2297
cf26a0cb
SP
22982014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2299
2300 [BZ #16849]
2301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2302 herrno to return EAI_AGAIN.
2303
5675da1e
RM
23042014-05-14 Roland McGrath <roland@hack.frob.com>
2305
a5d87b3d
RM
2306 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2307 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2308 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2335 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2337 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2341 Moved ...
2342 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2364 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2370 Moved ...
2371 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2391 Moved ...
2392 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2395
039890a6
RM
2396 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2397 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2398 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2399 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2400 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2402 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2404 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2406 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2408 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2410 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2412 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2414 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2416 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2418 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2420 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2422 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2424 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2426 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2427
65c89320
RM
2428 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2429 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2430
348f8e8c
RM
2431 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2432 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2433 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2435 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2437 Moved ...
2438 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2440 Moved ...
2441 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2443 Moved ...
2444 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2446 Moved ...
2447 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2449 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2451 Moved ...
2452 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2454 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2456 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2458 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2460 Moved ...
2461 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2463 Moved ...
2464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2465 ... here.
2466 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2467 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2469 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2471 Moved ...
2472 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2473 ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2475 Moved ...
2476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2480 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2482 Moved ...
2483 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2485 Moved ...
2486 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2488 Moved ...
2489 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2490 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2491 Moved ...
2492 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2493 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2494 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2495 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2496 Moved ...
2497 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2498 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2499 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2501 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2502 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2503 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2504 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2505 Moved ...
2506 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2508 Moved ...
2509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2510 ... here.
2511 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2512 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2513 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2514 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2515 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2516 Moved ...
2517 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2518 ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2520 Moved ...
2521 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2523 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2525 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2526 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2529 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2531 Moved ...
2532 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2534 Moved ...
2535 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2537 Moved ...
2538 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2540 Moved ...
2541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2543 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2544 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2545 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2547 Moved ...
2548 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2550 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2552 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2554 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2556 Moved ...
2557 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2559 Moved ...
2560 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2561 ... here.
2562 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2563 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2564 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2565 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2567 Moved ...
2568 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2569 ... here.
2570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2571 Moved ...
2572 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2574 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2576 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2578 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2580 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2582 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2583
5085af05
RM
2584 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2585 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2586
708f0813
RM
2587 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2588 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2589
c96067bc
RM
2590 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2591 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2592 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2594 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2596 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2598 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2600 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2602 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2604 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2606 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2608 Moved ...
2609 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2611 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2613 Moved ...
2614 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2616 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2618 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2620 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2622 Moved ...
2623 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2625 Moved ...
2626 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2628 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2630 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2632 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2634 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2636 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2637 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2638 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2640 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2642 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2643
ec136444
RM
2644 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2646 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2647 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2648 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2649
2fbdf533
RM
2650 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2651 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2652 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2653 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2654 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2655 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2656 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2657 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2658 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2659 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2660
4c68138b
RM
2661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2662 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2663
4eaae765
RM
2664 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2665 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2666 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2667 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2669 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2670 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2671 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2672 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2673 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2675 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2676 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2677 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2679 Update #include.
2680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2681 Likewise.
2682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2683 Likewise.
2684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2685 Likewise.
2686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2687 Likewise.
2688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2689 Likewise.
2690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2691 Likewise.
2692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2693 Likewise.
2694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2695 Likewise.
2696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2697 Likewise.
4ef6befa
RM
2698 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2699 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2702 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2703 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2705 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2707 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2708 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2709 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2710 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2711 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2712 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2713
941d7dfd
RM
2714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2715 that was previously under [RESET_PID].
2716 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2717 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2718 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2719
1b731c35
RM
2720 * sysdeps/i386/nptl/Implies: New file.
2721 * sysdeps/x86_64/nptl/Implies: New file.
2722 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2723 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2724 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2725 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2726
e2787137
RM
2727 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2728 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2729 (__libc_vfork): New strong alias.
2730 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2731 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2732
2733 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2734 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2735 (__libc_vfork): New strong alias.
2736 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2737 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2738
5675da1e
RM
2739 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2740 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2741 (__libc_vfork): New strong alias.
2742 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2743 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2744 * nptl/pt-vfork.c: New file.
2745 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2746 (libpthread: GLIBC_2.20): New version set (empty).
2747
4f02e2b8
WN
27482014-05-14 Will Newton <will.newton@linaro.org>
2749
2750 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2751 rather than #if.
2752
0bf061d3
JM
27532014-05-14 Joseph Myers <joseph@codesourcery.com>
2754
1a84c3d6
JM
2755 [BZ #16564]
2756 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2757 arguments with exponent 65 or above.
2758 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2759 arguments 0x1p113L or above.
2760 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2761 to arguments 0x1p107L or above.
2762 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2763 positive arguments with exponent 65 or above.
2764 * math/auto-libm-test-in: Add more tests of log1p.
2765 * math/auto-libm-test-out: Regenerated.
2766
01dbacd2
JM
2767 [BZ #16928]
2768 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2769 non-finite arguments is +0.
2770 * math/s_cacosf.c (__cacosf): Likewise.
2771 * math/s_cacosl.c (__cacosl): Likewise.
2772 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2775
913d03c8
JM
2776 [BZ #16927]
2777 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2778 value.
2779 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2780 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2781 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2782 for explicit high bit of mantissa when testing for argument equal
2783 to 1.
2784 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2785 * sysdeps/i386/fpu/libm-test-ulps: Update.
2786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2787
0bf061d3
JM
2788 [BZ #16516]
2789 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2790 (__erf): Scale by 16 instead of 8 in potentially underflowing
2791 case. Ensure exception if result actually underflows.
2792 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2793 (__erff): Scale by 16 instead of 8 in potentially underflowing
2794 case. Ensure exception if result actually underflows.
2795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2796 (efx8): Remove variable.
2797 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2798 case. Ensure exception if result actually underflows.
2799 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2800 (efx8): Remove variable.
2801 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2802 case. Ensure exception if result actually underflows.
2803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2804 (efx8): Remove variable.
2805 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2806 case. Ensure exception if result actually underflows.
2807 * math/auto-libm-test-in: Add more tests of erf.
2808 * math/auto-libm-test-out: Regenerated.
2809
73ba67cb
AS
28102014-05-14 Andreas Schwab <schwab@suse.de>
2811
3d8c8bff
AS
2812 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2813 Remove code conditionalized on USE___THREAD.
2814
73ba67cb
AS
2815 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2816 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2817 not definedness.
2818
5c521ecd
JM
28192014-05-14 Joseph Myers <joseph@codesourcery.com>
2820
5e7698c6
JM
2821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2822 Define unconditionally.
2823 (__ASSUME_O_CLOEXEC): Likewise.
2824 (__ASSUME_SOCK_CLOEXEC): Likewise.
2825 (__ASSUME_IN_NONBLOCK): Likewise.
2826 (__ASSUME_PIPE2): Likewise.
2827 (__ASSUME_EVENTFD2): Likewise.
2828 (__ASSUME_SIGNALFD4): Likewise.
2829 (__ASSUME_DUP3): Likewise.
2830 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2831 (__ASSUME_DUP3): Do not define.
2832 (__ASSUME_EVENTFD2): Likewise.
2833 (__ASSUME_IN_NONBLOCK): Likewise.
2834 (__ASSUME_O_CLOEXEC): Likewise.
2835 (__ASSUME_PIPE2): Likewise.
2836 (__ASSUME_SIGNALFD4): Likewise.
2837 (__ASSUME_SOCK_CLOEXEC): Likewise.
2838 (__ASSUME_UTIMES): Undefine.
2839 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2840 (__ASSUME_UTIMES): Do not define.
2841 (__ASSUME_O_CLOEXEC): Likewise.
2842 (__ASSUME_SOCK_CLOEXEC): Likewise.
2843 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2844 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2845 0x020621].
2846 (__ASSUME_PIPE2): Likewise.
2847 (__ASSUME_EVENTFD2): Likewise.
2848 (__ASSUME_SIGNALFD4): Likewise.
2849 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2850 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2851 Do not define.
2852 (__ASSUME_EVENTFD2): Likewise.
2853 (__ASSUME_SIGNALFD4): Likewise.
2854 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2855 (__ASSUME_32BITUIDS): Likewise.
2856 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2857 (__ASSUME_IPC64): Likewise.
2858 (__ASSUME_ST_INO_64_BIT): Likewise.
2859 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2860 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2861 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2862 (__ASSUME_UTIMES): Do not define.
2863 (__ASSUME_PSELECT): Likewise.
2864 (__ASSUME_PPOLL): Likewise.
2865 (__ASSUME_O_CLOEXEC): Likewise.
2866 (__ASSUME_SOCK_CLOEXEC): Likewise.
2867 (__ASSUME_IN_NONBLOCK): Likewise.
2868 (__ASSUME_PIPE2): Likewise.
2869 (__ASSUME_EVENTFD2): Likewise.
2870 (__ASSUME_SIGNALFD4): Likewise.
2871 (__ASSUME_DUP3): Likewise.
2872 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2873 (__ASSUME_UTIMES): Likewise.
2874 (__ASSUME_O_CLOEXEC): Likewise.
2875 (__ASSUME_SOCK_CLOEXEC): Likewise.
2876 (__ASSUME_IN_NONBLOCK): Likewise.
2877 (__ASSUME_PIPE2): Likewise.
2878 (__ASSUME_EVENTFD2): Likewise.
2879 (__ASSUME_SIGNALFD4): Likewise.
2880 (__ASSUME_DUP3): Likewise.
2881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2882 (__ASSUME_UTIMES): Likewise.
2883 (__ASSUME_O_CLOEXEC): Likewise.
2884 (__ASSUME_SOCK_CLOEXEC): Likewise.
2885 (__ASSUME_IN_NONBLOCK): Likewise.
2886 (__ASSUME_PIPE2): Likewise.
2887 (__ASSUME_EVENTFD2): Likewise.
2888 (__ASSUME_SIGNALFD4): Likewise.
2889 (__ASSUME_DUP3): Likewise.
2890 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2891 Likewise.
2892 (__ASSUME_UTIMES): Likewise.
2893 (__ASSUME_EVENTFD2): Likewise.
2894 (__ASSUME_SIGNALFD4): Likewise.
2895 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2896 (__ASSUME_O_CLOEXEC): Likewise.
2897 (__ASSUME_SOCK_CLOEXEC): Likewise.
2898 (__ASSUME_IN_NONBLOCK): Likewise.
2899 (__ASSUME_PIPE2): Likewise.
2900 (__ASSUME_EVENTFD2): Likewise.
2901 (__ASSUME_SIGNALFD4): Likewise.
2902 (__ASSUME_DUP3): Likewise.
2903 (__ASSUME_UTIMES): Undefine.
2904
5c521ecd
JM
2905 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2906 feclearexcept. Remove symbol versioning code.
2907 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2908 symbol versioning code.
2909 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2910 symbol versioning code.
2911 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2912 feupdateenv. Remove symbol versioning code.
2913 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2914 fegetexceptflag. Remove symbol versioning code.
2915 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2916 fesetexceptflag. Remove symbol versioning code.
2917 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2918 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2919 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2920 (__posix_fadvise64_l32): Remove prototype.
2921 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2922 code.
2923
5da9dfad
RM
29242014-05-13 Roland McGrath <roland@hack.frob.com>
2925
2926 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2927 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2928 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2929 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2930
893b4f37
SK
29312014-05-13 Sami Kerola <kerolasa@iki.fi>
2932
2933 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2934 current working directory
2935
e0db6517
RM
29362014-05-13 Roland McGrath <roland@hack.frob.com>
2937
58aa195d
RM
2938 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2939 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2940 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2941 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2942 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2943 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2944 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2945 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2947 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2949 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2950 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2951 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2952 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2955 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2957 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2959 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2960 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2961 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2971 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2972 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2973 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2974 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2975 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2976 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2977 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2978 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2979 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2980
8c6d01f0
RM
2981 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2982 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2983
2984 * sysdeps/unix/sysv/linux/arm/Makefile
2985 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2986 Add rt-aeabi_unwind_cpp_pr1.
2987 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2988 Add nptl-aeabi_unwind_cpp_pr1.
2989 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2990 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2991 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2992 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2993 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2994 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2995
2996 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2997 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2998 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2999 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3000
bba6da4e
RM
3001 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3002 Deconditionalize the code that was previously under [RESET_PID].
3003 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3004
e0db6517
RM
3005 * sysdeps/generic/exit-thread.h: New file.
3006 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3007 * include/unistd.h (__exit_thread): Remove declaration.
3008 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3009 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3010 * csu/libc-start.c: Include <exit-thread.h>.
3011 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3012 * nptl/pthread_create.c: Include <exit-thread.h>.
3013 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3014 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3015 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3016 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3017 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3018 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3019 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3020 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3021 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3022 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3023 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3024 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3025 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3026 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3027 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3028 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3029 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3030
01eb16fd
AS
30312014-05-13 Andreas Schwab <schwab@suse.de>
3032
3033 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3034
637461d9
JM
30352014-05-12 Joseph Myers <joseph@codesourcery.com>
3036
3037 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3038 (__ASSUME_UTIMES): Do not condition on kernel version.
3039 (__ASSUME_PSELECT): Define unconditionally.
3040 (__ASSUME_PPOLL): Likewise.
3041 (__ASSUME_ATFCTS): Likewise.
3042 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3043 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3044 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3045 (__ASSUME_UTIMENSAT): Define unconditionally.
3046 (__ASSUME_PRIVATE_FUTEX): Likewise.
3047 (__ASSUME_FALLOCATE): Likewise.
3048 (__ASSUME_O_CLOEXEC): Likewise.
3049 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3050 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3051 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3052 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3053 (__ASSUME_IN_NONBLOCK): Likewise.
3054 (__ASSUME_PIPE2): Likewise.
3055 (__ASSUME_EVENTFD2): Likewise.
3056 (__ASSUME_SIGNALFD4): Likewise.
3057 (__ASSUME_DUP3): Likewise.
3058 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3059 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3060 (__ASSUME_AT_RANDOM): Likewise.
3061 (__ASSUME_PREADV): Likewise.
3062 (__ASSUME_PWRITEV): Likewise.
3063 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3064 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3065 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3066 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3067 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3068 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3069 (__ASSUME_O_CLOEXEC): Define unconditionally.
3070 (__ASSUME_PSELECT): Do not undefine conditionally.
3071 (__ASSUME_PPOLL): Likewise.
3072 (__ASSUME_ATFCTS): Likewise.
3073 (__ASSUME_SET_ROBUST_LIST): Likewise.
3074 (__ASSUME_UTIMENSAT): Likewise.
3075 (__ASSUME_FDATASYNC): Define unconditionally.
3076 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3077 (__ASSUME_SIGFRAME_V2): Likewise.
3078 )__ASSUME_EVENTFD2): Likewise.
3079 (__ASSUME_SIGNALFD4): Likewise.
3080 (__ASSUME_PSELECT): Do not undefine conditionally.
3081 (__ASSUME_PPOLL): Likewise.
3082 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3083 (__ASSUME_PSELECT): Define unconditionally.
3084 (__ASSUME_PPOLL): Likewise.
3085 (__ASSUME_O_CLOEXEC): Likewise.
3086 (__ASSUME_SOCK_CLOEXEC): Likewise.
3087 (__ASSUME_IN_NONBLOCK): Likewise.
3088 (__ASSUME_PIPE2): Likewise.
3089 (__ASSUME_EVENTFD2): Likewise.
3090 (__ASSUME_SIGNALFD4): Likewise.
3091 (__ASSUME_DUP3): Likewise.
3092 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3093 (__ASSUME_O_CLOEXEC): Likewise.
3094 (__ASSUME_SOCK_CLOEXEC): Likewise.
3095 (__ASSUME_IN_NONBLOCK): Likewise.
3096 (__ASSUME_PIPE2): Likewise.
3097 (__ASSUME_EVENTFD2): Likewise.
3098 (__ASSUME_SIGNALFD4): Likewise.
3099 (__ASSUME_DUP3): Likewise.
3100 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3101 (__ASSUME_EVENTFD2): Likewise.
3102 (__ASSUME_SIGNALFD4): Likewise.
3103 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3104
315eb1d8
AS
31052014-05-12 Andreas Schwab <schwab@suse.de>
3106
3107 [BZ #16932]
3108 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3109 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3110 than maximum RPC packet size.
3111 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3112 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3113 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3114 (_nss_nis_getservbyport_r): Likewise.
3115
91df99f7
WN
31162014-05-12 Will Newton <will.newton@linaro.org>
3117
3118 * malloc/Makefile (tests): Add tst-mallopt.
3119 * malloc/tst-mallopt.c: New file.
3120
0a982a29
RM
31212014-05-09 Roland McGrath <roland@hack.frob.com>
3122
3123 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3124 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3125
0ded08a5
AZ
31262014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3129 (tst-tlsmod6.so): Likewise.
3130
55d4d550
RM
31312014-05-09 Roland McGrath <roland@hack.frob.com>
3132
3133 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3134
77d08aca
JM
31352014-05-09 Joseph Myers <joseph@codesourcery.com>
3136
3137 [BZ #16064]
3138 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3139 and <dl-procinfo.h>.
3140 (__fegetenv): Save SSE state in envp->__eip if supported.
3141 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3142 envp->__eip if supported.
3143 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3144 and <dl-procinfo.h>.
3145 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3146 __data_offset and __data_selector in environment to 0. Set SSE
3147 state if supported.
3148 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3149 test-fenv-sse.
3150 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3151 -mfpmath=sse.
3152 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3153
28162f4d
WN
31542014-05-09 Will Newton <will.newton@linaro.org>
3155
3156 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3157 and libc_relro_required for ARM.
3158 * sysdeps/arm/preconfigure: Regenerate.
3159
5a414ff7
DV
31602014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3161 Stefan Liebler <stli@linux.vnet.ibm.com>
3162
3163 * config.make.in (enable-lock-elision): New Makefile variable.
3164 * configure.ac: Likewise.
3165 * configure: Regenerate.
3166 * sysdeps/s390/configure.ac:
3167 Add check for gcc transactions support.
3168 * sysdeps/s390/configure: Regenerate.
3169 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3170 Build elision files if enabled.
3171 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3172 Add lock elision support for s390.
3173 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3174 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3175 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3176 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3177 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3178 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3179 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3180 Likewise.
3181 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3182 Likewise.
3183 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3184 Likewise.
3185 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3186 Likewise.
3187 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3188 (__lll_timedlock_elision, __lll_lock_elision)
3189 (__lll_unlock_elision, __lll_trylock_elision)
3190 (lll_timedlock_elision, lll_lock_elision)
3191 (lll_unlock_elision, lll_trylock_elision): Add.
3192 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3193 (pthread_mutex_t): Add lock elision support for s390.
3194
1a2f40e5
W
31952014-05-14 Wilco <wdijkstr@arm.com>
3196
3197 * sysdeps/arm/fclrexcpt.c: Cleanup.
3198 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3199 * sysdeps/arm/feenablxcpt.c: Cleanup.
3200 * sysdeps/arm/fegetenv.c: Cleanup.
3201 * sysdeps/arm/fegetexcept.c: Cleanup.
3202 * sysdeps/arm/fegetround.c: Cleanup.
3203 * sysdeps/arm/feholdexcpt.c: Cleanup.
3204 * sysdeps/arm/fesetenv.c: Cleanup.
3205 * sysdeps/arm/fesetround.c: Cleanup.
3206 * sysdeps/arm/feupdateenv.c: Cleanup.
3207 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3208 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3209 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3210 * sysdeps/arm/ftestexcept.c: Cleanup.
3211 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3212 * sysdeps/arm/setfpucw.c: Cleanup.
3213
f63c86fe
WN
32142014-05-09 Will Newton <will.newton@linaro.org>
3215
3216 * sysdeps/arm/armv7/strcmp.S: New file.
3217 * NEWS: Mention addition of ARMv7 optimized strcmp.
3218
7a1a51b5
RM
32192014-05-08 Roland McGrath <roland@hack.frob.com>
3220
95afbbe5
RM
3221 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3222 look for %.ac rather than %.in.
3223
3224 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3225 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3226 * sysdeps/mach/hurd/configure: Regenerated.
3227 * sysdeps/unix/sysv/linux/configure: Regenerated.
3228
7a1a51b5
RM
3229 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3230
5057ad3b
SE
32312014-05-07 Steve Ellcey <sellcey@mips.com>
3232
3233 [BZ# 16922]
3234 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3235 (LONG_SUB): Ditto.
3236 (PTR_SUB): Ditto.
3237
8dc97517
AS
32382014-05-07 Andreas Schwab <schwab@suse.de>
3239
3240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3241 when skipping over non-matching result from nscd.
3242
ce0c5b8f
OB
32432014-05-07 Ondřej Bílka <neleai@seznam.cz>
3244
3245 [BZ #16876]
3246 * nptl/sockperf.c (client): Check socket return value.
8dc97517 3247
a1189263
OB
3248 [BZ #16877]
3249 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3250 nscd security class.
ce0c5b8f 3251
0f58d252
RM
32522014-05-06 Roland McGrath <roland@hack.frob.com>
3253
3254 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3255 * sysdeps/arm/unwind.h: ... here.
3256
83df9ad0
AJ
32572014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3258
ce0c5b8f
OB
3259 [BZ# 16916]
3260 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3261 Define.
83df9ad0 3262
f360f94a
VR
32632014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3264
3265 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3266 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3267 multiarch strncpy for PPC64.
3268 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3269 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3271 multiarch optimizations.
3272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3273 (__libc_ifunc_impl_list): Likewise.
3274 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3275 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3276 multiarch stpncpy for PPC64.
3277 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3278 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3279
978a41c3
AS
32802014-05-06 Andreas Schwab <schwab@suse.de>
3281
3282 [BZ #16912]
3283 * gmon/mcount.c (_MCOUNT_DECL): Use
3284 atomic_compare_and_exchange_bool_acq instead of
3285 catomic_compare_and_exchange_bool_acq.
3286
eb1ed03d
RM
32872014-05-05 Roland McGrath <roland@hack.frob.com>
3288
fe658845
RM
3289 * elf/Makefile (others, install-bin): Remove pldd.
3290 (pldd-modules): Variable removed.
3291 ($(objpfx)pldd): Target removed.
3292 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3293 (others, install-bin): Append pldd here.
3294 ($(objpfx)pldd): New target.
3295
eb1ed03d
RM
3296 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3297 to 0, so the first #if test emitted later doesn't see it undefined.
3298 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3299 * sysdeps/gnu/errlist.c: Regenerated.
3300
19c4bec0
AZ
33012014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3302
3303 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3304 [libc_hidden_builtin_def]: Define to empty value.
3305 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3306 [libc_hidden_builtin_def]: Likewise.
3307 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3308 [libc_hidden_builtin_def]: Likewise.
3309 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3310 [libc_hidden_builtin_def]: Likewise.
3311 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3312 __redirect_memcpy and define ifunc as default hidden symbol.
3313 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3314 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3315
7776e669
AC
33162014-05-04 Adam Conrad <adconrad@0c3.net>
3317
3318 * locale/iso-4217.def: Reintroduce XDR currency.
3319
d69aeb12
AM
33202014-05-04 Allan McRae <allan@archlinux.org>
3321
3322 * po/eo.po: Update Esperanto translation from translation project.
3323
8f1df5cf
CD
33242014-05-02 Carlos O'Donell <carlos@redhat.com>
3325
3326 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3327 and FEATURE_INDEX_MAX to 1.
3328 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3329
13e402e7
SE
33302014-05-01 Steve Ellcey <sellcey@mips.com>
3331
3332 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3333 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3334 * iconvdata/big5.c (ONE_DIRECTION): Define.
3335 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3336 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3337 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3338 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3339 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3340 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3341 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3342 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3343 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3344 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3345 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3346 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3347 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3348 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3349 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3350 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3351 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3352 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3353 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3354 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3355 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3356 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3357 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3358 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3359 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3360 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3361 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3362 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3363 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3364 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3365 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3366 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3367 * iconvdata/johab.c (ONE_DIRECTION): Define.
3368 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3369 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3370 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3371 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3372 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3373 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3374 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3375 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3376 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3377 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3378
c727f032
RM
33792014-05-01 Roland McGrath <roland@hack.frob.com>
3380
8f2f08d0
RM
3381 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3382 (_IO_JUMPS_OFFSET): Define to 0.
3383
c727f032
RM
3384 * nptl/sysdeps/pthread/bits/libc-lock.h
3385 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3386 (__libc_lock_define_initialized_recursive): Always define using
3387 initializer. Modern compilers treat uninitialized (implicit zero) and
3388 explicit zero initializers the same (i.e. put the datum in bss).
3389
a849e800
AS
33902014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3391
3392 * nscd/nscd-client.h: Include <string.h>.
3393
5331255b
DM
33942014-05-01 David S. Miller <davem@davemloft.net>
3395
3396 [BZ #16885]
3397 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3398 multiple zero bytes exist at the end of a string.
3399 Reported by Aurelien Jarno <aurelien@aurel32.net>
3400
3401 * string/test-strcmp.c (check): Add explicit test for situations where
3402 there are multiple zero bytes after the first.
3403
4fdfe821
AS
34042014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3405
3406 [BZ #16890]
3407 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3408 when compiling wprintf.
3409 * stdio-common/tstdiomisc.c (t3): New function.
3410 (main): Call it.
3411
0cdddc25
SE
34122014-05-01 Steve Ellcey <sellcey@mips.com>
3413
3414 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3415 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3416 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3417 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3418
6426d77e
SE
34192014-05-01 Steve Ellcey <sellcey@mips.com>
3420
3421 * stdlib/longlong.h: Updated from GCC.
3422
6d96f5e4
WN
34232014-05-01 Will Newton <will.newton@linaro.org>
3424 Bernard Ogden <bernie.ogden@linaro.org>
3425
7470db0c
WN
3426 * NEWS: Update fixed bug list.
3427
6d96f5e4
WN
3428 [BZ #15119]
3429 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3430
211d653c
DM
34312014-04-30 David S. Miller <davem@davemloft.net>
3432
4fa262fa
DM
3433 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3434 (libc_feholdexcept_setround_sparc_ctx): New function.
3435 (libc_fesetenv_sparc_ctx): Likewise.
3436 (libc_feupdateenv_sparc_ctx): Likewise.
3437 (libc_feholdsetround_sparc_ctx): Likewise.
3438 (libc_feholdexcept_setround_ctx): Define.
3439 (libc_feholdexcept_setroundf_ctx): Likewise.
3440 (libc_feholdexcept_setroundl_ctx): Likewise.
3441 (libc_fesetenv_ctx): Likewise.
3442 (libc_fesetenvf_ctx): Likewise.
3443 (libc_fesetenvl_ctx): Likewise.
3444 (libc_feupdateenv_ctx): Likewise.
3445 (libc_feupdateenvf_ctx): Likewise.
3446 (libc_feupdateenvl_ctx): Likewise.
3447 (libc_feresetround_ctx): Likewise.
3448 (libc_feresetroundf_ctx): Likewise.
3449 (libc_feresetroundl_ctx): Likewise.
3450 (libc_feholdsetround_ctx): Likewise.
3451 (libc_feholdsetroundf_ctx): Likewise.
3452 (libc_feholdsetroundl_ctx): Likewise.
3453
1d3d93ef
DM
3454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3455 with __USE_GNU instead of XOPEN cpp guards.
3456
8aa583c3
DM
3457 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3458 0.
3459
211d653c
DM
3460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3461 with XOPEN cpp guards.
3462
60c8f1f6
JB
34632014-04-30 Julian Brown <julian@codesourcery.com>
3464
3465 [BZ #16888]
3466 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3467 handling.
3468
9a461d46
JM
34692014-04-30 Joseph Myers <joseph@codesourcery.com>
3470
d0f5b3f8
JM
3471 [BZ #9894]
3472 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3473 Change to 2.6.32.
3474 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3475 * sysdeps/unix/sysv/linux/configure: Regenerated.
3476 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3477 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3478 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3479 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3480 * README: Update reference to required Linux kernel version.
3481 * manual/install.texi (Linux): Update reference to required Linux
3482 kernel headers version.
3483 * INSTALL: Regenerated.
3484
9a461d46
JM
3485 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3486 header inclusion.
3487 [POSIX] (limits.h): Likewise.
3488 [POSIX] (math.h): Likewise.
3489 [POSIX] (sys/wait.h): Likewise.
3490 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3491 function.
3492 [POSIX] (stddef.h): Do not allow header inclusion.
3493
1775babf
AZ
34942014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495
57f41c40 3496 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3497
8f630cca
YY
34982014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3499
3500 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3501 Return immediately after lll_futex_wake.
3502
1cdeb237
SP
35032014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3504
bc8f194c
SP
3505 [BZ #16791]
3506 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3507 structure.
3508 (datahead_init_pos): Call datahead_init_common early.
3509 (datahead_init_neg): Likewise.
3510
1cdeb237
SP
3511 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3512 datahead_init_neg): New functions.
3513 * nscd/aicache.c (addhstaiX): Use them.
3514 * nscd/grpcache.c (cache_addgr): Likewise.
3515 * nscd/hstcache.c (cache_addhst): Likewise.
3516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3517 * nscd/netgroupcache.c (do_notfound): Likewise.
3518 (addgetnetgrentX): Likewise.
3519 (addinnetgrX): Likewise.
3520 * nscd/pwdcache.c (cache_addpw): Likewise.
3521 * nscd/servicescache.c (cache_addserv): Likewise.
3522
16b293a7
SP
35232014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3524 Atsushi Onoe <atsushi@onoe.org>
3525
3526 [BZ #14308]
3527 [BZ #12994]
3528 [BZ #13651]
3529 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3530 one response is valid.
3531 * resolv/res_send.c (send_dg): Check for validity of other
3532 response if the current response is a referral.
3533
a28a9b94
SE
35342014-04-29 Steve Ellcey <sellcey@mips.com>
3535
3536 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3537
2ca180e9
SL
35382014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3539
3540 [BZ #16823]
3541 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3542 Always divide by positive zero when computing -Inf result.
3543 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3544 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3545
18f2945a
AZ
35462014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3547
3548 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3549 FPSCR if value do not change.
3550 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3551 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3552 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3553 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3554 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3555 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3556 function.
3557
5abebba4
CD
35582014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3559
3560 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3561 * sysdeps/unix/sysv/linux/hppa: Move directory from
3562 ports/systeps/unix/sysv/linux/hppa.
3563 * README: Update listing for hppa-*-linux-gnu.
3564
f7ed60c2
OB
35652014-04-28 Ondřej Bílka <neleai@seznam.cz>
3566
fff763a5
OB
3567 [BZ #16754]
3568 * manual/stdio.texi (Hook functions): Fix types of stream hook
3569 functions.
f7ed60c2
OB
3570 [BZ #16854]
3571 * socket/sys/socket.h: Fix typo in comment.
3572
df639d73
WD
35732014-04-28 Wilco <wdijkstr@arm.com>
3574
f7ed60c2 3575 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3576 * sysdeps/arm/math_private.h: New file.
3577 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3578
48332d82
L
35792014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3582 with __int128_t.
3583 (La_x86_64_retval): Likewise.
3584
e5e0d9a4
IB
35852014-04-24 Ian Bolton <ian.bolton@arm.com>
3586
3587 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3588 fpsr if value didn't change.
3589 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3590 to fpcr if value didn't change.
3591 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3592 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3593 fpsr or fpcr if value didn't change.
3594 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3595 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3596 fpcr if value didn't change.
3597 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3598 to fpsr if value didn't change.
3599
bacc75f7
SP
36002014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3601
3602 * nptl/tst-sem3.c: Use test-skeleton.c
3603 (main): Rename to do_test. Use return instead of
3604 exit.
3605 * nptl/tst-sem4.c: Use test-skeleton.c
3606 (main): Rename to do_test.
3607
a059d359
DM
36082014-04-22 David S. Miller <davem@davemloft.net>
3609
3610 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3611 (struct sigaction): New struct member __glibc_reserved0, change
3612 type of sa_flags to int.
3613
ea6c92f3
YZ
36142014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3615
3616 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3617 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3618
766c4a36
SP
36192014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3620
3621 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3622 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3623
140cc7ab
VK
36242014-04-22 Will Newton <will.newton@linaro.org>
3625 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3626
3627 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3628 (__longjmp): Add longjmp and longjmp_target SystemTap
3629 probes.
3630 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3631 (__sigsetjmp): Add setjmp SystemTap probe.
3632
c54e5cf7
CD
36332014-04-17 Carlos O'Donell <carlos@redhat.com>
3634
3635 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3636 match manual order.
3637
75ffb047
AZ
36382014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3639
3640 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3641
2cd925f7
AZ
3642 * sysdeps/powerpc/fpu/fenv_private.h
3643 (libc_feholdexcept_setroundl_ctx): Define to
3644 libc_feholdexcept_setround_ppc_ctx.
3645 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3646 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3647 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3648 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3649
39e6cd8d
IB
36502014-04-17 Ian Bolton <ian.bolton@arm.com>
3651
3652 * sysdeps/aarch64/math-tests.h: New file.
3653
f9281df9
SY
36542014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3655
3656 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3657 New.
3658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3659 Check and set bit_AVX2_Usable.
3660 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3661 macro.
3662 (bit_AVX2): Likewise.
3663 (index_AVX2_Usable): Likewise.
3664 (CPUID_AVX2): Likewise.
3665 (HAS_AVX2): Likewise.
3666
37d35007
WN
36672014-04-17 Will Newton <will.newton@linaro.org>
3668
7c677662
WN
3669 * manual/setjmp.texi (System V contexts): Add note that
3670 calling setcontext on a context created by a call to a
3671 signal handler is undefined. Update text to note that
3672 setcontext from a signal handler is possible but not
3673 recommended.
3674
37d35007 3675 [BZ #16629]
e04a4e9d
WN
3676 * stdlib/tst-setcontext.c: Include signal.h.
3677 (main): Check that the signal stack before and
3678 after swapcontext is the same.
3679
37d35007
WN
3680 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3681 Re-implement to restore registers in user code and avoid
3682 rt_sigreturn system call.
3683
423a7160
W
36842014-04-17 Wilco <wdijkstr@arm.com>
3685
3686 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3687 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3688 * math/test-fenv.c: Skip exception trap tests on targets which only
3689 support non-stop mode.
3690
bc93ab29
IB
36912014-04-17 Ian Bolton <ian.bolton@arm.com>
3692 Wilco Dijkstra <wilco.dijkstra@arm.com>
3693
3694 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3695 (libc_feholdsetround_aarch64_ctx)
3696 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3697 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3698 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3699 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3700 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3701 (libc_feresetround_noexl_ctx): Define.
3702
95fc5fa3
RH
37032014-04-16 Richard Henderson <rth@redhat.com>
3704
ddb04724
RH
3705 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3706
d77c0899
RH
3707 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3708 unwind tables.
3709
a3df56fc
RH
3710 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3711 const from the non-libc, non-ldso copy.
3712
95fc5fa3
RH
3713 * sysdeps/alpha/libm-test-ulps: Regenerate.
3714
7e0b6763
IB
37152014-04-16 Ian Bolton <ian.bolton@arm.com>
3716 Wilco Dijkstra <wilco.dijkstra@arm.com>
3717
3718 * sysdeps/aarch64/fpu/math_private.h: New file.
3719
a9ea2e0c
MS
37202014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3721
3722 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3723
ea8ba7cd
IZ
37242014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3725
3726 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3727 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3729 Intel MPX bound registers before _dl_profile_fixup.
3730 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3731 registers after _dl_profile_fixup. Save and restore bound
3732 registers bnd0/bnd1 when calling _dl_call_pltexit.
3733 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3734 (LR_BND_OFFSET): Likewise.
3735 (LRV_BND0_OFFSET): Likewise.
3736 (LRV_BND1_OFFSET): Likewise.
3737
9f2a4fbc
ST
37382014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3739
3740 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3741 to...
3742 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3743 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3744 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3745 fields.
9f2a4fbc 3746
fd15a59b
ST
37472014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3748
3749 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3750
f19dfa0a
SL
37512014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3752
3753 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3754
4fa8bc3b
SL
37552014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3756
3757 [BZ #14770]
3758 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3759 * sysdeps/s390/configure: Regenerate.
3760
8ea587db
SL
3761 [BZ #16824]
3762 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3763 Set round-to-nearest internally to reduce error accumulation.
3764
aa5f0ff1
AM
37652014-04-16 Alan Modra <amodra@gmail.com>
3766
3767 [BZ #16740]
3768 [BZ #16619]
3769 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3770 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3771 * NEWS: Update fixed bug list.
aa5f0ff1 3772
bb9c256f
SP
37732014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3774
3775 * benchtests/Makefile: Depend on libraries in build directory.
3776 (bench-math): Separate out math tests.
3777 (bench-pthread): Separate out pthread tests.
3778 (bench): Include math and pthread tests.
3779
f737dfd0
CD
37802014-04-14 Carlos O'Donell <carlos@redhat.com>
3781
3782 [BZ #16831]
3783 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3784 _dl_debug_initialize.
3785
0699f766
CD
3786 * configure.ac: Remove SELinux header check.
3787 * configure: Regenerate.
3788 * nscd/selinux.c (perms): Array of const char* to permission names.
3789 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3790 default policy. Call string_to_security_class and string_to_av_perm to
3791 translate strings. Enforce default policy and call avs_has_perm with
3792 results of translated strings.
3793
809bd45f
DM
37942014-04-13 David S. Miller <davem@davemloft.net>
3795
3796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3797
89e691f2
AM
37982014-04-12 Allan McRae <allan@archlinux.org>
3799
3800 [BZ #16838]
3801 * manual/string.texi (Collation Functions): Fix qsort argument
3802 order in example.
3803 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3804
9c9daaeb
CM
38052014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3806
3807 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3808 Make the test a no-op if there are no exceptions defined.
3809
95561fb9
PP
38102014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3811
fe8d072c 3812 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3813 enable-hardcoded-path-in-tests
3814
970c602a
WN
38152014-04-11 Will Newton <will.newton@linaro.org>
3816
3817 * benchtests/Makefile (extra-objs): Add json-lib.o.
3818 (bench-func): Tidy up JSON output.
3819 * benchtests/bench-skeleton.c: Include json-lib.h.
3820 (main): Use JSON library functions to do output of
3821 benchmark results.
3822 * benchtests/bench-timing-type.c (main): Output the
3823 timing type simply, leaving formatting to the user.
3824 * benchtests/json-lib.c: New file.
3825 * benchtests/json-lib.h: Likewise.
3826
36875b06
TR
38272014-04-11 Torvald Riegel <triegel@redhat.com>
3828
3829 [BZ #15215]
3830 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3831 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3832 memory barriers. Add comments.
3833 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3834 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3835 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3836 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3837 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3838 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3839
579db35a
SL
38402014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3841
3842 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3843 * sysdeps/s390/s390-64/configure.ac: ... this ...
3844 * sysdeps/s390/configure.ac: ... to here.
3845 * sysdeps/s390/s390-32/configure: Delete file.
3846 * sysdeps/s390/s390-64/configure: Delete file.
3847 * sysdeps/s390/configure: Regenerate.
3848
c12e9f37
JAPH
38492014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3850
3851 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3852
439bda32
WN
38532014-04-11 Will Newton <will.newton@linaro.org>
3854
3855 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3856 to zero if it is not defined elsewhere. (mtrim): Test
3857 the value of MALLOC_DEBUG with #if rather than #ifdef.
3858
6a5d6ea1
TR
38592014-04-10 Torvald Riegel <triegel@redhat.com>
3860
3861 * benchtests/pthread_once-inputs: New file.
3862 * benchtests/pthread_once-source.c: New file.
3863 * benchtests/README: Update documentation.
3864
a4c75cfd
IZ
38652014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3866 H.J. Lu <hongjiu.lu@intel.com>
3867
3868 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3869 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3870 * sysdeps/x86_64/configure: Regenerated.
3871 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3872 macro.
3873 (REGISTER_SAVE_RAX): Likewise.
3874 (REGISTER_SAVE_RCX): Likewise.
3875 (REGISTER_SAVE_RDX): Likewise.
3876 (REGISTER_SAVE_RSI): Likewise.
3877 (REGISTER_SAVE_RDI): Likewise.
3878 (REGISTER_SAVE_R8): Likewise.
3879 (REGISTER_SAVE_R9): Likewise.
3880 (REGISTER_SAVE_BND0): Likewise.
3881 (REGISTER_SAVE_BND1): Likewise.
3882 (REGISTER_SAVE_BND2): Likewise.
3883 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3884 bound registers when calling _dl_fixup.
3885
27822ce6
AZ
38862014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3887
3888 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3889 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3890 of its definition.
27822ce6
AZ
3891 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3892 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3893 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3894 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3895 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3896 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3897 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3898
a88ddc90
PTB
38992014-04-09 Peter Brett <peter@peter-b.co.uk>
3900
3901 [BZ #15514]
3902 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3903 pathconf(_PC_NAME_MAX).
3904
01f8eac2
AZ
39052014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3906
3907 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3908 Remove macro usage.
3909 (__PTHREAD_SPINS): Move definition to ...
3910 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3911 (__PTHREAD_SPINS): ... here.
3912 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3913 (__PTHREAD_SPIN): Likewise.
3914 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3915 (__PTHREAD_SPIN): Likewise.
3916 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3917 (__PTHREAD_SPIN): Likewise.
3918 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3919 (__PTHREAD_SPIN): Likewise.
3920 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3921 (__PTHREAD_SPIN): Likewise.
3922 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3923 (__PTHREAD_SPIN): Likewise.
3924 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3925 (__PTHREAD_SPIN): Likewise.
3926 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3927 (__PTHREAD_SPIN): Likewise.
3928 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3929 (__PTHREAD_SPIN): Likewise.
3930 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3931 (__PTHREAD_SPIN): Likewise.
3932 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3933 (__PTHREAD_SPIN): Likewise.
3934 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3935 (__PTHREAD_SPIN): Likewise.
3936
de21c33c
AZ
3937 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3938 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3939 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3940 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3941 imply folder.
3942 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3943 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3944 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3945 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3946 correct imply path.
3947 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3948 strlen symbol for non multi-arch builds.
3949 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3950 missing hidden_def and weak_alias.
3951
862c472e
CD
39522014-04-08 Carlos O'Donell <carlos@redhat.com>
3953
3954 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3955
8667f90e
WN
39562014-04-07 Will Newton <will.newton@linaro.org>
3957
3958 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3959 and contents. [!_LIBC] Remove #ifndef and contents.
3960 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3961 * string/memccpy.c (__memccpy): Use ANSI prototype.
3962 * string/memfrob.c (memfrob): Likewise.
3963 * string/strcoll.c (STRCOLL): Likewise.
3964 * string/strlen.c (strlen): Likewise.
3965 * string/strtok.c (STRTOK): Likewise.
3966 * string/strcat.c: Remove unused #include of memcopy.h.
3967 (strcat): Use ANSI prototype.
3968 * string/strchr.c: Remove unused #include of memcopy.h.
3969 (strchr): Use ANSI prototype.
3970 * string/strcmp.c: Remove unused #include of memcopy.h.
3971 (strcmp): Use ANSI prototype.
3972 * string/strcpy.c: Remove unused #include of memcopy.h.
3973 (strcpy): Use ANSI prototype.
3974
7ffa9423
AZ
39752014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3976
3977 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3978 * config.make.in (config-extra-cppflags): Set it from
3979 libc_extra_cppflags.
3980 * configure.ac (libc_extra_cflags): Make it accumulate over
3981 configure fragments.
3982 (libc_extra_cppflags): New flag.
3983 * configure. Regenerate.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3985 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3986 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3988
8bd70862
AZ
3989 [BZ #16815]
3990 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3991 result for FE_DOWNWARD rounding mode.
3992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3993 Likewise.
3994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3995
d42f3448
CM
39962014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3997
3998 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3999 in function argument name.
4000
1c21d115
DS
40012014-04-03 David Svoboda <svoboda@cert.org>
4002
4003 [BZ #5666]
4004 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4005 explicitly.
4006
fcccd512
RM
40072014-04-03 Roland McGrath <roland@hack.frob.com>
4008
4009 * elf/dl-unmap-segments.h: New file.
4010 * sysdeps/generic/ldsodefs.h
4011 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4012 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4013 * elf/dl-fptr.c: Likewise.
4014 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4015 * sysdeps/aarch64/tlsdesc.c: Likewise.
4016 * sysdeps/arm/tlsdesc.c: Likewise.
4017 * sysdeps/i386/tlsdesc.c: Likewise.
4018 * sysdeps/tile/dl-runtime.c: Likewise.
4019 * sysdeps/x86_64/tlsdesc.c: Likewise.
4020 * elf/dl-load.h: New file.
4021 * elf/dl-load.c: Include it.
4022 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4023 Macros moved to dl-load.h.
4024 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4025 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4026 Use _dl_unmap_segments in place of __munmap.
4027 Break out segment-mapping loop into ...
4028 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4029
f6488e2b
WN
40302014-04-03 Will Newton <will.newton@linaro.org>
4031
4032 * elf/dl-lookup.c (do_lookup_x): Remove comment
4033 referring to nested function and move variable
4034 declarations down to before first use.
4035
6f05bafe
JM
40362014-04-02 Joseph Myers <joseph@codesourcery.com>
4037
a84e78c8
JM
4038 [BZ #16799]
4039 [BZ #16800]
4040 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4041 with 0 numerator.
4042 * math/s_catanf.c (__catanf): Likewise.
4043 * math/s_catanh.c (__catanh): Likewise.
4044 * math/s_catanhf.c (__catanhf): Likewise.
4045 * math/s_catanhl.c (__catanhl): Likewise.
4046 * math/s_catanl.c (__catanl): Likewise.
4047 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4048 by positive zero when computing -Inf result.
4049 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4050 (catanh_test): Likewise.
4051 * sysdeps/i386/fpu/libm-test-ulps: Update.
4052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4053
6f05bafe
JM
4054 [BZ #16789]
4055 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4056 instead of using underflowing value in computing result.
4057 * math/s_clog10.c (__clog10): Likewise.
4058 * math/s_clog10f.c (__clog10f): Likewise.
4059 * math/s_clog10l.c (__clog10l): Likewise.
4060 * math/s_clogf.c (__clogf): Likewise.
4061 * math/s_clogl.c (__clogl): Likewise.
4062 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4063 (clog10_test): Likewise.
4064 * sysdeps/i386/fpu/libm-test-ulps: Update.
4065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4066
b0abbc21
AM
40672014-04-02 Alan Modra <amodra@gmail.com>
4068
4069 [BZ #16739]
4070 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4071 output when value is near a power of two. Use int64_t for lx and
4072 remove casts. Use decimal rather than hex exponent constants.
4073 Don't use long double multiplication when double will suffice.
4074 * math/libm-test.inc (nextafter_test_data): Add tests.
4075 * NEWS: Add 16739 and 16786 to bug list.
4076
af6b1797
AM
4077 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4078
483818d7
AM
4079 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4080
f6c55796
WN
40812014-04-01 Will Newton <will.newton@linaro.org>
4082
4083 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4084 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4085
13f7fe35
FW
40862014-04-01 Florian Weimer <fweimer@redhat.com>
4087
4088 [BZ #13347]
4089 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4090 * nptl/tst-setuid2.c: New file.
4091 * nptl/Makefile (xtests): Add tst-setuid2.
4092
c859b32e
AM
40932014-04-01 Alan Modra <amodra@gmail.com>
4094
4095 [BZ #16786]
4096 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4097
54fa2475
JM
40982014-03-31 Joseph Myers <joseph@codesourcery.com>
4099
8795b4a4
JM
4100 [BZ #6803]
4101 [BZ #6804]
4102 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4103 set errno as appropriate.
4104 * math/w_scalbf.c (__scalbf): Likewise.
4105 * math/w_scalbl.c (__scalbl): Likewise.
4106 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4107 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4108 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4109 Add more NaN tests.
4110
54fa2475
JM
4111 [BZ #16349]
4112 * math/w_atan2.c: Include <errno.h>.
4113 (__atan2): Set errno for result underflowing to zero.
4114 * math/w_atan2f.c: Include <errno.h>.
4115 (__atan2f): Set errno for result underflowing to zero.
4116 * math/w_atan2l.c: Include <errno.h>.
4117 (__atan2l): Set errno for result underflowing to zero.
4118 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4119 tests.
4120 * math/auto-libm-test-out: Regenerated.
4121
757d9dd5
AZ
41222014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4123
4124 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4125 Encode instruction correctly in little endian.
4126 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4127 Likewise.
4128 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4129 Likewise.
4130 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4131 Likewise.
4132 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4133 Likewise.
4134
d7a68734
JM
41352014-03-31 Joseph Myers <joseph@codesourcery.com>
4136
47c5adeb
JM
4137 [BZ #9894]
4138 * sysdeps/unix/sysv/linux/kernel-features.h
4139 [__sparc__ && !__arch64__ && !__sparc_v9__]
4140 (__ASSUME_SET_ROBUST_LIST): Do not define.
4141 [__sparc__ && !__arch64__ && !__sparc_v9__]
4142 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4143 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4144 Likewise.
4145 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4146 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4147 (__ASSUME_REQUEUE_PI): Likewise.
4148 (__ASSUME_SET_ROBUST_LIST): Likewise.
4149 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4150 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4151 Undefine.
4152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4153 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4154 Likewise.
4155 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4156 Likewise.
4157 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4158 Likewise.
4159 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4160 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4161 Undefine.
4162 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4163 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4164 Likewise.
4165
d7a68734
JM
4166 [BZ #16648]
4167 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4168 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4169 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4170
c760f5c2
WN
41712014-03-31 Will Newton <will.newton@linaro.org>
4172
4173 * benchtests/Makefile (bench): Add ffs and ffsll to list
4174 of tests.
4175 * benchtests/ffs-inputs: New file.
4176 * benchtests/ffsll-inputs: Likewise.
4177
ea6029b1
JM
41782014-03-29 Joseph Myers <joseph@codesourcery.com>
4179
4180 [BZ #16770]
4181 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4182 too large before casting to int.
4183 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4184 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4185 * math/libm-test.inc (scalb_test_data): Add more tests.
4186
cf806aff
SP
41872014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4188
56737508
SP
4189 * benchtests/Makefile (DETAILED_OPT): New make option.
4190 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4191 set.
4192 * benchtests/bench-skeleton.c: Include stdbool.h.
4193 (main): Store and print timings per input.
4194 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4195 member to each argument value.
4196 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4197 (_print_arg_data): Initialize per-input timing to 0.
4198
cb5e4aad
SP
4199 * benchtests/Makefile (timing-type): New binary.
4200 (bench-clean): Also remove bench-timing-type.
4201 (bench): New target for timing-type.
4202 (bench-func): Print output in JSON format.
4203 * benchtests/bench-skeleton.c (main): Print output in JSON
4204 format.
4205 * benchtests/bench-timing-type.c: New file.
4206 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4207 (TIMING_PRINT_STATS): Remove.
4208 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4209 name separately.
4210
cf806aff
SP
4211 * benchtests/bench-modf.c: Remove.
4212 * benchtests/modf-inputs: New inputs file.
4213
289e0779
JM
42142014-03-28 Joseph Myers <joseph@codesourcery.com>
4215
4216 [BZ #16362]
4217 * math/s_clog10.c (M_PI_LOG10E): New macro.
4218 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4219 imaginary parts are 0.
4220 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4221 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4222 imaginary parts are 0.
4223 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4224 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4225 imaginary parts are 0.
4226 * math/libm-test.inc (clog10_test_data): Update expected results
4227 for when real and imaginary parts are 0.
4228
277ae3f1
PP
42292014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4230
4231 * elf/dl-load.c: Finish conversion of __builtin_expect into
4232 __glibc_{un}likely.
4233
03a7091f
JM
42342014-03-27 Joseph Myers <joseph@codesourcery.com>
4235
4236 [BZ #16348]
4237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4238 1+x for argument with exponent below -67.
4239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4240 Likewise.
4241 * math/auto-libm-test-in: Add more tests of exp.
4242 * math/auto-libm-test-out: Regenerated.
4243
ea7d8b95
SP
42442014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4245
dd3022d7
SP
4246 [BZ #16759]
4247 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4248 (nscd_getnetgrent): Use it.
4249
ea7d8b95
SP
4250 [BZ #16760]
4251 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4252 of stpcpy.
4253
df5b85da
AK
42542014-03-27 Andi Kleen <ak@linux.intel.com>
4255
57f41c40
AS
4256 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4257 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4258 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4259 (lll_robust_unlock): Remove out of line section. Use cfi
4260 intrinsics.
df5b85da 4261 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
4262 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4263 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4264 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4265 (lll_robust_unlock): Remove out of line section. Use cfi
4266 intrinsics.
df5b85da
AK
4267 (LLL_STUB_UNWIND_INFO*): Remove.
4268
fbd6b5a4
SP
42692014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4270
4271 [BZ #16758]
4272 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4273 blank values.
4274
1b26b855
PP
42752014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4276
4277 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4278
9be36fb8
JM
42792014-03-26 Joseph Myers <joseph@codesourcery.com>
4280
4281 [BZ #16198]
4282 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4283 fnstenv.
4284 * math/test-fenv-preserve.c: New file.
4285 * math/Makefile (tests): Add test-fenv-preserve.
4286
60a2f3c1
WN
42872014-03-26 Will Newton <will.newton@linaro.org>
4288
4289 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4290
a5e5f1e2
RM
42912014-03-25 Roland McGrath <roland@hack.frob.com>
4292
4293 * scripts/versionlist.awk: Partition the version sets and emit all
4294 GLIBC_* (sorted) before all others (sorted).
4295
00f4012a
JM
42962014-03-25 Joseph Myers <joseph@codesourcery.com>
4297
4298 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4299 GLIBC_2.2.5 version.
4300
7bc5a741
AZ
43012014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4302
4303 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4304 calls.
4305
7578473b
AZ
4306 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4307 previous change.
4308
f3f1dab3
AZ
4309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4310
6da36183
AS
43112014-03-25 Andreas Schwab <schwab@suse.de>
4312
4313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4314 label to be used after in6ailist is initialized.
4315
f3f1dab3 43162014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 4317
7578473b 4318 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
4319 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4320
046651c1
JM
43212014-03-25 Joseph Myers <joseph@codesourcery.com>
4322
4323 [BZ #16357]
4324 [BZ #16599]
4325 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4326 min_plus_half.
4327 (fp_formats): Update initializers.
4328 (init_fp_formats): Initialize new field.
4329 (output_for_one_input_case): Allow underflow for results up to
4330 min_plus_half.
4331 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4332 * math/auto-libm-test-in: Don't mark some underflows from asin and
4333 atanh as spurious.
4334 * math/auto-libm-test-out: Regenerated.
4335 * sysdeps/i386/fpu/libm-test-ulps: Update.
4336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4337
003e49ed
AS
43382014-03-25 Andreas Schwab <schwab@suse.de>
4339
4340 * libio/Makefile (tst-ftell-partial-wide-ENV)
4341 (tst-ftell-active-handler-ENV): Define.
4342
de031874
SL
43432014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4344
4345 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4346
55a81e3b
PP
43472014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4348
4349 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4350
f3426898
JM
43512014-03-24 Joseph Myers <joseph@codesourcery.com>
4352
4353 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4354 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4355 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4356
a42faf59
PP
43572014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4358
4359 [BZ #16634]
a42faf59 4360 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
4361 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4362 (open_path): Change from boolean 'secure' to complete flag 'mode'
4363 (_dl_map_object): Adjust.
a42faf59
PP
4364 * elf/Makefile (tests): Add tst-dlopen-aout.
4365 * elf/tst-dlopen-aout.c: New test.
4366
50936127
SL
43672014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4368
4369 [BZ #16714]
4370 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4371 (struct stat): Rename member pad0 to __glibc_reserved0.
4372
26011b5c
SL
4373 [BZ #16712]
4374 * sysdeps/s390/s390-32/bits/wordsize.h
4375 (__WORDSIZE32_SIZE_ULONG): New define.
4376 * sysdeps/s390/s390-64/bits/wordsize.h
4377 (__WORDSIZE32_SIZE_ULONG): Likewise.
4378 * sysdeps/generic/stdint.h (SIZE_MAX):
4379 Define as UL if __WORDSIZE32_SIZE_ULONG.
4380
a2d86bf1
SL
4381 [BZ #16713]
4382 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4383 (__glibc_reserved0): New variable.
4384 (sa_flags): Change type to int.
4385
78b6eebc
SL
4386 * posix/Makefile (before-compile): Use += before-compile instead
4387 of a :=.
4388
f1399b5a
SL
4389 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4390 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4391
a071766e
AS
43922014-03-20 Andreas Schwab <schwab@suse.de>
4393
4394 [BZ #16743]
4395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4396 non-matching result from nscd.
4397
27c673b8
SP
43982014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4399
4400 * scripts/bench.py: Moved to ...
4401 * benchtests/scripts/bench.py: ... here.
4402 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4403
44152e4b
AS
44042014-03-24 Andreas Schwab <schwab@suse.de>
4405
4406 [BZ #16002]
4407 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4408 alloca_account and account alloca use for struct in6ailist.
4409
b376a11a
JM
44102014-03-24 Joseph Myers <joseph@codesourcery.com>
4411
4412 [BZ #16284]
4413 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4414 rounding mode to recompute results that overflow to infinity or
4415 underflow to zero.
4416 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4417 bug 16284.
4418 * math/auto-libm-test-out: Regenerated.
4419 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4420 (ccosh_test): Likewise.
4421 (csin_test_data): Use plus_oflow.
4422 (csin_test): Use ALL_RM_TEST.
4423 (csinh_test_data): Use plus_oflow.
4424 (csinh_test): Use ALL_RM_TEST.
4425 * sysdeps/i386/fpu/libm-test-ulps: Update.
4426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427
f7be7376
JM
44282014-03-21 Joseph Myers <joseph@codesourcery.com>
4429
1ca2d03e
JM
4430 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4431 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4432 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4433
f7be7376
JM
4434 [BZ #16731]
4435 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4436 when x - 1 is zero.
4437 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4438 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4439 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4440 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4441 argument is 1.
4442 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4443 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4444 zero.
4445 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4446 * sysdeps/i386/fpu/libm-test-ulps: Update.
4447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4448
fdf4534d
SP
44492014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4450
df26ea53
SP
4451 * scripts/bench.pl: Remove file.
4452 * scripts/bench.py: New benchmark script.
4453 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4454 * benchtests/README: Mention python dependency.
4455 * scripts/pylintrc: New file.
4456 * scripts/pylint: New file.
4457
fdf4534d
SP
4458 * bits/mathdef.h: Use #ifdef instead of #if.
4459 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4460 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4461 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4462 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4463 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4464 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4465
6f23d093
AZ
44662014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4467 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4468
4469 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4471 and strpbrk-ppc64 objects.
4472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4473 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4474 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4475 multiarch strpbrk for POWER7.
4476 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4477 multiarch strpbrk for PPC64.
4478 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4479 ifunc selector.
4480 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4481 strpbrk for POWER7.
4482
8c92dfff
JM
44832014-03-20 Joseph Myers <joseph@codesourcery.com>
4484
4485 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4486 (atan_test): Likewise.
4487 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4488 (atanh_test): Use ALL_RM_TEST.
4489 (atan2_test_data): Likewise.
4490 (cabs_test): Likewise.
4491 (cacosh_test): Likewise.
4492 (carg_test): Likewise.
4493 (casin_test): Likewise.
4494 (casinh_test): Likewise.
4495 (cbrt_test): Likewise.
4496 (csqrt_test): Likewise.
4497 (erf_test): Likewise.
4498 (erfc_test): Likewise.
4499 (pow10_test): Likewise.
4500 (exp2_test): Likewise.
4501 (hypot_test): Likewise.
4502 (j0_test): Likewise.
4503 (j1_test): Likewise.
4504 (lgamma_test): Likewise.
4505 (gamma_test): Likewise.
4506 (sincos_test): Likewise.
4507 (tanh_test): Likewise.
4508 (y0_test): Likewise.
4509 (y1_test): Likewise.
4510 * sysdeps/i386/fpu/libm-test-ulps: Update.
4511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4512
6eaf95cb
AZ
45132014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4514
a387428c
SP
4515 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
4517 and strcspn-ppc64 objects.
4518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4519 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4520 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4521 multiarch strcspn for POWER7.
4522 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4523 multiarch strcspn for PPC64.
4524 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4525 ifunc selector.
4526 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4527 strcspn for POWER7.
4528
ae3a5dff
JM
45292014-03-20 Joseph Myers <joseph@codesourcery.com>
4530
4531 * math/gen-libm-test.pl (generate_testfile): Expect only function
4532 name as argument to AUTO_TESTS_* and pass results for all rounding
4533 modes to parse_args.
4534 (parse_auto_input): Separate inputs of automatic tests from
4535 outputs before storing in %auto_tests.
4536 * math/libm-test.inc (acos_test_data): Update call to
4537 AUTO_TESTS_f_f.
4538 (acos_test): Use ALL_RM_TEST.
4539 (acos_tonearest_test_data): Remove.
4540 (acos_test_tonearest): Likewise.
4541 (acos_towardzero_test_data): Likewise.
4542 (acos_test_towardzero): Likewise.
4543 (acos_downward_test_data): Likewise.
4544 (acos_test_downward): Likewise.
4545 (acos_upward_test_data): Likewise.
4546 (acos_test_upward): Likewise.
4547 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4548 (asin_test_data): Likewise.
4549 (asin_test): Use ALL_RM_TEST.
4550 (asin_tonearest_test_data): Remove.
4551 (asin_test_tonearest): Likewise.
4552 (asin_towardzero_test_data): Likewise.
4553 (asin_test_towardzero): Likewise.
4554 (asin_downward_test_data): Likewise.
4555 (asin_test_downward): Likewise.
4556 (asin_upward_test_data): Likewise.
4557 (asin_test_upward): Likewise.
4558 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4559 (atan_test_data): Likewise.
4560 (atanh_test_data): Likewise.
4561 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4562 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4563 (carg_test_data): Likewise.
4564 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4565 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4566 (ccosh_test_data): Likewise.
4567 (cexp_test_data): Likewise.
4568 (clog_test_data): Likewise.
4569 (clog10_test_data): Likewise.
4570 (cos_test_data): Update call to AUTO_TESTS_f_f.
4571 (cos_test): Use ALL_RM_TEST.
4572 (cos_tonearest_test_data): Remove.
4573 (cos_test_tonearest): Likewise.
4574 (cos_towardzero_test_data): Likewise.
4575 (cos_test_towardzero): Likewise.
4576 (cos_downward_test_data): Likewise.
4577 (cos_test_downward): Likewise.
4578 (cos_upward_test_data): Likewise.
4579 (cos_test_upward): Likewise.
4580 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4581 (cosh_test): Use ALL_RM_TEST.
4582 (cosh_tonearest_test_data): Remove.
4583 (cosh_test_tonearest): Likewise.
4584 (cosh_towardzero_test_data): Likewise.
4585 (cosh_test_towardzero): Likewise.
4586 (cosh_downward_test_data): Likewise.
4587 (cosh_test_downward): Likewise.
4588 (cosh_upward_test_data): Likewise.
4589 (cosh_test_upward): Likewise.
4590 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4591 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4592 (ctan_test_data): Likewise.
4593 (ctan_test): Use ALL_RM_TEST.
4594 (ctan_tonearest_test_data): Remove.
4595 (ctan_test_tonearest): Likewise.
4596 (ctan_towardzero_test_data): Likewise.
4597 (ctan_test_towardzero): Likewise.
4598 (ctan_downward_test_data): Likewise.
4599 (ctan_test_downward): Likewise.
4600 (ctan_upward_test_data): Likewise.
4601 (ctan_test_upward): Likewise.
4602 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4603 (ctanh_test): Use ALL_RM_TEST.
4604 (ctanh_tonearest_test_data): Remove.
4605 (ctanh_test_tonearest): Likewise.
4606 (ctanh_towardzero_test_data): Likewise.
4607 (ctanh_test_towardzero): Likewise.
4608 (ctanh_downward_test_data): Likewise.
4609 (ctanh_test_downward): Likewise.
4610 (ctanh_upward_test_data): Likewise.
4611 (ctanh_test_upward): Likewise.
4612 (erf_test_data): Update call to AUTO_TESTS_f_f.
4613 (erfc_test_data): Likewise.
4614 (exp_test_data): Likewise.
4615 (exp_test): Use ALL_RM_TEST.
4616 (exp_tonearest_test_data): Remove.
4617 (exp_test_tonearest): Likewise.
4618 (exp_towardzero_test_data): Likewise.
4619 (exp_test_towardzero): Likewise.
4620 (exp_downward_test_data): Likewise.
4621 (exp_test_downward): Likewise.
4622 (exp_upward_test_data): Likewise.
4623 (exp_test_upward): Likewise.
4624 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4625 (exp10_test): Use ALL_RM_TEST.
4626 (exp10_tonearest_test_data): Remove.
4627 (exp10_test_tonearest): Likewise.
4628 (exp10_towardzero_test_data): Likewise.
4629 (exp10_test_towardzero): Likewise.
4630 (exp10_downward_test_data): Likewise.
4631 (exp10_test_downward): Likewise.
4632 (exp10_upward_test_data): Likewise.
4633 (exp10_test_upward): Likewise.
4634 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4635 (expm1_test_data): Likewise.
4636 (expm1_test): Use ALL_RM_TEST.
4637 (expm1_tonearest_test_data): Remove.
4638 (expm1_test_tonearest): Likewise.
4639 (expm1_towardzero_test_data): Likewise.
4640 (expm1_test_towardzero): Likewise.
4641 (expm1_downward_test_data): Likewise.
4642 (expm1_test_downward): Likewise.
4643 (expm1_upward_test_data): Likewise.
4644 (expm1_test_upward): Likewise.
4645 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4646 (fma_test): Use ALL_RM_TEST.
4647 (fma_towardzero_test_data): Remove.
4648 (fma_test_towardzero): Likewise.
4649 (fma_downward_test_data): Likewise.
4650 (fma_test_downward): Likewise.
4651 (fma_upward_test_data): Likewise.
4652 (fma_test_upward): Likewise.
4653 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4654 (j0_test_data): Update call to AUTO_TESTS_f_f.
4655 (j1_test_data): Likewise.
4656 (jn_test_data): Update call to AUTO_TESTS_if_f.
4657 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4658 (log_test_data): Update call to AUTO_TESTS_f_f.
4659 (log10_test_data): Likewise.
4660 (log1p_test_data): Likewise.
4661 (log2_test_data): Likewise.
4662 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4663 (pow_tonearest_test_data): Likewise.
4664 (sin_test_data): Update call to AUTO_TESTS_f_f.
4665 (sin_test): Use ALL_RM_TEST.
4666 (sin_tonearest_test_data): Remove.
4667 (sin_test_tonearest): Likewise.
4668 (sin_towardzero_test_data): Likewise.
4669 (sin_test_towardzero): Likewise.
4670 (sin_downward_test_data): Likewise.
4671 (sin_test_downward): Likewise.
4672 (sin_upward_test_data): Likewise.
4673 (sin_test_upward): Likewise.
4674 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4675 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4676 (sinh_test): Use ALL_RM_TEST.
4677 (sinh_tonearest_test_data): Remove.
4678 (sinh_test_tonearest): Likewise.
4679 (sinh_towardzero_test_data): Likewise.
4680 (sinh_test_towardzero): Likewise.
4681 (sinh_downward_test_data): Likewise.
4682 (sinh_test_downward): Likewise.
4683 (sinh_upward_test_data): Likewise.
4684 (sinh_test_upward): Likewise.
4685 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4686 (sqrt_test): Use ALL_RM_TEST.
4687 (sqrt_tonearest_test_data): Remove.
4688 (sqrt_test_tonearest): Likewise.
4689 (sqrt_towardzero_test_data): Likewise.
4690 (sqrt_test_towardzero): Likewise.
4691 (sqrt_downward_test_data): Likewise.
4692 (sqrt_test_downward): Likewise.
4693 (sqrt_upward_test_data): Likewise.
4694 (sqrt_test_upward): Likewise.
4695 (tan_test_data): Update call to AUTO_TESTS_f_f.
4696 (tan_test): Use ALL_RM_TEST.
4697 (tan_tonearest_test_data): Remove.
4698 (tan_test_tonearest): Likewise.
4699 (tan_towardzero_test_data): Likewise.
4700 (tan_test_towardzero): Likewise.
4701 (tan_downward_test_data): Likewise.
4702 (tan_test_downward): Likewise.
4703 (tan_upward_test_data): Likewise.
4704 (tan_test_upward): Likewise.
4705 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4706 (tgamma_test_data): Likewise.
4707 (y0_test_data): Likewise.
4708 (y1_test_data): Likewise.
4709 (yn_test_data): Update call to AUTO_TESTS_if_f.
4710 (main): Do not call removed functions.
4711
d71aeee8
JM
47122014-03-19 Joseph Myers <joseph@codesourcery.com>
4713
4714 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4715 (ldexp_test_data): Remove.
4716 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4717 scalbn_test_data.
4718 (scalb_test): Use ALL_RM_TEST.
4719
baaf1ded
AS
47202014-03-19 Andreas Schwab <schwab@suse.de>
4721
4722 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4723
b1115e91
JM
47242014-03-19 Joseph Myers <joseph@codesourcery.com>
4725
4726 [BZ #16649]
4727 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4728 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4729 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4730 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4731 (__ASSUME_PREADV): Undefine.
4732 (__ASSUME_PWRITEV): Likewise.
4733
0283ecca
RM
47342014-03-18 Roland McGrath <roland@hack.frob.com>
4735
7d375303
RM
4736 * bits/mman-linux.h: Add comment about non-Linux use.
4737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4738 bits/mman-linux.h resting place.
4739
0283ecca
RM
4740 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4741 * bits/mman-linux.h: ... here.
4742
aebe1003
AZ
47432014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4744
4745 * conform/conformtest.pl: Add standard definition when calling C
4746 preprocessor on data files.
4747 (checknamespace): Remove unused variable.
4748
b29b6bb8
JM
47492014-03-18 Joseph Myers <joseph@codesourcery.com>
4750
4751 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4752 minus_oflow, plus_uflow and minus_uflow in expected results.
4753 * math/libm-test.inc (scalbn_test_data): Add more tests of
4754 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4755 minus_uflow.
4756 (scalbn_test): Use ALL_RM_TEST.
4757 (scalbln_test_data): Add more tests of negative arguments. Use
4758 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4759 (scalbln_test): Use ALL_RM_TEST.
4760
c8f8fa15
RM
47612014-03-18 Roland McGrath <roland@hack.frob.com>
4762
4763 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4764
fede7a5f
WN
47652014-03-18 Will Newton <will.newton@linaro.org>
4766
4767 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4768 inaccurate comment.
4769
80cf0a58
JM
47702014-03-18 Joseph Myers <joseph@codesourcery.com>
4771
4772 * Makerules [!subdir] (check-abi): Exit with error status if a
4773 test failed.
4774
b3620862
JM
47752014-03-17 Joseph Myers <joseph@codesourcery.com>
4776
4777 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4778 for rint. Include results for all rounding modes.
4779 (nearbyint_test): Use ALL_RM_TEST.
4780 (rint_test_data): Include all tests used for nearbyint.
4781
788bba36
WN
47822014-03-17 Will Newton <will.newton@linaro.org>
4783
04ec140a
WN
4784 * nptl/sysdeps/pthread/pthread.h: Revert previous
4785 change.
4786
7579d8d5
WN
4787 * sysdeps/generic/ldsodefs.h: Revert previous
4788 change.
4789
c15cf13a
WN
4790 * libio/genops.c: Revert previous change.
4791 * libio/libioP.h: Likewise.
4792 * stdio-common/vfprintf.c: Likewise.
4793
d0ac1324
WN
4794 * sysdeps/generic/math_private.h: Revert previous
4795 change.
4796
9290130a
WN
4797 * sysdeps/generic/math_private.h: Check whether
4798 HAVE_RM_CTX is defined with #ifdef rather
4799 than #if.
4800
afb466fc
WN
4801 * argp/argp-fmtstream.h: Check whether
4802 __STRICT_ANSI__ is defined with #ifdef rather
4803 than #if.
4804 * argp/argp.h: Likewise.
4805
f7efd7c3
WN
4806 * libio/genops.c: Check whether
4807 _IO_JUMPS_OFFSET is defined with #ifdef rather
4808 than #if.
4809 * libio/libioP.h: Likewise.
4810 * stdio-common/vfprintf.c: Likewise.
4811
53f1bed3
WN
4812 * sysdeps/generic/ldsodefs.h: Check whether
4813 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4814 than #if.
4815
788bba36
WN
4816 * nptl/sysdeps/pthread/pthread.h: Check
4817 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4818 its value.
4819
fcd89ebe
SP
48202014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4821
ae42bbc5
SP
4822 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4823 setting O_APPEND.
4824 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4825 test case.
4826
ea33158c
SP
4827 [BZ #16680]
4828 * libio/fileops.c (_IO_file_open): Seek to end of file but
4829 don't cache the offset.
4830 (get_file_offset): Remove function.
4831 (do_ftell): Use cached offset when available.
4832 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4833 don't cache the offset.
4834 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4835 case.
4836 (do_one_test): Call it.
4837 (do_ftell_test): Fix up expected old offset for a+ mode.
4838 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4839 available.
4840
b1dbb426
SP
4841 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4842 up test status with function return status.
4843 (do_write_test): Likewise.
4844 (do_append_test): Likewise.
4845
fcd89ebe
SP
4846 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4847 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4848 Remove.
4849
9962a2d3
JM
48502014-03-17 Joseph Myers <joseph@codesourcery.com>
4851
4852 * math/gen-libm-test.pl (parse_args): Handle results specified for
4853 each rounding mode separately.
4854 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4855 tests and results from lrint_tonearest_test_data,
4856 lrint_towardzero_test_data, lrint_downward_test_data and
4857 lrint_upward_test_data.
4858 (lrint_test): Use ALL_RM_TEST.
4859 (lrint_tonearest_test_data): Remove.
4860 (lrint_test_tonearest): Likewise.
4861 (lrint_towardzero_test_data): Likewise.
4862 (lrint_test_towardzero): Likewise.
4863 (lrint_downward_test_data): Likewise.
4864 (lrint_test_downward): Likewise.
4865 (lrint_upward_test_data): Likewise.
4866 (lrint_test_upward): Likewise.
4867 (llrint_test_data): Merge in per-rounding-mode tests and results
4868 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4869 llrint_downward_test_data and llrint_upward_test_data.
4870 (llrint_test): Use ALL_RM_TEST.
4871 (llrint_tonearest_test_data): Remove.
4872 (llrint_test_tonearest): Likewise.
4873 (llrint_towardzero_test_data): Likewise.
4874 (llrint_test_towardzero): Likewise.
4875 (llrint_downward_test_data): Likewise.
4876 (llrint_test_downward): Likewise.
4877 (llrint_upward_test_data): Likewise.
4878 (llrint_test_upward): Likewise.
4879 (rint_test_data): Merge in per-rounding-mode tests and results
4880 from rint_tonearest_test_data, rint_towardzero_test_data,
4881 rint_downward_test_data and rint_upward_test_data. Add
4882 per-rounding-mode results for tests not in those arrays.
4883 (rint_test): Use ALL_RM_TEST.
4884 (rint_tonearest_test_data): Remove.
4885 (rint_test_tonearest): Likewise.
4886 (rint_towardzero_test_data): Likewise.
4887 (rint_test_towardzero): Likewise.
4888 (rint_downward_test_data): Likewise.
4889 (rint_test_downward): Likewise.
4890 (rint_upward_test_data): Likewise.
4891 (rint_test_upward): Likewise.
4892 (main): Don't call removed functions.
4893
5006148e
RM
48942014-03-14 Roland McGrath <roland@hack.frob.com>
4895
4896 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4897 "Compiled on ..." crapola. It is anti-useful.
4898
d6fe5e58
JM
48992014-03-14 Joseph Myers <joseph@codesourcery.com>
4900
4901 * scripts/evaluate-test.sh: Handle fourth argument to determine
4902 whether test run should stop on failure.
4903 * Makeconfig (stop-on-test-failure): New variable.
4904 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4905 $(stop-on-test-failure).
4906 * Makefile (tests): Give a summary of results from testing and
4907 exit with failure status if they include an ERROR or FAIL.
4908 (xtests): Likewise.
4909 * manual/install.texi (Configuring and compiling): Mention
4910 stop-on-test-failure=y.
4911 * INSTALL: Regenerated.
4912
498a2233
RM
49132014-03-14 Roland McGrath <roland@hack.frob.com>
4914
22dbc19d
RM
4915 * scripts/versionlist.awk: New file.
4916 * Makerules [$(build-shared) = yes]
4917 (postclean-generated): Add Versions.def, not Versions.def.v and
4918 Versions.def.v.i.
4919 ($(common-objpfx)Versions.def.v.i): Target removed.
4920 ($(common-objpfx)Versions.def): New target.
4921 ($(common-objpfx)Versions.all): Depend on that rather that
4922 $(common-objpfx)Versions.def.v.
4923 * Versions.def: File removed.
4924
498a2233
RM
4925 * Makeconfig (+gccwarn): Add -Wundef.
4926 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4927 a dl-sysdep.h breaking its contract.
4928 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4929 * include/stackinfo.h: New file.
4930 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4931 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4932 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4933 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4934 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4935 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4936 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4937 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4938 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4939 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4940 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4941 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4942 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4943 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4944 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4945
c7de5025
AZ
49462014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4947
4948 [BZ #16707]
4949 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4950 implementation.
4951 * math/libm-test.inc (round_test_data): Add more tests.
4952
98fb27a3
AZ
4953 [BZ #16706]
4954 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4955 implementation.
4956 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4957
374f7f61
AZ
4958 [BZ #16701]
4959 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4960 implementation.
4961 * math/libm-test.inc (ceil_test_data): Add more tests.
4962
4655c291
AZ
4963 * math/libm-test.inc (trunc_test_data): Add more tests related to
4964 BZ#16414.
4965
d7329d4b
RM
49662014-03-14 Roland McGrath <roland@hack.frob.com>
4967
4968 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4969 with #if rather than #ifdef.
4970 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4971
aa4de9ce
L
49722014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4975 first. Disable AVX-512 GCC support if assembler doesn't support
4976 it.
4977 * sysdeps/x86_64/configure: Regenerated.
4978
2e03fae7
CD
49792014-03-13 Carlos O'Donell <carlos@redhat.com>
4980
4981 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4982 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4983 (__old_pthread_attr_setstack): Likewise.
4984 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4985 [!_STACK_GROWS_DOWN]: Likewise.
4986
43ca83ec
MF
49872014-03-13 Mike Frysinger <vapier@gentoo.org>
4988
4989 * config.make.in (have-bash2): Delete.
4990 * configure.ac (libc_cv_have_bash2): Delete.
4991 * configure: Regenerate.
4992 * elf/Makefile (common-ldd-rewrite): Rename to ...
4993 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4994 (sh-ldd-rewrite): Delete.
4995 (bash-ldd-rewrite): Delete.
4996 (have-bash2): Delete checks.
57f41c40
AS
4997 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4998 ldd-rewrite.
c66e48b4
MF
4999
5000 * config.make.in (have-ksh): Delete.
5001 (KSH): Delete.
5002 * configure.ac (libc_cv_have_ksh): Delete.
5003 * configure: Regenerate.
5004
b93834ef
MF
5005 * elf/Makefile: Delete $(have-ksh) check.
5006 ($(objpfx)sotruss): Change KSH to BASH.
5007 * elf/sotruss.ksh: Rename to ...
5008 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5009 function style to match POSIX. Drop ksh vim mode setting.
5010
f3a4632a
MF
5011 * manual/time.texi (Specifying the Time Zone with TZ): Change
5012 Tuesday to Thursday.
5013
5896c8bd
MF
5014 * debug/tst-longjmp_chk2.c: Update header comment.
5015 (stackoverflow_handler): Add comment. Call assert on pass value.
5016
2d63a517
IZ
50172014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5018
5019 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5020 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5021 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5022 (La_x86_64_vector): Add zmm.
5023 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5024 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5025 ($(objpfx)tst-audit10): New target.
5026 ($(objpfx)tst-audit10.out): Likewise.
5027 (tst-audit10-ENV): New.
5028 (AVX512-CFLAGS): Likewise.
5029 (CFLAGS-tst-audit10.c): Likewise.
5030 (CFLAGS-tst-auditmod10a.c): Likewise.
5031 (CFLAGS-tst-auditmod10b.c): Likewise.
5032 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5033 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5034 * sysdeps/x86_64/configure: Regenerated.
5035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5036 AVX-512 zmm register support.
5037 (_dl_x86_64_save_sse): Likewise.
5038 (_dl_x86_64_restore_sse): Likewise.
5039 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5040 size vector registers.
5041 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5042 (ZMM_SIZE): Likewise.
5043 * sysdeps/x86_64/tst-audit10.c: New file.
5044 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5045 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5046
44c4e5d5
RM
50472014-03-13 Roland McGrath <roland@hack.frob.com>
5048
5049 * configure.ac (HAVE_EHDR_START): New check.
5050 * configure: Regenerated.
5051 * config.h.in (HAVE_EHDR_START): New #undef.
5052 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5053 assuming the lowest-addressed segment maps the start of the file.
5054
acd6e389
JM
50552014-03-13 Joseph Myers <joseph@codesourcery.com>
5056
5057 * INSTALL: Regenerated.
5058
6f918f36
WN
50592014-03-13 Will Newton <will.newton@linaro.org>
5060
5061 * manual/setjmp.texi (System V contexts): Improve
5062 clarity and grammar of documentation.
5063
798212a0
PP
50642014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5065
5066 [BZ #16381]
798212a0 5067 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5068 (tests-pie): Add tst-pie2.
798212a0
PP
5069 * elf/tst-pie2.c: New file.
5070 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5071 for ET_EXEC.
5072 * elf/rtld.c (map_doit): Load executable as lt_executable.
5073 (dl_main): Likewise.
5074
abe6d90c
JM
50752014-03-12 Joseph Myers <joseph@codesourcery.com>
5076
5077 [BZ #16642]
5078 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5079 (__ASSUME_PSELECT): Undefine.
5080
dd3946c6
AZ
50812014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 [BZ #16689]
5084 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5085 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5086 static build.
5087 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5088 selector for static builds.
5089
c44496df
SP
50902014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5091
5092 [BZ #16695]
5093 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5094 key in the buffer.
5095
27c7220a
AZ
50962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5097
57f41c40
AS
5098 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5099 IFUNC selector for static builds.
27c7220a 5100
600fa361
JM
51012014-03-11 Joseph Myers <joseph@codesourcery.com>
5102
76c96cf7
JM
5103 * sysdeps/mips/math_private.h [__mips_hard_float]
5104 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5105 libc_feresetround_mips_ctx.
5106 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5107 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5108 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5109
600fa361
JM
5110 [BZ #16677]
5111 * math/s_nextafter.c (__nextafter): Do not return value from
5112 overflowing computation.
5113 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5114 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5115 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5116 Likewise.
5117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5118 Likewise.
5119 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5120 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5121
d7706c32
RM
51222014-03-11 Roland McGrath <roland@hack.frob.com>
5123
5124 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5125 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5126 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5127 the new mov targetting sp.
5128
4facea47
AZ
51292014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5130
5131 [BZ #16683]
5132 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5133 Define it for static builds as well.
5134 (NO_BZERO_IMPL): Likewise.
5135
e65caf1f
VR
51362014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5137
5138 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5139 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5140 multiarch strspn for PPC64.
5141 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5142 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5144 (__libc_ifunc_impl_list): Likewise.
5145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5146 multiarch optimizations
5147 * string/strspn.c (strspn): Using macro to redefine symbol name.
5148
ba9cc071
AZ
51492014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5150 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5151
5152 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5153 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5154 multiarch strncat for PPC64.
5155 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5156 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5158 (__libc_ifunc_impl_list): Likewise.
5159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5160 multiarch optimizations
5161
8b4ff974
SP
51622014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5163
5164 [BZ #16639]
5165 * nscd/nscd.service: Make service type forking.
5166
54b46a4b
AZ
51672014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168
5169 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5170 sign in non default rounding modes.
5171 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5172
e9996ef7
JM
51732014-03-08 Joseph Myers <joseph@codesourcery.com>
5174
5175 * math/libm-test.inc (ALL_RM_TEST): New macro.
5176 (ceil_test): Use ALL_RM_TEST.
5177 (cimag_test): Likewise.
5178 (conj_test): Likewise.
5179 (copysign_test): Likewise.
5180 (cproj_test): Likewise.
5181 (creal_test): Likewise.
5182 (fabs_test): Likewise.
5183 (floor_test): Likewise.
5184 (fmax_test): Likewise.
5185 (fmin_test): Likewise.
5186 (fmod_test): Likewise.
5187 (fpclassify_test): Likewise.
5188 (frexp_test): Likewise.
5189 (ilogb_test): Likewise.
5190 (isfinite_test): Likewise.
5191 (finite_test): Likewise.
5192 (isgreater_test): Likewise.
5193 (isgreaterequal_test): Likewise.
5194 (isinf_test): Likewise.
5195 (isless_test): Likewise.
5196 (islessequal_test): Likewise.
5197 (islessgreater_test): Likewise.
5198 (isnan_test): Likewise.
5199 (isnormal_test): Likewise.
5200 (issignaling_test): Likewise.
5201 (isunordered_test): Likewise.
5202 (logb_test): Likewise.
5203 (logb_downward_test_data): Remove.
5204 (logb_test_downward): Likewise.
5205 (lround_test): Use ALL_RM_TEST.
5206 (llround_test): Likewise.
5207 (modf_test): Likewise.
5208 (nexttoward_test): Likewise.
5209 (remainder_test): Likewise.
5210 (drem_test): Likewise.
5211 (remainder_tonearest_test_data): Likewise.
5212 (remainder_test_tonearest): Likewise.
5213 (drem_test_tonearest): Likewise.
5214 (remainder_towardzero_test_data): Likewise.
5215 (remainder_test_towardzero): Likewise.
5216 (drem_test_towardzero): Likewise.
5217 (remainder_downward_test_data): Likewise.
5218 (remainder_test_downward): Likewise.
5219 (drem_test_downward): Likewise.
5220 (remainder_upward_test_data): Likewise.
5221 (remainder_test_upward): Likewise.
5222 (drem_test_upward): Likewise.
5223 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5224 (round_test): Use ALL_RM_TEST.
5225 (signbit_test): Likewise.
5226 (trunc_test): Likewise.
5227 (significand_test): Likewise.
5228 (main): Don't call removed functions.
5229
bc61d27c
JM
52302014-03-07 Joseph Myers <joseph@codesourcery.com>
5231
5c780849
JM
5232 [BZ #16674]
5233 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5234 || __USE_XOPEN2K8].
5235 (ILL_ILLOPN): Likewise.
5236 (ILL_ILLADR): Likewise.
5237 (ILL_ILLTRP): Likewise.
5238 (ILL_PRVOPC): Likewise.
5239 (ILL_PRVREG): Likewise.
5240 (ILL_COPROC): Likewise.
5241 (ILL_BADSTK): Likewise.
5242 (FPE_INTDIV): Likewise.
5243 (FPE_INTOVF): Likewise.
5244 (FPE_FLTDIV): Likewise.
5245 (FPE_FLTOVF): Likewise.
5246 (FPE_FLTUND): Likewise.
5247 (FPE_FLTRES): Likewise.
5248 (FPE_FLTINV): Likewise.
5249 (FPE_FLTSUB): Likewise.
5250 (SEGV_MAPERR): Likewise.
5251 (SEGV_ACCERR): Likewise.
5252 (BUS_ADRALN): Likewise.
5253 (BUS_ADRERR): Likewise.
5254 (BUS_OBJERR): Likewise.
5255 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5256 (TRAP_TRACE): Likewise.
5257 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5258 __USE_XOPEN2K8].
5259 (CLD_KILLED): Likewise.
5260 (CLD_DUMPED): Likewise.
5261 (CLD_TRAPPED): Likewise.
5262 (CLD_STOPPED): Likewise.
5263 (CLD_CONTINUED): Likewise.
5264 (POLL_IN): Likewise.
5265 (POLL_OUT): Likewise.
5266 (POLL_MSG): Likewise.
5267 (POLL_ERR): Likewise.
5268 (POLL_PRI): Likewise.
5269 (POLL_HUP): Likewise.
5270 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5271 Likewise.
5272 (ILL_ILLOPN): Likewise.
5273 (ILL_ILLADR): Likewise.
5274 (ILL_ILLTRP): Likewise.
5275 (ILL_PRVOPC): Likewise.
5276 (ILL_PRVREG): Likewise.
5277 (ILL_COPROC): Likewise.
5278 (ILL_BADSTK): Likewise.
5279 (FPE_INTDIV): Likewise.
5280 (FPE_INTOVF): Likewise.
5281 (FPE_FLTDIV): Likewise.
5282 (FPE_FLTOVF): Likewise.
5283 (FPE_FLTUND): Likewise.
5284 (FPE_FLTRES): Likewise.
5285 (FPE_FLTINV): Likewise.
5286 (FPE_FLTSUB): Likewise.
5287 (SEGV_MAPERR): Likewise.
5288 (SEGV_ACCERR): Likewise.
5289 (BUS_ADRALN): Likewise.
5290 (BUS_ADRERR): Likewise.
5291 (BUS_OBJERR): Likewise.
5292 (BUS_MCEERR_AR): Likewise.
5293 (BUS_MCEERR_AO): Likewise.
5294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5295 (TRAP_TRACE): Likewise.
5296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5297 __USE_XOPEN2K8].
5298 (CLD_KILLED): Likewise.
5299 (CLD_DUMPED): Likewise.
5300 (CLD_TRAPPED): Likewise.
5301 (CLD_STOPPED): Likewise.
5302 (CLD_CONTINUED): Likewise.
5303 (POLL_IN): Likewise.
5304 (POLL_OUT): Likewise.
5305 (POLL_MSG): Likewise.
5306 (POLL_ERR): Likewise.
5307 (POLL_PRI): Likewise.
5308 (POLL_HUP): Likewise.
5309 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5310 (ILL_ILLOPN): Likewise.
5311 (ILL_ILLADR): Likewise.
5312 (ILL_ILLTRP): Likewise.
5313 (ILL_PRVOPC): Likewise.
5314 (ILL_PRVREG): Likewise.
5315 (ILL_COPROC): Likewise.
5316 (ILL_BADSTK): Likewise.
5317 (FPE_INTDIV): Likewise.
5318 (FPE_INTOVF): Likewise.
5319 (FPE_FLTDIV): Likewise.
5320 (FPE_FLTOVF): Likewise.
5321 (FPE_FLTUND): Likewise.
5322 (FPE_FLTRES): Likewise.
5323 (FPE_FLTINV): Likewise.
5324 (FPE_FLTSUB): Likewise.
5325 (SEGV_MAPERR): Likewise.
5326 (SEGV_ACCERR): Likewise.
5327 (BUS_ADRALN): Likewise.
5328 (BUS_ADRERR): Likewise.
5329 (BUS_OBJERR): Likewise.
5330 (BUS_MCEERR_AR): Likewise.
5331 (BUS_MCEERR_AO): Likewise.
5332 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5333 (TRAP_TRACE): Likewise.
5334 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5335 __USE_XOPEN2K8].
5336 (CLD_KILLED): Likewise.
5337 (CLD_DUMPED): Likewise.
5338 (CLD_TRAPPED): Likewise.
5339 (CLD_STOPPED): Likewise.
5340 (CLD_CONTINUED): Likewise.
5341 (POLL_IN): Likewise.
5342 (POLL_OUT): Likewise.
5343 (POLL_MSG): Likewise.
5344 (POLL_ERR): Likewise.
5345 (POLL_PRI): Likewise.
5346 (POLL_HUP): Likewise.
5347 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5348 Likewise.
5349 (ILL_ILLOPN): Likewise.
5350 (ILL_ILLADR): Likewise.
5351 (ILL_ILLTRP): Likewise.
5352 (ILL_PRVOPC): Likewise.
5353 (ILL_PRVREG): Likewise.
5354 (ILL_COPROC): Likewise.
5355 (ILL_BADSTK): Likewise.
5356 (ILL_BADIADDR): Likewise.
5357 (ILL_BREAK): Likewise.
5358 (FPE_INTDIV): Likewise.
5359 (FPE_INTOVF): Likewise.
5360 (FPE_FLTDIV): Likewise.
5361 (FPE_FLTOVF): Likewise.
5362 (FPE_FLTUND): Likewise.
5363 (FPE_FLTRES): Likewise.
5364 (FPE_FLTINV): Likewise.
5365 (FPE_FLTSUB): Likewise.
5366 (FPE_DECOVF): Likewise.
5367 (FPE_DECDIV): Likewise.
5368 (FPE_DECERR): Likewise.
5369 (FPE_INVASC): Likewise.
5370 (FPE_INVDEC): Likewise.
5371 (SEGV_MAPERR): Likewise.
5372 (SEGV_ACCERR): Likewise.
5373 (SEGV_PSTKOVF): Likewise.
5374 (BUS_ADRALN): Likewise.
5375 (BUS_ADRERR): Likewise.
5376 (BUS_OBJERR): Likewise.
5377 (BUS_MCEERR_AR): Likewise.
5378 (BUS_MCEERR_AO): Likewise.
5379 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5380 (TRAP_TRACE): Likewise.
5381 (TRAP_BRANCH): Likewise.
5382 (TRAP_HWBKPT): Likewise.
5383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5384 __USE_XOPEN2K8].
5385 (CLD_KILLED): Likewise.
5386 (CLD_DUMPED): Likewise.
5387 (CLD_TRAPPED): Likewise.
5388 (CLD_STOPPED): Likewise.
5389 (CLD_CONTINUED): Likewise.
5390 (POLL_IN): Likewise.
5391 (POLL_OUT): Likewise.
5392 (POLL_MSG): Likewise.
5393 (POLL_ERR): Likewise.
5394 (POLL_PRI): Likewise.
5395 (POLL_HUP): Likewise.
5396 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5397 (ILL_ILLOPN): Likewise.
5398 (ILL_ILLADR): Likewise.
5399 (ILL_ILLTRP): Likewise.
5400 (ILL_PRVOPC): Likewise.
5401 (ILL_PRVREG): Likewise.
5402 (ILL_COPROC): Likewise.
5403 (ILL_BADSTK): Likewise.
5404 (FPE_INTDIV): Likewise.
5405 (FPE_INTOVF): Likewise.
5406 (FPE_FLTDIV): Likewise.
5407 (FPE_FLTOVF): Likewise.
5408 (FPE_FLTUND): Likewise.
5409 (FPE_FLTRES): Likewise.
5410 (FPE_FLTINV): Likewise.
5411 (FPE_FLTSUB): Likewise.
5412 (SEGV_MAPERR): Likewise.
5413 (SEGV_ACCERR): Likewise.
5414 (BUS_ADRALN): Likewise.
5415 (BUS_ADRERR): Likewise.
5416 (BUS_OBJERR): Likewise.
5417 (BUS_MCEERR_AR): Likewise.
5418 (BUS_MCEERR_AO): Likewise.
5419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5420 (TRAP_TRACE): Likewise.
5421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5422 __USE_XOPEN2K8].
5423 (CLD_KILLED): Likewise.
5424 (CLD_DUMPED): Likewise.
5425 (CLD_TRAPPED): Likewise.
5426 (CLD_STOPPED): Likewise.
5427 (CLD_CONTINUED): Likewise.
5428 (POLL_IN): Likewise.
5429 (POLL_OUT): Likewise.
5430 (POLL_MSG): Likewise.
5431 (POLL_ERR): Likewise.
5432 (POLL_PRI): Likewise.
5433 (POLL_HUP): Likewise.
5434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5435 (ILL_ILLOPN): Likewise.
5436 (ILL_ILLADR): Likewise.
5437 (ILL_ILLTRP): Likewise.
5438 (ILL_PRVOPC): Likewise.
5439 (ILL_PRVREG): Likewise.
5440 (ILL_COPROC): Likewise.
5441 (ILL_BADSTK): Likewise.
5442 (FPE_INTDIV): Likewise.
5443 (FPE_INTOVF): Likewise.
5444 (FPE_FLTDIV): Likewise.
5445 (FPE_FLTOVF): Likewise.
5446 (FPE_FLTUND): Likewise.
5447 (FPE_FLTRES): Likewise.
5448 (FPE_FLTINV): Likewise.
5449 (FPE_FLTSUB): Likewise.
5450 (SEGV_MAPERR): Likewise.
5451 (SEGV_ACCERR): Likewise.
5452 (BUS_ADRALN): Likewise.
5453 (BUS_ADRERR): Likewise.
5454 (BUS_OBJERR): Likewise.
5455 (BUS_MCEERR_AR): Likewise.
5456 (BUS_MCEERR_AO): Likewise.
5457 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5458 (TRAP_TRACE): Likewise.
5459 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5460 __USE_XOPEN2K8].
5461 (CLD_KILLED): Likewise.
5462 (CLD_DUMPED): Likewise.
5463 (CLD_TRAPPED): Likewise.
5464 (CLD_STOPPED): Likewise.
5465 (CLD_CONTINUED): Likewise.
5466 (POLL_IN): Likewise.
5467 (POLL_OUT): Likewise.
5468 (POLL_MSG): Likewise.
5469 (POLL_ERR): Likewise.
5470 (POLL_PRI): Likewise.
5471 (POLL_HUP): Likewise.
5472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5473 (ILL_ILLOPN): Likewise.
5474 (ILL_ILLADR): Likewise.
5475 (ILL_ILLTRP): Likewise.
5476 (ILL_PRVOPC): Likewise.
5477 (ILL_PRVREG): Likewise.
5478 (ILL_COPROC): Likewise.
5479 (ILL_BADSTK): Likewise.
5480 (FPE_INTDIV): Likewise.
5481 (FPE_INTOVF): Likewise.
5482 (FPE_FLTDIV): Likewise.
5483 (FPE_FLTOVF): Likewise.
5484 (FPE_FLTUND): Likewise.
5485 (FPE_FLTRES): Likewise.
5486 (FPE_FLTINV): Likewise.
5487 (FPE_FLTSUB): Likewise.
5488 (SEGV_MAPERR): Likewise.
5489 (SEGV_ACCERR): Likewise.
5490 (BUS_ADRALN): Likewise.
5491 (BUS_ADRERR): Likewise.
5492 (BUS_OBJERR): Likewise.
5493 (BUS_MCEERR_AR): Likewise.
5494 (BUS_MCEERR_AO): Likewise.
5495 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5496 (TRAP_TRACE): Likewise.
5497 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5498 __USE_XOPEN2K8].
5499 (CLD_KILLED): Likewise.
5500 (CLD_DUMPED): Likewise.
5501 (CLD_TRAPPED): Likewise.
5502 (CLD_STOPPED): Likewise.
5503 (CLD_CONTINUED): Likewise.
5504 (POLL_IN): Likewise.
5505 (POLL_OUT): Likewise.
5506 (POLL_MSG): Likewise.
5507 (POLL_ERR): Likewise.
5508 (POLL_PRI): Likewise.
5509 (POLL_HUP): Likewise.
5510 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5511 (ILL_ILLOPN): Likewise.
5512 (ILL_ILLADR): Likewise.
5513 (ILL_ILLTRP): Likewise.
5514 (ILL_PRVOPC): Likewise.
5515 (ILL_PRVREG): Likewise.
5516 (ILL_COPROC): Likewise.
5517 (ILL_BADSTK): Likewise.
5518 (ILL_DBLFLT): Likewise.
5519 (ILL_HARDWALL): Likewise.
5520 (FPE_INTDIV): Likewise.
5521 (FPE_INTOVF): Likewise.
5522 (FPE_FLTDIV): Likewise.
5523 (FPE_FLTOVF): Likewise.
5524 (FPE_FLTUND): Likewise.
5525 (FPE_FLTRES): Likewise.
5526 (FPE_FLTINV): Likewise.
5527 (FPE_FLTSUB): Likewise.
5528 (SEGV_MAPERR): Likewise.
5529 (SEGV_ACCERR): Likewise.
5530 (BUS_ADRALN): Likewise.
5531 (BUS_ADRERR): Likewise.
5532 (BUS_OBJERR): Likewise.
5533 (BUS_MCEERR_AR): Likewise.
5534 (BUS_MCEERR_AO): Likewise.
5535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5536 (TRAP_TRACE): Likewise.
5537 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5538 __USE_XOPEN2K8].
5539 (CLD_KILLED): Likewise.
5540 (CLD_DUMPED): Likewise.
5541 (CLD_TRAPPED): Likewise.
5542 (CLD_STOPPED): Likewise.
5543 (CLD_CONTINUED): Likewise.
5544 (POLL_IN): Likewise.
5545 (POLL_OUT): Likewise.
5546 (POLL_MSG): Likewise.
5547 (POLL_ERR): Likewise.
5548 (POLL_PRI): Likewise.
5549 (POLL_HUP): Likewise.
5550 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5551 (ILL_ILLOPN): Likewise.
5552 (ILL_ILLADR): Likewise.
5553 (ILL_ILLTRP): Likewise.
5554 (ILL_PRVOPC): Likewise.
5555 (ILL_PRVREG): Likewise.
5556 (ILL_COPROC): Likewise.
5557 (ILL_BADSTK): Likewise.
5558 (FPE_INTDIV): Likewise.
5559 (FPE_INTOVF): Likewise.
5560 (FPE_FLTDIV): Likewise.
5561 (FPE_FLTOVF): Likewise.
5562 (FPE_FLTUND): Likewise.
5563 (FPE_FLTRES): Likewise.
5564 (FPE_FLTINV): Likewise.
5565 (FPE_FLTSUB): Likewise.
5566 (SEGV_MAPERR): Likewise.
5567 (SEGV_ACCERR): Likewise.
5568 (BUS_ADRALN): Likewise.
5569 (BUS_ADRERR): Likewise.
5570 (BUS_OBJERR): Likewise.
5571 (BUS_MCEERR_AR): Likewise.
5572 (BUS_MCEERR_AO): Likewise.
5573 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5574 (TRAP_TRACE): Likewise.
5575 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5576 __USE_XOPEN2K8].
5577 (CLD_KILLED): Likewise.
5578 (CLD_DUMPED): Likewise.
5579 (CLD_TRAPPED): Likewise.
5580 (CLD_STOPPED): Likewise.
5581 (CLD_CONTINUED): Likewise.
5582 (POLL_IN): Likewise.
5583 (POLL_OUT): Likewise.
5584 (POLL_MSG): Likewise.
5585 (POLL_ERR): Likewise.
5586 (POLL_PRI): Likewise.
5587 (POLL_HUP): Likewise.
5588 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5589 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5590
bc61d27c
JM
5591 [BZ #16670]
5592 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5593 before #include of <time.h>.
5594 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5595 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5596 (test-xfail-UNIX98/sched.h/conform): Likewise.
5597
302949e2
MS
55982014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5599
5600 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5601 error absence of trapping exception support.
5602 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5603
a00f522a
JM
56042014-03-07 Joseph Myers <joseph@codesourcery.com>
5605
6f99f280
JM
5606 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5607 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5608 * timezone/Makefile (testdata): Move definition above include of
5609 Rules.
5610 (test-zones): New variable.
5611 (tests-special): Add zone files.
5612 (build-testdata): Use $(evaluate-test).
5613
0b20a9e8
JM
5614 * elf/Makefile (tests-special): Rename tests to end with .out.
5615 ($(objpfx)noload-mem): Likewise.
5616 ($(objpfx)tst-leaks1-mem): Likewise.
5617 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5618 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5619 $(objpfx)test-iconvconfig.out.
5620 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5621 set -e inside subshell and redirect output to file.
5622 * iconvdata/Makefile (generated): Rename tests to end with .out.
5623 Correct type.
5624 (tests-special): Rename tests to end with .out.
5625 ($(objpfx)mtrace-tst-loading): Likewise.
5626 * intl/Makefile (generated): Likewise.
5627 (tests-special): Likewise.
5628 ($(objpfx)mtrace-tst-gettext): Likewise.
5629 * misc/Makefile (generated): Likewise.
5630 (tests-special): Likewise.
5631 ($(objpfx)tst-error1-mem): Likewise.
5632 * nptl/Makefile (tests-special): Likewise.
5633 ($(objpfx)tst-stack3-mem): Likewise.
5634 (generated): Likewise.
5635 * posix/Makefile (generated): Likewise.
5636 (tests-special): Likewise.
5637 (xtests-special): Likewise.
5638 ($(objpfx)tst-fnmatch-mem): Likewise.
5639 ($(objpfx)bug-regex2-mem): Likewise.
5640 ($(objpfx)bug-regex14-mem): Likewise.
5641 ($(objpfx)bug-regex21-mem): Likewise.
5642 ($(objpfx)bug-regex31-mem): Likewise.
5643 ($(objpfx)tst-vfork3-mem): Likewise.
5644 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5645 ($(objpfx)tst-pcre-mem): Likewise.
5646 ($(objpfx)tst-boost-mem): Likewise.
5647 ($(objpfx)bug-ga2-mem): Likewise.
5648 ($(objpfx)bug-glob2-mem): Likewise.
5649 * resolv/Makefile (generate): Likewise.
5650 (tests-special): Likewise.
5651 (xtests-special): Likewise.
5652 (generated): Likewise.
5653 ($(objpfx)mtrace-tst-leaks): Likewise.
5654 ($(objpfx)mtrace-tst-leaks2): Likewise.
5655
265d52ab
JM
5656 * scripts/merge-test-results.sh: New file.
5657 * Makefile (tests-special-notdir): New variable.
5658 (tests): Run merge-test-results.sh.
5659 (xtests): Likewise.
5660 * Rules (tests-special-notdir): New variable.
5661 (xtests-special-notdir): Likewise.
5662 (tests): Run merge-test-results.sh
5663 (xtests): Likewise.
5664
54ee292d
JM
5665 * Makeconfig (test-xfail-name): New variable.
5666 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5667 compute variable name for expected failures.
5668 * conform/Makefile (conformtest-headers-data): New variable.
5669 (conformtest-standards): Likewise.
5670 (conformtest-headers-ISO): Likewise.
5671 (conformtest-headers-ISO99): Likewise.
5672 (conformtest-headers-ISO11): Likewise.
5673 (conformtest-headers-POSIX): Likewise.
5674 (conformtest-headers-XPG3): Likewise.
5675 (conformtest-headers-XPG4): Likewise.
5676 (conformtest-headers-UNIX98): Likewise.
5677 (conformtest-headers-XOPEN2K): Likewise.
5678 (conformtest-headers-POSIX2008): Likewise.
5679 (conformtest-headers-XOPEN2K8): Likewise.
5680 (conformtest-header-list-base): Likewise.
5681 (conformtest-header-list-tests): Likewise.
5682 (conformtest-header-base): Likewise.
5683 (conformtest-header-tests): Likewise.
5684 (tests-special): Add $(conformtest-header-list-tests). If
5685 [$(fast-check) && !$(cross-compiling)], add
5686 $(conformtest-header-tests) instead of
5687 $(objpfx)run-conformtest.out.
5688 (generated): Add $(conformtest-header-list-base). If
5689 [$(fast-check) && !$(cross-compiling)], add
5690 $(conformtest-header-base). Remove previous setting.
5691 ($(conformtest-header-list-tests)): New target.
5692 (test-xfail-run-conformtest): Remove variable.
5693 ($(objpfx)run-conformtest.out): Remove target.
5694 (test-xfail-ISO11/complex.h/conform): New variable.
5695 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5696 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5697 (test-xfail-XPG3/varargs.h/conform): Likewise.
5698 (test-xfail-XPG4/varargs.h/conform): Likewise.
5699 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5700 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5701 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5702 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5703 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5704 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5705 (test-xfail-XPG3/ftw.h/conform): Likewise.
5706 (test-xfail-XPG3/grp.h/conform): Likewise.
5707 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5708 (test-xfail-XPG3/limits.h/conform): Likewise.
5709 (test-xfail-XPG3/pwd.h/conform): Likewise.
5710 (test-xfail-XPG3/search.h/conform): Likewise.
5711 (test-xfail-XPG3/signal.h/conform): Likewise.
5712 (test-xfail-XPG3/stdio.h/conform): Likewise.
5713 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5714 (test-xfail-XPG3/string.h/conform): Likewise.
5715 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5716 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5717 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5718 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5719 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5720 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5721 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5722 (test-xfail-XPG3/termios.h/conform): Likewise.
5723 (test-xfail-XPG3/time.h/conform): Likewise.
5724 (test-xfail-XPG3/unistd.h/conform): Likewise.
5725 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5726 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5727 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5728 (test-xfail-XPG4/netdb.h/conform): Likewise.
5729 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5730 (test-xfail-XPG4/signal.h/conform): Likewise.
5731 (test-xfail-XPG4/stdio.h/conform): Likewise.
5732 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5733 (test-xfail-XPG4/stropts.h/conform): Likewise.
5734 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5735 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5736 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5737 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5738 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5739 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5740 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5741 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5742 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5743 (test-xfail-XPG4/termios.h/conform): Likewise.
5744 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5745 (test-xfail-XPG4/unistd.h/conform): Likewise.
5746 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5747 (test-xfail-POSIX/sched.h/conform): Likewise.
5748 (test-xfail-POSIX/signal.h/conform): Likewise.
5749 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5750 (test-xfail-POSIX/tar.h/conform): Likewise.
5751 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5752 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5753 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5754 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5755 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5756 (test-xfail-UNIX98/sched.h/conform): Likewise.
5757 (test-xfail-UNIX98/signal.h/conform): Likewise.
5758 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5759 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5760 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5761 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5762 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5763 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5764 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5765 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5766 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5767 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5768 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5769 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5770 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5771 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5772 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5773 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5774 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5775 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5776 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5777 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5778 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5779 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5780 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5781 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5782 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5783 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5784 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5785 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5786 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5787 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5788 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5789 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5790 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5791 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5792 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5793 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5794 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5795 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5796 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5797 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5798 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5799 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5800 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5801 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5802 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5803 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5804 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5805 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5806 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5807 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5808 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5809 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5810 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5811 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5812 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5813 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5814 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5815 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5816 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5817 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5818 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5819 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5820 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5821 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5822 (conformtest-cc-flags): Likewise.
5823 ($(conformtest-header-tests): New target.
5824 * conform/check-header-lists.sh: New file.
5825 * conform/run-conformtest.sh: Remove.
5826
a00f522a
JM
5827 * conform/conformtest.pl: Allow ' and \ in values given for
5828 constants.
5829 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5830 inclusion.
5831 [POSIX] (sys/types.h): Likewise.
5832 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5833 inclusion.
5834 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5835 inclusion.
5836 * conform/data/signal.h-data (SIGIO): Remove expectation.
5837 [XPG3] (SIGBUS): Do not expect.
5838 [POSIX || XPG3] (SIGPOLL): Likewise.
5839 [POSIX || XPG3] (SIGPROF): Likewise.
5840 [POSIX || XPG3] (SIGSYS): Likewise.
5841 [XPG3] (SIGTRAP): Likewise.
5842 [POSIX || XPG3] (SIGURG): Likewise.
5843 [POSIX || XPG3] (SIGVTALRM): Likewise.
5844 [POSIX || XPG3] (SIGXCPU): Likewise.
5845 [POSIX || XPG3] (SIGXFSZ): Likewise.
5846 [POSIX] (SA_SIGINFO): Expect.
5847 [XPG3] (siginfo_t): Do not expect type or contents.
5848 [POSIX] (si_pid): Do not expect element.
5849 [POSIX] (si_uid): Likewise.
5850 [POSIX] (si_addr): Likewise.
5851 [POSIX] (si_status): Likewise.
5852 [POSIX] (si_band): Likewise.
5853 [XPG4] (si_value): Likewise.
5854 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5855 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5856 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5857 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5858 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5859 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5860 [POSIX || XPG3] (ILL_COPROC): Likewise.
5861 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5862 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5863 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5864 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5865 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5866 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5867 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5868 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5869 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5870 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5871 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5872 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5873 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5874 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5875 [POSIX || XPG3] (CLD_EXITED): Likewise.
5876 [POSIX || XPG3] (CLD_KILLED): Likewise.
5877 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5878 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5879 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5880 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5881 [POSIX || XPG3] (POLL_IN): Likewise.
5882 [POSIX || XPG3] (POLL_OUT): Likewise.
5883 [POSIX || XPG3] (POLL_MSG): Likewise.
5884 [POSIX || XPG3] (POLL_ERR): Likewise.
5885 [POSIX || XPG3] (POLL_PRI): Likewise.
5886 [POSIX || XPG3] (POLL_HUP): Likewise.
5887 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5888 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5889 (SIG*): Do not allow.
5890 [XPG3] (si_*): Likewise.
5891 [XPG3] (SI_*): Likewise.
5892 [XPG3 || XPG4] (sigev_*): Likewise.
5893 [XPG3 || XPG4] (SIGEV_*): Likewise.
5894 [XPG3 || XPG4] (sival_*): Likewise.
5895 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5896 [POSIX || XPG3] (BUS_*): Likewise.
5897 [POSIX || XPG3] (CLD_*): Likewise.
5898 [POSIX || XPG3] (FPE_*): Likewise.
5899 [POSIX || XPG3] (ILL_*): Likewise.
5900 [POSIX || XPG3] (POLL_*): Likewise.
5901 [POSIX || XPG3] (SEGV_*): Likewise.
5902 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5903 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5904 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5905 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5906 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5907 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5908 Specify type and value.
5909 (TVERSLEN): Likewise.
5910 (REGTYPE): Likewise.
5911 (AREGTYPE): Likewise.
5912 (LNKTYPE): Likewise.
5913 (SYMTYPE): Likewise.
5914 (CHRTYPE): Likewise.
5915 (BLKTYPE): Likewise.
5916 (DIRTYPE): Likewise.
5917 (FIFOTYPE): Likewise.
5918 (CONTTYPE): Likewise.
5919 (TSUID): Likewise.
5920 (TSGID): Likewise.
5921 (TSVTX): Likewise.
5922 (TUREAD): Likewise.
5923 (TUWRITE): Likewise.
5924 (TUEXEC): Likewise.
5925 (TGREAD): Likewise.
5926 (TGWRITE): Likewise.
5927 (TGEXEC): Likewise.
5928 (TOREAD): Likewise.
5929 (TOWRITE): Likewise.
5930 (TOEXEC): Likewise.
5931 [POSIX] (TSVTX): Expect constant.
5932
aa97dee1
JM
59332014-03-06 Joseph Myers <joseph@codesourcery.com>
5934
f214606a
JM
5935 * Makefile (tests): Change dependencies to ....
5936 (tests-special): ... additions to this variable.
5937 (tests): Depend on $(tests-special).
5938 * Makerules (check-abi-list): New variable.
5939 (check-abi): Depend on $(check-abi-list).
5940 [$(subdir) = elf] (tests-special): Add
5941 $(objpfx)check-abi-libc.out.
5942 [$(build-shared) = yes && subdir] (tests-special): Add
5943 $(check-abi-list).
5944 [$(build-shared) = yes && subdir] (tests): Do not depend on
5945 check-abi.
5946 * Rules (tests): Depend on $(tests-special).
5947 (xtests): Depend on $(xtests-special).
5948 * catgets/Makefile (tests): Change dependencies to ....
5949 (tests-special): ... additions to this variable.
5950 * conform/Makefile (tests): Change dependencies to ....
5951 (tests-special): ... additions to this variable.
5952 * elf/Makefile (tests): Change dependencies to ....
5953 (tests-special): ... additions to this variable.
5954 * grp/Makefile (tests): Change dependencies to ....
5955 (tests-special): ... additions to this variable.
5956 * iconv/Makefile (xtests): Change dependencies to ....
5957 (xtests-special): ... additions to this variable.
5958 * iconvdata/Makefile (tests): Change dependencies to ....
5959 (tests-special): ... additions to this variable.
5960 * intl/Makefile (tests): Change dependencies to ....
5961 (tests-special): ... additions to this variable. Also add
5962 $(objpfx)tst-gettext.out.
5963 * io/Makefile (tests): Change dependencies to ....
5964 (tests-special): ... additions to this variable.
5965 * libio/Makefile (tests): Change dependencies to ....
5966 (tests-special): ... additions to this variable.
5967 * malloc/Makefile (tests): Change dependencies to ....
5968 (tests-special): ... additions to this variable.
5969 * misc/Makefile (tests): Change dependencies to ....
5970 (tests-special): ... additions to this variable.
5971 * nptl/Makefile (tests): Change dependencies to ....
5972 (tests-special): ... additions to this variable.
5973 * nptl_db/Makefile (tests): Change dependencies to ....
5974 (tests-special): ... additions to this variable.
5975 * posix/Makefile (tests): Change dependencies to ....
5976 (tests-special): ... additions to this variable.
5977 (xtests): Change dependencies to ....
5978 (xtests-special): ... additions to this variable.
5979 * resolv/Makefile (tests): Change dependencies to ....
5980 (tests-special): ... additions to this variable.
5981 (xtests): Change dependencies to ....
5982 (xtests-special): ... additions to this variable.
5983 * stdio-common/Makefile (tests): Change dependencies to ....
5984 (tests-special): ... additions to this variable.
5985 (do-tst-unbputc): Remove target.
5986 (do-tst-printf): Likewise.
5987 * stdlib/Makefile (tests): Change dependencies to ....
5988 (tests-special): ... additions to this variable.
5989 * string/Makefile (tests): Change dependencies to ....
5990 (tests-special): ... additions to this variable.
5991 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5992 (tests-special): ... additions to this variable.
5993
81700b53
JM
5994 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5995 whole file.
5996 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5997 whole file.
5998 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5999 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6000
2ea18461
JM
6001 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6002 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6003 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6004 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6005 * conform/data/libgen.h-data [XPG3]: Likewise.
6006 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6007 * conform/data/ndbm.h-data [XPG3]: Likewise.
6008 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6009 * conform/data/netdb.h-data [XPG3]: Likewise.
6010 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6011 * conform/data/poll.h-data [XPG3]: Likewise.
6012 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6013 * conform/data/strings.h-data [XPG3]: Likewise.
6014 * conform/data/stropts.h-data [XPG3]: Likewise.
6015 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6016 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6017 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6018 Likewise.
6019 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6020 * conform/data/sys/time.h-data [XPG3]: Likewise.
6021 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6022 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6023 * conform/data/sys/un.h-data [XPG3]: Likewise.
6024 * conform/data/syslog.h-data [XPG3]: Likewise.
6025 * conform/data/ucontext.h-data [XPG3]: Likewise.
6026 * conform/data/utmpx.h-data [XPG3]: Likewise.
6027 * conform/data/varargs.h-data [UNIX98]: Enable file.
6028
355bc986
JM
6029 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6030
215db402
JM
6031 * math/libm-test.inc (struct test_f_f_data): Move expected results
6032 into structure for each rounding mode.
6033 (struct test_ff_f_data): Likewise.
6034 (struct test_ff_f_data_nexttoward): Likewise.
6035 (struct test_fi_f_data): Likewise.
6036 (struct test_fl_f_data): Likewise.
6037 (struct test_if_f_data): Likewise.
6038 (struct test_fff_f_data): Likewise.
6039 (struct test_c_f_data): Likewise.
6040 (struct test_f_f1_data): Likewise.
6041 (struct test_fF_f1_data): Likewise.
6042 (struct test_ffI_f1_data): Likewise.
6043 (struct test_c_c_data): Likewise.
6044 (struct test_cc_c_data): Likewise.
6045 (struct test_f_i_data): Likewise.
6046 (struct test_ff_i_data): Likewise.
6047 (struct test_f_l_data): Likewise.
6048 (struct test_f_L_data): Likewise.
6049 (struct test_fFF_11_data): Likewise.
6050 (RM_): New macro.
6051 (RM_FE_DOWNWARD): Likewise.
6052 (RM_FE_TONEAREST): Likewise.
6053 (RM_FE_TOWARDZERO): Likewise.
6054 (RM_FE_UPWARD): Likewise.
6055 (RUN_TEST_LOOP_f_f): Update references to expected results.
6056 (RUN_TEST_LOOP_2_f): Likewise.
6057 (RUN_TEST_LOOP_fff_f): Likewise.
6058 (RUN_TEST_LOOP_c_f): Likewise.
6059 (RUN_TEST_LOOP_f_f1): Likewise.
6060 (RUN_TEST_LOOP_fF_f1): Likewise.
6061 (RUN_TEST_LOOP_fI_f1): Likewise.
6062 (RUN_TEST_LOOP_ffI_f1): Likewise.
6063 (RUN_TEST_LOOP_c_c): Likewise.
6064 (RUN_TEST_LOOP_cc_c): Likewise.
6065 (RUN_TEST_LOOP_f_i): Likewise.
6066 (RUN_TEST_LOOP_f_i_tg): Likewise.
6067 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6068 (RUN_TEST_LOOP_f_b): Likewise.
6069 (RUN_TEST_LOOP_f_b_tg): Likewise.
6070 (RUN_TEST_LOOP_f_l): Likewise.
6071 (RUN_TEST_LOOP_f_L): Likewise.
6072 (RUN_TEST_LOOP_fFF_11): Likewise.
6073 * math/gen-libm-test.pl (parse_args): Output four copies of
6074 expected results for each test.
6075
67737b8f
JM
6076 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6077 (__ASSUME_UTIMES): Remove.
6078 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6079 (__ASSUME_UTIMES): Likewise.
6080
aa97dee1
JM
6081 * math/gen-auto-libm-tests.c: Update comment on output format.
6082 (output_for_one_input_case): Generate before-rounding and
6083 after-rounding information as conditions on output flags not
6084 floating-point format.
6085 * math/auto-libm-test-out: Regenerated.
6086 * math/gen-libm-test.pl (cond_value): New function.
6087 (or_cond_value): Use cond_value.
6088 (generate_testfile): Handle conditional exceptions.
6089
e6b6a857
JM
60902014-03-05 Joseph Myers <joseph@codesourcery.com>
6091
2f0a0f44
JM
6092 * math/libm-test.inc (max_valid_error): New variable.
6093 (init_max_error): Take new argument specifying whether function
6094 results are exactly determined. Set max_valid_error and bound
6095 other variables for errors based on this argument.
6096 (set_max_error): Do not record results above max_valid_error.
6097 (check_float_internal): Only accept errors of up to 0.5ulps if
6098 also at most max_valid_error.
6099 (START): Take new argument EXACT and pass it to init_max_error.
6100 (acos_test): Update call to START.
6101 (acos_test_tonearest): Likewise.
6102 (acos_test_towardzero): Likewise.
6103 (acos_test_downward): Likewise.
6104 (acos_test_upward): Likewise.
6105 (acosh_test): Likewise.
6106 (asin_test): Likewise.
6107 (asin_test_tonearest): Likewise.
6108 (asin_test_towardzero): Likewise.
6109 (asin_test_downward): Likewise.
6110 (asin_test_upward): Likewise.
6111 (asinh_test): Likewise.
6112 (atan_test): Likewise.
6113 (atanh_test): Likewise.
6114 (atan2_test): Likewise.
6115 (cabs_test): Likewise.
6116 (cacos_test): Likewise.
6117 (cacosh_test): Likewise.
6118 (carg_test): Likewise.
6119 (casin_test): Likewise.
6120 (casinh_test): Likewise.
6121 (catan_test): Likewise.
6122 (catanh_test): Likewise.
6123 (cbrt_test): Likewise.
6124 (ccos_test): Likewise.
6125 (ccosh_test): Likewise.
6126 (ceil_test): Likewise.
6127 (cexp_test): Likewise.
6128 (cimag_test): Likewise.
6129 (clog_test): Likewise.
6130 (clog10_test): Likewise.
6131 (conj_test): Likewise.
6132 (copysign_test): Likewise.
6133 (cos_test): Likewise.
6134 (cos_test_tonearest): Likewise.
6135 (cos_test_towardzero): Likewise.
6136 (cos_test_downward): Likewise.
6137 (cos_test_upward): Likewise.
6138 (cosh_test): Likewise.
6139 (cosh_test_tonearest): Likewise.
6140 (cosh_test_towardzero): Likewise.
6141 (cosh_test_downward): Likewise.
6142 (cosh_test_upward): Likewise.
6143 (cpow_test): Likewise.
6144 (cproj_test): Likewise.
6145 (creal_test): Likewise.
6146 (csin_test): Likewise.
6147 (csinh_test): Likewise.
6148 (csqrt_test): Likewise.
6149 (ctan_test): Likewise.
6150 (ctan_test_tonearest): Likewise.
6151 (ctan_test_towardzero): Likewise.
6152 (ctan_test_downward): Likewise.
6153 (ctan_test_upward): Likewise.
6154 (ctanh_test): Likewise.
6155 (ctanh_test_tonearest): Likewise.
6156 (ctanh_test_towardzero): Likewise.
6157 (ctanh_test_downward): Likewise.
6158 (ctanh_test_upward): Likewise.
6159 (erf_test): Likewise.
6160 (erfc_test): Likewise.
6161 (exp_test): Likewise.
6162 (exp_test_tonearest): Likewise.
6163 (exp_test_towardzero): Likewise.
6164 (exp_test_downward): Likewise.
6165 (exp_test_upward): Likewise.
6166 (exp10_test): Likewise.
6167 (exp10_test_tonearest): Likewise.
6168 (exp10_test_towardzero): Likewise.
6169 (exp10_test_downward): Likewise.
6170 (exp10_test_upward): Likewise.
6171 (pow10_test): Likewise.
6172 (exp2_test): Likewise.
6173 (expm1_test): Likewise.
6174 (expm1_test_tonearest): Likewise.
6175 (expm1_test_towardzero): Likewise.
6176 (expm1_test_downward): Likewise.
6177 (expm1_test_upward): Likewise.
6178 (fabs_test): Likewise.
6179 (fdim_test): Likewise.
6180 (floor_test): Likewise.
6181 (fma_test): Likewise.
6182 (fma_test_towardzero): Likewise.
6183 (fma_test_downward): Likewise.
6184 (fma_test_upward): Likewise.
6185 (fmax_test): Likewise.
6186 (fmin_test): Likewise.
6187 (fmod_test): Likewise.
6188 (fpclassify_test): Likewise.
6189 (frexp_test): Likewise.
6190 (hypot_test): Likewise.
6191 (ilogb_test): Likewise.
6192 (isfinite_test): Likewise.
6193 (finite_test): Likewise.
6194 (isgreater_test): Likewise.
6195 (isgreaterequal_test): Likewise.
6196 (isinf_test): Likewise.
6197 (isless_test): Likewise.
6198 (islessequal_test): Likewise.
6199 (islessgreater_test): Likewise.
6200 (isnan_test): Likewise.
6201 (isnormal_test): Likewise.
6202 (issignaling_test): Likewise.
6203 (isunordered_test): Likewise.
6204 (j0_test): Likewise.
6205 (j1_test): Likewise.
6206 (jn_test): Likewise.
6207 (ldexp_test): Likewise.
6208 (lgamma_test): Likewise.
6209 (gamma_test): Likewise.
6210 (lrint_test): Likewise.
6211 (lrint_test_tonearest): Likewise.
6212 (lrint_test_towardzero): Likewise.
6213 (lrint_test_downward): Likewise.
6214 (lrint_test_upward): Likewise.
6215 (llrint_test): Likewise.
6216 (llrint_test_tonearest): Likewise.
6217 (llrint_test_towardzero): Likewise.
6218 (llrint_test_downward): Likewise.
6219 (llrint_test_upward): Likewise.
6220 (log_test): Likewise.
6221 (log10_test): Likewise.
6222 (log1p_test): Likewise.
6223 (log2_test): Likewise.
6224 (logb_test): Likewise.
6225 (logb_test_downward): Likewise.
6226 (lround_test): Likewise.
6227 (llround_test): Likewise.
6228 (modf_test): Likewise.
6229 (nearbyint_test): Likewise.
6230 (nextafter_test): Likewise.
6231 (nexttoward_test): Likewise.
6232 (pow_test): Likewise.
6233 (pow_test_tonearest): Likewise.
6234 (pow_test_towardzero): Likewise.
6235 (pow_test_downward): Likewise.
6236 (pow_test_upward): Likewise.
6237 (remainder_test): Likewise.
6238 (drem_test): Likewise.
6239 (remainder_test_tonearest): Likewise.
6240 (drem_test_tonearest): Likewise.
6241 (remainder_test_towardzero): Likewise.
6242 (drem_test_towardzero): Likewise.
6243 (remainder_test_downward): Likewise.
6244 (drem_test_downward): Likewise.
6245 (remainder_test_upward): Likewise.
6246 (drem_test_upward): Likewise.
6247 (remquo_test): Likewise.
6248 (rint_test): Likewise.
6249 (rint_test_tonearest): Likewise.
6250 (rint_test_towardzero): Likewise.
6251 (rint_test_downward): Likewise.
6252 (rint_test_upward): Likewise.
6253 (round_test): Likewise.
6254 (scalb_test): Likewise.
6255 (scalbn_test): Likewise.
6256 (scalbln_test): Likewise.
6257 (signbit_test): Likewise.
6258 (sin_test): Likewise.
6259 (sin_test_tonearest): Likewise.
6260 (sin_test_towardzero): Likewise.
6261 (sin_test_downward): Likewise.
6262 (sin_test_upward): Likewise.
6263 (sincos_test): Likewise.
6264 (sinh_test): Likewise.
6265 (sinh_test_tonearest): Likewise.
6266 (sinh_test_towardzero): Likewise.
6267 (sinh_test_downward): Likewise.
6268 (sinh_test_upward): Likewise.
6269 (sqrt_test): Likewise.
6270 (sqrt_test_tonearest): Likewise.
6271 (sqrt_test_towardzero): Likewise.
6272 (sqrt_test_downward): Likewise.
6273 (sqrt_test_upward): Likewise.
6274 (tan_test): Likewise.
6275 (tan_test_tonearest): Likewise.
6276 (tan_test_towardzero): Likewise.
6277 (tan_test_downward): Likewise.
6278 (tan_test_upward): Likewise.
6279 (tanh_test): Likewise.
6280 (tgamma_test): Likewise.
6281 (trunc_test): Likewise.
6282 (y0_test): Likewise.
6283 (y1_test): Likewise.
6284 (yn_test): Likewise.
6285 (significand_test): Likewise.
6286
e6b6a857
JM
6287 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6288 individual tests in comment.
6289 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6290 (prev_max_error): New variable.
6291 (prev_real_max_error): Likewise.
6292 (prev_imag_max_error): Likewise.
6293 (compare_ulp_data): Don't refer to test names in comment.
6294 (find_test_ulps): Remove function.
6295 (find_function_ulps): Likewise.
6296 (find_complex_function_ulps): Likewise.
6297 (init_max_error): Take function name as argument. Look up ulps
6298 for that function.
6299 (print_ulps): Remove function.
6300 (print_max_error): Use prev_max_error instead of calling
6301 find_function_ulps.
6302 (print_complex_max_error): Use prev_real_max_error and
6303 prev_imag_max_error instead of calling find_complex_function_ulps.
6304 (check_float_internal): Take max_ulp parameter instead of calling
6305 find_test_ulps. Don't call print_ulps.
6306 (check_float): Update call to check_float_internal.
6307 (check_complex): Update calls to check_float_internal.
6308 (START): Pass argument to init_max_error.
6309 * math/gen-libm-test.pl (%results): Don't include "kind"
6310 information.
6311 (parse_ulps): Don't handle ulps of individual tests.
6312 (print_ulps_file): Likewise.
6313 (output_ulps): Likewise.
6314 * math/README.libm-test: Update.
6315 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6316 individual tests.
6317 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6318 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6319 * sysdeps/arm/libm-test-ulps: Likewise.
6320 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6321 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6322 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6323 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6324 * sysdeps/microblaze/libm-test-ulps: Likewise.
6325 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6326 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6328 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6329 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6330 * sysdeps/sh/libm-test-ulps: Likewise.
6331 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6332 * sysdeps/tile/libm-test-ulps: Likewise.
6333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6334
45adef3c
JM
63352014-03-04 Joseph Myers <joseph@codesourcery.com>
6336
6337 * math/libm-test.inc (print_complex_max_error): Check separately
6338 whether real and imaginary errors are within allowed range and
6339 pass 0 to print_complex_function_ulps instead of value within
6340 allowed range.
6341
000232b9
SP
63422014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6343
d4b17258
SP
6344 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6345 formatting.
6346 (get_handles_fopen): Likewise.
6347 (do_write_test): Likewise.
6348
091eff71
SP
6349 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6350
fa3cd248
SP
6351 * libio/fileops.c (do_ftell): Use cached offset when
6352 available.
6353 * libio/iofwide.c (do_ftell_wide): Likewise.
6354 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6355 _IO_file_attach.
6356 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6357
000232b9
SP
6358 [BZ #16532]
6359 * libio/libioP.h (get_file_offset): New function.
6360 * libio/fileops.c (get_file_offset): Likewise.
6361 (do_ftell): Likewise.
6362 (_IO_new_file_seekoff): Split out ftell logic.
6363 * libio/wfileops.c (do_ftell_wide): Likewise.
6364 (_IO_wfile_seekoff): Split out ftell logic.
6365 * libio/tst-ftell-active-handler.c: New test case.
6366 * libio/Makefile (tests): Add it.
6367
116f4d1a
RM
63682014-03-03 Roland McGrath <roland@hack.frob.com>
6369
6370 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6371 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6372
532a6035
SP
63732014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6374
6375 [BZ #16639]
6376 * nscd/connections.c (nscd_init): Call do_exit.
6377 (start_threads): Call do_exit and notify_parent.
6378 (begin_drop_privileges): Call do_exit.
6379 (finish_drop_privileges): Likewise.
6380 * nscd/selinux.c (preserve_capabilities): Likewise.
6381 (install_real_capabilities): Likewise.
6382 (nscd_selinux_enabled): Likewise.
6383 (avc_create_thread): Likewise.
6384 (avc_alloc_lock): Likewise.
6385 (nscd_avc_init): Likewise.
6386 * nscd/nscd.c (parent_fd): New static variable.
6387 (main): Create a pipe between parent and child processes.
6388 Skip closing parent_fd.
6389 (monitor_child): New function.
6390 (do_exit): Likewise.
6391 (notify_parent): Likewise.
6392 * nscd/nscd.h (notify_parent): Likewise.
6393 (do_exit): Likewise.
6394
d6285c9f
CD
63952014-03-03 Carlos O'Donell <carlos@redhat.com>
6396
6397 * malloc/malloc.c (__libc_calloc): Revert last change.
6398
2b85d2a0
AZ
63992014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400
6401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6402
c7debbdf
RS
64032014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6404
6405 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6407 implementation.
6408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6409 (__libc_ifunc_impl_list): Likewise.
6410 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6411 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6413 * string/strrchr.c: Define STRRCHR.
6414
235eed86
OB
64152014-02-28 Ondřej Bílka <neleai@seznam.cz>
6416
6417 * benchtest/bench-strtok.c (simple_strtok): Delete.
6418 (strtok_string): Use as benchmark.
6419 * string/strtok (STRTOK): New macro.
6420
8e25d1e7
CD
64212014-02-28 Carlos O'Donell <carlos@redhat.com>
6422
ef563f92
CD
6423 * manual/threads.texi: Add header and standard comments to all
6424 functions.
6425
8e25d1e7
CD
6426 * elf/dl-lookup.c (check_match): New function.
6427 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6428 (do_lookup_x): Remove nested function check_match. Use non-nested
6429 function check_match.
6430
ff71cc37
RM
64312014-02-28 Roland McGrath <roland@hack.frob.com>
6432
f08e9a26
RM
6433 * csu/Makefile (generated, before-compile): Use += rather than =.
6434 * catgets/Makefile (generated, generated-dirs): Likewise.
6435 * debug/Makefile (generated): Likewise.
6436 * dlfcn/Makefile (generated): Likewise.
6437 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6438 * iconvdata/Makefile (before-compile, generated): Likewise.
6439 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6440 * libio/Makefile (generated): Likewise.
6441 * malloc/Makefile (generated): Likewise.
6442 * manual/Makefile (generated, generated-dirs): Likewise.
6443 * misc/Makefile (generated): Likewise.
6444 * posix/Makefile (generated): Likewise.
6445 * resolv/Makefile (generated): Likewise.
6446 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6447 * timezone/Makefile (generated, generated-dirs): Likewise.
6448
ff71cc37
RM
6449 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6450
fe13a20c
AZ
64512014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452
57f41c40
AS
6453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6454 power8 implementation.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6456 file: POWER8 llround ifunc implementation.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6458 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6459 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6460 POWER8 llround implementation.
6461
57f41c40
AS
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6463 power8 implementation.
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6465 file: POWER8 llrint ifunc implementation.
6466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6467 Add POWER8 implementation.
1ad8950a
AZ
6468 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6469 POWER8 llrint implementation.
6470
57f41c40
AS
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6472 power8 implementation.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6474 file: POWER8 finite ifunc implementation.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6476 Add POWER8 implementation.
cac626d6
AZ
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6478 Likewise.
6479 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6480 POWER8 finite implementation.
6481 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6482
57f41c40
AS
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6484 power8 implementation.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6486 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6488 POWER8 implementation.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6490 Likewise.
57f41c40
AS
6491 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6492 isinf implementation.
4393fc11
AZ
6493 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6494
57f41c40
AS
6495 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6496 (INIT_ARCH): Add hwcap2 initialization.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6498 power8 implementation.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6500 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6502 POWER8 implementation.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6504 Likewise.
57f41c40
AS
6505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6506 isnan implementation.
487972ae
AZ
6507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6508
7d92b787
JY
65092014-02-27 Joey Ye <joey.ye@arm.com>
6510
6511 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6512 (_FP_NANFRAC_Q): Set to zero.
6513
1cadc858
SP
65142014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
6516 [BZ #16623]
6517 * math/auto-libm-test-in: New test inputs.
6518 * math/auto-libm-test-out: Regenerate.
6519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6520 and DA.
6521 (__cos): Likewise.
6522 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6523
f8c17e79
JM
65242014-02-27 Joseph Myers <joseph@codesourcery.com>
6525
6526 * scripts/evaluate-test.sh: Take new argument indicating whether
6527 failure is expected.
6528 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6529 indicating whether failure is expected.
6530 * conform/Makefile (test-xfail-run-conformtest): New variable.
6531 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6532 level.
6533 * posix/Makefile (test-xfail-annexc): New variable.
6534 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6535
a5f891ac
JM
65362014-02-26 Joseph Myers <joseph@codesourcery.com>
6537
6538 * argp/Makefile: Include Makeconfig immediately after defining
6539 subdir.
6540 * assert/Makefile: Likewise.
6541 * benchtests/Makefile: Likewise.
6542 * catgets/Makefile: Likewise.
6543 * conform/Makefile: Likewise.
6544 * crypt/Makefile: Likewise.
6545 * csu/Makefile: Likewise.
6546 (all): Remove target.
6547 * ctype/Makefile: Include Makeconfig immediately after defining
6548 subdir.
6549 * debug/Makefile: Likewise.
6550 * dirent/Makefile: Likewise.
6551 * dlfcn/Makefile: Likewise.
6552 * gmon/Makefile: Likewise.
6553 * gnulib/Makefile: Likewise.
6554 * grp/Makefile: Likewise.
6555 * gshadow/Makefile: Likewise.
6556 * hesiod/Makefile: Likewise.
6557 * hurd/Makefile: Likewise.
6558 (all): Remove target.
6559 * iconvdata/Makefile: Include Makeconfig immediately after
6560 defining subdir.
6561 * inet/Makefile: Likewise.
6562 * intl/Makefile: Likewise.
6563 * io/Makefile: Likewise.
6564 * libio/Makefile: Likewise.
6565 (all): Remove target.
6566 * locale/Makefile: Include Makeconfig immediately after defining
6567 subdir.
6568 * login/Makefile: Likewise.
6569 * mach/Makefile: Likewise.
6570 (all): Remove target.
6571 * malloc/Makefile: Include Makeconfig immediately after defining
6572 subdir.
6573 (all): Remove target.
6574 * manual/Makefile: Include Makeconfig immediately after defining
6575 subdir.
6576 * math/Makefile: Likewise.
6577 * misc/Makefile: Likewise.
6578 * nis/Makefile: Likewise.
6579 * nss/Makefile: Likewise.
6580 * po/Makefile: Likewise.
6581 (all): Remove target.
6582 * posix/Makefile: Include Makeconfig immediately after defining
6583 subdir.
6584 * pwd/Makefile: Likewise.
6585 * resolv/Makefile: Likewise.
6586 * resource/Makefile: Likewise.
6587 * rt/Makefile: Likewise.
6588 * setjmp/Makefile: Likewise.
6589 * shadow/Makefile: Likewise.
6590 * signal/Makefile: Likewise.
6591 * socket/Makefile: Likewise.
6592 * soft-fp/Makefile: Likewise.
6593 * stdio-common/Makefile: Likewise.
6594 * stdlib/Makefile: Likewise.
6595 * streams/Makefile: Likewise.
6596 * string/Makefile: Likewise.
6597 * sunrpc/Makefile: Likewise.
6598 (all): Remove target.
6599 * sysvipc/Makefile: Include Makeconfig immediately after defining
6600 subdir.
6601 * termios/Makefile: Likewise.
6602 * time/Makefile: Likewise.
6603 * timezone/Makefile: Likewise.
6604 (all): Remove target.
6605 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6606 subdir.
6607 * wctype/Makefile: Likewise.
6608
5b456e9d
SE
66092014-02-26 Steve Ellcey <sellcey@mips.com>
6610
6611 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6612 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6613 (libc_feholdexcept_setround_mips): Ditto.
6614 (libc_feholdsetround): New.
6615 (libc_feholdsetroundf): New.
6616 (libc_feholdsetroundl): New.
6617 (libc_feupdateenv_test_mips): New.
6618 (libc_feupdateenv_test): New.
6619 (libc_feupdateenv_testf): New.
6620 (libc_feupdateenv_testl): New.
6621 (libc_feresetround): New.
6622 (libc_feresetroundf): New.
6623 (libc_feresetroundl): New.
6624 (libc_fetestexcept_mips): New.
6625 (libc_fetestexcept): New.
6626 (libc_fetestexceptf): New.
6627 (libc_fetestexceptl): New.
6628 (HAVE_RM_CTX): New.
6629 (libc_feholdexcept_setround_mips_ctx): New.
6630 (libc_feholdexcept_setround_ctx): New.
6631 (libc_feholdexcept_setroundf_ctx): New.
6632 (libc_feholdexcept_setroundl_ctx): New.
6633 (libc_fesetenv_mips_ctx): New.
6634 (libc_fesetenv_ctx): New.
6635 (libc_fesetenv_ctxf): New.
6636 (libc_fesetenv_ctxl): New.
6637 (libc_feupdateenv_mips_ctx): New.
6638 (libc_feupdateenv_ctx): New.
6639 (libc_feupdateenvf_ctx): New.
6640 (libc_feupdateenvl_ctx): New.
6641 (libc_feholdsetround_mips_ctx): New.
6642 (libc_feholdsetround_ctx): New.
6643 (libc_feholdsetroundf_ctx): New.
6644 (libc_feholdsetroundl_ctx): New.
6645 (libc_feresetround_mips_ctx): New.
6646 (libc_feresetround_ctx): New.
6647 (libc_feresetroundf_ctx): New.
6648 (libc_feresetroundl_ctx): New.
6649
085d0e35
CD
66502014-02-26 Carlos O'Donell <carlos@redhat.com>
6651
f067bf1f
CD
6652 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6653
085d0e35
CD
6654 * manual/ipc.texi: New file.
6655 * manual/Makefile (chapters): Add ipc.
6656 * manual/job.texi: Add "Inter-Process Communication" to next.
6657 * manual/process.texi: Add "Inter-Process Communication" to prev.
6658
86e58c08
AZ
66592014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6660
6661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6662
4248f0da
OB
66632014-02-26 Ondřej Bílka <neleai@seznam.cz>
6664
6665 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6666
cf822e3c
OB
6667 * manual/arith.texi: Fix spaces after sentences.
6668 * manual/charset.texi: Likewise.
6669 * manual/errno.texi: Likewise.
6670 * manual/install.texi: Likewise.
6671 * manual/llio.texi: Likewise.
6672 * manual/locale.texi: Likewise.
6673 * manual/maint.texi: Likewise.
6674 * manual/math.texi: Likewise.
6675 * manual/memory.texi: Likewise.
6676 * manual/message.texi: Likewise.
6677 * manual/probes.texi: Likewise.
6678 * manual/resource.texi: Likewise.
6679 * manual/signal.texi: Likewise.
6680 * manual/socket.texi: Likewise.
6681 * manual/stdio.texi: Likewise.
6682 * manual/string.texi: Likewise.
6683 * manual/time.texi: Likewise.
6684 * manual/users.texi: Likewise.
6685
ade40b10
CD
66862014-02-25 Carlos O'Donell <carlos@redhat.com>
6687
6688 [BZ #16632]
6689 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6690 _DEFAULT_SOURCE is defined.
6691
d0503676
CD
66922014-02-25 Ulrich Drepper <drepper@gmail.com>
6693 Carlos O'Donell <carlos@redhat.com>
6694
6695 [BZ #16613]
6696 * elf/dl-tls.c (_dl_count_modids): New function.
6697 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6698 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6699 audit library and increment generation counter.
6700 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6701 * elf/tst-audit9.c: New file.
6702 * elf/tst-auditmod9a.c: New file.
6703 * elf/tst-auditmod9b.c: New file.
6704 * elf/Makefile: Add rules to build and run tst-audit9.
6705
4cbf380c
FW
67062014-02-25 Florian Weimer <fweimer@redhat.com>
6707
6708 [BZ #15347]
6709 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6710
80a56cc3
WN
67112014-02-25 Will Newton <will.newton@linaro.org>
6712
6713 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6714 (__longjmp): Restore sp and lr before restoring callee
6715 saved registers. Add longjmp and longjmp_target
6716 SystemTap probe point.
6717 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6718 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6719 Define to zero to match jmpbuf layout.
6720 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6721 (__sigsetjmp): Save sp and lr before saving callee
6722 saved registers. Add setjmp SystemTap probe point.
6723
3ea0f74e
SL
67242014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6725
6726 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6727
b04acb26
AS
67282014-02-24 Andreas Schwab <schwab@suse.de>
6729
6730 [BZ #15804]
6731 * elf/pldd.c (wait_for_ptrace_stop): New function.
6732 (main): Call it after attaching.
6733
098ad55c
RM
67342014-02-22 Roland McGrath <roland@hack.frob.com>
6735
d4ec6ae1
RM
6736 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6737 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6738 Versions files is now verboten.
6739 * hurd/Versions (libc: GLIBC_2.0):
6740 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6741 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6742 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6743 * mach/Versions: Likewise.
6744
098ad55c
RM
6745 * csu/Versions: Remove unused %include.
6746 * resolv/Versions: Likewise.
6747
acd7f096
JM
67482014-02-21 Joseph Myers <joseph@codesourcery.com>
6749
f0881698
JM
6750 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6751 ($(objpfx)check-local-headers.out): Likewise.
6752 ($(objpfx)begin-end-check.out): Likewise.
6753 * Makerules (check-abi-%.out): Likewise.
6754 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6755 ($(objpfx)test2.cat): Likewise.
6756 ($(objpfx)de/libc.cat): Likewise.
6757 ($(objpfx)test-gencat.out): Likewise.
6758 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6759 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6760 ($(objpfx)noload-mem): Likewise.
6761 ($(objpfx)tst-pathopt.out): Likewise.
6762 ($(objpfx)tst-rtld-load-self.out): Likewise.
6763 ($(objpfx)tst-array1-cmp.out): Likewise.
6764 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6765 ($(objpfx)tst-array2-cmp.out): Likewise.
6766 ($(objpfx)tst-array3-cmp.out): Likewise.
6767 ($(objpfx)tst-array4-cmp.out): Likewise.
6768 ($(objpfx)tst-array5-cmp.out): Likewise.
6769 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6770 ($(objpfx)check-textrel.out): Likewise.
6771 ($(objpfx)check-execstack.out): Likewise.
6772 ($(objpfx)check-localplt.out): Likewise.
6773 ($(objpfx)order2-cmp.out): Likewise.
6774 ($(objpfx)tst-leaks1-mem): Likewise.
6775 ($(objpfx)tst-leaks1-static-mem): Likewise.
6776 ($(objpfx)tst-initorder-cmp.out): Likewise.
6777 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6778 ($(objpfx)tst-unused-dep.out): Likewise.
6779 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6780 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6781 * iconv/Makefile (test-iconvconfig): Likewise.
6782 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6783 ($(objpfx)iconv-test.out): Likewise.
6784 ($(objpfx)tst-tables.out): Likewise.
6785 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6786 ($(objpfx)tst-gettext.out): Likewise.
6787 ($(objpfx)tst-translit.out): Likewise.
6788 ($(objpfx)tst-gettext2.out): Likewise.
6789 ($(objpfx)tst-gettext4.out): Likewise.
6790 ($(objpfx)tst-gettext6.out): Likewise.
6791 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6792 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6793 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6794 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6795 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6796 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6797 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6798 ($(objpfx)wordexp-tst.out): Likewise.
6799 ($(objpfx)annexc.out): Likewise.
6800 ($(objpfx)tst-fnmatch-mem): Likewise.
6801 ($(objpfx)bug-regex2-mem): Likewise.
6802 ($(objpfx)bug-regex14-mem): Likewise.
6803 ($(objpfx)bug-regex21-mem): Likewise.
6804 ($(objpfx)bug-regex31-mem): Likewise.
6805 ($(objpfx)tst-vfork3-mem): Likewise.
6806 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6807 ($(objpfx)tst-pcre-mem): Likewise.
6808 ($(objpfx)tst-boost-mem): Likewise.
6809 ($(objpfx)tst-getconf.out): Likewise.
6810 ($(objpfx)bug-ga2-mem): Likewise.
6811 ($(objpfx)bug-glob2-mem): Likewise.
6812 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6813 ($(objpfx)mtrace-tst-leaks2): Likewise.
6814 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6815 ($(objpfx)tst-printf.out): Likewise.
6816 ($(objpfx)tst-setvbuf1.out): Likewise.
6817 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6818 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6819 ($(objpfx)tst-fmtmsg.out): Likewise.
6820 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6821 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6822
acd7f096
JM
6823 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6824 * bits/sigaction.h [__USE_MISC]: Likewise.
6825 * bits/waitstatus.h: Update #endif comments.
6826 * ctype/ctype.h: Likewise.
6827 * dirent/dirent.h: Likewise.
6828 [__USE_MISC]: Remove redundant conditionals.
6829 * grp/grp.h: Update #endif comments.
6830 [__USE_GNU]: Remove redundant conditionals.
6831 [__USE_MISC]: Likewise.
6832 * inet/netinet/in.h [__USE_GNU]: Likewise.
6833 * io/sys/stat.h [__USE_MISC]: Likewise.
6834 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6835 * libio/bits/stdio.h: Update #endif comments.
6836 [__USE_MISC]: Remove redundant conditionals.
6837 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6838 * libio/stdio.h: Update #endif comments.
6839 [__USE_MISC]: Remove redundant conditionals.
6840 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6841 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6842 * math/math.h: Update #else and #endif comments.
6843 [__USE_MISC]: Remove redundant conditionals.
6844 * misc/sys/uio.h: Update #endif comments.
6845 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6846 * posix/glob.h [__USE_MISC]: Likewise.
6847 * posix/sys/types.h: Update #endif comments.
6848 [__USE_MISC]: Remove redundant conditionals.
6849 * posix/sys/wait.h: Update #endif comments.
6850 [__USE_MISC]: Remove redundant conditionals.
6851 * posix/unistd.h: Update #endif comments.
6852 [__USE_MISC]: Remove redundant conditionals.
6853 * pwd/pwd.h [__USE_GNU]: Likewise.
6854 [__USE_MISC]: Likewise.
6855 * resolv/netdb.h [__USE_GNU]: Likewise.
6856 * signal/signal.h: Update #endif comments.
6857 [__USE_MISC]: Remove redundant conditionals.
6858 * stdlib/stdlib.h: Update #else and #endif comments.
6859 [__USE_MISC]: Remove redundant conditionals.
6860 [__USE_GNU]: Likewise.
6861 * string/bits/string2.h [__USE_MISC]: Likewise.
6862 * string/string.h: Update #endif comments.
6863 [__USE_MISC]: Remove redundant conditionals.
6864 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6865 Likewise.
6866 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6867 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6868 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6869 Likewise.
6870 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6871 Likewise.
6872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6873 comments.
6874 [__USE_MISC]: Remove redundant conditionals.
6875 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6876 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6877 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6878 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6879 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6880 Likewise.
6881 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6882 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6883 Likewise.
6884 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6885 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6886 Likewise.
6887 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6888 Likewise.
6889 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6891 Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6893 Likewise.
6894 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6895 * sysdeps/x86/bits/string.h: Update #endif comments.
6896 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6897 conditionals.
6898 * time/sys/time.h: Update #endif comments.
6899 * time/time.h: Likewise.
6900 [__USE_MISC]: Remove redundant conditionals.
6901
a5d82e4e
YG
69022014-02-21 Yury Gribov <y.gribov@samsung.com>
6903
6904 [BZ #16600]
6905 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6906
9a80491d
AS
69072014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6908
6909 * Versions.def (librt): Add GLIBC_2.17.
6910
105fa381
AC
69112014-02-21 Adam Conrad <adconrad@0c3.net>
6912
6913 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6914 synonym for _SYS_AUXV_H to allow direct inclusion.
6915 * sysdeps/sparc/bits/hwcap.h: Likewise.
6916 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6917 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6918 * sysdeps/sparc/sysdep.h: Likewise.
6919
b8cd1c4e
SP
69202014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6921
6922 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6923
bd939d23
RS
69242014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6925
6926 * benchtests/bench-strrchr.c: Print length instead of position.
6927
5d7b57ca
JM
69282014-02-20 Joseph Myers <joseph@codesourcery.com>
6929
bc688c10
JM
6930 [BZ #16611]
6931 * sysdeps/unix/sysv/linux/kernel-features.h
6932 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6933 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6934 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6935 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6936 Likewise.
6937 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6938 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6939 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6940 (__ASSUME_SENDMMSG): Define instead of using previous
6941 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6942 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6943 (__ASSUME_SENDMMSG_SYSCALL): Define.
6944 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6945 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6946 Likewise.
6947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6948 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6949 Likewise.
6950 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6951 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6952 Likewise.
6953 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6954 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6955 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6956 [__ASSUME_SENDMMSG]: Change conditionals to
6957 [__ASSUME_SENDMMSG_SOCKETCALL].
6958 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6959 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6960 Define.
6961 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6962 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6963 Likewise.
6964 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6965 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6966 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6967 [!__ASSUME_SENDMMSG]: Change conditional to
6968 [!__ASSUME_SENDMMSG_SOCKETCALL].
6969 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6970 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6971 Define.
6972
0e31b18c
JM
6973 [BZ #16610]
6974 * sysdeps/unix/sysv/linux/kernel-features.h
6975 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6976 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6977 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6978 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6979 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6980 [__i386__ || __sparc__]
6981 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6982 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6983 (__ASSUME_RECVMMSG): Define instead of using previous
6984 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6985 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6986 (__ASSUME_RECVMMSG_SYSCALL): Define.
6987 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6988 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6989 Likewise.
6990 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6991 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6992 Likewise.
6993 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6995 Likewise.
6996 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6997 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6998 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6999 [__ASSUME_RECVMMSG]: Change condition to
7000 [__ASSUME_RECVMMSG_SOCKETCALL].
7001 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7002 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7003 Define.
7004 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7005 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7006 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7007 Likewise.
7008 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7009 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7010 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7011 [!__ASSUME_RECVMMSG]: Change condition to
7012 [!__ASSUME_RECVMMSG_SOCKETCALL].
7013 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7014 (__ASSUME_RECVMMSG_SYSCALL): Define.
7015
dd481ccf
JM
7016 [BZ #16609]
7017 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7018 __powerpc__ || __s390__ || __sh__ || __sparc__]
7019 (__ASSUME_SOCKETCALL): Define.
7020 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7021 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7022 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7023 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7024 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7025 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7026 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7027 (__ASSUME_ACCEPT4): Define instead of using previous
7028 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7029 __powerpc__ || __sparc__ || __s390__)] condition.
7030 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7031 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7032 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7033 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7034 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7035 [!__ASSUME_ACCEPT4]: Change condition to
7036 [!__ASSUME_ACCEPT4_SOCKETCALL].
7037 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7038 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7039 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7040 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7041 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7042 __ASSUME_ACCEPT4_SYSCALL.
7043 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7044 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7045 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7046 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7047 __ASSUME_ACCEPT4_SYSCALL.
7048 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7049 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7050 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7051 [__ASSUME_ACCEPT4]: Change condition to
7052 [__ASSUME_ACCEPT4_SOCKETCALL].
7053 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7054 (__ASSUME_SOCKETCALL): Define.
7055 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7057 (__ASSUME_SOCKETCALL): Define.
7058 (__ASSUME_ACCEPT4): Remove.
7059 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7060 Define.
7061 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7062 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7063 Likewise.
7064 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7065 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7066
5d7b57ca
JM
7067 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7068 macro.
7069 (HWCAP_ARM_LPAE): Likewise.
7070 (HWCAP_ARM_EVTSTRM): Likewise.
7071 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7072 Add vpfd32, lpae and evtstrm.
7073 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7074 Increase to 22.
7075
63689d61
JM
70762014-02-19 Joseph Myers <joseph@codesourcery.com>
7077
7078 * math/auto-libm-test-in: Add tests of clog10.
7079 * math/auto-libm-test-out: Regenerated.
7080 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7081 * sysdeps/i386/fpu/libm-test-ulps: Update.
7082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7083
ab09bf61
AS
70842014-02-18 Andreas Schwab <schwab@suse.de>
7085
7086 [BZ #16574]
7087 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7088 Store non-zero if the second buffer was newly allocated.
7089 (send_dg): Likewise.
7090 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7091 to send_vc and send_dg.
7092 (res_nsend): Pass NULL for ansp2_malloced.
7093 * resolv/res_query.c (__libc_res_nquery): Add parameter
7094 answerp2_malloced and pass it down to __libc_res_nsend.
7095 (res_nquery): Pass additional NULL to __libc_res_nquery.
7096 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7097 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7098 second answer buffer if answerp2_malloced was set.
7099 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7100 (__libc_res_nquerydomain): Add parameter
7101 answerp2_malloced and pass it down to __libc_res_nquery.
7102 (res_nquerydomain): Pass additional NULL to
7103 __libc_res_nquerydomain.
7104 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7105 additional NULL to __libc_res_nsend and __libc_res_nquery.
7106 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7107 additional NULL to __libc_res_nsearch.
7108 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7109 parameter of __libc_res_nsearch to check for separately allocated
7110 second buffer.
7111 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7112 __libc_res_nquery.
7113 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7114 additional NULL to __libc_res_nquery.
7115 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7116 __libc_res_nsearch.
7117 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7118 * include/resolv.h: Update prototypes of __libc_res_nquery,
7119 __libc_res_nsearch, __libc_res_nsend.
7120
a4fb7861
JM
71212014-02-18 Joseph Myers <joseph@codesourcery.com>
7122
c6af2d89
JM
7123 * math/auto-libm-test-in: Add tests of fma.
7124 * math/auto-libm-test-out: Regenerated.
7125 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7126 (fma_towardzero_test_data): Likewise.
7127 (fma_downward_test_data): Likewise.
7128 (fma_upward_test_data): Likewise.
7129 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7130 mpc_mode.
7131 (rounding_modes): Add values for new field.
7132 (func_calc_method): Add value mpfr_fff_f.
7133 (func_calc_desc): Add mpfr_fff_f union field.
7134 (test_function): Add field exact_args.
7135 (FUNC): Add macro argument EXACT_ARGS.
7136 (FUNC_mpfr_f_f): Update call to FUNC.
7137 (FUNC_mpfr_f_f): Likewise.
7138 (FUNC_mpfr_ff_f): Likewise.
7139 (FUNC_mpfr_if_f): Likewise.
7140 (FUNC_mpc_c_f): Likewise.
7141 (FUNC_mpc_c_c): Likewise.
7142 (test_functions): Add fma. Update calls to FUNC.
7143 (handle_input_arg): Add argument exact_args.
7144 (add_test): Update call to handle_input_arg.
7145 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7146 (output_for_one_input_case): Update call to calc_generic_results.
7147 Recalculate exact zero results in each rounding mode.
7148
a4fb7861
JM
7149 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7150 non-negative before setting low bit.
7151 * math/auto-libm-test-in: Mark one asin test possibly having
7152 spurious underflow.
7153 * math/auto-libm-test-out: Regenerated.
7154 * sysdeps/i386/fpu/libm-test-ulps: Update.
7155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156
ef114eaf
DH
71572014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7158
2b7f4f2c
SP
7159 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7160 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7161 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7162 * README: Add missing listing for microblaze*-*-linux-gnu.
7163
c70a4b1d
MF
71642014-02-16 Mike Frysinger <vapier@gentoo.org>
7165
7166 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7167 * sysdeps/unix/sysv/linux/ia64: Move directory from
7168 ports/sysdeps/unix/sysv/linux/ia64.
7169 * README: Update listing for ia64-*-linux-gnu.
7170
591aeaf7
TD
71712014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7172 Joseph Myers <joseph@codesourcery.com>
7173
7174 * Makeconfig (test-name): New variable.
7175 (evaluate-test): Likewise.
7176 * Makerules (do-test-clean): Remove .test-result files.
7177 (common-mostlyclean): Likewise.
7178 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7179 * scripts/evaluate-test.sh: New file.
7180
6e89caf1
JM
71812014-02-14 Joseph Myers <joseph@codesourcery.com>
7182
7f98f180
JM
7183 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7184 separate $(objpfx)tst-fopenloc-cmp.out and
7185 $(objpfx)tst-fopenloc-mem.out targets.
7186 (tests): Update dependencies.
7187 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7188 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7189 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7190 (tst-rxspencer-no-utf8-ARGS): New variable.
7191 (tst-rxspencer-no-utf8-ENV): Likewise.
7192 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7193 instead of $(objpfx)tst-rxspencer-mem.
7194 ($(objpfx)tst-rxspencer-mem): Change target to
7195 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7196 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7197 * posix/tst-rxspencer-no-utf8.c: New file.
7198
6e89caf1
JM
7199 * elf/Makefile ($(objpfx)order.out): Remove rule.
7200 [$(run-built-tests) = yes] (tests): Depend on
7201 $(objpfx)order-cmp.out.
7202 ($(objpfx)order-cmp.out): New rule.
7203 [$(run-built-tests) = yes] (tests): Depend on
7204 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7205 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7206 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7207 $(objpfx)tst-array5-static-cmp.out.
7208 ($(objpfx)tst-array1.out): Remove rule.
7209 ($(objpfx)tst-array1-cmp.out): New rule.
7210 ($(objpfx)tst-array1-static.out): Remove rule.
7211 ($(objpfx)tst-array1-static-cmp.out): New rule.
7212 ($(objpfx)tst-array2.out): Remove rule.
7213 ($(objpfx)tst-array2-cmp.out): New rule.
7214 ($(objpfx)tst-array3.out): Remove rule.
7215 ($(objpfx)tst-array3-cmp.out): New rule.
7216 ($(objpfx)tst-array4.out): Remove rule.
7217 ($(objpfx)tst-array4-cmp.out): New rule.
7218 ($(objpfx)tst-array5.out): Remove rule.
7219 ($(objpfx)tst-array5-cmp.out): New rule.
7220 ($(objpfx)tst-array5-static.out): Remove rule.
7221 ($(objpfx)tst-array5-static-cmp.out): New rule.
7222 [$(run-built-tests) = yes] (tests): Depend on
7223 $(objpfx)order2-cmp.out.
7224 ($(objpfx)order2.out): Remove rule.
7225 ($(objpfx)order2-cmp.out): New rule.
7226 ($(objpfx)tst-initorder.out): Remove rule.
7227 [$(run-built-tests) = yes] (tests): Depend on
7228 $(objpfx)tst-initorder-cmp.out.
7229 ($(objpfx)tst-initorder-cmp.out): New rule.
7230 ($(objpfx)tst-initorder2.out): Remove rule.
7231 [$(run-built-tests) = yes] (tests): Depend on
7232 $(objpfx)tst-initorder2-cmp.out.
7233 ($(objpfx)tst-initorder2-cmp.out): New rule.
7234 [$(run-built-tests) = yes] (tests): Depend on
7235 $(objpfx)tst-unused-dep-cmp.out.
7236 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7237 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7238 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7239 on $(objpfx)tst-setvbuf1-cmp.out.
7240 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7241 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7242 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7243 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7244 ($(objpfx)tst-svc.out): Remove rule.
7245 ($(objpfx)tst-svc-cmp.out): New rule.
7246
ed9a38e2
JM
72472014-02-13 Joseph Myers <joseph@codesourcery.com>
7248
7249 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7250 * ctype/ctype.h [__USE_MISC]: Likewise.
7251 * dirent/dirent.h [__USE_MISC]: Likewise.
7252 * grp/grp.h [__USE_MISC]: Likewise.
7253 * io/fcntl.h [__USE_MISC]: Likewise.
7254 * io/sys/stat.h [__USE_MISC]: Likewise.
7255 * libio/stdio.h [__USE_MISC]: Likewise.
7256 * posix/unistd.h [__USE_MISC]: Likewise.
7257 * pwd/pwd.h [__USE_MISC]: Likewise.
7258 * stdlib.h [__USE_MISC]: Likewise.
7259 * string/bits/string2.h [__USE_MISC]: Likewise.
7260 * string/string.h [__USE_MISC]: Likewise.
7261 * time/time.h [__USE_MISC]: Likewise.
7262
d6680619
AS
72632014-02-13 Andreas Schwab <schwab@suse.de>
7264
7265 [BZ #16574]
7266 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7267 second answer buffer if it was separately allocated.
7268
ace614b8
JM
72692014-02-12 Joseph Myers <joseph@codesourcery.com>
7270
743151ae
JM
7271 * sysdeps/mips/math-tests.h: Include <features.h>.
7272 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7273 (ROUNDING_TESTS_long_double): Do not define.
7274 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7275 (EXCEPTION_TESTS_long_double): Likewise.
7276 * sysdeps/mips/mips64/libm-test-ulps: Update.
7277
498afc54
JM
7278 * include/features.h (__USE_BSD): Remove macro definitions.
7279 (__USE_SVID): Likewise.
7280 (_BSD_SOURCE): Likewise.
7281 (_SVID_SOURCE): Likewise.
7282 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7283 from definition of _DEFAULT_SOURCE.
7284 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7285 [_DEFAULT_SOURCE].
7286 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7287 * bits/mman.h [__USE_BSD]: Likewise.
7288 * bits/termios.h [__USE_BSD]: Likewise.
7289 * bits/waitstatus.h [__USE_BSD]: Likewise.
7290 * ctype/ctype.h [__USE_SVID]: Likewise.
7291 * dirent/dirent.h [__USE_BSD]: Likewise.
7292 * grp/grp.h [__USE_SVID]: Likewise.
7293 [__USE_BSD]: Likewise.
7294 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7295 * io/fcntl.h [__USE_BSD]: Likewise.
7296 * io/ftw.h [__USE_BSD]: Likewise.
7297 * io/sys/stat.h [__USE_BSD]: Likewise.
7298 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7299 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7300 * libio/stdio.h [__USE_SVID]: Likewise.
7301 [__USE_BSD]: Likewise.
7302 * math/math.h [__USE_SVID]: Likewise.
7303 [__USE_BSD]: Likewise.
7304 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7305 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7306 * misc/search.h [__USE_SVID]: Likewise.
7307 * misc/sys/mman.h [__USE_BSD]: Likewise.
7308 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7309 * misc/sys/uio.h [__USE_BSD]: Likewise.
7310 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7311 * posix/glob.h [__USE_BSD]: Likewise.
7312 * posix/regex.h [__USE_BSD]: Likewise.
7313 * posix/sys/types.h [__USE_BSD]: Likewise.
7314 [__USE_SVID]: Likewise.
7315 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7316 * posix/sys/wait.h [__USE_BSD]: Likewise.
7317 [__USE_SVID]: Likewise.
7318 * posix/unistd.h [__USE_BSD]: Likewise.
7319 [__USE_SVID]: Likewise.
7320 * pwd/pwd.h [__USE_SVID]: Likewise.
7321 * resolv/netdb.h [__USE_BSD]: Likewise.
7322 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7323 * signal/signal.h [__USE_BSD]: Likewise.
7324 [__USE_SVID]: Likewise.
7325 * socket/sys/socket.h [__USE_BSD]: Likewise.
7326 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7327 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7328 [__USE_SVID]: Likewise.
7329 * string/bits/string2.h [__USE_BSD]: Likewise.
7330 [__USE_SVID]: Likewise.
7331 * string/bits/string3.h [__USE_BSD]: Likewise.
7332 * string/endian.h [__USE_BSD]: Likewise.
7333 * string/string.h [__USE_SVID]: Likewise.
7334 [__USE_BSD]: Likewise.
7335 * string/strings.h [__USE_BSD]: Likewise.
7336 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7337 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7338 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7339 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7340 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7341 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7342 Likewise.
7343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7344 Likewise.
7345 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7346 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7347 Likewise.
7348 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7349 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7350 Likewise.
7351 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7352 Likewise.
7353 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7354 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7355 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7356 Likewise.
7357 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7358 Likewise.
7359 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7360 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7361 * termios/termios.h [__USE_BSD]: Likewise.
7362 * time/sys/time.h [__USE_BSD]: Likewise.
7363 * time/time.h [__USE_BSD]: Likewise.
7364 [__USE_SVID]: Likewise.
7365
dd7b064c
JM
7366 * Makefile (subdir_targets): Remove subdir_lint.out.
7367
a2c4c199
JM
7368 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7369 (do-tst-printf): Likewise.
7370 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7371 $(objpfx)tst-printf.out.
7372
8756f740
JM
7373 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7374
1b6dd3f1
JM
7375 * Makerules (check-abi-%): Change target to
7376 $(objpfx)check-abi-%.out.
7377 (check-abi target): Update dependencies.
7378 (check-abi-pattern variable): Redirect output of diff to $@.
7379 (check-abi variable): Likewise.
7380 * elf/Makefile (check-abi): Update dependencies.
7381
ace614b8
JM
7382 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7383 unused.
7384 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7385 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7386 subnormal range.
7387 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7388 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7389 value has largest subnormal exponent.
7390 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7391 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7392 * sysdeps/aarch64/soft-fp/sfp-machine.h
7393 (_FP_TININESS_AFTER_ROUNDING): New macro.
7394 * sysdeps/alpha/soft-fp/sfp-machine.h
7395 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7396 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7397 Likewise.
7398 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7399 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7400 * sysdeps/mips/soft-fp/sfp-machine.h
7401 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7402 * sysdeps/powerpc/soft-fp/sfp-machine.h
7403 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7404 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7405 Likewise.
7406 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7407 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7408 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7409 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7410 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7411 Likewise.
7412
fbfdf9cb
DAS
74132014-02-12 Dylan Alex Simon <dylan@dylex.net>
7414
7415 [BZ #16545]
7416 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7417 model 1.
7418
68b7efaa
RH
74192014-02-12 Richard Henderson <rth@redhat.com>
7420
c70a4b1d 7421 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
7422 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7423 * sysdeps/unix/sysv/linux/alpha: Move directory from
7424 ports/sysdeps/unix/sysv/linux/alpha.
7425 * README: Update listing for alpha-*-linux-gnu.
7426
cb4a2928
JM
74272014-02-11 Joseph Myers <joseph@codesourcery.com>
7428
c941736c
JM
7429 * include/features.h: Update comment documenting feature test
7430 macros.
7431 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7432 _DEFAULT_SOURCE.
7433 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7434 (_SVID_SOURCE): Likewise.
7435 (_DEFAULT_SOURCE): Update description of default features.
7436 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7437 with _GNU_SOURCE.
7438 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7439 (S_ISVTX): Likewise.
7440 * manual/math.texi (Mathematical Constants): Likewise.
7441 * manual/signal.texi (Interrupted Primitives): Likewise.
7442 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7443 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7444 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7445 Don't refer to _SVID_SOURCE in warning text.
7446
e8d8d7ec
JM
7447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7448
cb4a2928
JM
7449 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7450 already defined.
7451 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7452 * sysdeps/mips/dl-lookup.c: Remove.
7453 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7454
7e6424e3
AK
74552014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7456
7457 [BZ #16447]
7458 * math/auto-libm-test-in: Add testcase for expl.
7459 * math/auto-libm-test-out: Regenerate.
7460 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7461 calculation of unsafe.
7462 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7463
75eff3fe
MS
74642014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7465
7466 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7467 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7468 ports/sysdeps/unix/sysv/linux/aarch64.
7469 * README: Update listing for aarch64*-*-linux-gnu.
7470
d35f1e80
WN
74712014-02-11 Will Newton <will.newton@linaro.org>
7472
7473 * manual/probes.texi (Mathematical Function Probes): Use
7474 "triggered" instead of "hit".
7475
7b3436d4
WN
7476 * manual/probes.texi (Internal Probes): Add documentation
7477 of setjmp, longjmp and longjmp_target probes.
7478
b4f12ca3
WN
7479 * include/stap-probe.h: Add comment about probe argument
7480 format.
7481
c13a72b7
WN
7482 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7483 definition. (tr_where, tr_freehook, tr_mallochook,
7484 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7485
195b8165
DM
74862014-02-11 David S. Miller <davem@davemloft.net>
7487
7488 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7489 processing int_tests.
7490
2ad7600b
JM
74912014-02-10 Joseph Myers <joseph@codesourcery.com>
7492
7493 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7494 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7495 * sysdeps/unix/sysv/linux/mips: Move directory from
7496 ports/sysdeps/unix/sysv/linux/mips.
7497 * README: Update listing for mips-*-linux-gnu and
7498 mips64-*-linux-gnu.
7499
73588a72
AS
75002014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7501
7502 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7503 * sysdeps/unix/sysv/linux/m68k: Move directory from
7504 ports/sysdeps/unix/sysv/linux/m68k.
7505 * README: Update listing for m68k-*-linux-gnu.
7506
4372980f
CM
75072014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7508
7509 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7510 * sysdeps/unix/sysv/linux/generic: Move directory from
7511 ports/sysdeps/unix/sysv/linux/generic.
7512 * sysdeps/unix/sysv/linux/tile: Move directory from
7513 ports/sysdeps/unix/sysv/linux/tile.
7514 * README: Update listing for tile*-*-linux-gnu.
7515
a1ffb40e
OB
75162014-02-10 Ondřej Bílka <neleai@seznam.cz>
7517
57f41c40
AS
7518 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7519 __builtin_expect.
a1ffb40e
OB
7520 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7521 * catgets/open_catalog.c (__open_catalog): Likewise.
7522 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7523 * debug/confstr_chk.c: Likewise.
7524 * debug/fread_chk.c (__fread_chk): Likewise.
7525 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7526 * debug/getgroups_chk.c: Likewise.
7527 * debug/mbsnrtowcs_chk.c: Likewise.
7528 * debug/mbsrtowcs_chk.c: Likewise.
7529 * debug/mbstowcs_chk.c: Likewise.
7530 * debug/memcpy_chk.c: Likewise.
7531 * debug/memmove_chk.c: Likewise.
7532 * debug/mempcpy_chk.c: Likewise.
7533 * debug/memset_chk.c: Likewise.
7534 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7535 * debug/strcat_chk.c (__strcat_chk): Likewise.
7536 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7537 * debug/strncat_chk.c (__strncat_chk): Likewise.
7538 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7539 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7540 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7541 * debug/wcpncpy_chk.c: Likewise.
7542 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7543 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7544 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7545 * debug/wcsncpy_chk.c: Likewise.
7546 * debug/wcsnrtombs_chk.c: Likewise.
7547 * debug/wcsrtombs_chk.c: Likewise.
7548 * debug/wcstombs_chk.c: Likewise.
7549 * debug/wmemcpy_chk.c: Likewise.
7550 * debug/wmemmove_chk.c: Likewise.
7551 * debug/wmempcpy_chk.c: Likewise.
7552 * debug/wmemset_chk.c: Likewise.
7553 * dirent/scandirat.c (SCANDIRAT): Likewise.
7554 * dlfcn/dladdr1.c (dladdr1): Likewise.
7555 * dlfcn/dladdr.c (dladdr): Likewise.
7556 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7557 * dlfcn/dlerror.c (__dlerror): Likewise.
7558 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7559 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7560 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7561 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7562 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7563 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7564 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7565 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7566 Likewise.
7567 * elf/dl-conflict.c: Likewise.
7568 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7569 * elf/dl-dst.h: Likewise.
7570 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7571 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7572 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7573 * elf/dl-init.c (call_init, _dl_init): Likewise.
7574 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7575 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7576 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7577 Likewise.
a1ffb40e
OB
7578 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7579 Likewise.
7580 * elf/dl-minimal.c (__libc_memalign): Likewise.
7581 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7582 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7583 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7584 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7585 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7586 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7587 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7588 * elf/dl-writev.h (_dl_writev): Likewise.
7589 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7590 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7591 (dl_main): Likewise.
a1ffb40e
OB
7592 * elf/setup-vdso.h (setup_vdso): Likewise.
7593 * grp/compat-initgroups.c (compat_call): Likewise.
7594 * grp/fgetgrent.c (fgetgrent): Likewise.
7595 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7596 * grp/putgrent.c (putgrent): Likewise.
7597 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7598 Likewise.
7599 * hurd/hurdinit.c: Likewise.
7600 * iconvdata/8bit-gap.c (struct): Likewise.
7601 * iconvdata/ansi_x3.110.c : Likewise.
7602 * iconvdata/big5.c : Likewise.
7603 * iconvdata/big5hkscs.c : Likewise.
7604 * iconvdata/cp1255.c: Likewise.
7605 * iconvdata/cp1258.c : Likewise.
7606 * iconvdata/cp932.c : Likewise.
7607 * iconvdata/euc-cn.c: Likewise.
7608 * iconvdata/euc-jisx0213.c : Likewise.
7609 * iconvdata/euc-jp.c: Likewise.
7610 * iconvdata/euc-jp-ms.c : Likewise.
7611 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7612 * iconvdata/gb18030.c : Likewise.
7613 * iconvdata/gbbig5.c (const): Likewise.
7614 * iconvdata/gbgbk.c: Likewise.
7615 * iconvdata/gbk.c : Likewise.
7616 * iconvdata/ibm1364.c : Likewise.
7617 * iconvdata/ibm930.c : Likewise.
7618 * iconvdata/ibm932.c: Likewise.
7619 * iconvdata/ibm933.c : Likewise.
7620 * iconvdata/ibm935.c : Likewise.
7621 * iconvdata/ibm937.c : Likewise.
7622 * iconvdata/ibm939.c : Likewise.
7623 * iconvdata/ibm943.c: Likewise.
7624 * iconvdata/iso_11548-1.c: Likewise.
7625 * iconvdata/iso-2022-cn.c : Likewise.
7626 * iconvdata/iso-2022-cn-ext.c : Likewise.
7627 * iconvdata/iso-2022-jp-3.c: Likewise.
7628 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7629 * iconvdata/iso-2022-kr.c : Likewise.
7630 * iconvdata/iso646.c (gconv_end): Likewise.
7631 * iconvdata/iso_6937-2.c : Likewise.
7632 * iconvdata/iso_6937.c : Likewise.
7633 * iconvdata/iso8859-1.c: Likewise.
7634 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7635 * iconvdata/shift_jisx0213.c : Likewise.
7636 * iconvdata/sjis.c : Likewise.
7637 * iconvdata/t.61.c : Likewise.
7638 * iconvdata/tcvn5712-1.c : Likewise.
7639 * iconvdata/tscii.c: Likewise.
7640 * iconvdata/uhc.c : Likewise.
7641 * iconvdata/unicode.c (gconv_end): Likewise.
7642 * iconvdata/utf-16.c (gconv_end): Likewise.
7643 * iconvdata/utf-32.c (gconv_end): Likewise.
7644 * iconvdata/utf-7.c (base64): Likewise.
7645 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7646 * iconv/gconv_close.c (__gconv_close): Likewise.
7647 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7648 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7649 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7650 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7651 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7652 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7653 * iconv/iconv.c (iconv): Likewise.
7654 * iconv/iconv_close.c: Likewise.
7655 * iconv/loop.c (SINGLE): Likewise.
7656 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7657 * include/atomic.h: Likewise.
7658 * inet/inet6_option.c (option_alloc): Likewise.
7659 * intl/bindtextdom.c (set_binding_values): Likewise.
7660 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7661 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7662 * intl/localealias.c (read_alias_file): Likewise.
7663 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7664 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7665 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7666 * libio/fmemopen.c (fmemopen): Likewise.
7667 * libio/iofgets.c (_IO_fgets): Likewise.
7668 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7669 * libio/iofgetws.c (fgetws): Likewise.
7670 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7671 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7672 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7673 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7674 * locale/findlocale.c (_nl_find_locale): Likewise.
7675 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7676 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7677 Likewise.
7678 * locale/setlocale.c (setlocale): Likewise.
7679 * login/programs/pt_chown.c (main): Likewise.
7680 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7681 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7682 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7683 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7684 * math/e_exp2l.c: Likewise.
7685 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7686 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7687 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7688 * math/s_catan.c (__catan): Likewise.
7689 * math/s_catanf.c (__catanf): Likewise.
7690 * math/s_catanh.c (__catanh): Likewise.
7691 * math/s_catanhf.c (__catanhf): Likewise.
7692 * math/s_catanhl.c (__catanhl): Likewise.
7693 * math/s_catanl.c (__catanl): Likewise.
7694 * math/s_ccosh.c (__ccosh): Likewise.
7695 * math/s_ccoshf.c (__ccoshf): Likewise.
7696 * math/s_ccoshl.c (__ccoshl): Likewise.
7697 * math/s_cexp.c (__cexp): Likewise.
7698 * math/s_cexpf.c (__cexpf): Likewise.
7699 * math/s_cexpl.c (__cexpl): Likewise.
7700 * math/s_clog10.c (__clog10): Likewise.
7701 * math/s_clog10f.c (__clog10f): Likewise.
7702 * math/s_clog10l.c (__clog10l): Likewise.
7703 * math/s_clog.c (__clog): Likewise.
7704 * math/s_clogf.c (__clogf): Likewise.
7705 * math/s_clogl.c (__clogl): Likewise.
7706 * math/s_csin.c (__csin): Likewise.
7707 * math/s_csinf.c (__csinf): Likewise.
7708 * math/s_csinh.c (__csinh): Likewise.
7709 * math/s_csinhf.c (__csinhf): Likewise.
7710 * math/s_csinhl.c (__csinhl): Likewise.
7711 * math/s_csinl.c (__csinl): Likewise.
7712 * math/s_csqrt.c (__csqrt): Likewise.
7713 * math/s_csqrtf.c (__csqrtf): Likewise.
7714 * math/s_csqrtl.c (__csqrtl): Likewise.
7715 * math/s_ctan.c (__ctan): Likewise.
7716 * math/s_ctanf.c (__ctanf): Likewise.
7717 * math/s_ctanh.c (__ctanh): Likewise.
7718 * math/s_ctanhf.c (__ctanhf): Likewise.
7719 * math/s_ctanhl.c (__ctanhl): Likewise.
7720 * math/s_ctanl.c (__ctanl): Likewise.
7721 * math/w_pow.c: Likewise.
7722 * math/w_powf.c: Likewise.
7723 * math/w_powl.c: Likewise.
7724 * math/w_scalb.c (sysv_scalb): Likewise.
7725 * math/w_scalbf.c (sysv_scalbf): Likewise.
7726 * math/w_scalbl.c (sysv_scalbl): Likewise.
7727 * misc/error.c (error_tail): Likewise.
7728 * misc/pselect.c (__pselect): Likewise.
7729 * nis/nis_callback.c (__nis_create_callback): Likewise.
7730 * nis/nis_call.c (__nisfind_server): Likewise.
7731 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7732 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7733 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7734 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7735 * nis/nis_lookup.c (nis_lookup): Likewise.
7736 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7737 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7738 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7739 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7740 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7741 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7742 * nis/nss_compat/compat-initgroups.c (add_group)
7743 (internal_getgrent_r): Likewise.
7744 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7745 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7746 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7747 (internal_getspnam_r): Likewise.
7748 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7749 (_nss_nis_getaliasbyname_r): Likewise.
7750 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7751 (_nss_nis_getntohost_r): Likewise.
7752 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7753 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7754 (_nss_nis_getgrgid_r): Likewise.
7755 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7756 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7757 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7758 (_nss_nis_gethostbyname4_r): Likewise.
7759 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7760 (initgroups_netid): Likewise.
a1ffb40e 7761 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7762 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7763 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7764 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7765 (_nss_nis_getprotobynumber_r): Likewise.
7766 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7767 (_nss_nis_getsecretkey): Likewise.
7768 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7769 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7770 (_nss_nis_getpwuid_r): Likewise.
7771 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7772 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7773 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7774 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7775 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7776 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7777 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7778 Likewise.
57f41c40
AS
7779 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7780 (_nss_nisplus_getntohost_r): Likewise.
7781 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7782 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7783 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7784 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7785 Likewise.
57f41c40
AS
7786 * nis/nss_nisplus/nisplus-initgroups.c
7787 (_nss_nisplus_initgroups_dyn): Likewise.
7788 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7789 (_nss_nisplus_getnetbyaddr_r): Likewise.
7790 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7791 (_nss_nisplus_getprotobynumber_r): Likewise.
7792 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7793 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7794 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7795 Likewise.
57f41c40
AS
7796 * nis/nss_nisplus/nisplus-service.c
7797 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7798 (_nss_nisplus_getservbyport_r): Likewise.
7799 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7800 (_nss_nisplus_getspnam_r): Likewise.
7801 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7802 Likewise.
a1ffb40e
OB
7803 * nscd/aicache.c (addhstaiX): Likewise.
7804 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7805 * nscd/connections.c (register_traced_file, send_ro_fd)
7806 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7807 (main_loop_epoll): Likewise.
a1ffb40e
OB
7808 * nscd/grpcache.c (addgrbyX): Likewise.
7809 * nscd/hstcache.c (addhstbyX): Likewise.
7810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7811 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7812 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7813 (addinnetgrX): Likewise.
7814 * nscd/nscd-client.h (__nscd_acquire_maplock)
7815 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7816 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7817 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7818 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7819 Likewise.
7820 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7822 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7823 (__nscd_get_map_ref): Likewise.
a1ffb40e 7824 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7825 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7826 Likewise.
a1ffb40e
OB
7827 * nscd/pwdcache.c (addpwbyX): Likewise.
7828 * nscd/selinux.c (preserve_capabilities): Likewise.
7829 * nscd/servicescache.c (addservbyX): Likewise.
7830 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7831 * posix/fnmatch.c (fnmatch): Likewise.
7832 * posix/getopt.c (_getopt_internal_r): Likewise.
7833 * posix/glob.c (glob, glob_in_dir): Likewise.
7834 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7835 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7836 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7837 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7838 * resolv/res_init.c: Likewise.
7839 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7840 * resolv/res_query.c (__libc_res_nquery): Likewise.
7841 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7842 Likewise.
7843 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7844 * stdio-common/perror.c (perror): Likewise.
7845 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7846 * stdio-common/tmpnam.c (tmpnam): Likewise.
7847 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7848 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7849 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7850 Likewise.
a1ffb40e
OB
7851 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7852 * stdlib/putenv.c (putenv): Likewise.
7853 * stdlib/setenv.c (__add_to_environ): Likewise.
7854 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7855 * stdlib/strtol_l.c (INTERNAL): Likewise.
7856 * string/memmem.c (memmem): Likewise.
7857 * string/strerror.c (strerror): Likewise.
7858 * string/strnlen.c (__strnlen): Likewise.
7859 * string/test-memmem.c (simple_memmem): Likewise.
7860 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7861 * sunrpc/pm_getport.c (__get_socket): Likewise.
7862 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7863 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7864 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7865 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7866 Likewise.
7867 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7869 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7870 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7871 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7872 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7873 Likewise.
7874 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7875 Likewise.
a1ffb40e
OB
7876 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7877 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7878 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7879 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7880 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7882 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7883 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7884 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7885 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7886 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7887 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7888 Likewise.
7889 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7890 Likewise.
7891 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7892 Likewise.
7893 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7895 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7896 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7897 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7898 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7899 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7906 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7908 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7909 Likewise.
a1ffb40e
OB
7910 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7911 Likewise.
7912 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7913 Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7915 Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7918 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7919 Likewise.
7920 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7921 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7922 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7923 * sysdeps/posix/sleep.c: Likewise.
7924 * sysdeps/posix/tempname.c: Likewise.
7925 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7926 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7927 Likewise.
57f41c40
AS
7928 * sysdeps/powerpc/powerpc32/dl-machine.h
7929 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7930 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7932 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7933 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7934 Likewise.
7935 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7937 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7938 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7939 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7940 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7941 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7942 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7943 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7944 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7946 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7947 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7949 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7950 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7951 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7952 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7953 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7954 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7955 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7956 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7958 Likewise.
7959 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7960 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7961 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7962 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7963 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7964 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7965 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7966 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7967 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7968 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7969 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7970 Likewise.
7971 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7972 (__posix_fallocate64_l64): Likewise.
7973 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7974 (posix_fallocate): Likewise.
57f41c40
AS
7975 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7976 Likewise.
a1ffb40e 7977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7978 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7979 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7980 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7981 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7982 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7983 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7984 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7985 (__posix_fallocate64_l64): Likewise.
7986 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7987 Likewise.
7988 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7989 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7990 (__get_clockfreq): Likewise.
a1ffb40e
OB
7991 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7992 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7993 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7996 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7997 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7998 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7999 Likewise.
8000 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8001 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8002 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8003 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8004 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8005 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8006 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8007 Likewise.
8008 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8009 (posix_fallocate): Likewise.
8010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8011 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8012 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8013 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8014 (elf_machine_rela, elf_machine_rela_relative)
8015 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8016 * time/asctime.c (asctime_internal): Likewise.
8017 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8018 * time/tzset.c (__tzset_parse_tz): Likewise.
8019 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8020 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8021 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8022 * wcsmbs/wcsmbsload.h: Likewise.
8023
f3d338c9
OB
8024 [BZ #15894]
8025 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8026
57f41c40
AS
8027 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8028 (arena_get2): Remove THREAD_STATS conditionals.
8029 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8030 (__malloc_stats, int): Likewise.
bdfe308a 8031
d674667c
MF
80322014-02-08 Mike Frysinger <vapier@gentoo.org>
8033
8034 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8035 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8036
6349768c
MF
8037 * manual/setjmp.texi: Fix typos/grammar errors.
8038
0b7c7473
MF
8039 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8040 Only return early when n is <= 0. Delete unused return statement.
8041
ac8cc9e3
MF
8042 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8043 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8044 * debug/tst-longjmp_chk3.c: New file.
8045
c5bb8e23
MF
8046 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8047 (test_main): Replace code with set_fortify_handler call.
8048 * debug/test-strcpy_chk.c: Likewise.
8049 * debug/tst-chk1.c: Likewise.
8050 * debug/tst-longjmp_chk.c: Likewise.
8051 * test-skeleton.c: Include fcntl.h & paths.h
8052 (set_fortify_handler): Define.
8053
10444e42
MF
8054 * debug/tst-longjmp_chk.c: Add header comment and include
8055 ../test-skeleton.c.
8056 (do_test): Mark static.
8057 (TEST_FUNCTION): Define.
8058
1e805e8d
MF
8059 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8060 (IP_PMTUDISC_INTERFACE): Likewise.
8061 (IP_MULTICAST_IF): Likewise.
8062 (IP_MULTICAST_TTL): Likewise.
8063 (IP_MULTICAST_LOOP): Likewise.
8064 (IP_ADD_MEMBERSHIP): Likewise.
8065 (IP_DROP_MEMBERSHIP): Likewise.
8066 (IP_UNBLOCK_SOURCE): Likewise.
8067 (IP_BLOCK_SOURCE): Likewise.
8068 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8069 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8070 (IP_MSFILTER): Likewise.
8071 (MCAST_JOIN_GROUP): Likewise.
8072 (MCAST_BLOCK_SOURCE): Likewise.
8073 (MCAST_UNBLOCK_SOURCE): Likewise.
8074 (MCAST_LEAVE_GROUP): Likewise.
8075 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8076 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8077 (MCAST_MSFILTER): Likewise.
8078 (IP_MULTICAST_ALL): Likewise.
8079 (IP_UNICAST_IF): Likewise.
8080
73f79bb7
MF
8081 * timezone/Makefile: Delete $(have-ksh) check.
8082 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8083 * timezone/tzselect.ksh: Add +x mode bits.
8084
8da79b60
MF
8085 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8086 (ANON_INODE_FS_MAGIC): Likewise.
8087 (BDEVFS_MAGIC): Likewise.
8088 (BINFMTFS_MAGIC): Likewise.
8089 (BTRFS_TEST_MAGIC): Likewise.
8090 (CRAMFS_MAGIC_WEND): Likewise.
8091 (DEBUGFS_MAGIC): Likewise.
8092 (ECRYPTFS_SUPER_MAGIC): Likewise.
8093 (EXT3_SUPER_MAGIC): Likewise.
8094 (EXT4_SUPER_MAGIC): Likewise.
8095 (FUTEXFS_SUPER_MAGIC): Likewise.
8096 (HOSTFS_SUPER_MAGIC): Likewise.
8097 (HUGETLBFS_MAGIC): Likewise.
8098 (MINIX3_SUPER_MAGIC): Likewise.
8099 (MTD_INODE_FS_MAGIC): Likewise.
8100 (NILFS_SUPER_MAGIC): Likewise.
8101 (OPENPROM_SUPER_MAGIC): Likewise.
8102 (PIPEFS_MAGIC): Likewise.
8103 (PSTOREFS_MAGIC): Likewise.
8104 (QNX6_SUPER_MAGIC): Likewise.
8105 (RAMFS_MAGIC): Likewise.
8106 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8107 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8108 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8109 (SECURITYFS_MAGIC): Likewise.
8110 (SELINUX_MAGIC): Likewise.
8111 (SMACK_MAGIC): Likewise.
8112 (SOCKFS_MAGIC): Likewise.
8113 (SQUASHFS_MAGIC): Likewise.
8114 (STACK_END_MAGIC): Likewise.
8115 (TMPFS_MAGIC): Likewise.
8116 (USBDEVICE_SUPER_MAGIC): Likewise.
8117 (V9FS_MAGIC): Likewise.
8118 (XENFS_SUPER_MAGIC): Likewise.
8119 (CRAMFS_MAGIC): Fix typo in comment.
8120 (EXT2_SUPER_MAGIC): Update comment.
8121 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8122
464263cc
JM
81232014-02-08 Joseph Myers <joseph@codesourcery.com>
8124
c6bfe5c4
JM
8125 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8126 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8127 * sysdeps/unix/sysv/linux/arm: Move directory from
8128 ports/sysdeps/unix/sysv/linux/arm.
8129 * README: Update listing for arm-*-linux-gnueabi.
8130
464263cc
JM
8131 * README: Remove mention of am33.
8132
32749f6c
RM
81332014-02-07 Roland McGrath <roland@hack.frob.com>
8134
8135 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8136 than the comma operator, to avoid "rhs of comma has no effect"
8137 compiler warnings.
8138 (__sigfillset, __sigandset, __sigorset): Likewise.
8139 * include/signal.h (__sigemptyset): Likewise.
8140 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8141
d5b396c1
AM
81422014-02-07 Allan McRae <allan@archlinux.org>
8143
8144 * version.h (RELEASE): Set to "development".
8145 (VERSION): Set to "2.19.90"
8146 * NEWS: Add 2.20 section.
8147
3bfff2ed
CD
81482014-02-06 Carlos O'Donell <carlos@redhat.com>
8149
8150 [BZ #16529]
8151 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8152
ee7cc385
SP
81532014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8154
8155 * manual/contrib.texi: Update entry for Carlos O'Donell,
8156 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8157
f877c4f2
CD
81582014-02-05 Carlos O'Donell <carlos@rehdat.com>
8159
27e839f6
CD
8160 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8161
f877c4f2
CD
8162 * sysdeps/unix/sysv/linux/kernel-features.h
8163 [__LINUX_KERNEL_VERSION >= 0x020621]
8164 (__ASSUME_PROC_PID_TASK_COMM): Define.
8165
68159946
SP
81662014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8167
ba17cdbd
SP
8168 [BZ #16398]
8169 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8170 conversion when destination buffer does not have enough space.
8171 * libio/tst-ftell-partial-wide.c: New test case.
8172 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8173
68159946
SP
8174 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8175 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8176 Leonard and Allan McRae.
8177
2b528732
DM
81782014-02-04 David S. Miller <davem@davemloft.net>
8179
8180 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8181 32-bit.
8182
0ff82463
AZ
81832014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8184
57f41c40
AS
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8186 New file
c01603f7
AZ
8187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8188 New file
57f41c40
AS
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8190 New file.
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8192 New file.
c01603f7
AZ
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8194 New file.
57f41c40
AS
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8196 New file.
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8198 New file.
c01603f7
AZ
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8200 New file.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8202 New file.
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8204 New file.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8206 New file.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8208 New file.
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8210 New file.
8211
82122014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213
0ff82463
AZ
8214 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8215 * shlib-versions: Likewise.
8216
1695c773
AZ
82172014-02-04 Roland McGrath <roland@hack.frob.com>
8218 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8219
8220 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8221 (abilist-pattern): New variable, set to %-le.abilist.
8222
8223 * Makerules (abilist-pattern): New variable.
8224 (vpath): Use $(abilist-pattern) in place of %.abilist.
8225 (check-abi-% pattern rule): Likewise.
8226 (check-abi, update-abi): Likewise.
8227
6c0ce4b4
EW
82282014-02-04 Eric Wong <normalperson@yhbt.net>
8229
8230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8231
481e3524
CD
82322014-02-03 Carlos O'Donell <carlos@redhat.com>
8233
8234 * manual/startup.texi: Add next, previous, and top entries for
8235 the `Program Arguments' and `Environment Variables' nodes.
8236
375592d3
AO
82372014-02-03 Alexandre Oliva <aoliva@redhat.com>
8238
8239 * manual/macros.texi: Add comments before MTASC-safety macros.
8240
f54838ba
AO
8241 * manual/users.texi: Document MTASC-safety properties.
8242
57f41c40
AS
8243 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8244 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
8245 @deftypefun, and add @safety note.
8246 * manual/signal.texi: Move comments that analyze the above
8247 functions to their home place.
8248
fd3daba4
AM
82492014-02-03 Allan McRae <allan@archlinux.org>
8250
8251 * po/sl.po: Update Slovenian translation from translation project.
8252
597636d7
AO
82532014-02-02 Alexandre Oliva <aoliva@redhat.com>
8254
8255 * manual/time.texi (timegm): Add missing blank after @c.
8256 Reported by Joseph Myers <joseph@codesourcery.com>.
8257
ee196e3c
AO
82582014-02-01 Alexandre Oliva <aoliva@redhat.com>
8259
8260 * manual/check-safety.sh: New.
8261 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8262
f8d529d5
AO
8263 * manual/terminal.texi: Document MTASC-safety properties.
8264
de55fdf4
AO
8265 * manual/filesys.texi: Document MTASC-safety properties.
8266
c3299c08
AO
8267 * manual/errno.texi: Document MTASC-safety properties.
8268
06e90b14
AO
8269 * manual/intro.texi: Document safety identifiers and
8270 conditionals.
8271
1acd4371
AO
8272 * manual/string.texi (wcstok): Fix prototype.
8273 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8274
23e5b8cb
AO
8275 * manual/time.texi: Document MTASC-safety properties.
8276
11087373
AO
8277 * manual/string.texi: Document MTASC-safety properties.
8278
5da2c93d
AO
8279 * manual/threads.texi: Document MTASC-safety properties.
8280
171e9210
AO
8281 * manual/stdio.texi: Document MTASC-safety properties.
8282
d9e02532
AO
8283 * manual/syslog.texi: Document MTASC-safety properties.
8284
6af8bab7
AO
8285 * manual/sysinfo.texi: Document MTASC-safety properties.
8286
663b02d7
AO
8287 * manual/startup.texi: Document MTASC-safety properties.
8288
973f180b
AO
8289 * manual/socket.texi: Document MTASC-safety properties.
8290
8f3c25c8
AO
8291 * manual/signal.texi: Document MTASC-safety properties.
8292
542210fb
AO
82932014-01-31 Alexandre Oliva <aoliva@redhat.com>
8294
8295 * manual/setjmp.texi: Document MTASC-safety properties.
8296
433c45a2
AO
8297 * manual/search.texi: Document MTASC-safety properties.
8298
c8ce789c
AO
8299 * manual/resource.texi: Document MTASC-safety properties.
8300
19f5d29c
AO
8301 * manual/process.texi: Document MTASC-safety properties.
8302
e2dfb7f4
AO
8303 * manual/platform.texi: Document MTASC-safety properties.
8304
8c1413f5
AO
8305 * manual/pipe.texi: Document MTASC-safety properties.
8306
03483ada
AO
8307 * manual/pattern.texi: Document MTASC-safety properties.
8308
29e7e2df
AO
8309 * manual/message.texi: Document MTASC-safety properties.
8310
9f529d7c
AO
8311 [BZ #12751]
8312 * manual/memory.texi: Document MTASC-safety properties.
8313
27aaa791
AO
8314 * manual/math.texi: Document MTASC-safety properties.
8315
f2d58726
AO
8316 * manual/locale.texi: Document MTASC-safety properties.
8317
2cc3615c
AO
8318 * manual/llio.texi: Document MTASC-safety properties.
8319
d9f0ec97
AO
8320 * manual/libdl.texi: New.
8321
e7c4409a
AO
8322 * manual/lang.texi: Document MTASC-safety properties.
8323
27bdc63c
AO
8324 * manual/job.texi: Document MTASC-safety properties.
8325
a7b90ea9
AO
8326 * manual/getopt.texi: Document MTASC-safety properties.
8327
c49130e3
AO
8328 * manual/ctype.texi: Document MTASC-safety properties.
8329
0d23a5c1
MR
83302014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8331
8332 [BZ #16046]
8333 * csu/libc-tls.c (static_map): Remove variable.
8334 (__libc_setup_tls): Use main executable's link map for TLS data.
8335 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8336 casing for LM_ID_BASE and GL(dl_nns).
8337 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8338 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8339 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8340 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8341 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8342 member.
8343 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8344 l_phnum members.
8345
0037bb60
AO
83462014-01-30 Alexandre Oliva <aoliva@redhat.com>
8347
8348 * manual/debug.texi: Document MTASC-safety properties.
8349
409e00bd
L
83502014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8351
8352 [BZ #16510]
8353 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8354 of __x86_64__ when disabling x87 inline functions.
8355
86e60666
AO
83562014-01-29 Alexandre Oliva <aoliva@redhat.com>
8357
8358 * manual/charset.texi: Document MTASC-safety properties.
8359
76167637
AO
8360 * manual/crypt.texi: Document MTASC-safety properties.
8361
e567f2a0
AO
8362 * manual/conf.texi: Document MTASC-safety properties.
8363
b719dafd
AO
8364 * manual/arith.texi: Document MTASC-safety properties.
8365
4a16c662
AO
8366 * manual/argp.texi: Document MTASC-safety properties.
8367
0a57b83e
AO
8368 * manual/macros.texi: Introduce macros to document multi
8369 thread, asynchronous signal and asynchronous cancellation
8370 safety properties.
8371 * manual/intro.texi: Introduce the properties themselves.
8372
feab2397
KK
83732014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8374
8375 * sysdeps/sh/sh4/Makefile: New file.
8376
1c0d11bc
AS
83772014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8378
8379 * math/gen-libm-test.pl ($srcdir): New variable.
8380 ($auto_input): Use it.
8381
af37a8a3
SP
83822014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8383
d7b00f98
SP
8384 [BZ #16506]
8385 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8386 access beyond array bounds when parsing netgroups file.
8387
af37a8a3
SP
8388 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8389 the old buffer before realloc.
8390
0c00f062
AM
83912014-01-27 Allan McRae <allan@archlinux.org>
8392
8393 * po/fr.po: Update French translation from translation project.
8394
7d69a1b0
KK
83952014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8396
8397 * sysdeps/sh/libm-test-ulps: Regenerate.
8398
6e697ff7
DM
83992014-01-24 David S. Miller <davem@davemloft.net>
8400
8401 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8402
9cadb35c
KK
84032014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8404
8405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8406 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8407
5d41dadf
SP
84082013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8409
8410 [BZ #16474]
8411 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8412 string pointers after reallocation.
8413
0bad441c
KK
84142014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8415
8416 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8417 __SH4A__ instead of __SH_FPU_ANY__.
8418
7007c661
KK
84192014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8420
8421 * sysdeps/sh/fpu_control.h: New file.
8422 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8423 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8424 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8425 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8426 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8427 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8428 * sysdeps/sh/sys/ucontext.h: Remove.
8429 * sysdeps/sh/sys: Remove directory.
8430
0f0c35e4
AK
84312014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8432
8433 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8434 s390/sys/ucontext.h.
8435 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8436 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8437
4959e284
L
84382014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8439
8440 [BZ #15605]
8441 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8442
d98720e0
AZ
84432014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8444
8445 [BZ#16431]
8446 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8447 Adjust the vDSO correctly for internal calls.
8448 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8449
91cbd0bc
AM
84502014-01-20 Allan McRae <allan@archlinux.org>
8451
8452 * po/ca.po: Update Catalan translation from translation project.
8453
7a02cfad
MF
84542014-01-16 Mike Frysinger <vapier@gentoo.org>
8455
8456 * sysdeps/s390/sotruss-lib.c: New file.
8457
736c304a
AZ
84582014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8459
8460 [BZ#16430]
6e077ee5 8461 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8462 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8463 local calls issues by not having a PLT stub required for IFUNC calls.
8464 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8465
94d0cea0
JM
84662014-01-16 Joseph Myers <joseph@codesourcery.com>
8467
8468 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8469 * math/test-fpucw-static.c: Likewise.
8470
980cb518
SP
84712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8472
8473 [BZ #16453]
8474 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8475
2393fc01
AZ
84762014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8477
8478 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8479 implementation for powerpc.
8480
d359bcc2
OB
84812014-01-15 Ondřej Bílka <neleai@seznam.cz>
8482
8483 [BZ #14782]
8484 * sysdeps/posix/system.c (__libc_system): Do not enable
8485 asynchronous cancellation.
8486
7beb48cb
AK
84872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8488
8489 [BZ #16427]
8490 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8491 handling only for numbers special also in the IEEE case.
8492
c20d5bf5
AK
84932014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8494
8495 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8496
e83bd4ee
AM
84972014-01-11 Allan McRae <allan@archlinux.org>
8498
76d0ea69
AM
8499 * po/bg.po: Update Bulgarian translation from translation project.
8500
e83bd4ee
AM
8501 * po/de.po: Update German translation from translation project.
8502
bc2ba20a
RM
85032014-01-10 Roland McGrath <roland@hack.frob.com>
8504
8505 * sysdeps/generic/gcc-compat.h: New file.
8506
649ecea2
SP
85072014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8508
8509 * benchtests/asin-inputs: Correct slow inputs.
8510 * benchtests/acos-inputs: Likewise.
8511
1b19c006
AM
85122014-01-10 Allan McRae <allan@archlinux.org>
8513
a46dab08
AM
8514 * po:sv.po: Update Swedish translation from translation project.
8515
421df74a
AM
8516 * po/vi.po: Update Vietnamese translation from translation project.
8517
d61c51a7
AM
8518 * po/eo.po: Update Esperanto translation from translation project.
8519
0339a319
AM
8520 * po/cs.po: Update Czech translation from translation project.
8521
94ad3e99
AM
8522 * po/nl.po: Update Dutch translation from translation project.
8523
e349ca71
AM
8524 * po/pl.po: Update Polish translation from translation project.
8525
ddf930c1
AM
8526 * po/ru.po: Update Russian translation from translation project.
8527
1b19c006
AM
8528 * po/uk.po: Update Ukrainian translation from translation project.
8529
9f236c49
BM
85302014-01-08 Brooks Moses <bmoses@google.com>
8531
8532 * elf/dl-load.c: Fix comment typo.
8533
cd6701cf
CD
85342014-01-08 Carlos O'Donell <carlos@redhat.com>
8535
8536 * po/header.pot: Rename to...
8537 * po/pot.header: ... this.
8538 * po/Makefile: Use pot.header.
8539
66671c84
YK
85402014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8541 Maxim Kuvyrkov <maxim@kugelworks.com>
8542
8543 [BZ #16394]
cd6701cf
CD
8544 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8545 SRC and DEST against LEN.
66671c84 8546
38f34581
AZ
85472014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8548
8549 [BZ #16414]
8550 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8551 implementation.
8552 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8553
85542014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8555
8556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8557
4c327f2a
JM
85582014-01-08 Joseph Myers <joseph@codesourcery.com>
8559
8560 [BZ #16408]
8561 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8562 for large positive arguments.
8563
b821f414
JM
85642014-01-07 Joseph Myers <joseph@codesourcery.com>
8565
1f0f2067
JM
8566 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8567
a5a326f6
JM
8568 * math/auto-libm-test-in: Mark various tests with
8569 xfail-rounding:ldbl-128ibm.
8570 * math/auto-libm-test-out: Regenerated.
8571
b821f414
JM
8572 [BZ #16407]
8573 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8574 Increase overflow threshold.
8575
94c8a4bc
OB
85762014-01-07 Ondřej Bílka <neleai@seznam.cz>
8577
8578 [BZ #14286]
8579 * stdio-common/vfprintf.c: Check for integer overflow.
8580
87ded0c3
AK
85812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8582
8583 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8584 the first argument and return value of __tls_get_addr_internal.
8585
c5eebdd0
AK
85862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8587
8588 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8589 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8590
05d138ef
AK
85912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8592
8593 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8594 * sysdeps/s390/rtld-global-offsets.sym: New file.
8595 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8596 GLIBC_2.19 symbol.
8597 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8598 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8600 ... this.
8601 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8602 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8603 ... this.
8604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8605 Regenerate.
8606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8607 Regenerate.
8608 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8609 halfs of GPRs for high_gprs contexts.
8610 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8611 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8612 field.
8613 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8614 uc_flags field.
8615 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8616 64 bit versions:
8617 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8618 for high GPRs (uc_high_gprs) and for future extensions
8619 (__reserved).
8620 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8621 for future extensions (__reserved).
8622 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8623 64 bit versions:
8624 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8625 SC_HIGHGPRS offset definition.
8626 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8627 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8628
93a45ff1
AK
8629 * Versions.def: Add GLIBC_2.19 for libpthread.
8630 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8631 siglongjmp for libpthread with GLIBC_2.19 symver.
8632 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8633 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8634 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8635 * sysdeps/s390/__longjmp.c: New file.
8636 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8637 * sysdeps/s390/longjmp.c: New file.
8638 * sysdeps/s390/setjmp.S: New file.
8639 * sysdeps/s390/sigjmp.S: New file.
8640 * sysdeps/s390/v1-longjmp.c: New file.
8641 * sysdeps/s390/v1-setjmp.h: New file.
8642 * sysdeps/s390/v1-sigjmp.c: New file.
8643 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8644 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8645 GLIBC_2.19 version.
8646 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8647 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8648 versioned symbols for ____longjmp_chk.
8649 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8650 Likewise.
8651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8652 Regenerate.
8653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8654 Regenerate.
8655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8656 Regenerate.
8657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8658 Regenerate.
8659 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8660 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8661 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8662 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8663 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8664 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8665 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8666 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8667 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8668 * sysdeps/s390/rtld-__longjmp.c: New file.
8669 * sysdeps/s390/rtld-setjmp.S: New file.
8670
eb3fc44b
JM
86712014-01-06 Joseph Myers <joseph@codesourcery.com>
8672
8673 [BZ #16400]
8674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8675 Return -__logl (x) for small positive arguments without evaluating
8676 a polynomial.
8677
9341dde4
MF
86782014-01-06 Mike Frysinger <vapier@gentoo.org>
8679
8680 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8681 Rename to ...
8682 (__ptrace_peeksiginfo_args): ... this.
8683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8685 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8686
4cff0293
AM
86872014-01-06 Allan McRae <allan@archlinux.org>
8688
8689 * inet/netinet/in.h: Fix typo in comment.
8690
75595dcf
AJ
86912014-01-05 Andreas Jaeger <aj@suse.de>
8692
8693 * sysdeps/i386/fpu/libm-test-ulps: Update.
8694
79c1e109
AM
86952014-01-05 Allan McRae <allan@archlinux.org>
8696
dd804818
AM
8697 * po/libc.pot: Regenerated.
8698
79c1e109
AM
8699 * malloc/memusagestat.c: Fix gettext call formatting.
8700
0c813d1f
SK
87012014-01-04 Sami Kerola <kerolasa@iki.fi>
8702
8703 * nscd/nscd.c: Improve usage() output.
8704
20f4a8d9
MF
87052014-01-04 Mike Frysinger <vapier@gentoo.org>
8706
8707 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8708 * sysdeps/unix/sysv/linux/configure: Regenerated.
8709 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8710 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8711
22562bb2
JM
87122014-01-03 Joseph Myers <joseph@codesourcery.com>
8713
8714 [BZ #16390]
8715 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8716 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8717
d7ad2d9b
AZ
87182014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8719
8720 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8721 extra tokens at end of #undef directive.
8722 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8723 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8724 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8725
7dd009d8
JM
87262014-01-03 Joseph Myers <joseph@codesourcery.com>
8727
24db925a
JM
8728 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8729
7dd009d8
JM
8730 * math/auto-libm-test-in: Mark various tests with
8731 xfail-rounding:ldbl-128ibm.
8732 * math/auto-libm-test-out: Regenerated.
8733
396e3ecf
JM
87342014-01-02 Joseph Myers <joseph@codesourcery.com>
8735
819e5d50
JM
8736 [BZ #16386]
8737 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8738 numbers with subnormal high part when calculating exponent.
8739
90b6a1e5
JM
8740 [BZ #16385]
8741 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8742 fabs.
8743
396e3ecf
JM
8744 [BZ #16384]
8745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8746 M_LN2l.
8747 (__ieee754_acoshl): Use __log1pl not __log1p.
8748
6c8dbf00
OB
87492013-01-02 Ondřej Bílka <neleai@seznam.cz>
8750
57f41c40
AS
8751 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8752 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8753 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8754 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8755 (reused_arena, arena_get2): Convert to GNU style.
8756 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8757 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8758 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8759 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8760 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8761 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8762 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8763 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8764 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8765 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8766 * malloc/malloc.h: Likewise.
57f41c40
AS
8767 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8768 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8769 * malloc/mcheck.h: Likewise.
57f41c40
AS
8770 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8771 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8772 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8773 * malloc/morecore.c (__default_morecore): Likewise.
8774 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8775 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8776 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8777 (print_and_abort): Likewise.
6c8dbf00
OB
8778 * malloc/obstack.h: Likewise.
8779 * malloc/set-freeres.c (__libc_freeres): Likewise.
8780 * malloc/tst-mallocstate.c (main): Likewise.
8781 * malloc/tst-mtrace.c (main): Likewise.
8782 * malloc/tst-realloc.c (do_test): Likewise.
8783
d4124212
SP
87842013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8785
9a3c6a6f
SP
8786 [BZ #16366]
8787 * nscd/netgroupcache.c (do_notfound): New function.
8788 (addgetnetgrentX): Use it.
8789
d4124212
SP
8790 [BZ # 16365]
8791 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8792 NSS_STATUS_NOTFOUND.
8793
97b9a009
JM
87942014-01-01 Joseph Myers <joseph@codesourcery.com>
8795
8796 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8798
d4697bc9
AM
87992014-01-01 Allan McRae <allan@archlinux.org>
8800
ddb3687f
AM
8801 * scripts/update-copyrights: Update configure input file suffix.
8802
88726d48
AM
8803 * NEWS: Update copyright year.
8804 * catgets/gencat.c: Likewise.
8805 * csu/version.c: Likewise.
8806 * debug/catchsegv.sh: Likewise.
8807 * debug/pcprofiledump.c: Likewise.
8808 * debug/xtrace.sh: Likewise.
8809 * elf/ldconfig.c: Likewise.
8810 * elf/ldd.bash.in: Likewise.
8811 * elf/pldd.c: Likewise.
8812 * elf/sotruss.ksh: Likewise.
8813 * elf/sprof.c: Likewise.
8814 * iconv/iconv_prog.c: Likewise.
8815 * iconv/iconvconfig.c: Likewise.
8816 * locale/programs/locale.c: Likewise.
8817 * locale/programs/localedef.c: Likewise.
8818 * login/programs/pt_chown.c: Likewise.
8819 * malloc/memusage.sh: Likewise.
8820 * malloc/memusagestat.c: Likewise.
8821 * malloc/mtrace.pl: Likewise.
8822 * manual/libc.texinfo: Likewise.
8823 * nscd/nscd.c: Likewise.
8824 * nss/getent.c: Likewise.
8825 * nss/makedb.c: Likewise.
8826 * posix/getconf.c: Likewise.
8827 * scripts/test-installation.pl: Likewise.
8828
d4697bc9
AM
8829 * All files with FSF copyright notices: Update copyright dates
8830 using scripts/update-copyrights.
8831 * intl/plural.c: Regenerated.
8832 * locale/programs/charmap-kw.h: Likewise.
8833 * locale/programs/locfile-kw.h: Likewise.
8834
c8590f9d
MF
88352013-12-31 Mike Frysinger <vapier@gentoo.org>
8836
8837 * sysdeps/unix/sysv/linux/configure: Regenerated.
8838 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8839 the linux/fanotify.h header.
8840 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8841 HAVE_LINUX_FANOTIFY_H is defined.
8842
b19221b9
SP
88432013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8844
dd1d85e5
SP
8845 * benchtests/cos-inputs: New inputs.
8846 * benchtests/sin-inputs: Likewise.
8847
1acbb90f
SP
8848 * benchtests/atan-inputs: New inputs. Fix name of multiple
8849 precision fallback inputs.
8850
4c012ed3
SP
8851 * benchtests/atanh-inputs: New inputs.
8852 * benchtests/tanh-inputs: Likewise.
8853
eff98324
SP
8854 * benchtests/acosh-inputs: New inputs.
8855 * benchtests/asinh-inputs: Likewise.
8856
ce641152
SP
8857 * benchtests/cosh-inputs: New inputs.
8858 * benchtests/sinh-inputs: Likewise.
8859
b19221b9
SP
8860 * benchtests/acos-inputs: Add more inputs.
8861 * benchtests/asin-inputs: Likewise.
8862
030a4976 88632013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8864
030a4976 8865 [BZ #16375]
9dcc8f11
VS
8866 * manual/arith.texi: Fix spelling.
8867 * manual/charset.texi: Likewise.
8868 * manual/errno.texi: Likewise.
8869 * manual/filesys.texi: Likewise.
8870 * manual/lang.texi: Likewise.
8871 * manual/llio.texi: Likewise.
8872 * manual/locale.texi: Likewise.
8873 * manual/message.texi: Likewise.
8874 * manual/resource.texi: Likewise.
8875 * manual/search.texi: Likewise.
8876 * manual/setjmp.texi: Likewise.
8877 * manual/stdio.texi: Likewise.
8878 * manual/string.texi: Likewise.
8879 * manual/sysinfo.texi: Likewise.
8880 * manual/time.texi: Likewise.
8881
11520a57
CD
88822013-12-27 Carlos O'Donell <carlos@redhat.com>
8883
8884 * po/sl.po: New file.
8885
471103ae
MF
88862013-12-27 Mike Frysinger <vapier@gentoo.org>
8887
8888 * .gitignore: Add core/.gdbinit/.gdb_history.
8889
6c9642ed
AM
88902013-12-27 Allan McRae <allan@archlinux.org>
8891
8892 [BZ #16369]
8893 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8894 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8895
3f637079
BM
88962013-12-24 Brooks Moses <bmoses@google.com>
8897
8898 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8899 all compilers that claim C++98 compliance, not just GCC.
8900 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8901 Likewise.
8902
abc26e99
MK
89032013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8904
8905 * NEWS: Restore accidentally deleted bug-fix entries.
8906
362b47fe
MK
89072013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8908 Ondřej Bílka <neleai@seznam.cz>
8909
8910 [BZ #15073]
8911 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8912 have_lock.
362b47fe 8913
b9bcbbcb
OB
89142013-12-23 Ondřej Bílka <neleai@seznam.cz>
8915
8916 [BZ #12986]
8917 * manual/stdio.texi (String Input Conversions): Clarify that character
8918 classes are not supported.
8919
fb55fcd2
AZ
89202013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8921
8922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8923
ef7344f0
JM
89242013-12-22 Joseph Myers <joseph@codesourcery.com>
8925
4f40e4b3
JM
8926 [BZ #16337]
8927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8928 Calculate results for small negative arguments directly rather
8929 than using reflection formula with special underflow handling.
8930
ef7344f0
JM
8931 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8932 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8933 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8934 (fchflags): Likewise.
8935 (revoke): Likewise.
8936 (setlogin): Likewise.
8937 (sigaltstack): Likewise.
8938 (wait4): Likewise.
8939 (sigblock): Remove.
8940 (sigsetmask): Likewise.
8941 (wait3): Likewise.
8942 (waitpid): Likewise.
8943 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8944 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8945 file.
8946 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8947 * sysdeps/unix/bsd/Makefile: ... here.
8948 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8949 * sysdeps/unix/bsd/Versions: ... here.
8950 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8951 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8952 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8953 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8954 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8955 * sysdeps/unix/bsd/sigblock.c: ... here.
8956 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8957 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8958 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8959 * sysdeps/unix/bsd/sigvec.c: ... here.
8960 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8961 * sysdeps/unix/bsd/tcdrain.c: ... here.
8962 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8963 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8964 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8965 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8966 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8967 * sysdeps/unix/bsd/wait.c: ... here.
8968 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8969 * sysdeps/unix/bsd/wait3.c: ... here.
8970 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8971 * sysdeps/unix/bsd/waitpid.c: ... here.
8972
5b0626b9
JM
89732013-12-21 Joseph Myers <joseph@codesourcery.com>
8974
8975 [BZ #16356]
8976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8977 round-to-nearest for [!USE_AS_EXPM1L].
8978 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8979 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8980 more tests of exp and exp10. Expect some exp10 tests to miss
8981 exceptions or fail in directed rounding modes.
8982 * math/auto-libm-test-out: Regenerated.
8983 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8984 (exp10_test_tonearest): New function.
8985 (exp10_towardzero_test_data): New array.
8986 (exp10_test_towardzero): New function.
8987 (exp10_downward_test_data): New array.
8988 (exp10_test_downward): New function.
8989 (exp10_upward_test_data): New array.
8990 (exp10_test_upward): New function.
8991 (main): Call the new functions.
8992 * sysdeps/i386/fpu/libm-test-ulps: Update.
8993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8994
7fda5682
JM
89952013-12-20 Joseph Myers <joseph@codesourcery.com>
8996
31e3a405
JM
8997 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8998 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8999 * math/auto-libm-test-out: Regenerated.
9000 * math/libm-test.inc (acosh_test_data): Add more tests.
9001 (atanh_test_data): Likewise.
9002 (ceil_test_data): Likewise.
9003 (copysign_test_data): Likewise.
9004 * sysdeps/i386/fpu/libm-test-ulps: Update.
9005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9006
85bff96a
JM
9007 * timezone/checktab.awk: Update from tzcode 2013i.
9008 * timezone/private.h: Likewise.
9009 * timezone/scheck.c: Likewise.
9010 * timezone/tzfile.h: Likewise.
9011 * timezone/tzselect.ksh: Likewise.
9012 * timezone/zdump.c: Likewise.
9013 * timezone/zic.c: Likewise.
9014
b7867a3b
JM
9015 * math/auto-libm-test-in: Add tests of cpow.
9016 * math/auto-libm-test-out: Regenerated.
9017 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 9018 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9019 mpc_cc_c.
9020 (func_calc_desc): Add mpc_cc_c union field.
9021 (test_functions): Add cpow.
9022 (special_fill_2pi): New function.
9023 (special_real_inputs): Add 2pi.
9024 (calc_generic_results): Handle mpc_cc_c.
9025 * sysdeps/i386/fpu/libm-test-ulps: Update.
9026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9027
7fda5682
JM
9028 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9029 csqrt, ctan and ctanh.
9030 * math/auto-libm-test-out: Regenerated.
9031 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9032 (TEST_COND_x86): Likewise.
9033 (ccos_test_data): Use AUTO_TESTS_c_c.
9034 (ccosh_test_data): Likewise.
9035 (cexp_test_data): Likewise.
9036 (clog_test_data): Likewise.
9037 (csqrt_test_data): Likewise.
9038 (ctan_test_data): Likewise.
9039 (ctan_tonearest_test_data): Likewise.
9040 (ctan_towardzero_test_data): Likewise.
9041 (ctan_downward_test_data): Likewise.
9042 (ctan_upward_test_data): Likewise.
9043 (ctanh_test_data): Likewise.
9044 (ctanh_tonearest_test_data): Likewise.
9045 (ctanh_towardzero_test_data): Likewise.
9046 (ctanh_downward_test_data): Likewise.
9047 (ctanh_upward_test_data): Likewise.
9048 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9049 mpc_c_c.
9050 (func_calc_desc): Add mpc_c_c union field.
9051 (FUNC_mpc_c_c): New macro.
9052 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9053 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9054 ctanh.
9055 (special_fill_min_subnorm_p120): New function.
9056 (special_real_inputs): Add min_subnorm_p120.
9057 (calc_generic_results): Handle mpc_c_c.
9058 * sysdeps/i386/fpu/libm-test-ulps: Update.
9059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9060
5ff8d60e
SP
90612013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9062
57f41c40
AS
9063 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9064 (do_sin_slow): New functions.
9065 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9066 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9067
84ba214c
SP
9068 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9069 Use M to change sign of result instead of X. Assume X is
9070 positive.
9071 (csloww1): Likewise.
9072 (__sin): Adjust.
9073 (__cos): Adjust.
9074
975195e4
SP
9075 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9076 arguments A and DA.
9077 (__sin): Adjust.
9078 (__cos): Likewise.
9079
5ff8d60e
SP
9080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9081 (__cos): Likewise.
9082 (sloww1): Don't adjust sign of DX.
9083 (csloww1): Likewise.
9084 (sloww2): Use X directly and don't adjust sign of DX.
9085 (csloww2): Likewise.
9086
eb983568
JM
90872013-12-19 Joseph Myers <joseph@codesourcery.com>
9088
64a17f1a
JM
9089 * math/auto-libm-test-in: Add tests of cabs and carg.
9090 * math/auto-libm-test-out: Regenerated.
9091 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9092 (carg_test_data): Likewise.
9093 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9094 mpc_c_f.
9095 (func_calc_desc): Add mpc_c_f union field.
9096 (test_functions): Add cabs and carg.
9097 (calc_generic_results): Handle mpc_c_f.
9098
eb983568
JM
9099 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9100 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9101 as a macro and a compat symbol.
9102 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9103 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9104 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9105 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9106 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9107 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9108 not use .hidden.
9109 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9110 Likewise.
9111 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9112 Likewise.
9113 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9114 Likewise.
9115 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9116 Likewise.
9117 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9118 Likewise.
9119 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9120 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9121 from GLIBC_2.3.2.
9122
6eeb678a
AZ
91232013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9124
9125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9126
6f6fc482
JM
91272013-12-19 Joseph Myers <joseph@codesourcery.com>
9128
21fea2e2
JM
9129 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9130 trailing whitespace removed.
9131 * scripts/config.guess: Update to version 2013-11-29.
9132 * scripts/config.sub: Update to version 2013-10-01.
9133
6f6fc482
JM
9134 * math/auto-libm-test-in: Add tests of sincos.
9135 * math/auto-libm-test-out: Regenerated.
9136 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9137 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9138 mpfr_f_11.
9139 (func_calc_desc): Add mpfr_f_11 union field.
9140 (test_functions): Add sincos.
9141 (calc_generic_results): Handle mpfr_f_11.
9142 * sysdeps/i386/fpu/libm-test-ulps: Update.
9143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9144
83f5c32d
AS
91452013-12-19 Andreas Schwab <schwab@suse.de>
9146
9147 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9148 CALL_MCOUNT.
9149 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9150 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9151 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9152
c688b419
JM
91532013-12-19 Joseph Myers <joseph@codesourcery.com>
9154
335ee092
JM
9155 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9156 * sysdeps/i386/fpu/libm-test-ulps: Update.
9157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9158
f88acd39
JM
9159 [BZ #16293]
9160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9161 round-to-nearest mode when using frndint.
9162 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9163 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9164 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9165 Likewise.
9166 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9167 sinh test to fail.
9168 * math/auto-libm-test-out: Regenerated.
9169 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9170 (TEST_COND_x86): Likewise.
9171 (expm1_tonearest_test_data): New array.
9172 (expm1_test_tonearest): New function.
9173 (expm1_towardzero_test_data): New array.
9174 (expm1_test_towardzero): New function.
9175 (expm1_downward_test_data): New array.
9176 (expm1_test_downward): New function.
9177 (expm1_upward_test_data): New array.
9178 (expm1_test_upward): New function.
9179 (main): Run the new test functions.
9180 * sysdeps/i386/fpu/libm-test-ulps: Update.
9181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9182
c688b419
JM
9183 * include/features.h: Update comment documenting feature test
9184 macros. Mention _DEFAULT_SOURCE in comment.
9185 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9186 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9187 _BSD_SOURCE and _SVID_SOURCE.
9188 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9189 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9190 !_SVID_SOURCE]: Likewise.
9191 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9192 (__USE_POSIX_IMPLICITLY): Define.
9193 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9194 (_POSIX_SOURCE): Undefine and redefine.
9195 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9196 (_POSIX_C_SOURCE): Likewise.
9197 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9198 (Feature Test Macros): Update documentation of default features.
9199
9f6e964c
RS
92002013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9201
9202 * benchtests/Makefile: Add bench-strtok.
9203 * benchtests/bench-strtok.c: New file: strtok benchtest.
9204
ee0a148a
AM
92052013-12-19 Allan McRae <allan@archlinux.org>
9206
9207 * manual/install.texi: Suppress menu for plain text output.
9208 * INSTALL: Regenerated.
9209
b9ab448f
BM
92102013-12-18 Brooks Moses <bmoses@google.com>
9211
9212 [BZ #15846]
9213 * misc/getauxval.c: Include errno.h.
9214 (__getauxval): Set errno to ENOENT if the requested type is not
9215 found.
9216 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9217 don't declare with __attribute_const__.
9218 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9219 * manual/startup.texi: Document that getauxval sets errno.
9220
23776487
JM
92212013-12-18 Joseph Myers <joseph@codesourcery.com>
9222
f889953b
JM
9223 * math/auto-libm-test-in: Add tests of jn and yn.
9224 * math/auto-libm-test-out: Regenerated.
9225 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9226 (yn_test_data): Likewise.
9227 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9228 mpfr_if_f.
9229 (func_calc_desc): Add mpfr_if_f union field.
9230 (FUNC_mpfr_if_f): New macro.
9231 (test_functions): Add jn and yn.
9232 (calc_generic_results): Assert type of second input for
9233 mpfr_ff_f. Handle mpfr_if_f.
9234 (output_for_one_input_case): Disable all checking for arguments
9235 fitting floating-point types in case of an integer argument.
9236 * sysdeps/i386/fpu/libm-test-ulps: Update.
9237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9238
23776487
JM
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9240 Don't expect fegetround reference in libm.so.
9241
cb756c6d
MS
92422013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9243
9244 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9245 $(config-cflags-nofma).
9246
2dec468f
JM
92472013-12-18 Joseph Myers <joseph@codesourcery.com>
9248
5953eb3a
JM
9249 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9250 * math/auto-libm-test-out: Regenerated.
9251
2dec468f
JM
9252 [BZ #16338]
9253 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9254 to determine exponent and adjust argument to have exponent of -1.
9255 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9256 log2.
9257 * math/auto-libm-test-out: Regenerated.
9258 * sysdeps/i386/fpu/libm-test-ulps: Update.
9259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9260
4d84e6ad
OB
92612013-12-18 Ondřej Bílka <neleai@seznam.cz>
9262
9263 * manual/probes.texi: Remove cases when per-thread arenas are
9264 disabled.
9265
1818483b
AS
92662013-12-18 Andreas Schwab <schwab@suse.de>
9267
9268 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9269 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9270 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9271 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9272 * sysdeps/i386/i686/multiarch/Makefile: Update.
9273 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9274
25de95bf
JM
92752013-12-17 Joseph Myers <joseph@codesourcery.com>
9276
9277 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9278 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9279
674762d9
PE
92802013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9281
ed27ed83 9282 [BZ #15968]
0748546f
PE
9283 Support TZ transition times < 00:00:00.
9284 This is needed for version-3 tz-format files; it supports time
9285 stamps past 2037 for America/Godthab (the only entry in the tz
9286 database for which this change is relevant).
9287 * manual/time.texi (TZ Variable): Document transition times
9288 from -167:59:59 through -00:00:01.
9289 * time/tzset.c (tz_rule): Time of day is now signed.
9290 (__tzset_parse_tz): Parse negative time of day.
9291
4480e934
PE
9292 Document TZ transition times >= 25:00:00.
9293 * manual/time.texi (TZ Variable): Document transition times from
9294 25:00:00 through 167:59:59. These are already supported, and this
9295 support will help with version-3 tz-format files.
9296
69947401
PE
9297 * manual/time.texi (TZ Variable): Modernize North America example
9298 to reflect current (i.e., 2007-and-later) daylight saving rules.
9299
674762d9
PE
9300 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9301
7011c262
JM
93022013-12-17 Joseph Myers <joseph@codesourcery.com>
9303
2fc6557e
JM
9304 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9305 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9308 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9309 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9310 * sysdeps/unix/bsd/clock.c: Likewise.
9311 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9312 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9313 * sysdeps/unix/bsd/init-posix.c: Likewise.
9314 * sysdeps/unix/bsd/poll.c: Likewise.
9315 * sysdeps/unix/bsd/ptsname.c: Likewise.
9316 * sysdeps/unix/bsd/seekdir.c: Likewise.
9317 * sysdeps/unix/bsd/setegid.c: Likewise.
9318 * sysdeps/unix/bsd/seteuid.c: Likewise.
9319 * sysdeps/unix/bsd/setgid.c: Likewise.
9320 * sysdeps/unix/bsd/setrgid.c: Likewise.
9321 * sysdeps/unix/bsd/setruid.c: Likewise.
9322 * sysdeps/unix/bsd/setsid.c: Likewise.
9323 * sysdeps/unix/bsd/setuid.c: Likewise.
9324 * sysdeps/unix/bsd/sigaction.c: Likewise.
9325 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9326 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9327 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9328 * sysdeps/unix/bsd/telldir.c: Likewise.
9329 * sysdeps/unix/bsd/times.c: Likewise.
9330 * sysdeps/unix/bsd/usleep.c: Likewise.
9331
029c7b25
JM
9332 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9333 ($(objpfx)libbsd-compat.a): Remove rule.
9334
7011c262
JM
9335 * include/features.h (__FAVOR_BSD): Do not define.
9336 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9337 features conflicting with POSIX.
9338 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9339 (_BSD_SOURCE): Remove description of not being a subset of other
9340 feature test macros.
9341 * manual/job.texi (getpgrp): Do not document BSD version.
9342 (getpgid): Do not document by reference to BSD getpgrp.
9343 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9344 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9345 * signal/signal.h [__FAVOR_BSD]: Likewise.
9346 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9347 instead of making contents conditional on [__FAVOR_BSD].
9348 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9349
affb6f78
AZ
93502013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9351
9352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9353
c88769dd
JM
93542013-12-17 Joseph Myers <joseph@codesourcery.com>
9355
6432a540
JM
9356 [BZ #16314]
9357 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9358 values below 2**-450, not 2**-500.
9359 * math/auto-libm-test-in: Don't allow spurious underflow from
9360 hypot.
9361 * math/auto-libm-test-out: Regenerated.
9362
c88769dd
JM
9363 [BZ #16316]
9364 [BZ #16330]
9365 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9366 values of ha and hb and sort them after adjusting subnormal
9367 arguments.
9368 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9369 Likewise.
9370 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9371 values of ea and eb and sort them after adjusting subnormal
9372 arguments.
9373 * math/auto-libm-test-in: Do not expect some hypot tests of
9374 subnormals to fail. Add more hypot tests.
9375 * math/auto-libm-test-out: Regenerated.
9376
29618f6b
KK
93772013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9378
9379 [BZ #13304]
9380 * sysdeps/sh/s_fma.c: New file.
9381 * sysdeps/sh/s_fmaf.c: New file.
9382 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9383 version.
9384 * sysdeps/sh/Implies: Add sh/soft-fp.
9385
eacfdfbf
RM
93862013-12-16 Roland McGrath <roland@hack.frob.com>
9387
9388 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9389 level of indirection to members `objname', `errstring', `malloced'.
9390 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9391 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9392 it as the __longjmp argument (just pass 1 instead).
9393 (_dl_catch_error): Initialize C with argument pointers and address of
9394 volatile local ERRCODE rather than copying values out of C at return.
9395
ff362e5b
JM
93962013-12-16 Joseph Myers <joseph@codesourcery.com>
9397
9398 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9399 * math/auto-libm-test-out: Regenerated.
9400 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9401 (hypot_test_data): Likewise.
9402 (pow_test_data): Likewise.
9403 (pow_tonearest_test_data): Likewise.
9404 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9405 mpfr_ff_f.
9406 (func_calc_desc): Add mpfr_ff_f union field.
9407 (FUNC_mpfr_ff_f): New macro.
9408 (test_functions): Add atan2, hypot and pow.
9409 (special_fill_min): New function.
9410 (special_fill_minus_min): Likewise.
9411 (special_fill_min_subnorm): Likewise.
9412 (special_fill_minus_min_subnorm): Likewise.
9413 (special_real_inputs): Add min, -min, min_subnorm and
9414 -min_subnorm.
9415 (calc_generic_results): Handle mpfr_ff_f.
9416 * sysdeps/i386/fpu/libm-test-ulps: Update.
9417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9418
5764c27f
WN
94192013-12-16 Will Newton <will.newton@linaro.org>
9420
9421 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9422 (Aligned Memory Blocks): Add documentation for aligned_alloc
9423 and suggest it as an alternative to posix_memalign.
9424 (Hooks for Malloc): Document __memalign_hook is also called
9425 for aligned_alloc. (Summary of Malloc): Add summary for
9426 aligned alloc. Document __memalign_hook is also called
9427 for aligned_alloc.
9428
0a096e44
WN
94292013-12-16 Will Newton <will.newton@linaro.org>
9430
9431 * manual/memory.texi (Malloc Examples): Clarify default
9432 alignment documentation. Suggest posix_memalign rather
9433 than memalign or valloc.
9434 (Aligned Memory Blocks): Remove suggestion to use memalign
9435 or valloc. Remove obsolete comment about BSD.
9436 Document memalign errno values and mark the function obsolete.
9437 Document posix_memalign returned error codes. Mark valloc
9438 as obsolete. (Hooks for Malloc): __memalign_hook is also
9439 called for posix_memalign and valloc.
9440 (Summary of Malloc): Add posix_memalign to function summary.
9441 __memalign_hook is also called for posix_memalign and valloc.
9442
8d561986
SP
94432013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9444
9445 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9446 TAYLOR_SIN.
9447 (__sin): Adjust.
9448 (__cos): Likewise.
9449 (sloww): Use mynumber union. Expand ternary operator into
9450 if-else statements.
9451 (cslow): use mynumber union.
9452
73616a74
AM
94532013-12-16 Allan McRae <allan@archlinux.org>
9454
9e8ac24b
AM
9455 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9456 * configure: Regenerated.
9457
6f8e37eb
AM
9458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9459
8894bad3
AM
9460 [BZ #14120]
9461 * configure.ac: Added --enable-maintainer-mode. Check for
9462 autoconf when enabled.
9463 * configure: Regenerated.
9464
73616a74
AM
9465 * nscd/nscd.service: New file.
9466 * nscd/nscd.tmpfiles: New file.
9467
584b18eb
OB
94682013-12-14 Ondřej Bílka <neleai@seznam.cz>
9469
9470 [BZ #12100]
9471 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9472 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9473 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9474 (strstr): Add __strstr_sse2_unaligned ifunc.
9475 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9476 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9477 (strcasestr): Remove __strcasestr_sse42 ifunc.
9478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9481
8a5c7897
KK
94822013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9483
9484 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9485 * sysdeps/sh/bits/fenv.h: ... here.
9486 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9487
fd712ef3
AZ
94882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9489
9490 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9491
42fcb46c
AZ
9492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9493 hypotf multiarch implementations.
9494 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9496 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9497 multiarch hypot for PPC64.
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9499 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9501 multiarch hypotf for PPC64.
9502
83efded4
AZ
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9504 modff multiarch implementations.
9505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9508 multiarch modf for PPC64.
9509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9512 multiarch modff for PPC64.
9513
43e246d2
AZ
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9515 and logl multiarch implementations.
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9519 multiarch logb for PPC64.
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9523 multiarch logb for PPC64.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9527 multiarch logb for PPC64.
9528
8fdad123
AZ
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9530 isinff multiarch implementation.
9531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9532 file.
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9535 multiarch isinf for PPC64.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9537 file.
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9539 multiarch isinff for PPC64.
9540
1481d706
AZ
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9542 finitef multiarch implementation.
9543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9544 file.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9547 multiarch finite for PPC64.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9549 file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9551 multiarch finitef for PPC64.
9552
5ccd5fc8
AZ
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9554 lrint multiarch implementation.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9556 file.
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9559 multiarch llrint for PPC64.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9561 multiarch lrint for PPC64.
9562
2568f3fa
AZ
9563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9564 copysignf multiarch implementation.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9566 file.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9568 file.
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9570 multiarch copysign for PPC64.
9571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9572 multiarch copysignf for PPC64.
9573
1cb341fd
AZ
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9575 multiarch implementation.
9576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9577 file.
9578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9579 file.
9580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9581 file.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9583 file.
9584 multiarch llround for PPC64.
9585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9586 multiarch trunc for PPC64.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9588 multiarch truncf for PPC64.
9589
59a3e194
AZ
9590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9591 multiarch implementation.
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9593 file.
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9595 file.
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9597 file.
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9599 file.
9600 multiarch llround for PPC64.
9601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9602 multiarch round for PPC64.
9603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9604 multiarch roundf for PPC64.
9605
357fd3b4
AZ
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9607 multiarch implementation.
9608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9609 file.
9610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9611 file.
9612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9613 file.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9615 file.
9616 multiarch llround for PPC64.
9617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9618 multiarch floor for PPC64.
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9620 multiarch floorf for PPC64.
9621
96770f12
AZ
9622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9623 multiarch implementation.
9624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9625 file.
9626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9627 file.
9628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9629 file.
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9631 file.
9632 multiarch llround for PPC64.
9633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9634 multiarch ceil for PPC64.
9635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9636 multiarch ceilf for PPC64.
9637
c3627f6e
AZ
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9639 multiarch implementation.
9640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9641 file.
9642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9643 file.
9644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9645 file.
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9647 multiarch llround for PPC64.
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9649 multiarch lround for PPC64.
9650
b2284ad7
AZ
9651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9652 multiarch implementation.
9653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9656 file.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9660 multiarch isnan for PPC64.
9661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9662 multiarch isnanf for PPC64.
9663
69bbc63d
AZ
9664 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9665 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9666 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9667 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9668 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9670
c24517c9
AZ
9671 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9672 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9673 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9675
a52374e8
AZ
9676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9677 multiarch implementations.
9678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9679 (__libc_ifunc_impl_list): Likewise.
9680 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9681 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9682 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9683 multiarch stpcpy for PPC64.
9684
7f5ec113
AZ
9685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9686 multiarch implementations.
9687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9688 (__libc_ifunc_impl_list): Likewise.
9689 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9690 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9691 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9692 multiarch strcpy for PPC64.
9693
e28bcd42
AZ
9694 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9695 redefine function name.
9696 (_wordcopy_fwd_dest_aligned): Likewise.
9697 (_wordcopy_bwd_aligned): Likewise.
9698 (_wordcopy_bwd_dest_aligned): Likewise.
9699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9700 multiarch implementations.
9701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9702 (__libc_ifunc_impl_list): Likewise.
9703 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9704 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9705 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9707 multiarch wcscpy for PPC64.
9708
92cacfce
AZ
9709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9710 multiarch implementations.
9711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9712 (__libc_ifunc_impl_list): Likewise.
9713 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9714 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9715 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9716 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9717 multiarch wcscpy for PPC64.
9718
7b714620
AZ
9719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9720 multiarch implementations.
9721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9722 (__libc_ifunc_impl_list): Likewise.
9723 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9724 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9725 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9726 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9727 multiarch wcsrchr for PPC64.
9728
16fd2ae3
AZ
9729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9730 multiarch implementations.
9731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9732 (__libc_ifunc_impl_list): Likewise.
9733 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9735 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9736 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9737 multiarch wcschr for PPC64.
9738
9ee2969b
AZ
9739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9740 multiarch implementations.
9741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9742 (__libc_ifunc_impl_list): Likewise.
9743 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9744 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9745 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9746 multiarch strchrnul for PPC64.
9747
372dc060
AZ
9748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9749 implementations.
9750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9751 (__libc_ifunc_impl_list): Likewise.
9752 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9753 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9754 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9755 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9756 strchr for PPC64.
9757
24c2c3b9
AZ
9758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9759 implementations.
9760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9761 (__libc_ifunc_impl_list): Likewise.
9762 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9763 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9764 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9765 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9766 strncmp for PPC64.
9767
1c92d9a0
AZ
9768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9769 multiarch implementations.
9770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9771 (__libc_ifunc_impl_list): Likewise.
9772 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9773 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9774 strncasecmp for PPC64.
9775 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9776 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9777 multiarch strncasecmp_l for PPC64.
9778
17de3ee3
AZ
9779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9780 multiarch implementations.
9781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9782 (__libc_ifunc_impl_list): Likewise.
9783 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9785 multiarch strcasecmp for PPC64.
9786 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9787 file.
9788 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9789 multiarch strcasecmp_l for PPC64.
9790
62982bf9
AZ
9791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9792 implementations.
9793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9794 (__libc_ifunc_impl_list): Likewise.
9795 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9796 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9797 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9798 strnlen for PPC64.
9799
a65f4904
AZ
9800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9801 implementations.
9802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9803 (__libc_ifunc_impl_list): Likewise.
9804 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9805 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9806 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9807 strlen for PPC64.
9808
1fd005ad
AZ
9809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9810 implementations.
9811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9812 (__libc_ifunc_impl_list): Likewise.
9813 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9814 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9815 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9816 rawmemrchr for PPC64.
9817
cd05ba91
AZ
9818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9819 implementation.
9820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9821 (__libc_ifunc_impl_list): Likewise.
9822 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9823 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9824 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9825 memrchr for PPC64.
9826
870f8676
AZ
9827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9828 implementation.
9829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9830 (__libc_ifunc_impl_list): Likewise.
9831 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9832 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9833 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9834 memchr for PPC64.
9835
f00be62b
AZ
9836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9837 implementation.
9838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9839 (__libc_ifunc_impl_list): Likewise.
9840 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9841 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9842 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9843 mempcpy for PPC64.
9844
8a29a3d0
AZ
9845 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9846 avoid cretion of __bzero symbol.
9847 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9848 Likewise.
9849 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9850 Likewise.
9851 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9852 Likewise.
9853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9854 multiarch implementations.
9855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9856 (__libc_ifunc_impl_list): Likewise.
9857 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9858 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9859 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9860 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9861 bzero for PPC32.
9862 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9863 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9864 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9865 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9866 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9867 memset for PPC64.
9868 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9869
07253fcf
AZ
9870 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9872 implementations.
9873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9874 (__libc_ifunc_impl_list): Likewise.
9875 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9876 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9877 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9878 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9879 memcmp for PPC64.
9880
b5beafbc
AZ
9881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9882 multiarch for POWER/PPC64.
9883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9884 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9885 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9886 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9887 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9890 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9891 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9892 memcpy for PPC64.
9893
5e6a4d4b
AZ
9894 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9895 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9896 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9897 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9898 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9899 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9900 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9901 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9902 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9903 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9904 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9905 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9906 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9907 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9908 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9916
ddfab6dc
KK
99172013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9918
9919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9920
19b5525e
SP
99212013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9922
9923 * benchtests/Makefile (bench): Add exp2 and log2.
9924 (LDLIBS-bench-exp2): Add -lm.
9925 (LDLIBS-bench-log2): Likewise.
9926 * benchtests/exp2-inputs: New inputs file.
9927 * benchtests/log2-inputs: New inputs file.
9928 * benchtests/log-inputs: Add new inputs.
9929 * benchtests/tan-inputs: Likewise.
9930
196f7f5d
SP
99312013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9932
7a74607f
SP
9933 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9934 definition...
57f41c40
AS
9935 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9936 (csloww2): ... from here.
7a74607f 9937
196f7f5d
SP
9938 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9939 instead of structures.
9940 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9941 (POLYNOMIAL): Likewise.
9942 (TAYLOR_SLOW): Likewise.
9943 (__sin): Likewise.
9944 (__cos): Likewise.
9945 (slow1): Likewise.
9946 (slow2): Likewise.
9947 (sloww): Likewise.
9948 (sloww1); Likewise.
9949 (sloww2): Likewise.
9950 (bsloww1): Likewise.
9951 (bsloww2): Likewise.
9952 (cslow2): Likewise.
9953 (csloww): Likewise.
9954 (csloww1): Likewise.
9955 (csloww2): Likewise.
9956
0dfa665c
OB
99572013-12-10 Ondřej Bílka <neleai@seznam.cz>
9958
9959 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9960 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9961 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9962 * malloc/hooks.c (realloc_check): Likewise.
9963
5782a80f
OB
9964 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9965 * malloc/arena.c: Remove PER_THREAD conditional.
9966 [!PER_THREAD]: Remove code.
9967 (ptmalloc_unlock_all2): Likewise.
9968 (ptmalloc_init): Likewise.
9969 (_int_new_arena): Likewise.
9970 (arena_get2): Likewise.
9971 * malloc/hooks.c (__malloc_get_state): Likewise.
9972 (__malloc_set_state): Likewise.
9973 * malloc/malloc.c: Likewise.
9974 (struct malloc_state): Likewise.
9975 (struct malloc_par): Likewise.
9976 (__libc_realloc): Likewise.
9977 (__libc_mallopt): Likewise.
9978
aeb95445
AZ
99792013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9980
9981 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9982
e8349efd
OB
99832013-12-09 Ondřej Bílka <neleai@seznam.cz>
9984
9985 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9986 macro to a function. Check for zero perturb_byte.
9987 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9988
f3eeb3fc 9989 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9990 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9991 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9992 force_reg by atomic_forced_read.
9993 * malloc/arena.c (ptmalloc_init): Likewise.
9994 * malloc/hooks.c (top_check): Likewise.
9995
be2f9009
AZ
99962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997
9998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9999
e7b914bd
MT
100002013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10001
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10003
9f0be4f8
JM
100042013-12-08 Joseph Myers <joseph@codesourcery.com>
10005
10006 * math/auto-libm-test-in: Add tests of lgamma.
10007 * math/auto-libm-test-out: Regenerated.
10008 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10009 (M_LOG_2_SQRT_PIl): Likewise.
10010 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10011 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10012 mpfr_f_f1.
10013 (func_calc_desc): Add mpfr_f_f1 union field.
10014 (ARGS1): New macro.
10015 (ARGS2): Likewise.
10016 (ARGS3): Likewise.
10017 (ARGS4): Likewise.
10018 (RET1): Likewise.
10019 (RET2): Likewise.
10020 (CALC): Likewise.
10021 (FUNC): Likewise.
10022 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10023 (test_functions): Add lgamma.
10024 (calc_generic_results): Handle mpfr_f_f1.
10025 * sysdeps/i386/fpu/libm-test-ulps: Update.
10026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10027
24eeafdb
AZ
100282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10029
10030 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10031 __mpn_add_n for PowerPC64/POWER7.
10032 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10033 __mpn_sub_n for PowerPC64/POWER7.
10034
4a2c0fd4
AZ
10035 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10036 __mpn_addmul_1 for PowerPC64.
10037 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10038 __mpn_submul_1 for PowerPC64.
10039 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10040 for PowerPC64.
10041 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10042 for PowerPC64.
10043
4b5b548c
FS
100442013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10045
10046 [BZ #15089]
10047 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10048
0a3ac0aa
AZ
100492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10050
10051 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10052
ccdc8438
AZ
10053 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10054 add multiarch folders.
10055 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10056 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10057 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10058 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10059 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10060 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10061 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10062 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10063 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10064 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10065 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10072
2e973d99
AZ
10073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10074 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10076 New file.
10077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10078 New file.
10079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10080 multiarch __ieee754_hypot for PowerPC32.
10081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10082 New file.
10083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10084 New file.
10085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10086 multiarch __ieee754_hypotf for PowerPC32.
10087
2d9470b2
AZ
10088 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10089 long_double_symbol only if __logbl is defined.
10090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10091 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10093 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10095 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10097 path for implementation.
10098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10099 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10101 logb, and logbl multiarch implementations for PowerPC32.
10102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10103 file.
10104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10105 file.
10106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10107 multiarch logb for PowerPC32.
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10109 file.
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10111 file.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10113 multiarch logbf for PowerPC32.
10114 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10116 file.
10117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10118 multiarch logbl implementation for PowerPC32.
10119
5212ffce
AZ
10120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10121 and modff multiarch implementations.
10122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10123 New file.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10125 New file.
10126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10127 multiarch modf for PowerPC32.
10128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10129 New file.
10130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10131 New file.
10132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10133 multiarch modff for PowerPC32.
10134
79dccf31
AZ
10135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10136 and lrintf multiarch implementations.
10137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10138 New file.
10139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10140 New file.
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10142 multiarch lrint for PowerPC32.
10143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10144 file: multiarch lrintf for PowerPC32.
10145
deb66480
AZ
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10147 and lroundf multiarch implementations.
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10149 New file.
10150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10151 New file.
10152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10153 New file.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10155 multiarch lround for PowerPC32.
10156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10157 file: multiarch lroundf for PowerPC32.
10158
264b036b
AZ
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10160 copysign and copysignf multiarch implementations.
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10162 New file.
10163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10164 New file.
10165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10166 file: multiarch copysign for PowerPC32.
10167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10168 file: multiarch copysignf for PowerPC32.
10169
d47db6c9
AZ
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10171 and truncf multiarch implementations.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10173 New file.
10174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10175 file.
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10177 multiarch trunc for PowerPC32.
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10179 New file.
10180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10181 New file.
10182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10183 multiarch truncf for PowerPC32.
10184
ddb60b5a
AZ
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10186 and roundf multiarch implementations.
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10188 New file.
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10190 file.
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10192 multiarch round for PowerPC32.
10193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10194 New file.
10195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10196 New file.
10197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10198 multiarch roundf for PowerPC32.
10199
bedcf49b
AZ
10200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10201 and floorf multiarch implementations.
10202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10203 New file.
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10205 file.
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10207 multiarch floor for PowerPC32.
10208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10209 New file.
10210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10211 New file.
10212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10213 multiarch floorf for PowerPC32.
10214
35ae5b40
AZ
10215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10216 and ceilf multiarch implementations.
10217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10218 New file.
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10220 file.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10222 multiarch ceil for PowerPC32.
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10224 New file.
10225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10226 file.
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10228 multiarch ceilf for PowerPC32.
10229
ae1a4cd9
AZ
10230 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10231 is defined.
10232 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10233 FINITEF is defined.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10235 and finitef multiarch implementations.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10237 New file.
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10239 file.
10240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10241 multiarch finite for PowerPC32.
10242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10243 New file.
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10245 file: multiarch finitef for PowerPC32.
10246
64fffd65
AZ
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10248 and isinff multiarch implementations.
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10250 file.
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10252 file.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10254 multiarch isinf for PowerPC32.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10256 New file.
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10258 multiarch isinff for PowerPC32.
10259
8e4e7ba2
AZ
10260 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10261 alias when __isnan is defined.
10262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10263 and isnanf multiarch implementations.
10264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10265 file.
10266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10267 file.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10269 file.
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10271 file.
10272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10273 multiarch isnan for PowerPC32.
10274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10275 New file.
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10277 New file.
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10279 multiarch isnanf for PowerPC32.
10280
ddba588e
AZ
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10282 and sqrtf multiarch implementations.
10283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10284 file.
10285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10286 file.
10287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10288 multiarch sqrt for PowerPC32.
10289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10290 file.
10291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10292 file.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10294 multiarch sqrtf for PowerPC32.
10295
0f96a2f0
AZ
10296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10297 and llroundf multiarch implementations.
10298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10299 New file.
10300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10301 New file.
10302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10303 New file.
10304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10305 file: multiarch llround for PowerPC32.
10306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10307 file: multiarch llroundf for PowerPC32.
10308
c9b5d79e
AZ
10309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10310 multiarch PowerPC32 fpu implementations.
10311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10312 New file.
10313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10314 New file.
10315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10316 multiarch llrint for PowerPC32.
10317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10318 New file.
10319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10320 New file.
10321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10322 file.
10323
9cbb3aab
AZ
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10325
ea5a72f8
AZ
10326 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10327 file.
10328 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10329 file.
10330 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10331 file.
10332 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10333 multiarch wordcopy for PPC32.
10334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10335 wordcopy objects.
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10337 (__libc_ifunc_impl_list): Likewise.
10338 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10339 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10340 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10341 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10342 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10343 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10344
93be09e7
AZ
10345 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10347 file.
10348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10349 file.
10350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10351 file.
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10353 multiarch wcscpy for PPC32.
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10355 multiarch objects.
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10357 (__libc_ifunc_impl_list): Likewise.
10358 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10359 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10360 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10361 sysdeps/powerpc/power6/wcscpy.c.
10362
bb04e529
AZ
10363 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10365 file.
10366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10367 file.
10368 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10369 file.
10370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10371 multiarch wcsrchr for PPC32.
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10373 multiarch objects.
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10375 (__libc_ifunc_impl_list): Likewise.
10376 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10377 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10378 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10379 sysdeps/powerpc/power6/wcsrchr.c.
10380
05b5cd1c
AZ
10381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10382 file.
10383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10384 file.
10385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10387 multiarch wcschr for PPc32.
10388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10389 multiarch objects.
10390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10391 (__libc_ifunc_impl_list): Likewise.
10392 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10393 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10394 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10395 sysdeps/powerpc/power6/wcschr.c.
10396
ba964147
AZ
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10398 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10399 file.
10400 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10401 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10402 file: multiarch strchr for PPC32.
10403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10404 multiarch objects.
10405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10406 (__libc_ifunc_impl_list): Likewise.
10407
31c81aaa
AZ
10408 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10409 name.
10410 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10411 file.
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10413 file.
10414 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10415 multiarch strchrnul for PPC32.
10416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10417 multiarch objects.
10418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10419 (__libc_ifunc_impl_list): Likewise.
10420
0d0607d9
AZ
10421 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10422 file.
10423 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10424 multiarch strncasecmp for PPC32.
10425 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10426 file.
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10428 multiarch strncasecmp_l for PPC32.
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10430 strncasecmp multiarch objects.
10431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10432 (__libc_ifunc_impl_list): Likewise.
10433
4dfd5c86
AZ
10434 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10435 file.
10436 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10437 multiarch strncasecmp for PPC32.
10438 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10439 New file.
10440 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10441 multiarch strcasecmp_l for PPC32.
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10443 multiarch objects.
10444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10445 (__libc_ifunc_impl_list): Likewise.
10446
a19e01a3
AZ
10447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10448 file.
10449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10450 file.
10451 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10452 multiarch strncmp for PPC32.
10453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10454 multiarch objects.
10455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10456 (__libc_ifunc_impl_list): Likewise.
10457
ae9cf7a2
AZ
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10459 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10460 file.
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10462 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10464 multiarch objects.
10465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10466 (__libc_ifunc_impl_list): Likewise.
10467
3148bb7d
AZ
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10469 file.
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10471 file.
10472 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10474 multiarch objects.
10475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10476 (__libc_ifunc_impl_list): Likewise.
10477
7af8b946
AZ
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10479 file.
10480 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10481 file.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10483 multiarch rawmemchr for PPC32.
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10485 multiarch objects.
10486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10487 (__libc_ifunc_impl_list): Likewise.
10488
03a6aa6a
AZ
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10490 file.
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10492 file.
10493 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10494 file: memrchr multiarch for PPC32.
10495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10496 multiarch objects.
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10498 (__libc_ifunc_impl_list): Likewise.
10499
1c62e6d9
AZ
10500 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10502 file.
10503 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10505 multiarch memchr for PPC32.
10506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10507 multiarch objects.
10508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10509 (__libc_ifunc_impl_list): Likewise.
10510
87da8bdb
AZ
10511 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10512 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10513 file.
10514 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10515 file.
10516 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10517 file: multiarch mempcpy for PPC32.
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10519 multiarch objects.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10521 (__libc_ifunc_impl_list): Likewise.
10522
20ed4714
AZ
10523 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10526 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10527 multiarch bzero for PPC32.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10529 file.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10531 file.
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10533 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10534 file: multiarch memset for PPC32.
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10537 memset multiarch objects.
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10539 (__libc_ifunc_impl_list): Likewise.
10540
ab3e3a46
AZ
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10542 file.
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10545 memcmp for PPC32.
10546 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10548 multiarch objects.
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10550 (__libc_ifunc_impl_list): Likewise.
10551
930de6f0
AZ
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10553 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10555 file.
10556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10557 file.
10558 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10559 file.
10560 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10561 multiarch memcpy for PPC32.
10562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10563 multiarch objects.
10564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10565 (__libc_ifunc_impl_list): Likewise.
10566
4c628e00
AZ
10567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10568 support multiarch for POWER/PPC32.
10569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10570 Likewise.
10571 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10573 Implies file to make multiarch folder appers before the fpu and
10574 default folder for power4 configuration.
10575
f4479220
SP
105762013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10577
10578 * scripts/bench.pl: Append volatile keyword to type.
10579
8517800f
KK
105802013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10581
10582 * sysdeps/sh/sotruss-lib.c: New file.
10583 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10584
180138f1
AZ
105852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10586
10587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10588
bbf37bdc
JM
105892013-12-05 Joseph Myers <joseph@codesourcery.com>
10590
e47cc4e0
JM
10591 [BZ #6810]
10592 * math/w_tgamma.c: Include <errno.h>.
10593 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10594 * math/w_tgammaf.c: Include <errno.h>.
10595 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10596 * math/w_tgammal.c: Include <errno.h>.
10597 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10598 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10599 underflow. Add more tgamma tests.
10600 * math/auto-libm-test-out: Regenerated.
10601 * sysdeps/i386/fpu/libm-test-ulps: Update.
10602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10603
bbf37bdc
JM
10604 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10605 sin, sinh, tan, tanh, tgamma, y0 and y1.
10606 * math/auto-libm-test-out: Regenerated.
10607 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10608 (TEST_COND_x86): Likewise.
10609 (M_E2l): Remove macro.
10610 (M_E3l): Likewise.
10611 (M_2_SQRT_PIl): Likewise.
10612 (M_SQRT_PIl): Likewise.
10613 (M_1_DIV_El): Likewise.
10614 (log_test_data): Use AUTO_TESTS_f_f.
10615 (log10_test_data): Likewise.
10616 (log1p_test_data): Likewise.
10617 (log2_test_data): Likewise.
10618 (sin_test_data): Likewise.
10619 (sin_tonearest_test_data): Likewise.
10620 (sin_towardzero_test_data): Likewise.
10621 (sin_downward_test_data): Likewise.
10622 (sin_upward_test_data): Likewise.
10623 (sinh_test_data): Likewise.
10624 (sinh_tonearest_test_data): Likewise.
10625 (sinh_towardzero_test_data): Likewise.
10626 (sinh_downward_test_data): Likewise.
10627 (sinh_upward_test_data): Likewise.
10628 (tan_test_data): Likewise.
10629 (tan_tonearest_test_data): Likewise.
10630 (tan_towardzero_test_data): Likewise.
10631 (tan_downward_test_data): Likewise.
10632 (tan_upward_test_data): Likewise.
10633 (tanh_test_data): Likewise.
10634 (tgamma_test_data): Likewise.
10635 (y0_test_data): Likewise.
10636 (y1_test_data): Likewise.
10637 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10638 (special_real_inputs): Add pi/4.
10639 * sysdeps/i386/fpu/libm-test-ulps: Update.
10640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10641
eb5ad6b9
AZ
106422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10643
10644 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10645 "longjmp_target" static probes.
10646 (__longjmp): Rename to __longjmp_symbol.
10647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10648 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10649 on which longjmp to generate.
10650 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10652 probe.
10653 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10654 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10655 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10656 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10657 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10658 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10660 __longjmp_symbol based on which __longjmp to generate.
10661 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10662 probe.
10663 (setjmp): Rename to setjmp_symbol.
10664 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10665 (_setjmp): Rename to _setjmp_symbol.
10666 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10667 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10668 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10669 which setjmp to generate.
10670 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10671 "longjmp_target" static probes.
10672
d136c6dc
SP
106732013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10674
9298ecba
SP
10675 * benchtests/README: Add note about output arguments.
10676 * benchtests/bench-sincos.c: Remove file.
10677 * benchtests/sincos-inputs: New file.
10678 * scripts/bench.pl: Identify output arguments and define
10679 static variables for them.
10680
232983e9
SP
10681 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10682
d136c6dc
SP
10683 [BZ #15941]
10684 * Makefile (INSTALL): Add install-plain.texi as the primary
10685 dependency.
10686 * manual/install-plain.texi: New file.
10687 * manual/install.texi: Include node directive only for
10688 non-plaintext output.
10689
699ff837
JM
106902013-12-04 Joseph Myers <joseph@codesourcery.com>
10691
ab07cea8
JM
10692 * stdlib/longlong.h: Update from GCC.
10693
699ff837
JM
10694 [BZ #6807]
10695 [BZ #15901]
10696 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10697 * math/w_j0f.c (y0f): Likewise.
10698 * math/w_j0l.c (__y0l): Likewise.
10699 * math/w_j1.c (y1): Likewise.
10700 * math/w_j1f.c (y1f): Likewise.
10701 * math/w_j1l.c (__y1l): Likewise
10702 * math/w_jn.c (yn): Likewise.
10703 * math/w_jnf.c (ynf): Likewise.
10704 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10705 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10706 value for Bessel function domain errors outside _SVID_ mode.
10707 Adjust sign of return value for yn (negative integer, 0).
10708 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10709 by zero in return for negative x and set sign appropriately for
10710 negative n.
10711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10712 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10713 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10714 expectations in error cases.
10715 (y1_test_data): Likewise.
10716 (yn_test_data): Likewise.
10717 * sysdeps/i386/fpu/libm-test-ulps: Update.
10718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10719
5b118558
UW
107202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10721
10722 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10723 "64" to "64-v1". Add "64-v2".
10724 (abi-64-options): Rename to ...
10725 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10726 (abi-64-condition): Rename to ...
10727 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10728 (abi-64-ld-soname): Rename to ...
10729 (abi-64-v1-ld-soname): ... this.
10730 (abi-64-v2-options): Define.
10731 (abi-64-v2-condition): Likewise.
10732 (abi-64-v2-ld-soname): Likewise.
10733 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10734 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10738
61cd8fe4
UW
107392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10740 Alan Modra <amodra@gmail.com>
10741
10742 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10743 New versions for use with the ELFv2 ABI.
10744 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10745 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10746 declaration.
10747 (struct La_ppc64v2_retval): Likewise.
10748 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10749 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10750 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10751 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10752 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10753 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10754 Do not save or restore CR.
10755 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10756 (_dl_profile_resolve): Do no save or restore CR. Support extended
10757 return values for ELFv2 ABI. Fix location of FPR return registers.
10758 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10759 updated values for _CALL_ELF == 2.
10760 (La_regs, La_retval, int_retval): Likewise.
10761
8b8a692c
UW
107622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10763
10764 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10765 (FRAME_MIN_SIZE_PARM): Likewise.
10766 (FRAME_BACKCHAIN): Likewise.
10767 (FRAME_CR_SAVE): Likewise.
10768 (FRAME_LR_SAVE): Likewise.
10769 (FRAME_TOC_SAVE): Likewise.
10770 (FRAME_PARM_SAVE): Likewise.
10771 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10772 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10773 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10774 (call_mcount_parm_offset): New macro.
10775 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10776 (PROF): Use symbolic stack frame offsets.
10777 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10778 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10779 Redefine in terms of FRAME_MIN_SIZE.
10780 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10781 (_dl_profile_resolve): Likewise. Update comment.
10782 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10783 symbols stack frame offsets.
10784 (__sigsetjmp): Likewise.
10785 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10786 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10787 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10788 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10789
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10791 (FRAME_BACKCHAIN): Remove.
10792 (FRAME_CR_SAVE): Likewise.
10793 (FRAME_LR_SAVE): Likewise.
10794 (FRAME_COMPILER_DW): Likewise.
10795 (FRAME_LINKER_DW): Likewise.
10796 (FRAME_TOC_SAVE): Likewise.
10797 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10798 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10799 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10800 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10802 (CHECK_SP): Use symbolic stack frame offsets.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10804 zone" instead of caller's parameter save area for temp storage.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10806 Likewise. Also, use symbolic stack frame offsets.
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10808 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10809 our own stack frame instead of the caller's.
10810 (__socket): Use symbolic stack frame offsets.
10811
122b66de
UW
108122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10813 Alan Modra <amodra@gmail.com>
10814
10815 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10816 Define.
57f41c40
AS
10817 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10818 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10819 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10820 New function.
10821 (elf_machine_fixup_plt): Call it.
10822 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10823 reloc arguments.
10824 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10825 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10826 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10827 r2 before calling target.
10828
696caf1d
UW
108292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10830 Alan Modra <amodra@gmail.com>
10831
10832 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10833 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10834 versions of macros to support ELFv2 ABI.
10835 (LOCALENTRY): New macro.
10836 (ENTRY, EALIGN): Use it.
10837 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10838 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10839 fall through into ENTRY entry point.
10840 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10841 Only define if _CALL_ELF != 2.
10842
10843 (elf_machine_matches_host): Verify ABI version matches.
10844 (RTLD_START): Use LOCALENTRY.
10845 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10846 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10847 (PLT_ENTRY_WORDS): New macro.
10848 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10849 (elf_machine_runtime_setup): Support ELFv2 ABI.
10850 (elf_machine_fixup_plt): Likewise.
10851 (elf_machine_plt_conflict): Likewise.
10852 (resolve_ifunc): Likewise.
10853 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10855 Likewise.
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10857 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10859 (makecontext): Support ELFv2 ABI.
10860 * elf/elf.h (EF_PPC64_ABI): Define.
10861
d31beafa
UW
108622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10863
57f41c40
AS
10864 * sysdeps/powerpc/powerpc64/sysdep.h
10865 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10866 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10867 (ENTRY) [ASSEMBLER]: ... but instead here ...
10868 (EALIGN) [ASSEMBLER]: ... and here.
10869 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10870 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10871 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10872 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10873 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10874 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10875 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10876 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10878 Use PPC64_LOAD_FUNCPTR.
10879
b525166b
UW
10880 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10881
7ec07d9a
AM
108822013-12-04 Alan Modra <amodra@gmail.com>
10883
10884 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10885 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10886 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10887 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10888
10889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10890 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10891 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10892 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10893 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10894 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10895
5162e7dd
UW
108962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10897
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10899 (__makecontext): Fix incorrect CFI when backtracing out of
10900 context created via makecontext.
10901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10902 (__setcontext): Fix incorrect CFI during switch to new context.
10903 (__novec_setcontext): Likewise.
10904
19e3372b
OB
109052013-12-04 Ondřej Bílka <neleai@seznam.cz>
10906
10907 [BZ #4772]
10908 * time/strptime_l.c (__strptime_internal): Allow modifiers
10909 in strptime.
10910 * time/tst-strptime.c (day_tests): Add testcase.
10911
ecaf142d
SP
109122013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10913
10914 * scripts/bench.pl: Skip over blank lines.
10915
fbf964ae
PE
109162013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10917
10918 [BZ #926]
10919 * manual/time.texi (Calendar Time): Clarify what timezone functions
10920 use.
10921
fa60a674
AZ
109222013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10923
10924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10925
d674f0ef
OB
109262013-12-04 Ondřej Bílka <neleai@seznam.cz>
10927
10928 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10929 implementation.
10930 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10931 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10932 * debug/memset_chk.c (__memset_chk): Likewise.
10933 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10934 * debug/strncpy_chk.c: Likewise.
10935
17dea188
JM
109362013-12-03 Joseph Myers <joseph@codesourcery.com>
10937
749008ff
JM
10938 [BZ #15268]
10939 [BZ #15425]
10940 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10941 (__ieee754_exp): For possibly underflowing results, check size of
10942 result and force underflow exception if required.
10943 * math/auto-libm-test-in: Add more tests of exp.
10944 * math/auto-libm-test-out: Regenerated.
10945 * sysdeps/i386/fpu/libm-test-ulps: Update.
10946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10947
17dea188
JM
10948 [BZ #16283]
10949 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10950 * math/w_exp2f.c (__exp2f): Likewise.
10951 * math/w_exp2l.c (__exp2l): Likewise.
10952 * math/auto-libm-test-in: Do not allow missing errno on exp2
10953 underflow.
10954 * math/auto-libm-test-out: Regenerated.
10955
b20de2c3
OB
109562013-12-03 Ondřej Bílka <neleai@seznam.cz>
10957
10958 [BZ #16274]
10959 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10960 handle filename validation.
10961 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10962 (do_open): Delete.
10963
d8e2dbe3
JM
109642013-12-03 Joseph Myers <joseph@codesourcery.com>
10965
34e16df5
JM
10966 [BZ #6786]
10967 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10968 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10969 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10970 <float.h>.
10971 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10972 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10973 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10974 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10975 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10976 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10977 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10978 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10979 Add more erfc tests.
10980 * math/auto-libm-test-out: Regenerated.
10981 * sysdeps/i386/fpu/libm-test-ulps: Update.
10982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10983
d8e2dbe3
JM
10984 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10985 exp2, expm1, j0 and j1.
10986 * math/auto-libm-test-out: Regenerated.
10987 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10988 (erfc_test_data): Likewise.
10989 (exp_test_data): Likewise.
10990 (exp_tonearest_test_data): Likewise.
10991 (exp_towardzero_test_data): Likewise.
10992 (exp_downward_test_data): Likewise.
10993 (exp_upward_test_data): Likewise.
10994 (exp10_test_data): Likewise.
10995 (exp2_test_data): Likewise.
10996 (expm1_test_data): Likewise.
10997 (j0_test_data): Likewise.
10998 (j1_test_data): Likewise.
10999 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11000 (input_flag_type): Add flag_xfail_rounding.
11001 (input_flags): Add xfail-rounding.
11002 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11003 (output_for_one_input_case): Handle flag_xfail_rounding.
11004 * sysdeps/i386/fpu/libm-test-ulps: Update.
11005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006
18d14251
AJ
110072013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11008
3d2e6075 11009 [BZ #16289]
18d14251
AJ
11010 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11011 division by 0.
11012
520d437b
SP
110132013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11014
11015 [BZ #16195]
11016 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11017 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11018 (STAP_PROBE0): New macro.
11019 (STAP_PROBE1): Likewise.
11020 (STAP_PROBE2): Likewise.
11021 (STAP_PROBE3): Likewise.
11022 (STAP_PROBE4): Likewise.
11023
416e0145
OB
110242013-12-02 Ondřej Bílka <neleai@seznam.cz>
11025
11026 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11027
9d17796a
SE
110282013-12-02 Steve Ellcey <sellcey@mips.com>
11029
11030 * benchtests/Makefile (bench): Add sqrt.
11031 (LDLIBS-bench-sqrt): New.
11032 * benchtests/sqrt-input: New.
11033
f524d6a8
PS
110342013-12-02 Pavel Simerda <psimerda@redhat.com>
11035
639a0ef8
PS
11036 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11037 (GAIH_EAI): Likewise.
11038 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11039 (gaih_inet): Likewise.
11040 (getaddrinfo): Don't use GAIH_EAI.
11041
f524d6a8
PS
11042 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11043 (struct gaih): Remove definition.
11044
df3aedaf
SP
110452013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11046
11047 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11048 Use HERRNOP directly.
11049
1ab19dec
AZ
110502013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11051
b42ad38d 11052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11053
176b0c79
JM
110542013-11-30 Joseph Myers <joseph@codesourcery.com>
11055
11056 * math/gen-auto-libm-tests.c (test_functions): Add more
11057 single-argument functions.
11058 (special_fill_pi_2): New function.
11059 (special_fill_minus_pi_2): Likewise.
11060 (special_fill_pi_6): Likewise.
11061 (special_fill_minus_pi_6): Likewise.
11062 (special_fill_pi_3): Likewise.
11063 (special_fill_2pi_3): Likewise.
11064 (special_fill_e): Likewise.
11065 (special_fill_1_e): Likewise.
11066 (special_fill_e_minus_1): Likewise.
11067 (special_real_inputs): Add more special inputs.
11068 (output_for_one_input_case): Do not require ERANGE on underflow to
11069 zero if round-to-nearest result does not underflow to zero, unless
11070 exact results required.
11071 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11072 atan, atanh, cbrt, cos and cosh.
11073 * math/auto-libm-test-out: Regenerated.
11074 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11075 (acos_tonearest_test_data): Likewise.
11076 (acos_towardzero_test_data): Likewise.
11077 (acos_downward_test_data): Likewise.
11078 (acos_upward_test_data): Likewise.
11079 (acosh_test_data): Likewise.
11080 (asin_test_data): Likewise.
11081 (asin_tonearest_test_data): Likewise.
11082 (asin_towardzero_test_data): Likewise.
11083 (asin_upward_test_data): Likewise.
11084 (asinh_test_data): Likewise.
11085 (atan_test_data): Likewise.
11086 (atanh_test_data): Likewise.
11087 (cbrt_test_data): Likewise.
11088 (cos_test_data): Likewise.
11089 (cos_tonearest_test_data): Likewise.
11090 (cos_towardzero_test_data): Likewise.
11091 (cos_downward_test_data): Likewise.
11092 (cos_upward_test_data): Likewise.
11093 (cosh_test_data): Likewise.
11094 (cosh_tonearest_test_data): Likewise.
11095 (cosh_towardzero_test_data): Likewise.
11096 (cosh_downward_test_data): Likewise.
11097 (cosh_upward_test_data): Likewise.
11098 * sysdeps/i386/fpu/libm-test-ulps: Update.
11099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11100
ffb536d0
JM
111012013-11-29 Joseph Myers <joseph@codesourcery.com>
11102
2a77a467
JM
11103 [BZ #6787]
11104 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11105 * math/w_exp10f.c (__exp10f): Likewise.
11106 * math/w_exp10l.c (__exp10l): Likewise.
11107 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11108 errno settings in existing tests.
11109
ea3bc4e8
JM
11110 [BZ #14032]
11111 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11112 precision control set to double precision.
11113 * sysdeps/i386/fpu/w_sqrt.c: New file.
11114 * math/auto-libm-test-in: Add more tests.
11115 * math/auto-libm-test-out: Update.
11116
0712c9d8
JM
11117 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11118 (sqrt_test_tonearest): New function.
11119 (sqrt_towardzero_test_data): New variable.
11120 (sqrt_test_towardzero): New function.
11121 (sqrt_downward_test_data): New variable.
11122 (sqrt_test_downward): New function.
11123 (sqrt_upward_test_data): New variable.
11124 (sqrt_test_upward): New function.
11125 (main): Call the new functions.
11126
ffb536d0
JM
11127 * math/gen-auto-libm-tests.c: New file.
11128 * math/auto-libm-test-in: Likewise.
11129 * math/auto-libm-test-out: New generated file.
11130 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11131 variables.
11132 (%beautify): Add generated representations of zero.
11133 (top level): Set $auto_input and call parse_auto_input.
11134 (beautify): Remove trailing "f" from hex float constants.
11135 (parse_args): Handle XFAIL_TEST.
11136 (convert_condition): New function.
11137 (or_value): Likewise.
11138 (or_cond_value): Likewise.
11139 (generate_testfile): Handle AUTO_TESTS_* lines.
11140 (parse_auto_input): New function.
11141 * math/libm-test.inc (XFAIL_TEST): New macro.
11142 (ERRNO_UNCHANGED): Update value.
11143 (ERRNO_EDOM): Likewise.
11144 (ERRNO_ERANGE): Likewise.
11145 (IGNORE_RESULT): Likewise.
11146 (TEST_COND_flt_32): New macro.
11147 (TEST_COND_dbl_64): Likewise.
11148 (TEST_COND_ldbl_96_intel): Likewise.
11149 (TEST_COND_ldbl_96_m68k): Likewise.
11150 (TEST_COND_ldbl_128): Likewise.
11151 (TEST_COND_ldbl_128ibm): Likewise.
11152 (TEST_COND_long32): Likewise.
11153 (TEST_COND_long64): Likewise.
11154 (TEST_COND_before_rounding): Likewise.
11155 (TEST_COND_after_rounding): Likewise.
11156 (enable_test): Handle XFAIL_TEST flag.
11157 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11158 with finite results.
11159 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11160 auto-libm-test-out.
11161
acd98a8e
AK
111622013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11163 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11164
11165 [BZ #16214]
11166 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11167 __tls_get_addr_internal instead of __tls_get_offset in order to
11168 avoid GOT pointer dependency. Make rtld export
11169 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11170 __tls_get_addr since we are a __tls_get_offset platform.
11171 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11172 GOT pointer being set up before.
11173 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11174
3c1c46a6
JM
111752013-11-28 Joseph Myers <joseph@codesourcery.com>
11176
7475aef5
JM
11177 * manual/math.texi (Errors in Math Functions): Document accuracy
11178 goals.
11179
8bca7cd8
JM
11180 [BZ #15004]
11181 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11182 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11197
91a1f3fe
JM
11198 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11199 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11200 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11201 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11202 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11203 Likewise.
11204 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11205 Likewise.
11206 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11207 Likewise.
11208 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11209 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11210 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11211 atomic-feupdateenv and flt-rounds.
11212 * sysdeps/powerpc/nofpu/Versions (libc): Add
11213 __atomic_feholdexcept, __atomic_feclearexcept,
11214 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11215 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11216 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11217 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11218 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11219 here.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11221 Update.
11222
c5df7609
JM
11223 * manual/arith.texi (FP Exceptions): Document that exceptions may
11224 not be raised when matherr is used.
11225 (Math Error Reporting): Document overflow in directed rounding
11226 modes. Document that errno may not be set when finite values are
11227 returned on overflow. Document intent to set errno on underflow
11228 only for underflow to zero.
11229
3c1c46a6
JM
11230 [BZ #16271]
11231 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11232 round-to-nearest then adjust result for other rounding modes.
11233 * include/fenv.h (fegetround): Use libm_hidden_proto.
11234 * math/fegetround.c (fegetround): Use libm_hidden_def.
11235 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11236 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11237 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11238 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11239 Likewise.
11240 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11242 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11243 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11244
5a4c6d53
SP
112452013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11246
11247 [BZ #16077]
11248 * nss/Versions (libnss_files): Add
11249 _nss_files_gethostbyname3_r.
11250 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11251 New function.
11252 (HOST_DB_LOOKUP): Remove macro.
11253 (_nss_files_gethostbyname_r): Implement function without the
11254 HOST_DB_LOOKUP macro.
11255 (_nss_files_gethostbyname2_r): Likewise.
11256
897b98ba
OB
112572013-11-28 Ondřej Bílka <neleai@seznam.cz>
11258
11259 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11260
6f476861
UB
112612013-11-26 Uros Bizjak <ubizjak@gmail.com>
11262
11263 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11264 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11265 warning.
11266
bd12ab55
AZ
112672013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11268
11269 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11270 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11271 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11272 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11273 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11274 __fe_nomask_env_priv and attribute_hidden.
11275 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11276 (libc_feupdateenv_test_ppc): Likewise.
11277 (libc_feresetround_ppc): Likewise.
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11279 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11280 compat_symbol macro.
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11282 (__fe_nomask_env): Likewise.
11283 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11284
52bb6543
OB
112852013-11-26 Ondřej Bílka <neleai@seznam.cz>
11286
11287 * string/Makefile: Remove ifunc tests.
11288 * string/test-string.h: Define TEST_IFUNC.
11289 * string/test-bcopy-ifunc.c: Remove.
11290 * string/test-bzero-ifunc.c: Likewise.
11291 * string/test-memccpy-ifunc.c: Likewise.
11292 * string/test-memchr-ifunc.c: Likewise.
11293 * string/test-memcmp-ifunc.c: Likewise.
11294 * string/test-memcpy-ifunc.c: Likewise.
11295 * string/test-memmem-ifunc.c: Likewise.
11296 * string/test-memmove-ifunc.c: Likewise.
11297 * string/test-mempcpy-ifunc.c: Likewise.
11298 * string/test-memrchr-ifunc.c: Likewise.
11299 * string/test-memset-ifunc.c: Likewise.
11300 * string/test-rawmemchr-ifunc.c: Likewise.
11301 * string/test-stpcpy-ifunc.c: Likewise.
11302 * string/test-stpncpy-ifunc.c: Likewise.
11303 * string/test-strcasecmp-ifunc.c: Likewise.
11304 * string/test-strcasestr-ifunc.c: Likewise.
11305 * string/test-strcat-ifunc.c: Likewise.
11306 * string/test-strchr-ifunc.c: Likewise.
11307 * string/test-strchrnul-ifunc.c: Likewise.
11308 * string/test-strcmp-ifunc.c: Likewise.
11309 * string/test-strcpy-ifunc.c: Likewise.
11310 * string/test-strcspn-ifunc.c: Likewise.
11311 * string/test-strlen-ifunc.c: Likewise.
11312 * string/test-strncasecmp-ifunc.c: Likewise.
11313 * string/test-strncat-ifunc.c: Likewise.
11314 * string/test-strncmp-ifunc.c: Likewise.
11315 * string/test-strncpy-ifunc.c: Likewise.
11316 * string/test-strnlen-ifunc.c: Likewise.
11317 * string/test-strpbrk-ifunc.c: Likewise.
11318 * string/test-strrchr-ifunc.c: Likewise.
11319 * string/test-strspn-ifunc.c: Likewise.
11320 * string/test-strstr-ifunc.c: Likewise.
11321
ab260039 113222013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
11323
11324 * benchtests/Makefile: Remove ifunc tests.
11325 * benchtests/bench-string.h: Define TEST_IFUNC.
11326 * benchtests/bench-bcopy-ifunc.c: Remove.
11327 * benchtests/bench-bzero-ifunc.c: Likewise.
11328 * benchtests/bench-memccpy-ifunc.c: Likewise.
11329 * benchtests/bench-memchr-ifunc.c: Likewise.
11330 * benchtests/bench-memcmp-ifunc.c: Likewise.
11331 * benchtests/bench-memcpy-ifunc.c: Likewise.
11332 * benchtests/bench-memmem-ifunc.c: Likewise.
11333 * benchtests/bench-memmove-ifunc.c: Likewise.
11334 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11335 * benchtests/bench-memrchr-ifunc.c: Likewise.
11336 * benchtests/bench-memset-ifunc.c: Likewise.
11337 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11338 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11339 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11340 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11341 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11342 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11343 * benchtests/bench-strcat-ifunc.c: Likewise.
11344 * benchtests/bench-strchr-ifunc.c: Likewise.
11345 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11346 * benchtests/bench-strcmp-ifunc.c: Likewise.
11347 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11348 * benchtests/bench-strcpy-ifunc.c: Likewise.
11349 * benchtests/bench-strcspn-ifunc.c: Likewise.
11350 * benchtests/bench-strlen-ifunc.c: Likewise.
11351 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11352 * benchtests/bench-strncat-ifunc.c: Likewise.
11353 * benchtests/bench-strncmp-ifunc.c: Likewise.
11354 * benchtests/bench-strncpy-ifunc.c: Likewise.
11355 * benchtests/bench-strnlen-ifunc.c: Likewise.
11356 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11357 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 11358 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
11359 * benchtests/bench-strspn-ifunc.c: Likewise.
11360 * benchtests/bench-strstr-ifunc.c: Likewise.
11361
113622013-11-26 Ondřej Bílka <neleai@seznam.cz>
11363
ab260039
OB
11364 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11365
d1d9eaf4 113662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 11367
d1d9eaf4
OB
11368 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11369 * rt/aio.h: Likewise.
11370 * sysdeps/gnu/bits/utmp.h: Likewise.
11371 * sysdeps/gnu/bits/utmpx.h: Likewise.
11372 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11373 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11374 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11375 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11376 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11377 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11378 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11379 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11380 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11381 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11382 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11383 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11384 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11386 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11387 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11388 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11389 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11390 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11391 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11392 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11394 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11396 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11398 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11402 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11403 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11404 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11405 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11407 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11408 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11409 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11410 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11411 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11412 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11413 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11414
a7624ed9
CD
114152013-11-25 Carlos O'Donell <carlos@redhat.com>
11416
11417 [BZ #16245]
11418 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11419 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11420
63cfe52b
JM
114212013-11-25 Joseph Myers <joseph@codesourcery.com>
11422
11423 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11424 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11425 Likewise.
11426
41e8926a
AZ
114272013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11428
11429 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11430 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11431 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11432 (__fesetround): Remove define.
11433 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11434 rounding and exceptions handling.
11435 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11436 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11437 (__fe_nomask_env): Likewise.
11438 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11439 __fegetround instead of fegetround.
11440 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11441 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11442
6851bd4d
RM
114432013-11-21 Roland McGrath <roland@hack.frob.com>
11444
070906ff
RM
11445 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11446 it's there.
11447
6851bd4d
RM
11448 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11449
84ae135d
MI
114502013-11-21 Meador Inge <meadori@codesourcery.com>
11451
11452 [BZ #11157]
11453 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11454 (encrypt_r): Likewise.
11455 * malloc/obstack.h (obstack_free): Likewise.
11456 * posix/unistd.h (encrypt): Likewise.
11457
daf75146
GM
114582013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11459
11460 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11461 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11462 DL_CALL_DT_FINI() that call the functions directly.
11463 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11464 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11465 * elf/dl-fini.c: Likewise.
11466
10ad46bc
OB
114672013-11-20 Ondřej Bílka <neleai@seznam.cz>
11468
11469 * malloc/hooks.c (memalign_check): Add alignment rounding.
11470 * malloc/malloc.c (_mid_memalign): New function.
11471 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11472 Implement by calling _mid_memalign.
11473 * manual/probes.texi (Memory Allocation Probes): Remove
11474 memory_valloc_retry and memory_pvalloc_retry.
11475
f3fd2628
SP
114762013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11477
4712799f
SP
11478 * locale/programs/locarchive.c (open_archive): Add const
11479 qualifier to ARCHIVEFNAME and copy default fname to
11480 DEFAULT_FNAME.
11481
0417b20f
SP
11482 [BZ #15601]
11483 * libio/tst-widetext.input: Rename Oriya to Odia.
11484 * locale/iso-639.def: Likewise.
11485
f3fd2628
SP
11486 * manual/probes.texi (Mathematical Function Probes): Add
11487 documentation for sin, cos, asin and acos probes.
11488 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11489 (__sin32): Add slowasin probe.
11490 (__cos32): Add slowacos probe.
11491 (__mpsin): Add slowsin probe.
11492 (__mpcos): Add slowcos probe.
11493
73c1ce4f
JM
114942013-11-19 Joseph Myers <joseph@codesourcery.com>
11495
11496 [BZ #15483]
11497 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11498 thread-local __sim_exceptions_thread and global
11499 __sim_exceptions_global.
11500 (__sim_disabled_exceptions): Change to thread-local
11501 __sim_disabled_exceptions_thread and global
11502 __sim_disabled_exceptions_global.
11503 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11504 and global __sim_round_mode_global.
11505 (__simulate_exceptions): Use thread-local floating-point state and
11506 set global state from it as needed.
11507 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11508 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11509 __sim_round_mode_thread.
11510 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11511 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11512 and global __sim_exceptions_global.
11513 (__sim_disabled_exceptions): Change to thread-local
11514 __sim_disabled_exceptions_thread and global
11515 __sim_disabled_exceptions_global.
11516 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11517 and global __sim_round_mode_global.
11518 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11519 (SIM_SET_GLOBAL): Likewise.
11520 * sysdeps/powerpc/soft-fp/sfp-machine.h
11521 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11522 __sim_round_mode_thread.
11523 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11524 __sim_disabled_exceptions_thread.
11525 (__sim_exceptions): Change to __sim_exceptions_thread.
11526 (__sim_disabled_exceptions): Change to
11527 __sim_disabled_exceptions_thread.
11528 (__sim_round_mode): Change to __sim_round_mode_thread.
11529 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11530 thread-local floating-point state and set global state from it as
11531 needed.
11532 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11533 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11534 (__sim_disabled_exceptions): Remove extern declaration.
11535 (feenableexcept): Use thread-local floating-point state and set
11536 global state from it as needed.
11537 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11538 extern declaration.
11539 (__sim_disabled_exceptions): Likewise.
11540 (__sim_round_mode): Likewise.
11541 (__fegetenv): Use thread-local floating-point state.
11542 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11543 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11544 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11545 floating-point state and set global state from it as needed.
11546 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11547 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11548 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11549 Likewise.
11550 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11551 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11552 Likewise.
11553 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11554 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11555 Use __sim_round_mode_thread.
11556 * math/test-fenv-tls.c: New file.
11557 * math/Makefile (tests): Add test-fenv-tls.
11558 ($(objpfx)test-fenv-tls): Depend on
11559 $(common-objpfx)nptl/libpthread.so.
11560
b5449b12
AS
115612013-11-19 Andreas Schwab <schwab@suse.de>
11562
11563 * locale/programs/locale.c (show_info): Decode wordarray elements.
11564 * locale/categories.def (LC_MONETARY): Add element for
11565 _NL_MONETARY_CRNCYSTR.
11566 * locale/C-monetary.c (conversion_rate): New variable.
11567 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11568 element.
11569
e186536b
CM
115702013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11571
11572 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11573 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11574
5c349950
PP
115752013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11576
11577 * elf/Makefile (tst-auxv): New test.
11578 * elf/tst-auxv.c: New
11579 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11580
699df45b
JM
115812013-11-18 Joseph Myers <joseph@codesourcery.com>
11582
11583 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11584 (hidden_proto): Caller changed.
11585 (hidden_tls_proto): New macro.
11586 (libc_hidden_tls_proto): Likewise.
11587 (rtld_hidden_tls_proto): Likewise.
11588 (libm_hidden_tls_proto): Likewise.
11589 (libresolv_hidden_tls_proto): Likewise.
11590 (librt_hidden_tls_proto): Likewise.
11591 (libdl_hidden_tls_proto): Likewise.
11592 (libnss_files_hidden_tls_proto): Likewise.
11593 (libnsl_hidden_tls_proto): Likewise.
11594 (libnss_nisplus_hidden_tls_proto): Likewise.
11595 (libutil_hidden_tls_proto): Likewise.
11596
b7589107
OB
115972013-11-18 Ondřej Bílka <neleai@seznam.cz>
11598
11599 [BZ #10253]
11600 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11601 (decompose_rpath): Defer expansion to fillin_rpath.
11602 (_dl_init_paths): Pass linkmap to fillin_rpath.
11603
250c23bd
RS
116042013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11605
11606 * benchtests/Makefile: Add strsep.
11607 * benchtests/bench-strsep.c: New file: strsep benchtest.
11608 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11609
a7931fcf
AS
116102013-11-18 Andreas Schwab <schwab@suse.de>
11611
11612 * locale/programs/locale.c (show_info) [case byte]: Check for
11613 '\377' instead of '\177'.
11614 * locale/C-monetary.c (not_available): Always use "\377".
11615 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11616 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11617 detect unavailable sign_posn locale elements.
11618 * locale/localeconv.c (__localeconv): For grouping and
11619 mon_grouping handle "\177" and "\377" like no grouping.
11620 (INT_ELEM): New macro. Use it to set all numeric members.
11621 * locale/programs/ld-monetary.c (monetary_read)
11622 <tok_mon_grouping>: Normalize single -1 to the empty string.
11623 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11624 Likewise.
11625
728dab0e
OB
116262013-11-07 Ondřej Bílka <neleai@seznam.cz>
11627
11628 [BZ #16055]
11629 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11630 when we match (nil).
11631 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11632
66294491
JM
116332013-11-16 Joseph Myers <joseph@codesourcery.com>
11634
ce665817
JM
11635 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11636 (NO_TEST_INLINE): Update value.
11637 (ERRNO_UNCHANGED): Likewise.
11638 (ERRNO_EDOM): Likewise.
11639 (ERRNO_ERANGE): Likewise.
11640 (IGNORE_RESULT): Likewise.
11641 (check_float_internal): Check signs of NaN results if
11642 TEST_NAN_SIGN used.
11643 (check_complex): Pass TEST_NAN_SIGN flag through to second
11644 check_float_internal call.
11645 (copysign_test_data): Add tests with quiet NaNs as second
11646 argument. Use TEST_NAN_SIGN.
11647 (fabs_test_data): Add test of negative quiet NaN argument. Use
11648 TEST_NAN_SIGN.
11649 (signbit_test_data): Add tests of quiet NaN argument.
11650 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11651
ee1466a9
JM
11652 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11653 $ignore_result.
11654 (parse_args): Handle function results specified as IGNORE.
11655 * math/libm-test.inc (IGNORE_RESULT): New macro.
11656 (check_float_internal): Do not check numerical result if flag
11657 IGNORE_RESULT set.
11658 (check_complex): Pass through IGNORE_RESULT to second
11659 check_float_internal call.
11660 (check_int): Do not check numerical result if flag IGNORE_RESULT
11661 set.
11662 (check_long): Likewise.
11663 (check_bool): Likewise.
11664 (check_longlong): Likewise.
11665 (lrint_test_data): Add tests of infinite and NaN arguments.
11666 (lrint_tonearest_test_data): Likewise.
11667 (lrint_towardzero_test_data): Likewise.
11668 (lrint_downward_test_data): Likewise.
11669 (lrint_upward_test_data): Likewise.
11670 (llrint_test_data): Likewise.
11671 (llrint_tonearest_test_data): Likewise.
11672 (llrint_towardzero_test_data): Likewise.
11673 (llrint_downward_test_data): Likewise.
11674 (llrint_upward_test_data): Likewise.
11675 (lround_test_data): Likewise.
11676 (llround_test_data): Likewise.
11677
14407b7e
JM
11678 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11679 (ERRNO_UNCHANGED): Update value.
11680 (ERRNO_EDOM): Likewise.
11681 (ERRNO_ERANGE): Likewise.
11682 (NO_TEST_INLINE_FLOAT): New macro.
11683 (NO_TEST_INLINE_DOUBLE): Likewise.
11684 (enable_test): New function.
11685 (RUN_TEST_f_f): Check enable_test before running test.
11686 (RUN_TEST_2_f): Likewise.
11687 (RUN_TEST_fff_f): Likewise.
11688 (RUN_TEST_c_f): Likewise.
11689 (RUN_TEST_f_f1): Likewise.
11690 (RUN_TEST_fF_f1): Likewise.
11691 (RUN_TEST_fI_f1): Likewise.
11692 (RUN_TEST_ffI_f1): Likewise.
11693 (RUN_TEST_c_c): Likewise.
11694 (RUN_TEST_cc_c): Likewise.
11695 (RUN_TEST_f_i): Likewise.
11696 (RUN_TEST_f_i_tg): Likewise.
11697 (RUN_TEST_ff_i_tg): Likewise.
11698 (RUN_TEST_f_b): Likewise.
11699 (RUN_TEST_f_b_tg): Likewise.
11700 (RUN_TEST_f_l): Likewise.
11701 (RUN_TEST_f_L): Likewise.
11702 (RUN_TEST_fFF_11): Likewise.
11703 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11704 conditionals.
11705 (cosh_test_data): Likewise.
11706 (exp_test_data): Likewise.
11707 (expm1_test_data): Likewise.
11708 (hypot_test_data): Likewise.
11709 (pow_test_data): Likewise.
11710 (sinh_test_data): Likewise.
11711 (tanh_test_data): Likewise.
11712 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11713 flags argument.
11714
ca07f197
JM
11715 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11716 tests with quiet NaN input and output.
11717 (acosh_test_data): Likewise.
11718 (asin_test_data): Likewise.
11719 (asinh_test_data): Likewise.
11720 (atan_test_data): Likewise.
11721 (atanh_test_data): Likewise.
11722 (atan2_test_data): Likewise.
11723 (cbrt_test_data): Likewise.
11724 (cos_test_data): Likewise.
11725 (cosh_test_data): Likewise.
11726 (erf_test_data): Likewise.
11727 (erfc_test_data): Likewise.
11728 (exp_test_data): Likewise.
11729 (exp10_test_data): Likewise.
11730 (exp2_test_data): Likewise.
11731 (expm1_test_data): Likewise.
11732 (hypot_test_data): Likewise.
11733 (j0_test_data): Likewise.
11734 (j1_test_data): Likewise.
11735 (jn_test_data): Likewise.
11736 (lgamma_test_data): Likewise.
11737 (log_test_data): Likewise.
11738 (log10_test_data): Likewise.
11739 (log1p_test_data): Likewise.
11740 (log2_test_data): Likewise.
11741 (pow_test_data): Likewise.
11742 (scalb_test_data): Likewise.
11743 (sin_test_data): Likewise.
11744 (sincos_test_data): Likewise.
11745 (sinh_test_data): Likewise.
11746 (tan_test_data): Likewise.
11747 (tanh_test_data): Likewise.
11748 (tgamma_test_data): Likewise.
11749 (y0_test_data): Likewise.
11750 (y1_test_data): Likewise.
11751 (yn_test_data): Likewise.
11752
66294491
JM
11753 [BZ #16167]
11754 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11755 argument being NaN and avoid computations with second argument in
11756 that case.
11757 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11758 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11759 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11760
1820b143
CL
117612013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11762
11763 * locale/iso-639.def: Add Chitwani Tharu (the).
11764
714bd261
AS
117652013-11-14 Andreas Schwab <schwab@suse.de>
11766
11767 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11768 word instead of empty string.
11769
7ab44563
AZ
117702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11771
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11773 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11775 (__fe_nomask_env): Likewise.
11776
e8470ea2
SE
117772013-11-13 Steve Ellcey <sellcey@mips.com>
11778
11779 * benchtests/bench-timing.h: Include time.h.
11780
17c1d9f0
L
117812013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11782
11783 [BZ #15997]
11784 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11785 to 3.4.0 for x32.
11786 * sysdeps/unix/sysv/linux/configure: Regenerated.
11787
9310c284
JM
117882013-11-13 Joseph Myers <joseph@codesourcery.com>
11789
11790 [BZ #16151]
11791 * stdlib/strtod_l.c (round_and_return): Do not consider
11792 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11793 exponent one less than half the least subnormal exponent.
11794 * stdlib/test-strtod-round-data: Add more tests.
11795 * stdlib/tst-strtod-round.c (tests): Regenerated.
11796
7a2ad8cf
AZ
117972013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11798
11799 [BZ #14143]
11800 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11801 (__fe_mask_env): Likewise.
11802 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11803 libm_hidden_proto and add function prototype.
11804 (__fe_mask_env): Add function prototype.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11806 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11808 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11810 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11811
50727aa7
MS
118122013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11813
b2f386c1 11814 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11815 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11816
a615be46
MS
118172013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11818
11819 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11820 of htab_find_slot().
11821
7ddace62
DM
118222013-11-11 David S. Miller <davem@davemloft.net>
11823
11824 [BZ #16150]
11825 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11826 symbol in the non-vis3 case in static builds.
11827 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11828 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11829 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11830 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11831
9182aa67
JK
118322013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11833
11834 [BZ #387]
11835 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11836 it is empty.
11837
450a2e2d
AZ
118382013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11839
b2f386c1
SP
11840 * benchtests/Makefile: Add bench-strtod.
11841 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11842
8ec3f656
AS
118432013-11-11 Andreas Schwab <schwab@suse.de>
11844
11845 [BZ #16153]
11846 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11847 terminating NUL in key length.
11848
76a9b998
AZ
118492013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11850
11851 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11852 Add artificial ODP entry for vDSO symbol for PPC64.
11853 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11854 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11855
e4368156
OB
118562013-11-07 Ondřej Bílka <neleai@seznam.cz>
11857
11858 [BZ #15374]
11859 * nss/getent.c (services_keys): Recognize services starting with digit.
11860
8d6bb57c
DM
118612013-11-06 David S. Miller <davem@davemloft.net>
11862
11863 [BZ #15985]
11864 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11865 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11866
e256c421
WN
118672013-11-06 Will Newton <will.newton@linaro.org>
11868
11869 * manual/memory.texi (Malloc Examples): Remove register
11870 keyword from examples.
11871
f6e12daa 118722013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11873
f6e12daa 11874 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11875
9d880655
AS
118762013-11-04 Joseph Myers <joseph@codesourcery.com>
11877
fd2f9486 11878 [BZ #6981]
9d880655
AS
11879 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11880 depending on [__GCC_IEC_559 > 0].
11881 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11882 depending on [__GCC_IEC_559_COMPLEX > 0].
11883
ae129d3c
CL
118842013-11-03 Chris Leonard <cjl@sugarlabs.org>
11885
11886 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11887 to iso-639.def.
11888
4a15c2a4 118892013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11890
11891 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11892
8b35e35d
OB
118932013-11-01 Ondřej Bílka <neleai@seznam.cz>
11894
11895 [BZ #16112]
11896 * malloc/malloc (malloc_info): Do not handle first bin as
11897 special case.
11898
1d70fd6c
CL
118992013-11-01 Chris Leonard <cjl@sugarlabs.org>
11900
11901 * locale/iso-639.def: Add Central Nahuatl (nhn).
11902
8c5c2600
BH
119032013-11-01 Bruno Haible <bruno@clisp.org>
11904
11905 [BZ #7003]
11906 * manual/math.texi (BSD Random): Specify range upper bound as
11907 in POSIX.
11908
da5579c2
CL
119092013-10-31 Chris Leonard <cjl@sugarlabs.org>
11910
11911 * locale/iso-639.def: Add Meadow Mari (mhr).
11912
5d30d853
OB
119132013-10-31 Ondřej Bílka <neleai@seznam.cz>
11914
11915 [BZ #14752], [BZ #15763]
11916 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11917 Validate name.
11918 * rt/tst_shm.c: Add test for escaping directory.
11919
a4966c61
AS
119202013-10-31 Andreas Schwab <schwab@suse.de>
11921
8a43e768 11922 [BZ #15917]
a4966c61
AS
11923 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11924 followed by 'x' as part of digit sequence.
11925 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11926
28d708c4
MAP
119272013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11928
11929 [BZ #16037]
11930 * configure.ac: allow GNU Make 4.0 and greater.
11931 * configure: Regenerated.
11932
a56ee40b
WN
119332013-10-30 Will Newton <will.newton@linaro.org>
11934
11935 [BZ #16038]
11936 * malloc/hooks.c (memalign_check): Limit alignment to the
11937 maximum representable power of two.
11938 * malloc/malloc.c (__libc_memalign): Likewise.
11939 * malloc/tst-memalign.c (do_test): Add test for very
11940 large alignment values.
11941 * malloc/tst-posix_memalign.c (do_test): Likewise.
11942
c6e4925d
OB
119432013-10-30 Ondřej Bílka <neleai@seznam.cz>
11944
11945 [BZ #11087]
11946 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11947 (munmap_chunk): Likewise.
11948 (mremap_chunk): Likewise.
11949
119502013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11951
8a43e768 11952 [BZ #15799]
bbea82f7
OB
11953 * stdlib/div.c (div): Remove obsolete code.
11954 * stdlib/ldiv.c (ldiv): Likewise.
11955 * stdlib/lldiv.c (lldiv): Likewise.
11956
977f4b31
SP
119572013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11958
11959 [BZ #16071]
11960 * nss/nss_files/files-XXX.c (get_contents_ret): New
11961 enumerator.
11962 (get_contents): New function.
11963 (internal_getent): Use it. Expand size of LINEBUFLEN.
11964
cb8a6dbd
MF
119652013-10-30 Mike Frysinger <vapier@gentoo.org>
11966
11967 * configure.in: Moved to ...
11968 * configure.ac: ... here. Change reference to configure.in
11969 to configure.ac.
11970 * sysdeps/arm/preconfigure.ac: ... here.
11971 configure.in to configure.ac.
11972 * sysdeps/gnu/configure.in: Moved to ...
11973 * sysdeps/gnu/configure.ac: ... here.
11974 * sysdeps/i386/configure.in: Moved to ...
11975 * sysdeps/i386/configure.ac: ... here.
11976 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11977 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11978 * sysdeps/mach/configure.in: Moved to ...
11979 * sysdeps/mach/configure.ac: ... here.
11980 * sysdeps/mach/hurd/configure.in: Moved to ...
11981 * sysdeps/mach/hurd/configure.ac: ... here.
11982 * sysdeps/powerpc/configure.in: Moved to ...
11983 * sysdeps/powerpc/configure.ac: ... here.
11984 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11985 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11986 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11987 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11988 * sysdeps/s390/s390-32/configure.in: Moved to ...
11989 * sysdeps/s390/s390-32/configure.ac: ... here.
11990 * sysdeps/s390/s390-64/configure.in: Moved to ...
11991 * sysdeps/s390/s390-64/configure.ac: ... here.
11992 * sysdeps/sh/configure.in: Moved to ...
11993 * sysdeps/sh/configure.ac: ... here.
11994 * sysdeps/sparc/configure.in: Moved to ...
11995 * sysdeps/sparc/configure.ac: ... here.
11996 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11997 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11998 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11999 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12000 * sysdeps/x86_64/configure.in: Moved to ...
12001 * sysdeps/x86_64/configure.ac: ... here.
12002 * sysdeps/x86_64/preconfigure.in: Moved to ...
12003 * sysdeps/x86_64/preconfigure.ac: ... here.
12004 * aclocal.m4: Change reference to configure.in to configure.ac.
12005 * config.h.in: Likewise.
12006 * manual/install.texi: Likewise.
12007 * manual/maint.texi: Likewise.
12008 * Makefile: Likewise.
12009 * malloc/Makefile: Likewise.
12010 * nscd/Makefile: Likewise.
12011 * Makeconfig: Change reference to configure.in and
12012 preconfigure.in to configure.ac and preconfigure.ac
12013 respectively.
12014 * INSTALL: Regenerated.
12015 * configure: Likewise.
12016 * sysdeps/gnu/configure: Likewise.
12017 * sysdeps/i386/configure: Likewise.
12018 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12019 * sysdeps/mach/configure: Likewise.
12020 * sysdeps/mach/hurd/configure: Likewise.
12021 * sysdeps/powerpc/configure: Likewise.
12022 * sysdeps/powerpc/powerpc32/configure: Likewise.
12023 * sysdeps/powerpc/powerpc64/configure: Likewise.
12024 * sysdeps/s390/s390-32/configure: Likewise.
12025 * sysdeps/s390/s390-64/configure: Likewise.
12026 * sysdeps/sh/configure: Likewise.
12027 * sysdeps/sparc/configure: Likewise.
12028 * sysdeps/unix/sysv/linux/configure: Likewise.
12029 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12030 * sysdeps/x86_64/configure: Likewise.
12031 * sysdeps/x86_64/preconfigure: Likewise.
12032
36a4953a
AS
120332013-10-29 Andreas Schwab <schwab@suse.de>
12034
12035 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12036
c79a1204
SP
120372013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12038
dfa1b402
SP
12039 * benchtests/pow-inputs: Add new inputs.
12040
54f73d9c
SP
12041 * benchtests/exp-inputs: Add new inputs.
12042
c79a1204
SP
12043 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12044 conditional check for return value.
12045 (__cos32): Likewise.
12046
67beb545 120472013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12048
12049 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12050 to provide a boost for large inputs with word alignment.
12051 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12052 implementation based on optimized PPC64 strcpy.
12053 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12054 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12055 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12056 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12057
151659f6
OB
120582013-10-25 Ondřej Bílka <neleai@seznam.cz>
12059
482a077e 12060 [BZ #2801]
151659f6
OB
12061 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12062
10b0f26b
OB
120632013-10-25 Ondřej Bílka <neleai@seznam.cz>
12064
12065 [BZ #14876]
12066 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12067 * time/tst-strptime.c (day_tests): Add testcase.
12068
ca42d35e
OB
120692013-10-25 Ondřej Bílka <neleai@seznam.cz>
12070
482a077e 12071 [BZ #14029]
ca42d35e
OB
12072 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12073
52e6d801
FB
120742013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12075
12076 [BZ #16074]
12077 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12078 MAP_FAILED on error.
12079
7cbcdb36
SP
120802013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12081
12082 [BZ #16072]
12083 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12084 heap for large requests.
12085
894f3f10
AM
120862013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12087
12088 [BZ #9954]
12089 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12090 result if the result has no associated interface.
12091 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12092 interface for all 127.X.Y.Z addresses.
12093
b85545a6
CL
120942013-10-24 Chris Leonard <cjl@sugarlabs.org>
12095
12096 * locale/iso-639.def: Add Ligurian (lij)
12097
d1f23d46
OB
120982013-10-21 Ondřej Bílka <neleai@seznam.cz>
12099
12100 [BZ #15825]
12101 * sunrpc/rpc_main.c: Document rpcgen -5.
12102
4db5b08f
MS
121032013-10-19 Michael Stahl <mstahl@redhat.com>
12104
12105 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12106
a471e96a
OB
121072013-10-19 Ondřej Bílka <neleai@seznam.cz>
12108
d1f23d46 12109 [BZ #10278]
a471e96a
OB
12110 * posix/glob.c: Match only directories when trailing slash is present.
12111 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12112 (main): Add testcase.
12113
45c30c61
OB
121142013-10-19 Ondřej Bílka <neleai@seznam.cz>
12115
12116 [BZ #15670]
12117 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12118
484c12fb
CD
121192013-10-18 Carlos O'Donell <carlos@redhat.com>
12120
3d7dc513
CD
12121 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12122 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12123 AUTH_DES and cindex for FIPS 140-2.
12124 (DES Encryption): Add cindex FIPS 46-3.
12125
484c12fb
CD
12126 * locale/locarchive.h (struct locarhandle): Add fname.
12127 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12128 if an optional argument was specified to --list-archive,
12129 otherwise NULL.
12130 * locale/programs/locarchive.c (show_archive_content): Take new
12131 argument fname and pass it via ah.fname to open_archive.
12132 * locale/programs/localedef.h: Update decl.
12133 (open_archive): If AH->fname is non-null, open that file
12134 rather than the default file name, and don't ignore ENOENT.
12135 (create_archive): Set AH.fname to NULL.
12136 (delete_locales_from_archive): Likewise.
12137 (add_locales_to_archive): Likewise.
12138 * locale/programs/locfile.c (write_all_categories): Likewise.
12139
3c8325fb
JM
121402013-10-18 Joseph Myers <joseph@codesourcery.com>
12141 Aldy Hernandez <aldyh@redhat.com>
12142
12143 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12144 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12145 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12146 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12147 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12148 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12149 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12150 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12151 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12152 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12153 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12154 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12155 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12156 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12157 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12158 Likewise.
12159 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12160 Likewise.
12161 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12162 Likewise.
12163 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12164 Likewise.
12165 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12166 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12167 Likewise.
12168 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12169 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12170 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12171 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12172 Likewise.
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12175 * sysdeps/powerpc/preconfigure: Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12177 Likewise.
12178 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12179 Replace contents of file by #include of <fenv_libc.h>.
12180 * sysdeps/powerpc/soft-fp/sfp-machine.h
12181 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12182 and <sys/prctl.h>.
12183 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12192 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12196 Allow copysignl PLT reference to be missing.
12197
5abe0682
RS
121982013-10-18 Richard Sandiford <richard@codesourcery.com>
12199 Joseph Myers <joseph@codesourcery.com
12200
12201 [BZ #15948]
12202 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12203 single character.
12204 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12205
c7738d08
SP
122062013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12207
12208 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12209 * elf/tst-tls1.c: Likewise.
12210 * elf/tst-tls10.h: Likewise.
12211 * elf/tst-tls14.c: Likewise.
12212 * elf/tst-tls2.c: Likewise.
12213 * elf/tst-tls3.c: Likewise.
12214 * elf/tst-tls4.c: Likewise.
12215 * elf/tst-tls5.c: Likewise.
12216 * elf/tst-tls6.c: Likewise.
12217 * elf/tst-tls7.c: Likewise.
12218 * elf/tst-tls8.c: Likewise.
12219 * elf/tst-tls9.c: Likewise.
12220 * elf/tst-tlsmod1.c: Likewise.
12221 * elf/tst-tlsmod13.c: Likewise.
12222 * elf/tst-tlsmod13a.c: Likewise.
12223 * elf/tst-tlsmod14a.c: Likewise.
12224 * elf/tst-tlsmod16a.c: Likewise.
12225 * elf/tst-tlsmod16b.c: Likewise.
12226 * elf/tst-tlsmod2.c: Likewise.
12227 * elf/tst-tlsmod3.c: Likewise.
12228 * elf/tst-tlsmod4.c: Likewise.
12229 * elf/tst-tlsmod5.c: Likewise.
12230 * elf/tst-tlsmod6.c: Likewise.
12231
0bfcf2c7
OB
122322013-10-18 Ondřej Bílka <neleai@seznam.cz>
12233
12234 [BZ #12486]
12235 * malloc/malloc.c: remove checks for statistics.
12236
264aad1e
OB
122372013-10-17 Ondřej Bílka <neleai@seznam.cz>
12238
12239 [BZ #15277]
12240 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12241 * inet/tst-network.c: Add testcase.
12242
b957ced8
AS
122432013-10-17 Andreas Schwab <schwab@suse.de>
12244
12245 [BZ #15218]
12246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12247 to determine canonical name.
12248
c5d5d574
OB
122492013-10-17 Ondřej Bílka <neleai@seznam.cz>
12250
12251 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12252 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12275 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12276 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12281 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12309
e5c2c2d0
JM
123102013-10-17 Joseph Myers <joseph@codesourcery.com>
12311
12312 [BZ #16041]
12313 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12314 make result into a quiet NaN.
12315
51ca9e29
JM
123162013-10-16 Joseph Myers <joseph@codesourcery.com>
12317
12318 * soft-fp/adddf3.c: Fix horizontal whitespace.
12319 * soft-fp/addsf3.c: Likewise.
12320 * soft-fp/addtf3.c: Likewise.
12321 * soft-fp/divdf3.c: Likewise.
12322 * soft-fp/divsf3.c: Likewise.
12323 * soft-fp/divtf3.c: Likewise.
12324 * soft-fp/double.h: Likewise.
12325 * soft-fp/eqdf2.c: Likewise.
12326 * soft-fp/eqsf2.c: Likewise.
12327 * soft-fp/eqtf2.c: Likewise.
12328 * soft-fp/extenddftf2.c: Likewise.
12329 * soft-fp/extended.h: Likewise.
12330 * soft-fp/extendsfdf2.c: Likewise.
12331 * soft-fp/extendsftf2.c: Likewise.
12332 * soft-fp/extendxftf2.c: Likewise.
12333 * soft-fp/fixdfdi.c: Likewise.
12334 * soft-fp/fixdfsi.c: Likewise.
12335 * soft-fp/fixdfti.c: Likewise.
12336 * soft-fp/fixsfdi.c: Likewise.
12337 * soft-fp/fixsfsi.c: Likewise.
12338 * soft-fp/fixsfti.c: Likewise.
12339 * soft-fp/fixtfdi.c: Likewise.
12340 * soft-fp/fixtfsi.c: Likewise.
12341 * soft-fp/fixtfti.c: Likewise.
12342 * soft-fp/fixunsdfdi.c: Likewise.
12343 * soft-fp/fixunsdfsi.c: Likewise.
12344 * soft-fp/fixunsdfti.c: Likewise.
12345 * soft-fp/fixunssfdi.c: Likewise.
12346 * soft-fp/fixunssfsi.c: Likewise.
12347 * soft-fp/fixunssfti.c: Likewise.
12348 * soft-fp/fixunstfdi.c: Likewise.
12349 * soft-fp/fixunstfsi.c: Likewise.
12350 * soft-fp/fixunstfti.c: Likewise.
12351 * soft-fp/floatdidf.c: Likewise.
12352 * soft-fp/floatdisf.c: Likewise.
12353 * soft-fp/floatditf.c: Likewise.
12354 * soft-fp/floatsidf.c: Likewise.
12355 * soft-fp/floatsisf.c: Likewise.
12356 * soft-fp/floatsitf.c: Likewise.
12357 * soft-fp/floattidf.c: Likewise.
12358 * soft-fp/floattisf.c: Likewise.
12359 * soft-fp/floattitf.c: Likewise.
12360 * soft-fp/floatundidf.c: Likewise.
12361 * soft-fp/floatundisf.c: Likewise.
12362 * soft-fp/floatunditf.c: Likewise.
12363 * soft-fp/floatunsidf.c: Likewise.
12364 * soft-fp/floatunsisf.c: Likewise.
12365 * soft-fp/floatunsitf.c: Likewise.
12366 * soft-fp/floatuntidf.c: Likewise.
12367 * soft-fp/floatuntisf.c: Likewise.
12368 * soft-fp/floatuntitf.c: Likewise.
12369 * soft-fp/fmadf4.c: Likewise.
12370 * soft-fp/fmasf4.c: Likewise.
12371 * soft-fp/fmatf4.c: Likewise.
12372 * soft-fp/gedf2.c: Likewise.
12373 * soft-fp/gesf2.c: Likewise.
12374 * soft-fp/getf2.c: Likewise.
12375 * soft-fp/ledf2.c: Likewise.
12376 * soft-fp/lesf2.c: Likewise.
12377 * soft-fp/letf2.c: Likewise.
12378 * soft-fp/muldf3.c: Likewise.
12379 * soft-fp/mulsf3.c: Likewise.
12380 * soft-fp/multf3.c: Likewise.
12381 * soft-fp/negdf2.c: Likewise.
12382 * soft-fp/negsf2.c: Likewise.
12383 * soft-fp/negtf2.c: Likewise.
12384 * soft-fp/op-1.h: Likewise.
12385 * soft-fp/op-2.h: Likewise.
12386 * soft-fp/op-4.h: Likewise.
12387 * soft-fp/op-8.h: Likewise.
12388 * soft-fp/op-common.h: Likewise.
12389 * soft-fp/quad.h: Likewise.
12390 * soft-fp/single.h: Likewise.
12391 * soft-fp/soft-fp.h: Likewise.
12392 * soft-fp/sqrtdf2.c: Likewise.
12393 * soft-fp/sqrtsf2.c: Likewise.
12394 * soft-fp/sqrttf2.c: Likewise.
12395 * soft-fp/subdf3.c: Likewise.
12396 * soft-fp/subsf3.c: Likewise.
12397 * soft-fp/subtf3.c: Likewise.
12398 * soft-fp/truncdfsf2.c: Likewise.
12399 * soft-fp/trunctfdf2.c: Likewise.
12400 * soft-fp/trunctfsf2.c: Likewise.
12401 * soft-fp/trunctfxf2.c: Likewise.
12402 * soft-fp/unorddf2.c: Likewise.
12403 * soft-fp/unordsf2.c: Likewise.
12404 * soft-fp/unordtf2.c: Likewise.
12405
9ebb0332
JM
124062013-10-15 Joseph Myers <joseph@codesourcery.com>
12407
12408 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12409 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12410
4b1a6d8b
OB
124112013-10-15 Ondřej Bílka <neleai@seznam.cz>
12412
12413 * elf/dl-libc.c: Clear initfini list after freeing.
12414
1e145589
JM
124152013-10-14 Joseph Myers <joseph@codesourcery.com>
12416
12417 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12418 * soft-fp/addsf3.c: Likewise.
12419 * soft-fp/addtf3.c: Likewise.
12420 * soft-fp/divdf3.c: Likewise.
12421 * soft-fp/divsf3.c: Likewise.
12422 * soft-fp/divtf3.c: Likewise.
12423 * soft-fp/double.h: Likewise.
12424 * soft-fp/eqdf2.c: Likewise.
12425 * soft-fp/eqsf2.c: Likewise.
12426 * soft-fp/eqtf2.c: Likewise.
12427 * soft-fp/extenddftf2.c: Likewise.
12428 * soft-fp/extended.h: Likewise.
12429 * soft-fp/extendsfdf2.c: Likewise.
12430 * soft-fp/extendsftf2.c: Likewise.
12431 * soft-fp/extendxftf2.c: Likewise.
12432 * soft-fp/fixdfdi.c: Likewise.
12433 * soft-fp/fixdfsi.c: Likewise.
12434 * soft-fp/fixdfti.c: Likewise.
12435 * soft-fp/fixsfdi.c: Likewise.
12436 * soft-fp/fixsfsi.c: Likewise.
12437 * soft-fp/fixsfti.c: Likewise.
12438 * soft-fp/fixtfdi.c: Likewise.
12439 * soft-fp/fixtfsi.c: Likewise.
12440 * soft-fp/fixtfti.c: Likewise.
12441 * soft-fp/fixunsdfdi.c: Likewise.
12442 * soft-fp/fixunsdfsi.c: Likewise.
12443 * soft-fp/fixunsdfti.c: Likewise.
12444 * soft-fp/fixunssfdi.c: Likewise.
12445 * soft-fp/fixunssfsi.c: Likewise.
12446 * soft-fp/fixunssfti.c: Likewise.
12447 * soft-fp/fixunstfdi.c: Likewise.
12448 * soft-fp/fixunstfsi.c: Likewise.
12449 * soft-fp/fixunstfti.c: Likewise.
12450 * soft-fp/floatdidf.c: Likewise.
12451 * soft-fp/floatdisf.c: Likewise.
12452 * soft-fp/floatditf.c: Likewise.
12453 * soft-fp/floatsidf.c: Likewise.
12454 * soft-fp/floatsisf.c: Likewise.
12455 * soft-fp/floatsitf.c: Likewise.
12456 * soft-fp/floattidf.c: Likewise.
12457 * soft-fp/floattisf.c: Likewise.
12458 * soft-fp/floattitf.c: Likewise.
12459 * soft-fp/floatundidf.c: Likewise.
12460 * soft-fp/floatundisf.c: Likewise.
12461 * soft-fp/floatunsidf.c: Likewise.
12462 * soft-fp/floatunsisf.c: Likewise.
12463 * soft-fp/floatuntidf.c: Likewise.
12464 * soft-fp/floatuntisf.c: Likewise.
12465 * soft-fp/floatuntitf.c: Likewise.
12466 * soft-fp/fmadf4.c: Likewise.
12467 * soft-fp/fmasf4.c: Likewise.
12468 * soft-fp/fmatf4.c: Likewise.
12469 * soft-fp/gedf2.c: Likewise.
12470 * soft-fp/gesf2.c: Likewise.
12471 * soft-fp/getf2.c: Likewise.
12472 * soft-fp/ledf2.c: Likewise.
12473 * soft-fp/lesf2.c: Likewise.
12474 * soft-fp/letf2.c: Likewise.
12475 * soft-fp/muldf3.c: Likewise.
12476 * soft-fp/mulsf3.c: Likewise.
12477 * soft-fp/multf3.c: Likewise.
12478 * soft-fp/negdf2.c: Likewise.
12479 * soft-fp/negsf2.c: Likewise.
12480 * soft-fp/negtf2.c: Likewise.
12481 * soft-fp/op-1.h: Likewise.
12482 * soft-fp/op-2.h: Likewise.
12483 * soft-fp/op-4.h: Likewise.
12484 * soft-fp/op-8.h: Likewise.
12485 * soft-fp/op-common.h: Likewise.
12486 * soft-fp/quad.h: Likewise.
12487 * soft-fp/single.h: Likewise.
12488 * soft-fp/soft-fp.h: Likewise.
12489 * soft-fp/sqrtdf2.c: Likewise.
12490 * soft-fp/sqrtsf2.c: Likewise.
12491 * soft-fp/sqrttf2.c: Likewise.
12492 * soft-fp/subdf3.c: Likewise.
12493 * soft-fp/subsf3.c: Likewise.
12494 * soft-fp/subtf3.c: Likewise.
12495 * soft-fp/truncdfsf2.c: Likewise.
12496 * soft-fp/trunctfdf2.c: Likewise.
12497 * soft-fp/trunctfsf2.c: Likewise.
12498 * soft-fp/trunctfxf2.c: Likewise.
12499 * soft-fp/unorddf2.c: Likewise.
12500 * soft-fp/unordsf2.c: Likewise.
12501 * soft-fp/unordtf2.c: Likewise.
12502
17c48a60
OB
125032013-10-14 Ondřej Bílka <neleai@seznam.cz>
12504
12505 [BZ #15672]
12506 * misc/error.c (error_tail): Fix possible buffer overflow.
12507
cabba934
OB
125082013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12509
12510 [BZ #13028]
12511 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12512 address.
12513
94bf958a
PM
125142013-10-14 P. J. McDermott <pj@pehjota.net>
12515
12516 [BZ #832]
12517 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12518 testing pipefail option.
12519
71b4dea7
JM
125202013-10-12 Joseph Myers <joseph@codesourcery.com>
12521
12522 * soft-fp/double.h: Indent preprocessor directives inside #if.
12523 * soft-fp/extended.h: Likewise.
12524 * soft-fp/op-2.h: Likewise.
12525 * soft-fp/op-4.h: Likewise.
12526 * soft-fp/op-common.h: Likewise.
12527 * soft-fp/quad.h: Likewise.
12528 * soft-fp/single.h: Likewise.
12529 * soft-fp/soft-fp.h: Likewise.
12530
55602758
YC
125312013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12532
12533 * iconv/iconv_prog.c: Fix typos.
12534 * stdio-common/psiginfo-data.h: Likewise.
12535
9cd83302
RT
125362013-10-12 Reuben Thomas <rrt@sc3d.org>
12537
12538 [BZ #15764]
12539 * locale/setlocale.c: Fix typo.
12540
99fd9f47
JM
125412013-10-12 Joseph Myers <joseph@codesourcery.com>
12542
b7ea74f0
JM
12543 [BZ #16036]
12544 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12545 signaling NaN arguments.
12546 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12547 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12548
8a509447
JM
12549 [BZ #14910]
12550 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12551 unordered operands.
12552 * soft-fp/gesf2.c (__gesf2): Likewise.
12553 * soft-fp/getf2.c (__getf2): Likewise.
12554 * soft-fp/ledf2.c (__ledf2): Likewise.
12555 * soft-fp/lesf2.c (__lesf2): Likewise.
12556 * soft-fp/letf2.c (__letf2): Likewise.
12557
98998e9f
JM
12558 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12559 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12560 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12561 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12562 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12563 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12564 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12565 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12566 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12567 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12568 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12569 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12570 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12571 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12572 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12573 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12574 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12575 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12576 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12577 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12578 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12579 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12580 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12581 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12582 * soft-fp/floattidf.c (__floattidf): Likewise.
12583 * soft-fp/floattisf.c (__floattisf): Likewise.
12584 * soft-fp/floattitf.c (__floattitf): Likewise.
12585 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12586 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12587 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12588 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12589 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12590 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12591 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12592 * soft-fp/gesf2.c (__gesf2): Likewise.
12593 * soft-fp/getf2.c (__getf2): Likewise.
12594 * soft-fp/ledf2.c (__ledf2): Likewise.
12595 * soft-fp/lesf2.c (__lesf2): Likewise.
12596 * soft-fp/letf2.c (__letf2): Likewise.
12597
8edc4a11
JM
12598 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12599 Undefine and redefine.
12600 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12601 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12602 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12603 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12604 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12605 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12606 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12607 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12608 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12609 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12610 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12611 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12612 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12613 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12614 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12615
8399acaf
JM
12616 [BZ #16032]
12617 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12618 without decrementing exponent if mantissa >= that for the
12619 denominator, not >.
12620 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12621 denominator, not >. Decrement exponent in < case instead of
12622 incrementing in >= case.
12623 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12624 without decrementing exponent if mantissa >= that for the
12625 denominator, not >.
12626
99fd9f47
JM
12627 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12628 computing saturated result for unsigned overflow.
12629
10e1cf6b
SP
126302013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12631 Jeff Law <law@redhat.com>
12632
12633 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12634 (atan2Mp): Add systemtap probe marker.
12635 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12636 (__ieee754_log): Add systemtap probe marker.
12637 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12638 (atanMp): Add systemtap probe marker.
12639 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12640 (tanMp): Add systemtap probe marker.
12641 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12642 (__slowexp): Add systemtap probe marker.
12643 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12644 (__slowpow): Add systemtap probe marker.
12645 * manual/probes.texi: Document probes.
12646
3d110c7c
EB
126472013-10-11 Eric Biggers <ebiggers3@gmail.com>
12648
12649 [BZ #15362]
12650 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12651 written.
12652 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12653 written.
12654 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12655 written to buffer but not flushed.
12656 * libio/iofwrite_u.c: Likewise.
12657 * libio/iopadn.c: Return bytes returned even if EOF was
12658 encountered.
12659 * libio/iowpadn.c: Likewise.
12660 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12661 if _IO_padn does not write the whole buffer.
12662 [!COMPILE_WPRINTF] (PAD): Likewise.
12663
75b4202a
DM
126642013-10-10 David S. Miller <davem@davemloft.net>
12665
12666 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12667 directory block.
12668
6c6352e6
JM
126692013-10-10 Joseph Myers <joseph@codesourcery.com>
12670
33b853c3
JM
12671 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12672 instead of FSF address.
12673 * soft-fp/fixdfti.c: Likewise.
12674 * soft-fp/fixsfti.c: Likewise.
12675 * soft-fp/fixtfti.c: Likewise.
12676 * soft-fp/fixunsdfti.c: Likewise.
12677 * soft-fp/fixunssfti.c: Likewise.
12678 * soft-fp/fixunstfti.c: Likewise.
12679 * soft-fp/floattidf.c: Likewise.
12680 * soft-fp/floattisf.c: Likewise.
12681 * soft-fp/floattitf.c: Likewise.
12682 * soft-fp/floatuntidf.c: Likewise.
12683 * soft-fp/floatuntisf.c: Likewise.
12684 * soft-fp/floatuntitf.c: Likewise.
12685 * soft-fp/trunctfxf2.c: Likewise.
12686
6c6352e6
JM
12687 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12688 * soft-fp/fixdfti.c: Likewise.
12689 * soft-fp/fixsfti.c: Likewise.
12690 * soft-fp/fixtfti.c: Likewise.
12691 * soft-fp/fixunsdfti.c: Likewise.
12692 * soft-fp/fixunssfti.c: Likewise.
12693 * soft-fp/fixunstfti.c: Likewise.
12694 * soft-fp/floattidf.c: Likewise.
12695 * soft-fp/floattisf.c: Likewise.
12696 * soft-fp/floattitf.c: Likewise.
12697 * soft-fp/floatuntidf.c: Likewise.
12698 * soft-fp/floatuntisf.c: Likewise.
12699 * soft-fp/floatuntitf.c: Likewise.
12700 * soft-fp/trunctfxf2.c: Likewise.
12701
3bf78b71
DM
127022013-10-10 David S. Miller <davem@davemloft.net>
12703
12704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12705
6f10289e
JM
127062013-10-10 Joseph Myers <joseph@codsourcery.com>
12707
bd878fc0
JM
12708 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12709 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12710 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12711 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12712 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12713 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12714 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12715
6f10289e
JM
12716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12717 for NaNs before doing comparisons on argument.
12718 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12719 Likewise.
12720
321e2684
WN
127212013-10-10 Will Newton <will.newton@linaro.org>
12722
12723 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12724 passed to _int_memalign does not overflow.
12725
40fefba1
TR
127262013-10-10 Torvald Riegel <triegel@redhat.com>
12727
12728 * scripts/bench.pl: Add include-sources directive.
12729 * benchtests/README: Update documentation.
12730
2ae21ed2
JM
127312013-10-10 Joseph Myers <joseph@codesourcery.com>
12732
dcc2dd3f
JM
12733 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12734 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12735 instead of FP_INIT_ROUNDMODE.
12736 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12737 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12738
2ae21ed2
JM
12739 [BZ #16034]
12740 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12741 copy class of input value.
12742 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12743 not handle exceptions.
12744 * soft-fp/negsf2.c (__negsf2): Likewise.
12745 * soft-fp/negtf2.c (__negtf2): Likewise.
12746 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12747
cb8f9562
JM
127482013-10-09 Joseph Myers <joseph@codesourcery.com>
12749
12750 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12751 semicolon. From Linux kernel.
12752
5b60c59d
AB
127532013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12754
12755 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12756
b86835ca
YC
127572013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12758
12759 [BZ #156]
12760 * manual/socket.texi: Added statement about buffer
12761 for gethostbyname2_r.
12762
e7044ea7
OB
127632013-10-08 Ondřej Bílka <neleai@seznam.cz>
12764
12765 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12766 Use .p2align directive instead, throughout.
12767 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12768 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12769 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12770 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12771 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12772 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12773 * sysdeps/x86_64/strchr.S: Likewise.
12774 * sysdeps/x86_64/strrchr.S: Likewise.
12775
09544cbc
SP
127762013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12777
88576635
SP
12778 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12779
e7b2d1dd
SP
12780 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12781
09544cbc
SP
12782 * sysdeps/generic/math_private.h (__mpsin1): Remove
12783 declaration.
12784 (__mpcos1): Likewise.
12785 (__mpsin): New argument __range_reduce.
12786 (__mpcos): Likewise.
12787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12788 (slow): Use __mpsin and __mpcos.
12789 (slow1): Likewise.
12790 (slow2): Likewise.
12791 (sloww): Likewise.
12792 (sloww1): Likewise.
12793 (sloww2): Likewise.
12794 (bsloww): Likewise.
12795 (bsloww1): Likewise.
12796 (bsloww2): Likewise.
12797 (cslow2): Likewise.
12798 (csloww): Likewise.
12799 (csloww1): Likewise.
12800 (csloww2): Likewise.
12801 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12802 range_reduce. Merge in __mpsin1.
12803 (__mpcos): Likewise.
12804 (__mpsin1): Remove.
12805 (__mpcos1): Likewise.
12806
7602d070
JM
128072013-10-07 Joseph Myers <joseph@codesourcery.com>
12808
12809 * locale/loadlocale.c (_nl_intern_locale_data): Use
12810 LOCFILE_ALIGNED_P.
12811 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12812 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12813 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12814 obstack data is appropriately aligned.
12815 (obstack_int32_grow_fast): Likewise.
12816 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12817 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12818 (add_locale_uint32_array): Likewise.
12819
a357259b
SP
128202013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12821
12822 * benchtests/Makefile: Remove ARGLIST and RET variables.
12823 ($(objpfx)bench-%.c): Pass only function name to the script.
12824 * benchtests/README: Update documentation.
12825 * benchtests/acos-inputs: Add new directives.
12826 * benchtests/acosh-inputs: Likewise.
12827 * benchtests/asin-inputs: Likewise.
12828 * benchtests/asinh-inputs: Likewise.
12829 * benchtests/atan-inputs: Likewise.
12830 * benchtests/atanh-inputs: Likewise.
12831 * benchtests/cos-inputs: Likewise.
12832 * benchtests/cosh-inputs: Likewise.
12833 * benchtests/exp-inputs: Likewise.
12834 * benchtests/log-inputs: Likewise.
12835 * benchtests/pow-inputs: Likewise.
12836 * benchtests/rint-inputs: Likewise.
12837 * benchtests/sin-inputs: Likewise.
12838 * benchtests/sinh-inputs: Likewise.
12839 * benchtests/tan-inputs: Likewise.
12840 * benchtests/tanh-inputs: Likewise.
12841 * scripts/bench.pl: Add support for new directives.
12842
9ec1b13d
AM
128432013-10-07 Alan Modra <amodra@gmail.com>
12844
12845 * README: Fix careless merge.
12846
8b7d57cd
AM
128472013-10-05 Alan Modra <amodra@gmail.com>
12848
12849 * NEWS: Mention powerpc64le support and bugs fixed.
12850 * README: Both big-endian and little-endian powerpc64 supported.
12851
7b7bab13
ST
128522013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12853
57f41c40
AS
12854 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12855 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12856 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12857 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12858
d39baad1
RA
128592013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12860
12861 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12862 match prototype.
12863
cd78f7e7
JM
128642013-10-04 Joseph Myers <joseph@codesourcery.com>
12865
29d73d86
JM
12866 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12867 Move -mhard-float appending from
12868 ports/sysdeps/powerpc/powerpc32/Makefile.
12869 [$(with-fp) = yes] (ASFLAGS): Likewise.
12870 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12871 * sysdeps/powerpc/nofpu: Move directory from
12872 ports/sysdeps/powerpc/nofpu.
12873 * sysdeps/powerpc/soft-fp: Move directory from
12874 ports/sysdeps/powerpc/soft-fp.
12875 * sysdeps/powerpc/powerpc32/405: Move directory from
12876 ports/sysdeps/powerpc/powerpc32/405.
12877 * sysdeps/powerpc/powerpc32/440: Move directory from
12878 ports/sysdeps/powerpc/powerpc32/440.
12879 * sysdeps/powerpc/powerpc32/464: Move directory from
12880 ports/sysdeps/powerpc/powerpc32/464.
12881 * sysdeps/powerpc/powerpc32/476: Move directory from
12882 ports/sysdeps/powerpc/powerpc32/476.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12884 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12886 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12888 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12890 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12892 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12893 * README: Update for powerpc-*-linux-gnu software floating point
12894 support in libc.
12895
e246b347
JM
12896 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12897 case to powerpc/powerpc32*.
12898 * sysdeps/unix/sysv/linux/configure: Regenerated.
12899
89c2003e
JM
12900 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12901 (_FPU_MASK_OM): Define as 0x04.
12902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12904 0x00c10080.
12905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12906 0x0000003c.
12907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12908
cd78f7e7
JM
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12910 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12911 getcontext_e500.
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12913 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12914 setcontext_e500.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12916 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12917 and setcontext_e500.
12918
c755294d
CL
129192013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12920
12921 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12922
e16d221c
SP
129232013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12924
12925 * manual/threads.texi (Default Thread Attributes): Fix typo.
12926
215c7d43
WN
129272013-10-04 Will Newton <will.newton@linaro.org>
12928
12929 * malloc/Makefile: Add tst-memalign.
12930 * malloc/tst-memalign.c: New file.
12931
27d0461b
WN
12932 * malloc/tst-posix_memalign.c: Add comments.
12933 (do_test): Add comments and call free on all potentially
12934 allocated pointers. Add space after cast.
12935
1bc92709
WN
12936 * malloc/tst-pvalloc.c: Add comments.
12937 (do_test): Add comments and call free on all potentially
12938 allocated pointers. Remove duplicate check for NULL pointer.
12939 Add space after cast.
12940
66a9be9d
WN
12941 * malloc/tst-valloc.c: Add comments.
12942 (do_test): Add comments and call free on all potentially
12943 allocated pointers. Remove duplicate check for NULL pointer.
12944 Add space after cast.
12945
4cb81307
AM
129462013-10-04 Alan Modra <amodra@gmail.com>
12947
12948 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12949 Use stdint types in rather than __attribute__((mode())).
12950 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12951
f8e3e9f3
AM
129522013-10-04 Alan Modra <amodra@gmail.com>
12953
12954 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12955 Correct handling of unaligned relocs for little-endian.
12956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12957
8f9ebb08
AM
129582013-10-04 Alan Modra <amodra@gmail.com>
12959
12960 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12961 * configure: Regenerate.
12962 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12963 * shlib-versions: Likewise.
12964
0edf96c2
AM
129652013-10-04 Alan Modra <amodra@gmail.com>
12966
12967 * string/tester.c (test_memrchr): Increment reported test cycle.
12968
e0f7a380
AM
129692013-10-04 Alan Modra <amodra@gmail.com>
12970
12971 * string/test-memcpy.c (do_one_test): When reporting errors, print
12972 string address and don't overrun end of string.
12973
466b0393
AM
129742013-10-04 Alan Modra <amodra@gmail.com>
12975
12976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12977 insrdi. Make better use of reg selection to speed exit slightly.
12978 Schedule entry path a little better. Remove useless "are we done"
12979 checks on entry to main loop. Handle wrapping around zero address.
12980 Correct main loop count. Handle single left-over word from main
12981 loop inline rather than by using loop_small. Remove extra word
12982 case in loop_small caused by wrong loop count. Add little-endian
12983 support.
12984 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12986 cache hint.
12987 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12988 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12989 support. Avoid rlwimi.
12990 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12991
3be87c77
AM
129922013-10-04 Alan Modra <amodra@gmail.com>
12993
12994 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12995 insrdi. Formatting.
3be87c77
AM
12996 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12997 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12998 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12999 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13000 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13001 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13002
759cfef3
AM
130032013-10-04 Alan Modra <amodra@gmail.com>
13004
13005 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13007 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13009 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13010 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13011 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13012 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13013 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13014 use of regs. Use power7 mtocrf. Tidy function tails.
13015
fe6e95d7
AM
130162013-10-04 Alan Modra <amodra@gmail.com>
13017
13018 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13019 Formatting. Consistently use rXXX register defines or rN defines.
13020 Use early exit labels that avoid restoring unused non-volatile regs.
13021 Make cr field use more consistent with rWORDn compares. Rename
13022 regs used as shift registers for unaligned loop, using rN defines
13023 for short lifetime/multiple use regs.
13024 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13025 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13026 addi 1,1,64 to pop stack frame. Simplify return value code.
13027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13028
664318c3
AM
130292013-10-04 Alan Modra <amodra@gmail.com>
13030
13031 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13032 support. Correct typos, formatting. Optimize tail. Use insrdi
13033 rather than rlwimi.
13034 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13035 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13036 little-endian support. Correct typos.
13037 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13038 rather than rlwimi.
13039 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13040 in loop and entry code to keep "and." results.
13041 (strchr): Add little-endian support. Comment. Move cntlzd
13042 earlier in tail.
13043 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13044
43b84013
AM
130452013-10-04 Alan Modra <amodra@gmail.com>
13046
13047 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13048 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13049 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13050 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13051
8a7413f9
AM
130522013-10-04 Alan Modra <amodra@gmail.com>
13053
13054 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13055 (rTMP): Define as r11.
13056 (strcmp): Add little-endian support. Optimise tail.
13057 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13058 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13059 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13060 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13061 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13063 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13064
33ee81de
AM
130652013-10-04 Alan Modra <amodra@gmail.com>
13066
13067 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13068 little-endian support. Remove unnecessary "are we done" tests.
13069 Handle "s" wrapping around zero and extremely large "size".
13070 Correct main loop count. Handle single left-over word from main
13071 loop inline rather than by using small_loop. Correct comments.
13072 Delete "zero" tail, use "end_max" instead.
13073 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13074
db9b4570
AM
130752013-10-04 Alan Modra <amodra@gmail.com>
13076
13077 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13078 support. Don't branch over align.
13079 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13080 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13081 support. Rearrange tmp reg use to suit. Comment.
13082 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13083
f7c399cf
AM
130842013-10-04 Alan Modra <amodra@gmail.com>
13085
13086 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13087
0b2c2ace
AM
130882013-10-04 Alan Modra <amodra@gmail.com>
13089
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13091 conditional form of branch and link when obtaining pc.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13093
02f04a6c
AM
130942013-10-04 Alan Modra <amodra@gmail.com>
13095
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13097 HIWORD/LOWORD.
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13100
9b874b2f
AM
131012013-10-04 Alan Modra <amodra@gmail.com>
13102
13103 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13104 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13105 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13106 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13107 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13108 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13109 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13110 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13111 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13112 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13113
be1e5d31
AB
131142013-10-04 Anton Blanchard <anton@au1.ibm.com>
13115 Alistair Popple <alistair@ozlabs.au.ibm.com>
13116 Alan Modra <amodra@gmail.com>
13117
13118 [BZ #15723]
13119 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13120 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13121 _dl_hwcap access for little-endian.
13122 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13123 destroy vmx regs when saving unaligned.
13124 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13125 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13126 destroy vmx regs when saving unaligned.
13127
fef13a78
AM
131282013-10-04 Alan Modra <amodra@gmail.com>
13129
13130 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13131 Don't use a union to pack hi/low value.
13132
76a66d51
AB
131332013-10-04 Anton Blanchard <anton@au1.ibm.com>
13134
13135 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13136 for little-endian.
13137 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13139 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13140 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13141 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13142
6a31fe7f
AM
131432013-10-04 Alan Modra <amodra@gmail.com>
13144
13145 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13146 constants to usual value for .cst8 section, and remove redundant
13147 high address load.
13148 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13149 constant for 0x1p52. Load little-endian words of double from
13150 correct stack offsets.
13151
7b88401f
AM
131522013-10-04 Alan Modra <amodra@gmail.com>
13153
13154 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13155 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13156 words of double from correct stack offsets.
13157 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13158 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13159 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13160 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13162 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13163 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13164 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13165 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13168 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13169 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13170 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13172 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13173 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13174
9c008155
AM
131752013-10-04 Alan Modra <amodra@gmail.com>
13176
13177 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13178 64-bit int/double union.
13179 (_FPU_SETCW): Likewise.
13180 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13181 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13182
da13146d
AM
131832013-10-04 Alan Modra <amodra@gmail.com>
13184
13185 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13186 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13187
603e8410
AM
131882013-10-04 Alan Modra <amodra@gmail.com>
13189
13190 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13191 use vector int constants.
13192 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13193
4a28b3ca
AB
131942013-10-04 Anton Blanchard <anton@au1.ibm.com>
13195
13196 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13197 array with long long.
13198 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13199 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13200 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13201 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13202 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13203 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13204 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13205 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13206 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13207 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13208 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13209 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13210 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13211
2ca85d2b
AB
132122013-10-04 Anton Blanchard <anton@au1.ibm.com>
13213
13214 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13215 (__signbit): Likewise. Correct for little-endian.
13216 (__signbitl): Call __signbit.
13217 (lrint): Correct for little-endian.
13218 (lrintf): Call lrint.
13219
62a728ae
AM
132202013-10-04 Alan Modra <amodra@gmail.com>
13221
13222 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13223 union 32-bit int array member with 64-bit int array.
13224 (t515, tm256): Double rather than long double.
13225 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13226
32c301df
AM
132272013-10-04 Alan Modra <amodra@gmail.com>
13228
13229 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13230 Delete.
13231 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13233 version of math_ldbl.h.
13234
650ef4bd
AM
132352013-10-04 Alan Modra <amodra@gmail.com>
13236
13237 [BZ #15734], [BZ #15735]
13238 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13239 all uses of ieee875 long double macros and unions. Simplify test
13240 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13241 ldbl_extract_mantissa value for ix,iy exponents. Properly
13242 normalize after ldbl_extract_mantissa, and don't add hidden bit
13243 already handled. Don't treat low word of ieee854 mantissa like
13244 low word of IBM long double and mask off bit when testing for
13245 zero.
13246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13247 all uses of ieee875 long double macros and unions. Simplify tests
13248 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13249 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13250 two1022, instead use their values. Recognise that tests for large
13251 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13252 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13253 Rewrite all uses of ieee875 long double macros and unions. Simplify
13254 test for 0.0L and nan. Correct negation.
13255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13256 ieee875 long double macros and unions. Correct output for large
13257 magnitude x. Correct absolute value calculation.
13258 (__erfcl): Likewise.
13259 * math/libm-test.inc: Add tests for errors discovered in IBM long
13260 double versions of fmodl, remainderl, erfl and erfcl.
13261
765714ca
AM
132622013-10-04 Alan Modra <amodra@gmail.com>
13263
13264 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13265 all uses of ieee854 long double macros and unions. Simplify tests
13266 for long doubles that are fully specified by the high double.
13267 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13268 Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13270 Remove dead code too.
13271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13272 (__ieee754_ynl): Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13276 Remove dead code too.
13277 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13281 Simplify.
13282 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13283 Simplify.
13284 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13287 Comment on variable precision.
13288 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13290 Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13295 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13296
4ebd120c
AM
132972013-10-04 Alan Modra <amodra@gmail.com>
13298
13299 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13300 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13301 all uses of ieee854 long double macros and unions.
13302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13306 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13307 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13308 Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13310 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13314 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13315 Simplify sign and nan test too.
13316 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13319 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13320 Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13323 Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13330
1b6adf88
AM
133312013-10-04 Alan Modra <amodra@gmail.com>
13332
13333 * stdio-common/printf_size.c (__printf_size): Don't use
13334 union ieee854_long_double in fpnum union.
13335 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13336 signbit macro to retrieve sign from long double.
13337 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13338 retrieve sign from long double.
13339 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13340 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13341 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13342 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13343 * math/test-misc.c (main): Don't use union ieee854_long_double.
13344
4cf69995
AM
133452013-10-04 Alan Modra <amodra@gmail.com>
13346
13347 [BZ #15680]
13348 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13349 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13350 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13351 calculation. Remove unnecessary test for denormal exponent.
13352 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13353 Correct handling of denormals. Avoid undefined shift behaviour.
13354 Correct normalisation of low mantissa when low double is denormal.
13355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13356 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13357 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13358 Correct normalisation of low mantissa. Test for overflow of high
13359 mantissa and normalise.
13360 (ldbl_nearbyint): Use more readable constant for two52.
13361 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13362 (__mpn_construct_long_double): Fix test for overflow of high
13363 mantissa and correct normalisation. Avoid undefined shift.
13364
9605ca6c
AM
133652013-10-04 Alan Modra <amodra@gmail.com>
13366
13367 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13368 (union ibm_extended_long_double): Define as an array of ieee754_double.
13369 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13370 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13371 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13372 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13380
975569d0
JM
133812013-10-03 Joseph Myers <joseph@codesourcery.com>
13382
d3d23756
JM
13383 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13384 page size instead of calling getpagesize.
13385
975569d0
JM
13386 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13387 (LOCFILE_ALIGN_MASK): Likewise.
13388 (LOCFILE_ALIGN_UP): Likewise.
13389 (LOCFILE_ALIGNED_P): Likewise.
13390 * locale/programs/ld-collate.c (collate_output): Use the new
13391 macros instead of __alignof__ (int32_t).
13392 * locale/weight.h (findidx): Likewise.
13393
b1fe1f2b
OB
133942013-10-03 Ondřej Bílka <neleai@seznam.cz>
13395
13396 [BZ #431]
13397 * manual/string.texi: Fix strncat and wcsncat.
13398
5f855e35
BM
133992013-10-03 Brooks Moses <bmoses@google.com>
13400
13401 [BZ #15915]
13402 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13403 * Makerules: ...here, and adjust associated comments.
13404
3cef6009
WN
134052013-10-02 Will Newton <will.newton@linaro.org>
13406
13407 * malloc/Makefile: Add tst-pvalloc.
13408 * malloc/tst-pvalloc.c: New file.
13409
7815420b
WN
134102013-10-02 Will Newton <will.newton@linaro.org>
13411
13412 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13413 improve test coverage.
13414
4868b204
WN
134152013-10-02 Will Newton <will.newton@linaro.org>
13416
13417 * malloc/Makefile: Add tst-posix_memalign.
13418 * malloc/tst-posix_memalign.c: New file.
13419
29c793b3
EB
134202013-10-01 Eric Blake <eblake@redhat.com>
13421
13422 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13423 Use __THROWNL rather than __THROW on static functions.
13424
fd967522
PM
134252013-09-30 Petr Machata <pmachata@redhat.com>
13426
13427 * elf/elf.h (R_AARCH64_ABS16): New macro.
13428 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13429 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13430 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13431 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13432 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13433 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13434 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13435 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13436 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13437 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13438 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13439 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13440 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13441 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13442 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13443 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13444 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13445 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13446 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13447 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13448 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13449 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13450 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13451 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13452 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13453 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13454 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13455 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13456 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13457 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13458 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13459 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13460 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13461 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13462 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13463 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13464 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13465 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13466 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13467 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13468 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13469 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13470 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13471 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13472 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13473 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13474 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13475 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13476 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13477 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13478 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13479 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13480 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13481 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13482 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13483 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13484 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13485 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13486 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13487 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13488 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13489 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13490 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13491 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13492 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13493 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13494 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13495 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13496 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13497 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13498 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13499 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13500 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13501 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13502 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13503 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13504 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13505 (R_AARCH64_TLSDESC_LDR): Likewise.
13506 (R_AARCH64_TLSDESC_ADD): Likewise.
13507 (R_AARCH64_TLSDESC_CALL): Likewise.
13508
b2179107
AS
135092013-09-30 Andreas Schwab <schwab@suse.de>
13510
13511 [BZ #15048]
13512 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13513 the nss database lookup.
13514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13516
47f28d0a
MF
135172013-09-28 Mike Frysinger <vapier@gentoo.org>
13518
13519 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13520
135212013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
13522
13523 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13524 ${Bash-specific parameter/pattern/string} parameter expansion.
13525 * sysdeps/unix/make-syscalls.sh: Likewise.
13526
f4518a17
KK
135272013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13528
13529 * sysdeps/sh/stackguard-macros.h: New file.
13530
dc1a95c7
OB
135312013-09-26 Ondřej Bílka <neleai@seznam.cz>
13532
13533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13535 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13536 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13537 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13538 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13539
5ebbff8f
AZ
135402013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13541
13542 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13543 Fix thread ID register.
13544
4fd2cf9f
JM
135452013-09-25 Joseph Myers <joseph@codesourcery.com>
13546
13547 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13548 [POSIX || UNIX98]: Require rather than permitting all symbols from
13549 <time.h>.
13550 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13551 element of struct sched_param.
13552 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13553 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13554 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13555 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13556 constant.
13557
12c22bc4
OL
135582013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13559
13560 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13561 argument calculation.
13562
a03d8ea7
JM
135632013-09-24 Joseph Myers <joseph@codesourcery.com>
13564
13565 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13566 Expect macro.
13567 [POSIX] (pthread_attr_t): Do not require type.
13568 [POSIX] (pthread_cond_t): Likewise.
13569 [POSIX] (pthread_condattr_t): Likewise.
13570 [POSIX] (pthread_key_t): Likewise.
13571 [POSIX] (pthread_mutex_t): Likewise.
13572 [POSIX] (pthread_mutexattr_t): Likewise.
13573 [POSIX] (pthread_once_t): Likewise.
13574 [POSIX] (pthread_t): Likewise.
13575 [POSIX-based standards] (pthread_atfork): Expect function.
13576
6055173a
JM
135772013-09-24 Joseph Myers <joseph@codesourcery.com>
13578 Richard Sandiford <richard@codesourcery.com>
13579
13580 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13581 (swap_endianness_p): New extern variable.
13582 (set_big_endian): New inline function.
13583 (maybe_swap_uint32): Likewise.
13584 (maybe_swap_uint32_array): Likewise.
13585 (maybe_swap_uint32_obstack): Likewise.
13586 * locale/programs/locfile.c: Include <stdbool.h>.
13587 (swap_endianness_p): New variable.
13588 (add_locale_uint32): Call maybe_swap_uint32.
13589 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13590 (write_locale_data): Call maybe_swap_uint32_array.
13591 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13592 maybe_swap_uint32.
13593 (obstack_int32_grow_fast): Likewise.
13594 (output_weightwc): Call maybe_swap_uint32_obstack.
13595 (collate_output): Likewise.
13596 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13597 (OPT_LITTLE_ENDIAN): Likewise.
13598 (options): Add --little-endian and --big-endian options.
13599 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13600 * locale/programs/locarchive.c: Include "locfile.h".
13601 (GET): New macro.
13602 (SET): Likewise.
13603 (INC): Likewise.
13604 (create_archive): Use the new macros to access fields of
13605 structures directly mapped from or written to locale archives.
13606 (oldlocrecentcmp): Likewise.
13607 (enlarge_archive): Likewise.
13608 (insert_name): Likewise.
13609 (add_alias): Likewise.
13610 (add_locale): Likewise.
13611 (delete_locales_from_archive): Likewise.
13612 (show_archive_content): Likewise.
13613 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13614 locale data.
13615
39bf0bb4
RM
136162013-09-24 Roland McGrath <roland@hack.frob.com>
13617
13618 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13619 http://www.gnu.org/doc/freemanuals.texi.
13620 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13621
f02eed10
WN
136222013-09-24 Will Newton <will.newton@linaro.org>
13623
13624 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13625 macro.
13626
a3a6c312
JM
136272013-09-23 Joseph Myers <joseph@codesourcery.com>
13628
13629 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13630 unsigned char.
13631
107375ac
MR
136322013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13633
13634 * manual/threads.texi (POSIX Threads): Fix a typo.
13635
141f3a77
SP
136362013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13637
303e567a
SP
13638 [BZ #14547]
13639 * string/tst-strcoll-overflow.c: New test case.
13640 * string/Makefile (xtests): Add tst-strcoll-overflow.
13641 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13642 cache if string sizes may cause integer overflow.
13643
141f3a77
SP
13644 [BZ #14547]
13645 * string/strcoll_l.c (coll_seq): New members rule, idx,
13646 save_idx and back_us.
13647 (get_next_seq_nocache): New function.
13648 (do_compare_nocache): New function.
13649 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13650 when malloc fails.
13651
c61b4d41
CD
136522013-09-23 Carlos O'Donell <carlos@redhat.com>
13653
0b1f8e35
CD
13654 [BZ #15754]
13655 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13656 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13657 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13658
c61b4d41
CD
13659 [BZ #15754]
13660 * elf/Makefile (tests): Add tst-ptrguard1.
13661 (tests-static): Add tst-ptrguard1-static.
13662 (tst-ptrguard1-ARGS): Define.
13663 (tst-ptrguard1-static-ARGS): Define.
13664 * elf/tst-ptrguard1.c: New file.
13665 * elf/tst-ptrguard1-static.c: New file.
13666 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13667 * sysdeps/i386/stackguard-macros.h: Likewise.
13668 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13669 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13670 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13671 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13672 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13673 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13674
136752013-09-23 Hector Marco <hecmargi@upv.es>
13676 Ismael Ripoll <iripoll@disca.upv.es>
13677 Carlos O'Donell <carlos@redhat.com>
13678
13679 [BZ #15754]
13680 * sysdeps/generic/stackguard-macros.h: Define
13681 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13682 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13683 Define __pointer_chk_guard_local.
13684 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13685 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13686
f5f4e7b4
VV
136872013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13688
13689 [BZ #15859]
13690 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13691
5bb43a43
AS
136922013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13693
13694 * include/string.h (__ffs): Declare as hidden.
13695 * string/ffs.c (__ffs): Define as hidden.
13696 * sysdeps/i386/ffs.c (__ffs): Likewise.
13697 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13698 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13699 * sysdeps/s390/ffs.c (__ffs): Likewise.
13700 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13701
3ea5be54
AO
137022013-09-20 Alexandre Oliva <aoliva@redhat.com>
13703
ffb89e53
AO
13704 * NEWS: Mention malloc probes.
13705
322dea08
AO
13706 * malloc/arena.c (new_heap): New memory_heap_new probe.
13707 (grow_heap): New memory_heap_more probe.
13708 (shrink_heap): New memory_heap_less probe.
13709 (heap_trim): New memory_heap_free probe.
13710 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13711 (systrim): New memory_sbrk_less probe.
13712 * manual/probes.texi: Document them.
13713
655673f3
AO
13714 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13715 * manual/probes.texi: Document it.
13716
35fed6f1
AO
13717 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13718 (__libc_realloc): Add memory_realloc_retry probe.
13719 (__libc_memalign): Add memory_memalign_retry probe.
13720 (__libc_valloc): Add memory_valloc_retry probe.
13721 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13722 (__libc_calloc): Add memory_calloc_retry probe.
13723 * manual/probes.texi: Document them.
13724
6999d38c
AO
13725 * malloc/arena.c (get_free_list): Add probe
13726 memory_arena_reuse_free_list.
13727 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13728 and memory_arena_reuse.
13729 (arena_get2) [!PER_THREAD]: Likewise.
13730 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13731 memory_arena_reuse_realloc.
13732 * manual/probes.texi: Document them.
13733
0653427f
AO
13734 * malloc/malloc.c (__libc_free): Add
13735 memory_mallopt_free_dyn_thresholds probe.
13736 (__libc_mallopt): Add multiple memory_mallopt probes.
13737 * manual/probes.texi: Document them.
13738
3ea5be54
AO
13739 * malloc/malloc.c: Include stap-probe.h.
13740 (__libc_mallopt): Add memory_mallopt probe.
13741 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13742 * manual/probes.texi: New.
13743 * manual/Makefile (chapters): Add probes.
13744 * manual/threads.texi: Set next node.
13745
e35696c3 137462013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13747
e35696c3
CL
13748 [BZ #15963, #13985]
13749 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13750 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13751 Add `Chinese' to `nan' entry name.
13752
4aafb73c
SP
137532013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13754
13755 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13756 (POLYNOMIAL): Likewise.
13757 (TAYLOR_SINCOS): Likewise.
13758 (TAYLOR_SLOW): Likewise.
13759 (__sin): Use TAYLOR_SINCOS.
13760 (__cos): Likewise.
13761 (slow): Use TAYLOR_SLOW.
13762 (sloww): Likewise.
13763 (bsloww): Likewise.
13764 (csloww): Likewise.
13765
d84f25c7
LD
137662013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13767
13768 * stdlib/strtod_l.c: Fix buffer overrun.
13769
5eea0404
SP
137702013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13771
7849ff93
SP
13772 * benchtests/Makefile (bench): Add sincos.
13773 * benchtests/bench-sincos.c: New file.
13774
cfa3c886
SP
13775 * math/libm-test.inc (cos_test_data): New test inputs.
13776 (sin_test_data): Likewise.
13777
b348e1e3
SP
13778 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13779 macro.
13780 (__sin): Use it.
13781 (__cos): Likewise.
13782 (slow1): Likewise.
13783 (slow2): Likewise.
13784 (sloww1): Likewise.
13785 (sloww2): Likewise.
13786 (bsloww1): Likewise.
13787 (bsloww2): Likewise.
13788 (cslow2): Likewise.
13789 (csloww1): Likewise.
13790 (csloww2): Likewise.
13791
6cce25f8
SP
13792 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13793 function.
13794 (__sin): Use it.
13795 (__cos): Likewise.
13796
5eea0404
SP
13797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13798 gotos.
13799 (__cos): Likewise.
13800
9c21573c
MR
138012013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13802
13803 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13804 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13805 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13806 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13807 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13808 * elf/cache.c (print_entry): Handle the new cache flags.
13809
24d22e65
JM
138102013-09-18 Joseph Myers <joseph@codesourcery.com>
13811 Aldy Hernandez <aldyh@redhat.com>
13812
13813 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13814 Change condition to [_SOFT_FLOAT].
13815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13827 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13830 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13831 declaration.
13832
d13ef066
JM
138332013-09-18 Joseph Myers <joseph@codesourcery.com>
13834
2e071de0
JM
13835 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13836 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13837 (__longjmp): Use LOAD_GP to load saved GPRs.
13838 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13839 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13840 (__sigsetjmp): Use SAVE_GP to save GPRs.
13841
d13ef066
JM
13842 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13843 Do not append -msoft-float.
13844 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13845
97a0650b
SP
138462013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13847
13848 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13849
11ca09e9
JM
138502013-09-17 Joseph Myers <joseph@codesourcery.com>
13851
13852 [BZ #15966]
13853 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13854 (_FPU_GETCW): Use initial "__" on variable and field names but not
13855 on macro parameter name.
13856 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13857 parentheses around reference to macro parameter.
13858
08ffcf34
RS
138592013-09-13 Richard Sandiford <richard@codesourcery.com>
13860
13861 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13862 prototype.
13863 (ctype_startup): Use uint32_t in cast and sizeof for
13864 ctype->charnames.
13865
ae7080d3
JL
138662013-09-11 Jia Liu <proljc@gmail.com>
13867
13868 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13869 __daddr_t_defined.
13870 [__FreeBSD__]: Likewise.
13871
5905e7b3
OB
138722013-09-11 Ondřej Bílka <neleai@seznam.cz>
13873
13874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13875 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13876 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13877 (strchr): Remove __strchr_sse42 ifunc selection.
13878 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13879 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13880
b987c776
WN
138812013-09-11 Will Newton <will.newton@linaro.org>
13882
13883 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13884 parameter to RES. Remove hardcoded 1000 value.
13885 * benchtests/bench-skeleton.c (main): Pass RES parameter
13886 to TIMING_INIT and multiply result by 1000.
13887
ddf985af
AZ
138882013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13889
13890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13891
ffdd3181
AS
138922013-09-11 Andreas Schwab <schwab@suse.de>
13893
13894 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13895 if not defined.
13896 (O_TMPFILE) [__USE_GNU]: Define.
13897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13898 Define.
13899
b73ed247
WN
139002013-09-11 Will Newton <will.newton@linaro.org>
13901
13902 [BZ #15857]
13903 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13904 does not overflow.
13905
55e17aad
WN
139062013-09-11 Will Newton <will.newton@linaro.org>
13907
13908 [BZ #15856]
13909 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13910 does not overflow.
13911
1159a193
WN
139122013-09-11 Will Newton <will.newton@linaro.org>
13913
13914 [BZ #15855]
13915 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13916 does not overflow.
13917
5905e7b3 139182013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13919
13920 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13921 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13925
cdfc721b
AM
139262013-09-10 Allan McRae <allan@archlinux.org>
13927
aa04af00
AM
13928 [BZ #15748]
13929 * manual/arith.texi (Parsing of Floats): Clarify
13930 cross-reference.
13931
cdfc721b
AM
13932 [BZ #15849]
13933 * manual/install.texi (Running make install): Mention
13934 --enable-pt-chown.
13935 * INSTALL: Regenerated.
13936
95e7cf29
MR
139372013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13938
13939 * csu/init-first.c (_init): Remove the !SHARED condition around
13940 FPU control word initialization.
13941 * elf/dl-support.c (_dl_fpu_control): New variable.
13942 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13943 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13944 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13945 * math/test-fpucw-static.c: New file.
13946 * math/test-fpucw-ieee.c: New file.
13947 * math/test-fpucw-ieee-static.c: New file.
13948 * math/Makefile (tests): Add `test-fpucw-ieee' and
13949 `$(tests-static)'.
13950 (tests-static): New variable.
13951 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13952 dependency to...
13953 [($(build-shared),yes)]
13954 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13955 ... this.
13956 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13957 New dependency.
13958
83e43bf0
AM
139592013-09-09 Allan McRae <allan@archlinux.org>
13960
a9f5ce09
AM
13961 [BZ #15939]
13962 * manual/string.texi (Collation Functions): Fix typo in
13963 strcoll example.
13964 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13965
34829bc2
AM
13966 [BZ #15893]
13967 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13968
3932737d
AM
13969 [BZ #15892]
13970 * libio/memstream.c (open_memstream): Fix memory leak.
13971 * libio/wmemstream.c (open_wmemstream): Likewise.
13972
83e43bf0
AM
13973 [BZ #15895]
13974 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13975
0c66b8e9
WN
139762013-09-09 Will Newton <will.newton@linaro.org>
13977
13978 * malloc/Makefile: Add tst-realloc to tests.
13979 * malloc/tst-realloc.c: New file.
13980
f6b00fd1
AM
139812013-09-09 Allan McRae <allan@archlinux.org>
13982
13983 [BZ #15844]
13984 * COPYING: Update from GNU website to fix FSF address.
13985 * COPYING.LIB: Likewise.
13986
eec55e16
DM
139872013-09-06 David S. Miller <davem@davemloft.net>
13988
13989 * po/zh_TW.po: Update Chinese (traditional) translation from
13990 translation project.
13991
1ecbb381
RS
139922013-09-06 Richard Sandiford <richard@codesourcery.com>
13993 Joseph Myers <joseph@codesourcery.com>
13994
13995 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13996 "localeinfo.h".
13997 (obstack_chunk_alloc): New macro.
13998 (obstack_chunk_free): Likewise.
13999 (record_offset): New function.
14000 (init_locale_data): Likewise.
14001 (align_locale_data): Likewise.
14002 (add_locale_empty): Likewise.
14003 (add_locale_raw_data): Likewise.
14004 (add_locale_raw_obstack): Likewise.
14005 (add_locale_string): Likewise.
14006 (add_locale_wstring): Likewise.
14007 (add_locale_uint32): Likewise.
14008 (add_locale_uint32_array): Likewise.
14009 (add_locale_char): Likewise.
14010 (start_locale_structure): Likewise.
14011 (end_locale_structure): Likewise.
14012 (start_locale_prelude): Likewise.
14013 (end_locale_prelude): Likewise.
14014 (write_locale_data): Take locale_file structure rather than an
14015 iovec.
14016 * locale/programs/locfile.h: Include "obstack.h".
14017 (struct locale_file): Change to store locale file contents instead
14018 of header.
14019 (init_locale_data): New prototype.
14020 (align_locale_data): Likewise.
14021 (add_locale_empty): Likewise.
14022 (add_locale_raw_data): Likewise.
14023 (add_locale_raw_obstack): Likewise.
14024 (add_locale_string): Likewise.
14025 (add_locale_wstring): Likewise.
14026 (add_locale_uint32): Likewise.
14027 (add_locale_uint32_array): Likewise.
14028 (add_locale_char): Likewise.
14029 (start_locale_structure): Likewise.
14030 (end_locale_structure): Likewise.
14031 (start_locale_prelude): Likewise.
14032 (end_locale_prelude): Likewise.
14033 (write_locale_data): Update prototype.
14034 * locale/programs/3level.h (struct TABLE): Remove result field.
14035 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14036 Use new locale_file interface.
14037 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14038 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14039 * locale/programs/ld-address.c (address_output): Use new
14040 locale_file interface.
14041 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14042 NO_ADD_LOCALE.
14043 (collate_finish): Don't call collseq_table_finalize.
14044 (collate_output): Use new locale_file interface.
14045 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14046 in file.
14047 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14048 (TABLE): Move defines earlier in file.
14049 (ELEMENT): Likewise.
14050 (DEFAULT): Likewise.
14051 (wctrans_table_add): Move macro and inline function earlier in
14052 file.
14053 (struct wctype_table): Move type earlier in file.
14054 (add_locale_wctype_table): New static prototype.
14055 (struct locale_ctype_t): Use logical types instead of struct iovec
14056 pointers for members.
14057 (ctype_output): Use new locale_file interface.
14058 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14059 new locale_file interface.
14060 (allocate_arrays): Update for use of new locale_file interface.
14061 * locale/programs/ld-identification.c (identification_output): Use
14062 new locale_file interface.
14063 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14064 * locale/programs/ld-messages.c (messages_output): Likewise.
14065 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14066 * locale/programs/ld-name.c (name_output): Likewise.
14067 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14068 * locale/programs/ld-paper.c (paper_output): Likewise.
14069 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14070 * locale/programs/ld-time.c (time_output): Likewise.
14071
e029e2e5
AZ
140722013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14073
14074 * benchtests/Makefile: Add memrchr benchmark.
14075 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14076 benchmark as memrchr.
14077 * benchtests/bench-memrchr-ifunc.c: New file.
14078 * benchtests/bench-memrchr.c: New file.
14079
bbf6e8e4
WN
140802013-09-06 Will Newton <will.newton@linaro.org>
14081
14082 * benchtests/Makefile (string-bench): Add memcpy.
14083
6c82a2f8
CD
140842013-09-05 Carlos O'Donell <carlos@redhat.com>
14085 Cong Wang <amwang@redhat.com>
14086
e732c5f0 14087 [BZ #15850]
6c82a2f8
CD
14088 * sysdeps/unix/sysv/linux/bits/in.h
14089 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14090 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14091 before __USE_KERNEL_IPV6_DEFS uses.
14092 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14093 IPPROTO_BEETPH.
14094 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14095 sockaddr_in6, or ipv6_mreq.
14096
5430fc65
AZ
140972013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14098
14099 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14100 memory access for final bytes in some large inputs.
14101 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14102
4660856c
AZ
141032013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14104
14105 * string/test-memrchr.c: New file.
14106 * string/test-memrchr-ifunc.c: New file.
14107 * string/Makefile: Add new memrchr testcase.
14108
bb8ea713
MF
141092013-09-05 Mike Frysinger <vapier@gentoo.org>
14110
14111 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14112 fanotify_init returns EPERM.
14113
b92a20b5
JM
141142013-09-04 Joseph Myers <joseph@codesourcery.com>
14115
14116 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14117 errors.
14118 (top level): Treat second token from macro or constant entries for
14119 allowed headers as allowed.
14120 * include/complex.h: Condition internal declarations on
14121 [!_ISOMAC].
14122 * include/fenv.h: Condition include of <stdbool.h> and internal
14123 declarations on [!_ISOMAC].
7447ccd9
CL
14124
141252013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14126
3e181dda 14127 [BZ #15923]
7447ccd9
CL
14128 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14129
3f2e46a4
JM
141302013-09-04 Joseph Myers <joseph@codesourcery.com>
14131
14132 * configure.in (--enable-versioning): Remove configure option.
14133 (libc_cv_asm_symver_directive): Remove configure test.
14134 (libc_cv_ld_version_script_option): Likewise.
14135 (VERSIONING): Remove variable and AC_SUBST.
14136 (DO_VERSIONING): Remove AC_DEFINE.
14137 * configure: Regenerated.
14138 * config.h.in (DO_VERSIONING): Remove macro.
14139 * Makerules [$(versioning) = yes]: Change conditionals to
14140 [$(build-shared) = yes].
14141 * config.make.in (versioning): Remove variable.
14142 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14143 [$(build-shared) = yes].
14144 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14145 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14146 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14147 [$(build-shared) = yes].
14148 * extra-lib.mk [$(versioning) = yes]: Likewise.
14149 * hurd/Makefile [$(versioning) = yes]: Likewise.
14150 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14151 [SHARED].
14152 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14153 [SHARED].
14154 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14155 [SHARED && !NO_HIDDEN].
14156 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14157 [SHARED].
14158 [SHARED && DO_VERSIONING]: Likewise..
14159 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14160 [$(build-shared) = yes].
14161 * manual/install.texi (--disable-versioning): Remove
14162 documentation.
14163 * INSTALL: Regenerated.
14164 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14165 to [SHARED].
14166 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14167 [$(build-shared) = yes].
14168 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14169 * sysdeps/i386/i686/multiarch/strstr-c.c
14170 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14171 [SHARED && !NO_HIDDEN].
14172 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14173 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14174 * sysdeps/powerpc/powerpc32/dl-machine.c
14175 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14176 * sysdeps/powerpc/powerpc32/sysdep.h
14177 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14178 to [SHARED && PIC && !NO_HIDDEN].
14179 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14180 conditional to [SHARED].
14181
44558701
WN
141822013-09-04 Will Newton <will.newton@linaro.org>
14183
14184 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14185 * benchtests/bench-string.h: Include bench-timing.h instead
14186 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14187 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14188 call to HP_TIMING_DIFF_INIT.
14189 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14190 instead of hp-timing.h macros.
14191 * benchtests/bench-memchr.c: Likewise.
14192 * benchtests/bench-memcmp.c: Likewise.
14193 * benchtests/bench-memcpy.c: Likewise.
14194 * benchtests/bench-memmem.c: Likewise.
14195 * benchtests/bench-memmove.c: Likewise.
14196 * benchtests/bench-memset.c: Likewise.
14197 * benchtests/bench-rawmemchr.c: Likewise.
14198 * benchtests/bench-strcasecmp.c: Likewise.
14199 * benchtests/bench-strcasestr.c: Likewise.
14200 * benchtests/bench-strcat.c: Likewise.
14201 * benchtests/bench-strchr.c: Likewise.
14202 * benchtests/bench-strcmp.c: Likewise.
14203 * benchtests/bench-strcpy.c: Likewise.
14204 * benchtests/bench-strcpy_chk.c: Likewise.
14205 * benchtests/bench-strlen.c: Likewise.
14206 * benchtests/bench-strncasecmp.c: Likewise.
14207 * benchtests/bench-strncat.c: Likewise.
14208 * benchtests/bench-strncmp.c: Likewise.
14209 * benchtests/bench-strncpy.c: Likewise.
14210 * benchtests/bench-strnlen.c: Likewise.
14211 * benchtests/bench-strpbrk.c: Likewise.
14212 * benchtests/bench-strrchr.c: Likewise.
14213 * benchtests/bench-strspn.c: Likewise.
14214 * benchtests/bench-strstr.c: Likewise.
14215
cae16d66
WN
142162013-09-04 Will Newton <will.newton@linaro.org>
14217
14218 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14219
ffa3cd7f
JM
142202013-09-03 Joseph Myers <joseph@codesourcery.com>
14221
14222 [BZ #15427]
14223 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14224 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14225 * math/libm-test.inc (lgamma_test_data): Add more tests.
14226 * sysdeps/i386/fpu/libm-test-ulps: Update.
14227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14228
8f02859f
OB
142292013-09-03 Ondřej Bílka <neleai@seznam.cz>
14230
14231 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14233 Add ifunc.
14234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14235 Add strcmp-sse2-unaligned
14236 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14237
18d43716
MF
142382013-09-02 Mike Frysinger <vapier@gentoo.org>
14239
14240 * Versions.def (libc): Add GLIBC_2.19.
14241
ac444012
MF
142422013-09-02 Mike Frysinger <vapier@gentoo.org>
14243
14244 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14245 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14246
b7835e32
JM
142472013-09-02 Joseph Myers <joseph@codesourcery.com>
14248
14249 [BZ #14155]
14250 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14251 intermediate calculations in recurrence.
14252 (__ieee754_ynf): Likewise.
14253 * math/libm-test.inc (jn_test_data): Do not allow spurious
14254 underflow exception. Add more tests.
14255 (yn_test_data): Add more tests.
14256 * sysdeps/i386/fpu/libm-test-ulps: Update.
14257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14258
8220f4f0
OB
142592013-09-02 Ondřej Bílka <neleai@seznam.cz>
14260
14261 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14262
f24a6d08
OB
142632013-08-30 Ondřej Bílka <neleai@seznam.cz>
14264
14265 * csu/init-first.c: Fix then/than typos.
14266 * locale/programs/ld-collate.c: Likewise.
14267 * locale/programs/linereader.h: Likewise.
14268 * manual/charset.texi: Likewise.
14269 * manual/filesys.texi: Likewise.
14270 * manual/stdio.texi: Likewise.
14271 * manual/string.texi: Likewise.
14272 * stdlib/fmtmsg.c: Likewise.
14273 * sysdeps/i386/stpncpy.S: Likewise.
14274 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14275 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14276 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14277 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14278
382466e0
OB
142792013-08-30 Ondřej Bílka <neleai@seznam.cz>
14280
14281 * elf/dl-open.c: Fix typos.
14282 * iconvdata/gbbig5.c: Likewise.
14283 * iconvdata/iso-2022-jp.c: Likewise.
14284 * iconv/gconv_int.h: Likewise.
14285 * iconv/loop.c: Likewise.
14286 * nis/rpcsvc/nis.h: Likewise.
14287 * resolv/ns_name.c: Likewise.
14288 * stdio-common/vfscanf.c: Likewise.
14289 * streams/stropts.h: Likewise.
14290 * sunrpc/rpc_thread.c: Likewise.
14291 * sysdeps/i386/strpbrk.S: Likewise.
14292 * sysdeps/ieee754/k_standard.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14295 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14296 * sysdeps/mach/hurd/profil.c: Likewise.
14297 * sysdeps/s390/dl-procinfo.h: Likewise.
14298 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14299 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14301 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14302 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14303
0186c6e9
OB
143042013-08-30 Ondřej Bílka <neleai@seznam.cz>
14305
14306 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14308
d4e16af1
OB
143092013-08-29 Ondřej Bílka <neleai@seznam.cz>
14310
14311 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14312 aix specific files.
14313 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14315 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14316 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14318 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14321
88335980
TS
143222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14323 Roland McGrath <roland@hack.frob.com>
14324
14325 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14326 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14327
ed479b02
ST
143282013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14329
14330 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14331 __executable_start symbol instead of _start.
14332
f1cc4c86
TS
143332013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14334
d821f07c
TS
14335 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14336 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14337 Move macros to...
14338 * sysdeps/gnu/ldsodefs.h: ... this new file.
14339
c54290cf
TS
14340 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14341 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14342 instead of ELFOSABI_LINUX.
14343
0007fc9b 14344 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
14345 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14346 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14347 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14348 Likewise.
14349 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14350 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14352 Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14354 (ibm_extended_long_double): Add ieee_nan member.
14355 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14356 (do_test): New function.
14357
f1cc4c86
TS
14358 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14359 TEST_TRUNC.
14360 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14361 functions, renamed from truncdfsf_test, trunctfsf_test,
14362 trunctfdf_test.
14363 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14364 functions.
14365 (do_test): Run all these.
14366
6f65e668
OB
143672013-08-29 Ondřej Bílka <neleai@seznam.cz>
14368
14369 * argp/argp-help.c: Fix typos.
14370 * argp/argp-parse.c: Likewise.
14371 * debug/backtracesyms.c: Likewise.
14372 * elf/elf.h: Likewise.
14373 * malloc/malloc.c: Likewise.
14374 * nis/nis_print.c: Likewise.
14375 * resolv/res_comp.c: Likewise.
14376 * stdlib/stdlib.h: Likewise.
14377 * sunrpc/clnt_tcp.c: Likewise.
14378 * sunrpc/clnt_udp.c: Likewise.
14379 * sunrpc/clnt_unix.c: Likewise.
14380 * sysdeps/unix/bsd/ptsname.c: Likewise.
14381 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14382 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14384 Likewise.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14386 Likewise.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14388 Likewise.
6f65e668
OB
14389 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14390
3a309239
SP
143912013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14392
14393 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14395
3b813b29
MF
143962013-08-27 Mike Frysinger <vapier@gentoo.org>
14397
14398 [BZ #15897]
14399 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14400 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14401 ($(objpfx)bug-dl-leaf): New rule.
14402 ($(objpfx)bug-dl-leaf.so): Likewise.
14403 ($(objpfx)bug-dl-leaf.out): Likewise.
14404 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14405 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14406 * dlfcn/bug-dl-leaf.c: New test.
14407 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14408 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14409 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14410 (dlclose): Likewise.
14411 (dlmopen): Likewise.
14412
8cc3269f
RM
144132013-08-27 Roland McGrath <roland@hack.frob.com>
14414
7f9d0034
RM
14415 * include/netdb.h [!_ISOMAC]:
14416 Don't include <tls.h>.
14417 (h_errno, __libc_h_errno): Move declaration and macros out of
14418 [_LIBC_REENTRANT].
14419
fb431262
RM
14420 * include/resolv.h [_RESOLV_H_]:
14421 Don't include <tls.h>.
14422 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14423 * resolv/res_libc.c: Don't include <tls.h>.
14424 (_res): Use __attribute__ ((nocommon)) in place of
14425 __attribute__ ((section (".bss"))).
14426
bd81123a
RM
14427 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14428 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14429
c4e42566
RM
14430 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14431
f890a59b
RM
14432 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14433 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14434
14435 * resolv/res_mkquery.c: Include <sys/time.h>.
14436
5d1f0a09
RM
14437 * inet/ifreq.c: Moved to ...
14438 * sysdeps/unix/ifreq.c: ... here.
14439 * inet/ifreq.c: New file, true stub version.
14440
6fcf28b3
RM
14441 * socket/sa_len.c: New file.
14442 * socket/Makefile (aux): Add it.
14443 * sysdeps/unix/sysv/linux/Makefile
14444 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14445 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14446 and #include <socket/sa_len.c>.
14447 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14448 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14449
e041fb8b
RM
14450 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14451 * bits/socket.h: ... here.
14452
8cc3269f
RM
14453 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14454 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14455 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14456
5d228a43
AS
144572013-08-27 Andreas Schwab <schwab@suse.de>
14458
45b8accc
AS
14459 [BZ #15736]
14460 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14461 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14462 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14463 * string/test-strcasecmp.c (test_main): Run tests in several
14464 locales.
14465 * string/test-strncasecmp.c (test_main): Likewise.
14466
5d228a43
AS
14467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14468 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14469 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14471 (__strncasecmp_ssse3) [PIC]: Likewise.
14472
59d112a4
RM
144732013-08-26 Roland McGrath <roland@hack.frob.com>
14474
53234cc3
RM
14475 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14476
59d112a4
RM
14477 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14478 instead of explicitly declaring xdecrypt.
14479 * nis/nss_nis/nis-publickey.c: Likewise.
14480
595aba70
SP
144812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14482
14483 [BZ #15890]
14484 * nscd/aicache.c: Include res_hconf.h.
14485 (addhstaiX): Initialize res_hconf.
14486
ffabd393
AS
144872013-08-26 Andreas Schwab <schwab@suse.de>
14488
14489 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14490 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14491
e0a69f5c
SP
144922013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14493
14494 * nscd/aicache.c (addhstaiX): Fix indentation.
14495
8c12f01d
MF
144962013-08-25 Mike Frysinger <vapier@gentoo.org>
14497
14498 * configure.ac: Quote $build_pt_chown test.
14499 * configure: Regenerated.
14500
8fe89494
JM
145012013-08-23 Joseph Myers <joseph@codesourcery.com>
14502
14503 [BZ #15532]
14504 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14505 * math/s_cexpf.c (__cexpf): Likewise.
14506 * math/s_cexpl.c (__cexpl): Likewise.
14507 * math/libm-test.inc (cexp_test_data): Correct expected return
14508 value for NaN + i0. Add another test.
14509
75b181d6
DM
145102013-08-22 David S. Miller <davem@davemloft.net>
14511
14512 * po/ca.po: Update Catalan translation from translation project.
936241e4 14513 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 14514
acd06bb1
JM
145152013-08-21 Joseph Myers <joseph@codesourcery.com>
14516
14517 [BZ #15797]
14518 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14519 is infinite, not alongside NaN test.
14520 * math/s_fdimf.c (__fdimf): Likewise.
14521 * math/s_fdiml.c (__fdiml): Likewise.
14522 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14523 errno is unchanged.
14524
c0c3f78a
OB
145252013-08-21 Ondřej Bílka <neleai@seznam.cz>
14526
14527 * argp/argp-help.c: Fix typos.
14528 * crypt/speeds.c: Likewise.
14529 * csu/check_fds.c: Likewise.
14530 * elf/dl-load.c: Likewise.
14531 * elf/dl-open.c: Likewise.
14532 * elf/reldep3.c: Likewise.
14533 * elf/reldep.c: Likewise.
14534 * elf/sprof.c: Likewise.
14535 * iconv/iconv_charmap.c: Likewise.
14536 * iconv/skeleton.c: Likewise.
14537 * iconv/strtab.c: Likewise.
14538 * io/lockf64.c: Likewise.
14539 * libio/libioP.h: Likewise.
14540 * resolv/gai_notify.c: Likewise.
14541 * resolv/ns_name.c: Likewise.
14542 * resolv/ns_samedomain.c: Likewise.
14543 * resolv/res_send.c: Likewise.
14544 * stdlib/random.c: Likewise.
14545 * sunrpc/rpc/xdr.h: Likewise.
14546 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14547 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14548 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14549 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14551 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14554 * sysdeps/mach/hurd/check_fds.c: Likewise.
14555 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14556 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14558 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14559 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14560 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14561 * sysdeps/pthread/aio_notify.c: Likewise.
14562 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14563 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14565 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14566 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14567
46ed1038
LD
145682013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14569
14570 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14571 version if bit_Slow_SSE4_2 is set.
14572 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14574
d400dcac
AZ
145752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14576
14577 [BZ #15867]
14578 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14579 trampoline stack frame information.
14580 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14581 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14582 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14583 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14584 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14585 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14586 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14587 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14588 sa_flags value.
14589 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14590 interrupting a syscall and set with option SA_SIGINFO.
14591
42c8fdd8
JM
145922013-08-20 Joseph Myers <joseph@codesourcery.com>
14593
c980f2f4
JM
14594 [BZ #15531]
14595 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14596 argument is infinite.
14597 * math/s_cprojf.c (__cprojf): Likewise.
14598 * math/s_cprojl.c (__cprojl): Likewise.
14599 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14600 * math/libm-test.inc (cproj_test_data): Add more tests.
14601
0716c4fc
JM
14602 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14603
42c8fdd8
JM
14604 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14605 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14606 size. Use __ffs to determine corresponding shift.
14607
b31469d0
JM
146082013-08-20 Joseph Myers <joseph@codesourcery.com>
14609 Roland McGrath <roland@hack.frob.com>
14610
14611 * Makefile (INSTALL): Remove trailing blank lines from output of
14612 makeinfo.
14613
4e39af6e
AK
146142013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14615
14616 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14617 Align 32 bit compat elf_greg to 8 bytes.
14618
f315524e
AA
146192013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14620
14621 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14622
1326ba1a
SP
146232013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14624
14625 * string/strcoll_l.c (coll_seq): New structure.
14626 (get_next_seq_cached): New function.
14627 (get_next_seq): New function.
14628 (do_compare): New function.
14629 (STRCOLL): Use GNU style definition. Simplify implementation
14630 by using get_next_seq, get_next_seq_cached and do_compare.
14631
91ce4085
FW
146322013-08-16 Florian Weimer <fweimer@redhat.com>
14633
14634 [BZ #14699]
14635 CVE-2013-4237
14636 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14637 member.
14638 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14639 member.
14640 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14641 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14642 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14643 conditional.
14644 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14645 GETDENTS_64BIT_ALIGNED.
14646 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14647 * manual/filesys.texi (Reading/Closing Directory): Document
14648 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14649 strongly.
14650 * manual/conf.texi (Limits for Files): Add portability note to
14651 NAME_MAX, PATH_MAX.
14652 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14653
ca0a6bc4
AS
146542013-08-13 Andreas Schwab <schwab@suse.de>
14655
14656 [BZ #15749]
14657 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14658 of fabs.
14659 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14660 LDBL_MAX_EXP >= 16384]: Add tests for it.
14661
6c1fd795
DM
146622013-08-12 David S. Miller <davem@davemloft.net>
14663
14664 * version.h (RELEASE): Set to "development".
14665 (VERSION): Set to "2.18.90".
14666 * NEWS: Add 2.19 section.
14667
31ad488d
DM
146682013-08-03 David S. Miller <davem@davemloft.net>
14669
14670 * po/ko.po: Update Korean translation from translation project.
14671
db24e684
DM
146722013-08-01 David S. Miller <davem@davemloft.net>
14673
14674 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14675 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14676 Bilka.
14677
f723285b
DM
146782013-07-30 David S. Miller <davem@davemloft.net>
14679
14680 * po/fr.po: Update French translation from translation project.
14681
3cbc52db
DM
146822013-07-28 David S. Miller <davem@davemloft.net>
14683
30bbc0cc
DM
14684 * po/cs.po: Update Czech translation from translation project.
14685
3cbc52db
DM
14686 * po/sv.po: Update Swedish translation from translation project.
14687
d492e6d0
DM
146882013-07-27 David S. Miller <davem@davemloft.net>
14689
f1a7f492
DM
14690 * po/eo.po: Update Esperanto translation from translation project.
14691
90e62a4a
DM
14692 * po/vi.po: Update Vietnamese translation from translation project.
14693
d492e6d0
DM
14694 * po/de.po: Update German translation from translation project.
14695
d4baa62d
DM
146962013-07-26 David S. Miller <davem@davemloft.net>
14697
641aa7b4
DM
14698 * po/bg.po: Update Bulgarian translation from translation project.
14699
d4baa62d
DM
14700 * po/nl.po: Update Dutch translation from translation project.
14701 * po/pl.po: Update Polish translation from translation project.
14702 * po/ru.po: Update Russian translation from translation project.
14703
61a9dcb9
DM
147042013-07-24 David S. Miller <davem@davemloft.net>
14705
14706 * po/libc.pot: Update.
14707
7b1f8b58
AZ
147082013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14709
14710 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14711 variable page size.
14712 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14713 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14714 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14715
a8fc7a03
AK
147162013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14717
14718 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14719
e4608715
CD
147202013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14721 Andreas Schwab <schwab@suse.de>
14722 Roland McGrath <roland@hack.frob.com>
14723 Joseph Myers <joseph@codesourcery.com>
14724 Carlos O'Donell <carlos@redhat.com>
14725
14726 [BZ #15755]
14727 * config.h.in: Define HAVE_PT_CHOWN.
14728 * config.make.in (build-pt-chown): New variable.
14729 * configure.in (--enable-pt_chown): New configure option.
14730 * configure: Regenerate.
14731 * login/Makefile: Include Makeconfig. Build pt_chown only if
14732 build-pt-chown is enabled.
14733 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14734 pt_chown to fix pty ownership.
14735 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14736 CLOSE_ALL_FDS.
14737 * manual/install.texi (Configuring and compiling): Mention
14738 --enable-pt_chown. Add @findex for grantpt.
14739 * INSTALL: Regenerate.
14740
da2d62df
DM
147412013-07-20 David S. Miller <davem@davemloft.net>
14742
14743 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14744 difference between 32-bit and 64-bit.
14745
d7e06450
CD
147462013-07-15 Carlos O'Donell <carlos@redhat.com>
14747
14748 [BZ #15711]
14749 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14750 Avoid system header dependency with -ffreestanding.
14751 ($(objpfx)bits/syscall%d): Likewise.
14752
f959cfd7
DM
147532013-07-13 David S. Miller <davem@davemloft.net>
14754
14755 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14756 underflows from atanl/atan2l due to bug 15319.
14757 (casinh_test_data): Likewise.
14758
c61f8513
DM
147592013-07-07 David S. Miller <davem@davemloft.net>
14760
14761 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14762
72c90ed0
JA
147632013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14764
14765 * sysdeps/i386/fpu/libm-test-ulps: Update.
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14767
52dfbe13
SP
147682013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14769
14770 * configure.in (--enable-lock-elision): Fix message text.
14771 * INSTALL: Regenerate.
14772 * configure: Regenerate.
14773
3f169543
AZ
147742013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14775
14776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14777
521c6785
AJ
147782013-07-03 Andreas Jaeger <aj@suse.de>
14779
14780 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14781 define.
14782 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14783 (ptrace_peeksiginfo_args): Add.
14784 (__ptrace_peeksiginfo_flags): Add.
14785 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14788
d2cc15cb
AM
147892013-07-03 Allan McRae <allan@archlinux.org>
14790
14791 * sysdeps/i386/fpu/libm-test-ulps: Update.
14792
3aaeeca7
DM
147932013-07-02 David S. Miller <davem@davemloft.net>
14794
14795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14796
5314ed1a
MT
147972013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14798
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14800
67338156
JM
148012013-07-02 Joseph Myers <joseph@codesourcery.com>
14802
14803 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14805
1717da59
AK
148062013-07-02 Andi Kleen <ak@linux.intel.com>
14807
14808 * config.h.in (ENABLE_LOCK_ELISION): Add.
14809 * configure.in (--enable-lock-elision): Add option.
14810 * manual/install.texi: Document --enable lock elision.
14811 * configure: Regenerate
14812 * INSTALL: Regenerate.
14813
1c81621c
L
148142013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14815
14816 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14817 SSE4.2 strcasecmp for libc.a.
14818 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14819
77f01ab5
JM
148202013-07-02 Joseph Myers <joseph@codesourcery.com>
14821
14822 [BZ #13304]
14823 * soft-fp/op-common.h (_FP_FMA): New macro.
14824 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14825 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14826 (_FP_MUL_MEAT_1_imm): ... here.
14827 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14828 (_FP_MUL_MEAT_1_wide): ... here.
14829 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14830 (_FP_MUL_MEAT_1_hard): ... here.
14831 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14832 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14833 (_FP_MUL_MEAT_2_wide): ... here.
14834 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14835 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14836 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14837 (_FP_MUL_MEAT_2_gmp): ... here.
14838 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14839 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14840 (_FP_MUL_MEAT_4_wide): ... here.
14841 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14842 (_FP_MUL_MEAT_4_gmp): ... here.
14843 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14844 (_FP_WFRACBITS_DW_S): Likewise.
14845 (_FP_WFRACXBITS_DW_S): Likewise.
14846 (_FP_HIGHBIT_DW_S): Likewise.
14847 (FP_FMA_S): Likewise.
14848 (_FP_FRAC_HIGH_DW_S): Likewise.
14849 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14850 (_FP_WFRACBITS_DW_D): Likewise.
14851 (_FP_WFRACXBITS_DW_D): Likewise.
14852 (_FP_HIGHBIT_DW_D): Likewise.
14853 (FP_FMA_D): Likewise.
14854 (_FP_FRAC_HIGH_DW_D): Likewise.
14855 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14856 (_FP_WFRACBITS_DW_E): Likewise.
14857 (_FP_WFRACXBITS_DW_E): Likewise.
14858 (_FP_HIGHBIT_DW_E): Likewise.
14859 (FP_FMA_E): Likewise.
14860 (_FP_FRAC_HIGH_DW_E): Likewise.
14861 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14862 (_FP_WFRACBITS_DW_Q): Likewise.
14863 (_FP_WFRACXBITS_DW_Q): Likewise.
14864 (_FP_HIGHBIT_DW_Q): Likewise.
14865 (FP_FMA_Q): Likewise.
14866 (_FP_FRAC_HIGH_DW_Q): Likewise.
14867 * soft-fp/fmasf4.c: New file.
14868 * soft-fp/fmadf4.c: Likewise.
14869 * soft-fp/fmatf4.c: Likewise.
14870
6308fd9a
LD
148712013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14872
14873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14874 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14875 Silvermont.
14876 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14877 macro.
14878 (index_Slow_SSE4_2): Likewise.
14879 (index_Prefer_PMINUB_for_stringop): Likewise.
14880 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14881 bit_Slow_SSE4_2 is set.
14882 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14883 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14884
89cd9569
RA
148852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14886
14887 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14888 rtld_global._dl_hwcap2.
14889 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14890 POWER8.
14891 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14892 POWER8 feature descriptions defined in _dl_hwcap2.
14893 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14894 string handling for POWER8 feature bits.
14895 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14896 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14897 _dl_powerpc_cap_flags.
14898 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14899 * sysdeps/powerpc/rtld-global-offsets.sym
14900 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14901 _dl_hwcap2 in the rtld_global_ro structure.
14902
1ae8bfe0
RA
149032013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14904
14905 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14906 hardware capabilities in support of AT_HWCAP2.
14907 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14908 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14909 GLRO(dl_hwcap2).
14910 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14911 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14912 explicitly the unknown a_type display mechanism is used.
14913 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14914 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14915 struct member.
14916 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14917 to macro prototype for AT_HWCAP2 support.
14918 * sysdeps/i386/dl-procinfo.h: Likewise.
14919 * sysdeps/s390/dl-procinfo.h: Likewise.
14920 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14921 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14922 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14923 return -1 for unknown a_type display fallback.
14924 * sysdeps/sparc/dl-procinfo.h: Likewise.
14925 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14926 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14927
8fbec010
JM
149282013-06-28 Joseph Myers <joseph@codesourcery.com>
14929
14930 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14931 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14932
0432680e
PY
149332013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14934
14935 [BZ #12492]
14936 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14937 mprotect making __stack_prot writable.
14938
ce61a2ad
NF
149392013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14940 Joseph Myers <joseph@codesourcery.com>
14941
14942 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14943 as being properly aligned.
14944
f91f1c0f
MR
149452013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14946
3d0f5d0c
MR
14947 * dlfcn/modstatic5.c: New file.
14948 * dlfcn/tststatic5.c: New file.
14949 * dlfcn/Makefile (tests): Add tststatic5.
14950 (tests-static): Likewise.
14951 (modules-names): Add modstatic5.
14952 (tststatic5-ENV): New variable.
14953 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14954
f91f1c0f
MR
14955 [BZ #15022]
14956 * elf/dl-support.c (_dl_main_map): New variable.
14957 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14958 (_dl_nns, _dl_load_adds): Set to 1.
14959 (_dl_initial_searchlist): Refer to _dl_main_map.
14960 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14961 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14962 call to _dl_get_origin.
14963 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14964 around call_map.
14965 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14966 * dlfcn/modstatic3.c: New file.
14967 * dlfcn/tststatic3.c: New file.
14968 * dlfcn/tststatic4.c: New file.
14969 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14970 (tests-static): Likewise.
14971 (modules-names): Add modstatic3.
14972 (tststatic3-ENV, tststatic4-ENV): New variables.
14973 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14974 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14975
cbe7d24b
JM
149762013-06-26 Joseph Myers <joseph@codesourcery.com>
14977
14978 * configure.in (CC): Require GCC version 4.4 or later.
14979 * configure: Regenerated.
14980 * manual/install.texi (Tools for Compilation): Update GCC version
14981 requirement.
14982 * INSTALL: Regenerated.
14983
11b8a0e1
LD
149842013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14985
14986 [BZ #15674]
bb5bb87c
L
14987 * string/test-memcmp.c (check2): New.
14988 (main): Call check2.
14989
11b8a0e1
LD
14990 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14991
b0037103
MR
149922013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14993
14994 [BZ #15022]
14995 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14996 over to...
14997 (dl_open_worker) [!SHARED]: ... here.
14998
c18c701d
RA
149992013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15000
15001 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15002
1d17fa5f
RH
150032013-06-25 Richard Henderson <rth@redhat.com>
15004
15005 * locale/programs/locarchive.c: Include <libc-internal.h>
15006
8fcb833a
JM
150072013-06-25 Joseph Myers <joseph@codesourcery.com>
15008
15009 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15010 trailing whitespace removed.
15011
17db6e8d
MF
150122013-06-24 Mike Frysinger <vapier@gentoo.org>
15013
15014 [BZ #10283]
17db6e8d
MF
15015 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15016 * locale/programs/locarchive.c: Include libc-mmap.h.
15017 (prepare_address_space): Take two new outputs (the mmap base and len).
15018 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15019 values.
15020 (create_archive): Declare new mmap base and len values for
15021 prepare_address_space, and store the result in ah.
15022 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15023 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15024 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15025 Declare new mmap base and len values for
15026 prepare_address_space, and store the result in new_ah.
15027 (open_archive): Declare new mmap base and len values for
15028 prepare_address_space, and store the result in ah.
15029 (close_archive): If ah->mmap_base is not NULL, use that and
15030 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15031 * sysdeps/generic/libc-mmap.h: New file.
15032
d605071e
MF
150332013-06-24 Mike Frysinger <vapier@gentoo.org>
15034
15035 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15036 (ALIGN_UP): Likewise.
15037 (PTR_ALIGN_DOWN): Likewise.
15038 (PTR_ALIGN_UP): Likewise.
15039
2f063a6e
RA
150402013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15041
15042 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15043 entry mapped to PPC_PLATFORM_POWER8.
15044 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15045 POWER8.
15046 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15047 (_dl_string_platform): Add case for exporting platform position for
15048 POWER8.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15050 search path to sysdeps/powerpc/powerpc32/power8 directory.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15052 search path to sysdeps/powerpc/powerpc64/power8 directory.
15053 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15054 power7 directories.
15055 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15056 power7 directories.
15057
a31ee4b3
SP
150582013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15059
a74ca98f
SP
15060 * INSTALL: Regenerate.
15061
a31ee4b3
SP
15062 * nscd/connections.c (nscd_init): Fix comment.
15063
695c378f
JM
150642013-06-22 Joseph Myers <joseph@codesourcery.com>
15065
d8412221
JM
15066 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15067
695c378f
JM
15068 [BZ #15667]
15069 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15070 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15071
d1d54715
MR
150722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15073
15074 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15075 DL_DST_REQ_STATIC.
15076 (DL_DST_REQ_STATIC): Remove macro.
15077
8fdda7af
JM
150782013-06-21 Joseph Myers <joseph@codesourcery.com>
15079
15080 [BZ #7006]
15081 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15082 with a shift of 0 bits.
15083
f3bc5e5a
MR
150842013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15085
15086 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15087 $(tststatic-ENV).
15088
be09e8c9
KK
150892013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15090
15091 [BZ #15655]
15092 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15093
85c2e611
AZ
150942013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15095
15096 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15097 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15098 accepts -fno-tree-loop-distribute-patterns.
15099 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15100 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15101 recursive call.
15102 * string/memset.c (memset): Likewise.
15103 * string/test-memmove.c (simple_memmove): Disable loop transformation
15104 to library calls.
15105 * string/test-memset.c (simple_memset): Likewise.
15106 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15107 * benchtests/bench-memset.c (simple_memset): Likewise.
15108 * configure: Regenerated.
15109
c91e0825
JM
151102013-06-20 Joseph Myers <joseph@codesourcery.com>
15111
b8c792af
JM
15112 * math/test-misc.c (main): Ignore fesetround failure when failures
15113 of subsequent rounding tests would be ignored.
15114
c91e0825
JM
15115 [BZ #15654]
15116 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15117 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15118 * math/fegetenv.c (__fegetenv): Return 0.
15119 * math/fegetexcept.c (fegetexcept): Return 0.
15120 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15121 FE_TONEAREST.
15122 * math/feholdexcpt.c (feholdexcept): Return 0.
15123 * math/fesetenv.c (__fesetenv): Return 0.
15124 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15125 argument FE_TONEAREST.
15126 * math/feupdateenv.c (__feupdateenv): Return 0.
15127 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15128
bfcacbde
RM
151292013-06-18 Roland McGrath <roland@hack.frob.com>
15130
15131 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15132 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15133 ($(objpfx)rtld-%.os rules): Use them.
15134
e55a9b25
AZ
151352013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15136
15137 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15138 fields.
15139
346d65b3
RM
151402013-06-17 Roland McGrath <roland@hack.frob.com>
15141
12086fb4
RM
15142 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15143 length of target pattern, then descending length of dependency pattern.
15144 * configure.in (AWK): Require gawk 3.1.2 or newer.
15145 * manual/install.texi (Tools for Compilation): Say that we do.
15146 * configure: Regenerated.
15147
346d65b3
RM
15148 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15149 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15150 * scripts/sysd-rules.awk: ... this new script.
15151 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15152 than a glob-style pattern.
15153
1a846317
JM
151542013-06-17 Joseph Myers <joseph@codesourcery.com>
15155
15156 * math/test-misc.c (main): Do not treat incorrectly rounded
15157 conversions as failure unless ROUNDING_TESTS passes.
15158
8fc75e6f
JM
151592013-06-15 Joseph Myers <joseph@codesourcery.com>
15160
3711a167
JM
15161 [BZ #15631]
15162 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15163 restore exception state around main square root computation, then
15164 check for inexactness explicitly.
15165
8fc75e6f
JM
15166 * math/libm-test.inc (fma_test_data): Add another test.
15167
61dd6208
SP
151682013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15169
adf23d2c
SP
15170 * manual/threads.texi (Non-POSIX Extensions): New document
15171 node. Document pthread_getattr_default_np and
15172 pthread_setattr_default_np.
15173
61dd6208
SP
15174 * Versions.def (libpthread): Add GLIBC_2.18.
15175 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15177 Likewise.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15179 Likewise.
15180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15181 Likewise.
15182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15183 Likewise.
15184 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15185 Likewise.
15186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15187 Likewise.
15188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15189 Likewise.
15190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15191 Likewise.
15192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15193 Likewise.
15194
d086fc7b
LD
151952013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15196
15197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15198 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15199
747ef469
SP
152002013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15201 H.J. Lu <hjl.tools@gmail.com>
15202
15203 [BZ #15627]
15204 * sysdeps/x86_64/rtld-memset.c: Remove file.
15205 * sysdeps/x86_64/rtld-memset.S: New file.
15206
1b2feed2
JM
152072013-06-14 Joseph Myers <joseph@codesourcery.com>
15208
15209 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15210 (test_in_one_mode): Take arguments for whether the rounding mode
15211 is supported for each floating-point type.
15212 (do_test): Pass new arguments to test_in_one_mode using
15213 ROUNDING_TESTS.
15214
a58ad3f8
RM
152152013-06-13 Roland McGrath <roland@hack.frob.com>
15216
15217 * posix/tst-waitid.c (do_test): Distinguish different instances of
15218 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15219 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15220 before entering the kernel for waitpid.
15221
c204ab28
SP
152222013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15223
15224 * NEWS: Fix note on clock function precision. Text by Roland
15225 McGrath.
15226
f4a29fba
RM
152272013-06-13 Roland McGrath <roland@hack.frob.com>
15228
15229 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15230 it into place only when and if the sanity check passes.
15231
1f24b9ad
JM
152322013-06-13 Joseph Myers <joseph@codesourcery.com>
15233
15234 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15235 output for whether conversion result is exact. Take argument
15236 indicating whether type is IBM long double.
15237 (round_for_all): Change need_exact field to ibm_ld.
15238 * stdlib/tst-strtod-round.c (struct exactness): New type.
15239 (struct test): Change bool ld_ok field to struct exactness exact.
15240 (TEST): Update all definitions for change to field.
15241 (tests): Regenerate array contents.
15242 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15243 field value. Check for IBM long double here.
15244 (do_test): Update calls to test_in_one_mode.
15245
58206c68
SP
152462013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15247
15248 [BZ #12515]
15249 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15250 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15251
2d6f4c5b 152522013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
15253
15254 [BZ #15605]
15255 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15256 generated by the compiler on loop optimizations.
15257 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15258 general definitions.
15259
94f2c076
JM
152602013-06-12 Joseph Myers <joseph@codesourcery.com>
15261
15262 * math/bug-nextafter.c: Include <math-tests.h>.
15263 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15264 the relevant type.
15265 * math/bug-nexttoward.c: Include <math-tests.h>.
15266 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15267 the relevant type.
15268 * math/test-misc.c: Include <math-tests.h>.
15269 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15270 the relevant type.
15271
e0e50a0a
AJ
152722013-06-12 Andreas Jaeger <aj@suse.de>
15273
15274 * po/ia.po: Update Interlingua translation from translation
15275 project.
15276
25061094
SP
152772013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15278
15279 * include/fenv.h: Include stdbool.h.
15280 (struct rm_ctx): New structure.
15281 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15282 Define macro.
15283 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15284 (SET_RESTORE_ROUNDF): Likewise.
15285 (SET_RESTORE_ROUNDL): Likewise.
15286 (SET_RESTORE_ROUND_NOEX): Likewise.
15287 (SET_RESTORE_ROUND_NOEXF): Likewise.
15288 (SET_RESTORE_ROUND_NOEXL): Likewise.
15289 (SET_RESTORE_ROUND_53BIT): Likewise.
15290 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15291 (libc_feresetround_noexf_ctx): Likewise.
15292 (libc_feresetround_noexl_ctx): Likewise.
15293 (libc_feholdsetround_53bit_ctx): Likewise.
15294 (libc_feresetround_53bit_ctx): Likewise.
15295 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15296 (libc_feholdexcept_setround_sse_ctx): New function.
15297 (libc_fesetenv_sse_ctx): Likewise.
15298 (libc_feupdateenv_sse_ctx): Likewise.
15299 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15300 (libc_feholdexcept_setround_387_ctx): Likewise.
15301 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15302 (libc_feholdsetround_387_prec_ctx): Likewise.
15303 (libc_feholdsetround_387_ctx): Likewise.
15304 (libc_feholdsetround_387_53bit_ctx): Likewise.
15305 (libc_feholdsetround_sse_ctx): Likewise.
15306 (libc_feresetround_sse_ctx): Likewise.
15307 (libc_feresetround_387_ctx): Likewise.
15308 (libc_feupdateenv_387_ctx): Likewise.
15309 (libc_feholdexcept_setroundf_ctx): Define macro.
15310 (libc_fesetenvf_ctx): Likewise.
15311 (libc_feupdateenvf_ctx): Likewise.
15312 (libc_feholdsetroundf_ctx): Likewise.
15313 (libc_feresetroundf_ctx): Likewise.
15314 (libc_feholdexcept_setround_ctx): Likewise.
15315 (libc_fesetenv_ctx): Likewise.
15316 (libc_feupdateenv_ctx): Likewise.
15317 (libc_feholdsetround_ctx): Likewise.
15318 (libc_feresetround_ctx): Likewise.
15319 (libc_feholdexcept_setroundl_ctx): Likewise.
15320 (libc_feupdateenvl_ctx): Likewise.
15321 (libc_feholdsetroundl_ctx): Likewise.
15322 (libc_feresetroundl_ctx): Likewise.
15323 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15324 (libc_feresetround_53bit_ctx): Likewise.
15325
59b30555
SP
153262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15327
15328 * locale/iso-639.def: Convert to UTF-8.
15329
f1d73d30
JM
153302013-06-11 Joseph Myers <joseph@codesourcery.com>
15331
15332 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15333 (EXCEPTION_TESTS_double): Likewise.
15334 (EXCEPTION_TESTS_long_double): Likewise.
15335 (EXCEPTION_TESTS): Likewise.
15336 * math/libm-test.inc (test_exceptions): Only test exceptions if
15337 EXCEPTION_TESTS (FLOAT).
15338
94aca5e7
SP
153392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15340
15341 * benchtests/Makefile (string-bench): Add strcpy_chk and
15342 stpcpy_chk.
15343 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15344 * benchtests/bench-stpcpy_chk.c: New file.
15345 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15346 * benchtests/bench-strcpy_chk.c: New file.
15347 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15348 code.
15349 (do_test): Likewise.
15350
fac0c5f2
RA
153512013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15352
15353 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15354 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15355 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15356 with tabs where appropriate.
15357 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15358 dl-procinfo.h.
15359 [PPC_PLATFORM_PPC440]: Likewise.
15360 [PPC_PLATFORM_PPC464]: Likewise.
15361 [PPC_PLATFORM_PPC476]: Likewise.
15362 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15363 ppc464, and ppc476 platform strings merging from ports/
15364 dl-procinfo.h.
15365
f22bc486
AS
153662013-06-11 Andreas Schwab <schwab@suse.de>
15367
15368 [BZ #14991]
15369 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15370 (from_ucs4_idx): Regenerate.
15371 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15372 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15373 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15374 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15375 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15376 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15377 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15378 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15379 from FROM_LOOP and TO_LOOP specific macros.
15380 (BODY): Handle combining characters.
15381 * iconvdata/BIG5HKSCS.irreversible: Update.
15382 * iconvdata/BIG5HKSCS.precomposed: New file.
15383 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15384 characters.
15385 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15386
c1f75dc3
SP
153872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15388
4eacded2
SP
15389 * include/sys/time.h: Fix indentation and add copyright header.
15390
fec799f8
SP
15391 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15392 (do_test): Likewise.
15393 * string/test-memchr.c (do_one_test): Likewise.
15394 (do_test): Likewise.
15395 * string/test-memcmp.c (do_one_test): Likewise.
15396 (do_test): Likewise.
15397 * string/test-memcpy.c (do_one_test): Likewise.
15398 (do_test): Likewise.
15399 * string/test-memmem.c (do_one_test): Likewise.
15400 (do_test): Likewise.
15401 (do_random_tests): Likewise.
15402 * string/test-memmove.c (do_one_test): Likewise.
15403 (do_test): Likewise.
15404 * string/test-memset.c (do_one_test): Likewise.
15405 (do_test): Likewise.
15406 * string/test-rawmemchr.c (do_one_test): Likewise.
15407 (do_test): Likewise.
15408 * string/test-strcasecmp.c (do_one_test): Likewise.
15409 (do_test): Likewise.
15410 * string/test-strcasestr.c (do_one_test): Likewise.
15411 (do_test): Likewise.
15412 * string/test-strcat.c (do_one_test): Likewise.
15413 (do_test): Likewise.
15414 * string/test-strchr.c (do_one_test): Likewise.
15415 (do_test): Likewise.
15416 * string/test-strcmp.c (do_one_test): Likewise.
15417 (do_test): Likewise.
15418 * string/test-strcpy.c (do_one_test): Likewise.
15419 (do_test): Likewise.
15420 * string/test-string.h: Likewise.
15421 (test_init): Likewise.
15422 * string/test-strlen.c (do_one_test): Likewise.
15423 (do_test): Likewise.
15424 * string/test-strncasecmp.c (do_one_test): Likewise.
15425 (do_test): Likewise.
15426 * string/test-strncat.c (do_one_test): Likewise.
15427 (do_test): Likewise.
15428 * string/test-strncmp.c (do_one_test): Likewise.
15429 (do_test_limit): Likewise.
15430 (do_test): Likewise.
15431 * string/test-strncpy.c (do_one_test): Likewise.
15432 (do_test): Likewise.
15433 * string/test-strnlen.c (do_one_test): Likewise.
15434 (do_test): Likewise.
15435 * string/test-strpbrk.c (do_one_test): Likewise.
15436 (do_test): Likewise.
15437 * string/test-strrchr.c (do_one_test): Likewise.
15438 (do_test): Likewise.
15439 * string/test-strspn.c (do_one_test): Likewise.
15440 (do_test): Likewise.
15441 * string/test-strstr.c (do_one_test): Likewise.
15442 (do_test): Likewise.
15443
97020474
SP
15444 * benchtests/Makefile (string-bench): Add string benchmarks.
15445 * benchtests/bench-bcopy-ifunc.c: New file.
15446 * benchtests/bench-bcopy.c: New file.
15447 * benchtests/bench-bzero-ifunc.c: New file.
15448 * benchtests/bench-bzero.c: New file.
15449 * benchtests/bench-memccpy-ifunc.c: New file.
15450 * benchtests/bench-memccpy.c: New file.
15451 * benchtests/bench-memchr-ifunc.c: New file.
15452 * benchtests/bench-memchr.c: New file.
15453 * benchtests/bench-memcmp-ifunc.c: New file.
15454 * benchtests/bench-memcmp.c: New file.
15455 * benchtests/bench-memmem-ifunc.c: New file.
15456 * benchtests/bench-memmem.c: New file.
15457 * benchtests/bench-memmove-ifunc.c: New file.
15458 * benchtests/bench-memmove.c: New file.
15459 * benchtests/bench-mempcpy-ifunc.c: New file.
15460 * benchtests/bench-mempcpy.c: New file.
15461 * benchtests/bench-memset-ifunc.c: New file.
15462 * benchtests/bench-memset.c: New file.
15463 * benchtests/bench-rawmemchr-ifunc.c: New file.
15464 * benchtests/bench-rawmemchr.c: New file.
15465 * benchtests/bench-stpcpy-ifunc.c: New file.
15466 * benchtests/bench-stpcpy.c: New file.
15467 * benchtests/bench-stpncpy-ifunc.c: New file.
15468 * benchtests/bench-stpncpy.c: New file.
15469 * benchtests/bench-strcasecmp-ifunc.c: New file.
15470 * benchtests/bench-strcasecmp.c: New file.
15471 * benchtests/bench-strcasestr-ifunc.c: New file.
15472 * benchtests/bench-strcasestr.c: New file.
15473 * benchtests/bench-strcat-ifunc.c: New file.
15474 * benchtests/bench-strcat.c: New file.
15475 * benchtests/bench-strchr-ifunc.c: New file.
15476 * benchtests/bench-strchr.c: New file.
15477 * benchtests/bench-strchrnul-ifunc.c: New file.
15478 * benchtests/bench-strchrnul.c: New file.
15479 * benchtests/bench-strcmp-ifunc.c: New file.
15480 * benchtests/bench-strcmp.c: New file.
15481 * benchtests/bench-strcpy-ifunc.c: New file.
15482 * benchtests/bench-strcpy.c: New file.
15483 * benchtests/bench-strcspn-ifunc.c: New file.
15484 * benchtests/bench-strcspn.c: New file.
15485 * benchtests/bench-strlen-ifunc.c: New file.
15486 * benchtests/bench-strlen.c: New file.
15487 * benchtests/bench-strncasecmp-ifunc.c: New file.
15488 * benchtests/bench-strncasecmp.c: New file.
15489 * benchtests/bench-strncat-ifunc.c: New file.
15490 * benchtests/bench-strncat.c: New file.
15491 * benchtests/bench-strncmp-ifunc.c: New file.
15492 * benchtests/bench-strncmp.c: New file.
15493 * benchtests/bench-strncpy-ifunc.c: New file.
15494 * benchtests/bench-strncpy.c: New file.
15495 * benchtests/bench-strnlen-ifunc.c: New file.
15496 * benchtests/bench-strnlen.c: New file.
15497 * benchtests/bench-strpbrk-ifunc.c: New file.
15498 * benchtests/bench-strpbrk.c: New file.
15499 * benchtests/bench-strrchr-ifunc.c: New file.
15500 * benchtests/bench-strrchr.c: New file.
15501 * benchtests/bench-strspn-ifunc.c: New file.
15502 * benchtests/bench-strspn.c: New file.
15503 * benchtests/bench-strstr-ifunc.c: New file.
15504 * benchtests/bench-strstr.c: New file.
15505
c1f75dc3
SP
15506 * benchtests/Makefile: Disable parallel execution of targets.
15507 (string-bench): Add memcpy.
15508 (benchset): New variable to store a list of benchmark sets.
15509 (bench-func): Renamed from bench.
15510 (bench-set): New target.
15511 (bench): Depend on bench-func and bench-set.
15512 * benchtests/README: Add section on benchmark sets.
15513 * benchtests/bench-memcpy-ifunc.c: New file.
15514 * benchtests/bench-memcpy.c: New file.
15515 * benchtests/bench-string.h: New file.
15516
50fd745b
AS
155172013-06-11 Andreas Schwab <schwab@suse.de>
15518
15519 [BZ #15577]
15520 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15521 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15522 values in the triple.
15523 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15524 terminator in the group key.
15525
3ee7e9fe
AJ
155262013-06-11 Andreas Jaeger <aj@suse.de>
15527
15528 * po/zh_TW.po: Update Chinese (traditional) translation from
15529 translation project.
15530
89fb6835
SP
155312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15532
15533 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15534 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15535 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15537 (clock_getcpuclockid): Likewise.
15538 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15539 Add weak_alias and libc_hidden_def.
15540 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15541 * rt/clock_gettime.c (clock_gettime): Rename to
15542 __clock_gettime. Add weak_alias and libc_hidden_def.
15543 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15544 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15545 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15546 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15547 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15548 Likewise.
15549 * rt/clock_settime.c (clock_settime): Rename to
15550 __clock_settime. Add weak_alias and libc_hidden_def.
15551 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15552
0efa6f8b
JM
155532013-06-10 Joseph Myers <joseph@codesourcery.com>
15554
b8c61b4b
JM
15555 * mach/err_boot.sub: Remove trailing whitespace.
15556 * mach/err_ipc.sub: Likewise.
15557 * mach/err_mach.sub: Likewise.
15558
0efa6f8b
JM
15559 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15560 (ROUNDING_TESTS_double): Likewise.
15561 (ROUNDING_TESTS_long_double): Likewise.
15562 (ROUNDING_TESTS): Likewise.
15563 * math/libm-test.inc: Include <math-tests.h>.
15564 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15565 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15566 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15567 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15568
50b818bf
SP
155692013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15570
15571 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15572 of assigning.
15573
60d2f8f3
JM
155742013-06-08 Joseph Myers <joseph@codesourcery.com>
15575
4902d2c3
JM
15576 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15577 otherwise empty TRANS lines.
15578 * sysdeps/gnu/errlist.c: Regenerated.
15579
60d2f8f3
JM
15580 * catgets/gencat.c (error_print): Use (void) in function
15581 definition.
15582 * crypt/crypt_util.c (__init_des): Likewise.
15583 * crypt/speeds.c (Stop): Likewise.
15584 (main): Likewise.
15585 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15586 * inet/ruserpass.c (token): Likewise.
15587 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15588 * intl/localealias.c (extend_alias_table): Likewise.
15589 * intl/plural-exp.c (init_germanic_plural): Likewise.
15590 * libio/fcloseall.c (__fcloseall): Likewise.
15591 * libio/genops.c (_IO_flush_all): Likewise.
15592 (_IO_flush_all_linebuffered): Likewise.
15593 (_IO_cleanup): Likewise.
15594 (_IO_iter_begin): Likewise.
15595 (_IO_iter_end): Likewise.
15596 (_IO_list_lock): Likewise.
15597 (_IO_list_unlock): Likewise.
15598 (_IO_list_resetlock): Likewise.
15599 * libio/getchar.c (getchar): Likewise.
15600 * libio/getchar_u.c (getchar_unlocked): Likewise.
15601 * libio/getwchar.c (getwchar): Likewise.
15602 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15603 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15604 * login/getpt.c (__getpt): Likewise.
15605 * login/tst-utmp.c (main): Likewise.
15606 * malloc/hooks.c (__malloc_check_init): Likewise.
15607 * malloc/malloc.c (__malloc_stats): Likewise.
15608 * malloc/mtrace.c (tr_break): Likewise.
15609 (mtrace): Likewise.
15610 (muntrace): Likewise.
15611 * misc/fstab.c (endfsent): Likewise.
15612 * misc/getclktck.c (__getclktck): Likewise.
15613 * misc/getdtsz.c (__getdtablesize): Likewise.
15614 * misc/gethostid.c (gethostid): Likewise.
15615 * misc/getpagesize.c (__getpagesize): Likewise.
15616 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15617 (__get_nprocs): Likewise.
15618 (__get_phys_pages): Likewise.
15619 (__get_avphys_pages): Likewise.
15620 * misc/getttyent.c (getttyent): Likewise.
15621 (setttyent): Likewise.
15622 (endttyent): Likewise.
15623 * misc/getusershell.c (getusershell): Likewise.
15624 (endusershell): Likewise.
15625 (setusershell): Likewise.
15626 (initshells): Likewise.
15627 * misc/hsearch.c (__hdestroy): Likewise.
15628 * misc/sync.c (sync): Likewise.
15629 * misc/syslog.c (closelog_internal): Likewise.
15630 (closelog): Likewise.
15631 * misc/ttyslot.c (ttyslot): Likewise.
15632 * misc/vhangup.c (vhangup): Likewise.
15633 * posix/fork.c (__fork): Likewise.
15634 * posix/getegid.c (__getegid): Likewise.
15635 * posix/geteuid.c (__geteuid): Likewise.
15636 * posix/getgid.c (__getgid): Likewise.
15637 * posix/getpid.c (__getpid): Likewise.
15638 * posix/getppid.c (__getppid): Likewise.
15639 * posix/getuid.c (__getuid): Likewise.
15640 * posix/pause.c (pause): Likewise.
15641 * posix/setpgrp.c (setpgrp): Likewise.
15642 * posix/setsid.c (__setsid): Likewise.
15643 * posix/test-vfork.c (noop): Likewise.
15644 * resolv/gethnamaddr.c (_endhtent): Likewise.
15645 (_gethtent): Likewise.
15646 (ht_endhostent): Likewise.
15647 (gethostent): Likewise.
15648 (dns_service): Likewise.
15649 * stdlib/drand48.c (drand48): Likewise.
15650 * stdlib/lrand48.c (lrand48): Likewise.
15651 * stdlib/mrand48.c (mrand48): Likewise.
15652 * stdlib/rand.c (rand): Likewise.
15653 * stdlib/random.c (__random): Likewise.
15654 * stdlib/setenv.c (clearenv): Likewise.
15655 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15656 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15657 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15658 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15659 (__get_nprocs): Likewise.
15660 (__get_phys_pages): Likewise.
15661 (__get_avphys_pages): Likewise.
15662 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15663 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15664 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15665 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15666 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15667 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15668 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15669 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15670 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15671 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15672 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15673 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15674 * sysdeps/posix/clock.c (clock): Likewise.
15675 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15676 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15677 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15678 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15679 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15681 (__get_nprocs_conf): Likewise.
15682 (__get_phys_pages): Likewise.
15683 (__get_avphys_pages): Likewise.
15684 * time/clock.c (clock): Likewise.
15685 * time/tzset.c (__tzname_max): Likewise.
15686
2e09a79a
JM
156872013-06-07 Joseph Myers <joseph@codesourcery.com>
15688
15689 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15690 (__bswap_32): Do not use "register".
15691 * crypt/crypt.c (_ufc_doit_r): Likewise.
15692 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15693 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15694 * gmon/gmon.c (__monstartup): Likewise.
15695 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15696 * hurd/hurdmalloc.c (more_memory): Likewise.
15697 (malloc): Likewise.
15698 (free): Likewise.
15699 (realloc): Likewise.
15700 (malloc_fork_prepare): Likewise.
15701 (malloc_fork_parent): Likewise.
15702 (malloc_fork_child): Likewise.
15703 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15704 (_svcauth_des): Likewise.
15705 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15706 * inet/inet_net.c (inet_network): Likewise.
15707 * inet/inet_netof.c (inet_netof): Likewise.
15708 * inet/rcmd.c (__validuser2_sa): Likewise.
15709 * io/fts.c (fts_open): Likewise.
15710 (fts_load): Likewise.
15711 (fts_close): Likewise.
15712 (fts_read): Likewise.
15713 (fts_children): Likewise.
15714 (fts_build): Likewise.
15715 (fts_stat): Likewise.
15716 (fts_sort): Likewise.
15717 (fts_alloc): Likewise.
15718 (fts_lfree): Likewise.
15719 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15720 (_IO_file_xsgetn): Likewise.
15721 (_IO_file_xsgetn_mmap): Likewise.
15722 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15723 (_IO_cookie_write): Likewise.
15724 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15725 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15726 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15727 * malloc/obstack.c (_obstack_begin): Likewise.
15728 (_obstack_begin_1): Likewise.
15729 (_obstack_newchunk): Likewise.
15730 (_obstack_allocated_p): Likewise.
15731 (obstack_free): Likewise.
15732 (_obstack_memory_used): Likewise.
15733 * misc/getttyent.c (getttynam): Likewise.
15734 (getttyent): Likewise.
15735 (skip): Likewise.
15736 (value): Likewise.
15737 * misc/getusershell.c (initshells): Likewise.
15738 * misc/syslog.c (__vsyslog_chk): Likewise.
15739 * misc/ttyslot.c (ttyslot): Likewise.
15740 * nis/nis_hash.c (__nis_hash): Likewise.
15741 * posix/fnmatch_loop.c (FCT): Likewise.
15742 * posix/getconf.c (print_all): Likewise.
15743 (main): Likewise.
15744 * posix/getopt.c (exchange): Likewise.
15745 * posix/glob.c (globfree): Likewise.
15746 (prefix_array): Likewise.
15747 (__glob_pattern_type): Likewise.
15748 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15749 (NS_GET32): Likewise.
15750 (NS_PUT16): Likewise.
15751 (NS_PUT32): Likewise.
15752 * resolv/gethnamaddr.c (getanswer): Likewise.
15753 (gethostbyname2): Likewise.
15754 (gethostbyaddr): Likewise.
15755 (_gethtent): Likewise.
15756 (_gethtbyname2): Likewise.
15757 (_gethtbyaddr): Likewise.
15758 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15759 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15760 * resolv/res_init.c (__res_vinit): Likewise.
15761 (net_mask): Likewise.
15762 * resolv/res_mkquery.c (outchar): Likewise.
15763 (PRINT): Likewise.
15764 * stdio-common/printf_fp.c (outchar): Likewise.
15765 (PRINT): Likewise.
15766 * stdio-common/printf_fphex.c (outchar): Likewise.
15767 (PRINT): Likewise.
15768 * stdio-common/printf_size.c (outchar): Likewise.
15769 (PRINT): Likewise.
15770 * stdio-common/test_rdwr.c (main): Likewise.
15771 * stdio-common/tfformat.c (matches): Likewise.
15772 * stdio-common/vfprintf.c (outchar): Likewise.
15773 (printf_unknown): Likewise.
15774 (buffered_vfprintf): Likewise.
15775 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15776 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15777 (ReadFile): Likewise.
15778 * stdlib/qsort.c (SWAP): Likewise.
15779 (_quicksort): Likewise.
15780 * stdlib/setenv.c (__add_to_environ): Likewise.
15781 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15782 * stdlib/strtol_l.c (__strtol_l): Likewise.
15783 * stdlib/tst-strtod.c (main): Likewise.
15784 * stdlib/tst-strtol.c (main): Likewise.
15785 * stdlib/tst-strtoll.c (main): Likewise.
15786 * string/bits/string2.h (__strcmp_cc): Likewise.
15787 (__strcmp_cg): Likewise.
15788 (__strcspn_c1): Likewise.
15789 (__strcspn_c2): Likewise.
15790 (__strcspn_c3): Likewise.
15791 (__strspn_c1): Likewise.
15792 (__strspn_c2): Likewise.
15793 (__strspn_c3): Likewise.
15794 (__strsep_1c): Likewise.
15795 (__strsep_2c): Likewise.
15796 (__strsep_3c): Likewise.
15797 * string/memccpy.c (__memccpy): Likewise.
15798 * string/stpcpy.c (__stpcpy): Likewise.
15799 * string/strcmp.c (strcmp): Likewise.
15800 * string/strrchr.c (strrchr): Likewise.
15801 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15802 Likewise.
15803 * sysdeps/mach/hurd/getcwd.c
15804 (_hurd_canonicalize_directory_name_internal): Likewise.
15805 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15806 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15807 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15808 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15809 Likewise, in both definitions.
15810 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15811 definitions.
15812 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15813 64] (__bswap_64): Likewise.
15814 * time/test_time.c (main): Likewise.
15815 * time/tzfile.c (__tzfile_read): Likewise.
15816 (__tzfile_compute): Likewise.
15817 * time/tzset.c (__tzset_parse_tz): Likewise.
15818 (tzset_internal): Likewise.
15819 (compute_change): Likewise.
15820 * wcsmbs/wcscat.c (__wcscat): Likewise.
15821 * wcsmbs/wcschr.c (wcschr): Likewise.
15822 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15823 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15824 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15825 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15826 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15827 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15828 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15829 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15830 * wcsmbs/wmemset.c (wmemset): Likewise.
15831
9e54314b
JM
158322013-06-06 Joseph Myers <joseph@codesourcery.com>
15833
15834 * scripts/config.guess: Update to version 2013-05-16.
15835 * scripts/config.sub: Update to version 2013-04-24.
15836 * scripts/install-sh: Update to version 2011-11-20.07.
15837 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15838 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15839
350635a5
OB
158402013-06-06 Ondřej Bílka <neleai@seznam.cz>
15841
15842 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15843 * elf/sln.c: Likewise.
15844 * hurd/hurd/ioctl.h: Likewise.
15845 * hurd/hurdmalloc.c: Likewise.
15846 * hurd/xattr.c: Likewise.
15847 * include/shlib-compat.h: Likewise.
15848 * inet/ruserpass.c: Likewise.
15849 * libio/iofgets_u.c: Likewise.
15850 * libio/iofgetws_u.c: Likewise.
15851 * locale/programs/ld-identification.c: Likewise.
15852 * locale/programs/ld-time.c: Likewise.
15853 * mach/msg-destroy.c: Likewise.
15854 * nss/nss_files/files-netgrp.c: Likewise.
15855 * resolv/res_data.c: Likewise.
15856 * soft-fp/op-1.h: Likewise.
15857 * soft-fp/op-2.h: Likewise.
15858 * soft-fp/op-4.h: Likewise.
15859 * soft-fp/op-common.h: Likewise.
15860 * stdio-common/printf_fphex.c: Likewise.
15861 * stdlib/strtod_l.c: Likewise.
15862 * sunrpc/rpc/clnt.h: Likewise.
15863 * sysdeps/generic/framestate.c: Likewise.
15864 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15865 * sysdeps/i386/bsd-setjmp.S: Likewise.
15866 * sysdeps/i386/__longjmp.S: Likewise.
15867 * sysdeps/i386/setjmp.S: Likewise.
15868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15869 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15871 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15873 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15886 * sysdeps/ieee754/support.c: Likewise.
15887 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15888 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15889 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15890 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15891 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15892 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15893 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15894 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15895 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15896 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15897 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15898 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15899 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15901 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15902 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15903 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15905
44a988af
OB
159062013-06-05 Ondřej Bílka <neleai@seznam.cz>
15907
25506f09 15908 * posix/transbug.c: Remove executable mode.
44a988af 15909
9c84384c
JM
159102013-06-05 Joseph Myers <joseph@codesourcery.com>
15911
15912 * crypt/speeds.c: Remove trailing whitespace.
15913 * dlfcn/default.c: Likewise.
15914 * elf/ifuncdep2.c: Likewise.
15915 * elf/ifuncmain1.c: Likewise.
15916 * elf/ifuncmain1vis.c: Likewise.
15917 * elf/testobj.h: Likewise.
15918 * elf/tst-stackguard1.c: Likewise.
15919 * gmon/sys/gmon.h: Likewise.
15920 * hurd/hurdmsg.c: Likewise.
15921 * hurd/new-fd.c: Likewise.
15922 * hurd/ports-get.c: Likewise.
15923 * iconvdata/ibm1008_420.c: Likewise.
15924 * inet/tst-getni1.c: Likewise.
15925 * inet/tst-getni2.c: Likewise.
15926 * libio/ioungetc.c: Likewise.
15927 * libio/wfiledoalloc.c: Likewise.
15928 * manual/libm-err-tab.pl: Likewise.
15929 * math/w_dremf.c: Likewise.
15930 * misc/ftruncate.c: Likewise.
15931 * posix/bug-glob2.c: Likewise.
15932 * posix/tst-pcre.c: Likewise.
15933 * posix/wait4.c: Likewise.
15934 * resolv/README: Likewise.
15935 * resolv/res_debug.h: Likewise.
15936 * resolv/tst-inet_ntop.c: Likewise.
15937 * setjmp/bug269-setjmp.c: Likewise.
15938 * soft-fp/extended.h: Likewise.
15939 * soft-fp/op-1.h: Likewise.
15940 * soft-fp/op-2.h: Likewise.
15941 * soft-fp/op-4.h: Likewise.
15942 * soft-fp/op-8.h: Likewise.
15943 * soft-fp/testit.c: Likewise.
15944 * stdio-common/bug16.c: Likewise.
15945 * stdlib/random.c: Likewise.
15946 * sunrpc/rpcsvc/rquota.x: Likewise.
15947 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15948 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15949 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15950 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15951 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15952 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15953 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15954 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15955 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15956 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15957 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15976 * sysdeps/ieee754/s_lib_version.c: Likewise.
15977 * sysdeps/mach/hurd/check_fds.c: Likewise.
15978 * sysdeps/mach/hurd/getsockname.c: Likewise.
15979 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15980 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15981 * sysdeps/powerpc/bits/link.h: Likewise.
15982 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15983 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15984 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15985 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15986 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15987 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15988 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15989 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15990 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15991 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15993 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15994 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15995 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15996 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15997 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15998 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16001 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16003 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16005 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16006 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16007 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16008 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16010 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16011 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16012 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16013 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16014 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16016 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16017 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16018 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16019 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16020 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16021 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16022 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16025 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16027 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16028 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16029 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16030 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16031 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16034 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16035 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16036 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16037 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16038 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16039 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16040 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16041 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16042 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16045 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16046 * sysdeps/powerpc/sysdep.h: Likewise.
16047 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16048 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16049 * sysdeps/sh/dl-trampoline.S: Likewise.
16050 * sysdeps/sh/memset.S: Likewise.
16051 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16052 * sysdeps/sh/strlen.S: Likewise.
16053 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16054 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16055 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16056 * sysdeps/sparc/sparc32/rem.S: Likewise.
16057 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16058 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16059 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16060 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16061 * sysdeps/sparc/sparc32/urem.S: Likewise.
16062 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16063 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16064 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16065 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16066 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16067 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16068 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16069 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16070 * sysdeps/unix/bsd/times.c: Likewise.
16071 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16072 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16076 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16077 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16078 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16079 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16080 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16081 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16082 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16083 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16084 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16085 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16086 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16087 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16088 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16089 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16090 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16091 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16092 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16093 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16094 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16095 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16096 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16097 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16098 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16099 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16100 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16101 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16102 * sysdeps/x86_64/strcspn.S: Likewise.
16103
869378a5
RA
161042013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16105
16106 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16107 generated file. Regenerate properly from gen-translit.pl.
16108 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16109 locale/C-translit.h.
16110
840e2943
AS
161112013-06-05 Andreas Schwab <schwab@suse.de>
16112
16113 [BZ #15100]
16114 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16115 week as 6 instead of -1.
16116 * time/tst-strptime.c (day_tests): Add test case.
16117
4c60cb0c
SP
161182013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16119
16120 * sysdeps/generic/math_private.h
16121 (libc_feholdexcept_setround_53bit): Replace with
16122 libc_feholdsetround_53bit.
16123 (libc_feupdateenv_53bit): Replace with
16124 libc_feresetround_53bit.
16125 (SET_RESTORE_ROUND_53BIT): Adjust.
16126
d180203e
SP
161272013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16128
96df079a
SP
16129 * string/test-strchrnul.c: Add copyright header.
16130
d180203e
SP
16131 * posix/tst-getaddrinfo4.c: Increase test timeout.
16132
8b0ccb2d
CD
161332013-06-03 Carlos O'Donell <carlos@redhat.com>
16134
16135 [BZ #15536]
16136 * math/libm-test.inc (MAX_EXP): Remove
16137 (MIN_EXP): Define.
16138 (ulp): Use MIN_EXP - MANT_DIG.
16139 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16140
3b3c4d40
CD
161412013-05-31 Carlos O'Donell <carlos@redhat.com>
16142
16143 * po/be.po: Revert last change.
16144 * po/zh_CN.po: Likewise.
16145 * po/header.pot: Likewise.
16146
fab7ce3f
JM
161472013-05-31 Joseph Myers <joseph@codesourcery.com>
16148
16149 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16150 link-libc-deps to empty as target-specific variable.
16151 * Makerules (link-libc-args): New variable.
16152 (libc-for-link): Likewise.
16153 (link-libc-deps): Likewise.
16154 (lib%.so): Depend on $(link-libc-deps). Link with
16155 $(link-libc-args).
16156 (build-module): Link with $(link-libc-args).
16157 (build-module-asneeded): Likewise.
16158 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16159 list of objects.
16160 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16161 target-specific variable.
16162 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16163 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16164 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16165 libc.
16166 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16167 libc and ld.so.
16168 ($(objpfx)libpcprofile.so): Likewise.
16169 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16170 libc_nonshared.a.
16171 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16172 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16173 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16174 $(link-libc-deps).
16175 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16176 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16177 * login/Makefile ($(objpfx)libutil.so): Likewise.
16178 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16179 * math/Makefile ($(objpfx)libm.so): Likewise.
16180 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16181 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16182 variable instead of depending directly on libc.
16183 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16184 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16185 $(link-libc-deps).
16186 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16187 libc.
16188 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16189 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16190 ($(objpfx)libanl.so): Likewise.
16191 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16192 ld.so.
16193 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16194 $(link-libc-deps).
16195 * sysdeps/i386/fpu/Makefile: Remove file.
16196 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16197 ($(objpfx)libm.so): Remove dependency on ld.so.
16198
eca5920c
PF
161992013-05-30 Patsy Franklin <pfrankli@redhat.com>
16200
16201 [BZ # 15553]
16202 * nis/yp_xdr.c (XDRMAXNAME): Define.
16203 (XDRMAXRECORD): Define.
16204 (xdr_domainname): Use XDRMAXNAME.
16205 (xdr_mapname): Likewise.
16206 (xdr_peername): Likewise.
16207 (xdr_keydat): Use XDRMAXRECORD.
16208 (xdr_valdat): Likewise.
16209
162102013-05-30 Jeff Law <law@redhat.com>
96945714
JL
16211
16212 [BZ #14256]
16213 * manual/errno.texi (ESTALE): Update to account for more than
16214 just NFS file systems.
16215 * sysdeps/gnu/errlist.c: Regenerated.
16216
b9375348
SP
162172013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16218
16219 [BZ #15465]
16220 * elf/Makefile (tests): Add tst-null-argv.
16221 (modules-names): Add tst-null-argv-lib.
16222 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16223 (tst-null-argv-ENV): Set environment for tst-null-argv.
16224 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16225 (RTLD_PROGNAME): New macro.
16226 * elf/tst-null-argv.c: New test case.
16227 * elf/tst-null-argv-lib.c: Library for test case.
16228 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16229 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16230 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16231 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16232 * elf/dl-init.c (call_init): Likewise.
16233 (_dl_init): Likewise.
16234 * elf/dl-load.c (print_search_path): Likewise.
16235 (_dl_map_object): Likewise.
16236 * elf/dl-lookup.c (do_lookup_x): Likewise.
16237 (add_dependency): Likewise.
16238 (_dl_lookup_symbol_x): Likewise.
16239 (_dl_debug_bindings): Likewise.
16240 * elf/dl-open.c (_dl_show_scope): Likewise.
16241 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16242 * elf/dl-version.c (match_symbol): Likewise.
16243 (_dl_check_map_versions): Likewise.
16244 * elf/rtld.c (dl_main): Likewise.
16245 (print_unresolved): Use RTLD_PROGNAME.
16246 (print_missing_version): Likewise.
16247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16248 (elf_machine_rela): Likewise.
16249 * sysdeps/powerpc/powerpc32/dl-machine.c
16250 (__process_machine_rela): Likewise.
16251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16252 Likewise.
16253 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16254 Likewise.
16255 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16256 Likewise.
16257 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16259 Likewise.
16260 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16261 Likewise.
16262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16263
8a9f20c8
CD
162642013-05-28 Carlos O'Donell <carlos@redhat.com>
16265
16266 * po/be.po: Add descriptive title.
16267 * po/zh_CN.po: Likewise.
16268 * po/header.pot: Likewise.
16269
0e60d68e
MF
162702013-05-28 Mike Frysinger <vapier@gentoo.org>
16271
16272 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16273 error message.
16274 (enlarge_archive): Likewise.
16275
56b672e9
BN
162762013-05-28 Ben North <ben@redfrontdoor.org>
16277
16278 * manual/arith.texi (frexp): It is the magnitude of the return
16279 value which lies in [0.5, 1), not the return value itself.
16280
5e056687
AZ
162812013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16282
16283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16284
2b66ef5d
TS
162852013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16286
528c2405
TS
16287 * stdio-common/bug26.c (main): Correct fscanf template.
16288
07b4c13d
TS
16289 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16290 declare _dl_skip_args.
16291
ec9dd97c
TS
16292 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16293 Don't declare.
16294
2b66ef5d
TS
16295 * manual/platform.texi: Add missing @end deftypefun.
16296
4f8dfe27
JM
162972013-05-24 Joseph Myers <joseph@codesourcery.com>
16298
0323d086
JM
16299 [BZ #15529]
16300 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16301 bit of mantissa of 2^16382.
16302 * math/libm-test.inc (hypot_test_data): Add more tests.
16303
dd4259b9
JM
16304 * math/libm-test.inc: Add drem and pow10 to list of tested
16305 functions.
16306 (pow10_test): New function.
16307 (drem_test): Likewise.
16308 (drem_test_tonearest): Likewise.
16309 (drem_test_towardzero): Likewise.
16310 (drem_test_downward): Likewise.
16311 (drem_test_upward): Likewise.
16312 (main): Call the new functions.
16313
4f8dfe27
JM
16314 * math/libm-test.inc (finite_test_data): Remove.
16315 (finite_test): Run tests from isfinite_test_data.
16316 (gamma_test_data): Remove.
16317 (gamma_test): Run tests from lgamma_test_data.
16318 * sysdeps/i386/fpu/libm-test-ulps: Update.
16319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16320
d116b7c4
AZ
163212013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16322
16323 * manual/platform.texi: Add PowerPC PPR function set documentation.
16324 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16325 implementation.
16326
e96e3767
CD
163272013-05-24 Carlos O'Donell <carlos@redhat.com>
16328
16329 * math/libm-test.inc (MAX_EXP): Define.
16330 (ULPDIFF): Define.
16331 (ulp): New function.
16332 (check_float_internal): Use ULPDIFF.
16333 (cpow_test): Disable failing test.
16334 (check_ulp): Test ulp() implemetnation.
16335 (main): Call check_ulp before starting tests.
16336
b679a606
JM
163372013-05-24 Joseph Myers <joseph@codesourcery.com>
16338
e8bdba36
JM
16339 * math/gen-libm-test.pl (generate_testfile): Do not handle
16340 START_DATA and END_DATA.
16341 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16342 END_DATA.
16343 (acos_tonearest_test_data): Likewise.
16344 (acos_towardzero_test_data): Likewise.
16345 (acos_downward_test_data): Likewise.
16346 (acos_upward_test_data): Likewise.
16347 (acosh_test_data): Likewise.
16348 (asin_test_data): Likewise.
16349 (asin_tonearest_test_data): Likewise.
16350 (asin_towardzero_test_data): Likewise.
16351 (asin_downward_test_data): Likewise.
16352 (asin_upward_test_data): Likewise.
16353 (asinh_test_data): Likewise.
16354 (atan_test_data): Likewise.
16355 (atanh_test_data): Likewise.
16356 (atan2_test_data): Likewise.
16357 (cabs_test_data): Likewise.
16358 (cacos_test_data): Likewise.
16359 (cacosh_test_data): Likewise.
16360 (carg_test_data): Likewise.
16361 (casin_test_data): Likewise.
16362 (casinh_test_data): Likewise.
16363 (catan_test_data): Likewise.
16364 (catanh_test_data): Likewise.
16365 (cbrt_test_data): Likewise.
16366 (ccos_test_data): Likewise.
16367 (ccosh_test_data): Likewise.
16368 (ceil_test_data): Likewise.
16369 (cexp_test_data): Likewise.
16370 (cimag_test_data): Likewise.
16371 (clog_test_data): Likewise.
16372 (clog10_test_data): Likewise.
16373 (conj_test_data): Likewise.
16374 (copysign_test_data): Likewise.
16375 (cos_test_data): Likewise.
16376 (cos_tonearest_test_data): Likewise.
16377 (cos_towardzero_test_data): Likewise.
16378 (cos_downward_test_data): Likewise.
16379 (cos_upward_test_data): Likewise.
16380 (cosh_test_data): Likewise.
16381 (cosh_tonearest_test_data): Likewise.
16382 (cosh_towardzero_test_data): Likewise.
16383 (cosh_downward_test_data): Likewise.
16384 (cosh_upward_test_data): Likewise.
16385 (cpow_test_data): Likewise.
16386 (cproj_test_data): Likewise.
16387 (creal_test_data): Likewise.
16388 (csin_test_data): Likewise.
16389 (csinh_test_data): Likewise.
16390 (csqrt_test_data): Likewise.
16391 (ctan_test_data): Likewise.
16392 (ctan_tonearest_test_data): Likewise.
16393 (ctan_towardzero_test_data): Likewise.
16394 (ctan_downward_test_data): Likewise.
16395 (ctan_upward_test_data): Likewise.
16396 (ctanh_test_data): Likewise.
16397 (ctanh_tonearest_test_data): Likewise.
16398 (ctanh_towardzero_test_data): Likewise.
16399 (ctanh_downward_test_data): Likewise.
16400 (ctanh_upward_test_data): Likewise.
16401 (erf_test_data): Likewise.
16402 (erfc_test_data): Likewise.
16403 (exp_test_data): Likewise.
16404 (exp_tonearest_test_data): Likewise.
16405 (exp_towardzero_test_data): Likewise.
16406 (exp_downward_test_data): Likewise.
16407 (exp_upward_test_data): Likewise.
16408 (exp10_test_data): Likewise.
16409 (exp2_test_data): Likewise.
16410 (expm1_test_data): Likewise.
16411 (fabs_test_data): Likewise.
16412 (fdim_test_data): Likewise.
16413 (finite_test_data): Likewise.
16414 (floor_test_data): Likewise.
16415 (fma_test_data): Likewise.
16416 (fma_towardzero_test_data): Likewise.
16417 (fma_downward_test_data): Likewise.
16418 (fma_upward_test_data): Likewise.
16419 (fmax_test_data): Likewise.
16420 (fmin_test_data): Likewise.
16421 (fmod_test_data): Likewise.
16422 (fpclassify_test_data): Likewise.
16423 (frexp_test_data): Likewise.
16424 (gamma_test_data): Likewise.
16425 (hypot_test_data): Likewise.
16426 (ilogb_test_data): Likewise.
16427 (isfinite_test_data): Likewise.
16428 (isgreater_test_data): Likewise.
16429 (isgreaterequal_test_data): Likewise.
16430 (isinf_test_data): Likewise.
16431 (isless_test_data): Likewise.
16432 (islessequal_test_data): Likewise.
16433 (islessgreater_test_data): Likewise.
16434 (isnan_test_data): Likewise.
16435 (isnormal_test_data): Likewise.
16436 (issignaling_test_data): Likewise.
16437 (isunordered_test_data): Likewise.
16438 (j0_test_data): Likewise.
16439 (j1_test_data): Likewise.
16440 (jn_test_data): Likewise.
16441 (ldexp_test_data): Likewise.
16442 (lgamma_test_data): Likewise.
16443 (lrint_test_data): Likewise.
16444 (lrint_tonearest_test_data): Likewise.
16445 (lrint_towardzero_test_data): Likewise.
16446 (lrint_downward_test_data): Likewise.
16447 (lrint_upward_test_data): Likewise.
16448 (llrint_test_data): Likewise.
16449 (llrint_tonearest_test_data): Likewise.
16450 (llrint_towardzero_test_data): Likewise.
16451 (llrint_downward_test_data): Likewise.
16452 (llrint_upward_test_data): Likewise.
16453 (log_test_data): Likewise.
16454 (log10_test_data): Likewise.
16455 (log1p_test_data): Likewise.
16456 (log2_test_data): Likewise.
16457 (logb_test_data): Likewise.
16458 (logb_downward_test_data): Likewise.
16459 (lround_test_data): Likewise.
16460 (llround_test_data): Likewise.
16461 (modf_test_data): Likewise.
16462 (nearbyint_test_data): Likewise.
16463 (nextafter_test_data): Likewise.
16464 (nexttoward_test_data): Likewise.
16465 (pow_test_data): Likewise.
16466 (pow_tonearest_test_data): Likewise.
16467 (pow_towardzero_test_data): Likewise.
16468 (pow_downward_test_data): Likewise.
16469 (pow_upward_test_data): Likewise.
16470 (remainder_test_data): Likewise.
16471 (remainder_tonearest_test_data): Likewise.
16472 (remainder_towardzero_test_data): Likewise.
16473 (remainder_downward_test_data): Likewise.
16474 (remainder_upward_test_data): Likewise.
16475 (remquo_test_data): Likewise.
16476 (rint_test_data): Likewise.
16477 (rint_tonearest_test_data): Likewise.
16478 (rint_towardzero_test_data): Likewise.
16479 (rint_downward_test_data): Likewise.
16480 (rint_upward_test_data): Likewise.
16481 (round_test_data): Likewise.
16482 (scalb_test_data): Likewise.
16483 (scalbn_test_data): Likewise.
16484 (scalbln_test_data): Likewise.
16485 (signbit_test_data): Likewise.
16486 (sin_test_data): Likewise.
16487 (sin_tonearest_test_data): Likewise.
16488 (sin_towardzero_test_data): Likewise.
16489 (sin_downward_test_data): Likewise.
16490 (sin_upward_test_data): Likewise.
16491 (sincos_test_data): Likewise.
16492 (sinh_test_data): Likewise.
16493 (sinh_tonearest_test_data): Likewise.
16494 (sinh_towardzero_test_data): Likewise.
16495 (sinh_downward_test_data): Likewise.
16496 (sinh_upward_test_data): Likewise.
16497 (sqrt_test_data): Likewise.
16498 (tan_test_data): Likewise.
16499 (tan_tonearest_test_data): Likewise.
16500 (tan_towardzero_test_data): Likewise.
16501 (tan_downward_test_data): Likewise.
16502 (tan_upward_test_data): Likewise.
16503 (tanh_test_data): Likewise.
16504 (tgamma_test_data): Likewise.
16505 (trunc_test_data): Likewise.
16506 (y0_test_data): Likewise.
16507 (y1_test_data): Likewise.
16508 (yn_test_data): Likewise.
16509 (significand_test_data): Likewise.
16510
b679a606
JM
16511 * math/gen-libm-test.pl (@functions): Remove variable.
16512 (generate_testfile): Don't handle START and END lines.
16513 * math/libm-test.inc (START): New macro.
16514 (END): Likewise.
16515 (END_COMPLEX): Likewise.
16516 (acos_test): Use END macro without arguments.
16517 (acos_test_tonearest): Likewise.
16518 (acos_test_towardzero): Likewise.
16519 (acos_test_downward): Likewise.
16520 (acos_test_upward): Likewise.
16521 (acosh_test): Likewise.
16522 (asin_test): Likewise.
16523 (asin_test_tonearest): Likewise.
16524 (asin_test_towardzero): Likewise.
16525 (asin_test_downward): Likewise.
16526 (asin_test_upward): Likewise.
16527 (asinh_test): Likewise.
16528 (atan_test): Likewise.
16529 (atanh_test): Likewise.
16530 (atan2_test): Likewise.
16531 (cabs_test): Likewise.
16532 (cacos_test): Use END_COMPLEX macro without arguments.
16533 (cacosh_test): Likewise.
16534 (carg_test): Use END macro without arguments.
16535 (casin_test): Use END_COMPLEX macro without arguments.
16536 (casinh_test): Likewise.
16537 (catan_test): Likewise.
16538 (catanh_test): Likewise.
16539 (cbrt_test): Use END macro without arguments.
16540 (ccos_test): Use END_COMPLEX macro without arguments.
16541 (ccosh_test): Likewise.
16542 (ceil_test): Use END macro without arguments.
16543 (cexp_test): Use END_COMPLEX macro without arguments.
16544 (cimag_test): Use END macro without arguments.
16545 (clog_test): Use END_COMPLEX macro without arguments.
16546 (clog10_test): Likewise.
16547 (conj_test): Likewise.
16548 (copysign_test): Use END macro without arguments.
16549 (cos_test): Likewise.
16550 (cos_test_tonearest): Likewise.
16551 (cos_test_towardzero): Likewise.
16552 (cos_test_downward): Likewise.
16553 (cos_test_upward): Likewise.
16554 (cosh_test): Likewise.
16555 (cosh_test_tonearest): Likewise.
16556 (cosh_test_towardzero): Likewise.
16557 (cosh_test_downward): Likewise.
16558 (cosh_test_upward): Likewise.
16559 (cpow_test): Use END_COMPLEX macro without arguments.
16560 (cproj_test): Likewise.
16561 (creal_test): Use END macro without arguments.
16562 (csin_test): Use END_COMPLEX macro without arguments.
16563 (csinh_test): Likewise.
16564 (csqrt_test): Likewise.
16565 (ctan_test): Likewise.
16566 (ctan_test_tonearest): Likewise.
16567 (ctan_test_towardzero): Likewise.
16568 (ctan_test_downward): Likewise.
16569 (ctan_test_upward): Likewise.
16570 (ctanh_test): Likewise.
16571 (ctanh_test_tonearest): Likewise.
16572 (ctanh_test_towardzero): Likewise.
16573 (ctanh_test_downward): Likewise.
16574 (ctanh_test_upward): Likewise.
16575 (erf_test): Use END macro without arguments.
16576 (erfc_test): Likewise.
16577 (exp_test): Likewise.
16578 (exp_test_tonearest): Likewise.
16579 (exp_test_towardzero): Likewise.
16580 (exp_test_downward): Likewise.
16581 (exp_test_upward): Likewise.
16582 (exp10_test): Likewise.
16583 (exp2_test): Likewise.
16584 (expm1_test): Likewise.
16585 (fabs_test): Likewise.
16586 (fdim_test): Likewise.
16587 (finite_test): Likewise.
16588 (floor_test): Likewise.
16589 (fma_test): Likewise.
16590 (fma_test_towardzero): Likewise.
16591 (fma_test_downward): Likewise.
16592 (fma_test_upward): Likewise.
16593 (fmax_test): Likewise.
16594 (fmin_test): Likewise.
16595 (fmod_test): Likewise.
16596 (fpclassify_test): Likewise.
16597 (frexp_test): Likewise.
16598 (gamma_test): Likewise.
16599 (hypot_test): Likewise.
16600 (ilogb_test): Likewise.
16601 (isfinite_test): Likewise.
16602 (isgreater_test): Likewise.
16603 (isgreaterequal_test): Likewise.
16604 (isinf_test): Likewise.
16605 (isless_test): Likewise.
16606 (islessequal_test): Likewise.
16607 (islessgreater_test): Likewise.
16608 (isnan_test): Likewise.
16609 (isnormal_test): Likewise.
16610 (issignaling_test): Likewise.
16611 (isunordered_test): Likewise.
16612 (j0_test): Likewise.
16613 (j1_test): Likewise.
16614 (jn_test): Likewise.
16615 (ldexp_test): Likewise.
16616 (lgamma_test): Likewise.
16617 (lrint_test): Likewise.
16618 (lrint_test_tonearest): Likewise.
16619 (lrint_test_towardzero): Likewise.
16620 (lrint_test_downward): Likewise.
16621 (lrint_test_upward): Likewise.
16622 (llrint_test): Likewise.
16623 (llrint_test_tonearest): Likewise.
16624 (llrint_test_towardzero): Likewise.
16625 (llrint_test_downward): Likewise.
16626 (llrint_test_upward): Likewise.
16627 (log_test): Likewise.
16628 (log10_test): Likewise.
16629 (log1p_test): Likewise.
16630 (log2_test): Likewise.
16631 (logb_test): Likewise.
16632 (logb_test_downward): Likewise.
16633 (lround_test): Likewise.
16634 (llround_test): Likewise.
16635 (modf_test): Likewise.
16636 (nearbyint_test): Likewise.
16637 (nextafter_test): Likewise.
16638 (nexttoward_test): Likewise.
16639 (pow_test): Likewise.
16640 (pow_test_tonearest): Likewise.
16641 (pow_test_towardzero): Likewise.
16642 (pow_test_downward): Likewise.
16643 (pow_test_upward): Likewise.
16644 (remainder_test): Likewise.
16645 (remainder_test_tonearest): Likewise.
16646 (remainder_test_towardzero): Likewise.
16647 (remainder_test_downward): Likewise.
16648 (remainder_test_upward): Likewise.
16649 (remquo_test): Likewise.
16650 (rint_test): Likewise.
16651 (rint_test_tonearest): Likewise.
16652 (rint_test_towardzero): Likewise.
16653 (rint_test_downward): Likewise.
16654 (rint_test_upward): Likewise.
16655 (round_test): Likewise.
16656 (scalb_test): Likewise.
16657 (scalbn_test): Likewise.
16658 (scalbln_test): Likewise.
16659 (signbit_test): Likewise.
16660 (sin_test): Likewise.
16661 (sin_test_tonearest): Likewise.
16662 (sin_test_towardzero): Likewise.
16663 (sin_test_downward): Likewise.
16664 (sin_test_upward): Likewise.
16665 (sincos_test): Likewise.
16666 (sinh_test): Likewise.
16667 (sinh_test_tonearest): Likewise.
16668 (sinh_test_towardzero): Likewise.
16669 (sinh_test_downward): Likewise.
16670 (sinh_test_upward): Likewise.
16671 (sqrt_test): Likewise.
16672 (tan_test): Likewise.
16673 (tan_test_tonearest): Likewise.
16674 (tan_test_towardzero): Likewise.
16675 (tan_test_downward): Likewise.
16676 (tan_test_upward): Likewise.
16677 (tanh_test): Likewise.
16678 (tgamma_test): Likewise.
16679 (trunc_test): Likewise.
16680 (y0_test): Likewise.
16681 (y1_test): Likewise.
16682 (yn_test): Likewise.
16683 (significand_test): Likewise.
16684
bae143d2
OB
166852013-05-24 Ondřej Bílka <neleai@seznam.cz>
16686
16687 [BZ #15381]
16688 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16689
9323d39b
EM
166902013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16691
d4ea44a0 16692 [BZ #14894]
9323d39b
EM
16693 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16694 __ppc_mdoio and __ppc_mdoom.
16695 * manual/platform.texi: Document new functions __ppc_yield,
16696 __ppc_mdoio and __ppc_mdoom.
16697
13e23af7
CD
166982013-05-22 Carlos O'Donell <carlos@redhat.com>
16699
16700 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16701 (main): Mention "tls" pseudo-hwcap is legacy.
16702 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16703
351fe550
JM
167042013-05-22 Joseph Myers <joseph@codesourcery.com>
16705
16706 * math/gen-libm-test.pl (parse_args): Output only string of
16707 arguments as text for test name, not full call or descriptions of
16708 tests for extra outputs.
16709 (generate_testfile): Do not pass function name to parse_args.
16710 Generate this_func variable from START.
16711 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16712 field to arg_str.
16713 (struct test_ff_f_data): Likewise.
16714 (test_ff_f_data_nexttoward): Likewise.
16715 (struct test_fi_f_data): Likewise.
16716 (struct test_fl_f_data): Likewise.
16717 (struct test_if_f_data): Likewise.
16718 (struct test_fff_f_data): Likewise.
16719 (struct test_c_f_data): Likewise.
16720 (struct test_f_f1_data): Likewise. Remove field extra_name.
16721 (struct test_fF_f1_data): Likewise.
16722 (struct test_ffI_f1_data): Likewise.
16723 (struct test_c_c_data): Rename test_name field to arg_str.
16724 (struct test_cc_c_data): Likewise.
16725 (struct test_f_i_data): Likewise.
16726 (struct test_ff_i_data): Likewise.
16727 (struct test_f_l_data): Likewise.
16728 (struct test_f_L_data): Likewise.
16729 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16730 and extra2_name.
16731 (COMMON_TEST_SETUP): New macro.
16732 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16733 (COMMON_TEST_CLEANUP): Likewise.
16734 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16735 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16736 macros.
16737 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16738 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16739 macros.
16740 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16741 (RUN_TEST_fff_f): Take argument string. Call new setup and
16742 cleanup macros.
16743 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16744 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16745 macros.
16746 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16747 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16748 macros.
16749 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16750 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16751 cleanup macros.
16752 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16753 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16754 cleanup macros.
16755 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16756 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16757 cleanup macros.
16758 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16759 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16760 macros.
16761 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16762 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16763 macros.
16764 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16765 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16766 macros.
16767 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16768 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16769 cleanup macros.
16770 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16771 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16772 cleanup macros.
16773 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16774 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16775 macros.
16776 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16777 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16778 cleanup macros.
16779 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16780 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16781 macros.
16782 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16783 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16784 macros.
16785 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16786 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16787 cleanup macros.
16788 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16789
85118d4d
EBM
167902013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16791
16792 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16793 to _sifields.sigfault.
16794 (si_addr_lsb): Define new macro.
16795 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16797 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16798
7a44c18f
CD
167992013-05-03 Carlos O'Donell <carlos at redhat.com>
16800
16801 [BZ #15441]
16802 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16803 returns -1.
16804 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16805 null return -1.
16806 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16807 loading the domain.
16808
b50a7181
JM
168092013-05-22 Joseph Myers <joseph@codesourcery.com>
16810
16811 * math/gen-libm-test.pl (parse_args): Do not include expected
16812 result in test name.
16813 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16814 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16815 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16816 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16817 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16819
051063c8
SP
168202013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16821
3ce9e010
SP
16822 * benchtests/Makefile: Sort function entries.
16823
051063c8
SP
16824 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16825 tanh, asinh, acosh, atanh.
16826 * benchtests/acos-inputs: New file.
16827 * benchtests/acosh-inputs: New file.
16828 * benchtests/asin-inputs: New file.
16829 * benchtests/asinh-inputs: New file.
16830 * benchtests/atanh-inputs: New file.
16831 * benchtests/cosh-inputs: New file.
16832 * benchtests/log-inputs: New file.
16833 * benchtests/sinh-inputs: New file.
16834 * benchtests/tanh-inputs: New file.
16835
47c22455
DL
168362013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16837
16838 [BZ #15339]
16839 * posix/tst-getaddrinfo4.c: New test.
16840 * posix/Makefile (tests): Add it.
16841
3d04f5db
SP
168422013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16843
16844 [BZ #15339]
16845 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16846 when no services were used.
16847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16848 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16849
d5dd6189
AS
168502013-05-21 Andreas Schwab <schwab@suse.de>
16851
16852 [BZ #15014]
16853 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16854 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16855 successful.
16856 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16857 redundant variable declarations and reallocation of buffer when
16858 parsing as IPv6 address. Always set NSS status when called from
16859 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16860 buffer too small. Correct computation of needed size.
16861 * nss/Makefile (tests): Add test-digits-dots.
16862 * nss/test-digits-dots.c: New test.
16863
fef94eab
SP
168642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16865
16866 * benchtests/Makefile: Remove instructions for adding
16867 benchmark tests.
16868 * benchtests/README: New file to explain how to execute and
16869 enhance the benchmark tests.
16870
e39adf43
AS
168712013-05-21 Andreas Schwab <schwab@suse.de>
16872
16873 [BZ #15493]
16874 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16875 * setjmp/tst-sigsetjmp.c: New test.
16876
b2b671b6
OB
168772013-05-20 Ondřej Bílka <neleai@seznam.cz>
16878
16879 * sysdeps/x86_64/memset.S (memset): New implementation.
16880 (__bzero): Likewise.
16881 (__memset_tail): New function.
16882
2d48b41c
OB
168832013-05-20 Ondřej Bílka <neleai@seznam.cz>
16884
16885 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16886 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16887 __memcpy_sse2_unaligned ifunc selection.
16888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16889 Add memcpy-sse2-unaligned.S.
16890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16891 Add: __memcpy_sse2_unaligned.
16892
f16cc3eb
JM
168932013-05-19 Joseph Myers <joseph@codesourcery.com>
16894
3e694268
JM
16895 [BZ #15490]
16896 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16897 math_force_eval before restoring floating-point envrionment.
16898 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16899 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16900 Likewise.
16901 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16902 <math_private.h>.
16903 (__nearbyintl): Use math_force_eval before restoring
16904 floating-point environment.
16905 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16906
db62a907
JM
16907 * math/gen-libm-test.pl (special_functions): Remove.
16908 (parse_args): Don't handle TEST_extra. Handle functions with no
16909 return value.
16910 * math/libm-test.inc (struct test_sincos_data): Replace with
16911 struct test_fFF_11_data.
16912 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16913 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16914 (sincos_test_data): Change element type to struct
16915 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16916 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16917 RUN_TEST_LOOP_sincos.
16918 * math/README.libm-test: Don't mention special handling of
16919 individual functions.
16920 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16921 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16922 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16923 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16924 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16926
f16cc3eb
JM
16927 * math/gen-libm-test.pl (get_variable): Remove function.
16928 (parse_args): Don't show pointer parameters to call in test
16929 names. Use "extra output N" in test names for extra outputs
16930 rather than naming variables.
16931
3779b5b6
JM
169322013-05-18 Joseph Myers <joseph@codesourcery.com>
16933
2ee094ff
JM
16934 [BZ #15488]
16935 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16936 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16937 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16938 double tests.
16939 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16940 disable.
16941 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16942 check_long_double.
16943
3779b5b6
JM
16944 * math/gen-libm-test.pl (@tests): Remove variable.
16945 ($count): Likewise.
16946 (new_test): Remove function.
16947 (show_exceptions): New function.
16948 (special_functions): Use show_exceptions instead of new_test.
16949 (parse_args): Likewise.
16950 (generate_testfile): Pass only function name in generated call to
16951 print_max_error or print_complex_max_error.
16952 (get_ulps): Do not handle complex tests specially.
16953 (output_test): Rename to ...
16954 (get_all_ulps_for_test): ... this. Return a string rather than
16955 printing to a file. Require ulps to be present.
16956 (output_ulps): Generate arrays rather than #defines.
16957 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16958 (struct ulp_data): New type.
16959 (BUILD_COMPLEX_ULP): Remove macro.
16960 (compare_ulp_data): New function.
16961 (find_ulps): Likewise.
16962 (find_test_ulps): Likewise.
16963 (find_function_ulps): Likewise.
16964 (find_complex_function_ulps): Likewise.
16965 (print_max_error): Determine allowed ulps using
16966 find_function_ulps.
16967 (print_complex_max_error): Determine allowed ulps using
16968 find_complex_function_ulps.
16969 (check_float_internal): Determine max ulps using find_test_ulps.
16970 (check_float): Do not take max_ulp parameter. Update call to
16971 check_float_internal.
16972 (check_complex): Likewise.
16973 (check_int): Do not take max_ulp parameter.
16974 (check_long): Likewise.
16975 (check_bool): Likewise.
16976 (check_longlong): Likewise.
16977 (struct test_f_f_data): Remove max_ulp field.
16978 (struct test_ff_f_data): Likewise.
16979 (struct test_ff_f_data_nexttoward): Likewise.
16980 (struct test_fi_f_data): Likewise.
16981 (struct test_fl_f_data): Likewise.
16982 (struct test_if_f_data): Likewise.
16983 (struct test_fff_f_data): Likewise.
16984 (struct test_c_f_data): Likewise.
16985 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16986 (struct test_fF_f1_data): Likewise.
16987 (struct test_ffI_f1_data): Likewise.
16988 (struct test_c_c_data): Remove max_ulp field.
16989 (struct test_cc_c_data): Likewise.
16990 (struct test_f_i_data): Likewise.
16991 (struct test_ff_i_data): Likewise.
16992 (struct test_f_l_data): Likewise.
16993 (struct test_f_L_data): Likewise.
16994 (struct test_sincos_data): Likewise.
16995 (RUN_TEST_f_f): Do not handle ulps.
16996 (RUN_TEST_LOOP_f_f): Likewise.
16997 (RUN_TEST_2_f): Likewise.
16998 (RUN_TEST_LOOP_2_f): Likewise.
16999 (RUN_TEST_fff_f): Likewise.
17000 (RUN_TEST_LOOP_fff_f): Likewise.
17001 (RUN_TEST_c_f): Likewise.
17002 (RUN_TEST_LOOP_c_f): Likewise.
17003 (RUN_TEST_f_f1): Likewise.
17004 (RUN_TEST_LOOP_f_f1): Likewise.
17005 (RUN_TEST_fF_f1): Likewise.
17006 (RUN_TEST_LOOP_fF_f1): Likewise.
17007 (RUN_TEST_fI_f1): Likewise.
17008 (RUN_TEST_LOOP_fI_f1): Likewise.
17009 (RUN_TEST_ffI_f1): Likewise.
17010 (RUN_TEST_LOOP_ffI_f1): Likewise.
17011 (RUN_TEST_c_c): Likewise.
17012 (RUN_TEST_LOOP_c_c): Likewise.
17013 (RUN_TEST_cc_c): Likewise.
17014 (RUN_TEST_LOOP_cc_c): Likewise.
17015 (RUN_TEST_f_i): Likewise.
17016 (RUN_TEST_LOOP_f_i): Likewise.
17017 (RUN_TEST_f_i_tg): Likewise.
17018 (RUN_TEST_LOOP_f_i_tg): Likewise.
17019 (RUN_TEST_ff_i_tg): Likewise.
17020 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17021 (RUN_TEST_f_b): Likewise.
17022 (RUN_TEST_LOOP_f_b): Likewise.
17023 (RUN_TEST_f_b_tg): Likewise.
17024 (RUN_TEST_LOOP_f_b_tg): Likewise.
17025 (RUN_TEST_f_l): Likewise.
17026 (RUN_TEST_LOOP_f_l): Likewise.
17027 (RUN_TEST_f_L): Likewise.
17028 (RUN_TEST_LOOP_f_L): Likewise.
17029 (RUN_TEST_sincos): Likewise.
17030 (RUN_TEST_LOOP_sincos): Likewise.
17031
8269107f
JM
170322013-05-17 Joseph Myers <joseph@codesourcery.com>
17033
bb38759d
JM
17034 [BZ #15480]
17035 [BZ #15485]
17036 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17037 main case of finite arguments, set rounding mode to FE_TONEAREST
17038 and discard exceptions.
17039 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17040 exceptions.
17041 (remainder_tonearest_test_data): New variable.
17042 (remainder_test_tonearest): New function.
17043 (remainder_towardzero_test_data): New variable.
17044 (remainder_test_towardzero): New function.
17045 (remainder_downward_test_data): New variable.
17046 (remainder_test_downward): New function.
17047 (remainder_upward_test_data): New variable.
17048 (remainder_test_upward): New function.
17049 (main): Call the new test functions.
17050
a00bdcf0
JM
17051 * math/libm-test.inc (struct test_f_f1_data): Remove field
17052 extra_init.
17053 (struct test_fF_f1_data): Likewise.
17054 (struct test_ffI_f1_data): Likewise.
17055 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17056 based on value of EXTRA_EXPECTED.
17057 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17058 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17059 EXTRA_VAR based on value of EXTRA_EXPECTED.
17060 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17061 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17062 EXTRA_VAR based on value of EXTRA_EXPECTED.
17063 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17064 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17065 EXTRA_VAR based on value of EXTRA_EXPECTED.
17066 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17067 * math/gen-libm-test.pl (parse_args): Don't output initializers
17068 for extra output values.
17069
de407f79
JM
17070 * math/libm-test.inc (check_int): Expect result to be exactly
17071 equal to expected value and do not handle ulps.
17072 (check_long): Likewise.
17073 (check_longlong): Likewise.
17074
8269107f
JM
17075 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17076 exceptions.
17077 (cimag_test_data): Likewise.
17078 (conj_test_data): Likewise.
17079 (copysign_test_data): Likewise.
17080 (cproj_test_data): Likewise.
17081 (creal_test_data): Likewise.
17082 (fabs_test_data): Likewise.
17083 (fdim_test_data): Likewise.
17084 (finite_test_data): Likewise.
17085 (floor_test_data): Likewise.
17086 (fmax_test_data): Likewise.
17087 (fmin_test_data): Likewise.
17088 (fmod_test_data): Likewise.
17089 (fpclassify_test_data): Likewise.
17090 (frexp_test_data): Likewise.
17091 (ilogb_test_data): Likewise.
17092 (isfinite_test_data): Likewise.
17093 (isgreater_test_data): Likewise.
17094 (isgreaterequal_test_data): Likewise.
17095 (isinf_test_data): Likewise.
17096 (isless_test_data): Likewise.
17097 (islessequal_test_data): Likewise.
17098 (islessgreater_test_data): Likewise.
17099 (isnan_test_data): Likewise.
17100 (isnormal_test_data): Likewise.
17101 (issignaling_test_data): Likewise.
17102 (isunordered_test_data): Likewise.
17103 (ldexp_test_data): Likewise.
17104 (lrint_test_data): Likewise.
17105 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17106 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17107 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17108 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17109 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17110 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17111 test input.
17112 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17113 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17114 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17115 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17116 that test input.
17117 (lrint_downward_test_data): Test for "inexact" exceptions.
17118 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17119 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17120 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17121 test input.
17122 (lrint_upward_test_data): Test for "inexact" exceptions.
17123 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17124 test input.
17125 (llrint_test_data): Test for "inexact" exceptions.
17126 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17127 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17128 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17129 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17130 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17131 (llrint_downward_test_data): Test for "inexact" exceptions.
17132 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17133 (llrint_upward_test_data): Test for "inexact" exceptions.
17134 (logb_test_data): Likewise.
17135 (logb_downward_test_data): Likewise.
17136 (nextafter_test_data): Likewise.
17137 (nexttoward_test_data): Likewise.
17138 (remainder_test_data): Likewise.
17139 (remquo_test_data): Likewise.
17140 (scalbn_test_data): Likewise.
17141 (scalbln_test_data): Likewise.
17142 (signbit_test_data): Likewise.
17143 (sqrt_test_data): Likewise.
17144 (significand_test_data): Likewise.
17145
48a18de1
SP
171462013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17147
17148 [BZ #15424]
17149 * benchtests/bench-modf.c (struct args): Mark arg0 as
17150 volatile.
17151 * scripts/bench.pl: Mark members of struct args as volatile.
17152
13d3b41a
AZ
171532013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17154
68191c1d 17155 [BZ # 15497]
13d3b41a
AZ
17156 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17157 negative infinity on POWER6 or lower.
17158 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17159
2848b105
MR
171602013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17161
17162 [BZ #15442]
17163 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17164 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17165 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17166 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17167 (_FP_SETQNAN): New macro.
17168 (_FP_SETQNAN_SEMIRAW): Likewise.
17169 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17170 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17171 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17172 (FP_EXTEND): Use _FP_FRAC_SNANP.
17173 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17174 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17175 into account.
17176 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17177 New macro.
17178 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17179 Likewise.
17180
323e5cb7
JM
171812013-05-16 Joseph Myers <joseph@codesourcery.com>
17182
c58b274f
JM
17183 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17184 with DIVIDE_BY_ZERO_EXCEPTION.
17185 (gamma_test_data): Likewise.
17186 (lgamma_test_data): Likewise.
17187 (log_test_data): Likewise.
17188 (log10_test_data): Likewise.
17189 (log2_test_data): Likewise.
17190 (tgamma_test_data): Likewise.
17191
0ab34904
JM
17192 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17193 (acos_test_tonearest): Likewise.
17194 (acos_test_towardzero): Likewise.
17195 (acos_test_downward): Likewise.
17196 (acos_test_upward): Likewise.
17197 (acosh_test): Likewise.
17198 (asin_test): Likewise.
17199 (asin_test_tonearest): Likewise.
17200 (asin_test_towardzero): Likewise.
17201 (asin_test_downward): Likewise.
17202 (asin_test_upward): Likewise.
17203 (asinh_test): Likewise.
17204 (atan_test): Likewise.
17205 (atanh_test): Likewise.
17206 (atan2_test): Likewise.
17207 (cabs_test): Likewise.
17208 (cacos_test): Likewise.
17209 (cacosh_test): Likewise.
17210 (casin_test): Likewise.
17211 (casinh_test): Likewise.
17212 (catan_test): Likewise.
17213 (catanh_test): Likewise.
17214 (cbrt_test): Likewise.
17215 (ccos_test): Likewise.
17216 (ccosh_test): Likewise.
17217 (cexp_test): Likewise.
17218 (clog_test): Likewise.
17219 (clog10_test): Likewise.
17220 (cos_test): Likewise.
17221 (cos_test_tonearest): Likewise.
17222 (cos_test_towardzero): Likewise.
17223 (cos_test_downward): Likewise.
17224 (cos_test_upward): Likewise.
17225 (cosh_test): Likewise.
17226 (cosh_test_tonearest): Likewise.
17227 (cosh_test_towardzero): Likewise.
17228 (cosh_test_downward): Likewise.
17229 (cosh_test_upward): Likewise.
17230 (cpow_test): Likewise.
17231 (csin_test): Likewise.
17232 (csinh_test): Likewise.
17233 (csqrt_test): Likewise.
17234 (ctan_test): Likewise.
17235 (ctan_test_tonearest): Likewise.
17236 (ctan_test_towardzero): Likewise.
17237 (ctan_test_downward): Likewise.
17238 (ctan_test_upward): Likewise.
17239 (ctanh_test): Likewise.
17240 (ctanh_test_tonearest): Likewise.
17241 (ctanh_test_towardzero): Likewise.
17242 (ctanh_test_downward): Likewise.
17243 (ctanh_test_upward): Likewise.
17244 (erf_test): Likewise.
17245 (erfc_test): Likewise.
17246 (exp_test): Likewise.
17247 (exp_test_tonearest): Likewise.
17248 (exp_test_towardzero): Likewise.
17249 (exp_test_downward): Likewise.
17250 (exp_test_upward): Likewise.
17251 (exp10_test): Likewise.
17252 (exp2_test): Likewise.
17253 (expm1_test): Likewise.
17254 (fmod_test): Likewise.
17255 (gamma_test): Likewise.
17256 (hypot_test): Likewise.
17257 (j0_test): Likewise.
17258 (j1_test): Likewise.
17259 (jn_test): Likewise.
17260 (lgamma_test): Likewise.
17261 (log_test): Likewise.
17262 (log10_test): Likewise.
17263 (log1p_test): Likewise.
17264 (log2_test): Likewise.
17265 (logb_test_downward): Likewise.
17266 (pow_test): Likewise.
17267 (pow_test_tonearest): Likewise.
17268 (pow_test_towardzero): Likewise.
17269 (pow_test_downward): Likewise.
17270 (pow_test_upward): Likewise.
17271 (remainder_test): Likewise.
17272 (remquo_test): Likewise.
17273 (sin_test): Likewise.
17274 (sin_test_tonearest): Likewise.
17275 (sin_test_towardzero): Likewise.
17276 (sin_test_downward): Likewise.
17277 (sin_test_upward): Likewise.
17278 (sincos_test): Likewise.
17279 (sinh_test): Likewise.
17280 (sinh_test_tonearest): Likewise.
17281 (sinh_test_towardzero): Likewise.
17282 (sinh_test_downward): Likewise.
17283 (sinh_test_upward): Likewise.
17284 (sqrt_test): Likewise.
17285 (tan_test): Likewise.
17286 (tan_test_tonearest): Likewise.
17287 (tan_test_towardzero): Likewise.
17288 (tan_test_downward): Likewise.
17289 (tan_test_upward): Likewise.
17290 (tanh_test): Likewise.
17291 (tgamma_test): Likewise.
17292 (y0_test): Likewise.
17293 (y1_test): Likewise.
17294 (yn_test): Likewise.
17295
323e5cb7
JM
17296 * math/gen-libm-test.pl (adjust_arg): Remove function.
17297 (special_function): Remove argument $in_func. Only handle
17298 generating output for tables of tests, not inside functions.
17299 (parse_args): Likewise.
17300 (generate_testfile): Remove variable $in_func. Update call to
17301 parse_args.
17302 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17303 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17304 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17305 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17306 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17307 (MAX_VALUE_INIT): Rename macro to max_value.
17308 (MIN_VALUE_INIT): Rename macro to min_value.
17309 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17310 (plus_zero): Remove variable.
17311 (minus_zero): Likewise.
17312 (plus_infty): Likewise.
17313 (minus_infty): Likewise.
17314 (qnan_value): Likewise.
17315 (max_value): Likewise.
17316 (min_value): Likewise.
17317 (min_subnorm_value): Likewise.
17318
e054f494
RA
173192013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17320
17321 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17322 uint64_t or uint32_t usage.
17323 * crypt/sha256-block.c: Likewise.
17324 * crypt/sha256-crypt.c: Likewise.
17325 * crypt/sha256.c: Likewise.
17326 * crypt/sha512-block.c: Likewise.
17327 * crypt/sha512-crypt.c: Likewise.
17328 * crypt/sha512.c: Likewise.
17329 * debug/backtrace-tst.c: Likewise.
17330 * debug/pcprofiledump.c: Likewise.
17331 * elf/cache.c: Likewise.
17332 * elf/dl-cache.c: Likewise.
17333 * elf/dl-misc.c: Likewise.
17334 * elf/dl-profile.c: Likewise.
17335 * elf/dl-support.c: Likewise.
17336 * elf/ldconfig.c: Likewise.
17337 * elf/sprof.c: Likewise.
17338 * iconv/dummy-repertoire.c: Likewise.
17339 * iconv/iconv_charmap.c: Likewise.
17340 * iconv/skeleton.c: Likewise.
17341 * iconvdata/8bit-generic.c: Likewise.
17342 * iconvdata/cp737.h: Likewise.
17343 * iconvdata/cp775.h: Likewise.
17344 * iconvdata/ibm1008.h: Likewise.
17345 * iconvdata/ibm1025.h: Likewise.
17346 * iconvdata/ibm1046.h: Likewise.
17347 * iconvdata/ibm1097.h: Likewise.
17348 * iconvdata/ibm1112.h: Likewise.
17349 * iconvdata/ibm1122.h: Likewise.
17350 * iconvdata/ibm1123.h: Likewise.
17351 * iconvdata/ibm1124.h: Likewise.
17352 * iconvdata/ibm1129.h: Likewise.
17353 * iconvdata/ibm1130.h: Likewise.
17354 * iconvdata/ibm1132.h: Likewise.
17355 * iconvdata/ibm1133.h: Likewise.
17356 * iconvdata/ibm1137.h: Likewise.
17357 * iconvdata/ibm1140.h: Likewise.
17358 * iconvdata/ibm1141.h: Likewise.
17359 * iconvdata/ibm1142.h: Likewise.
17360 * iconvdata/ibm1143.h: Likewise.
17361 * iconvdata/ibm1144.h: Likewise.
17362 * iconvdata/ibm1145.h: Likewise.
17363 * iconvdata/ibm1146.h: Likewise.
17364 * iconvdata/ibm1147.h: Likewise.
17365 * iconvdata/ibm1148.h: Likewise.
17366 * iconvdata/ibm1149.h: Likewise.
17367 * iconvdata/ibm1153.h: Likewise.
17368 * iconvdata/ibm1154.h: Likewise.
17369 * iconvdata/ibm1155.h: Likewise.
17370 * iconvdata/ibm1156.h: Likewise.
17371 * iconvdata/ibm1157.h: Likewise.
17372 * iconvdata/ibm1158.h: Likewise.
17373 * iconvdata/ibm1160.h: Likewise.
17374 * iconvdata/ibm1161.h: Likewise.
17375 * iconvdata/ibm1162.h: Likewise.
17376 * iconvdata/ibm1163.h: Likewise.
17377 * iconvdata/ibm1164.h: Likewise.
17378 * iconvdata/ibm1166.h: Likewise.
17379 * iconvdata/ibm1167.h: Likewise.
17380 * iconvdata/ibm12712.h: Likewise.
17381 * iconvdata/ibm1390.h: Likewise.
17382 * iconvdata/ibm1399.h: Likewise.
17383 * iconvdata/ibm16804.h: Likewise.
17384 * iconvdata/ibm4517.h: Likewise.
17385 * iconvdata/ibm4899.h: Likewise.
17386 * iconvdata/ibm4909.h: Likewise.
17387 * iconvdata/ibm4971.h: Likewise.
17388 * iconvdata/ibm5347.h: Likewise.
17389 * iconvdata/ibm803.h: Likewise.
17390 * iconvdata/ibm856.h: Likewise.
17391 * iconvdata/ibm901.h: Likewise.
17392 * iconvdata/ibm902.h: Likewise.
17393 * iconvdata/ibm9030.h: Likewise.
17394 * iconvdata/ibm9066.h: Likewise.
17395 * iconvdata/ibm921.h: Likewise.
17396 * iconvdata/ibm922.h: Likewise.
17397 * iconvdata/ibm9448.h: Likewise.
17398 * iconvdata/isiri-3342.h: Likewise.
17399 * iconvdata/jis0201.h: Likewise.
17400 * include/link.h: Likewise.
17401 * include/netdb.h: Likewise.
17402 * inet/check_native.c: Likewise.
17403 * inet/check_pf.c: Likewise.
17404 * inet/getipv4sourcefilter.c: Likewise.
17405 * inet/getnameinfo.c: Likewise.
17406 * inet/getsourcefilter.c: Likewise.
17407 * inet/htonl.c: Likewise.
17408 * inet/setipv4sourcefilter.c: Likewise.
17409 * inet/setsourcefilter.c: Likewise.
17410 * inet/test-inet6_opt.c: Likewise.
17411 * inet/tst-network.c: Likewise.
17412 * locale/C-collate.c: Likewise.
17413 * locale/C-ctype.c: Likewise.
17414 * locale/C-time.c: Likewise.
17415 * locale/C-translit.h: Likewise.
17416 * locale/loadarchive.c: Likewise.
17417 * locale/programs/3level.h: Likewise.
17418 * locale/programs/charmap.c: Likewise.
17419 * locale/programs/charmap.h: Likewise.
17420 * locale/programs/ld-address.c: Likewise.
17421 * locale/programs/ld-collate.c: Likewise.
17422 * locale/programs/ld-ctype.c: Likewise.
17423 * locale/programs/ld-identification.c: Likewise.
17424 * locale/programs/ld-measurement.c: Likewise.
17425 * locale/programs/ld-messages.c: Likewise.
17426 * locale/programs/ld-monetary.c: Likewise.
17427 * locale/programs/ld-name.c: Likewise.
17428 * locale/programs/ld-numeric.c: Likewise.
17429 * locale/programs/ld-paper.c: Likewise.
17430 * locale/programs/ld-telephone.c: Likewise.
17431 * locale/programs/ld-time.c: Likewise.
17432 * locale/programs/linereader.c: Likewise.
17433 * locale/programs/locale.c: Likewise.
17434 * locale/programs/locarchive.c: Likewise.
17435 * locale/programs/locfile.h: Likewise.
17436 * locale/programs/repertoire.c: Likewise.
17437 * locale/programs/simple-hash.c: Likewise.
17438 * locale/programs/simple-hash.h: Likewise.
17439 * malloc/memusage.c: Likewise.
17440 * malloc/memusagestat.c: Likewise.
17441 * nis/nis_defaults.c: Likewise.
17442 * nis/nis_hash.c: Likewise.
17443 * nis/nis_print.c: Likewise.
17444 * nis/nis_xdr.c: Likewise.
17445 * nscd/connections.c: Likewise.
17446 * nscd/hstcache.c: Likewise.
17447 * nscd/nscd_gethst_r.c: Likewise.
17448 * nscd/nscd_getserv_r.c: Likewise.
17449 * nscd/nscd_helper.c: Likewise.
17450 * nscd/servicescache.c: Likewise.
17451 * nss/makedb.c: Likewise.
17452 * nss/nss_db/db-XXX.c: Likewise.
17453 * nss/nss_db/db-initgroups.c: Likewise.
17454 * nss/nss_db/db-netgrp.c: Likewise.
17455 * nss/nss_files/files-network.c: Likewise.
17456 * nss/nss_files/files-parse.c: Likewise.
17457 * posix/bug-regex5.c: Likewise.
17458 * posix/fnmatch_loop.c: Likewise.
17459 * posix/regcomp.c: Likewise.
17460 * posix/regexec.c: Likewise.
17461 * posix/tst-rfc3484-2.c: Likewise.
17462 * posix/tst-rfc3484-3.c: Likewise.
17463 * posix/tst-rfc3484.c: Likewise.
17464 * resolv/nss_dns/dns-canon.c: Likewise.
17465 * resolv/nss_dns/dns-network.c: Likewise.
17466 * resolv/res_init.c: Likewise.
17467 * resolv/res_mkquery.c: Likewise.
17468 * resolv/tst-aton.c: Likewise.
17469 * stdlib/cxa_atexit.c: Likewise.
17470 * stdlib/cxa_finalize.c: Likewise.
17471 * stdlib/gen-fpioconst.c: Likewise.
17472 * stdlib/strtol_l.c: Likewise.
17473 * string/tst-endian.c: Likewise.
17474 * sunrpc/auth_des.c: Likewise.
17475 * sunrpc/clnt_udp.c: Likewise.
17476 * sunrpc/rtime.c: Likewise.
17477 * sunrpc/svcauth_des.c: Likewise.
17478 * sunrpc/xdr.c: Likewise.
17479 * sunrpc/xdr_intXX_t.c: Likewise.
17480 * sunrpc/xdr_rec.c: Likewise.
17481 * sysdeps/generic/ldconfig.h: Likewise.
17482 * sysdeps/generic/ldsodefs.h: Likewise.
17483 * sysdeps/generic/memusage.h: Likewise.
17484 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17485 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17486 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17487 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17488 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17490 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17494 * sysdeps/posix/getaddrinfo.c: Likewise.
17495 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17496 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17497 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17498 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17499 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17500 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17501 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17502 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17503 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17504 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17505 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17506 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17507 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17508 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17509 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17510 * sysdeps/x86_64/dl-tls.h: Likewise.
17511 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17512 * time/alt_digit.c: Likewise.
17513 * time/era.c: Likewise.
17514 * wcsmbs/tst-c16c32-1.c: Likewise.
17515
8c75f674
JM
175162013-05-16 Joseph Myers <joseph@codesourcery.com>
17517
17518 * math/libm-test.inc (struct test_sincos_data): New type.
17519 (RUN_TEST_LOOP_sincos): New macro.
17520 (sincos_test_data): New variable.
17521 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17522
e6e49e59
RH
175232013-05-16 Richard Henderson <rth@redhat.com>
17524
17525 * math/atest-exp2.c (LIMB64): New macro.
17526 (CONSTSZ): New macro.
17527 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17528 (hexdig): Move ...
17529 (print_mpn_fp): ... to function scope.
17530 (read_mpn_hex): Remove.
17531 (get_log2): Remove.
17532 (exp2_mpn): Use mp_log2.
17533 (main): Use mp_exp1.
17534
15c7c18d
JM
175352013-05-16 Joseph Myers <joseph@codesourcery.com>
17536
105a07df
JM
17537 * math/libm-test.inc: Remove comment about not testing "inexact"
17538 exceptions.
17539 (INEXACT_EXCEPTION): New macro.
17540 (NO_INEXACT_EXCEPTION): Likewise.
17541 (INVALID_EXCEPTION_OK): Update value.
17542 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17543 (OVERFLOW_EXCEPTION_OK): Likewise.
17544 (UNDERFLOW_EXCEPTION_OK): Likewise.
17545 (IGNORE_ZERO_INF_SIGN): Likewise.
17546 (ERRNO_UNCHANGED): Likewise.
17547 (ERRNO_EDOM): Likewise.
17548 (ERRNO_ERANGE): Likewise.
17549 (test_exceptions): Handle testing "inexact" exceptions.
17550 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17551 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17552 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17553 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17554 INEXACT_EXCEPTION.
17555 (rint_towardzero_test_data): Likewise.
17556 (rint_downward_test_data): Likewise.
17557 (rint_upward_test_data): Likewise.
17558
e9eee333
JM
17559 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17560 with OVERFLOW_EXCEPTION.
17561 (exp10_test_data): Likewise.
17562 (exp2_test_data): Likewise.
17563 (expm1_test_data): Likewise.
17564 (lgamma_test_data): Likewise.
17565 (pow_test_data): Likewise.
17566 (tgamma_test_data): Likewise.
17567 (yn_test_data): Remove duplicate test of overflow.
17568
1c38ff73
JM
17569 * math/libm-test.inc (struct test_cc_c_data): New type.
17570 (RUN_TEST_LOOP_cc_c): New macro.
17571 (cpow_test_data): New variable.
17572 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17573
15c7c18d
JM
17574 * math/libm-test.inc (struct test_f_L_data): New type.
17575 (RUN_TEST_LOOP_f_L): New macro.
17576 (llrint_test_data): New variable.
17577 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17578 (llrint_tonearest_test_data): New variable.
17579 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17580 (llrint_towardzero_test_data): New variable.
17581 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17582 (llrint_downward_test_data): New variable.
17583 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17584 (llrint_upward_test_data): New variable.
17585 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17586 (llround_test_data): New variable.
17587 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17588
f137ff13
PC
175892013-05-13 Peter Collingbourne <pcc@google.com>
17590
17591 * math/atest-exp2.c (get_log2): Remove const attribute.
17592
3608cb24
JM
175932013-05-15 Joseph Myers <joseph@codesourcery.com>
17594
17595 * math/libm-test.inc (struct test_f_l_data): New type.
17596 (RUN_TEST_LOOP_f_l): New macro.
17597 (lrint_test_data): New variable.
17598 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17599 (lrint_tonearest_test_data): New variable.
17600 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17601 (lrint_towardzero_test_data): New variable.
17602 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17603 (lrint_downward_test_data): New variable.
17604 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17605 (lrint_upward_test_data): New variable.
17606 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17607 (lround_test_data): New variable.
17608 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17609
39b1f617
PC
176102013-05-15 Peter Collingbourne <pcc@google.com>
17611
1deff3dc
PC
17612 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17613 (EXTRACT_WORDS64) Use where appropriate.
17614 (INSERT_WORDS64) Likewise.
17615
791f3ba0
PC
17616 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17617 constraints with x constraints.
17618 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17619
39b1f617
PC
17620 * malloc/obstack.c (_obstack_compat): Add initializer.
17621
12fba011
EM
176222013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17623
17624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17625 si_trapno and add si_addr_lsb to _sifields.sigfault.
17626 (si_trapno): Remove macro.
17627 (si_addr_lsb): Define new macro.
17628 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17629
d369f531
JM
176302013-05-15 Joseph Myers <joseph@codesourcery.com>
17631
b861c6c4
JM
17632 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17633 instead of TEST_f_l.
17634 (llrint_test_tonearest): Likewise.
17635 (llrint_test_towardzero): Likewise.
17636 (llrint_test_downward): Likewise.
17637 (llrint_test_upward): Likewise.
17638 (llround_test): Likewise.
17639
7abeee12
JM
17640 * math/libm-test.inc (struct test_f_i_data): Add comment.
17641 (RUN_TEST_LOOP_f_b): New macro.
17642 (RUN_TEST_LOOP_f_b_tg): Likewise.
17643 (finite_test_data): New variable.
17644 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17645 (isfinite_test_data): New variable.
17646 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17647 (isinf_test_data): New variable.
17648 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17649 (isnan_test_data): New variable.
17650 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17651 (isnormal_test_data): New variable.
17652 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17653 (issignaling_test_data): New variable.
17654 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17655 (signbit_test_data): New variable.
17656 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17657
cbe8c4d3
JM
17658 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17659 with INVALID_EXCEPTION.
17660 (acosh_test_data): Likewise.
17661 (asin_test_data): Likewise.
17662 (atanh_test_data): Likewise.
17663 (fmod_test_data): Likewise.
17664 (log_test_data): Likewise.
17665 (log10_test_data): Likewise.
17666 (log2_test_data): Likewise.
17667 (pow_test_data): Likewise.
17668 (sqrt_test_data): Likewise.
17669 (y0_test_data): Likewise.
17670 (y1_test_data): Likewise.
17671 (yn_test_data): Likewise.
17672
5575c0e5
JM
17673 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17674 function contents.
17675
d369f531
JM
17676 * math/libm-test.inc (struct test_ff_i_data): New type.
17677 (RUN_TEST_LOOP_ff_i_tg): New macro.
17678 (isgreater_test_data): New variable.
17679 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17680 (isgreaterequal_test_data): New variable.
17681 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17682 (isless_test_data): New variable.
17683 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17684 (islessequal_test_data): New variable.
17685 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17686 (islessgreater_test_data): New variable.
17687 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17688 (isunordered_test_data): New variable.
17689 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17690
781fd748
DM
176912013-05-14 David S. Miller <davem@davemloft.net>
17692
17693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17694
87aa21df
JM
176952013-05-14 Joseph Myers <joseph@codesourcery.com>
17696
5e908270
JM
17697 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17698
f71172e5
JM
17699 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17700 extra_test to int.
17701 (struct test_f_i_data): Change type of max_ulp to int.
17702
8cfa635a
JM
17703 * math/libm-test.inc (test_ffI_f1_data): New type.
17704 (RUN_TEST_LOOP_ffI_f1): New macro.
17705 (remquo_test_data): New variable.
17706 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17707
2bcb36b2
JM
17708 * setjmp/tst-setjmp-fp.c: New file.
17709 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17710 (link-libm): New variable.
17711 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17712
acbd839a
JM
17713 * math/libm-test.inc (struct test_f_i_data): New type.
17714 (RUN_TEST_LOOP_f_i): New macro.
17715 (RUN_TEST_LOOP_f_i_tg): Likewise.
17716 (fpclassify_test_data): New variable.
17717 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17718 (ilogb_test_data): New variable.
17719 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17720
e414d745
JM
17721 * math/libm-test.inc (scalbln_test): Correct function name in END
17722 call.
17723
d9c2a0fd
JM
17724 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17725 (RUN_TEST_LOOP_fI_f1): New macro.
17726 (frexp_test_data): New variable.
17727 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17728
9dc9095d
JM
17729 * math/libm-test.inc (struct test_fF_f1_data): New type.
17730 (RUN_TEST_LOOP_fF_f1): New macro.
17731 (modf_test_data): New variable.
17732 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17733
87aa21df
JM
17734 * math/libm-test.inc (struct test_f_f1_data): New type.
17735 (RUN_TEST_LOOP_f_f1): New macro.
17736 (gamma_test_data): New variable.
17737 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17738 (lgamma_test_data): New variable.
17739 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17740
141af660
CD
177412013-05-13 Carlos O'Donell <carlos@redhat.com>
17742
17743 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17744 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17745 (main): Comment "tls" pseudo-hwcap.
17746
6d33265c
JM
177472013-05-13 Joseph Myers <joseph@codesourcery.com>
17748
68fc074c
JM
17749 * math/libm-test.inc (struct test_fl_f_data): New type.
17750 (RUN_TEST_LOOP_fl_f): New variable.
17751 (scalbln_test_data): New variable.
17752 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17753
243216e1
JM
17754 * math/libm-test.inc (struct test_fi_f_data): New type.
17755 (RUN_TEST_LOOP_fi_f): New macro.
17756 (ldexp_test_data): New variable.
17757 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17758 (scalbn_test_data): New variable.
17759 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17760
6a1992e2
JM
17761 * math/libm-test.inc (struct test_c_f_data): New type.
17762 (RUN_TEST_LOOP_c_f): New macro.
17763 (cabs_test_data): New variable.
17764 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17765 (carg_test_data): New variable.
17766 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17767 (cimag_test_data): New variable.
17768 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17769 (creal_test_data): New variable.
17770 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17771
0e400df5
JM
17772 * math/libm-test.inc (struct test_if_f_data): New type.
17773 (RUN_TEST_LOOP_if_f): New macro.
17774 (jn_test_data): New variable.
17775 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17776 (yn_test_data): New variable.
17777 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17778
6d33265c
JM
17779 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17780
f98ece5f
AZ
177812013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17782
17783 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17784 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17785
0f7d347b
SP
177862013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17787
43fe811b
SP
17788 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17789 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17790 (bench-deps): Add bench-timing.h.
17791 * benchtests-bench-skeleton.c: Include bench-timing.h.
17792 (main): Use TIMING_* macros instead of clock_gettime.
17793 * benchtests/bench-timing.h: New file.
17794
0f7d347b
SP
17795 [BZ #14582]
17796 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17797 Renamed from _LIB_VERSION.
17798 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17799
601a3a5f
JM
178002013-05-12 Joseph Myers <joseph@codesourcery.com>
17801
4f184d30
JM
17802 * math/libm-test.inc (struct test_fff_f_data): New type.
17803 (RUN_TEST_LOOP_fff_f): New macro.
17804 (fma_test_data): New variable.
17805 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17806 (fma_towardzero_test_data): New variable.
17807 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17808 (fma_downward_test_data): New variable.
17809 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17810 (fma_upward_test_data): New variable.
17811 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17812
08198877
JM
17813 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17814 (struct test_c_c_data): New type.
17815 (RUN_TEST_LOOP_c_c): New macro.
17816 (cacos_test_data): New variable.
17817 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17818 (cacosh_test_data): New variable.
17819 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17820 (casin_test_data): New variable.
17821 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17822 (casinh_test_data): New variable.
17823 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17824 (catan_test_data): New variable.
17825 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17826 (catanh_test_data): New variable.
17827 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17828 (ccos_test_data): New variable.
17829 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17830 (ccosh_test_data): New variable.
17831 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17832 (cexp_test_data): New variable.
17833 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17834 (clog_test_data): New variable.
17835 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17836 (clog10_test_data): New variable.
17837 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17838 (conj_test_data): New variable.
17839 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17840 (cproj_test_data): New variable.
17841 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17842 (csin_test_data): New variable.
17843 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17844 (csinh_test_data): New variable.
17845 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17846 (csqrt_test_data): New variable.
17847 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17848 (ctan_test_data): New variable.
17849 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17850 (ctan_tonearest_test_data): New variable.
17851 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17852 (ctan_towardzero_test_data): New variable.
17853 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17854 (ctan_downward_test_data): New variable.
17855 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17856 (ctan_upward_test_data): New variable.
17857 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17858 (ctanh_test_data): New variable.
17859 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17860 (ctanh_tonearest_test_data): New variable.
17861 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17862 (ctanh_towardzero_test_data): New variable.
17863 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17864 (ctanh_downward_test_data): New variable.
17865 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17866 (ctanh_upward_test_data): New variable.
17867 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17868 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17869 of BUILD_COMPLEX.
17870
601a3a5f
JM
17871 * math/libm-test.inc (struct test_ff_f_data): New type.
17872 (struct test_ff_f_data_nexttoward): Likewise.
17873 (RUN_TEST_LOOP_2_f): New macro.
17874 (RUN_TEST_LOOP_ff_f): Likewise.
17875 (atan2_test_data): New variable.
17876 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17877 (copysign_test_data): New variable.
17878 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17879 (fdim_test_data): New variable.
17880 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17881 (fmax_test_data): New variable.
17882 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17883 (fmin_test_data): New variable.
17884 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17885 (fmod_test_data): New variable.
17886 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17887 (hypot_test_data): New variable.
17888 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17889 (nextafter_test_data): New variable.
17890 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17891 (nexttoward_test_data): New variable.
17892 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17893 (pow_test_data): New variable.
17894 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17895 (pow_tonearest_test_data): New variable.
17896 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17897 (pow_towardzero_test_data): New variable.
17898 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17899 (pow_downward_test_data): New variable.
17900 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17901 (pow_upward_test_data): New variable.
17902 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17903 (remainder_test_data): New variable.
17904 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17905 (scalb_test_data): New variable.
17906 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17907 * sysdeps/i386/fpu/libm-test-ulps: Update.
17908
74c57478
JM
179092013-05-11 Joseph Myers <joseph@codesourcery.com>
17910
8329e4da
JM
17911 * math/libm-test.inc (fma_test): Use max_value instead of local
17912 variable fltmax.
17913 (nextafter_test): Likewise.
17914
74c57478
JM
17915 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17916 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17917 (acos_downward_test_data): New variable.
17918 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17919 (acos_upward_test_data): New variable.
17920 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17921 (acosh_test_data): New variable.
17922 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17923 (asin_test_data): New variable.
17924 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17925 (asin_tonearest_test_data): New variable.
17926 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17927 (asin_towardzero_test_data): New variable.
17928 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17929 (asin_downward_test_data): New variable.
17930 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17931 (asin_upward_test_data): New variable.
17932 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17933 (asinh_test_data): New variable.
17934 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17935 (atan_test_data): New variable.
17936 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17937 (atanh_test_data): New variable.
17938 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17939 (cbrt_test_data): New variable.
17940 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17941 (ceil_test_data): New variable.
17942 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17943 (cos_test_data): New variable.
17944 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17945 (cos_tonearest_test_data): New variable.
17946 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17947 (cos_towardzero_test_data): New variable.
17948 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17949 (cos_downward_test_data): New variable.
17950 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17951 (cos_upward_test_data): New variable.
17952 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17953 (cosh_test_data): New variable.
17954 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17955 (cosh_tonearest_test_data): New variable.
17956 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17957 (cosh_towardzero_test_data): New variable.
17958 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17959 (cosh_downward_test_data): New variable.
17960 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17961 (cosh_upward_test_data): New variable.
17962 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17963 (erf_test_data): New variable.
17964 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17965 (erfc_test_data): New variable.
17966 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (exp_test_data): New variable.
17968 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17969 (exp_tonearest_test_data): New variable.
17970 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17971 (exp_towardzero_test_data): New variable.
17972 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17973 (exp_downward_test_data): New variable.
17974 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17975 (exp_upward_test_data): New variable.
17976 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17977 (exp10_test_data): New variable.
17978 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17979 (exp2_test_data): New variable.
17980 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17981 (expm1_test_data): New variable.
17982 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17983 (fabs_test_data): New variable.
17984 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17985 (floor_test_data): New variable.
17986 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17987 (j0_test_data): New variable.
17988 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17989 (j1_test_data): New variable.
17990 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (log_test_data): New variable.
17992 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17993 (log10_test_data): New variable.
17994 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17995 (log1p_test_data): New variable.
17996 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17997 (log2_test_data): New variable.
17998 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17999 (logb_test_data): New variable.
18000 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18001 (logb_downward_test_data): New variable.
18002 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18003 (nearbyint_test_data): New variable.
18004 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18005 (rint_test_data): New variable.
18006 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18007 (rint_tonearest_test_data): New variable.
18008 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18009 (rint_towardzero_test_data): New variable.
18010 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18011 (rint_downward_test_data): New variable.
18012 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18013 (rint_upward_test_data): New variable.
18014 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18015 (round_test_data): New variable.
18016 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18017 (sin_test_data): New variable.
18018 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18019 (sin_tonearest_test_data): New variable.
18020 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18021 (sin_towardzero_test_data): New variable.
18022 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18023 (sin_downward_test_data): New variable.
18024 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18025 (sin_upward_test_data): New variable.
18026 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18027 (sinh_test_data): New variable.
18028 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18029 (sinh_tonearest_test_data): New variable.
18030 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18031 (sinh_towardzero_test_data): New variable.
18032 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18033 (sinh_downward_test_data): New variable.
18034 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18035 (sinh_upward_test_data): New variable.
18036 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18037 (sqrt_test_data): New variable.
18038 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18039 (tan_test_data): New variable.
18040 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18041 (tan_tonearest_test_data): New variable.
18042 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18043 (tan_towardzero_test_data): New variable.
18044 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18045 (tan_downward_test_data): New variable.
18046 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18047 (tan_upward_test_data): New variable.
18048 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18049 (tanh_test_data): New variable.
18050 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18051 (tgamma_test_data): New variable.
18052 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18053 (trunc_test_data): New variable.
18054 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18055 (y0_test_data): New variable.
18056 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18057 (y1_test_data): New variable.
18058 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18059 (significand_test_data): New variable.
18060 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18061
7187d844
CG
180622013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18063
18064 [BZ #12387]
18065 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18066
f63fae73
PT
180672013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18068
18069 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18070
8a67a4b3
AJ
180712013-05-10 Andreas Jaeger <aj@suse.de>
18072
18073 [BZ #15448]
18074 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18075 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18076
51df539d
JM
180772013-05-10 Joseph Myers <joseph@codesourcery.com>
18078
18079 * math/gen-libm-test.pl (adjust_arg): New function.
18080 (special_functions): Handle generating output in both functions
18081 and arrays.
18082 (parse_args): Likewise.
18083 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18084 $in_func argument to parse_args.
18085 * math/libm-test.inc (struct test_f_f_data): New type.
18086 (IF_ROUND_INIT_): New macro.
18087 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18088 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18089 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18090 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18091 (ROUND_RESTORE_): Likewise.
18092 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18093 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18094 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18095 (ROUND_RESTORE_FE_UPWARD): Likewise.
18096 (RUN_TEST_LOOP_f_f): New macro.
18097 (acos_test_data): New variable.
18098 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18099 (acos_tonearest_test_data): New variable.
18100 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18101
5c637fe5
SP
181022013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18103
18104 * benchtests/bench-skeleton.c (startup): Fix coding style.
18105
ab2b9461
JM
181062013-05-10 Joseph Myers <joseph@codesourcery.com>
18107
18108 [BZ #6809]
18109 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18110 negative infinity argument.
18111 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18112 negative infinity argument.
18113 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18114 negative infinity argument.
18115 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18116 domain errors.
18117
4c0fe6fe
FW
181182013-05-10 Florian Weimer <fweimer@redhat.com>
18119
18120 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18121 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18122 * iconv/iconv_prog.c (main): Likewise.
18123 * locale/programs/charmap-dir.c (charmap_readdir)
18124 (fopen_uncompressed): Likewise.
18125 * locale/programs/locfile.c (siblings_uncached)
18126 (write_locale_data): Use lstat64 instead of lstat.
18127 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18128 stat.
18129
a3375d29
AJ
181302013-05-10 Andreas Jaeger <aj@suse.de>
18131
18132 [BZ #15395]
18133 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18134 localization.
18135 Include <locale.h>.
18136
36129722
CD
181372013-05-09 Carlos O'Donell <carlos@redhat.com>
18138
18139 * elf/dl-close.c (_dl_close_worker): Add comments.
18140
faa7f811
JM
181412013-05-09 Joseph Myers <joseph@codesourcery.com>
18142
ed41ffef
JM
18143 [BZ #15359]
18144 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18145 high part of pi/2.
18146 (__ieee754_rem_pio2l): Update comments.
18147
d0213cd0
JM
18148 [BZ #15429]
18149 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18150 high part of pi/2.
18151 (__ieee754_rem_pio2l): Update comments.
18152
0d3e777a
JM
18153 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18154 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18155
24f56066
JM
18156 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18157 M_PI_4l.
18158
faa7f811
JM
18159 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18160 (M_PI_34_LOG10El): Likewise.
18161 (M_PI2_LOG10El): Likewise.
18162 (M_PI4_LOG10El): Likewise.
18163 (M_PI_LOG10El): Likewise.
18164
e9a5e0fd
AZ
181652013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166
18167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18168
d8cd06db
JM
181692013-05-08 Joseph Myers <joseph@codesourcery.com>
18170
a0d9f9d7
JM
18171 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18172 (MINUS_ZERO_INIT): Likewise.
18173 (PLUS_INFTY_INIT): Likewise.
18174 (MINUS_INFTY_INIT): Likewise.
18175 (QNAN_VALUE_INIT): Likewise.
18176 (MAX_VALUE_INIT): Likewise.
18177 (MIN_VALUE_INIT): Likewise.
18178 (MIN_SUBNORM_VALUE_INIT): Likewise.
18179 (plus_zero): Initialize with PLUS_ZERO_INIT.
18180 (minus_zero): Initialize with MINUS_ZERO_INIT.
18181 (plus_infty): Initialize with PLUS_INFTY_INIT.
18182 (minus_infty): Initialize with MINUS_INFTY_INIT.
18183 (qnan_value): Initialize with QNAN_VALUE_INIT.
18184 (max_value): Initialize with MAX_VALUE_INIT.
18185 (min_value): Initialize with MIN_VALUE_INIT.
18186 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18187
ae08db3b
JM
18188 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18189 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18190 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18191 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18192
f44bf14a
JM
18193 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18194 (RUN_TEST_2_f): Likewise.
18195 (RUN_TEST_ff_f): Likewise.
18196 (RUN_TEST_fi_f): Likewise.
18197 (RUN_TEST_fl_f): Likewise.
18198 (RUN_TEST_fff_f): Likewise.
18199 (RUN_TEST_c_f): Likewise.
18200 (RUN_TEST_f_f1): Likewise.
18201 (RUN_TEST_fF_f1): Likewise.
18202 (RUN_TEST_fI_f1): Likewise.
18203 (RUN_TEST_ffI_f1): Likewise.
18204 (RUN_TEST_c_c): Likewise.
18205 (RUN_TEST_cc_c): Likewise.
18206 (RUN_TEST_f_i): Likewise.
18207 (RUN_TEST_f_i_tg): Likewise.
18208 (RUN_TEST_ff_i_tg): Likewise.
18209 (RUN_TEST_f_b): Likewise.
18210 (RUN_TEST_f_b_tg): Likewise.
18211 (RUN_TEST_f_l): Likewise.
18212 (RUN_TEST_f_L): Likewise.
18213 (RUN_TEST_sincos): Likewise.
18214 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18215 whether to show exceptions. Do not include ");\n" in return
18216 value.
18217 (special_functions): Output call to RUN_TEST_sincos instead of
18218 check_float calls. Update calls to new_test.
18219 (parse_args): Output call to single RUN_TEST_* macro instead of
18220 check_* calls and other assignments. Update calls to new_test.
18221
d8cd06db
JM
18222 [BZ #2546]
18223 [BZ #2560]
18224 [BZ #5159]
18225 [BZ #15426]
18226 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18227 input to result for tgamma overflow.
18228 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18229 (gamma_coeff): New variable.
18230 (NCOEFF): New macro.
18231 (gamma_positive): New function.
18232 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18233 underflow here. Use gamma_positive instead of exp (lgamma) for
18234 other arguments.
18235 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18236 (gamma_coeff): New variable.
18237 (NCOEFF): New macro.
18238 (gammaf_positive): New function.
18239 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18240 underflow here. Use gamma_positive instead of exp (lgamma) for
18241 other arguments.
18242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18243 (gamma_coeff): New variable.
18244 (NCOEFF): New macro.
18245 (gammal_positive): New function.
18246 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18247 underflow here. Use gamma_positive instead of exp (lgamma) for
18248 other arguments.
18249 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18250 (gamma_coeff): New variable.
18251 (NCOEFF): New macro.
18252 (gammal_positive): New function.
18253 (__ieee754_gammal_r): Handle positive infinity, overflow and
18254 underflow here. Handle NaN the same as positive infinity. Remove
18255 check x < 0xffffffff for negative integers. Use gamma_positive
18256 instead of exp (lgamma) for other arguments.
18257 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18258 (gamma_coeff): New variable.
18259 (NCOEFF): New macro.
18260 (gammal_positive): New function.
18261 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18262 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18267 * sysdeps/generic/math_private.h (__gamma_productf): New
18268 prototype.
18269 (__gamma_product): Likewise.
18270 (__gamma_productl): Likewise.
18271 * math/Makefile (libm-calls): Add gamma_product.
18272 * math/libm-test.inc (tgamma_test): Add more tests.
18273 * sysdeps/i386/fpu/libm-test-ulps: Update.
18274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18275
bb7cf681
OB
182762013-05-08 Ondřej Bílka <neleai@seznam.cz>
18277
18278 * benchtests/bench-skeleton.c (main): Preheat CPU.
18279
ba853947
AJ
182802013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18281
18282 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18283
8347c74c
RM
182842013-05-07 Roland McGrath <roland@hack.frob.com>
18285
18286 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18287 and _dl_skip_args_internal.
18288
e8dd4791
CD
182892013-05-07 Carlos O'Donell <carlos@redhat.com>
18290
18291 * manual/message.texi (Message Translation): Talk about users.
18292 Message to key mapping impacts design.
18293
c7405830
RM
182942013-05-06 Roland McGrath <roland@hack.frob.com>
18295
a9173057
RM
18296 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18297
976e2f03
RM
18298 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18299
9723ffc5
RM
18300 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18301 * sysdeps/wordsize-64/glob64.c: ... here.
18302
962e6658
RM
18303 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18304 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18305 New macros.
18306
ee586a6d
RM
18307 * debug/getlogin_r_chk.c: Moved to ...
18308 * login/getlogin_r_chk.c: ... here.
18309 * debug/Makefile (routines): Move getlogin_r_chk to ...
18310 * login/Makefile (routines): ... here.
18311 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18312 * login/Versions (libc: GLIBC_2.4): ... here.
18313
355f9165
RM
18314 * io/poll.c (__poll): Renamed from poll.
18315 Add libc_hidden_def.
18316 (poll): Define as weak alias.
18317
bd9ffde6
RM
18318 * debug/ptsname_r_chk.c: Moved to ...
18319 * login/ptsname_r_chk.c: ... here.
18320 * debug/Makefile (routines): Move ptsname_r_chk to ...
18321 * login/Makefile (routines): ... here.
18322 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18323 * login/Versions (libc: GLIBC_2.4): ... here.
18324
8fb16a04
RM
18325 * posix/getlogin.c: Moved to ...
18326 * login/getlogin.c: ... here.
18327 * posix/getlogin_r.c: Moved to ...
18328 * login/getlogin_r.c: ... here.
18329 * posix/getlogin_r.c: Moved to ...
18330 * login/getlogin_r.c: ... here.
18331 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18332 * login/Makefile (routines): ... here.
18333 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18334 * login/Versions (libc: GLIBC_2.0): ... here.
18335
b99b892f
RM
18336 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18337 (setrlimit): Define as weak alias.
18338
c7405830
RM
18339 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18340 Call __ names for open, ftruncate, and close.
18341 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18342 (truncate): Define as weak alias.
18343
5bf96de5
JM
183442013-05-06 Joseph Myers <joseph@codesourcery.com>
18345
9ea3513c
JM
18346 * math/gen-libm-test.pl (parse_args): Initialize x before each
18347 test of frexp, modf and remquo.
18348
5bf96de5
JM
18349 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18350 test signgam value.
18351
16e616a7
AZ
183522013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18353
18354 [BZ #15418]
18355 [BZ #15419]
18356 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18357 internal tests.
18358 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18359
d5e82754
RM
183602013-05-06 Roland McGrath <roland@hack.frob.com>
18361
18362 * elf/dl-writev.h: New file.
18363 * elf/dl-misc.c: Include it.
18364 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18365 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18366
a7548d41
JM
183672013-05-04 Joseph Myers <joseph@codesourcery.com>
18368
b7dab1e4
JM
18369 * math/libm-test.inc (noXFails): Remove variable.
18370 (noXPasses): Likewise.
18371 (BUILD_COMPLEX_INT): Remove macro.
18372 (print_screen): Remove xfail argument.
18373 (print_screen_max_error): Likewise.
18374 (update_stats): Likewise.
18375 (print_max_error): Likewise. Update calls to other affected
18376 functions.
18377 (print_complex_max_error): Likewise.
18378 (test_single_exception): Update calls to print_screen.
18379 (test_single_errno): Likewise.
18380 (check_float_internal): Remove xfail argument. Update calls to
18381 other affected functions.
18382 (check_float): Likewise.
18383 (check_complex): Likewise.
18384 (check_int): Likewise.
18385 (check_long): Likewise.
18386 (check_bool): Likewise.
18387 (check_longlong): Likewise.
18388 (main): Don't print noXFails and noXPasses.
18389 * math/gen-libm-test.pl (top level): Don't mention expected
18390 failure handling in comment.
18391 (new_test): Don't handle expected failures.
18392 (parse_args): Don't mention expected failure handling in comment.
18393 (generate_testfile): Don't handle expected failures.
18394 (parse_ulps): Likewise.
18395 (print_ulps_file): Likewise.
18396 (get_failure): Remove function.
18397 (output_test): Don't handle expected failures.
18398 * make/README.libm-test: Don't mention expected failure handling.
18399
a7548d41
JM
18400 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18401 (minus_zero): Likewise.
18402 (plus_infty): Likewise.
18403 (minus_infty): Likewise.
18404 (qnan_value): Likewise.
18405 (max_value): Likewise.
18406 (min_value): Likewise.
18407 (min_subnorm_value): Likewise.
18408 (initialize): Do not initialize those variables dynamically.
18409
60bfd54c
RM
184102013-05-03 Roland McGrath <roland@hack.frob.com>
18411
cc0e6ed8
RM
18412 * io/open.c (__open_2): Moved to ...
18413 * io/open_2.c: ... this new file.
18414 * io/open64.c (__open64_2): Moved to ...
18415 * io/open64_2.c: ... this new file.
18416 * io/openat.c (__openat_2): Moved to ...
18417 * io/openat_2.c: ... this new file.
18418 * io/openat64.c (__openat64_2): Moved to ...
18419 * io/openat64_2.c: ... this new file.
18420 * io/Makefile (routines): Add them.
18421 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18422 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18423 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18424 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18425 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18426 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18427 (__openat64): Add hidden_ver.
18428 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18429 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18430
60bfd54c
RM
18431 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18432 Separately conditionalize setting of GLRO(dl_sysinfo) so
18433 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18434 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18435
83e7640f
AZ
184362013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18437
18438 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18439 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18440 definition.
18441 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18442 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18443 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18444 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18445 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18446
d5dc2af3
JM
184472013-05-03 Joseph Myers <joseph@codesourcery.com>
18448
c31a5b1e
JM
18449 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18450 test signgam value.
18451
d5dc2af3
JM
18452 * math/libm-test.inc (hypot_test): Do not use
18453 IGNORE_ZERO_INF_SIGN.
18454
164fd39d
AJ
184552013-05-03 Andreas Jaeger <aj@suse.de>
18456
18457 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18458 Linux 3.9.
18459 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18460 (PF_MAX): Adjust for VSOCK change.
18461
8237f48c
AZ
184622013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18463
18464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18465
9df02941
CD
184662013-05-02 Carlos O'Donell <carlos@redhat.com>
18467
18468 [BZ #15264]
18469 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18470 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18471 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18472
d422395e
DM
184732013-05-02 David S. Miller <davem@davemloft.net>
18474
18475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18476
a07c5731
OB
184772013-05-01 Ondřej Bílka <neleai@seznam.cz>
18478
18479 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18480
1324e37f
RM
184812013-05-01 Roland McGrath <roland@hack.frob.com>
18482
18483 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18484
0695940b
RS
184852013-05-01 Richard Smith <richard@metafoo.co.uk>
18486
bb5f27ad 18487 [BZ #14952]
0695940b
RS
18488 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18489 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18490 Use __attribute__ ((__gnu_inline__)).
18491 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18492 Don't use __attribute__ ((__gnu_inline__)).
18493
10de07f5
JM
184942013-05-01 Joseph Myers <joseph@codesourcery.com>
18495
18496 [BZ #15423]
18497 * math/s_catan.c (__catan): Handle small real or imaginary part of
18498 input specially to avoid spurious underflow.
18499 * math/s_catanf.c (__catanf): Likewise.
18500 * math/s_catanh.c (__catanh): Likewise.
18501 * math/s_catanhf.c (__catanhf): Likewise.
18502 * math/s_catanhl.c (__catanhl): Likewise.
18503 * math/s_catanl.c (__catanl): Likewise.
18504 * math/libm-test.inc (catan_test): Add more tests.
18505 (catanh_test): Likewise.
18506 * sysdeps/i386/fpu/libm-test-ulps: Update.
18507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18508
cb4d5414
AZ
185092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18510
18511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18512
caf84319
JM
185132013-04-30 Joseph Myers <joseph@codesourcery.com>
18514
18515 [BZ #15416]
18516 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18517 accurately for denominator in atan2.
18518 * math/s_catanf.c (__catanf): Likewise.
18519 * math/s_catanh.c (__catanh): Likewise.
18520 * math/s_catanhf.c (__catanhf): Likewise.
18521 * math/s_catanhl.c (__catanhl): Likewise.
18522 * math/s_catanl.c (__catanl): Likewise.
18523 * math/libm-test.inc (catan_test): Add more tests.
18524 (catanh_test): Likewise.
18525 * sysdeps/i386/fpu/libm-test-ulps: Update.
18526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18527
d569c6ee
SP
185282013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18529
6dbe713d
SP
18530 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18531
f0ee064b
SP
18532 * benchtests/Makefile (bench): Remove slow benchmarks.
18533 * benchtests/atan-inputs: Add slow benchmark inputs.
18534 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18535 (BENCH_FUNC): Accept variant offset.
18536 (VARIANT): Define.
18537 * benchtests/bench-skeleton.c (main): Run benchmark for each
18538 variant.
18539 * benchtests/cos-inputs: Add slow benchmark inputs.
18540 * benchtests/exp-inputs: Likewise.
18541 * benchtests/pow-inputs: Likewise.
18542 * benchtests/sin-inputs: Likewise.
18543 * benchtests/slowatan-inputs: Remove.
18544 * benchtests/slowatan.c: Remove.
18545 * benchtests/slowcos-inputs: Remove.
18546 * benchtests/slowcos.c: Remove.
18547 * benchtests/slowexp-inputs: Remove.
18548 * benchtests/slowexp.c: Remove.
18549 * benchtests/slowpow-inputs: Remove.
18550 * benchtests/slowpow.c: Remove.
18551 * benchtests/slowsin-inputs: Remove.
18552 * benchtests/slowsin.c: Remove.
18553 * benchtests/slowtan-inputs: Remove.
18554 * benchtests/slowtan.c: Remove.
18555 * benchtests/tan-inputs: Add slow benchmark inputs.
18556 * scripts/bench.pl: Parse comments and directives.
18557
d569c6ee
SP
18558 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18559 in CPPFLAGS.
18560 ($(objpfx)bench-%.c): Remove *-ITER.
18561 * benchtests/bench-modf.c: Remove definition of ITER.
18562 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18563 (main): Loop for DURATION seconds instead of fixed number of
18564 iterations.
18565 * scripts/bench.pl: Don't expect iterations in parameters.
18566
a6a242fe
RM
185672013-04-29 Roland McGrath <roland@hack.frob.com>
18568
18569 * io/fchdir.c (__fchdir): Renamed from fchdir.
18570 (fchdir): Define as weak alias.
18571
f2da7793
JM
185722013-04-29 Joseph Myers <joseph@codesourcery.com>
18573
18574 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18575 (ERRNO_EDOM): Likewise.
18576 (ERRNO_ERANGE): Likewise.
18577 (noErrnoTests): New variable.
18578 (init_max_error): Set errno to 0.
18579 (test_single_errno): New function.
18580 (test_errno): Likewise.
18581 (check_float_internal): Call test_errno. Set errno to 0.
18582 (check_complex): Refer to errno tests in comment.
18583 (check_int): Call test_errno. Set errno to 0.
18584 (check_long): Likewise.
18585 (check_bool): Likewise.
18586 (check_longlong): Likewise.
18587 (cos_test): Use ERRNO_* flags for errno tests instead of
18588 check_int.
18589 (expm1_test): Likewise.
18590 (fmod_test): Likewise.
18591 (ilogb_test): Likewise.
18592 (lgamma_test): Likewise.
18593 (pow_test): Likewise.
18594 (remainder_test): Likewise.
18595 (sin_test): Likewise.
18596 (tan_test): Likewise.
18597 (yn_test): Likewise.
18598 (initialize): Set errno to 0.
18599 (main): Print number of errno tests.
18600 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18601
b1a36ceb
AJ
186022013-04-29 Andreas Jaeger <aj@suse.de>
18603
c3ed8088
AJ
18604 [BZ #15084]
18605 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18606 and RES_USEVC.
18607
f1a24198
AJ
18608 [BZ #15085]
18609 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18610 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18611 unimplemented.
18612
9ce3b2cb
AJ
18613 [BZ #15380]
18614 * stdlib/random.c (__initstate): Return NULL if
18615 __initstate fails.
18616
f1a24198 18617 [BZ #15086]
b1a36ceb
AJ
18618 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18619 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18620 RES_SNGLKUPREOP.
18621
7e7b6f36
AZ
186222013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18623
18624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18625
4d14f449
JM
186262013-04-29 Joseph Myers <joseph@codesourcery.com>
18627
18628 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18629 of individual tests.
18630 (casin_test): Likewise.
18631 (casinh_test): Likewise.
18632
5b4217d7
JM
186332013-04-27 Joseph Myers <joseph@codesourcery.com>
18634
18635 [BZ #15409]
18636 * math/s_catan.c (__catan): Handle arguments with large real or
18637 imaginary part separately without squaring.
18638 * math/s_catanf.c (__catanf): Likewise.
18639 * math/s_catanh.c (__catanh): Likewise.
18640 * math/s_catanhf.c (__catanhf): Likewise.
18641 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18642 and redefine.
18643 (__catanhl): Handle arguments with large real or imaginary part
18644 separately without squaring.
18645 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18646 and redefine.
18647 (__catanl): Handle arguments with large real or imaginary part
18648 separately without squaring.
18649 * math/libm-test.inc (catan_test): Add more tests.
18650 (catanh_test): Likewise.
18651 * sysdeps/i386/fpu/libm-test-ulps: Update.
18652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18653
4220c3ef
AJ
186542013-04-27 Andreas Jaeger <aj@suse.de>
18655
18656 [BZ #15007]
18657 * stdlib/stdlib.h: Update guards for qecvt.
18658 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18659 <stdlib.h>.
18660
4721b2d1
AM
186612013-04-27 Allan McRae <allan@archlinux.org>
18662
18663 * sysdeps/i386/fpu/libm-test-ulps: Update.
18664
f0302940
JM
186652013-04-26 Joseph Myers <joseph@codesourcery.com>
18666
9457fd95
JM
18667 [BZ #15406]
18668 * math/s_catan.c: Include <float.h>.
18669 (__catan): Ensure underflow exception occurs for underflowed
18670 result.
18671 * math/s_catanf.c: Include <float.h>.
18672 (__catanf): Ensure underflow exception occurs for underflowed
18673 result.
18674 * math/s_catanh.c: Include <float.h>.
18675 (__catanh): Ensure underflow exception occurs for underflowed
18676 result.
18677 * math/s_catanhf.c: Include <float.h>.
18678 (__catanhf): Ensure underflow exception occurs for underflowed
18679 result.
18680 * math/s_catanhl.c: Include <float.h>.
18681 (__catanhl): Ensure underflow exception occurs for underflowed
18682 result.
18683 * math/s_catanl.c: Include <float.h>.
18684 (__catanl): Ensure underflow exception occurs for underflowed
18685 result.
18686 * math/libm-test.inc (catan_test): Add more tests.
18687 (catanh_test): Likewise.
18688
f0302940
JM
18689 [BZ #15405]
18690 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18691 underflowed result.
18692 * math/s_ccoshf.c (__ccoshf): Likewise.
18693 * math/s_ccoshl.c (__ccoshl): Likewise.
18694 * math/s_csin.c (__csin): Likewise.
18695 * math/s_csinf.c (__csinf): Likewise.
18696 * math/s_csinh.c (__csinh): Likewise.
18697 * math/s_csinhf.c (__csinhf): Likewise.
18698 * math/s_csinhl.c (__csinhl): Likewise.
18699 * math/s_csinl.c (__csinl): Likewise.
18700 * math/libm-test.inc (ccos_test): Add more tests.
18701 (ccosh_test): Likewise.
18702 (csin_test): Likewise.
18703 (csinh_test): Likewise.
18704
aa630f59
AZ
187052013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18706
18707 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18708 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18709 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18710 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18711 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18712 powerpc/power5+/fpu folders.
18713 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18714
18715
1b835983
MT
187162013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18717
18718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18719
73709b26
JM
187202013-04-25 Joseph Myers <joseph@codesourcery.com>
18721
18722 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18723 additions to variable.
18724 [$(config-machine) = x86_64] (modules-names): Likewise.
18725 ($(objpfx)tst-audit3): Remove dependency.
18726 ($(objpfx)tst-audit3.out): Likewise.
18727 ($(objpfx)tst-audit4): Likewise.
18728 ($(objpfx)tst-audit4.out): Likewise.
18729 ($(objpfx)tst-audit5): Likewise.
18730 ($(objpfx)tst-audit5.out): Likewise.
18731 ($(objpfx)tst-audit6): Likewise.
18732 ($(objpfx)tst-audit6.out): Likewise.
18733 ($(objpfx)tst-audit7): Likewise.
18734 ($(objpfx)tst-audit7.out): Likewise.
18735 (tst-audit3-ENV): Remove variable.
18736 (tst-audit4-ENV): Likewise.
18737 (tst-audit5-ENV): Likewise.
18738 (tst-audit6-ENV): Likewise.
18739 (tst-audit7-ENV): Likewise.
18740 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18741 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18742 addition to variable.
18743 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18744 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18745 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18747 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18748 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18749 tst-audit3, tst-audit4 and tst-audit5.
18750 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18751 tst-audit6 and tst-audit7.
18752 [$(subdir) = elf] (modules-names): Add audit modules for those
18753 tests.
18754 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18755 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18756 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18757 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18758 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18759 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18760 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18761 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18762 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18763 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18764 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18765 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18766 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18767 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18768 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18769 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18770 Likewise.
18771 [$(subdir) = elf && $(config-cflags-avx) = yes]
18772 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18773 [$(subdir) = elf && $(config-cflags-avx) = yes]
18774 (CFLAGS-tst-auditmod4a.c): Likewise.
18775 [$(subdir) = elf && $(config-cflags-avx) = yes]
18776 (CFLAGS-tst-auditmod4b.c): Likewise.
18777 [$(subdir) = elf && $(config-cflags-avx) = yes]
18778 (CFLAGS-tst-auditmod6b.c): Likewise.
18779 [$(subdir) = elf && $(config-cflags-avx) = yes]
18780 (CFLAGS-tst-auditmod6c.c): Likewise.
18781 [$(subdir) = elf && $(config-cflags-avx) = yes]
18782 (CFLAGS-tst-auditmod7b.c): Likewise.
18783 * elf/tst-audit3.c: Move to ...
18784 * sysdeps/x86_64/tst-audit3.c: ... here.
18785 * elf/tst-audit4.c: Move to ...
18786 * sysdeps/x86_64/tst-audit4.c: ... here.
18787 * elf/tst-audit5.c: Move to ...
18788 * sysdeps/x86_64/tst-audit5.c: ... here.
18789 * elf/tst-audit6.c: Move to ...
18790 * sysdeps/x86_64/tst-audit6.c: ... here.
18791 * elf/tst-audit7.c: Move to ...
18792 * sysdeps/x86_64/tst-audit7.c: ... here.
18793 * elf/tst-auditmod3a.c: Move to ...
18794 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18795 * elf/tst-auditmod3b.c: Move to ...
18796 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18797 * elf/tst-auditmod4a.c: Move to ...
18798 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18799 * elf/tst-auditmod4b.c: Move to ...
18800 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18801 * elf/tst-auditmod5a.c: Move to ...
18802 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18803 * elf/tst-auditmod5b.c: Move to ...
18804 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18805 * elf/tst-auditmod6a.c: Move to ...
18806 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18807 * elf/tst-auditmod6b.c: Move to ...
18808 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18809 * elf/tst-auditmod6c.c: Move to ...
18810 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18811 * elf/tst-auditmod7a.c: Move to ...
18812 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18813 * elf/tst-auditmod7b.c: Move to ...
18814 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18815
1ef74943
PP
188162013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18817
18818 [BZ #15366]
18819 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18820 define unconditionally.
18821 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18822 define unconditionally.
18823 (INT8_C, INT16_C, etc.): Likewise.
18824
93fd48c5
MR
188252013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18826
ae9552cf
MR
18827 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18828 __ehdr_start with hidden visibility.
18829
93fd48c5
MR
18830 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18831
418601aa
CD
188322013-04-24 Carlos O'Donell <carlos@redhat.com>
18833
18834 * math/libm-test.inc (cos_test): Use accurate hex constants.
18835 (sincost_test): Likewise.
18836
2f38fbfe
JM
188372013-04-24 Joseph Myers <joseph@codesourcery.com>
18838
5e221800
JM
18839 * math/libm-test.inc (catan_test): Add more tests.
18840 (catanh_test): Likewise.
18841
77f143fd
JM
18842 * math/s_catanf.c (__catanf): Use suffixed floating-point
18843 constants.
18844 * math/s_catanhf.c (__catanhf): Likewise.
18845 * math/s_catanhl.c (__catanhl): Likewise.
18846 * math/s_catanl.c (__catanl): Likewise.
18847
2f38fbfe
JM
18848 [BZ #15394]
18849 * math/s_catan.c (__catan): Calculate imaginary part of result
18850 with log1p not log unless computing log of number close to 0.
18851 * math/s_catanf.c (__catanf): Likewise.
18852 * math/s_catanl.c (__catanl): Likewise.
18853 * math/s_catanh.c (__catanh): Calculate real part of result with
18854 log1p not log unless computing log of number close to 0.
18855 * math/s_catanhf.c (__catanhf): Likewise.
18856 * math/s_catanhl.c (__catanhl): Likewise.
18857 * math/libm-test.inc (catan_test): Add more tests.
18858 (catanh_test): Likewise.
18859 * sysdeps/i386/fpu/libm-test-ulps: Update.
18860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18861
45d69176
SP
188622013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18863
18864 * benchtests/Makefile: Mention files in which fast and slow
18865 paths of math functions are implemented.
18866
87f51853
RM
188672013-04-23 Roland McGrath <roland@hack.frob.com>
18868
18869 * sysdeps/posix/timespec_get.c: New file.
18870
3c026539
AZ
188712013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18872
18873 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18874 POWER.
18875 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18876 for POWER.
18877 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18878 powerpc/power5/fpu folders.
18879 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18880 * benchtests/Makefile: Add modf testcase.
18881 * benchtests/bench-modf.c: New file: Benchmark test for mo
18882
ff491d14
SP
188832013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18884
18885 [BZ #14888]
18886 * time/Makefile (tests): Add tst-strptime-whitespace.
18887 * time/strptime_l.c (get_number): Use ISSPACE.
18888 (__strptime_internal): Likewise.
18889 * time/tst-strptime-whitespace.c: New test case.
18890
7ed3f4e8
AS
188912013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18892
18893 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18894 member.
18895 (_nss_files_init): Set it here.
18896
5c95f7b6
HC
188972013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18898
18899 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18900 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18901 unsigned.
18902
d34c9158
JBG
189032013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18904
18905 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18906
2169712d
SP
189072013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18908
18909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18910 size just once.
18911
29c5de99
DM
189122013-04-21 David S. Miller <davem@davemloft.net>
18913
18914 * po/ru.po: Update Russion translation from translation project.
18915
ccdad15d
AC
189162013-04-17 Adam Conrad <adconrad@0c3.net>
18917
18918 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18919 and setfsgid.
18920
0f122b8d
CD
189212013-04-17 Carlos O'Donell <carlos@redhat.com>
18922
5c5b07da 18923 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18924 * configure: Regenerate.
5c5b07da 18925 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18926 Add example to error message.
18927 * sysdeps/i386/configure: Regenerate.
18928
037714dd
SP
189292013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18930
18931 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18932 slowtan.
18933 * benchtests/cos-inputs: New file.
18934 * benchtests/slowcos-inputs: New file.
18935 * benchtests/slowcos.c: New file.
18936 * benchtests/slowtan-inputs: New file.
18937 * benchtests/slowtan.c: New file.
18938 * benchtests/tan-inputs: New file.
18939
e913141d
RM
189402013-04-16 Roland McGrath <roland@hack.frob.com>
18941
18942 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18943 considered kosher.
18944
a2964074
SP
189452013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18946
4856bcd2
SP
18947 * benchtests/Makefile: Include cppflags-iterator.mk to add
18948 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18949
a2964074
SP
18950 * Makefile.in (bench-clean): New target.
18951 * benchtests/Makefile (bench-clean): Likewise.
18952
9fbf9aca
DH
189532013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18954
18955 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18956
207d1e2a
TS
189572013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18958
18959 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18960
306dfba9
AS
189612013-04-15 Andreas Schwab <schwab@suse.de>
18962
18963 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18964 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18965 * nscd/pwdcache.c (cache_addpw): Likewise.
18966 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18967 more than recsize.
18968
206a6699
SP
189692013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18970
18971 * benchtests/Makefile (bench): Write all output to
18972 bench-out.tmp together.
18973
0582f6b3
AS
189742013-04-15 Andreas Schwab <schwab@suse.de>
18975
18976 * nscd/nscd.c (main): Don't fork again after closing files.
18977
acb4325f
SP
189782013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18979
5cb26d0a
SP
18980 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18981
acb4325f
SP
18982 * benchtests/Rules (bench-deps): Collect dependencies into a
18983 single variable. Add Makefile to dependencies.
18984 ($(objpfx)bench-%.c): Depend on bench-deps.
18985
47792506
RM
189862013-04-12 Roland McGrath <roland@hack.frob.com>
18987 Xavier Roche <roche+kml2@exalead.com>
18988
18989 [BZ #15361]
18990 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18991 just that it's a file descriptor.
18992 * manual/llio.texi (Synchronizing AIO Operations): Update description
18993 for EBADF error from aio_fsync.
18994
8fc1bee5
SP
189952013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18996
18997 * Rules (bench): Move target definition...
18998 * benchtests/Makefile: ... here.
18999
aba5e333
CD
190002013-04-11 Carlos O'Donell <carlos@redhat.com>
19001
19002 * math/libm-test.inc (cos_test): Fix PI/2 test.
19003 (sincos_test): Likewise.
19004 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19005 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19006
273cdee8
AS
190072013-04-11 Andreas Schwab <schwab@suse.de>
19008
6ecec3b6
AS
19009 [BZ #13988]
19010 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19011 accept exponent character only when digits were seen.
19012 * stdio-common/Makefile (tests): Add bug26.
19013 * stdio-common/bug26.c: New file.
19014
273cdee8
AS
19015 [BZ #14293]
19016 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19017 non-freeable.
19018
8da491f5
SP
190192013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
01dc6df9
SP
19021 * Makeconfig (rtld-prefix): Define built linker prefix.
19022 * Rules (run-bench): Use it.
19023 * math/Makefile (run-regen-ulps): Likewise.
19024
8da491f5
SP
19025 * Rules (bench): Remove eval.
19026
abe7f530
SP
190272013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19028 Roland McGrath <roland@hack.frob.com>
19029 Ondrej Bilka <neleai@seznam.cz>
19030
19031 [BZ #15346]
19032 * time/getdate.c: Include ctype.h and alloca.h.
19033 (__getdate_r): Trim leading and trailing spaces of input.
19034 * time/tst-getdate.c (tests): Add tests with leading and
19035 trailing spaces.
19036
61c23e62
RM
190372013-04-08 Roland McGrath <roland@hack.frob.com>
19038
19039 [BZ #14280]
19040 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19041 when computing value.
19042
7208a313
CD
190432013-04-06 Carlos O'Donell <carlos@redhat.com>
19044
085b2d41
CD
19045 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19046 Use testrun.sh to run libm tests.
19047
7208a313
CD
19048 [BZ #15309]
19049 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19050
872c0acd
MM
190512013-04-06 Marko Myllynen <myllynen@redhat.com>
19052
19053 [BZ #15264]
19054 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19055
26510bdd
CD
190562013-04-06 Carlos O'Donell <carlos@redhat.com>
19057
19058 * Makefile.in (regen-ulps): New target.
19059 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19060 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19061 [ifneq (no,$(PERL)] (regen-ulps): New target.
19062 [ifeq (no,$(PERL)] (regen-ulps): New target.
19063 * math/libm-test.inc (ulps_file_name): Define.
19064 (output_dir): New variable.
19065 (options): Add "output-dir" option.
19066 (parse_opt): Handle 'o' case.
19067 (main): If output_dir is non-NULL use it as a prefix
19068 otherwise use "".
19069 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19070
a01f19c8
CD
190712013-04-06 Carlos O'Donell <carlos@redhat.com>
19072
19073 [BZ #10060, #10062]
19074 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19075 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19076 fail configure if __sync_val_compare_and_swap is not inlined.
19077 * sysdeps/i386/configure: Regenerate.
19078 * configure.in: Build for i686 when configured for i386.
19079 * configure: Regenerate.
19080 * README: Remove i386 reference.
19081
b7a329a5
CD
190822013-04-06 Carlos O'Donell <carlos@redhat.com>
19083
19084 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19086
bf0f50df
TS
190872013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19088
ee091edf
TS
19089 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19090 (lmsnanval): New variables.
19091 (F): Add conversion tests.
19092 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19093 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19094
a8b792d6
TS
19095 * stdio-common/tstdiomisc.c (F): Properly collect individual
19096 tests' results.
19097
a1cbf437
TS
19098 [BZ #14686, #15336]
19099 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19100 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19101 Instead, use input NaN values or generate a qNaN by arithmetic
19102 operation. Also fix bugs to comply with the standard.
19103 * math/libm-test.inc (remainder_test): Add more tests.
19104
8b43a0c9
TS
19105 [BZ #15335, #15342]
19106 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19108 input NaN values or generate a qNaN by arithmetic operation.
19109
d91da4ce
TS
19110 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19111 unreachable code.
19112
bf0f50df
TS
19113 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19114 definitions.
19115
05e166c8
JM
191162013-04-03 Joseph Myers <joseph@codesourcery.com>
19117
19118 [BZ #14478]
19119 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19120 underflowed result.
19121 * math/s_cexpf.c (__cexpf): Likewise.
19122 * math/s_cexpl.c (__cexpl): Likewise.
19123 * math/libm-test.inc (cexp_test): Add more tests.
19124
1cef1b19
AS
191252013-04-03 Andreas Schwab <schwab@suse.de>
19126
19127 [BZ #15330]
19128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19129 order arrays from heap if bigger than alloca cutoff.
19130
74d87055
TS
191312013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19132
19133 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19134 (SNAN_TESTS_double): Refer to GCC PR56831.
19135 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19136 GCC PR56828.
19137
d755bba4
SP
191382013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19139
90d5d5bb
SP
19140 * Rules (bench): Move bench.out after the run is complete.
19141
73e0cd5d
SP
19142 * Rules (bench): Echo currently running benchmark.
19143
64aabd4b
SP
19144 * benchtests/Makefile (bench): Add atan and slowatan.
19145 * benchtests/atan-inputs: New file.
19146 * benchtests/slowatan-inputs: New file.
19147 * benchtests/slowatan.c: New file.
19148
c871eccd
SP
19149 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19150 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19151 its value.
19152
d755bba4
SP
19153 [BZ #15305]
19154 * sysdeps/unix/sysv/linux/kernel-features.h
19155 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19156 __ASSUME_XFS_RESTRICTED_CHOWN.
19157 * sysdeps/unix/sysv/linux/pathconf.c
19158 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19159 Save and restore errno.
19160
52ce4860
JM
191612013-04-02 Joseph Myers <joseph@codesourcery.com>
19162
19163 [BZ #15327]
19164 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19165 arguments using __kernel_casinh.
19166 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19167 arguments using __kernel_casinhf.
19168 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19169 arguments using __kernel_casinhl.
19170 * math/libm-test.inc (cacosh_test): Add more tests.
19171 * sysdeps/i386/fpu/libm-test-ulps: Update.
19172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19173
81f311c2
SP
191742013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19175
e7906a47
SP
19176 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19178
92e3664b
SP
19179 * bench/Makefile (bench): Add sin and slowsin.
19180 * benchtests/sin-inputs: New file.
19181 * benchtests/slowsin-inputs: New file.
19182 * benchtests/slowsin.c: New file.
19183
81f311c2
SP
19184 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19185 (bench): Add slowexp and slowpow.
19186 (exp-ITER): Increase iterations.
19187 (pow-ITER): Likewise.
19188 * benchtests/exp-inputs: Change input.
19189 * benchtests/pow-inputs: Likewise.
19190 * benchtests/slowexp-inputs: New file.
19191 * benchtests/slowexp.c: New file.
19192 * benchtests/slowpow-inputs: New file.
19193 * benchtests/slowpow.c: New file.
19194
ab0f1aa9
AZ
191952013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19196
19197 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19198 instructions.
19199 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19200 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19201 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19202 * benchtests/Makefile: Add rint benchtest.
19203 * benchtests/rint-inputs: Input for rint benchtest.
19204
57267616
TS
192052013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19206
19207 * Versions.def (libm): Add GLIBC_2.18.
19208 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19209 hidden libm prototypes.
19210 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19211 * math/Makefile (libm-calls): Add s_issignaling.
19212 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19213 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19214 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19215 declaration.
19216 * math/math.h [__USE_GNU] (issignaling): New macro.
19217 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19218 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19220 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19223 * manual/arith.texi (issignaling): New section.
19224 * manual/libm-err-tab.pl (@all_functions): Update comment.
19225 * math/gen-libm-test.pl (parse_args): Apply special handling for
19226 issignaling.
19227 * math/libm-test.inc (print_float, issignaling_test): New
19228 functions.
19229 (check_float_internal): Add issignaling checks.
19230 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19231 default definition.
19232 * sysdeps/powerpc/math-tests.h: New file.
19233 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19234 tests.
19235 * math/test-snan.c (TEST_FUNC): Likewise.
19236
6142896d
DM
192372013-03-30 David S. Miller <davem@davemloft.net>
19238
19239 * po/de.po: Update from translation team.
19240
ccc8cadf
JM
192412013-03-30 Joseph Myers <joseph@codesourcery.com>
19242
19243 [BZ #10357]
19244 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19245 imaginary part less than 1.0 and real part less than 0.5
19246 specially.
19247 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19248 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19249 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19250 (cacos_test): Add more tests.
19251 (casin_test): Likewise.
19252 (casinh_test): Likewise.
19253 * sysdeps/i386/fpu/libm-test-ulps: Update.
19254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19255
0f6a8d4b
SP
192562013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19257
0d1029de
SP
19258 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19259 ONE with its value.
19260
c2d94018
SP
19261 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19262 (__pow_mp): Replace ONE and MONE with their values.
19263 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19264 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19265 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19266 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19267 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19268 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19269
27ec37f1
SP
19270 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19271
a64d7e0e
SP
19272 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19273 (__pow_mp): Replace ZERO and MZERO with their values.
19274 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19276 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19278 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19279 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19280 (__sqr): Likewise.
19281
d26dd3eb
SP
19282 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19283
0f6a8d4b
SP
19284 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19285
e57b0c61
RM
192862013-03-28 Roland McGrath <roland@hack.frob.com>
19287
19288 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19289 Declare with __attribute__ ((weak)).
19290 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19291 Call __call_tls_dtors only if it's not NULL.
19292
356b3480
RM
192932013-03-28 Roland McGrath <roland@hack.frob.com>
19294
288f7d79
RM
19295 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19296 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19297 magic __ehdr_start linker symbol if it's defined.
19298 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19299 them up here if it was already done.
19300
dc0a0263
RM
19301 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19302 (_dl_aux_init): Use const in cast when setting it.
19303 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19304 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19305 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19306
3d3436ae
RM
19307 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19308 Declare them here.
19309 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19310 * csu/libc-tls.c: Nor here.
19311 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19312
356b3480
RM
19313 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19314 (__libc_message): Never call vsyslog.
19315
b0f1246a
AM
193162013-03-28 Alan Modra <amodra@gmail.com>
19317
19318 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19319 Define as empty.
19320 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19321 Likewise.
19322
fbbe2b9a
AZ
193232013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19324
19325 [BZ #15214]
19326 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19327 underflow.
19328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19329
1728ab37
SP
193302013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19331
7a86be6e
SP
19332 [BZ #15304]
19333 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19334 Don't add gid passed as argument.
19335
1728ab37
SP
19336 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19337
3a7182a1
JM
193382013-03-27 Joseph Myers <joseph@codesourcery.com>
19339
19340 [BZ #15307]
19341 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19342 imaginary part between 1.0 and 1.5 and real part less than 0.5
19343 specially.
19344 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19345 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19346 * math/libm-test.inc (cacos_test): Add more tests.
19347 (casin_test): Likewise.
19348 (casinh_test): Likewise.
19349 * sysdeps/i386/fpu/libm-test-ulps: Update.
19350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19351
6f2e90e7
SP
193522013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19353
5739f705
SP
19354 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19355 constants.
19356 (norm): Likewise.
19357 (denorm): Likewise.
19358 (__dbl_mp): Likewise.
19359 (add_magnitudes): Likewise.
19360 (sub_magnitudes): Likewise.
19361 (__add): Likewise.
19362 (__sub): Likewise.
19363 (__mul): Likewise.
19364 (__sqr): Likewise.
19365 (__inv): Likewise.
19366 (__dvd): Likewise.
19367
e375e83d
SP
19368 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19369 commented code.
19370 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19371 (__dubcos): Likewise.
19372 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19373 (__ieee754_acos): Likewise.
19374 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19375 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19376 (__exp1): Likewise.
19377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19379 (log1): Likewise.
19380 (my_log2): Likewise.
19381 (checkint): Likewise.
19382 * sysdeps/ieee754/dbl-64/e_remainder.c
19383 (__ieee754_remainder): Likewise.
19384 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19385 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19386 (bsloww): Likewise.
19387 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19388
6f2e90e7
SP
19389 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19390 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19391 MANTISSA_STORE_T to store computations on mantissa. Use
19392 macros for rounding and division.
19393 (denorm): Likewise.
19394 (__dbl_mp): Likewise.
19395 (add_magnitudes): Likewise.
19396 (sub_magnitudes): Likewise.
19397 (__mul): Likewise.
19398 (__sqr): Likewise.
19399 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19400 powers of two in terms of TWOPOW macro.
19401 (mp_no): Make type of mantissa as MANTISSA_T.
19402 [!RADIXI]: Define RADIXI.
19403 [!TWO52]: Define TWO52.
19404 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19405
fce14d4e
AZ
194062013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19407
19408 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19409 llroundl symbol when building for PPC32.
19410
9ad027fb
MW
194112013-03-24 Mark H Weaver <mhw@netris.org>
19412
19413 * manual/arith.texi (Normalization Functions): Fix prototypes for
19414 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19415
e42a38dd
AZ
194162013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19417
19418 [BZ #13889]
19419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19420 high value to check if expl overflow.
19421 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19422 to check for underflow and overflow.
19423 * math/libm-test.inc: Add exp test.
19424
2e0fb521
DL
194252013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19426
19427 [BZ #11120]
19428 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19429 with NOT_IN_libc.
19430
b5784d95
AZ
194312013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19432
19433 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19434 symbol.
19435
5aa4a1a1
TS
194362013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19437
bdef0be7
TS
19438 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19439 wrap blocks consisting of several statements.
19440
5aa4a1a1
TS
19441 * sysdeps/generic/math-tests.h: New file.
19442 * sysdeps/i386/fpu/math-tests.h: Likewise.
19443 * math/test-snan.c: Include it.
19444 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19445
98c48fe5
JM
194462013-03-21 Joseph Myers <joseph@codesourcery.com>
19447
19448 [BZ #15285]
19449 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19450 (__ieee754_j0l): Do not improve calculations using cos of twice
19451 input for inputs above LDBL_MAX / 2.0L.
19452 (__ieee754_y0l): Likewise.
19453 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19454 (__ieee754_j1l): Do not improve calculations using cos of twice
19455 input for inputs above LDBL_MAX / 2.0L.
19456 (__ieee754_y1l): Likewise.
19457 * math/libm-test.inc (j0_test): Add another test.
19458 (j1_test): Likewise.
19459 (y0_test): Likewise.
19460 (y1_test): Likewise.
19461 * sysdeps/i386/fpu/libm-test-ulps: Update.
19462
3775a8bc
SP
194632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19464
19465 * Rules ($(objpfx)bench-%.c): Include code from a C source
19466 file.
19467
0a1b2ae6
JM
194682013-03-21 Joseph Myers <joseph@codesourcery.com>
19469
19470 [BZ #15287]
19471 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19472 imaginary part 1.0 and real part less than 0.5 specially.
19473 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19474 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19475 * math/libm-test.inc (cacos_test): Add more tests.
19476 (casin_test): Likewise.
19477 (casinh_test): Likewise.
19478 * sysdeps/i386/fpu/libm-test-ulps: Update.
19479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19480
b33d4ce4
SP
194812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19482
19483 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19484 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19485
bef0b507
JM
194862013-03-20 Joseph Myers <joseph@codesourcery.com>
19487
19488 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19489 * config.make.in (config-cflags-sse4): Remove variable.
19490 (config-cflags-avx): Likewise.
19491 (config-cflags-sse2avx): Likewise.
19492 (config-cflags-novzeroupper): Likewise.
19493 (config-asflags-i686): Likewise.
19494 (have-mfma4): Likewise.
19495 (have-as-vis3): Likewise.
19496 (MIG): Likewise.
19497 * configure.in (MIG): Do not AC_SUBST.
19498 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19499 (libc_cv_cc_sse4): Do not AC_SUBST.
19500 (libc_cv_cc_avx): Likewise.
19501 (libc_cv_cc_sse2avx): Likewise.
19502 (libc_cv_cc_novzeroupper): Likewise.
19503 (libc_cv_cc_fma4): Likewise.
19504 (libc_cv_as_i686): Likewise.
19505 (libc_cv_sparc_as_vis3): Likewise.
19506 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19507 LIBC_CONFIG_VAR.
19508 (config-asflags-i686): Likewise.
19509 (config-cflags-avx): Likewise.
19510 (config-cflags-sse2avx): Likewise.
19511 (have-mfma4): Likewise.
19512 (config-cflags-novzeroupper): Likewise.
19513 * sysdeps/mach/configure.in (MIG): Likewise.
19514 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19515 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19516 LIBC_CONFIG_VAR.
19517 (config-cflags-avx): Likewise.
19518 (config-cflags-sse2avx): Likewise.
19519 (have-mfma4): Likewise.
19520 (config-cflags-novzeroupper): Likewise.
19521 * configure: Regenerated.
19522 * sysdeps/i386/configure: Likewise.
19523 * sysdeps/mach/configure: Likewise.
19524 * sysdeps/sparc/configure: Likewise.
19525 * sysdeps/x86_64/configure: Likewise.
19526
912cc4b3
RM
195272013-03-20 Roland McGrath <roland@hack.frob.com>
19528
19529 [BZ #14812]
19530 * locale/programs/localedef.c (options): Put N_ translation marker
19531 on argument names, not just descriptions.
19532
04eed2b0
MS
195332013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19534
19535 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19536
a065ceff
OB
195372013-03-20 Ondřej Bílka <neleai@seznam.cz>
19538
9bb2a810 19539 [BZ #14176]
a065ceff
OB
19540 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19541
a600e5ce
RM
195422013-03-19 Roland McGrath <roland@hack.frob.com>
19543
19544 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19545 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19546 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19547 [!BEFORE_ABORT] (before_abort): New function.
19548 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19549 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19550 (writev_for_fatal): New function.
19551 (WRITEV_FOR_FATAL): New macro; call that.
19552 (backtrace_and_maps): New function.
19553 (BEFORE_ABORT): New macro; call that.
19554 (struct str_list): Type removed.
19555 (__libc_message, __libc_fatal): Functions removed.
19556 Include <sysdeps/posix/libc_fatal.c> instead.
19557
6b18bea6
JM
195582013-03-19 Joseph Myers <joseph@codesourcery.com>
19559
19560 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19561 constants.
19562 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19563 double constants.
19564
aaa8cb4b
AS
195652013-03-19 Andreas Schwab <schwab@suse.de>
19566
44673770
AS
19567 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19568 * sysdeps/gnu/configure: Regenerate.
19569
aaa8cb4b
AS
19570 * configure.in: Substitute libc_cv_rtlddir.
19571 * configure: Regenerate.
19572 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19573 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19574 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19575 * elf/Makefile (install-others, CFLAGS-interp.c)
19576 (ldso_install, common-ldd-rewrite): Likewise.
19577 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19578 $(inst_slibdir)/$(rtld-installed-name).
19579 * scripts/rellns-sh: Add -p option.
19580 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19581 for source.
19582
d3cfc668
SP
195832013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19584
19585 * manual/nptl.texi: Renamed to ...
19586 * manual/threads.texi: ... this.
19587 * manual/Makefile (chapters): Update.
19588
0e2b9cdd
RM
195892013-03-18 Roland McGrath <roland@hack.frob.com>
19590
19591 [BZ #14812]
19592 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19593 on argument names, not just descriptions.
0e2b9cdd
RM
19594 * malloc/memusagestat.c (options): Likewise.
19595 * nss/getent.c (options): Likewise.
63270c24
RM
19596
195972013-03-18 Benno Schulenberg <bensberg@justemail.net>
19598
19599 [BZ #14812]
19600 * iconv/iconv_prog.c (options): Put N_ translation marker
19601 on argument names, not just descriptions.
19602 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19603
b2e1393c
OB
196042013-03-18 Ondrej Bilka <neleai@seznam.cz>
19605
19606 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19607 implementation which is faster on all x86_64 architectures.
19608 Tested on AMD, Intel Nehalem, SNB, IVB.
19609 * sysdeps/x86_64/strnlen.S: Likewise.
19610
19611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19612 Remove all multiarch strlen and strnlen versions.
19613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19614 Remove strlen and strnlen related parts.
19615
19616 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19617 Inline strlen part.
19618 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19619
19620 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19621 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19622 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19623 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19624 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19625 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19626
ec4ff04d
CD
196272013-03-17 Carlos O'Donell <carlos@redhat.com>
19628
19629 * manual/memory.texi (Malloc Tunable Parameters):
19630 Sort parameters alphabetically. Add comments for missing entries.
19631
cd18e90a
DM
196322013-03-17 David S. Miller <davem@davemloft.net>
19633
19634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19635
2a185d32
JM
196362013-03-16 Joseph Myers <joseph@codesourcery.com>
19637
d2f9799e
JM
19638 [BZ #15283]
19639 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19640 for arguments at most half maximum finite value.
19641 * math/libm-test.inc (j0_test): Add more tests.
19642 (j1_test): Likewise.
19643 (y0_test): Likewise.
19644 (y1_test): Likewise.
19645 * sysdeps/i386/fpu/libm-test-ulps: Update.
19646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19647
2a185d32
JM
19648 [BZ #14155]
19649 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19650 1 / x and functions P and Q for arguments above 0x1p256L.
19651 (__ieee754_y0l): Likewise.
19652 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19653 (__ieee754_y1l): Likewise.
19654 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19655 (j1_test): Likewise.
19656 (y0_test): Likewise.
19657 (y1_test): Likewise.
19658
6cbec759
TS
196592013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19660
19661 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19662 variable.
19663
bc16e260
RM
196642013-03-15 Roland McGrath <roland@hack.frob.com>
19665
aefc9b8c
RM
19666 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19667 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19668 zero since it's initialized to EXEC_PAGESIZE.
19669
bc16e260
RM
19670 * sysdeps/unix/sysv/linux/ldsodefs.h
19671 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19672 * sysdeps/generic/ldsodefs.h: ... here.
19673
a57da955
TS
196742013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19675
af00a34d
TS
19676 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19677
495ded2c
TS
19678 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19679 math/test-snan.c.
19680 * math/test-snan.c: Renamed from
19681 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19682 * math/Makefile (tests): Add test-snan.
19683 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19684 test-powerpc-snan.
19685
777b0332
TS
19686 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19687 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19688 functions.
19689 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19690 __builtin_nan family of functions.
19691 * math/libm-test.inc (initialize): Initialize qnan_value with
19692 __builtin_nan family of functions.
19693 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19694 Remove variables.
19695 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19696 Remove functions.
19697 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19698 storage class. Initialize qNaN_var and sNaN_var with
19699 __builtin_nan and __builtin_nans families of functions,
19700 respectively.
19701
64d063b8
TS
19702 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19703 (sqrt_test): Remove duplicate test with qNaN input.
19704 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19705 (round_test, signbit_test, significand_test): Note missing +/-Inf
19706 as well as qNaN tests.
19707
67e971f1
TS
19708 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19709 qNaN_var. Fix a few strings, too.
19710 * math/libm-test.inc (nan_value): Rename to qnan_value.
19711 * math/gen-libm-test.pl (%beautify): Adjust to that.
19712 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19713 * math/test-misc.c (main): Likewise.
19714 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19715 to __qnan_bytes, and __qnan_union, respectively.
19716 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19717 Likewise.
19718 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19719 and lqnanval, respectively.
19720 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19721 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19722 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19723 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19724
64487e12
TS
19725 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19726 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19727 doubles.
19728
e015e27b
TS
19729 * math/test-misc.c (main): Fix copy'n'pastos.
19730 * misc/tst-efgcvt.c (special): Likewise.
19731
a57da955
TS
19732 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19733 Remove declarations.
19734
1e380345
SP
197352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19736
19737 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19738 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19739 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19740 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19741
ef26eece
AZ
197422013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19743
19744 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19745 macro to return vdso values correctly in IFUNC implementations.
19746 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19747 Optimization by using IFUNC.
19748
8cfdb7e0
SP
197492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19750 Richard Henderson <rth@redhat.com>
19751 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19752
19753 * Makefile.in (bench): New target.
19754 * NEWS: Mention the benchmark framework.
19755 * Rules (bench): Likewise.
19756 (binaries-bench): Generate binaries for functions to
19757 benchmark.
19758 * benchtests/Makefile: New makefile for benchmark tests.
19759 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19760 programs.
19761 * benchtests/exp-inputs: New input file for EXP function.
19762 * benchtests/pow-inputs: New input file for POW function.
19763 * scripts/bench.pl: New script to generate source files for
19764 benchmark programs.
19765
bcda9880
SP
197662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19767
d22ca8cd
SP
19768 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19769 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19770 computations on mantissa. Use macros for rounding and
19771 division.
19772 (denorm): Likewise.
19773 (__dbl_mp): Likewise.
19774 (add_magnitudes): Likewise.
19775 (sub_magnitudes): Likewise.
19776 (__mul): Likewise.
19777 (__sqr): Likewise.
19778 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19779 powers of two in terms of TWOPOW macro.
19780 (mp_no): Make type of mantissa as MANTISSA_T.
19781 [!RADIXI]: Define RADIXI.
19782 [!TWO52]: Define TWO52.
19783 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19784
bcda9880
SP
19785 * manual/nptl.texi (cindex): Modify threads to pthreads.
19786
06d5adfb
JM
197872013-03-15 Joseph Myers <joseph@codesourcery.com>
19788
19789 * sysdeps/x86_64/preconfigure: Regenerated.
19790
41c7328e
JM
197912013-03-14 Joseph Myers <joseph@codesourcery.com>
19792
19793 [BZ #14155]
19794 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19795 0x1p28 and above.
19796 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19797 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19798 0x1p28 and above.
19799 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19800 * math/libm-test.inc (j0_test): Do not allow one spurious
19801 underflow exception.
19802 (y1_test): Likewise.
19803
e25cfa60
SP
198042013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19805
0409959c
SP
19806 * manual/Makefile (chapters): Add nptl.
19807 * manual/debug.texi (Debugging Support): Add link to Threads
19808 chapter.
19809 * manual/nptl.texi: New file.
19810
e25cfa60
SP
19811 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19812
58a1335e
PB
198132013-03-14 Petr Baudis <pasky@ucw.cz>
19814
19815 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19816 for non-NULL pointer before the memory validity test. Pointed
19817 out by Holger Brunck <holger.brunck@keymile.com>.
19818
9dc7c64f
AS
198192013-03-13 Andreas Schwab <schwab@suse.de>
19820
19821 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19822 instead of .os.
19823
54206aa6
JM
198242013-03-13 Joseph Myers <joseph@codesourcery.com>
19825
19826 * timezone/zic.c: Update from tzcode 2013b.
19827
e98cdb38
CD
198282013-03-12 Carlos O'Donell <carlos@redhat.com>
19829
19830 * manual/install.texi (Configuring and compiling):
19831 Mention i686 and i586.
19832 * INSTALL: Regenerate.
19833
9967e003
RM
198342013-03-12 Roland McGrath <roland@hack.frob.com>
19835
19836 * sysdeps/init_array/elf-init.c: New file.
19837 * csu/elf-init.c
19838 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19839 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19840
19841 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19842 __gmon_start__ as global, but as static with a .preinit_array pointer.
19843 * sysdeps/init_array/gmon-start.c: New file. Use that.
19844 * sysdeps/init_array/crti.S: New file, empty except for comments.
19845 * sysdeps/init_array/crtn.S: Likewise.
19846
e6b5a293 198472013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19848
19849 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19850 definining bcopy.
80f844c9
OB
19851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19852 Remove Prefer_SSE_for_memop.
19853 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19854 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19855 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19857 memset-x86-64.
80f844c9 19858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19859 Remove bzero, memset ifunc support.
80f844c9
OB
19860 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19861 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19862 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19863 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19864
fb6b0fcb
AS
198652013-03-11 Andreas Schwab <schwab@suse.de>
19866
19867 [BZ #15234]
19868 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19869 by SHLIB_COMPAT.
19870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19871 (GLIBC_2.16): Remove pthread_atfork.
19872
3e6bd4b1
PP
198732013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19874
19875 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19876 (ptestcases.h): Likewise.
19877
222d7f00
RM
198782013-03-08 Roland McGrath <roland@hack.frob.com>
19879
19880 * Makeconfig ($(common-objpfx)config.status): Depend on
19881 sysdeps/*/preconfigure{,.in} too.
19882
1ba4f030
JM
198832013-03-08 Joseph Myers <joseph@codesourcery.com>
19884
a222d91a
JM
19885 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19886 (__free_hook): Use void * instead of __malloc_ptr_t.
19887 (__malloc_hook): Likewise.
19888 (__realloc_hook): Likewise.
19889 (__memalign_hook): Likewise.
19890 (__after_morecore_hook): Likewise.
19891 * malloc/arena.c (save_malloc_hook): Likewise.
19892 (save_free_hook): Likewise.
19893 * malloc/hooks.c (malloc_hook_ini): Likewise.
19894 (realloc_hook_ini): Likewise.
19895 (memalign_hook_ini): Likewise.
19896 * malloc/malloc.c (malloc_hook_ini): Likewise.
19897 (realloc_hook_ini): Likewise.
19898 (memalign_hook_ini): Likewise.
19899 (__free_hook): Likewise.
19900 (__malloc_hook): Likewise.
19901 (__realloc_hook): Likewise.
19902 (__memalign_hook): Likewise.
19903 (__libc_malloc): Likewise.
19904 (__libc_free): Likewise.
19905 (__libc_realloc): Likewise.
19906 (__libc_memalign): Likewise.
19907 (__libc_valloc): Likewise.
19908 (__libc_pvalloc): Likewise.
19909 (__libc_calloc): Likewise.
19910 (__posix_memalign): Likewise.
19911 * malloc/morecore.c (__sbrk): Likewise.
19912 (__default_morecore): Likewise.
19913
5cc45e10
JM
19914 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19915
dd54b864
JM
19916 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19917 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19918 __malloc_ptrdiff_t.
19919
1ba4f030
JM
19920 * malloc/malloc.h (__malloc_size_t): Remove macro.
19921 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19922 __malloc_size_t.
19923 (old_memalign_hook): Likewise.
19924 (old_realloc_hook): Likewise.
19925 (struct hdr): Likewise.
19926 (flood): Likewise.
19927 (mallochook): Likewise.
19928 (memalignhook): Likewise.
19929 (reallochook): Likewise.
19930 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19931 (tr_old_realloc_hook): Likewise.
19932 (tr_old_memalign_hook): Likewise.
19933 (tr_mallochook): Likewise.
19934 (tr_reallochook): Likewise.
19935 (tr_memalignhook): Likewise.
19936
edf66e57
AZ
199372013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19938
19939 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19940 default_ldbl_pack and using as default implementation.
19941 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19942 implementation.
19943 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19944 redundant definition.
19945 (ldbl_insert_mantissa): Likewise.
19946 (ldbl_canonicalize): Likewise.
19947 (ldbl_nearbyint): Likewise.
19948 (ldbl_pack): Rename to ldbl_pack_ppc.
19949 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19950 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19951 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19952
6d9145d8
SP
199532013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19954
19955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19956 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19957 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19958 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19960 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19961 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19962 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19963
4dd4e157
AJ
199642013-03-07 Andreas Jaeger <aj@suse.de>
19965
19966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19967 bits/mman-linux.h.
19968
adbb8027
SP
199692013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19970
ce544b5b
SP
19971 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19972 Include mpa.h and declare __MPEXP.
19973 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19974 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19975 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19977 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19978 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19979 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19980
4cc149fd
SP
19981 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19982 (__slowpow): Use long double EXPL and LOGL functions to
19983 compute POW.
19984 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19985 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19986 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19987 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19988 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19989 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19990
e6ebd4a7
SP
19991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19992 intermediate variable to calculate exponent.
19993 (__sqr): Likewise.
19994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19995 Likewise.
19996 (__sqr): Likewise.
19997
82a9811d
SP
19998 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19999 [!NO__SQR]: Define __sqr.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20001 and NO__SQR. Remove all code except __mul and __sqr. Include
20002 sysdeps/ieee754/dbl-64/mpa.c.
20003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20004
adbb8027
SP
20005 [BZ #12723]
20006 * posix/Makefile (tests): Add tst-pathconf.
20007 * posix/tst-pathconf.c: New test case.
20008 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20009 _PC_PIPE_BUF.
20010 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20011
39120df9
PF
200122013-03-06 Patsy Franklin <pfrankli@redhat.com>
20013
20014 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20015
67525cb8
AJ
200162013-03-06 Andreas Jaeger <aj@suse.de>
20017
664a9ce4
AJ
20018 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20019 definition via __MAP_ANONYMOUS.
20020
8e39047d
AJ
20021 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20022 it's not part of Linux headers.
20023
67525cb8
AJ
20024 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20025 (MAP_HUGE_MASK): Define.
20026
20027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20028 Define.
20029 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20031 Define.
20032 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20033 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20034 Define.
20035 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20037 Define.
20038 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20039
20040 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20041 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20042 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20043 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20044 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20045 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20046
20047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20048 Handle f2fs.
20049
20050 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20051 Handle f2fs and efivarfs.
20052
20053 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20054 f2fs.
20055
20056 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20057 (EFIVARFS_MAGIC): Add.
20058 (F2FS_LINK_MAX): Add.
20059
e1b42695
PP
200602013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20061
20062 * stdio-common/vfprintf.c: Replace __builtin_expect with
20063 __glibc_unlikely.
20064
2d67d91a
JM
200652013-03-06 Joseph Myers <joseph@codesourcery.com>
20066
20067 [BZ #13550]
20068 * sysdeps/generic/bp-sym.h: Remove file.
20069 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20070 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20071 <bp-sym.h> and <bp-asm.h>.
20072 (__longjmp): Don't use BP_SYM.
20073 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20074 and <bp-asm.h>.
20075 (memcpy): Don't use BP_SYM.
20076 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20077 <bp-sym.h> and <bp-asm.h>.
20078 (memcpy): Don't use BP_SYM.
20079 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20080 <bp-asm.h>.
20081 (memcpy): Don't use BP_SYM.
20082 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20083 <bp-asm.h>.
20084 (memset): Don't use BP_SYM.
20085 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20086 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20087 (__bzero): Don't use BP_SYM.
20088 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20089 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20090 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20091 <bp-sym.h> and <bp-asm.h>.
20092 (memcmp): Don't use BP_SYM. Remove comment about bounded
20093 pointers.
20094 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20095 <bp-sym.h> and <bp-asm.h>.
20096 (memcpy): Don't use BP_SYM.
20097 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20098 <bp-sym.h> and <bp-asm.h>.
20099 (memset): Don't use BP_SYM.
20100 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20101 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20102 (__bzero): Don't use BP_SYM.
20103 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20104 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20105 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20106 <bp-sym.h> and <bp-asm.h>.
20107 (strncmp): Don't use BP_SYM. Remove comment about bounded
20108 pointers.
20109 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20110 <bp-sym.h> and <bp-asm.h>.
20111 (memcpy): Don't use BP_SYM.
20112 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20113 <bp-sym.h> and <bp-asm.h>.
20114 (memset): Don't use BP_SYM.
20115 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20116 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20117 (__bzero): Don't use BP_SYM.
20118 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20119 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20120 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20121 <bp-sym.h> and <bp-asm.h>.
20122 (__memchr): Don't use BP_SYM.
20123 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20124 <bp-sym.h> and <bp-asm.h>.
20125 (memcmp): Don't use BP_SYM. Remove comment about bounded
20126 pointers.
20127 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20128 <bp-sym.h> and <bp-asm.h>.
20129 (memcpy): Don't use BP_SYM.
20130 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20131 <bp-sym.h> and <bp-asm.h>.
20132 (__mempcpy): Don't use BP_SYM.
20133 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20134 <bp-sym.h> and <bp-asm.h>.
20135 (__memrchr): Don't use BP_SYM.
20136 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20137 <bp-sym.h> and <bp-asm.h>.
20138 (memset): Don't use BP_SYM.
20139 (__bzero): Likewise.
20140 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20141 <bp-sym.h> and <bp-asm.h>.
20142 (__rawmemchr): Don't use BP_SYM.
20143 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20144 <bp-sym.h> and <bp-asm.h>.
20145 (__STRCMP): Don't use BP_SYM.
20146 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20147 <bp-sym.h> and <bp-asm.h>.
20148 (strchr): Don't use BP_SYM.
20149 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20150 <bp-sym.h> and <bp-asm.h>.
20151 (__strchrnul): Don't use BP_SYM.
20152 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20153 <bp-sym.h> and <bp-asm.h>.
20154 (strlen): Don't use BP_SYM.
20155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20156 <bp-sym.h> and <bp-asm.h>.
20157 (strncmp): Don't use BP_SYM. Remove comment about bounded
20158 pointers.
20159 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20160 <bp-sym.h> and <bp-asm.h>.
20161 (__strnlen): Don't use BP_SYM.
20162 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20163 <bp-sym.h> and <bp-asm.h>.
20164 (__GI__setjmp): Don't use BP_SYM.
20165 (_setjmp): Likewise.
20166 (__sigsetjmp): Likewise.
20167 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20168 (L(start_addresses)): Don't use BP_SYM.
20169 (_start): Likewise.
20170 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20171 <bp-asm.h>.
20172 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20173 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20174 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20175 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20176 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20177 <bp-asm.h>.
20178 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20179 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20180 about bounded pointers.
20181 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20182 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20183 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20184 <bp-asm.h>.
20185 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20186 about bounded pointers. Remove GKM FIXME comments.
20187 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20188 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20189 <bp-asm.h>.
20190 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20191 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20192 Remove GKM FIXME comments.
20193 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20194 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20195 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20196 <bp-asm.h>.
20197 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20198 about bounded pointers. Remove GKM FIXME comment.
20199 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20200 and <bp-asm.h>.
20201 (strncmp): Don't use BP_SYM. Remove comment about bounded
20202 pointers.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20204 <bp-sym.h> and <bp-asm.h>.
20205 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20207 <bp-sym.h> and <bp-asm.h>.
20208 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20209 comment.
20210
cdcf361f
PP
202112013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20212
20213 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20214 call free(NULL).
20215
3c4a2b15
DM
202162013-03-05 David S. Miller <davem@davemloft.net>
20217
20218 * po/es.po: Update from translation team.
20219
cdcf361f 202202013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
20221
20222 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20223 <bits/mman-linux.h>.
20224 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20225 is fine.
20226 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20227 <bits/mman-linux.h> to end of file.
20228 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20229 is fine.
20230 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20231 <bits/mman-linux.h> to end of file.
20232 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20233 is fine.
20234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20235 <bits/mman-linux.h> to end of file.
20236
20237 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20238 (MCL_CURRENT, MCL_FUTURE): Define here.
20239
5f67c04f
AK
202402013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20241
8a4473cc 20242 [BZ #15232]
5f67c04f
AK
20243 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20244 attribute_hidden.
20245 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20246
c3e94a95
AK
202472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20248
20249 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20250 fourth parameter needed for rt_sigprocmask syscall.
20251 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20252 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20253 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20254 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20255 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20256 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20257
cfb6382a
JM
202582013-03-04 Joseph Myers <joseph@codesourcery.com>
20259
20260 [BZ #13550]
20261 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20262 comment about bounded pointers.
20263 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20264 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20265
539d8e01
AJ
202662013-03-04 Andreas Jaeger <aj@suse.de>
20267
20268 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20269 common definitions.
20270
20271 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20272 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20273 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20274 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20275 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
20276 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20277
2e167a70 202782013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
20279
20280 [BZ #15055]
20281 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20282 __ieee754_sqrl instead of __sqrl.
20283
68508633
JM
202842013-03-01 Joseph Myers <joseph@codesourcery.com>
20285
20286 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20287 * sysdeps/powerpc/fpu_control.h: ... here.
20288 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20289 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20290 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20291 * sysdeps/powerpc/bits/mathinline.h: ... here.
20292
7775448e
RM
202932013-03-01 Roland McGrath <roland@hack.frob.com>
20294
20295 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20296 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20297 to just [NEED_DL_SYSINFO_DSO].
20298 * elf/dl-support.c: Likewise.
20299 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20300 * elf/rtld.c (dl_main): Likewise.
20301 * elf/setup-vdso.h (setup_vdso): Likewise.
20302 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20303 * sysdeps/unix/sysv/linux/dl-sysdep.c
20304 (_dl_discover_osversion): Likewise.
20305
4e9b5995
CD
203062013-03-01 Carlos O'Donell <carlos@redhat.com>
20307
20308 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20309 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20310
e23872c8
SP
203112013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20312
e5c74c63
SP
20313 * NEWS: Mention libm performance improvements and non-x86 PI
20314 futex support.
20315
e23872c8
SP
20316 * csu/libc-start.c (__pthread_initialize_minimal): Change
20317 function arguments.
20318 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20319
b5510883
JM
203202013-02-28 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #13550]
20323 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20324 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20325 <bp-sym.h> and <bp-asm.h>.
20326 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20327 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20328 and <bp-asm.h>.
20329 (memcpy): Don't use BP_SYM.
20330 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20331 <bp-asm.h>.
20332 (__mpn_add_n): Don't use BP_SYM.
20333 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20334 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20335 and <bp-asm.h>.
20336 (__mpn_addmul_1): Don't use BP_SYM.
20337 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20338 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20339 <bp-sym.h>.
20340 (_setjmp): Don't use BP_SYM.
20341 (__novmx_setjmp): Likewise.
20342 (__GI__setjmp): Likewise.
20343 (__vmx_setjmp): Likewise.
20344 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20345 <bp-sym.h>.
20346 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20347 (__bzero): Don't use BP_SYM.
20348 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20349 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20350 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20351 <bp-sym.h> and <bp-asm.h>.
20352 (memcpy): Don't use BP_SYM.
20353 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20354 <bp-sym.h> and <bp-asm.h>.
20355 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20356 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20357 <bp-sym.h> and <bp-asm.h>.
20358 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20359 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20360 <bp-asm.h>.
20361 (__mpn_lshift): Don't use BP_SYM.
20362 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20363 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20364 <bp-asm.h>.
20365 (memset): Don't use BP_SYM.
20366 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20367 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20368 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20369 <bp-asm.h>.
20370 (__mpn_mul_1): Don't use BP_SYM.
20371 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20372 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20373 <bp-sym.h> and <bp-asm.h>.
20374 (memcmp): Don't use BP_SYM.
20375 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20376 <bp-sym.h> and <bp-asm.h>.
20377 (memcpy): Don't use BP_SYM.
20378 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20379 <bp-sym.h> and <bp-asm.h>.
20380 (memset): Don't use BP_SYM.
20381 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20382 <bp-sym.h> and <bp-asm.h>.
20383 (strncmp): Don't use BP_SYM.
20384 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20385 <bp-sym.h> and <bp-asm.h>.
20386 (memcpy): Don't use BP_SYM.
20387 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20388 <bp-sym.h> and <bp-asm.h>.
20389 (memset): Don't use BP_SYM.
20390 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20391 <bp-sym.h> and <bp-asm.h>.
20392 (__memchr): Don't use BP_SYM.
20393 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20394 <bp-sym.h> and <bp-asm.h>.
20395 (memcmp): Don't use BP_SYM.
20396 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20397 <bp-sym.h> and <bp-asm.h>.
20398 (memcpy): Don't use BP_SYM.
20399 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20400 <bp-sym.h> and <bp-asm.h>.
20401 (__mempcpy): Don't use BP_SYM.
20402 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20403 <bp-sym.h> and <bp-asm.h>.
20404 (__memrchr): Don't use BP_SYM.
20405 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20406 <bp-sym.h> and <bp-asm.h>.
20407 (memset): Don't use BP_SYM.
20408 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20409 <bp-sym.h> and <bp-asm.h>.
20410 (__rawmemchr): Don't use BP_SYM.
20411 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20412 <bp-sym.h> and <bp-asm.h>.
20413 (__STRCMP): Don't use BP_SYM.
20414 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20415 <bp-sym.h> and <bp-asm.h>.
20416 (strchr): Don't use BP_SYM.
20417 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20418 <bp-sym.h> and <bp-asm.h>.
20419 (__strchrnul): Don't use BP_SYM.
20420 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20421 <bp-sym.h> and <bp-asm.h>.
20422 (strlen): Don't use BP_SYM.
20423 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20424 <bp-sym.h> and <bp-asm.h>.
20425 (strncmp): Don't use BP_SYM.
20426 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20427 <bp-sym.h> and <bp-asm.h>.
20428 (__strnlen): Don't use BP_SYM.
20429 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20430 <bp-asm.h>.
20431 (__mpn_rshift): Don't use BP_SYM.
20432 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20433 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20434 <bp-sym.h> and <bp-asm.h>.
20435 (__sigsetjmp): Don't use BP_SYM.
20436 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20437 (L(start_addresses)): Don't use BP_SYM.
20438 (_start): Likewise.
20439 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20440 <bp-asm.h>.
20441 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20442 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20443 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20444 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20445 <bp-asm.h>.
20446 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20447 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20448 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20449 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20450 <bp-asm.h>.
20451 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20452 comments.
20453 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20454 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20455 <bp-asm.h>.
20456 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20457 FIXME comments.
20458 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20459 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20460 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20461 <bp-asm.h>.
20462 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20463 comment.
20464 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20465 and <bp-asm.h>.
20466 (strncmp): Don't use BP_SYM,
20467 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20468 <bp-asm.h>.
20469 (__mpn_sub_n): Don't use BP_SYM.
20470 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20471 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20472 and <bp-asm.h>.
20473 (__mpn_submul_1): Don't use BP_SYM.
20474 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20476 <bp-sym.h> and <bp-asm.h>.
20477 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20479 <bp-sym.h> and <bp-asm.h>.
20480 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20481 comment.
20482
8d19fe64
SP
204832013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20484
20485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20486 Use ZK to minimize writes to Z.
20487 (sub_magnitudes): Simplify code a bit.
20488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20489 Use ZK to minimize writes to Z.
20490 (sub_magnitudes): Simplify code a bit.
20491
85bd816a
RM
204922013-02-27 Roland McGrath <roland@hack.frob.com>
20493
20494 * csu/gmon-start.c: Add special exception to license text.
20495
b5977bf2
RH
204962013-02-27 Richard Henderson <rth@redhat.com>
20497
20498 * scripts/config.guess: Update from config.git.
20499 * scripts/config.sub: Likewise.
20500
11d6e2f2
SP
205012013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20502
09c14ed2
SP
20503 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20504
a688864e
SP
20505 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20506
6295157a
SP
20507 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20508
b8de2202
SP
20509 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20510
11d6e2f2
SP
20511 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20512
7e80ddb8
RM
205132013-02-26 Roland McGrath <roland@hack.frob.com>
20514
20515 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20516 [$(build-shared = yes].
7e80ddb8 20517
7da6d9ed
SP
205182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20519
45f05884
SP
20520 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20521 (__mul): Reduce iterations for calculating mantissa.
20522
2236d359
SP
20523 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20524 MPTWO.
20525 (__mpranred): Likewise.
20526
7da6d9ed
SP
20527 [BZ #15160]
20528 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20529 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20530
b7688c42
PE
205312013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20532
20533 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20534 Define __attribute__.
20535
53a5c423
SP
205362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20537
20538 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20539 unused.
20540 * posix/regex_internal.h (__attribute): Remove.
20541 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20542 (re_string_context_at): Likewise.
20543 (bitset_not): Use __attribute__ and mark function as possibly
20544 unused.
20545 (bitset_merge): Likewise.
20546 (bitset_mask): Likewise.
20547 (re_string_char_size_at): Likewise.
20548 (re_string_wchar_at): Likewise.
20549 (re_string_elem_size_at): Likewise.
20550
60f5a8b5
SP
205512013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20552
2a983a2e
SP
20553 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20554 code.
20555 (cc32): Likewise.
20556
e69804d1
SP
20557 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20558 (__acr): Likewise.
20559 (__cpy): Likewise.
20560 (norm): Likewise.
20561 (denorm): Likewise.
20562 (__dbl_mp): Likewise.
20563 (add_magnitudes): Likewise.
20564 (sub_magnitudes): Likewise.
20565 (__mul): Likewise.
20566 (__inv): Likewise.
20567
2f22a1e8
SP
20568 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20569 style.
20570
8930ddc7
SP
20571 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20572 style.
20573
dc60cb11
SP
20574 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20575 code.
20576
60f5a8b5
SP
20577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20578 up changes with default code.
20579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20580 Likewise.
20581
b4d1fd33
AM
205822013-02-24 Allan McRae <allan@archlinux.org>
20583
faf6f8bc
AM
20584 * manual/socket.texi (The Internet Namespace): Order menu items
20585 to match that in the file.
20586
b4d1fd33
AM
20587 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20588 node listing of the info page menu.
20589
2366713d
JM
205902013-02-21 Joseph Myers <joseph@codesourcery.com>
20591
20592 [BZ #13550]
20593 * sysdeps/i386/bp-asm.h: Remove file.
20594 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20595 (PARMS): Do not use macros from bp-asm.h.
20596 (S1): Likewise.
20597 (S2): Likewise.
20598 (SIZE): Likewise.
20599 (__mpn_add_n): Do not use BP_SYM
20600 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20601 "bp-asm.h".
20602 (PARMS): Do not use macros from bp-asm.h.
20603 (S1): Likewise.
20604 (SIZE): Likewise.
20605 (__mpn_addmul_1): Do not use BP_SYM
20606 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20607 "bp-asm.h".
20608 (PARMS): Do not use macros from bp-asm.h.
20609 (SIGMSK): Likewise.
20610 (_setjmp): Likewise. Do not use BP_SYM.
20611 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20612 "bp-asm.h".
20613 (PARMS): Do not use macros from bp-asm.h.
20614 (SIGMSK): Likewise.
20615 (setjmp): Likewise. Do not use BP_SYM.
20616 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20617 "bp-asm.h".
20618 (PARMS): Do not use macros from bp-asm.h.
20619 (__frexp): Do not use BP_SYM.
20620 (frexp): Likewise.
20621 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20622 "bp-asm.h".
20623 (PARMS): Do not use macros from bp-asm.h.
20624 (__frexpf): Do not use BP_SYM.
20625 (frexpf): Likewise.
20626 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20627 "bp-asm.h".
20628 (PARMS): Do not use macros from bp-asm.h.
20629 (__frexpl): Do not use BP_SYM.
20630 (frexpl): Likewise.
20631 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20632 "bp-asm.h".
20633 (PARMS): Do not use macros from bp-asm.h.
20634 (__remquo): Do not use BP_SYM.
20635 (remquo): Likewise.
20636 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20637 "bp-asm.h".
20638 (PARMS): Do not use macros from bp-asm.h.
20639 (__remquof): Do not use BP_SYM.
20640 (remquof): Likewise.
20641 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20642 "bp-asm.h".
20643 (PARMS): Do not use macros from bp-asm.h.
20644 (__remquol): Do not use BP_SYM.
20645 (remquol): Likewise.
20646 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20647 "bp-asm.h".
20648 (PARMS): Do not use macros from bp-asm.h.
20649 (DEST): Likewise.
20650 (SRC): Likewise.
20651 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20652 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20653 "bp-asm.h".
20654 (PARMS): Do not use macros from bp-asm.h.
20655 (strlen): Do not use BP_SYM.
20656 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20657 "bp-asm.h".
20658 (PARMS): Do not use macros from bp-asm.h.
20659 (S1): Likewise.
20660 (S2): Likewise.
20661 (SIZE): Likewise.
20662 (__mpn_add_n): Do not use BP_SYM.
20663 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20664 "bp-asm.h".
20665 (PARMS): Do not use macros from bp-asm.h.
20666 (S1): Likewise.
20667 (SIZE): Likewise.
20668 (__mpn_addmul_1): Do not use BP_SYM.
20669 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20670 weak_alias.
20671 (bzero): Likewise.
20672 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20673 "bp-asm.h".
20674 (PARMS): Do not use macros from bp-asm.h.
20675 (S): Likewise.
20676 (SIZE): Likewise.
20677 (__mpn_lshift): Do not use BP_SYM.
20678 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20679 "bp-asm.h".
20680 (PARMS): Do not use macros from bp-asm.h.
20681 (DEST): Likewise.
20682 (SRC): Likewise.
20683 (LEN): Likewise.
20684 (memcpy): Likewise. Do not use BP_SYM.
20685 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20686 libc_hidden_def and weak_alias.
20687 (mempcpy): Do not use BP_SYM in weak_alias.
20688 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20689 "bp-asm.h".
20690 (PARMS): Do not use macros from bp-asm.h.
20691 (DEST): Likewise.
20692 (LEN): Likewise.
20693 [!BZERO_P] (CHR): Likewise.
20694 (memset): Likewise. Do not use BP_SYM.
20695 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20696 "bp-asm.h".
20697 (PARMS): Do not use macros from bp-asm.h.
20698 (S1): Likewise.
20699 (SIZE): Likewise.
20700 (__mpn_mul_1): Do not use BP_SYM.
20701 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20702 "bp-asm.h".
20703 (PARMS): Do not use macros from bp-asm.h.
20704 (S): Likewise.
20705 (SIZE): Likewise.
20706 (__mpn_rshift): Do not use BP_SYM.
20707 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20708 "bp-asm.h".
20709 (PARMS): Do not use macros from bp-asm.h.
20710 (STR): Likewise.
20711 (CHR): Likewise.
20712 (strchr): Likewise. Do not use BP_SYM.
20713 (index): Do not use BP_SYM in weak_alias.
20714 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20715 "bp-asm.h".
20716 (PARMS): Do not use macros from bp-asm.h.
20717 (DEST): Likewise.
20718 (SRC): Likewise.
20719 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20720 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20721 "bp-asm.h".
20722 (PARMS): Do not use macros from bp-asm.h.
20723 (strlen): Do not use BP_SYM.
20724 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20725 "bp-asm.h".
20726 (PARMS): Do not use macros from bp-asm.h.
20727 (S1): Likewise.
20728 (S2): Likewise.
20729 (SIZE): Likewise.
20730 (__mpn_sub_n): Do not use BP_SYM.
20731 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20732 "bp-asm.h".
20733 (PARMS): Do not use macros from bp-asm.h.
20734 (S1): Likewise.
20735 (SIZE): Likewise.
20736 (__mpn_submul_1): Do not use BP_SYM.
20737 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20738 "bp-asm.h".
20739 (PARMS): Do not use macros from bp-asm.h.
20740 (S1): Likewise.
20741 (S2): Likewise.
20742 (SIZE): Likewise.
20743 (__mpn_add_n): Do not use BP_SYM.
20744 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20745 weak_alias.
20746 (bzero): Likewise.
20747 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20748 "bp-asm.h".
20749 (PARMS): Do not use macros from bp-asm.h.
20750 (BLK2): Likewise.
20751 (LEN): Likewise.
20752 (memcmp): Do not use BP_SYM.
20753 (bcmp): Do not use BP_SYM in weak_alias.
20754 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20755 "bp-asm.h".
20756 (PARMS): Do not use macros from bp-asm.h.
20757 (DEST): Likewise.
20758 (SRC): Likewise.
20759 (LEN): Likewise.
20760 (memcpy): Likewise. Do not use BP_SYM.
20761 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20762 "bp-asm.h".
20763 (PARMS): Do not use macros from bp-asm.h.
20764 (DEST): Likewise.
20765 (SRC): Likewise.
20766 (LEN): Likewise.
20767 (memmove): Likewise. Do not use BP_SYM.
20768 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20769 "bp-asm.h".
20770 (PARMS): Do not use macros from bp-asm.h.
20771 (DEST): Likewise.
20772 (SRC): Likewise.
20773 (LEN): Likewise.
20774 (__mempcpy): Likewise. Do not use BP_SYM.
20775 (mempcpy): Do not use BP_SYM in weak_alias.
20776 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20777 "bp-asm.h".
20778 (PARMS): Do not use macros from bp-asm.h.
20779 (DEST): Likewise.
20780 (LEN): Likewise.
20781 [!BZERO_P] (CHR): Likewise.
20782 (memset): Likewise. Do not use BP_SYM.
20783 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20784 "bp-asm.h".
20785 (PARMS): Do not use macros from bp-asm.h.
20786 (STR2): Likewise.
20787 (strcmp): Do not use BP_SYM.
20788 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20789 "bp-asm.h".
20790 (PARMS): Do not use macros from bp-asm.h.
20791 (STR): Likewise.
20792 (DELIM): Likewise.
20793 [USE_AS_STRTOK_R] (SAVE): Likewise.
20794 (FUNCTION): Likewise. Do not use BP_SYM.
20795 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20796 aliases.
20797 (strtok_r): Likewise.
20798 (__GI___strtok_r): Likewise.
20799 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20800 (PARMS): Do not use macros from bp-asm.h.
20801 (S): Likewise.
20802 (SIZE): Likewise.
20803 (__mpn_lshift): Do not use BP_SYM.
20804 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20805 (PARMS): Do not use macros from bp-asm.h.
20806 (STR): Likewise.
20807 (CHR): Likewise.
20808 (__memchr): Do not use BP_SYM.
20809 (memchr): Do not use BP_SYM in weak_alias.
20810 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20811 (PARMS): Do not use macros from bp-asm.h.
20812 (BLK2): Likewise.
20813 (LEN): Likewise.
20814 (memcmp): Do not use BP_SYM.
20815 (bcmp): Do not use BP_SYM in weak_alias.
20816 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20817 (PARMS): Do not use macros from bp-asm.h.
20818 (S1): Likewise.
20819 (SIZE): Likewise.
20820 (__mpn_mul_1): Do not use BP_SYM.
20821 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20822 "bp-asm.h".
20823 (PARMS): Do not use macros from bp-asm.h.
20824 (STR): Likewise.
20825 (CHR): Likewise.
20826 (__rawmemchr): Do not use BP_SYM.
20827 (rawmemchr): Do not use BP_SYM in weak_alias.
20828 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20829 (PARMS): Do not use macros from bp-asm.h.
20830 (S): Likewise.
20831 (SIZE): Likewise.
20832 (__mpn_rshift): Do not use BP_SYM.
20833 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20834 (PARMS): Do not use macros from bp-asm.h.
20835 (SIGMSK): Likewise.
20836 (__sigsetjmp): Likewise. Do not use BP_SYM.
20837 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20838 (_start): Do not use BP_SYM.
20839 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20840 (PARMS): Do not use macros from bp-asm.h.
20841 (DEST): Likewise.
20842 (SRC): Likewise.
20843 (__stpcpy): Likewise. Do not use BP_SYM.
20844 (stpcpy): Do not use BP_SYM in weak_alias.
20845 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20846 "bp-asm.h".
20847 (PARMS): Do not use macros from bp-asm.h.
20848 (DEST): Likewise.
20849 (SRC): Likewise.
20850 (LEN): Likewise.
20851 (__stpncpy): Likewise. Do not use BP_SYM.
20852 (stpncpy): Do not use BP_SYM in weak_alias.
20853 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20854 (PARMS): Do not use macros from bp-asm.h.
20855 (STR): Likewise.
20856 (CHR): Likewise.
20857 (strchr): Likewise. Do not use BP_SYM.
20858 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20859 "bp-asm.h".
20860 (PARMS): Do not use macros from bp-asm.h.
20861 (STR): Likewise.
20862 (CHR): Likewise.
20863 (__strchrnul): Likewise. Do not use BP_SYM.
20864 (strchrnul): Do not use BP_SYM in weak_alias.
20865 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20866 "bp-asm.h".
20867 (PARMS): Do not use macros from bp-asm.h.
20868 (STOP): Likewise.
20869 (strcspn): Do not use BP_SYM.
20870 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20871 "bp-asm.h".
20872 (PARMS): Do not use macros from bp-asm.h.
20873 (STR): Likewise.
20874 (STOP): Likewise.
20875 (strpbrk): Likewise. Do not use BP_SYM.
20876 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20877 "bp-asm.h".
20878 (PARMS): Do not use macros from bp-asm.h.
20879 (STR): Likewise.
20880 (CHR): Likewise.
20881 (strrchr): Likewise. Do not use BP_SYM.
20882 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20883 (PARMS): Do not use macros from bp-asm.h.
20884 (SKIP): Likewise.
20885 (strspn): Do not use BP_SYM.
20886 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20887 (PARMS): Do not use macros from bp-asm.h.
20888 (STR): Likewise.
20889 (DELIM): Likewise.
20890 (SAVE): Likewise.
20891 (FUNCTION): Likewise. Do not use BP_SYM.
20892 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20893 aliases.
20894 (strtok_r): Likewise.
20895 (__GI___strtok_r): Likewise.
20896 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20897 (PARMS): Do not use macros from bp-asm.h.
20898 (S1): Likewise.
20899 (S2): Likewise.
20900 (SIZE): Likewise.
20901 (__mpn_sub_n): Do not use BP_SYM.
20902 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20903 "bp-asm.h".
20904 (PARMS): Do not use macros from bp-asm.h.
20905 (S1): Likewise.
20906 (SIZE): Likewise.
20907 (__mpn_submul_1): Do not use BP_SYM.
20908 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20909 <bp-sym.h>.
20910 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20911 and <bp-asm.h>.
20912 (PARMS): Do not use macros from bp-asm.h.
20913 (FLAGS): Likewise.
20914 (PTID): Likewise.
20915 (TLS): Likewise.
20916 (CTID): Likewise.
20917 (__clone): Do not use BP_SYM.
20918 (clone): Do not use BP_SYM in weak_alias.
20919 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20920 and <bp-asm.h>.
20921 (PARMS): Do not use macros from bp-asm.h.
20922 (LEN): Likewise.
20923 (__mmap64): Do not use BP_SYM.
20924 (mmap64): Do not use BP_SYM in weak_alias.
20925 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20926 <bp-sym.h> and <bp-asm.h>.
20927 (PARMS): Do not use macros from bp-asm.h.
20928 (__posix_fadvise64_l64): Do not use BP_SYM.
20929 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20930 (PARMS): Do not use macros from bp-asm.h.
20931 (NSOPS): Likewise.
20932 (semtimedop): Do not use BP_SYM.
20933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20934 and <bp-asm.h>.
20935
582a3cff
AM
209362013-02-21 Allan McRae <allan@archlinux.org>
20937
20938 * manual/message.texi (Charset conversion in gettext):
20939 Move @end statement to beginning of line.
20940
bab8a695
SP
209412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20942
80945231
SP
20943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20944 static.
20945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20946 Likewise.
20947
bab8a695
SP
20948 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20949 (denorm): Likewise.
20950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20952
e21d7aa7
AK
209532013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20954
20955 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20956 tail-call to the resolved function if pltexit isn't needed.
20957
4c7a4263
SP
209582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20959
20960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20961 or Y being zero as being unlikely.
20962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20963 Likewise.
20964
41f49342
CD
209652013-02-20 Carlos O'Donell <carlos@redhat.com>
20966
20967 * manual/nss.texi (System Databases and Name Service Switch):
20968 Remove frobnicate @pxref.
20969
50022a93
TS
209702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20971
20972 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20973 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20974
08cbd996
PM
209752013-02-20 Petr Machata <pmachata@redhat.com>
20976
20977 * elf/elf.h (R_ARM_TARGET1): New macro.
20978 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20979 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20980 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20981 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20982 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20983 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20984 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20985 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20986 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20987 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20988 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20989 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20990 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20991 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20992 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20993 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20994 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20995 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20996 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20997 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20998 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20999 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21000 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21001 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21002 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21003 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21004 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21005 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21006 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21007 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21008 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21009 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21010 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21011 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21012 (R_ARM_THM_GOT_BREL12): Likewise.
21013 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21014 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21015 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21016 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21017 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21018 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21019 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21020 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21021 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21022
c7b275d6
TS
210232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21024
21025 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21026 __attribute_used__ to __attribute__ ((unused)).
21027
20cd7fb3
SP
210282013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21029
21030 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21031 powerpc mpa.c.
21032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21033 comment formatting.
21034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21035
92945b52
JM
210362013-02-19 Joseph Myers <joseph@codesourcery.com>
21037
21038 [BZ #13550]
21039 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21040 Remove macro.
21041 (ENTER): Remove both macro definitions.
21042 (LEAVE): Likewise.
21043 (CHECK_BOUNDS_LOW): Likewise.
21044 (CHECK_BOUNDS_HIGH): Likewise.
21045 (CHECK_BOUNDS_BOTH): Likewise.
21046 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21047 (RETURN_BOUNDED_POINTER): Likewise.
21048 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21049 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21050 (POP_ERRNO_LOCATION_RETURN): Likewise.
21051 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21052 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21053 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21054 macros.
21055 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21056 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21057 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21058 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21059 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21060 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21061 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21062 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21063 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21064 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21065 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21066 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21067 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21068 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21069 removed macros.
21070 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21071 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21072 macros.
21073 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21074 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21075 * sysdeps/i386/i586/memset.S (memset): Likewise.
21076 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21077 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21078 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21079 macros.
21080 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21081 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21082 Change uses of L(2) to L(out).
21083 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21084 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21085 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21086 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21087 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21088 removed macros.
21089 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21090 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21091 macros.
21092 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21093 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21094 (RETURN): Do not use macro LEAVE.
21095 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21096 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21097 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21098 * sysdeps/i386/i686/memset.S (memset): Likewise.
21099 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21100 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21101 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21102 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21103 Likewise.
21104 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21105 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21106 L(1_2) and L(1_3) into L(1).
21107 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21108 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21109 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21110 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21111 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21112 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21113 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21114 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21115 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21116 macros.
21117 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21118 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21119 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21120 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21121 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21122 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21123 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21124 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21125 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21126 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21127 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21128 * sysdeps/i386/strspn.S (strspn): Likewise.
21129 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21130 conditional code.
21131 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21132 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21133 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21134 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21135 L(1_3) into L(1_1).
21136 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21137 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21138 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21139 macros.
21140 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21141
2389741a
JJ
211422013-02-19 Jakub Jelinek <jakub@redhat.com>
21143
21144 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21145 macro.
21146
2016b3cd
SP
211472013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21148
e4f22324
SP
21149 * math/atest-exp.c (exp_mpn): Remove ROUND.
21150 * math/atest-exp2.c (exp_mpn): Likewise.
21151 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21152
2016b3cd
SP
21153 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21154 * stdlib/tst-tls-atexit-lib.c: Likewise.
21155 * stdlib/tst-tls-atexit.c: Likewise.
21156
4be9b544
MF
211572013-02-18 Mike Frysinger <vapier@gentoo.org>
21158
21159 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21160 and __attribute_alloc_size__.
21161
2f62b9ee
MF
211622013-02-18 Mike Frysinger <vapier@gentoo.org>
21163
21164 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21165 __attribute_alloc_size__.
21166 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21167 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21168
6ff444c4
MF
211692013-02-18 Mike Frysinger <vapier@gentoo.org>
21170
21171 * include/programs/xmalloc.h: New file.
21172 * catgets/gencat.c: Include it.
21173 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21174 * elf/pldd.c: Likewise.
21175 * iconv/iconv_charmap.c: Likewise.
21176 * iconv/iconvconfig.c: Likewise.
21177 * iconv/strtab.c: Likewise.
21178 * locale/programs/locale.c: Likewise.
21179 * locale/programs/localedef.h: Likewise.
21180 * locale/programs/simple-hash.c: Likewise.
21181 * nscd/nscd.h: Likewise.
21182 * nss/makedb.c: Likewise.
21183 * sysdeps/generic/ldconfig.h: Likewise.
21184
be179c8a
SP
211852013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21186
ba384f6e
SP
21187 * Versions.def: Add GLIBC_2.18.
21188 * include/link.h (struct link_map): New member l_tls_dtor_count.
21189 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21190 (__call_tls_dtors): Likewise.
21191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21192 __cxa_thread_atexit_impl.
21193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21194 Likewise.
21195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21196 Likewise.
21197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21198 Likewise.
21199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21200 Likewise.
21201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21203 Likewise.
21204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21205 Likewise.
21206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21208 Likewise.
21209 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21210 (tests): Add test case tst-tls-atexit.
21211 (modules-names): Add shared library for tst-tls-atexit.
85891aca 21212 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
21213 (GLIBC_PRIVATE): Add __call_tls_dtors.
21214 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21215 for libstdc++.
21216 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21217 * stdlib/tst-tls-atexit.c: New test case.
21218 * stdlib/tst-tls-atexit-lib.c: New test case.
21219
ffaa74cf 21220 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 21221
be179c8a
SP
21222 * elf/Versions (ld): Add _dl_find_dso_for_object.
21223 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21224 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21225 (dl_open_worker): Use _dl_find_dso_for_object.
21226 * elf/dl-sym.c (do_sym): Likewise.
21227 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21228
f78b5caa
AK
212292013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21230
21231 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21232 Syntactic changes only.
21233 (_dl_runtime_profile): Do a tail-call to the resolved function.
21234
29691210
JM
212352013-02-17 Joseph Myers <joseph@codesourcery.com>
21236
21237 [BZ #13550]
21238 * sysdeps/x86_64/bp-asm.h: Remove file.
21239 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21240 <bp-sym.h> and <bp-asm.h>.
21241 (__clone): Do not use BP_SYM.
21242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21243 <bp-sym.h> and <bp-asm.h>.
21244 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21245 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21246 "bp-asm.h".
21247 (_setjmp): Do not use BP_SYM.
21248 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21249 "bp-asm.h".
21250 (setjmp): Do not use BP_SYM.
21251 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21252 libc_hidden_def.
21253 (mempcpy): Do not use BP_SYM in weak_alias.
21254 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21255 "bp-asm.h".
21256 (strchr): Do not use BP_SYM.
21257 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21258 "bp-asm.h".
21259 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21260 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21261 (_start): Do not use BP_SYM.
21262 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21263 "bp-asm.h".
21264 (strcat): Do not use BP_SYM.
21265 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21266 "bp-asm.h".
21267 (STRCMP): Do not use BP_SYM.
21268 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21269 "bp-asm.h".
21270 (STRCPY): Do not use BP_SYM.
21271 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21272 "bp-asm.h".
21273 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21274 "bp-asm.h".
21275 (FUNCTION): Do not use BP_SYM.
21276 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21277 weak_alias.
21278 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21279
f238fd19
AJ
212802013-02-17 Andreas Jaeger <aj@suse.de>
21281
21282 * time/Versions: Sort entries.
21283 * string/Versions: Likewise.
21284 * resolv/Versions: Likewise.
21285 * posix/Versions: Likewise.
21286 * iconv/Versions: Likewise.
21287 * elf/Versions: Likewise.
21288 * wcsmbs/Versions: Likewise.
21289
bd07f23c 212902013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 21291
22af19f9
SP
21292 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21293 loop termination condition.
21294
4709fe76
SP
21295 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21296 variable to calculate EZ.
21297 (__sqr): Likewise.
2d0e0f29
SP
21298
21299 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21300 the lower precision input.
21301
daaa7713
JM
213022013-02-15 Joseph Myers <joseph@codesourcery.com>
21303
21304 [BZ #13550]
21305 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21306 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21307 (run-via-rtld-prefix): Do not handle %-bp tests.
21308 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21309 (all-object-suffixes): Remove .ob.
21310 (bppfx): Remove variable.
21311 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21312 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21313 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21314 [$(build-bounded) = yes] (libtype.ob): Likewise.
21315 * Makerules (elide-routines.ob): Remove variable.
21316 (do-tests-clean): Do not handle *-bp.out.
21317 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21318 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21319 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21320 (tests): Do not include $(tests-bp.out).
21321 (xtests): Do not include $(xtests-bp.out).
21322 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21323 [$(build-bounded) = yes] ($(addprefix
21324 $(objpfx),$(binaries-bounded))): Remove rule.
21325 ($(objpfx)%-bp.out): Remove rule.
21326 * config.make.in (build-bounded): Remove variable.
21327 * crypt/Makefile [$(build-bounded) = yes]
21328 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21329 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21330 append to variable.
21331 [$(build-bounded) = yes] (install-lib): Likewise.
21332 [$(build-bounded) = yes] (generated): Likewise.
21333 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21334 Remove rule.
21335 * intl/Makefile [$(build-bounded) = yes]
21336 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21337 * math/Makefile [$(build-bounded) = yes]
21338 ($(tests:%=$(objpfx)%-bp): Likewise.
21339 * misc/Makefile [$(build-bounded) = yes]
21340 ($(objpfx)tst-tsearch-bp): Likewise.
21341 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21342 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21343 Remove dependency.
21344 * string/Makefile (o-objects.ob): Remove variable.
21345 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21346 (CFLAGS-.ob): Remove variable.
21347 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21348 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21349 both definitions of variable.
21350 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21351 (ASFLAGS-.ob): Remove variable.
21352
e97ed6dd
JM
213532013-02-14 Joseph Myers <joseph@codesourcery.com>
21354
2bdd4ca6
JM
21355 [BZ #13550]
21356 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21357 Remove __BOUNDED_POINTERS__ from condition.
21358 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21359 * string/bits/string2.h [!__NO_STRING_INLINES &&
21360 !__BOUNDED_POINTERS__]: Likewise.
21361 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21362 Likewise.
21363 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21364 Remove conditional code.
21365 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21366 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21367 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21368 condition.
21369
e97ed6dd
JM
21370 [BZ #13550]
21371 * csu/libc-start.c: Do not include <bp-sym.h>.
21372 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21373 * elf/dl-open.c: Do not include <bp-sym.h>.
21374 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21375 * math/fegetenv.c: Do not include <bp-sym.h>.
21376 (fegetenv): Do not use BP_SYM in versioned symbols.
21377 * nptl/sysdeps/pthread/bits/libc-lockP.h
21378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21379 <bp-sym.h>.
21380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21381 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21383 (__pthread_mutex_destroy): Likewise.
21384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21385 (__pthread_mutex_lock): Likewise.
21386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21387 (__pthread_mutex_trylock): Likewise.
21388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21389 (__pthread_mutex_unlock): Likewise.
21390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21391 (__pthread_mutexattr_init): Likewise.
21392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21393 (__pthread_mutexattr_destroy): Likewise.
21394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21395 (__pthread_mutexattr_settype): Likewise.
21396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21397 (__pthread_rwlock_init): Likewise.
21398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21399 (__pthread_rwlock_destroy): Likewise.
21400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21401 (__pthread_rwlock_rdlock): Likewise.
21402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21403 (__pthread_rwlock_tryrdlock): Likewise.
21404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21405 (__pthread_rwlock_wrlock): Likewise.
21406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21407 (__pthread_rwlock_trywrlock): Likewise.
21408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21409 (__pthread_rwlock_unlock): Likewise.
21410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21411 (__pthread_key_create): Likewise.
21412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21413 (__pthread_setspecific): Likewise.
21414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21415 (__pthread_getspecific): Likewise.
21416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21417 Likewise.
21418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21419 (_pthread_cleanup_push_defer): Likewise.
21420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21421 (_pthread_cleanup_pop_restore): Likewise.
21422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21423 (pthread_setcancelstate): Likewise.
21424 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21425 <bp-sym.h>.
21426 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21427 (memchr): Do not use BP_SYM in weak_alias.
21428 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21429 (fegetenv): Do not use BP_SYM in versioned symbols.
21430 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21431 (fesetenv): Do not use BP_SYM in versioned symbols.
21432 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21433 (feupdateenv): Do not use BP_SYM in versioned symbols.
21434 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21435 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21436 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21437 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21438 (open64): Do not use BP_SYM in weak_alias.
21439 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21440 (fegetenv): Do not use BP_SYM in versioned symbols.
21441 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21442 (fesetenv): Do not use BP_SYM in versioned symbols.
21443 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21444 (feupdateenv): Do not use BP_SYM in versioned symbols.
21445 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21446 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21447 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21448 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21449 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21450 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21451 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21452 <bp-sym.h>.
21453 (__libc_start_main): Do not use BP_SYM.
21454
d6752ccd
SP
214552013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21456
cb57ce60
SP
21457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21458 redundant return line.
21459 (norm): Likewise.
21460 (denorm): Likewise.
21461 (dbl_mp): Likewise.
21462 (sub_magnitudes): Likewise.
21463 (__add): Likewise.
21464 (__sub): Likewise.
21465 (__mul): Likewise.
21466 (__inv): Likewise.
21467 (__dvd): Likewise.
21468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21469 (norm): Likewise.
21470 (denorm): Likewise.
21471 (dbl_mp): Likewise.
21472 (sub_magnitudes): Likewise.
21473 (__add): Likewise.
21474 (__sub): Likewise.
21475 (__mul): Likewise.
21476 (__inv): Likewise.
21477 (__dvd): Likewise.
21478
f414520d
SP
21479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21480 instead of __mul.
21481 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21482 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21483 (cc32): Likewise.
21484
d6752ccd
SP
21485 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21486 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21488 of __mul for squares.
21489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21490 function
21491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21492 Likewise.
21493 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21494 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21495
70d9946a
JM
214962013-02-13 Joseph Myers <joseph@codesourcery.com>
21497
21498 [BZ #13550]
21499 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21500 code.
21501 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21502 prototype or function definition. Rename ubp_* variables and
21503 parameters. Remove argv definitions conditional on
21504 [__BOUNDED_POINTERS__].
21505 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21506 * elf/dl-runtime.c (_dl_fixup): Likewise.
21507 * include/set-hooks.h (RUN_HOOK): Likewise.
21508 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21509 definition.
21510 * string/strcpy.c (strcpy): Do not use __unbounded.
21511 * sysdeps/generic/frame.h (struct layout): Likewise.
21512 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21513 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21514 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21515 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21516 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21517 (__backtrace): Likewise.
21518 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21519 use __ptrvalue.
21520 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21521 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21522 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21523 Likewise.
21524 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21525 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21526 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21527 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21528 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21529 Do not use __unbounded.
21530 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21531 Rename __unboundedrlimits parameter to rlimits in prototype.
21532 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21533 Do not use __unbounded.
21534 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21535 not use __ptrvalue.
21536 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21537 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21538 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21539 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21540 __ptrvalue or __unbounded.
21541 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21542 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21543 use __unbounded.
21544 (__new_msgctl): Do not use __ptrvalue.
21545 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21546 __unbounded.
21547 (__libc_msgrcv): Do not use __ptrvalue.
21548 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21549 startup_info): Do not use __unbounded.
21550 (__libc_start_main): Likewise. Rename ubp_* variables and
21551 parameters. Remove argv definitions conditional on
21552 [__BOUNDED_POINTERS__].
21553 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21554 __ptrvalue.
21555 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21556 use __unbounded.
21557 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21558 or __ptrvalue.
21559 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21560 use __unbounded.
21561 (__new_shmctl): Do not use __ptrvalue.
21562 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21563 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21564 Likewise.
21565 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21566 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21567 (__libc_sigaction): Likewise.
21568 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21569 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21570 Likewise.
21571 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21572
cc7834d6
OB
215732013-02-13 Ondřej Bílka <neleai@seznam.cz>
21574
ffb1ec7b 21575 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21576
21577 * string/mempcpy.c: Implement by calling memcpy.
21578
bdf02814
SP
215792013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21580
c2af38aa
SP
21581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21582
4e92d59e
SP
21583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21584 evaluation.
21585
909279a5
SP
21586 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21587 values in the mantissa.
21588
bdf02814
SP
21589 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21590 minimize writes to Z.
21591 (sub_magnitudes): Simplify code a bit.
21592
cd525923
RM
215932013-02-12 Roland McGrath <roland@hack.frob.com>
21594
21595 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21596 from the message. The linker prefixes all warnings with that already.
21597
7e2f0d2d
AS
215982013-02-12 Andreas Schwab <schwab@suse.de>
21599
a445af0b
AS
21600 [BZ #15078]
21601 * posix/regexec.c (extend_buffers): Add parameter min_len.
21602 (check_matching): Pass minimum needed length.
21603 (clean_state_log_if_needed): Likewise.
21604 (get_subexp): Likewise.
21605 * posix/Makefile (tests): Add bug-regex34.
21606 (bug-regex34-ENV): Define.
21607 * posix/bug-regex34.c: New file.
21608
7e2f0d2d
AS
21609 [BZ #11561]
21610 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21611 elements compare against the byte sequence of it, not its name.
21612 * posix/Makefile (tests): Add bug-regex35.
21613 (bug-regex35-ENV): Define.
21614 * posix/bug-regex35.c: New file.
21615
a175b684
TV
216162013-02-11 Tom de Vries <tom@codesourcery.com>
21617
21618 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21619 comment.
21620 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21621 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21622 (CHECK_EOL): Add undef.
21623
310998fe 216242013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21625
21626 * bits/stdlib-bsearch.h: New file.
21627 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21628 * stdlib/stdlib.h: Likewise.
41eda41d 21629
8ded91fb
RM
216302013-02-11 Roland McGrath <roland@hack.frob.com>
21631
21632 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21633 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21634 declaration.
21635 * manual/search.texi (Array Search Function): Add missing const in
21636 lfind prototype.
21637 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21638 declaration to use rlim_t.
21639 (Basic Scheduling Functions): Remove erroneous const from
21640 sched_getparam prototype. Remove erroneous * from
21641 sched_get_priority_max and sched_get_priority_min prototypes.
21642 (Resource Usage): Fix summary @comment on vtimes to refer to
21643 sys/vtimes.h rather than vtimes.h.
21644 Add missing *s in vtimes prototype.
21645 (Limits on Resources): Fix ulimit prototype to return long int.
21646 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21647 prototypes to use long int rather than double.
21648 (BSD Random): Fix initstate and setstate to use char *, not void *.
21649 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21650 prototype to make second argument 'struct aiocb64 *const[]'.
21651 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21652 (Status of AIO Operations): Remove erroneous const in aio_return and
21653 aio_return64 prototypes.
21654 (Synchronizing I/O): Fix sync prototype to return void.
21655 * manual/startup.texi (Suboptions): Remove an erroneous const in
21656 getsubopt prototype.
21657 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21658 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21659 use size_t rather than int.
21660 (Scanning All Users): Likewise for getpwent_r.
21661 (Setting Groups): Add missing const to setgroups prototype.
21662 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21663 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21664 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21665 'const void *' rather than 'const char *'.
21666 (Host Address Functions): Likewise for inet_ntop.
21667 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21668 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21669 ssize_t for return value.
21670 (Sending Data): Likewise for send, sendto, sendmsg.
21671 (Socket Option Functions): Add a missing const in setsockopt prototype.
21672 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21673 use wchar_t for the argument.
21674 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21675 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21676 take no arguments.
21677 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21678 double/float/long double for second argument.
21679 Fix return types of significand, significandf, significandl.
21680 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21681 argument in fchmod prototype.
21682 (File Owner): Use uid_t and gid_t in fchown prototype.
21683 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21684 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21685 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21686 use 'const struct dirent **' as argument types to CMP function pointer
21687 argument.
21688 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21689 (File Times): Fix summary magic @comment for struct utimbuf and utime
21690 to refer to utime.h, not time.h.
21691 * manual/string.texi (Argz Functions): Add missing const in
21692 argz_extract and argz_next prototypes.
21693 (Finding Tokens in a String): Likewise for basename.
21694 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21695 (Copying and Concatenation): Fix typo in wmemmove prototype.
21696 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21697 (Signal Stack): Remove erroneous const in sigstack prototype.
21698 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21699 prototype.
21700 (Simple Calendar Time): Likewise for stime.
21701 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21702 prototype.
21703 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21704 say sys/sysctl.h instead.
21705 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21706 and vsyslog prototypes.
21707
fe77fe6d
TV
217082013-02-11 Tom de Vries <tom@codesourcery.com>
21709
21710 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21711 Remove.
21712
3a09b620
RM
217132013-02-11 Roland McGrath <roland@hack.frob.com>
21714
21715 * misc/sys/mman.h: Fix typo in mremap comment.
21716
550a0b89
RM
217172013-02-08 Roland McGrath <roland@hack.frob.com>
21718
21719 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21720 the '\0' terminator.
21721
a2da1673
JM
217222013-02-08 Joseph Myers <joseph@codesourcery.com>
21723
21724 [BZ #13550]
21725 * debug/segfault.c: Don't include <bp-checks.h>.
21726 * sysdeps/generic/bp-checks.h: Remove file.
21727 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21728 (__GETDENTS): Don't use CHECK_N.
21729 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21730 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21731 (__getgroups): Don't use CHECK_N.
21732 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21733 (setgroups): Don't use CHECK_N.
21734 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21735 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21736 (__libc_msgrcv): Don't use CHECK_N.
21737 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21738 (__libc_msgsnd): Don't use CHECK_N.
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21740 <bp-checks.h>.
21741 (__libc_pread): Don't use CHECK_N.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21743 include <bp-checks.h>.
21744 (__libc_pread64): Don't use CHECK_N.
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21746 include <bp-checks.h>.
21747 (__libc_pwrite): Don't use CHECK_N.
21748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21749 include <bp-checks.h>.
21750 (__libc_pwrite64): Don't use CHECK_N.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21752 <bp-checks.h>.
21753 (__libc_pread): Don't use CHECK_N.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21755 include <bp-checks.h>.
21756 (__libc_pread64): Don't use CHECK_N.
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21758 include <bp-checks.h>.
21759 (__libc_pwrite): Don't use CHECK_N.
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21761 include <bp-checks.h>.
21762 (__libc_pwrite64): Don't use CHECK_N.
21763 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21764 (do_pread): Don't use CHECK_N.
21765 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21766 (do_pread64): Don't use CHECK_N.
21767 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21768 (do_pwrite): Don't use CHECK_N.
21769 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21770 (do_pwrite64): Don't use CHECK_N.
21771 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21772 (__libc_readv): Don't use CHECK_N.
21773 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21774 (semop): Don't use CHECK_N.
21775 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21776 <bp-checks.h>.
21777 (semtimedop): Don't use CHECK_N.
21778 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21779 (__libc_pread): Don't use CHECK_N.
21780 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21781 <bp-checks.h>.
21782 (__libc_pread64): Don't use CHECK_N.
21783 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21784 <bp-checks.h>.
21785 (__libc_pwrite): Don't use CHECK_N.
21786 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21787 <bp-checks.h>.
21788 (__libc_pwrite64): Don't use CHECK_N.
21789 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21790 <bp-checks.h>.
21791 (__libc_msgrcv): Don't use CHECK_N.
21792 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21793 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21794 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21795 (__libc_writev): Don't use CHECK_N.
21796
b84660a8
RM
217972013-02-08 Roland McGrath <roland@hack.frob.com>
21798
7f3e75f8
RM
21799 * string/strcpy.c: Removed unused variable.
21800
b84660a8
RM
21801 * Makeconfig (+sysdep-includes): Define with := rather than =.
21802 Use an existing include/ subdir of each sysdeps dir before it.
21803
471514d3
CD
218042013-02-08 Carlos O'Donell <carlos@redhat.com>
21805
21806 * nscd/connection.c (register_traced_file): Comment function.
21807 [HAVE_INOTIFY] (union __inev): Define.
21808 [HAVE_INOTIFY] (inotify_check_files): New function.
21809 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21810 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21811 clear_db_cache.
21812 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21813
b2d3c3be
CD
218142013-02-08 Carlos O'Donell <carlos@redhat.com>
21815
21816 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21817 loaded if not already and that a failure is permanent.
21818
b39949d2
CD
218192013-02-08 Carlos O'Donell <carlos@redhat.com>
21820
ddacd1db 21821 [BZ #15006]
b39949d2
CD
21822 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21823 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21824
b2c9eff4
JM
218252013-02-08 Joseph Myers <joseph@codesourcery.com>
21826
f3aae3f3
JM
21827 [BZ #13550]
21828 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21829 (CHECK_1_NULL_OK): Likewise.
21830 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21831 (__fxstat): Do not use CHECK_1.
21832 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21833 <bp-checks.h>.
21834 (___fxstat64): Do not use CHECK_1.
21835 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21836 <bp-checks.h>.
21837 (__fxstatat): Do not use CHECK_1.
21838 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21839 <bp-checks.h>.
21840 (__fxstatat64): Do not use CHECK_1.
21841 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21842 <bp-checks.h>.
21843 (__fxstat): Do not use CHECK_1.
21844 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21845 <bp-checks.h>.
21846 (__fxstatat): Do not use CHECK_1.
21847 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21848 <bp-checks.h>.
21849 (__getresgid): Do not use CHECK_1.
21850 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21851 <bp-checks.h>.
21852 (__getresuid): Do not use CHECK_1.
21853 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21854 <bp-checks.h>.
21855 (__lxstat): Do not use CHECK_1.
21856 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21857 <bp-checks.h>.
21858 (__old_msgctl): Do not use CHECK_1.
21859 (__new_msgctl): Likewise.
21860 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21861 <bp-checks.h>.
21862 (__new_setrlimit): Do not use CHECK_1.
21863 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21864 <bp-checks.h>.
21865 (__old_shmctl): Do not use CHECK_1.
21866 (__new_shmctl): Likewise.
21867 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21868 <bp-checks.h>.
21869 (__xstat): Do not use CHECK_1.
21870 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21871 (__lxstat): Do not use CHECK_1.
21872 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21873 <bp-checks.h>.
21874 (___lxstat64): Do not use CHECK_1.
21875 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21876 (__old_msgctl): Do not use CHECK_1.
21877 (__new_msgctl): Likewise.
21878 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21879 <bp-checks.h>.
21880 (__gettimeofday): Do not use CHECK_1.
21881 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21882 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21883 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21884 <bp-checks.h>.
21885 (__gettimeofday): Do not use CHECK_1.
21886 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21887 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21888 (__new_shmctl): Do not use CHECK_1.
21889 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21890 <bp-checks.h>.
21891 (do_sigtimedwait): Do not use CHECK_1.
21892 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21893 <bp-checks.h>.
21894 (do_sigwaitinfo): Do not use CHECK_1.
21895 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21896 <bp-checks.h>.
21897 (msgctl): Do not use CHECK_1.
21898 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21899 <bp-checks.h>.
21900 (shmctl): Do not use CHECK_1.
21901 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21902 (ustat): Do not use CHECK_1.
21903 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21904 <bp-checks.h>.
21905 (__fxstat): Do not use CHECK_1.
21906 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21907 <bp-checks.h>.
21908 (__fxstatat): Do not use CHECK_1.
21909 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21910 <bp-checks.h>.
21911 (__lxstat): Do not use CHECK_1.
21912 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21913 <bp-checks.h>.
21914 (__xstat): Do not use CHECK_1.
21915 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21916 (__xstat): Do not use CHECK_1.
21917 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21918 (___xstat64): Do not use CHECK_1.
21919
b2c9eff4
JM
21920 [BZ #13550]
21921 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21922 definitions.
21923 (CHECK_BOUNDS_HIGH): Likewise.
21924 * string/strcpy.c: Do not include <bp-checks.h>.
21925 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21926
f1d70dad
RM
219272013-02-07 Roland McGrath <roland@hack.frob.com>
21928
21929 * nscd/nscd-client.h (__nscd_drop_map_ref):
21930 Add __attribute__ ((unused)).
21931 * nis/nss-nisplus.h (niserr2nss): Likewise.
21932
21933 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21934 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21935
21936 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21937 Remove inline keyword.
21938 * include/rounding-mode.h (round_away): Likewise.
21939 * libio/wfileops.c (adjust_wide_data): Likewise.
21940 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21941 (__m128i_strloadu_tolower): Likewise.
21942 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21943 (__m128i_strloadu_tolower): Likewise.
21944 * time/mktime.c (ydhms_diff): Likewise.
21945 * locale/elem-hash.h (elem_hash): Likewise.
21946 * locale/setlocale.c (setdata): Likewise.
21947 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21948 (re_string_wchar_at): Likewise.
21949 (bitset_not, bitset_merge, bitset_mask): Likewise.
21950 [!(__GNUC__ > 3)] (inline): Remove macro.
21951 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21952 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21953 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21954 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21955 * string/memcmp.c (memcmp_bytes): Likewise.
21956 * locale/programs/locarchive.c (compute_hashval): Likewise.
21957 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21958 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21959 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21960 * nss/getent.c (print_rpc, print_protocols): Likewise.
21961 (print_passwd, print_group, print_aliases): Likewise.
21962 * nis/nss-nisplus.h (niserr2nss): Likewise.
21963 * nscd/connections.c (restart_p): Likewise.
21964 Change return type to bool.
21965
eab55bfb
RM
219662013-02-05 Roland McGrath <roland@hack.frob.com>
21967
7bd642f5
RM
21968 * Makeconfig (all-Depend-files): Add existing
21969 $(sorted-subdirs:=/Depend) files.
21970 (all-subdirs): Remove nss.
21971 * sysdeps/unix/inet/Subdirs: Add it here instead.
21972 * hesiod/Depend: New file.
21973
573c29b2
RM
21974 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21975 instead of calling alloca.
21976
b2e25af0
RM
21977 * io/lseek.c (__lseek): Rename to __libc_lseek.
21978 Define __lseek as an alias.
21979
eab55bfb
RM
21980 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21981
9a0d1941
CD
219822013-02-04 Carlos O'Donell <carlos@redhat.com>
21983
21984 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21985 else clause and remove check for non-standard endianness.
21986
b83bbec4
DM
219872013-02-04 David S. Miller <davem@davemloft.net>
21988
21989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21990
6277fdab
JM
219912013-02-04 Joseph Myers <joseph@codesourcery.com>
21992
21993 [BZ #13550]
21994 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21995 (__ubp_memchr): Remove prototype.
21996 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21997 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21998 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21999 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22000 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22001 Remove alias.
22002 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22003 (__ubp_memchr): Likewise.
22004 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22005 (__ubp_memchr): Likewise.
22006 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22007 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22008 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22009 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22010 CHECK_STRING.
22011 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22012 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22013 (__getcwd): Do not use CHECK_STRING.
22014 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22015 <bp-checks.h>.
22016 (__real_chown): Do not use CHECK_STRING.
22017 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22018 <bp-checks.h>.
22019 (fchownat): Do not use CHECK_STRING.
22020 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22021 CHECK_STRING.
22022 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22023 <bp-checks.h>.
22024 (__lchown): Do not use CHECK_STRING.
22025 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22026 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22027 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22028 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22030 include <bp-checks.h>.
22031 (truncate64): Do not use CHECK_STRING.
22032 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22033 <bp-checks.h>.
22034 (__real_chown): Do not use CHECK_STRING.
22035 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22036 <bp-checks.h>.
22037 (__lchown): Do not use CHECK_STRING.
22038 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22039 <bp-checks.h>.
22040 (__chown): Do not use CHECK_STRING.
22041 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22042 <bp-checks.h>.
22043 (truncate64): Do not use CHECK_STRING.
22044 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22045 Likewise.
22046 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22047 (__xmknod): Do not use CHECK_STRING.
22048 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22049 <bp-checks.h>.
22050 (__xmknodat): Do not use CHECK_STRING.
22051 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22052 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22053
903ae060
AS
220542013-02-04 Andreas Schwab <schwab@suse.de>
22055
22056 [BZ #14142]
22057 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22058 * include/netdb.h: Likewise for h_errno.
22059 * elf/tst-stackguard1.c: Include <tls.h>.
22060
542f9466
JK
220612013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22062
22063 * elf/link.h (struct link_map): Extend the l_addr comment.
22064 * include/link.h (struct link_map): Likewise.
22065
e782a927
JM
220662013-02-01 Joseph Myers <joseph@codesourcery.com>
22067
22068 [BZ #13550]
22069 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22070 (BOUNDED_1): Remove macro.
22071 * debug/backtrace.c: Don't include <bp-checks.h>.
22072 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22073 (__backtrace): Likewise.
22074 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22075 <bp-checks.h>.
22076 (__backtrace): Don't use BOUNDED_1.
22077 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22078 <bp-checks.h>.
22079 (__backtrace): Don't use BOUNDED_1.
22080 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22081 (__backtrace): Don't use BOUNDED_1.
22082 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22083 (shmat): Don't use BOUNDED_N.
22084
8cf28c5e
JM
220852013-01-31 Joseph Myers <joseph@codesourcery.com>
22086
3a7ac8a0
JM
22087 [BZ #13550]
22088 * sysdeps/generic/bp-start.h: Remove file.
22089 * csu/libc-start.c: Don't include <bp-start.h>.
22090 (LIBC_START_MAIN): Set up __environ directly instead of using
22091 INIT_ARGV_and_ENVIRON.
22092 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22093 <bp-start.h>.
22094
f3499f95
JM
22095 [BZ #13550]
22096 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22097 definitions.
22098 (CHECK_FCNTL): Likewise.
22099 (CHECK_N_PAGES): Likewise.
22100
32a45bea
JM
22101 [BZ #13550]
22102 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22103 definitions.
22104 (CHECK_SIGSET_NULL_OK): Likewise.
22105 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22106 <bp-checks.h>.
22107 (sigpending): Don't use CHECK_SIGSET.
22108 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22109 <bp-checks.h>.
22110 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22111 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22112 <bp-checks.h>.
22113 (do_sigsuspend): Don't use CHECK_SIGSET.
22114 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22115 use CHECK_SIGSET.
22116 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22117 (do_sigwait): Don't use CHECK_SIGSET.
22118 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22119 use CHECK_SIGSET.
22120 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22121 include <bp-checks.h>.
22122 (sigpending): Don't use CHECK_SIGSET.
22123 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22124 include <bp-checks.h>.
22125 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22126 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22127 <bp-checks.h>.
22128 (sigpending): Don't use CHECK_SIGSET.
22129 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22130 <bp-checks.h>.
22131 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22132
2e8a5c8c
JM
22133 [BZ #13550]
22134 * sysdeps/generic/bp-semctl.h: Remove file.
22135 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22136 <bp-checks.h> and <bp-semctl.h>.
22137 (__old_semctl): Don't use CHECK_SEMCTL.
22138 (__new_semctl): Likewise.
22139 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22140 and <bp-semctl.h>.
22141 (__old_semctl): Don't use CHECK_SEMCTL.
22142 (__new_semctl): Likewise.
22143 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22144 <bp-checks.h> and <bp-semctl.h>.
22145 (__old_semctl): Don't use CHECK_SEMCTL.
22146 (__new_semctl): Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22148 <bp-checks.h> and <bp-semctl.h>.
22149 (semctl): Don't use CHECK_SEMCTL.
22150
c2d54929
JM
22151 [BZ #13550]
22152 * Makerules (elide-bp-thunks): Remove variable.
22153 (elide-routines.oS): Don't use $(elide-bp-thunks).
22154 (elide-routines.os): Likewise.
22155 (elide-routines.o): Likewise.
22156 (elide-routines.op): Likewise.
22157 (elide-routines.og): Likewise.
22158 (objects): Don't use $(bp-thunks).
22159 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22160 include.
22161 (common-generated): Do not add s-proto-bp.d.
22162 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22163 (int): Likewise.
22164 (typ): Likewise.
22165 Do not generate makefile rules for bounded-pointer thunks.
22166 * sysdeps/generic/bp-thunks.h: Remove file.
22167 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22168 * sysdeps/unix/s-proto-bp.S: Likewise.
22169
8cf28c5e
JM
22170 [BZ #15062]
22171 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22172 parts of result separately when argument is not close to line from
22173 -i to i and one part of argument is small.
22174 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22175 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22176 * math/libm-test.inc (cacos_test): Add more tests.
22177 (casin_test): Likewise.
22178 (casinh_test): Likewise.
22179 * sysdeps/i386/fpu/libm-test-ulps: Update.
22180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22181
c4e33b8d
DM
221822013-01-31 David S. Miller <davem@davemloft.net>
22183
22184 * po/de.po: Update from translation team.
22185
3b60b421
MK
221862013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22187
22188 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22189
bb931195
TS
221902013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22191
b5a5da23
TS
22192 * configure.in (_AC_PROG_CC_C89): New definition.
22193 * configure: Regenerate.
22194
bb931195
TS
22195 * configure.in (AC_PROG_CPP): New definition.
22196 * configure: Regenerate.
22197
8c53a12c
JM
221982013-01-23 Joseph Myers <joseph@codesourcery.com>
22199
22200 * debug/tst-backtrace.h: New file.
22201 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22202 (ret): Remove variable.
22203 (x): Likewise.
22204 (FAIL): Remove macro.
22205 (NO_INLINE): Likewise.
22206 (fn1): Use match function instead of strstr.
22207 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22208 (ret): Remove variable.
22209 (x): Likewise.
22210 (FAIL): Remove macro.
22211 (NO_INLINE): Likewise.
22212 (fn): Use match function instead of strstr.
22213 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22214 (ret): Remove variable.
22215 (x): Likewise.
22216 (FAIL): Remove macro.
22217 (NO_INLINE): Likewise.
22218 (handle_signal): Use match function instead of strstr.
22219 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22220 (ret): Remove variable.
22221 (x): Likewise.
22222 (FAIL): Remove macro.
22223 (NO_INLINE): Likewise.
22224 (handle_signal): Use match function instead of strstr.
22225
4858fa2a
RM
222262013-01-23 Roland McGrath <roland@hack.frob.com>
22227
22228 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22229
bae8e7f5
DM
222302013-01-23 David S. Miller <davem@davemloft.net>
22231
22232 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22233 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22234 argument of CAS if possible.
22235 * sysdeps/sparc/sparc64/bits/atomic.h
22236 (__arch_compare_and_exchange_val_32_acq): Likewise.
22237 (__arch_compare_and_exchange_val_64_acq): Likewise.
22238
9cbbc4ae
PT
222392013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22240
22241 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22242 * sysdeps/posix/ulimit.c: ... this.
92a601b8 22243 Include <limits.h>.
67b3f58c 22244 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 22245
5655a0b5
AC
222462013-01-23 Adam Conrad <adconrad@0c3.net>
22247
22248 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22249 (LDFLAGS-tst-array5): Likewise.
22250
052aff95
JM
222512013-01-23 Joseph Myers <joseph@codesourcery.com>
22252
22253 [BZ #15036]
22254 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22255 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22256 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22257 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22258
7c1e01aa
DM
222592013-01-21 David S. Miller <davem@davemloft.net>
22260
22261 * sysdeps/sparc/backtrace.c: New file.
22262 * sysdeps/sparc/sparc32/backtrace.h: New file.
22263 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22264 * sysdeps/sparc/sparc64/backtrace.h: New file.
22265 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22266 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22267 -funwind-tables.
22268
ab087e0a
AS
222692013-01-21 Andreas Schwab <schwab@suse.de>
22270
22271 [BZ #15020]
22272 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22273 closed its stdout.
22274
ed689c2f
AS
222752013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22276
22277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22278 "mpa2.h".
22279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22280
31d470ac
JM
222812013-01-18 Joseph Myers <joseph@codesourcery.com>
22282 Mark Mitchell <mark@codesourcery.com>
22283 Tom de Vries <tom@codesourcery.com>
22284 Paul Pluzhnikov <ppluzhnikov@google.com>
22285
22286 * debug/tst-backtrace2.c: New file.
22287 * debug/tst-backtrace3.c: Likewise.
22288 * debug/tst-backtrace4.c: Likewise.
22289 * debug/tst-backtrace5.c: Likewise.
22290 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22291 (CFLAGS-tst-backtrace3.c): Likewise.
22292 (CFLAGS-tst-backtrace4.c): Likewise.
22293 (CFLAGS-tst-backtrace5.c): Likewise.
22294 (LDFLAGS-tst-backtrace2): Likewise.
22295 (LDFLAGS-tst-backtrace3): Likewise.
22296 (LDFLAGS-tst-backtrace4): Likewise.
22297 (LDFLAGS-tst-backtrace5): Likewise.
22298 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22299 tst-backtrace4 and tst-backtrace5.
22300
90567f30 223012013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
22302 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22303
22304 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22305 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22307 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22309 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22310 "+r" and remove output regs list as redundant. Add explicit inline
22311 asm to specify register of return val to work around compiler codegen
22312 bug. Remove (int) cast on return value. Add return type parameter to
22313 use in macro so that this macro does not truncate return value for
22314 64-bit values.
22315 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22316 pass to INTERNAL_VSYSCALL_NCS.
22317 (INLINE_VSYSCALL): Add 'long int' as return type to
22318 INTERNAL_VSYSCALL_NCS macro invocation.
22319 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22320 INTERNAL_VSYSCALL_NCS macro invocation.
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22322
d3b9ea61
SP
223232013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22324
0b57daeb
SP
22325 [BZ #14496]
22326 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22327 Fix application of SIMD FP exception mask.
22328
caa99d06
SP
22329 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22330 mp_no from a power of two.
22331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22332 __mpexp_twomm1. Use __pow_mp.
22333
d3b9ea61
SP
22334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22335 multiplication.
22336
1dbaee3c
DM
223372013-01-17 David S. Miller <davem@davemloft.net>
22338
22339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22340
728d7b43
JM
223412013-01-17 Joseph Myers <joseph@codesourcery.com>
22342
22343 [BZ #15023]
22344 * include/complex.h: Condition contents on [!_COMPLEX_H].
22345 (__kernel_casinhf): New prototype.
22346 (__kernel_casinh): Likewise.
22347 (__kernel_casinhl): Likewise.
22348 * math/Makefile (libm_calls): Add k_casinh.
22349 * math/k_casinh.c: New file.
22350 * math/k_casinhf.c: Likewise.
22351 * math/k_casinhl.c: Likewise.
22352 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22353 finite nonzero arguments.
22354 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22355 finite nonzero arguments.
22356 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22357 finite nonzero arguments.
22358 * math/s_casinh.c: Do not include <float.h>.
22359 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22360 * math/s_casinhf.c: Do not include <float.h>.
22361 (__casinhf): Move code for finite nonzero arguments to
22362 k_casinhf.c.
22363 * math/s_casinhl.c: Do not include <float.h>.
22364 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22365 redefine.
22366 (__casinhl): Move code for finite nonzero arguments to
22367 k_casinhl.c.
22368 * math/libm-test.inc (cacos_test): Add more tests.
22369 * sysdeps/i386/fpu/libm-test-ulps: Update.
22370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22371
2a26ef3a
PT
223722013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22373
22374 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22375 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22376 [!HAVE_MREMAP]: Remove [defined linux] case.
22377 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22378
a897655d
SP
223792013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22380
22381 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22382
881ebe89 223832013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
22384
22385 * elf/elf.h (R_386_SIZE32): New relocation.
22386 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22387 R_386_SIZE32.
22388 (elf_machine_rela): Likewise.
22389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22390 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22391
59981e9b
JM
223922013-01-17 Joseph Myers <joseph@codesourcery.com>
22393
22394 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22395 (FP_FAST_FMA): Do not define.
22396 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22397 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22398 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22399 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22400 !_SOFT_FLOAT]: Likewise.
22401 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22402 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22403 value.
22404 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22405 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22406 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22407 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22408 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22409 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22410 file.
22411
cfa8054f
AS
224122013-01-16 Andreas Schwab <schwab@suse.de>
22413
22414 [BZ #14327]
22415 * include/stdlib.h (__mktemp): Add declaration.
22416 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22417 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22418
dd930cc5
SP
224192013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22420
881ebe89
SP
22421 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22422 definitions.
22423 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22424 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22425 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22426 definitions here.
22427 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22428 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22429 definitions.
22430 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22431 and ONE.
22432 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22433 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22434 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22435 definitions.
22436 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22437 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22438 definitions.
22439 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22440
dd930cc5
SP
22441 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22442
c19a9f89
DM
224432013-01-15 David S. Miller <davem@davemloft.net>
22444
1aa61767
DM
22445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22446 trunc{,f} to libm-sysdep_routes.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22449 file.
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22452 file.
22453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22454 file.
22455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22460 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22461 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22462 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22463
c42d5e98
DM
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22465 nearbyint{,f} to libm-sysdep_routes.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22468 New file.
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22470 file.
22471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22472 New file.
22473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22474 file.
22475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22478 file.
22479 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22481 file.
22482 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22483 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22484 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22485
c19a9f89
DM
22486 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22487 libc_feholdexcept and libc_fesetenv.
22488
357679d2
MF
224892013-01-15 Mike Frysinger <vapier@gentoo.org>
22490
22491 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22492
65a82e3d
DM
224932013-01-14 David S. Miller <davem@davemloft.net>
22494
8b954ab9
DM
22495 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22496 (SPARC_ASM_VIS2_IFUNC): Likewise.
22497 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22499 use of 'siam' instruction.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22501 Likewise.
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22503 Likewise.
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22505 Likewise.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22511 file.
22512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22513 file.
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22515 file.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22517 file.
22518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22523 new VIS2 routines.
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22527 Likewise.
22528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22533 routines to libm-sysdep_routines.
22534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22535
65a82e3d
DM
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22537 fdim/fdimf to libm-sysdep_routines.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22539 file.
22540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22542 file.
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22546 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22547 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22548 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22549 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22550
e34ab705
SP
225512013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22552
2a91b573
SP
22553 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22554 to optimize copies.
22555
1066a534
SP
22556 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22559
e34ab705
SP
22560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22561 local variable MPTWO.
22562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22563 Likewise.
22564
aba5e596
MF
225652013-01-13 Mike Frysinger <vapier@gentoo.org>
22566
22567 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22568 GLOB_NOESCAPE.
22569
e557e9e5
MF
225702013-01-13 Mike Frysinger <vapier@gentoo.org>
22571
22572 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22573
0428cec9
MF
225742013-01-13 Mike Frysinger <vapier@gentoo.org>
22575
22576 * manual/pattern.texi (glob_t): Document gl_flags.
22577 (glob64_t): Likewise.
22578
8794a964
DM
225792013-01-11 David S. Miller <davem@davemloft.net>
22580
66438c3f
RM
22581 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22582 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22583 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22584 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22585 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22586 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22587 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22588 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22589 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22590 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22591 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22592 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22593 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22594
4ae4244d
DM
22595 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22596 sparc V9 rather than using V8 code.
22597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22599
8794a964
DM
22600 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22601 Move to...
22602 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22603 Here.
22604
6270516e
RM
226052013-01-11 Roland McGrath <roland@hack.frob.com>
22606
22607 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22608 not in the main loop.
22609 * configure: Regenerated.
22610
6a57d931
JM
226112013-01-11 Joseph Myers <joseph@codesourcery.com>
22612
22613 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22614 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22615 to just #else.
22616 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22617 [!__GLIBC_HAVE_LONG_LONG] case.
22618 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22619 condition to just #else.
22620 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22621 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22622 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22623 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22624 unconditional.
22625 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22626 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22627 #elif condition to just #else.
22628 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22629 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22630 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22631 #elif condition to just #else.
22632
0e8529e9
SE
226332013-01-11 Steve Ellcey <sellcey@mips.com>
22634
22635 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22636 (EF_MIPS_ARCH_64): Fix value.
22637 (EF_MIPS_ARCH_32R2): New.
22638 (EF_MIPS_ARCH_64R2): New.
22639
740b3dbe
L
226402013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22641
22642 * Makeconfig (+link-pie-before-libc): New.
22643 (+link-pie-after-libc): Likewise.
22644 (+link-pie-tests): Likewise.
22645 (+link-pie): Rewritten.
22646 (link-before-libc): Remove $(config-LDFLAGS).
22647 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22648 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22649 (config-LDFLAGS): Renamed to ...
22650 (rtld-LDFLAGS): This.
22651 (rtld-tests-LDFLAGS): New macro.
22652 (link-libc-rpath-link): Likewise.
22653 (link-libc-tests-rpath-link): Likewise.
22654 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22655 (link-libc): Prepand $(link-libc-rpath-link).
22656 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22657 (test-program-prefix): New macro.
22658 (test-via-rtld-prefix): Likewise.
22659 (test-program-cmd): Likewise.
22660 (host-test-program-cmd): Likewise.
22661 * Makefile ($(common-objpfx)testrun.sh): Replace
22662 $(run-program-prefix) with $(test-program-prefix).
22663 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22664 $(rtld-LDFLAGS).
22665 ($(common-objpfx)shlib.lds): Likewise.
22666 (build-module-helper): Likewise.
22667 ($(common-objpfx)format.lds): Likewise.
22668 * Rules (binaries-pie-tests): New.
22669 (binaries-pie-notests): Likewise.
22670 (binaries-pie): Rewritten.
22671 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22672 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22673 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22674 (make-test-out): Replace $(host-built-program-cmd) with
22675 $(host-test-program-cmd).
22676 * config.make.in (build-hardcoded-path-in-tests): New variable.
22677 * configure.in (--enable-hardcoded-path-in-tests): New configure
22678 option.
22679 (hardcoded_path_in_tests): New AC_SUBST.
22680 * configure: Regenerated.
22681 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22682 $(built-program-cmd) with $(test-program-cmd).
22683 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22684 (test_program_cmd): This.
22685 * elf/Makefile ($(objpfx)order.out): Run test with
22686 $(test-program-prefix).
22687 ($(objpfx)order2.out): Likewise.
22688 ($(objpfx)tst-initorder.out): Likewise.
22689 ($(objpfx)tst-initorder2.out): Likewise.
22690 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22691 $(test-program-cmd).
22692 ($(objpfx)tst-array1-static.out): Likewise.
22693 ($(objpfx)tst-array2.out): Likewise.
22694 ($(objpfx)tst-array3.out): Likewise.
22695 ($(objpfx)tst-array4.out): Likewise.
22696 ($(objpfx)tst-array5.out): Likewise.
22697 ($(objpfx)tst-array5-static.out): Likewise.
22698 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22699 $(test-program-cmd).
22700 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22701 $(run-program-prefix) with $(test-program-prefix).
22702 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22703 (test_program_prefix): This.
22704 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22705 $(run-program-prefix) with $(test-program-prefix).
22706 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22707 (test_program_prefix): This.
22708 * iconvdata/tst-tables.sh: Likewise.
22709 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22710 $(run-program-prefix) with $(test-program-prefix).
22711 ($(objpfx)tst-translit.out): Likewise.
22712 ($(objpfx)tst-gettext2.out): Likewise.
22713 ($(objpfx)tst-gettext4.out): Likewise.
22714 ($(objpfx)tst-gettext6.out): Likewise.
22715 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22716 (test_program_prefix): This.
22717 * intl/tst-gettext2.sh: Likewise.
22718 * intl/tst-gettext4.sh Likewise.
22719 * intl/tst-gettext6.sh: Likewise.
22720 * intl/tst-translit.sh: Likewise.
22721 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22722 with $(test-program-cmd).
22723 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22724 $(run-program-prefix) with $(test-program-prefix).
22725 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22726 (test_program_prefix): This.
22727 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22728 $(run-program-prefix) with $(test-program-prefix).
22729 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22730 (test_program_prefix): This.
22731 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22732 * posix/Makefile ($(objpfx)globtest.out): Replace
22733 $(run-via-rtld-prefix) and $(test-wrapper) with
22734 $(test-program-prefix) and $(test-via-rtld-prefix).
22735 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22736 $(test-program-prefix).
22737 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22738 $(host-test-program-cmd).
22739 (tst-spawn-ARGS): Likewise.
22740 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22741 $(test-program-prefix).
22742 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22743 (test_via_rtld_prefix): This.
22744 (test_wrapper): Renamed to ...
22745 (test_program_prefix): This.
22746 (run_program_prefix): Replaced by test_program_prefix.
22747 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22748 (test_program_prefix): This.
22749 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22750 with $(host-test-program-cmd).
22751 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22752 $(run-program-prefix) with $(test-program-prefix).
22753 ($(objpfx)tst-printf.out): Likewise.
22754 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22755 $(test-program-cmd).
22756 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22757 (test_program_prefix): This.
22758 * stdio-common/tst-unbputc.sh: Likewise.
22759 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22760 $(run-program-prefix) with $(test-program-prefix).
22761 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22762 (test_program_prefix): This.
22763 * string/Makefile ($(objpfx)tst-svc.out): Replace
22764 $(built-program-cmd) with $(test-program-cmd).
22765
c6fe55cf
AJ
227662013-01-11 Andreas Jaeger <aj@suse.de>
22767
22768 [BZ #15003]
22769 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22770 value. Sync with Linux 3.7.
22771
9e6919c8
DM
227722013-01-10 David S. Miller <davem@davemloft.net>
22773
22774 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22775 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22776 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22777
1c9f1a02
RM
227782013-01-10 Roland McGrath <roland@hack.frob.com>
22779
22780 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22781 never set.
22782 * configure: Regenerated.
22783
b9de2dde
DM
227842013-01-10 David S. Miller <davem@davemloft.net>
22785
22786 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22787 sparc V9 rather than using V8 code.
22788 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22789 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22790
e7f68ef4
RM
227912013-01-10 Roland McGrath <roland@hack.frob.com>
22792
22793 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22794 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22795 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22796 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22797 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22798 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22799 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22800 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22801 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22802 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22803 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22804 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22805 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22806 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22807 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22808 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22809 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22810 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22811 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22812 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22813 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22814 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22815 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22816 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22817 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22818 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22819 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22820
5a47cc9c
DM
228212013-01-10 David S. Miller <davem@davemloft.net>
22822
22823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22824
4cf8f209
L
228252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22826
22827 * posix/Makefile (tests-static): New variable.
22828 (tests): Add $(tests-static).
22829 (tst-exec-static-ARGS): New variable.
22830 (tst-spawn-static-ARGS): Likewise.
22831 * posix/tst-exec-static.c: New file.
22832 * posix/tst-spawn-static.c: Likewise.
22833 * posix/tst-exec.c: Support run directly.
22834 * posix/tst-spawn.c: Likewise.
22835
fed0faa1
JM
228362013-01-10 Joseph Myers <joseph@codesourcery.com>
22837
828beb13
JM
22838 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22839 long.
22840 * math/bits/mathcalls.h (llrint): Likewise.
22841 (llround): Likewise.
22842 * stdlib/stdlib.h (struct drand48_data): Likewise.
22843 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22844 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22845 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22846 Likewise.
22847 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22848 Likewise.
22849 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22850 (elf_greg_t): Likewise.
22851 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22852 (__jmp_buf): Likewise.
22853 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22854 definitions.
22855 (llrint): Likewise, for all definitions.
22856 (llrintl): Likewise.
22857
fed0faa1
JM
22858 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22859 Remove [__GNUC__] condition.
22860 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22861 condition to just [__USE_ISOC99].
22862 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22863
1a20cb20
L
228642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22865
22866 [BZ #14200]
22867 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22868 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22869 defined.
22870 (_POSIX_V6_ILP32_OFF32): Likewise.
22871 (_XBS5_ILP32_OFF32): Likewise.
22872 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22873 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22874
751b85f7
SP
228752013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22876
7490eb81
SP
22877 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22878
751b85f7
SP
22879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22880 doubles __mpexp_twomm1. Adjust usage.
22881 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22882 Remove.
22883
988197f0
AS
228842013-01-10 Andreas Schwab <schwab@suse.de>
22885
22886 [BZ #14964]
22887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22888 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22889
e83d7298
DM
228902013-01-09 David S. Miller <davem@davemloft.net>
22891
034ed64b 22892 [BZ #15003]
57f41c40
AS
22893 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22894 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22895 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22896 (TCP_FASTOPEN): Define.
e83d7298
DM
22897 (tcp_repair_opt): New structure.
22898 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22899 enum values.
57f41c40
AS
22900 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22901 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22902 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22903 (tcp_cookie_transactions): New structure.
22904
d5e0b9bd
AB
229052013-01-09 Anton Blanchard <anton@samba.org>
22906
22907 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22908 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22909 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22910 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22911
0c07e3ea
JM
229122013-01-09 Joseph Myers <joseph@codesourcery.com>
22913
22914 * include/features.h (__USE_ANSI): Remove.
22915
232f7002
RM
229162013-01-09 Roland McGrath <roland@hack.frob.com>
22917
ad98e30c
RM
22918 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22919
232f7002
RM
22920 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22921
950c99ca
SP
229222013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22923
b5792741
SP
22924 * sysdeps/s390/fpu/libm-test-ulps: Update.
22925
47cf2278
SP
22926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22927
950c99ca
SP
22928 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22929 (__acr): Likewise.
22930 (__cpy): Likewise.
22931 (norm): Likewise.
22932 (denorm): Likewise.
22933 (__mp_dbl): Likewise.
22934 (__dbl_mp): Likewise.
22935 (add_magnitudes): Likewise.
22936 (sub_magnitudes): Likewise.
22937 (__add): Likewise.
22938 (__sub): Likewise.
22939 (__mul): Likewise.
22940 (__inv): Likewise.
22941 (__dvd): Likewise.
22942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22943 (__acr): Likewise.
22944 (__cpy): Likewise.
22945 (norm): Likewise.
22946 (denorm): Likewise.
22947 (__mp_dbl): Likewise.
22948 (__dbl_mp): Likewise.
22949 (add_magnitudes): Likewise.
22950 (sub_magnitudes): Likewise.
22951 (__add): Likewise.
22952 (__sub): Likewise.
22953 (__mul): Likewise.
22954 (__inv): Likewise.
22955 (__dvd): Likewise.
22956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22957 (__acr): Likewise.
22958 (__cpy): Likewise.
22959 (norm): Likewise.
22960 (denorm): Likewise.
22961 (__mp_dbl): Likewise.
22962 (__dbl_mp): Likewise.
22963 (add_magnitudes): Likewise.
22964 (sub_magnitudes): Likewise.
22965 (__add): Likewise.
22966 (__sub): Likewise.
22967 (__mul): Likewise.
22968 (__inv): Likewise.
22969 (__dvd): Likewise.
22970
eede9df9
JM
229712013-01-08 Joseph Myers <joseph@codesourcery.com>
22972
22973 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22974 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22975 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22976 2 && __USE_EXTERN_INLINES]: Likewise.
22977
c40ea3d9
AJ
229782013-01-08 Andreas Jaeger <aj@suse.de>
22979
22980 [BZ# 14985]
22981 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22982 Remove.
22983 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22984 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22985
2ccdea26
AB
229862013-01-07 Anton Blanchard <anton@samba.org>
22987
22988 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22989 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22990 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22991 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22992 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22993 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22994 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22995 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22997 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22998 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22999 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23000 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23001 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23002 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23003 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23004 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23005 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23006 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23007 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23008 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23009 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23011 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23012 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23013 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23014 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23015 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23016 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23017 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23018 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23020 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23021 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23022 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23023 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23024 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23025 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23026 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23027 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23028 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23030 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23031
a9708fed
JM
230322013-01-07 Joseph Myers <joseph@codesourcery.com>
23033
375607b9
JM
23034 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23035 (__MALLOC_PMT): Likewise.
23036 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23037 [__GNUC__], only on [_LIBC].
23038 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23039 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23040 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23041 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23042 forward declaration.
23043 (realloc_hook_ini): Likewise.
23044 (memalign_hook_ini): Likewise.
23045 (__libc_memalign): Do not use __MALLOC_PMT in variable
23046 declaration.
23047 (__libc_valloc): Likewise.
23048 (__libc_pvalloc): Likewise.
23049 (__libc_calloc): Likewise.
23050 (__posix_memalign): Likewise.
23051
a9708fed
JM
23052 [BZ #14996]
23053 * math/s_casinh.c: Include <float.h>.
23054 (__casinh): Do not do computation with squaring and square root
23055 for large arguments.
23056 * math/s_casinhf.c: Include <float.h>.
23057 (__casinhf): Do not do computation with squaring and square root
23058 for large arguments.
23059 * math/s_casinhl.c: Include <float.h>.
23060 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23061 (__casinhl): Do not do computation with squaring and square root
23062 for large arguments.
23063 * math/libm-test.inc (casin_test): Add more tests.
23064 (casinh_test): Likewise.
23065 * sysdeps/i386/fpu/libm-test-ulps: Update.
23066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23067
afec409a
L
230682013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23069
23070 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23071 (__x86_64_raw_data_cache_size): Likewise.
23072 (__x86_64_data_cache_size_half): Likewise.
23073 (__x86_64_raw_data_cache_size_half): Likewise.
23074 (__x86_64_shared_cache_size): Likewise.
23075 (__x86_64_raw_shared_cache_size): Likewise.
23076 (__x86_64_shared_cache_size_half): Likewise.
23077 (__x86_64_raw_shared_cache_size_half): Likewise.
23078 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23079 to ...
23080 (__x86_data_cache_size): This.
23081 (__x86_64_raw_data_cache_size): Renamed to ...
23082 (__x86_raw_data_cache_size): This.
23083 (__x86_64_data_cache_size_half): Renamed to ...
23084 (__x86_data_cache_size_half): This.
23085 (__x86_64_raw_data_cache_size_half): Renamed to ...
23086 (__x86_raw_data_cache_size_half): This.
23087 (__x86_64_shared_cache_size): Renamed to ...
23088 (__x86_shared_cache_size): This.
23089 (__x86_64_raw_shared_cache_size): Renamed to ...
23090 (__x86_raw_shared_cache_size): This.
23091 (__x86_64_shared_cache_size_half): Renamed to ...
23092 (__x86_shared_cache_size_half): This.
23093 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23094 (__x86_raw_shared_cache_size_half): This.
23095 * sysdeps/x86_64/memcpy.S: Updated.
23096 * sysdeps/x86_64/memset.S: Likewise.
23097 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23100
0b3986d0
DM
231012013-01-04 David S. Miller <davem@davemloft.net>
23102
23103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23104
e47686e9
AS
231052013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23106
d643bac1
AS
23107 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23108 1 to avoid redefinition warning.
23109 (__USE_GNU): Don't define.
23110 (init_signaling_nan): Protoize.
23111
e47686e9
AS
23112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23113
b18decba
SP
231142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23115
fffb407f
SP
23116 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23118 (__cpymn): Likewise.
23119 (norm): Remove commented code.
23120 (denorm): Likewise.
23121 (__mp_dbl): Likewise.
23122 (__inv): Likewise.
23123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23124 (__cpymn): Likewise.
23125 (norm): Remove commented code.
23126 (denorm): Likewise.
23127 (__mp_dbl): Likewise.
23128 (__inv): Likewise.
23129
b18decba
SP
23130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23131 mp_no value for 1.0 and 2.0.
23132 (norm): Use RADIXI instead of radixi.d.
23133 (denorm): Likewise.
23134 (__mul): Use 0.0 instead of zero.d.
23135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23136 mp_no value for 1.0 and 2.0.
23137 (norm): Use RADIXI instead of radixi.d.
23138 (denorm): Likewise.
23139 (__mul): Use 0.0 instead of zero.d.
23140
cdc1c96f
JM
231412013-01-04 Joseph Myers <joseph@codesourcery.com>
23142
23143 [BZ #14994]
23144 * math/s_casinh.c (__casinh): Reduce finite argument to first
23145 quadrant then set signs of results at the end.
23146 * math/s_casinhf.c (__casinhf): Likewise.
23147 * math/s_casinhl.c (__casinhl): Likewise.
23148 * math/libm-test.inc (casin_test): Add more tests.
23149 (casinh_test): Likewise.
23150 * sysdeps/i386/fpu/libm-test-ulps: Update.
23151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23152
302913e1
SP
231532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23154
6420d207
SP
23155 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23156
a9e48ab4
SP
23157 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23158
b7837264
SP
23159 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23160 declarations.
23161 (denorm): Likewise.
23162 (__mp_dbl): Likewise.
23163 (__inv): Likewise.
23164
f8af25d2
SP
23165 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23166 and adjust the header comment.
23167
302913e1
SP
23168 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23169 variable name from declaration.
23170
5d7dd1ca
L
231712013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23172
23173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23174 Initialize COMMON_CPUID_INDEX_7 element.
23175 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23176 (CPUID_RTM): Likewise.
23177 (HAS_RTM): Likewise.
23178 (COMMON_CPUID_INDEX_7): New enum.
23179
2f5f40f4
AS
231802013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23181
23182 [BZ #14981]
23183 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23184 size is zero, record memory as freed.
23185
4056f4a0
AJ
231862013-01-03 Andreas Jaeger <aj@suse.de>
23187
23188 * po/ia.po: Add new Interlingua translation.
23189
ab15736f 231902012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23191
23192 * locale/programs/localedef.c: Fix description of '--posix' flag.
23193
568035b7
JM
231942013-01-02 Joseph Myers <joseph@codesourcery.com>
23195
e6898b8d
JM
23196 * NEWS: Update dates in second copyright notice.
23197 * README: Update copyright dates in example.
23198 * manual/libc.texinfo: Update copyright dates.
23199 * scripts/test-installation.pl: Update copyright date in --version
23200 output.
23201
0e2f9562
JM
23202 * hurd/ctty-input.c: Fix copyright notice formatting.
23203 * hurd/ctty-output.c: Likewise.
23204 * hurd/dtable.c: Likewise.
23205 * hurd/hurd-raise.c: Likewise.
23206 * hurd/hurdprio.c: Likewise.
23207 * hurd/msgportdemux.c: Likewise.
23208 * misc/sys/file.h: Likewise.
23209 * misc/sys/ioctl.h: Likewise.
23210 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23211 * sysdeps/mach/hurd/chdir.c: Likewise.
23212 * sysdeps/mach/hurd/fchdir.c: Likewise.
23213 * sysdeps/mach/hurd/rename.c: Likewise.
23214 * sysdeps/mach/hurd/rmdir.c: Likewise.
23215 * sysdeps/mach/hurd/seekdir.c: Likewise.
23216 * sysdeps/mach/hurd/setsid.c: Likewise.
23217 * sysdeps/posix/wait3.c: Likewise.
23218
568035b7
JM
23219 * All files with FSF copyright notices: Update copyright dates
23220 using scripts/update-copyrights.
23221 * intl/plural.c: Regenerated.
23222 * locale/programs/charmap-kw.h: Likewise.
23223 * locale/programs/locfile-kw.h: Likewise.
23224
da08f647
SP
232252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23226
0f5477af
SP
23227 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23228 four values.
23229
44e0d4c2
SP
23230 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23231 calculation loop and add branch prediction.
23232
4d55b4e5
SP
23233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23234 check access beyond bounds of m1np.
23235
da08f647
SP
23236 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23237 MPTWO.
23238 (__inv): Remove local variable MPTWO to use the global
23239 constant.
23240 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23242 variable MPTWO.
23243 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23244 MP3HALFS static const.
23245
8e051029
DM
232462013-01-01 David S. Miller <davem@davemloft.net>
23247
23248 * po/ca.po: Update from translation team.
23249
f4cf5f2d
JM
232502013-01-01 Joseph Myers <joseph@codesourcery.com>
23251
23252 * scripts/update-copyrights: New file.
23253 * Makeconfig: Reformat copyright notice.
23254 * ctype/ctype.h: Likewise.
23255 * debug/swprintf_chk.c: Likewise.
23256 * elf/dl-cache.c: Likewise.
23257 * elf/dl-debug.c: Likewise.
23258 * elf/dl-object.c: Likewise.
23259 * grp/initgroups.c: Likewise.
23260 * hurd/Makefile: Likewise.
23261 * hurd/hurd/signal.h: Likewise.
23262 * hurd/hurdfault.c: Likewise.
23263 * hurd/hurdioctl.c: Likewise.
23264 * hurd/hurdlookup.c: Likewise.
23265 * hurd/intr-msg.c: Likewise.
23266 * iconv/gconv_open.c: Likewise.
23267 * libio/swprintf.c: Likewise.
23268 * locale/lc-ctype.c: Likewise.
23269 * locale/nl_langinfo.c: Likewise.
23270 * mach/Machrules: Likewise.
23271 * mach/Makefile: Likewise.
23272 * malloc/obstack.h: Likewise.
23273 * manual/Makefile: Likewise.
23274 * manual/tsort.awk: Likewise.
23275 * misc/bits/stab.def: Likewise.
23276 * nis/nis_print_group_entry.c: Likewise.
23277 * nis/nis_table.c: Likewise.
23278 * nis/nss_compat/compat-pwd.c: Likewise.
23279 * nis/nss_compat/compat-spwd.c: Likewise.
23280 * po/Makefile: Likewise.
23281 * posix/fnmatch.c: Likewise.
23282 * posix/regex.h: Likewise.
23283 * resolv/Makefile: Likewise.
23284 * resolv/nss_dns/dns-network.c: Likewise.
23285 * resolv/res_hconf.c: Likewise.
23286 * scripts/gen-sorted.awk: Likewise.
23287 * soft-fp/soft-fp.h: Likewise.
23288 * stdio-common/printf.h: Likewise.
23289 * stdlib/monetary.h: Likewise.
23290 * stdlib/random.c: Likewise.
23291 * stdlib/random_r.c: Likewise.
23292 * sysdeps/generic/Makefile: Likewise.
23293 * sysdeps/gnu/Makefile: Likewise.
23294 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23298 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23322 * sysdeps/mach/hurd/errnos.awk: Likewise.
23323 * sysdeps/mach/hurd/fork.c: Likewise.
23324 * sysdeps/mach/hurd/getcwd.c: Likewise.
23325 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23326 * sysdeps/mach/hurd/mmap.c: Likewise.
23327 * sysdeps/mach/hurd/utimes.c: Likewise.
23328 * sysdeps/mach/hurd/xmknod.c: Likewise.
23329 * sysdeps/posix/profil.c: Likewise.
23330 * sysdeps/posix/readdir_r.c: Likewise.
23331 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23332 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23333 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23334 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23336 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23337 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23340 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23341 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23342 * sysdeps/pthread/lio_listio.c: Likewise.
23343 * sysdeps/sparc/dl-procinfo.h: Likewise.
23344 * sysdeps/unix/i386/sysdep.S: Likewise.
23345 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23346 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23347 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23348 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23350 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23351 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23352 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23353 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23354 * sysdeps/wordsize-32/divdi3.c: Likewise.
23355 * time/sys/time.h: Likewise.
23356 * wcsmbs/Makefile: Likewise.
23357
0549fbba
DM
233582013-01-01 David S. Miller <davem@davemloft.net>
23359
a141f1a7
DM
23360 * po/fr.po: Update from translation team.
23361
0549fbba
DM
23362 * catgets/gencat.c: Update copyright year.
23363 * csu/version.c: Likewise.
23364 * debug/catchsegv.sh: Likewise.
23365 * debug/pcprofiledump.c: Likewise.
23366 * debug/xtrace.sh: Likewise.
23367 * elf/ldconfig.c: Likewise.
23368 * elf/ldd.bash.in: Likewise.
23369 * elf/pldd.c: Likewise.
23370 * elf/sotruss.ksh: Likewise.
23371 * elf/sprof.c: Likewise.
23372 * iconv/iconv_prog.c: Likewise.
23373 * iconv/iconvconfig.c: Likewise.
23374 * locale/programs/locale.c: Likewise.
23375 * locale/programs/localedef.c: Likewise.
23376 * login/programs/pt_chown.c: Likewise.
23377 * malloc/memusage.sh: Likewise.
23378 * malloc/memusagestat.c: Likewise.
23379 * malloc/mtrace.pl: Likewise.
23380 * nscd/nscd.c: Likewise.
23381 * nss/getent.c: Likewise.
23382 * nss/makedb.c: Likewise.
23383 * posix/getconf.c: Likewise.
23384
18ea052c
SP
233852012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23386
23387 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23388 numbers.
23389
9c89fca6
MF
233902012-12-30 Mike Frysinger <vapier@gentoo.org>
23391
23392 * math/bits/mathcalls.h (modf): Use __nonnull.
23393
085ec079
SP
233942012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23395
23396 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23397 (split): Use macro CN instead of the bare value.
23398 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23399 could be used.
23400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23401 instead of the bare value.
23402 (power1): Likewise.
23403
6d9f97e1
SP
234042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23405
d63f73be
SP
23406 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23407 __ATAN_TWOM.
23408 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23409
6d9f97e1
SP
23410 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23411 their values.
23412 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23413 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23414 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23415 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23416
4c4febf5
AJ
234172012-12-28 Andreas Jaeger <aj@suse.de>
23418
af5843ef
AJ
23419 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23420 values are from Linux 3.7.
23421
4c4febf5
AJ
23422 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23423 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23424
99136f82
SP
234252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23426
2f216c3c 23427 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23428 TRUE case.
23429
99136f82
SP
23430 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23431 (norm): Likewise.
23432 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23433 variables with preprocessor constants.
23434 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23435 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23436 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23437
7fffbdff
BH
234382012-12-27 Bruno Haible <bruno@clisp.org>
23439
23440 [BZ #14317]
23441 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23442 only if needed.
23443
b76eb5f0
SP
234442012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23445
31a7fe5c
SP
23446 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23447 and use variable directly.
23448 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23449
b76eb5f0
SP
23450 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23451 MPONE.
23452 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23453 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23454 variable MPONE.
23455 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23457 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23458 include directive. Remove local variable MPONE.
23459 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23460 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23461 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23462
2c8bfe7d
DM
234632012-12-25 David S. Miller <davem@davemloft.net>
23464
23465 * version.h (RELEASE): Set to "development".
23466 (VERSION): Set to "2.17.90".
23467 * NEWS: Add 2.18 section.
23468
147d03b0
DM
234692012-12-21 David S. Miller <davem@davemloft.net>
23470
23471 * po/hr.po: Update from translation team.
23472
a8ebb2b9
AK
234732012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23474
23475 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23476
95b4f1b6
SE
234772012-12-19 Steve Ellcey <sellcey@mips.com>
23478
b2d94007 23479 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23480
cedb2a90
MS
234812012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23482
23483 * manual/contrib.texi (Contributors): Spelling correction.
23484
bbf527d6
DM
234852012-12-15 David S. Miller <davem@davemloft.net>
23486
23487 * po/ru.po: Update from translation team.
23488
bc38c906
DM
234892012-12-13 David S. Miller <davem@davemloft.net>
23490
85429b1a
DM
23491 * NEWS: Mention IFUNC testsuite enhancements.
23492
d283e353
DM
23493 * po/pl.po: Update from translation team.
23494 * po/bg.po: Likewise.
23495
bc38c906
DM
23496 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23497 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23498
a181b0d7
DM
234992012-12-11 David S. Miller <davem@davemloft.net>
23500
4641d57e
DM
23501 * po/sv.po: Update from translation team.
23502
f7bc6495
DM
23503 * po/vi.po: Update from translation team.
23504
6fc9048f
DM
23505 * po/cs.po: Update from translation team.
23506
a181b0d7
DM
23507 * po/de.po: Update from translation team.
23508 * po/eo.po: Likewise.
23509 * po/nl.po: Likewise.
23510
f70bfe80
SP
235112012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23512
3c8b4190
SP
23513 [BZ #14246]
23514 * manual/argp.texi (Argp Helper Functions): Move node to follow
23515 Argp Parsing State.
23516
f70bfe80
SP
23517 [BZ #14872]
23518 * manual/conf.texi (Limits on File System Capacity): Mention if
23519 terminating null is included in the max size.
23520
188f0adf
AJ
235212012-12-10 Andreas Jaeger <aj@suse.de>
23522
23523 * po/cs.po: Update from translation team.
23524
56e7d3ad
SP
235252012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23526
23527 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23528 void pointer and cast to uintptr_t.
23529 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23530 path.
23531 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23532 * sysdeps/s390/s390-64/memset.S: Likewise.
23533
76f2d2ea 235342012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23535
23536 [BZ #14833]
23537 * menual/message.texi (Message Translation): Fix typos.
23538 (Helper programs for gettext): Likewise.
23539
67cbf9a2
AS
235402012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23541
23542 [BZ #14898]
23543 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23544 Change to -1.
23545
682d0e9a
DM
235462012-12-07 David S. Miller <davem@davemloft.net>
23547
23548 * po/libc.pot: Update.
23549
573cd484
RH
235502012-12-07 Richard Henderson <rth@redhat.com>
23551
7e9da188 23552 [BZ #10114]
573cd484
RH
23553 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23554 normal/normal case to before the switch.
23555 (_FP_DIV): Likewise.
23556
e933a943
MF
235572012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23558 Mike Frysinger <vapier@gentoo.org>
23559
23560 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23561 check for __NR_fadvise64_64.
23562
82123268
CM
235632012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23564
23565 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23566 0, not just to plain "0" as a statement.
23567 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23568 with cw.
23569
d9814526
JM
235702012-12-06 Joseph Myers <joseph@codesourcery.com>
23571
23572 * NEWS: Use sourceware.org in Bugzilla URL.
23573
7728c574
SP
235742012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23575
f16946dd
SP
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23577 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23578
5704bbcb
SP
23579 * stdio-common/tst-put-error.c (do_test): Add newline to the
23580 padded test to ensure flush.
23581
17aa0516
JL
235822012-12-05 Jeff Law <law@redhat.com>
23583
23584 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23585
363313b5
JM
235862012-12-05 Joseph Myers <joseph@codesourcery.com>
23587
effbd42a
JM
23588 * README: Don't refer to ports add-on as distributed separately.
23589 Mention AArch64 in list of systems supported in the ports add-on.
23590
87600365
JM
23591 * LICENSES: Add more non-FSF copyright and license notices.
23592
a0d7066a
JM
23593 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23594 ((unused)).
23595
66ca5a5b
JM
23596 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23597
363313b5
JM
23598 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23599 10000 as width of padded output.
23600
b37984ad
JM
236012012-12-04 Joseph Myers <joseph@codesourcery.com>
23602
9003570a
JM
23603 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23604
b37984ad
JM
23605 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23606 variable LX with __attribute__ ((unused)).
23607 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23608 Likewise.
23609 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23612 with __attribute__ ((unused)).
23613
c8df52ec
DM
236142012-12-04 David S. Miller <davem@abraco.davemloft.net>
23615
23616 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23617
b3b099af
JM
236182012-12-04 Joseph Myers <joseph@codesourcery.com>
23619
c33aa6e3
JM
23620 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23621 (CFLAGS-nldbl-acos.c): New variable.
23622 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23623 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23624 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23625 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23626 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23627 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23628 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23629 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23630 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23631 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23632 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23633 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23634 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23719
20f0018d
JM
23720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23721 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23722
b3b099af
JM
23723 [BZ #14914]
23724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23725 whole low double instead of just low 47 bits when splitting values
23726 into two parts.
23727
029264d1
AM
237282012-12-03 Allan McRae <allan@archlinux.org>
23729
23730 * manual/stdio.texi (Predefined Printf Handlers): Remove
23731 @hsep and @vsep usage.
23732
c9d6789e
MF
237332012-12-03 Mike Frysinger <vapier@gentoo.org>
23734
23735 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23736 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23737
4b7634a5
JL
237382012-12-03 Jeff Law <law@redhat.com>
23739
23740 * time/sys/time.h (settimeofday): Do not mark TV argument
23741 as __nonnull.
23742
eb6cbd24
MF
237432012-12-01 Mike Frysinger <vapier@gentoo.org>
23744
23745 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23746 when currently writing and seek to current position when not.
23747 * libio/Makefile (tests): Remove bug-fclose1.
23748 * libio/bug-fclose1.c: Delete.
23749
f638872a
JM
237502012-12-01 Joseph Myers <joseph@codesourcery.com>
23751
23752 * manual/arith.texi (feenableexcept): Fix typo.
23753 (fedisableexcept): Likewise.
23754
48085d14
RM
237552012-11-30 Roland McGrath <roland@hack.frob.com>
23756
23757 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23758 second, differently-typed declaration, rather than a cast.
23759
1a538b9f
SP
237602012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23761
23762 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23763 * include/rpc/svc.h: ... here.
23764
d07f2ff1 237652012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23766
23767 [BZ #13013]
23768 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23769 depending n and resplen2 to catch cases where answer
23770 equals answerp2.
23771
c93ec1f0
CD
237722012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23773
23774 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23775 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23776
37db69de
MF
237772012-11-29 Mike Frysinger <vapier@gentoo.org>
23778
23779 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23780
e10c4e4f
RM
237812012-11-29 Roland McGrath <roland@hack.frob.com>
23782
23783 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23784
2af1b328
JL
237852012-11-28 Jeff Law <law@redhat.com>
23786
23787 [BZ #13761]
23788 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23789 dataset_temporary. Track alloca usage into alloca_used.
23790 If dataset is large allocate and release it via malloc/free.
23791
111db5b1
FW
237922012-06-04 Florian Weimer <fweimer@redhat.com>
23793
f06cc227 23794 [BZ #14197]
111db5b1
FW
23795 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23796
dd694abd
DM
237972012-11-28 David S. Miller <davem@davemloft.net>
23798
23799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23800
9984dd01
JM
238012012-11-28 Joseph Myers <joseph@codesourcery.com>
23802
23803 [BZ #14803]
23804 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23805 of pi/2 rounded to nearest to 64 bits.
23806 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23807 nearest to 64 bits.
23808 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23809 bits.
23810
14bc93a9
JL
238112012-11-28 Jeff Law <law@redhat.com>
23812 Martin Osvald <mosvald@redhat.com>
23813
23814 [BZ #14889]
23815 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23816 * sunrpc/svc.c: Include time.h.
23817 (__svc_accept_failed): New function.
23818 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23819 any reason other than EINTR, call __svc_accept_failed.
23820 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23821 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23822
e3c6aa3a
AS
238232012-11-28 Andreas Schwab <schwab@suse.de>
23824
23825 * scripts/abilist.awk: Also handle indirect functions in .opd
23826 section.
23827
1bead169
JM
238282012-11-28 Joseph Myers <joseph@codesourcery.com>
23829
23830 [BZ #13881]
23831 * sysdeps/x86/fpu/powl_helper.c: New file.
23832 * sysdeps/x86/fpu/Makefile: Likewise.
23833 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23834 (p3): New object.
23835 (__ieee754_powl): Use __powl_helper for finite arguments except
23836 integer exponents below 8.
23837 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23838 (p3): New object.
23839 (__ieee754_powl): Use __powl_helper for finite arguments except
23840 integer exponents below 8.
23841 * math/libm-test.inc (pow_test): Add more tests and enable some
23842 previously disabled tests.
23843 * sysdeps/i386/fpu/libm-test-ulps: Update.
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845
0817d63d
SP
238462012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23847 Carlos O'Donell <carlos_odonell@mentor.com>
23848
23849 * nss/makedb.c (is_prime): Assert that input is odd and greater
23850 than 4. Note that fact in a comment too.
23851 (next_prime): Add 4 to input.
23852
de2fd463
SP
238532012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23854
23855 [BZ #11741]
23856 * libio/Makefile (tests): Add test case tst-fwrite-error.
23857 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23858 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23859 * libio/tst-fwrite-error.c: New test case.
23860
c515fb51
L
238612012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23862
23863 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23864 before casting to void *.
23865 * include/libc-internal.h (__pointer_type): New macro.
23866 (__integer_if_pointer_type_sub): Likewise.
23867 (__integer_if_pointer_type): Likewise.
23868 (cast_to_integer): Likewise.
23869 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23870 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23871 before casting to atomic64_t.
23872 (atomic_exchange_acq): Likewise.
23873 (__arch_exchange_and_add_body): Likewise.
23874 (__arch_add_body): Likewise.
23875 (atomic_add_negative): Likewise.
23876 (atomic_add_zero): Likewise.
23877
4cf77aa9
JM
238782012-11-26 Joseph Myers <joseph@codesourcery.com>
23879
23880 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23881 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23882 (add_fdes): Likewise.
23883 (linear_search_fdes): Likewise.
23884 (binary_search_unencoded_fdes): Likewise.
23885
d260b3b4
AS
238862012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23887
23888 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23889
67060746
AC
238902012-11-24 Adam Conrad <adconrad@0c3.net>
23891
23892 * configure.in: Autodetect C++ header directories.
23893 * configure: Regenerated.
23894
800938a1
MF
238952012-11-23 Mike Frysinger <vapier@gentoo.org>
23896
23897 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23898
4e6e34e6
AS
238992012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23900
23901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23902
7c7feb47
JM
239032012-11-22 Joseph Myers <joseph@codesourcery.com>
23904
7184dcdf
JM
23905 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23906 LDBL_MANT_DIG == 106]: Disable some tests.
23907 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23908 Likewise.
23909 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23910 Likewise.
23911
0a42601f
JM
23912 [BZ #14871]
23913 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23914 input for small inputs. Return +/- pi/2 for large inputs.
23915 * math/libm-test.inc (atan_test): Add more tests.
23916
79c9b9fe
JM
23917 * sysdeps/generic/unwind-dw2-fde-glibc.c
23918 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23919 __attribute__ ((unused)).
23920
c60d3bf2
JM
23921 [BZ #14645]
23922 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23923 x * y if x and y are nonzero and z is zero.
23924
ef1e0867
JM
23925 [BZ #14811]
23926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23927 nonzero exponents with absolute value below 0x1p-117 to +/-
23928 0x1p-117.
23929
1468ded3
JM
23930 [BZ #14869]
23931 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23932 up arguments below 2**-450, not just those below 2**-500.
23933 * math/libm-test.inc (hypot_test): Add another test.
23934
8e27e3cc
JM
23935 [BZ #14868]
23936 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23937 Return a+b for ratio over 2**120, not 2**60.
23938 * math/libm-test.inc (hypot_test): Add another test.
23939
c9c0279b
JM
23940 * math/libm-test.inc (clog_test): Use
23941 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23942 (clog10_test): Likewise.
23943
7c7feb47
JM
23944 [BZ #6778]
23945 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23946
fff1530e
AS
239472012-11-22 Andreas Schwab <schwab@suse.de>
23948
23949 * sysdeps/i386/fpu/libm-test-ulps: Update.
23950
94558d30
PT
239512012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23952
23953 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23954 printf output with newline.
23955
7e1be741
L
239562012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23957
6bfea974
L
23958 [BZ #14865]
23959 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23960 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23961 -z nodlopen, -z initfirst and -z execstack support.
23962 * configure: Regenerated.
23963
7e1be741
L
23964 * elf/elf.h (DF_1_NODIRECT): New macro.
23965 (DF_1_IGNMULDEF): Likewise.
23966 (DF_1_NOKSYMS): Likewise.
23967 (DF_1_NOHDR): Likewise.
23968 (DF_1_EDITED): Likewise.
23969 (DF_1_NORELOC): Likewise.
23970 (DF_1_SYMINTPOSE): Likewise.
23971 (DF_1_GLOBAUDIT): Likewise.
23972 (DF_1_SINGLETON): Likewise.
23973 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23974 DT_1_SUPPORTED_MASK bits.
23975 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23976
105ce2ce
CD
239772012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23978
23979 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23980
123be9de
TS
239812012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23982
d072f3f7
TS
23983 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23984 macro.
23985
123be9de
TS
23986 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23987 (sendmmsg): Move declarations...
23988 * socket/sys/socket.h: ... here.
23989 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23990 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23991 include it from...
23992 * socket/recvmmsg.c: ... this new file.
23993 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23994 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23995 definition of __sendmmsg hidden.
23996 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23997 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23998 Move ENOSYS stub into and include it from...
23999 * socket/sendmmsg.c: ... this new file.
24000 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24001 (sysdep_routines): Move recvmmsg and sendmmsg...
24002 * socket/Makefile (routines): ... here.
24003 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24004 (GLIBC_PRIVATE): Add __sendmmsg.
24005 * include/sys/socket.h (__sendmmsg): Add declarations.
24006 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24007 sendmmsg.
24008
cf9a5d18
JM
240092012-11-20 Joseph Myers <joseph@codesourcery.com>
24010
24011 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24012 variable I1 with __attribute__ ((unused)).
24013 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24014
ecd4caf9
JM
240152012-11-19 Joseph Myers <joseph@codesourcery.com>
24016
be14d48f
JM
24017 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24018 DUMMY variables with __attribute__ ((unused)).
24019
ecd4caf9
JM
24020 * bits/byteswap.h: Include <bits/types.h>.
24021 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24022
986cab95
PT
240232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24024
24025 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24026 string_t. Do not manually set errno.
24027 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24028 length with __strnlen. Make sure to both set errno and return it on
24029 failure.
24030
6d33cc9d
DM
240312012-11-19 David S. Miller <davem@davemloft.net>
24032
24033 With help from Joseph Myers.
24034 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24035 very large arguments properly.
24036 * math/libm-test.inc (atan_test): New tests.
24037 (atan2_test): New tests.
24038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24040
ee663277
JM
240412012-11-19 Joseph Myers <joseph@codesourcery.com>
24042
877f2d8e
JM
24043 [BZ #14856]
24044 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24045 Define to 3.
24046
116fc08a
JM
24047 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24048 [POSIX] (EADDRNOTAVAIL): Likewise.
24049 [POSIX] (EAFNOSUPPORT): Likewise.
24050 [POSIX] (EALREADY): Likewise.
24051 [POSIX] (ECONNABORTED): Likewise.
24052 [POSIX] (ECONNREFUSED): Likewise.
24053 [POSIX] (ECONNRESET): Likewise.
24054 [POSIX] (EDESTADDRREQ): Likewise.
24055 [POSIX] (EDQUOT): Likewise.
24056 [POSIX] (EHOSTUNREACH): Likewise.
24057 [POSIX] (EIDRM): Likewise.
24058 [POSIX] (EISCONN): Likewise.
24059 [POSIX] (ELOOP): Likewise.
24060 [POSIX] (EMULTIHOP): Likewise.
24061 [POSIX] (ENETDOWN): Likewise.
24062 [POSIX] (ENETUNREACH): Likewise.
24063 [POSIX] (ENOBUFS): Likewise.
24064 [POSIX] (ENODATA): Likewise.
24065 [POSIX] (ENOLINK): Likewise.
24066 [POSIX] (ENOMSG): Likewise.
24067 [POSIX] (ENOPROTOOPT): Likewise.
24068 [POSIX] (ENOSR): Likewise.
24069 [POSIX] (ENOSTR): Likewise.
24070 [POSIX] (ENOTCONN): Likewise.
24071 [POSIX] (ENOTSOCK): Likewise.
24072 [POSIX] (EOPNOTSUPP): Likewise.
24073 [POSIX] (EOVERFLOW): Likewise.
24074 [POSIX] (EPROTO): Likewise.
24075 [POSIX] (EPROTONOSUPPORT): Likewise.
24076 [POSIX] (EPROTOTYPE): Likewise.
24077 [POSIX] (ESTALE): Likewise.
24078 [POSIX] (ETIME): Likewise.
24079 [POSIX] (ETXTBSY): Likewise.
24080 [POSIX] (EWOULDBLOCK): Likewise.
24081 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24082 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24083 [POSIX] (SEEK_CUR): Likewise.
24084 [POSIX] (SEEK_END): Likewise.
24085 [POSIX || UNIX98] (mode_t): Do not require.
24086 [POSIX] (off_t): Likewise.
24087 [POSIX] (pid_t): Likewise.
24088 [POSIX] (sys/stat.h): Do not allow header.
24089 [POSIX] (unistd.h): Likewise.
24090 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24091 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24092 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24093 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24094 require.
24095 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24096 sigevent): Specify elements.
24097 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24098 entry.
24099 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24100 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24101
a483863f
JM
24102 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24103 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24104 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24105 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24106 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24107 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24108 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24109 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24110 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24111 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24112 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24113 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24114 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24115 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24116 Likewise.
24117 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24118 Likewise.
24119 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24120 Likewise.
24121 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24122 Likewise.
24123 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24124 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24125 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24126 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24127 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24128 Specify lower bound on value.
24129 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24131 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24132 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24135 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24136 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24137 value.
24138 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24139 as optional.
24140 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24141 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24147 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24152 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24153 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24156 entry.
24157 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24158 optional.
24159 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24165 Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24171 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24172 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24173 as optional.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24178 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24179 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24180 specify as optional.
24181 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24184 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24185 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24186 [XPG3] (NL_LANGMAX): Likewise.
24187 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24188 [POSIX || XPG3] (NL_NMAX): Likewise.
24189 [POSIX || XPG3] (NL_SETMAX): Likewise.
24190 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24191 [XPG3] (NZERO): Likewise.
24192 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24193 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24194 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24195 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24196 (REG_ERANGE): Expect.
24197 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24198 optional-constant.
24199 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24200 Use (void) in prototype.
24201 [POSIX] (*_t): Allow.
24202 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24203 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24204 (WRDE_BADVAL): Expect.
24205
5ba924e3
JM
24206 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24207 expect.
24208 [XPG3 || XPG4] (O_RSYNC): Likewise.
24209 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24210 Likewise.
24211 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24212 [XPG3 || XPG4] (sigqueue): Likewise.
24213 [XPG3 || XPG4] (sigtimedwait): Likewise.
24214 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24215 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24216 [XPG3 || XPG4] (vsnprintf): Likewise.
24217 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24218 Likewise.
24219 [XPG3 || XPG4] (blksize_t): Likewise.
24220 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24221 Likewise.
24222 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24223 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24224 [XPG3 || XPG4] (struct itimerspec): Likewise.
24225 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24226 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24227 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24228 [XPG3 || XPG4] (clockid_t): Likewise.
24229 [XPG3 || XPG4] (timer_t): Likewise.
24230 [XPG3 || XPG4] (clock_getres): Likewise.
24231 [XPG3 || XPG4] (clock_gettime): Likewise.
24232 [XPG3 || XPG4] (clock_settime): Likewise.
24233 [XPG3 || XPG4] (nanosleep): Likewise.
24234 [XPG3 || XPG4] (timer_create): Likewise.
24235 [XPG3 || XPG4] (timer_delete): Likewise.
24236 [XPG3 || XPG4] (timer_gettime): Likewise.
24237 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24238 [XPG3 || XPG4] (timer_settime): Likewise.
24239 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24240 [XPG3 || XPG4] (getlogin_r): Likewise.
24241 [XPG3 || XPG4] (pread): Likewise.
24242 [XPG3 || XPG4] (pthread_atfork): Likewise.
24243 [XPG3 || XPG4] (pwrite): Likewise.
24244
ee663277
JM
24245 [BZ #14835]
24246 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24247 <bits/siginfo.h>.
24248
942caa16
PT
242492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24250
e19af380
PT
24251 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24252 finalizing MALLSTREAM.
24253
942caa16
PT
24254 * sysdeps/mach/hurd/syncfs.c: New file.
24255
cfde9b46
SP
242562012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24257
24258 [BZ #14719]
24259 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24260 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24261 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24262 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24263 (_nss_dns_gethostbyname4_r): Likewise.
24264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24265 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24266
f6da27e5
PH
242672012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24268
24269 [BZ #13763]
24270 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24271
6665d4a2
SM
242722012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24273
1f51ee92
SM
24274 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24275 * elf/cache.c (print_entry): Print ",AArch64" for
24276 FLAG_AARCH64_LIB64
24277
6665d4a2
SM
24278 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24279 * elf/cache.c (print_entry): Print ",hard-float" for
24280 FLAG_ARM_LIBHF.
24281
05b227bd
DM
242822012-11-18 David S. Miller <davem@davemloft.net>
24283
24284 With help from Joseph Myers.
24285 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24286 cutoff to 2**-13.
24287 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24288 cutoff to 2**-25.
24289 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24290 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24291 small.
24292 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24293 * math/libm-test.inc (y0_test): New tests.
24294 (y1_test): New tests.
24295 * sysdeps/i386/fpu/libm-test-ulps: Update.
24296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24298
786b0b67
AS
242992012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24300
24301 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24302 64-bit targets.
24303 * configure: Regenerated.
24304
8e18b86d
DM
243052012-11-17 David S. Miller <davem@davemloft.net>
24306
24307 [BZ #14811]
24308 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24309 nonzero exponents with absolute value below 0x1p-128 to +/-
24310 0x1p-128.
24311
531f1ae0
JM
243122012-11-17 Joseph Myers <joseph@codesourcery.com>
24313
12df29e2
JM
24314 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24315
150dc1a0
JM
24316 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24317
531f1ae0
JM
24318 * posix/getconf-speclist.c: New file.
24319 * posix/posix-envs.def: Likewise.
24320 * posix/confstr.c (START_ENV_GROUP): New macro.
24321 (END_ENV_GROUP): Likewise.
24322 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24323 (KNOWN_PRESENT_ENV_STRING): Likewise.
24324 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24325 (UNKNOWN_ENVIRONMENT): Likewise.
24326 (confstr): Include posix-envs.def instead of handling
24327 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24328 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24329 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24330 (END_ENV_GROUP): Likewise.
24331 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24332 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24333 (UNKNOWN_ENVIRONMENT): Likewise.
24334 (__sysconf): Include posix-envs.def instead of handling associated
24335 cases directly here.
24336 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24337 preprocessing getconf-speclist.c rather than running getconf or
24338 generating empty file.
24339
a93f9cbc
PT
243402012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24341
24342 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24343
d64d9f87
AL
243442012-11-16 Andrej Lajovic <natrij@gmail.com>
24345
24346 [BZ #14672]
24347 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24348
447885eb
DM
243492012-11-16 David S. Miller <davem@davemloft.net>
24350
24351 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24352 smaller than LDBL_EPSILON/2.0L, just return xm1.
24353
bcbf9830
L
243542012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24355
24356 * elf/tst-array1.c (init): Set constructor priority to 1000.
24357 (fini): Set destructor priority to 1000.
24358 * elf/tst-array2dep.c: Likewise.
24359
2b766585
SP
243602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24361
24362 [BZ #11741]
24363 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24364 (_IO_new_file_xsputn): Also return EOF if none of the input
24365 data was written when overflow failed.
24366 * libio/iopadn.c (_IO_padn): Likewise.
24367 * libio/iowpadn.c (_IO_wpadn): Likewise.
24368 * stdio-common/tst-put-error.c: Add copyright notice.
24369 (do_test): Add case for printing padded string.
24370 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24371 _IO_padn returned error.
24372 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24373 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24374 return EOF.
24375
b1848fde
SP
243762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24377
24378 * libio/libioP.h: Add comment note that the references to C++
24379 bits are now obsolete.
24380
2fd89785
MS
243812012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24382
24383 * math/libm-test.inc (check_complex): Use asprintf.
24384
e3ea5409
JM
243852012-11-14 Joseph Myers <joseph@codesourcery.com>
24386
24387 * debug/pcprofiledump.c (print_version): Update copyright year.
24388 * malloc/memusagestat.c (print_version): Likewise.
24389
2e64d265
L
243902012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24391
24392 [BZ #14831]
24393 * elf/Makefile (tests): Add tst-audit8.
24394 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24395 ($(objpfx)tst-audit8.out): New target.
24396 (tst-audit8-ENV): New variable.
24397 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24398 audit if l_reloc_result is NULL.
24399 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24400 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24401 * elf/tst-audit8.c: New file.
24402
c485e4d2
MS
244032012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24404
24405 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24406 * misc/Makefile (CFLAGS-select.c): Define.
24407 * posix/Makefile (CFLAGS-pause.c): Define.
24408
3a0d900a
DM
244092012-11-13 David S. Miller <davem@davemloft.net>
24410
24411 * crypt/Makefile: Move test targets after toplevel Rules
24412 inclusion. Grab any necessary sysdep routines when linking.
24413 * crypt/md5.c (md5_process_block): Remove define, we will always
24414 name it __md5_process_block.
24415 (md5_finish_ctx): Update md5_process_block call.
24416 (md5_stream): Likewise.
24417 (md5_process_bytes): Likewise.
24418 (md5_process_block): Rename to __md5_process_block and move to ...
24419 * crypt/md5-block.c: ... here.
24420 * crypt/sha256.c (sha256_process_block): Move to ...
24421 * crypt/sha256-block.c: ... here.
24422 * crypt/sha512.c (sha512_process_block): Move to ...
24423 * crypt/sha512-block.c: ... here.
24424 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24425 path.
24426 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24427 * sysdeps/sparc/sparc64/multiarch/Makefile
24428 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24429 crypt subdir.
24430 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24431 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24432 multiarch changes.
24433 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24434 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24435 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24436 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24437 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24438 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24439 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24440 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24441 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24442 file.
24443 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24444 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24445 file.
24446 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24447
8ca89318
JM
244482012-11-13 Joseph Myers <joseph@codesourcery.com>
24449
e27d476a
JM
24450 * timezone/tzselect.ksh: Update from tzcode git revision
24451 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24452 * timezone/zdump.c: Likewise.
24453 * timezone/zic.c: Likewise.
24454 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24455 in TZVERSION setting, not $(PKGVERSION).
24456 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24457 REPORT_BUGS_TO settings.
24458
8ca89318
JM
24459 [BZ #14838]
24460 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24461 macro.
24462
47594329
MS
244632012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24464
24465 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24466 detection to immediately after _FP_ROUND().
24467 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24468 bits are 0.
24469
640ac3f1
DM
244702012-11-11 David S. Miller <davem@davemloft.net>
24471
24472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24473 inttypes.h
24474 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24475 __close rather than their public counterparts.
24476
3d2577bb
JM
244772012-11-10 Joseph Myers <joseph@codesourcery.com>
24478
24479 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24480 file.
24481 [UNIX98] (sem_timedwait): Do not expect.
24482 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24483 [XPG4 || UNIX98] (sockatmark): Do not expect.
24484 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24485 (clock_getcpuclockid): Do not expect.
24486 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24487 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24488 Do not expect.
24489 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24490 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24491 [UNIX98] (vwscanf): Likewise.
24492 [UNIX98] (vswscanf): Likewise.
24493
fb1ae1ee
JM
244942012-11-09 Joseph Myers <joseph@codesourcery.com>
24495
9ec6f8bd
JM
24496 * timezone/version.h: Remove file.
24497 * timezone/README: Do not refer to version.h.
24498 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24499 $(objpfx)version.h.
24500 ($(objpfx)zdump.o): Likewise.
c3f81911 24501 ($(objpfx)version.h): New target.
9ec6f8bd 24502
0aa8f8a1
JM
24503 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24504 2012i.
24505 * timezone/README: Don't mention modification to tzselect.ksh.
24506 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24507 work on unmodified tzselect.ksh. Substitute version numbers in
24508 tzselect.ksh.
24509
4e87147f
JM
24510 * Makefile (format-me): Remove.
24511 (INSTALL): Adjust indentation. Use commands directly instead of
24512 using $(format-me).
24513
8b748aed
JM
24514 * aclocal.m4 (ACX_PKGVERSION): New macro.
24515 (ACX_BUGURL): Likewise.
24516 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24517 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24518 (REPORT_BUGS_TO): Likewise.
24519 * configure: Regenerated.
24520 * config.h.in (PKGVERSION): New macro.
24521 (REPORT_BUGS_TO): Likewise.
24522 * config.make.in (PKGVERSION): New variable.
24523 (PKGVERSION_TEXI): Likewise.
24524 (REPORT_BUGS_TO): Likewise.
24525 (REPORT_BUGS_TEXI): Likewise.
24526 * Makefile (format-me): Use -I$(common-objpfx)manual.
24527 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24528 ($(common-objpfx)manual/%): New target.
24529 (manual/%): Remove target.
24530 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24531 (print_version): Use PKGVERSION.
24532 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24533 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24534 and REPORT_BUGS_TO.
24535 ($(objpfx)xtrace): Likewise.
24536 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24537 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24538 (print_version): Use PKGVERSION.
24539 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24540 (do_version): Use PKGVERSION.
24541 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24542 REPORT_BUGS_TO.
24543 (common-ldd-rewrite): Likewise.
24544 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24545 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24546 (print_version): Use PKGVERSION.
24547 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24548 * elf/pldd.c (argp_program_bug_address): Remove variable.
24549 (more_help): New function.
24550 (argp): Use more_help.
24551 (print_version): Use PKGVERSION.
24552 * elf/sln.c (main): Use PKGVERSION.
24553 (usage): Use REPORT_BUGS_TO.
24554 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24555 (top level): Use PKGVERSION.
24556 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24557 (print_version): Use PKGVERSION.
24558 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24559 (print_version): Use PKGVERSION.
24560 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24561 (print_version): Use PKGVERSION.
24562 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24563 (print_version): Use PKGVERSION.
24564 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24565 (print_version): Use PKGVERSION.
24566 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24567 (print_version): Use PKGVERSION.
24568 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24569 and BUGURL.
24570 ($(objpfx)memusage): Likewise.
24571 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24572 (do_version): Use PKGVERSION.
24573 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24574 (print_version): Use PKGVERSION.
24575 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24576 ($PKGVERSION): New variable.
24577 ($REPORT_BUGS_TO): Likewise.
24578 (usage): Use $REPORT_BUGS_TO.
24579 (top level): Use $PKGVERSION.
24580 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24581 ($(objpfx)pkgvers.texi): New rule.
24582 ($(objpfx)stamp-pkgvers): Likewise.
24583 * manual/install.texi: Include pkgvers.texi.
24584 (--with-pkgversion): Document new configure option.
24585 (--with-bugurl): Likewise.
24586 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24587 than necessarily for this particular distribution. Use
24588 REPORT_BUGS_TO for where to report bugs.
24589 * INSTALL: Regenerated.
24590 * manual/libc.texinfo: Include pkgvers.texi.
24591 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24592 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24593 (print_version): Use PKGVERSION.
24594 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24595 (print_version): Use PKGVERSION.
24596 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24597 (print_version): Use PKGVERSION.
24598 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24599 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24600 macro.
24601 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24602 (print_version): Use PKGVERSION.
24603 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24604 (print_version): Use PKGVERSION.
24605 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24606 and PKGVERSION.
24607
92e4b6a9
JM
24608 * timezone/checktab.awk: Update from tzcode 2012i.
24609 * timezone/ialloc.c: Likewise.
24610 * timezone/private.h: Likewise.
24611 * timezone/scheck.c: Likewise.
24612 * timezone/tzfile.h: Likewise.
24613 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24614 (TZVERSION): Hardcode tzcode version number.
24615 * timezone/zdump.c: Update from tzcode 2012i.
24616 * timezone/zic.c: Likewise.
24617 * timezone/version.h: New file.
24618 * timezone/README: Describe version.h. Update upstream location.
24619
9bde902c
JM
24620 [BZ #14824]
24621 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24622 (mktemp): Enable declaration.
24623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24627 Likewise.
24628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24629 Likewise.
24630 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24631 Likewise.
24632 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24633 Likewise.
24634 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24635 Likewise.
24636 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24637 Likewise.
24638
fb1ae1ee
JM
24639 [BZ #14821]
24640 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24641 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24642 for copies of such integer values.
24643 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24644 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24645
2c1adbcb
AJ
246462012-11-09 Andreas Jaeger <aj@suse.de>
24647
24648 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24649 definitions and declarations that are provided by
24650 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24651
d0f8457e
AK
246522012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24653
3a235abb 24654 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24655 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24656 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24657 definition.
24658
57241e26
MS
246592012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24660
24661 * elf/elf.h: Update comment before AArch64 relocations.
24662
60e8270d
DM
246632012-11-07 David S. Miller <davem@davemloft.net>
24664
24665 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24666 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24667 (__start_context): Declare.
24668 (__makecontext_ret): Delete.
24669 (__makecontext): Hook up __start_context instead of
24670 __makecontext_ret.
24671 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24672 (sysdep_routines): Add __start_context when in stdlib.
24673
0fbb0fbc
JM
246742012-11-07 Joseph Myers <joseph@codesourcery.com>
24675
24676 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24677 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24678 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24679 hardcoded "nm".
24680 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24681 (READELF): New variable. Use it instead of hardcoded "readelf".
24682
eb48db7e
L
246832012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24684
24685 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24686 * sysdeps/x86/Makefile: Here.
24687 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24688 * sysdeps/x86/tst-xmmymm.sh: This.
24689
05bcf62a
JM
246902012-11-07 Joseph Myers <joseph@codesourcery.com>
24691
c4b6cf53
JM
24692 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24693 expectations.
24694 [UNIX98] (pthread_barrier_t): Do not expect.
24695 [UNIX98] (pthread_barrierattr_t): Likewise.
24696 [UNIX98] (pthread_spinlock_t): Likewise.
24697 [UNIX98] (pthread_barrier_destroy): Likewise.
24698 [UNIX98] (pthread_barrier_init): Likewise.
24699 [UNIX98] (pthread_barrier_wait): Likewise.
24700 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24701 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24702 [UNIX98] (pthread_barrierattr_init): Likewise.
24703 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24704 [UNIX98] (pthread_getcpuclockid): Likewise.
24705 [UNIX98] (pthread_mutex_timedlock): Likewise.
24706 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24707 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24708 [UNIX98] (pthread_sigmask): Likewise.
24709 [UNIX98] (pthread_spin_destroy): Likewise.
24710 [UNIX98] (pthread_spin_init): Likewise.
24711 [UNIX98] (pthread_spin_lock): Likewise.
24712 [UNIX98] (pthread_spin_trylock): Likewise.
24713 [UNIX98] (pthread_spin_unlock): Likewise.
24714 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24715 Do not expect.
24716 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24717 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24718 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24719 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24720 [XPG3 || XPG4] (pthread_key_t): Likewise.
24721 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24722 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24723 [XPG3 || XPG4] (pthread_once_t): Likewise.
24724 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24725 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24726 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24727 [XPG3 || XPG4] (pthread_t): Likewise.
24728
cbe6e120
JM
24729 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24730 not expect.
24731 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24732
1b126443
JM
24733 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24734 Change function return type to int.
24735
b961a573
JM
24736 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24737 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24738 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24739 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24740 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24741 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24742 [!POSIX] (posix_madvise): Likewise.
24743 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24744 && !UNIX98].
24745 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24746 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24747 (mode_t): Likewise.
24748 (posix_mem_offset): Likewise.
24749 (posix_typed_mem_get_info): Likewise.
24750 (posix_typed_mem_open): Likewise.
24751
9e188909
JM
24752 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24753 Change condition to [XOPEN2K8].
24754
05bcf62a
JM
24755 * conform/conformtest.pl: Preprocess allow-header data with -x c
24756 instead of from stdin.
24757 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24758 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24759 [C99-based standards] (cerfc): Likewise.
24760 [C99-based standards] (cexp2): Likewise.
24761 [C99-based standards] (cexpm1): Likewise.
24762 [C99-based standards] (clog10): Likewise.
24763 [C99-based standards] (clog1p): Likewise.
24764 [C99-based standards] (clog2): Likewise.
24765 [C99-based standards] (clgamma): Likewise.
24766 [C99-based standards] (ctgamma): Likewise.
24767 [C99-based standards] (cerff): Likewise.
24768 [C99-based standards] (cerfcf): Likewise.
24769 [C99-based standards] (cexp2f): Likewise.
24770 [C99-based standards] (cexpm1f): Likewise.
24771 [C99-based standards] (clog10f): Likewise.
24772 [C99-based standards] (clog1pf): Likewise.
24773 [C99-based standards] (clog2f): Likewise.
24774 [C99-based standards] (clgammaf): Likewise.
24775 [C99-based standards] (ctgammaf): Likewise.
24776 [C99-based standards] (cerfl): Likewise.
24777 [C99-based standards] (cerfcl): Likewise.
24778 [C99-based standards] (cexp2l): Likewise.
24779 [C99-based standards] (cexpm1l): Likewise.
24780 [C99-based standards] (clog10l): Likewise.
24781 [C99-based standards] (clog1pl): Likewise.
24782 [C99-based standards] (clog2l): Likewise.
24783 [C99-based standards] (clgammal): Likewise.
24784 [C99-based standards] (ctgammal): Likewise.
24785 * conform/data/inttypes.h-data [C99-based standards]: Include
24786 stdint.h-data. Remove all expectations for stdint.h contents.
24787 [C99-based standards] (PRI*): Do not allow.
24788 [C99-based standards] (SCN*): Likewise.
24789 [C99-based standards] (*_t): Likewise.
24790 [C99-based-standards] (PRId8): Expect macro.
24791 [C99-based-standards] (PRIi8): Likewise.
24792 [C99-based-standards] (PRIo8): Likewise.
24793 [C99-based-standards] (PRIu8): Likewise.
24794 [C99-based-standards] (PRIx8): Likewise.
24795 [C99-based-standards] (PRIX8): Likewise.
24796 [C99-based-standards] (SCNd8): Likewise.
24797 [C99-based-standards] (SCNi8): Likewise.
24798 [C99-based-standards] (SCNo8): Likewise.
24799 [C99-based-standards] (SCNu8): Likewise.
24800 [C99-based-standards] (SCNx8): Likewise.
24801 [C99-based-standards] (PRIdLEAST8): Likewise.
24802 [C99-based-standards] (PRIiLEAST8): Likewise.
24803 [C99-based-standards] (PRIoLEAST8): Likewise.
24804 [C99-based-standards] (PRIuLEAST8): Likewise.
24805 [C99-based-standards] (PRIxLEAST8): Likewise.
24806 [C99-based-standards] (PRIXLEAST8): Likewise.
24807 [C99-based-standards] (SCNdLEAST8): Likewise.
24808 [C99-based-standards] (SCNiLEAST8): Likewise.
24809 [C99-based-standards] (SCNoLEAST8): Likewise.
24810 [C99-based-standards] (SCNuLEAST8): Likewise.
24811 [C99-based-standards] (SCNxLEAST8): Likewise.
24812 [C99-based-standards] (PRIdFAST8): Likewise.
24813 [C99-based-standards] (PRIiFAST8): Likewise.
24814 [C99-based-standards] (PRIoFAST8): Likewise.
24815 [C99-based-standards] (PRIuFAST8): Likewise.
24816 [C99-based-standards] (PRIxFAST8): Likewise.
24817 [C99-based-standards] (PRIXFAST8): Likewise.
24818 [C99-based-standards] (SCNdFAST8): Likewise.
24819 [C99-based-standards] (SCNiFAST8): Likewise.
24820 [C99-based-standards] (SCNoFAST8): Likewise.
24821 [C99-based-standards] (SCNuFAST8): Likewise.
24822 [C99-based-standards] (SCNxFAST8): Likewise.
24823 [C99-based-standards] (PRId16): Likewise.
24824 [C99-based-standards] (PRIi16): Likewise.
24825 [C99-based-standards] (PRIo16): Likewise.
24826 [C99-based-standards] (PRIu16): Likewise.
24827 [C99-based-standards] (PRIx16): Likewise.
24828 [C99-based-standards] (PRIX16): Likewise.
24829 [C99-based-standards] (SCNd16): Likewise.
24830 [C99-based-standards] (SCNi16): Likewise.
24831 [C99-based-standards] (SCNo16): Likewise.
24832 [C99-based-standards] (SCNu16): Likewise.
24833 [C99-based-standards] (SCNx16): Likewise.
24834 [C99-based-standards] (PRIdLEAST16): Likewise.
24835 [C99-based-standards] (PRIiLEAST16): Likewise.
24836 [C99-based-standards] (PRIoLEAST16): Likewise.
24837 [C99-based-standards] (PRIuLEAST16): Likewise.
24838 [C99-based-standards] (PRIxLEAST16): Likewise.
24839 [C99-based-standards] (PRIXLEAST16): Likewise.
24840 [C99-based-standards] (SCNdLEAST16): Likewise.
24841 [C99-based-standards] (SCNiLEAST16): Likewise.
24842 [C99-based-standards] (SCNoLEAST16): Likewise.
24843 [C99-based-standards] (SCNuLEAST16): Likewise.
24844 [C99-based-standards] (SCNxLEAST16): Likewise.
24845 [C99-based-standards] (PRIdFAST16): Likewise.
24846 [C99-based-standards] (PRIiFAST16): Likewise.
24847 [C99-based-standards] (PRIoFAST16): Likewise.
24848 [C99-based-standards] (PRIuFAST16): Likewise.
24849 [C99-based-standards] (PRIxFAST16): Likewise.
24850 [C99-based-standards] (PRIXFAST16): Likewise.
24851 [C99-based-standards] (SCNdFAST16): Likewise.
24852 [C99-based-standards] (SCNiFAST16): Likewise.
24853 [C99-based-standards] (SCNoFAST16): Likewise.
24854 [C99-based-standards] (SCNuFAST16): Likewise.
24855 [C99-based-standards] (SCNxFAST16): Likewise.
24856 [C99-based-standards] (PRId32): Likewise.
24857 [C99-based-standards] (PRIi32): Likewise.
24858 [C99-based-standards] (PRIo32): Likewise.
24859 [C99-based-standards] (PRIu32): Likewise.
24860 [C99-based-standards] (PRIx32): Likewise.
24861 [C99-based-standards] (PRIX32): Likewise.
24862 [C99-based-standards] (SCNd32): Likewise.
24863 [C99-based-standards] (SCNi32): Likewise.
24864 [C99-based-standards] (SCNo32): Likewise.
24865 [C99-based-standards] (SCNu32): Likewise.
24866 [C99-based-standards] (SCNx32): Likewise.
24867 [C99-based-standards] (PRIdLEAST32): Likewise.
24868 [C99-based-standards] (PRIiLEAST32): Likewise.
24869 [C99-based-standards] (PRIoLEAST32): Likewise.
24870 [C99-based-standards] (PRIuLEAST32): Likewise.
24871 [C99-based-standards] (PRIxLEAST32): Likewise.
24872 [C99-based-standards] (PRIXLEAST32): Likewise.
24873 [C99-based-standards] (SCNdLEAST32): Likewise.
24874 [C99-based-standards] (SCNiLEAST32): Likewise.
24875 [C99-based-standards] (SCNoLEAST32): Likewise.
24876 [C99-based-standards] (SCNuLEAST32): Likewise.
24877 [C99-based-standards] (SCNxLEAST32): Likewise.
24878 [C99-based-standards] (PRIdFAST32): Likewise.
24879 [C99-based-standards] (PRIiFAST32): Likewise.
24880 [C99-based-standards] (PRIoFAST32): Likewise.
24881 [C99-based-standards] (PRIuFAST32): Likewise.
24882 [C99-based-standards] (PRIxFAST32): Likewise.
24883 [C99-based-standards] (PRIXFAST32): Likewise.
24884 [C99-based-standards] (SCNdFAST32): Likewise.
24885 [C99-based-standards] (SCNiFAST32): Likewise.
24886 [C99-based-standards] (SCNoFAST32): Likewise.
24887 [C99-based-standards] (SCNuFAST32): Likewise.
24888 [C99-based-standards] (SCNxFAST32): Likewise.
24889 [C99-based-standards] (PRId64): Likewise.
24890 [C99-based-standards] (PRIi64): Likewise.
24891 [C99-based-standards] (PRIo64): Likewise.
24892 [C99-based-standards] (PRIu64): Likewise.
24893 [C99-based-standards] (PRIx64): Likewise.
24894 [C99-based-standards] (PRIX64): Likewise.
24895 [C99-based-standards] (SCNd64): Likewise.
24896 [C99-based-standards] (SCNi64): Likewise.
24897 [C99-based-standards] (SCNo64): Likewise.
24898 [C99-based-standards] (SCNu64): Likewise.
24899 [C99-based-standards] (SCNx64): Likewise.
24900 [C99-based-standards] (PRIdLEAST64): Likewise.
24901 [C99-based-standards] (PRIiLEAST64): Likewise.
24902 [C99-based-standards] (PRIoLEAST64): Likewise.
24903 [C99-based-standards] (PRIuLEAST64): Likewise.
24904 [C99-based-standards] (PRIxLEAST64): Likewise.
24905 [C99-based-standards] (PRIXLEAST64): Likewise.
24906 [C99-based-standards] (SCNdLEAST64): Likewise.
24907 [C99-based-standards] (SCNiLEAST64): Likewise.
24908 [C99-based-standards] (SCNoLEAST64): Likewise.
24909 [C99-based-standards] (SCNuLEAST64): Likewise.
24910 [C99-based-standards] (SCNxLEAST64): Likewise.
24911 [C99-based-standards] (PRIdFAST64): Likewise.
24912 [C99-based-standards] (PRIiFAST64): Likewise.
24913 [C99-based-standards] (PRIoFAST64): Likewise.
24914 [C99-based-standards] (PRIuFAST64): Likewise.
24915 [C99-based-standards] (PRIxFAST64): Likewise.
24916 [C99-based-standards] (PRIXFAST64): Likewise.
24917 [C99-based-standards] (SCNdFAST64): Likewise.
24918 [C99-based-standards] (SCNiFAST64): Likewise.
24919 [C99-based-standards] (SCNoFAST64): Likewise.
24920 [C99-based-standards] (SCNuFAST64): Likewise.
24921 [C99-based-standards] (SCNxFAST64): Likewise.
24922 [C99-based-standards] (PRIdMAX): Likewise.
24923 [C99-based-standards] (PRIiMAX): Likewise.
24924 [C99-based-standards] (PRIoMAX): Likewise.
24925 [C99-based-standards] (PRIuMAX): Likewise.
24926 [C99-based-standards] (PRIxMAX): Likewise.
24927 [C99-based-standards] (PRIXMAX): Likewise.
24928 [C99-based-standards] (SCNdMAX): Likewise.
24929 [C99-based-standards] (SCNiMAX): Likewise.
24930 [C99-based-standards] (SCNoMAX): Likewise.
24931 [C99-based-standards] (SCNuMAX): Likewise.
24932 [C99-based-standards] (SCNxMAX): Likewise.
24933 [C99-based-standards] (PRIdPTR): Likewise.
24934 [C99-based-standards] (PRIiPTR): Likewise.
24935 [C99-based-standards] (PRIoPTR): Likewise.
24936 [C99-based-standards] (PRIuPTR): Likewise.
24937 [C99-based-standards] (PRIxPTR): Likewise.
24938 [C99-based-standards] (PRIXPTR): Likewise.
24939 [C99-based-standards] (SCNdPTR): Likewise.
24940 [C99-based-standards] (SCNiPTR): Likewise.
24941 [C99-based-standards] (SCNoPTR): Likewise.
24942 [C99-based-standards] (SCNuPTR): Likewise.
24943 [C99-based-standards] (SCNxPTR): Likewise.
24944 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24945 allow.
24946 * conform/data/stdint.h-data: Update comments to clarify
24947 requirements.
24948 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24949 type.
24950 [C99-based standards] (INT8_MAX): Likewise.
24951 [C99-based standards] (INT16_MIN): Likewise.
24952 [C99-based standards] (INT16_MAX): Likewise.
24953 [C99-based standards] (INT32_MIN): Likewise.
24954 [C99-based standards] (INT32_MAX): Likewise.
24955 [C99-based standards] (INT64_MIN): Likewise.
24956 [C99-based standards] (INT64_MAX): Likewise.
24957 [C99-based standards] (UINT8_MAX): Likewise.
24958 [C99-based standards] (UINT16_MAX): Likewise.
24959 [C99-based standards] (UINT32_MAX): Likewise.
24960 [C99-based standards] (UINT64_MAX): Likewise.
24961 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24962 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24963 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24964 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24965 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24966 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24967 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24968 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24969 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24970 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24971 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24972 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24973 [C99-based standards] (INT_FAST8_MIN): Likewise.
24974 [C99-based standards] (INT_FAST8_MAX): Likewise.
24975 [C99-based standards] (INT_FAST16_MIN): Likewise.
24976 [C99-based standards] (INT_FAST16_MAX): Likewise.
24977 [C99-based standards] (INT_FAST32_MIN): Likewise.
24978 [C99-based standards] (INT_FAST32_MAX): Likewise.
24979 [C99-based standards] (INT_FAST64_MIN): Likewise.
24980 [C99-based standards] (INT_FAST64_MAX): Likewise.
24981 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24982 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24983 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24984 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24985 [C99-based standards] (INTPTR_MIN): Likewise.
24986 [C99-based standards] (INTPTR_MAX): Likewise.
24987 [C99-based standards] (UINTPTR_MAX): Likewise.
24988 [C99-based standards] (INTMAX_MIN): Likewise.
24989 [C99-based standards] (INTMAX_MAX): Likewise.
24990 [C99-based standards] (UINTMAX_MAX): Likewise.
24991 [C99-based standards] (PTRDIFF_MIN): Likewise.
24992 [C99-based standards] (PTRDIFF_MAX): Likewise.
24993 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24994 [C99-based standards] (SIZE_MAX): Likewise.
24995 [C99-based standards] (WCHAR_MAX): Likewise.
24996 [C99-based standards] (WINT_MAX): Likewise.
24997 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24998 constraint on value.
24999 [C99-based standards] (WCHAR_MIN): Likewise.
25000 [C99-based standards] (WINT_MIN): Likewise.
25001 [C99-based standards] (*_t): Allow.
25002 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25003 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25004 Include math.h-data and complex.h-data. Remove all expectations
25005 of math.h and complex.h contents.
25006 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25007 at end of line.
25008 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25009 (struct tm): Expect tag.
25010 [C99-based-standards] (wcstof): Expect function.
25011 [C99-based-standards] (wcstold): Likewise.
25012 [C99-based-standards] (wcstoll): Likewise.
25013 [C99-based-standards] (wcstoull): Likewise.
25014 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25015 macro-int-constant. Specify type.
25016 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25017 constraint on value.
25018 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25019 Specify type.
25020 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25021 Specify value.
25022 [ISO C standards]: Do not allow headers.
25023 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25024 wcs[abcdefghijklmnopqrstuvwxyz]*.
25025 [ISO C standards] (*_t): Do not allow.
25026 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25027 Expect function.
25028 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25029 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25030 Specify type.
25031 [ISO C standards]: Do not allow headers.
25032 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25033 is[abcdefghijklmnopqrstuvwxyz]*.
25034 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25035 to[abcdefghijklmnopqrstuvwxyz]*.
25036 [ISO C standards] (*_t): Do not allow.
25037 * conform/data/stdalign.h-data: New file.
25038 * conform/data/stdbool.h-data: Likewise.
25039 * conform/data/stdnoreturn.h-data: Likewise.
25040
7514feb8
RM
250412012-11-07 Roland McGrath <roland@hack.frob.com>
25042
25043 [BZ #14815]
25044 * manual/filesys.texi (Directory Entries): Typo fix.
25045 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25046
19b2ecfc
MS
250472012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25048
25049 * elf/elf.h (EM_AARCH64): New macro.
25050 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25051 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25052 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25053 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25054 (R_AARCH64_TLSDESC): Likewise.
25055 (NT_ARM_TLS): Likewise.
25056 (NT_ARM_HW_BREAK): Likewise.
25057 (NT_ARM_HW_WATCH): Likewise.
25058
60e235ee
JM
250592012-11-07 Joseph Myers <joseph@codesourcery.com>
25060
25061 [BZ #14811]
25062 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25063 (__ieee754_powl): Saturate nonzero exponents with absolute value
25064 below 0x1p-79 to +/- 0x1p-79.
25065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25066 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25067 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25068 nonzero exponents with absolute value below 0x1p-32 to +/-
25069 0x1p-32.
25070 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25071 (__ieee754_powl): Saturate nonzero exponents with absolute value
25072 below 0x1p-79 to +/- 0x1p-79.
25073 * math/libm-test.inc (pow_test): Add more tests.
25074
0ab234b7
AK
250752012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25076
25077 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25078 _dl_s390_cap_flags with kernel. Increase string length.
25079 (_dl_s390_platforms): Add z196 and zEC12.
25080
45832f74
JM
250812012-11-07 Joseph Myers <joseph@codesourcery.com>
25082
25083 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25084 Change XOPEN21K to XOPEN2K.
25085
19218757
MK
250862012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25087
25088 * string/memmove.c: Use memcpy when possible.
25089
c5f45721
AJ
250902012-11-06 Andreas Jaeger <aj@suse.de>
25091
25092 * po/eo.po: Update from translation team.
25093
82477c28
JM
250942012-11-06 Joseph Myers <joseph@codesourcery.com>
25095
25096 [BZ #14793]
25097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25098 exponent and small x and y exponents, scale x or y up. Increase
25099 by 2 the exponent used in scaling up.
25100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25102 * math/libm-test.inc (fma_test): Add more tests.
25103 (fma_test_towardzero): Likewise.
25104 (fma_test_downward): Likewise.
25105 (fma_test_upward): Likewise.
25106
99252c8c
JM
251072012-11-05 Joseph Myers <joseph@codesourcery.com>
25108
acfa885f
JM
25109 [BZ #14805]
25110 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25111 fenv_t *.
25112
99252c8c
JM
25113 [BZ #14801]
25114 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25115 namespace for names of struct fields.
25116 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25117 fenv_t fields.
25118 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25119 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25120
d6d98dea
ST
251212012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25122
25123 [BZ #3665]
25124 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25125
e10bb107
TS
251262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25127
25128 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25129 PTR_DEMANGLE.
25130
25131 [BZ #5246]
25132 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25133 PTR_DEMANGLE.
25134
a0c2940d
JM
251352012-11-04 Joseph Myers <joseph@codesourcery.com>
25136
25137 [BZ #14797]
25138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25139 definitely overflow as x * y not x * y + z.
25140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25142 * math/libm-test.inc (fma_test): Add more tests.
25143 (fma_test_towardzero): Likewise.
25144 (fma_test_downward): Likewise.
25145 (fma_test_upward): Likewise.
25146
b830319d
TS
251472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25148
25149 [BZ #157]
25150
25151 * include/stub-tag.h: Remove file.
25152 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25153 '#include' of it.
25154 * manual/maint.texi (Porting): Don't reference it.
25155 * Makerules ($(objpfx)stubs): Likewise.
25156 * dirent/closedir.c: Don't include <stub-tag.h>.
25157 * dirent/dirfd.c: Likewise.
25158 * dirent/fdopendir.c: Likewise.
25159 * dirent/getdents.c: Likewise.
25160 * dirent/getdents64.c: Likewise.
25161 * dirent/opendir.c: Likewise.
25162 * dirent/readdir.c: Likewise.
25163 * dirent/readdir64.c: Likewise.
25164 * dirent/readdir64_r.c: Likewise.
25165 * dirent/readdir_r.c: Likewise.
25166 * dirent/rewinddir.c: Likewise.
25167 * dirent/seekdir.c: Likewise.
25168 * dirent/telldir.c: Likewise.
25169 * gmon/profil.c: Likewise.
25170 * grp/setgroups.c: Likewise.
25171 * inet/if_index.c: Likewise.
25172 * io/access.c: Likewise.
25173 * io/chdir.c: Likewise.
25174 * io/chmod.c: Likewise.
25175 * io/chown.c: Likewise.
25176 * io/close.c: Likewise.
25177 * io/dup.c: Likewise.
25178 * io/dup2.c: Likewise.
25179 * io/dup3.c: Likewise.
25180 * io/euidaccess.c: Likewise.
25181 * io/faccessat.c: Likewise.
25182 * io/fchdir.c: Likewise.
25183 * io/fchmod.c: Likewise.
25184 * io/fchmodat.c: Likewise.
25185 * io/fchown.c: Likewise.
25186 * io/fchownat.c: Likewise.
25187 * io/fcntl.c: Likewise.
25188 * io/flock.c: Likewise.
25189 * io/fstatfs.c: Likewise.
25190 * io/fstatfs64.c: Likewise.
25191 * io/fstatvfs.c: Likewise.
25192 * io/fstatvfs64.c: Likewise.
25193 * io/futimens.c: Likewise.
25194 * io/fxstat.c: Likewise.
25195 * io/fxstat64.c: Likewise.
25196 * io/fxstatat.c: Likewise.
25197 * io/fxstatat64.c: Likewise.
25198 * io/getcwd.c: Likewise.
25199 * io/isatty.c: Likewise.
25200 * io/lchmod.c: Likewise.
25201 * io/lchown.c: Likewise.
25202 * io/link.c: Likewise.
25203 * io/linkat.c: Likewise.
25204 * io/lseek.c: Likewise.
25205 * io/lseek64.c: Likewise.
25206 * io/lxstat64.c: Likewise.
25207 * io/mkdir.c: Likewise.
25208 * io/mkdirat.c: Likewise.
25209 * io/mkfifo.c: Likewise.
25210 * io/mkfifoat.c: Likewise.
25211 * io/open.c: Likewise.
25212 * io/open64.c: Likewise.
25213 * io/openat.c: Likewise.
25214 * io/openat64.c: Likewise.
25215 * io/pipe.c: Likewise.
25216 * io/pipe2.c: Likewise.
25217 * io/poll.c: Likewise.
25218 * io/posix_fadvise.c: Likewise.
25219 * io/posix_fadvise64.c: Likewise.
25220 * io/posix_fallocate.c: Likewise.
25221 * io/posix_fallocate64.c: Likewise.
25222 * io/read.c: Likewise.
25223 * io/readlink.c: Likewise.
25224 * io/readlinkat.c: Likewise.
25225 * io/rmdir.c: Likewise.
25226 * io/sendfile.c: Likewise.
25227 * io/sendfile64.c: Likewise.
25228 * io/statfs.c: Likewise.
25229 * io/statfs64.c: Likewise.
25230 * io/statvfs.c: Likewise.
25231 * io/statvfs64.c: Likewise.
25232 * io/symlink.c: Likewise.
25233 * io/symlinkat.c: Likewise.
25234 * io/ttyname.c: Likewise.
25235 * io/ttyname_r.c: Likewise.
25236 * io/umask.c: Likewise.
25237 * io/unlink.c: Likewise.
25238 * io/unlinkat.c: Likewise.
25239 * io/utime.c: Likewise.
25240 * io/utimensat.c: Likewise.
25241 * io/write.c: Likewise.
25242 * io/xmknod.c: Likewise.
25243 * io/xmknodat.c: Likewise.
25244 * io/xstat.c: Likewise.
25245 * io/xstat64.c: Likewise.
25246 * login/getpt.c: Likewise.
25247 * login/grantpt.c: Likewise.
25248 * login/unlockpt.c: Likewise.
25249 * math/e_acoshl.c: Likewise.
25250 * math/e_acosl.c: Likewise.
25251 * math/e_asinl.c: Likewise.
25252 * math/e_atan2l.c: Likewise.
25253 * math/e_atanhl.c: Likewise.
25254 * math/e_coshl.c: Likewise.
25255 * math/e_expl.c: Likewise.
25256 * math/e_fmodl.c: Likewise.
25257 * math/e_gammal_r.c: Likewise.
25258 * math/e_hypotl.c: Likewise.
25259 * math/e_j0l.c: Likewise.
25260 * math/e_j1l.c: Likewise.
25261 * math/e_jnl.c: Likewise.
25262 * math/e_lgammal_r.c: Likewise.
25263 * math/e_log10l.c: Likewise.
25264 * math/e_log2l.c: Likewise.
25265 * math/e_logl.c: Likewise.
25266 * math/e_powl.c: Likewise.
25267 * math/e_rem_pio2l.c: Likewise.
25268 * math/e_sinhl.c: Likewise.
25269 * math/e_sqrtl.c: Likewise.
25270 * math/fclrexcpt.c: Likewise.
25271 * math/fedisblxcpt.c: Likewise.
25272 * math/feenablxcpt.c: Likewise.
25273 * math/fegetenv.c: Likewise.
25274 * math/fegetexcept.c: Likewise.
25275 * math/fegetround.c: Likewise.
25276 * math/feholdexcpt.c: Likewise.
25277 * math/fesetenv.c: Likewise.
25278 * math/fesetround.c: Likewise.
25279 * math/feupdateenv.c: Likewise.
25280 * math/fgetexcptflg.c: Likewise.
25281 * math/fraiseexcpt.c: Likewise.
25282 * math/fsetexcptflg.c: Likewise.
25283 * math/ftestexcept.c: Likewise.
25284 * math/k_cosl.c: Likewise.
25285 * math/k_rem_pio2l.c: Likewise.
25286 * math/k_sinl.c: Likewise.
25287 * math/k_tanl.c: Likewise.
25288 * math/s_asinhl.c: Likewise.
25289 * math/s_atanl.c: Likewise.
25290 * math/s_cbrtl.c: Likewise.
25291 * math/s_erfl.c: Likewise.
25292 * math/s_expm1l.c: Likewise.
25293 * math/s_log1pl.c: Likewise.
25294 * math/s_tanhl.c: Likewise.
25295 * misc/acct.c: Likewise.
25296 * misc/brk.c: Likewise.
25297 * misc/chflags.c: Likewise.
25298 * misc/chroot.c: Likewise.
25299 * misc/fchflags.c: Likewise.
25300 * misc/fgetxattr.c: Likewise.
25301 * misc/flistxattr.c: Likewise.
25302 * misc/fremovexattr.c: Likewise.
25303 * misc/fsetxattr.c: Likewise.
25304 * misc/fsync.c: Likewise.
25305 * misc/ftruncate.c: Likewise.
25306 * misc/futimes.c: Likewise.
25307 * misc/futimesat.c: Likewise.
25308 * misc/getdomain.c: Likewise.
25309 * misc/getdtsz.c: Likewise.
25310 * misc/gethostid.c: Likewise.
25311 * misc/gethostname.c: Likewise.
25312 * misc/getloadavg.c: Likewise.
25313 * misc/getpagesize.c: Likewise.
25314 * misc/getsysstats.c: Likewise.
25315 * misc/getxattr.c: Likewise.
25316 * misc/gtty.c: Likewise.
25317 * misc/ioctl.c: Likewise.
25318 * misc/lgetxattr.c: Likewise.
25319 * misc/listxattr.c: Likewise.
25320 * misc/llistxattr.c: Likewise.
25321 * misc/lremovexattr.c: Likewise.
25322 * misc/lsetxattr.c: Likewise.
25323 * misc/lutimes.c: Likewise.
25324 * misc/madvise.c: Likewise.
25325 * misc/mincore.c: Likewise.
25326 * misc/mlock.c: Likewise.
25327 * misc/mlockall.c: Likewise.
25328 * misc/mmap.c: Likewise.
25329 * misc/mprotect.c: Likewise.
25330 * misc/msync.c: Likewise.
25331 * misc/munlock.c: Likewise.
25332 * misc/munlockall.c: Likewise.
25333 * misc/munmap.c: Likewise.
25334 * misc/preadv.c: Likewise.
25335 * misc/preadv64.c: Likewise.
25336 * misc/ptrace.c: Likewise.
25337 * misc/pwritev.c: Likewise.
25338 * misc/pwritev64.c: Likewise.
25339 * misc/readv.c: Likewise.
25340 * misc/reboot.c: Likewise.
25341 * misc/remap_file_pages.c: Likewise.
25342 * misc/removexattr.c: Likewise.
25343 * misc/revoke.c: Likewise.
25344 * misc/select.c: Likewise.
25345 * misc/setdomain.c: Likewise.
25346 * misc/setegid.c: Likewise.
25347 * misc/seteuid.c: Likewise.
25348 * misc/sethostid.c: Likewise.
25349 * misc/sethostname.c: Likewise.
25350 * misc/setregid.c: Likewise.
25351 * misc/setreuid.c: Likewise.
25352 * misc/setxattr.c: Likewise.
25353 * misc/sstk.c: Likewise.
25354 * misc/stty.c: Likewise.
25355 * misc/swapoff.c: Likewise.
25356 * misc/swapon.c: Likewise.
25357 * misc/sync.c: Likewise.
25358 * misc/syncfs.c: Likewise.
25359 * misc/syscall.c: Likewise.
25360 * misc/truncate.c: Likewise.
25361 * misc/ualarm.c: Likewise.
25362 * misc/usleep.c: Likewise.
25363 * misc/ustat.c: Likewise.
25364 * misc/utimes.c: Likewise.
25365 * misc/vhangup.c: Likewise.
25366 * misc/writev.c: Likewise.
25367 * posix/_exit.c: Likewise.
25368 * posix/alarm.c: Likewise.
25369 * posix/execve.c: Likewise.
25370 * posix/fexecve.c: Likewise.
25371 * posix/fork.c: Likewise.
25372 * posix/fpathconf.c: Likewise.
25373 * posix/getaddrinfo.c: Likewise.
25374 * posix/getegid.c: Likewise.
25375 * posix/geteuid.c: Likewise.
25376 * posix/getgid.c: Likewise.
25377 * posix/getgroups.c: Likewise.
25378 * posix/getlogin.c: Likewise.
25379 * posix/getlogin_r.c: Likewise.
25380 * posix/getpgid.c: Likewise.
25381 * posix/getpid.c: Likewise.
25382 * posix/getppid.c: Likewise.
25383 * posix/getresgid.c: Likewise.
25384 * posix/getresuid.c: Likewise.
25385 * posix/getsid.c: Likewise.
25386 * posix/getuid.c: Likewise.
25387 * posix/glob64.c: Likewise.
25388 * posix/nanosleep.c: Likewise.
25389 * posix/pathconf.c: Likewise.
25390 * posix/pause.c: Likewise.
25391 * posix/posix_madvise.c: Likewise.
25392 * posix/pread.c: Likewise.
25393 * posix/pread64.c: Likewise.
25394 * posix/pwrite.c: Likewise.
25395 * posix/pwrite64.c: Likewise.
25396 * posix/sched_getaffinity.c: Likewise.
25397 * posix/sched_getp.c: Likewise.
25398 * posix/sched_gets.c: Likewise.
25399 * posix/sched_primax.c: Likewise.
25400 * posix/sched_primin.c: Likewise.
25401 * posix/sched_rr_gi.c: Likewise.
25402 * posix/sched_setaffinity.c: Likewise.
25403 * posix/sched_setp.c: Likewise.
25404 * posix/sched_sets.c: Likewise.
25405 * posix/sched_yield.c: Likewise.
25406 * posix/setgid.c: Likewise.
25407 * posix/setlogin.c: Likewise.
25408 * posix/setpgid.c: Likewise.
25409 * posix/setresgid.c: Likewise.
25410 * posix/setresuid.c: Likewise.
25411 * posix/setsid.c: Likewise.
25412 * posix/setuid.c: Likewise.
25413 * posix/sleep.c: Likewise.
25414 * posix/spawni.c: Likewise.
25415 * posix/sysconf.c: Likewise.
25416 * posix/times.c: Likewise.
25417 * posix/wait.c: Likewise.
25418 * posix/wait3.c: Likewise.
25419 * posix/wait4.c: Likewise.
25420 * posix/waitpid.c: Likewise.
25421 * resolv/gai_sigqueue.c: Likewise.
25422 * resource/getpriority.c: Likewise.
25423 * resource/getrlimit.c: Likewise.
25424 * resource/getrusage.c: Likewise.
25425 * resource/nice.c: Likewise.
25426 * resource/setpriority.c: Likewise.
25427 * resource/setrlimit.c: Likewise.
25428 * resource/ulimit.c: Likewise.
25429 * rt/aio_cancel.c: Likewise.
25430 * rt/aio_fsync.c: Likewise.
25431 * rt/aio_read.c: Likewise.
25432 * rt/aio_sigqueue.c: Likewise.
25433 * rt/aio_suspend.c: Likewise.
25434 * rt/aio_write.c: Likewise.
25435 * rt/clock_getres.c: Likewise.
25436 * rt/clock_gettime.c: Likewise.
25437 * rt/clock_nanosleep.c: Likewise.
25438 * rt/clock_settime.c: Likewise.
25439 * rt/lio_listio.c: Likewise.
25440 * rt/mq_close.c: Likewise.
25441 * rt/mq_getattr.c: Likewise.
25442 * rt/mq_notify.c: Likewise.
25443 * rt/mq_open.c: Likewise.
25444 * rt/mq_receive.c: Likewise.
25445 * rt/mq_send.c: Likewise.
25446 * rt/mq_setattr.c: Likewise.
25447 * rt/mq_timedreceive.c: Likewise.
25448 * rt/mq_timedsend.c: Likewise.
25449 * rt/mq_unlink.c: Likewise.
25450 * rt/shm_open.c: Likewise.
25451 * rt/shm_unlink.c: Likewise.
25452 * rt/timer_create.c: Likewise.
25453 * rt/timer_delete.c: Likewise.
25454 * rt/timer_getoverr.c: Likewise.
25455 * rt/timer_gettime.c: Likewise.
25456 * rt/timer_settime.c: Likewise.
25457 * setjmp/__longjmp.c: Likewise.
25458 * setjmp/setjmp.c: Likewise.
25459 * signal/kill.c: Likewise.
25460 * signal/killpg.c: Likewise.
25461 * signal/raise.c: Likewise.
25462 * signal/sigaction.c: Likewise.
25463 * signal/sigaltstack.c: Likewise.
25464 * signal/sigblock.c: Likewise.
25465 * signal/sigignore.c: Likewise.
25466 * signal/sigintr.c: Likewise.
25467 * signal/signal.c: Likewise.
25468 * signal/sigpause.c: Likewise.
25469 * signal/sigpending.c: Likewise.
25470 * signal/sigqueue.c: Likewise.
25471 * signal/sigreturn.c: Likewise.
25472 * signal/sigset.c: Likewise.
25473 * signal/sigsetmask.c: Likewise.
25474 * signal/sigstack.c: Likewise.
25475 * signal/sigsuspend.c: Likewise.
25476 * signal/sigtimedwait.c: Likewise.
25477 * signal/sigvec.c: Likewise.
25478 * signal/sigwait.c: Likewise.
25479 * signal/sigwaitinfo.c: Likewise.
25480 * signal/sysv_signal.c: Likewise.
25481 * socket/accept.c: Likewise.
25482 * socket/accept4.c: Likewise.
25483 * socket/bind.c: Likewise.
25484 * socket/connect.c: Likewise.
25485 * socket/getpeername.c: Likewise.
25486 * socket/getsockname.c: Likewise.
25487 * socket/getsockopt.c: Likewise.
25488 * socket/isfdtype.c: Likewise.
25489 * socket/listen.c: Likewise.
25490 * socket/recv.c: Likewise.
25491 * socket/recvfrom.c: Likewise.
25492 * socket/recvmsg.c: Likewise.
25493 * socket/send.c: Likewise.
25494 * socket/sendmsg.c: Likewise.
25495 * socket/sendto.c: Likewise.
25496 * socket/setsockopt.c: Likewise.
25497 * socket/shutdown.c: Likewise.
25498 * socket/sockatmark.c: Likewise.
25499 * socket/socket.c: Likewise.
25500 * socket/socketpair.c: Likewise.
25501 * stdio-common/ctermid.c: Likewise.
25502 * stdio-common/cuserid.c: Likewise.
25503 * stdio-common/remove.c: Likewise.
25504 * stdio-common/rename.c: Likewise.
25505 * stdio-common/renameat.c: Likewise.
25506 * stdio-common/tempname.c: Likewise.
25507 * stdlib/getcontext.c: Likewise.
25508 * stdlib/makecontext.c: Likewise.
25509 * stdlib/setcontext.c: Likewise.
25510 * stdlib/swapcontext.c: Likewise.
25511 * stdlib/system.c: Likewise.
25512 * streams/fattach.c: Likewise.
25513 * streams/fdetach.c: Likewise.
25514 * streams/getmsg.c: Likewise.
25515 * streams/getpmsg.c: Likewise.
25516 * streams/putmsg.c: Likewise.
25517 * streams/putpmsg.c: Likewise.
25518 * sysdeps/unix/bsd/getpt.c: Likewise.
25519 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25520 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25521 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25523 Likewise.
25524 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25525 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25526 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25527 * sysvipc/msgctl.c: Likewise.
25528 * sysvipc/msgget.c: Likewise.
25529 * sysvipc/msgrcv.c: Likewise.
25530 * sysvipc/msgsnd.c: Likewise.
25531 * sysvipc/semctl.c: Likewise.
25532 * sysvipc/semget.c: Likewise.
25533 * sysvipc/semop.c: Likewise.
25534 * sysvipc/semtimedop.c: Likewise.
25535 * sysvipc/shmat.c: Likewise.
25536 * sysvipc/shmctl.c: Likewise.
25537 * sysvipc/shmdt.c: Likewise.
25538 * sysvipc/shmget.c: Likewise.
25539 * termios/tcdrain.c: Likewise.
25540 * termios/tcflow.c: Likewise.
25541 * termios/tcflush.c: Likewise.
25542 * termios/tcgetattr.c: Likewise.
25543 * termios/tcgetpgrp.c: Likewise.
25544 * termios/tcsendbrk.c: Likewise.
25545 * termios/tcsetattr.c: Likewise.
25546 * termios/tcsetpgrp.c: Likewise.
25547 * time/adjtime.c: Likewise.
25548 * time/clock.c: Likewise.
25549 * time/getitimer.c: Likewise.
25550 * time/gettimeofday.c: Likewise.
25551 * time/setitimer.c: Likewise.
25552 * time/settimeofday.c: Likewise.
25553 * time/stime.c: Likewise.
25554 * time/time.c: Likewise.
25555
255562012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25557
a20492cf
PT
25558 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25559 /usr/old/bin.
25560
72e182e3
PT
25561 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25562 instead of spaces.
25563 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25564
fbeafede
JM
255652012-11-03 Joseph Myers <joseph@codesourcery.com>
25566
5b5b04d6
JM
25567 [BZ #14796]
25568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25569 FE_TONEAREST before applying Dekker multiplication and Knuth
25570 addition. Clear inexact exceptions and check for exact zero
25571 results afterwards.
25572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25573 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25575 * math/libm-test.inc (fma_test): Add more tests.
25576 (fma_test_towardzero): Likewise.
25577 (fma_test_downward): Likewise.
25578 (fma_test_upward): Likewise.
25579 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25580 function.
25581 (libc_fesetround): New macro.
25582 (libc_fesetroundf): Likewise.
25583 (libc_fesetroundl): Likewise.
25584 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25585 function.
25586 (libc_fesetround_387): Likewise.
25587 (libc_fesetroundf): New macro.
25588 (libc_fesetround): Likewise.
25589 (libc_fesetroundl): Likewise.
25590 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25591 function.
25592 (libc_fesetroundf): New macro.
25593 (libc_fesetround): Likewise.
25594 (libc_fesetroundl): Likewise.
25595 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25596 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25597 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25598 libm_hidden_ver.
25599 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25600 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25601 libm_hidden_def.
25602 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25603 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25604 libm_hidden_ver.
25605 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25606 libm_hidden_def.
25607
fbeafede
JM
25608 [BZ #3439]
25609 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25610 integer constant usable in #if and use that to give value to enum
25611 constant.
25612 (FE_DIVBYZERO): Likewise.
25613 (FE_UNDERFLOW): Likewise.
25614 (FE_OVERFLOW): Likewise.
25615 (FE_INVALID): Likewise.
25616 (FE_INVALID_SNAN): Likewise.
25617 (FE_INVALID_ISI): Likewise.
25618 (FE_INVALID_IDI): Likewise.
25619 (FE_INVALID_ZDZ): Likewise.
25620 (FE_INVALID_IMZ): Likewise.
25621 (FE_INVALID_COMPARE): Likewise.
25622 (FE_INVALID_SOFTWARE): Likewise.
25623 (FE_INVALID_SQRT): Likewise.
25624 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25625 (FE_TONEAREST): Likewise.
25626 (FE_TOWARDZERO): Likewise.
25627 (FE_UPWARD): Likewise.
25628 (FE_DOWNWARD): Likewise.
25629 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25630 (FE_DIVBYZERO): Likewise.
25631 (FE_OVERFLOW): Likewise.
25632 (FE_UNDERFLOW): Likewise.
25633 (FE_INEXACT): Likewise.
25634 (FE_TONEAREST): Likewise.
25635 (FE_DOWNWARD): Likewise.
25636 (FE_UPWARD): Likewise.
25637 (FE_TOWARDZERO): Likewise.
25638 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25639 (FE_UNDERFLOW): Likewise.
25640 (FE_OVERFLOW): Likewise.
25641 (FE_DIVBYZERO): Likewise.
25642 (FE_INVALID): Likewise.
25643 (FE_TONEAREST): Likewise.
25644 (FE_TOWARDZERO): Likewise.
25645 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25646 (FE_OVERFLOW): Likewise.
25647 (FE_UNDERFLOW): Likewise.
25648 (FE_DIVBYZERO): Likewise.
25649 (FE_INEXACT): Likewise.
25650 (FE_TONEAREST): Likewise.
25651 (FE_TOWARDZERO): Likewise.
25652 (FE_UPWARD): Likewise.
25653 (FE_DOWNWARD): Likewise.
25654 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25655 (FE_DIVBYZERO): Likewise.
25656 (FE_OVERFLOW): Likewise.
25657 (FE_UNDERFLOW): Likewise.
25658 (FE_INEXACT): Likewise.
25659 (FE_TONEAREST): Likewise.
25660 (FE_DOWNWARD): Likewise.
25661 (FE_UPWARD): Likewise.
25662 (FE_TOWARDZERO): Likewise.
25663
105ca950
CM
256642012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25665
25666 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25667
a542b389
AS
256682012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25669
25670 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25671 commands. Quote $PWD.
25672 (blacklist_exports): Don't use remove_newlines. Replace "declare
25673 -x" by "export".
25674 (remove_newlines): Remove.
25675
f62c8abc
L
256762012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25677
25678 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25679 * stdlib/stdlib.h (atof): Moved to ...
25680 * include/bits/stdlib-float.h: Here. New file.
25681 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25682 * stdlib/bits/stdlib-float.h: New file.
25683 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25684 -mno-sse -mno-mmx.
25685 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25686 <xmmintrin.h>.
25687
0155d5b2
JM
256882012-11-02 Joseph Myers <joseph@codesourcery.com>
25689
a68d0680
JM
25690 * conform/conformtest.pl (@headers): Add fenv.h.
25691 * conform/data/fenv.h-data: New file.
25692 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25693 include of <math/fenv.h>.
25694
caf7f573
JM
25695 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25696 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25697 && !UNIX98]. Enables tests for XOPEN2K8.
25698 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25699 POSIX2008]: Likewise.
25700
6c073ad6
JM
25701 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25702 (struct rusage): Do not expect type or its members.
25703
0155d5b2
JM
25704 [BZ #3439]
25705 * math/math.h (FP_NAN): Define macro to integer constant usable in
25706 #if and use that to give value to enum constant.
25707 (FP_INFINITE): Likewise.
25708 (FP_ZERO): Likewise.
25709 (FP_SUBNORMAL): Likewise.
25710 (FP_NORMAL): Likewise.
25711
b5dcacb4
AS
257122012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25713
25714 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25715 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25716 arguments.
25717
f7934be8
RM
257182012-11-02 Roland McGrath <roland@hack.frob.com>
25719
25720 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25721 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25722 autoconf-time if not.
25723 * configure.in: Remove AC_PREREQ.
25724
d7d08bde
TMQMF
257252012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25726
25727 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25728 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25729 of the internal implementation.
25730
dcdae19a
JM
257312012-11-02 Joseph Myers <joseph@codesourcery.com>
25732
25733 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25734 except include of <misc/sys/syslog.h>.
25735
d6cffd3e
AS
257362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25737
25738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25739 function returns with a NULL context exit with zero.
25740
b3563932
TMQMF
257412012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25742
25743 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25744
b288a93d
L
257452012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25746
25747 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25748 (run_program_cmd): This.
25749 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25750 (tst_langinfo): New variable. Use it.
25751
a2421a68
SAS
257522012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25753
25754 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25755 floating point opcodes.
25756
6f796e1b
TS
257572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25758
7402596b
TS
25759 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25760 variable.
25761
d0d4f868
TS
25762 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25763
6f796e1b
TS
25764 * sysdeps/mach/hurd/powerpc: Remove directory.
25765 * sysdeps/mach/powerpc: Likewise.
25766
4da224a2
AS
257672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25768
25769 * scripts/check-local-headers.sh: Ignore c++ headers.
25770
341dd673
TS
257712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25772
25773 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25774 __libc_cleanup_region_start argument.
25775
473611b2
JM
257762012-11-01 Joseph Myers <joseph@codesourcery.com>
25777
25778 [BZ #14784]
25779 [BZ #14785]
25780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25781 x * y using scaling, not as x * y + z.
25782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25783 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25784 * math/libm-test.inc (fma_test): Add more tests.
25785 (fma_test_towardzero): Likewise.
25786 (fma_test_downward): Likewise.
25787 (fma_test_upward): Likewise.
25788
4078da3d
TS
257892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25790
25791 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25792
903252aa
JM
257932012-10-31 Joseph Myers <joseph@codesourcery.com>
25794
25795 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25796 New variable.
25797
cbc818d0
TS
257982012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25799
25800 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25801
5a03cb1e
AS
258022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25803
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25805 Fix sort order.
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25807 Likewise.
25808
90aff2ff
TMQMF
258092012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25810
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25812 Fix the order of the list for glibc 2.17.
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25814 Likewise.
25815
1818fcb7
AS
258162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25817
25818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25819
ef82f4da
JM
258202012-10-31 Joseph Myers <joseph@codesourcery.com>
25821
16a0e2ec
JM
25822 [BZ #14610]
25823 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25824 for low part of x being zero before using __atanl (y).
25825 * math/libm-test.inc (atan2_test): Add another test.
25826
0eb69512
JM
25827 * manual/install.texi (Configuring and compiling): Document
25828 general use of test-wrapper and test-wrapper-env.
25829 * INSTALL: Regenerated.
25830
ef82f4da
JM
25831 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25832 (__fma): Do not extract and scale down low bits on after-rounding
25833 systems when result rounded to normal precision would have normal
25834 exponent.
25835 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25836 (__fmal): Do not extract and scale down low bits on after-rounding
25837 systems when result rounded to normal precision would have normal
25838 exponent.
25839 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25840 (__fmal): Do not extract and scale down low bits on after-rounding
25841 systems when result rounded to normal precision would have normal
25842 exponent.
25843 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25844 macro.
25845 (fma_test): Add more tests.
25846 (fma_test_towardzero): Likewise.
25847 (fma_test_downward): Likewise.
25848 (fma_test_upward): Likewise.
25849
954ef0d9
L
258502012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25851
25852 * sysdeps/i386/tininess.h: Renamed to ...
25853 * sysdeps/x86/tininess.h: This.
25854 * sysdeps/x86_64/tininess.h: Removed.
25855
df61ffb2
JM
258562012-10-30 Joseph Myers <joseph@codesourcery.com>
25857
25858 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25859 input. Use $(build-program-cmd).
25860 ($(objpfx)tst-array1-static.out): Likewise.
25861 ($(objpfx)tst-array2.out): Likewise.
25862 ($(objpfx)tst-array3.out): Likewise.
25863 ($(objpfx)tst-array4.out): Likewise.
25864 ($(objpfx)tst-array5.out): Likewise.
25865 ($(objpfx)tst-array5-static.out): Likewise.
25866
01767843
CM
258672012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25868
47cc1490
CM
25869 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25870 if defined.
25871
01767843
CM
25872 * nss/nsswitch.h (nss_interface_function): Provide new
25873 macro for use with NSS functions.
25874 * grp/initgroups.c: Use new macro.
25875 * nss/getXXbyYY.c: Likewise.
25876 * nss/getXXbyYY_r.c: Likewise.
25877 * nss/getXXent.c: Likewise.
25878 * nss/getXXent_r.c: Likewise.
25879 * sysdeps/posix/getaddrinfo.c: Likewise.
25880
8321aa97
AJ
258812012-10-30 Andreas Jaeger <aj@suse.de>
25882
25883 * po/ru.po: Update Russion translation from translation project.
25884
2a27fd6d
JM
258852012-10-30 Joseph Myers <joseph@codesourcery.com>
25886
8627a232
JM
25887 [BZ #14152]
25888 [BZ #14783]
25889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25890 result and shift together with sticky bit instead of replicating
25891 round-to-nearest rounding.
25892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25894 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25895 missing underflow exceptions.
25896 (fma_test_towardzero): Add more tests.
25897 (fma_test_downward): Likewise.
25898 (fma_test_upward): Likewise.
25899
2a27fd6d
JM
25900 [BZ #14047]
25901 * sysdeps/generic/tininess.h: New file.
25902 * sysdeps/i386/tininess.h: Likewise.
25903 * sysdeps/sh/tininess.h: Likewise.
25904 * sysdeps/x86_64/tininess.h: Likewise.
25905 * stdlib/tst-strtod-underflow.c: Likewise.
25906 * stdlib/tst-tininess.c: Likewise.
25907 * stdlib/strtod_l.c: Include <tininess.h>.
25908 (round_and_return): Do not set errno for exact underflow cases.
25909 Force an underflow exception when setting errno for underflow.
25910 Determine underflow based on rounding to normal precision if
25911 TININESS_AFTER_ROUNDING.
25912 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25913 ERANGE for exact underflow cases.
25914 * stdlib/Makefile (tests): Add tst-tininess and
25915 tst-strtod-underflow.
25916 ($(objpfx)tst-tininess): Use $(link-libm).
25917 ($(objpfx)tst-strtod-underflow): Likewise.
25918
e7170363
AJ
259192012-10-30 Andreas Jaeger <aj@suse.de>
25920
e5088dc6
AJ
25921 [BZ#14767]
25922 * elf/Makefile (tests): Remove conditional for have-initfini-array
25923 since this is now always required and the variable does not exist
25924 anymore.
25925 (tests-static): Likewise.
25926 (modules-names): Likewise.
25927
e7170363 25928 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25929
25930 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25931 merged with constructor/destructor.
25932 (init_array): Likewise.
25933 * elf/tst-array2dep.c (fini_array): Likewise.
25934 (init_array): Likewise.
25935
60457d8a
MF
259362012-10-29 Mike Frysinger <vapier@gentoo.org>
25937
25938 * manual/message.texi: Delete @cartouche tags.
25939
8bece752
PT
259402012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25941
94ce799f
PT
25942 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25943 EOPNOTSUPP.
25944 * sysdeps/mach/hurd/fsync.c: Likewise.
25945
8bece752
PT
25946 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25947 [_POSIX_REALTIME_SIGNALS]: Change condition to
25948 [_POSIX_REALTIME_SIGNALS > 0].
25949
86ebe6b1
AJ
259502012-10-27 Andreas Jaeger <aj@suse.de>
25951
25952 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25953 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25955 [__WORDSIZE != 64]: Likewise.
25956
54399c08
L
259572012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25958
25959 * iconvdata/tst-table.sh: Remove ${SHELL}.
25960 * iconvdata/tst-tables.sh: Likewise.
25961
e2211bed
DM
259622012-10-25 David S. Miller <davem@davemloft.net>
25963
25964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25965 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25966 of strtoull.
25967
f303f97c
DM
25968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25969 ifunc-impl-list.c
25970 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25971 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25972 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25973 file.
25974
1e9d84cd
RM
259752012-10-25 Roland McGrath <roland@hack.frob.com>
25976
25977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25978 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25979 __getdirentries.
25980
df381762
JM
259812012-10-25 Joseph Myers <joseph@codesourcery.com>
25982 Jim Blandy <jimb@codesourcery.com>
25983
25984 * scripts/cross-test-ssh.sh: New file.
25985 * manual/install.texi (Configuring and compiling): Document use of
25986 cross-test-ssh.sh.
25987 * INSTALL: Regenerated.
25988
bff64913
PT
259892012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25990
25991 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25992 EOPNOTSUPP.
25993
25fe8932
JM
259942012-10-25 Joseph Myers <joseph@codesourcery.com>
25995
25996 * Makeconfig (run-program-prefix): Fix comment.
25997
cc1290d0
JM
259982012-10-24 Joseph Myers <joseph@codesourcery.com>
25999 Jim Blandy <jimb@codesourcery.com>
26000
26001 * Makeconfig (test-wrapper): New variable,
26002 (test-wrapper-env): Likewise.
26003 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26004 (run-built-tests): Define to yes.
26005 (run-program-prefix): Use $(test-wrapper).
26006 (built-program-cmd): Likewise.
26007 * Rules (make-test-out): Use $(test-wrapper-env) and
26008 $(host-built-program-cmd).
26009 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26010 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26011 tst-pathopt.sh.
26012 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26013 $(test-wrapper-env) to tst-rtld-load-self.sh.
26014 ($(objpfx)order2.out): Use $(test-wrapper).
26015 ($(objpfx)tst-initorder.out): Likewise.
26016 ($(objpfx)tst-initorder2.out): Likewise.
26017 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26018 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26019 (test_wrapper_env): New variable. Use it to run ld.so.
26020 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26021 Use it to run ld.so.
26022 (test_wrapper_env): Likewise.
26023 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26024 $(test-wrapper) to run-iconv-test.sh.
26025 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26026 (ICONV): Use $test_wrapper.
26027 * posix/Makefile ($(objpfx)globtest.out): Pass
26028 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26029 globtest.sh, not $(run-program-prefix).
26030 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26031 (test_wrapper): Likewise.
26032 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26033 set together with run_via_rtld_prefix.
26034 (run_program_prefix): Define in terms of test_wrapper and
26035 run_via_rtld_prefix.
26036
6e6249d0
RM
260372012-10-24 Roland McGrath <roland@hack.frob.com>
26038
26039 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26040 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26041 Targets removed.
26042
26043 [BZ #14743]
26044 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26045 Declare __clock_getres, __clock_gettime, __clock_settime,
26046 __clock_nanosleep, and __clock_getcpuclockid.
26047 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26048 Remove librt_hidden_def (clock_gettime).
26049 * sysdeps/unix/clock_gettime.c: Likewise.
26050 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26051 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26052 * rt/clock_getres.c: Define __clock_getres as an alias.
26053 * sysdeps/posix/clock_getres.c: Likewise.
26054 * rt/clock_settime.c: Define __clock_settime as an alias.
26055 * sysdeps/unix/clock_settime.c: Likewise.
26056 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26057 * sysdeps/unix/clock_nanosleep.c: Likewise.
26058 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26059 * rt/clock-compat.c: New file.
26060 * rt/Makefile (librt-routines): Add clock-compat and move
26061 $(clock-routines) to ...
26062 (routines): ... here, new variable.
26063 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26064 Don't add get_clockfreq here.
26065 * rt/Versions (libc: GLIBC_2.17): New version set.
26066 Add clock_* symbols here.
26067 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26068 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26069 (GLIBC_2.17): Add clock_* symbols.
26070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26072 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26074 Likewise.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26076 Likewise.
26077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26081 * NEWS: Mention the move.
26082
26083 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26084 Use __open, __read, __close rather than their public counterparts.
26085 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26086 (__get_clockfreq_via_cpuinfo): Likewise.
26087 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26088 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26089
26090 * config.h.in (HAVE_IFUNC): New #undef.
26091 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26092 was successful.
26093 * configure: Regenerated.
26094
0cae3f4b
MF
260952012-10-24 Mike Frysinger <vapier@gentoo.org>
26096
26097 * configure.in: Move READELF check to start of file.
26098 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26099 libc_cv_asm_gnu_indirect_function in the process.
26100 * configure: Regenerated.
26101
8175a253
MF
261022012-10-24 Mike Frysinger <vapier@gentoo.org>
26103
26104 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26105 send the output to /dev/null.
26106 (libc_cv_cc_with_libunwind): Likewise.
26107 (libc_cv_as_noexecstack): Likewise.
26108 * configure: Regenerate.
26109
0708a7d1
JM
261102012-10-24 Joseph Myers <joseph@codesourcery.com>
26111
10b40d85
JM
26112 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26113
0708a7d1
JM
26114 * posix/globtest.sh (TMPDIR): Do not set.
26115 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26116 (testout): Likewise.
26117
9fddec1a
AJ
261182012-10-24 Andreas Jaeger <aj@suse.de>
26119
3a8db22f
AJ
26120 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26121 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26122 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26123 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26124 posix_fadvise64, posix_fallocate64.
26125
9fddec1a
AJ
26126 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26127 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26128 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26129 Likewise.
26130 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26131 Likewise.
26132 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26133
26134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26135 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26136 <bits/fcntl-linux.h>.
26137 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26138
26139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26140 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26141 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26142 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26143 [__WORDSIZE != 64]: Likewise.
26144
ebfd1bbd
JM
261452012-10-23 Joseph Myers <joseph@codesourcery.com>
26146
03ac099f
JM
26147 * Makeconfig (run-built-tests): New variable.
26148 * Rules [$(cross-compiling) = yes]: Change condition to
26149 [$(run-built-tests) = no].
26150 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26151 to [$(run-built-tests) = yes].
26152 * elf/Makefile [$(cross-compiling) = no]: Likewise
26153 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26154 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26155 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26156 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26157 * io/Makefile [$(cross-compiling) = no]: Likewise.
26158 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26159 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26160 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26161 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26162 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26163 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26164 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26165 * string/Makefile [$(cross-compiling) = no]: Likewise.
26166
ebfd1bbd
JM
26167 * posix/Makefile ($(objpfx)globtest.out): Pass
26168 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26169 $(rtld-installed-name).
26170 * posix/globtest.sh (elf_objpfx): Remove variable.
26171 (rtld_installed_name): Likewise.
26172 (library_path): Likewise.
26173 (run_program_prefix): New variable. Use for running globtest
26174 binary.
26175
166bca24
JB
261762012-10-23 Jim Blandy <jimb@codesourcery.com>
26177 Joseph Myers <joseph@codesourcery.com>
26178
26179 * Makeconfig (host-built-program-cmd): New variable.
26180 * elf/Makefile (tst-stackguard1-ARGS): Use
26181 $(host-built-program-cmd).
26182 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26183 (tst-spawn-ARGS): Likewise.
26184 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26185
88866099
JM
261862012-10-23 Joseph Myers <joseph@codesourcery.com>
26187 Jim Blandy <jimb@codesourcery.com>
26188
26189 * Makeconfig (run-via-rtld-prefix): New variable.
26190 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26191 (built-program-cmd): Likewise.
26192
b4b4c296
AJ
261932012-10-22 Andreas Jaeger <aj@suse.de>
26194
26195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26196 __O_RSYNC if it exists, otherwise to O_SYNC.
26197
6fb54a22
JB
261982012-10-22 Jim Blandy <jimb@codesourcery.com>
26199 Joseph Myers <joseph@codesourcery.com>
26200
26201 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26202 /dev/null.
26203 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26204 from /dev/null
26205 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26206 /dev/null.
26207
481b90b9
AJ
262082012-10-22 Andreas Jaeger <aj@suse.de>
26209
2a0e2669
AJ
26210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26211 Define always.
26212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26213
76e38f9a
AJ
26214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26215 bits/fcntl-linux.h.
26216
7cd37b43
AJ
26217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26218 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26219
481b90b9
AJ
26220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26221 to __O_LARGEFILE.
26222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26223 to __O_LARGEFILE.
26224
aba75984
JB
262252012-10-21 Jim Blandy <jimb@codesourcery.com>
26226 Joseph Myers <joseph@codesourcery.com>
26227
26228 * config.make.in (NM): New variable.
26229
88d4247f
AJ
262302012-10-21 Andreas Jaeger <aj@suse.de>
26231
26232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26233 definitions and declarations that are provided by
26234 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26235
f2eed205
L
262362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26237
26238 [BZ #14683]
26239 * elf/Makefile (tests-static): Add tst-leaks1-static.
26240 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26241 ($(objpfx)tst-leaks1-static): New rule.
26242 ($(objpfx)tst-leaks1-static-mem): Likewise.
26243 (tst-leaks1-static-ENV): New macro.
26244 * elf/dl-open.c (dl_open_worker): Check the main application
26245 only if SHARED is defined.
26246 * elf/tst-leaks1-static.c: New file.
26247
335e6931
AJ
262482012-10-20 Andreas Jaeger <aj@suse.de>
26249
26250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26251 generic values for Linux.
26252 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26253 and declarations that are provided by <bits/fcntl-linux.h> and
26254 include <bits/fcntl-linux.h>.
26255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26257
ac5c94d3
RM
262582012-10-20 Roland McGrath <roland@hack.frob.com>
26259
26260 * io/fcntl.h: Move include of <bits/types.h> to the top and
26261 include it unconditionally.
26262
de54b33a
L
262632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26264
228cfb01
L
26265 * wcsmbs/Makefile (tests-ifunc): New variable.
26266 (tests): Add $(tests-ifunc).
26267 * wcsmbs/test-wcschr-ifunc.c: New file.
26268 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26269 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26270 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26271 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26272 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26273
69f07e5f
L
26274 * string/Makefile (tests-ifunc): New variable.
26275 (tests): Add $(tests-ifunc).
26276 * string/test-memccpy.c (TEST_NAME): New macro.
26277 * string/test-memchr.c (TEST_NAME): Likewise.
26278 * string/test-memcmp.c (TEST_NAME): Likewise.
26279 * string/test-memcpy.c (TEST_NAME): Likewise.
26280 * string/test-memmem.c (TEST_NAME): Likewise.
26281 * string/test-memmove.c (TEST_NAME): Likewise.
26282 * string/test-memset.c (TEST_NAME): Likewise.
26283 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26284 * string/test-stpcpy.c (TEST_NAME): Likewise.
26285 * string/test-stpncpy.c (TEST_NAME): Likewise.
26286 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26287 * string/test-strcasestr.c (TEST_NAME): Likewise.
26288 * string/test-strcat.c (TEST_NAME): Likewise.
26289 * string/test-strchr.c (TEST_NAME): Likewise.
26290 * string/test-strcmp.c(TEST_NAME): Likewise.
26291 * string/test-strcpy.c (TEST_NAME): Likewise.
26292 * string/test-strcspn.c (TEST_NAME): Likewise.
26293 * string/test-strlen.c (TEST_NAME): Likewise.
26294 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26295 * string/test-strncmp.c (TEST_NAME): Likewise.
26296 * string/test-strncpy.c (TEST_NAME): Likewise.
26297 * string/test-strnlen.c (TEST_NAME): Likewise.
26298 * string/test-strpbrk.c (TEST_NAME): Likewise.
26299 * string/test-strrchr.c (TEST_NAME): Likewise.
26300 * string/test-strspn.c (TEST_NAME): Likewise.
26301 * string/test-strstr.c (TEST_NAME): Likewise.
26302 * string/test-bcopy-ifunc.c: New file.
26303 * string/test-bzero-ifunc.c: Likewise.
26304 * string/test-memccpy-ifunc.c: Likewise.
26305 * string/test-memchr-ifunc.c: Likewise.
26306 * string/test-memcmp-ifunc.c: Likewise.
26307 * string/test-memcpy-ifunc.c: Likewise.
26308 * string/test-memmem-ifunc.c: Likewise.
26309 * string/test-memmove-ifunc.c: Likewise.
26310 * string/test-mempcpy-ifunc.c: Likewise.
26311 * string/test-memset-ifunc.c: Likewise.
26312 * string/test-rawmemchr-ifunc.c: Likewise.
26313 * string/test-stpcpy-ifunc.c: Likewise.
26314 * string/test-stpncpy-ifunc.c: Likewise.
26315 * string/test-strcasecmp-ifunc.c: Likewise.
26316 * string/test-strcasestr-ifunc.c: Likewise.
26317 * string/test-strcat-ifunc.c: Likewise.
26318 * string/test-strchr-ifunc.c: Likewise.
26319 * string/test-strchrnul-ifunc.c: Likewise.
26320 * string/test-strcmp-ifunc.c: Likewise.
26321 * string/test-strcpy-ifunc.c: Likewise.
26322 * string/test-strcspn-ifunc.c: Likewise.
26323 * string/test-strlen-ifunc.c: Likewise.
26324 * string/test-strncasecmp-ifunc.c: Likewise.
26325 * string/test-strncat-ifunc.c: Likewise.
26326 * string/test-strncmp-ifunc.c: Likewise.
26327 * string/test-strncpy-ifunc.c: Likewise.
26328 * string/test-strnlen-ifunc.c: Likewise.
26329 * string/test-strpbrk-ifunc.c: Likewise.
26330 * string/test-strrchr-ifunc.c: Likewise.
26331 * string/test-strspn-ifunc.c: Likewise.
26332 * string/test-strstr-ifunc.c: Likewise.
26333
de54b33a
L
26334 * debug/Makefile (tests-ifunc): New variable.
26335 (tests): Add $(tests-ifunc).
26336 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26337 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26338 * debug/test-stpcpy_chk-ifunc.c: New file.
26339 * debug/test-strcpy_chk-ifunc.c: Likewise.
26340
88481c16
SP
263412012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26342
26343 [BZ #13601]
26344 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26345 header is not read in.
26346
135948bd
JM
263472012-10-19 Joseph Myers <joseph@codesourcery.com>
26348
89f1c388
JM
26349 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26350 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26351 directly. Pass built executable to script as
26352 $(built-program-cmd).
26353 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26354 $testprogram without using LD_LIBRARY_PATH and $ldso.
26355
e40a0d21
JM
26356 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26357 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26358 $(rtld-installed-name).
26359 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26360 (rtld_installed_name): Likewise.
26361 (library_path): Likewise.
26362 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26363 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26364 $(run-program-prefix) to tst-tables.sh.
26365 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26366 it to run tst-table-from and tst-table-to.
26367 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26368 Pass it to tst-table.sh.
26369 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26370 $(run-program-prefix) to tst-gettext.sh.
26371 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26372 tst-translit.sh.
26373 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26374 tst-gettext2.sh.
26375 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26376 to run tst-gettext.
26377 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26378 to run tst-gettext2.
26379 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26380 to run tst-translit.
26381 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26382 $(run-program-prefix) to tst-mtrace.sh.
26383 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26384 to run tst-mtrace.
26385 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26386 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26387 $(rtld-installed-name).
26388 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26389 (rtld_installed_name): Likewise.
26390 (run_program_prefix): New variable. Use it to run wordexp-test.
26391
728e272a
JM
26392 * Makeconfig (ARCH): Remove all definitions.
26393 (machine): Likewise.
26394 [ARCH]: Remove conditional code.
26395 [!objdir]: Give error.
26396 [!objdir] (objpfx): Remove.
26397 [!objdir] (common-objpfx): Likewise.
26398 [!objdir] (common-objdir): Likewise.
26399 * configure.in (config_makefile): Remove. Hardcode Makefile in
26400 AC_CONFIG_FILES call.
26401 * configure: Regenerated.
26402
d528cdcf
JM
26403 [BZ #13888]
26404 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26405 or TMPDIR.
26406 (testout): Likewise.
26407
135948bd
JM
26408 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26409 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26410 $(rtld-installed-name).
26411 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26412 (rtld_installed_name): Likwise.
26413 (runit): Remove function.
26414 (run_getconf): New variable, Use it for running getconf binary.
26415
38c78296
L
264162012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26417
26418 [BZ #14716]
26419 * string/test-memmem.c (check_result): New function.
26420 (do_one_test): Use it.
26421 (check1): New function.
26422 (test_main): Use it.
26423
d077f65f
MT
264242012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26425
26426 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26427
ced52c71
JM
264282012-10-18 Joseph Myers <joseph@codesourcery.com>
26429
26430 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26431 (_G_LSEEK64): Likewise.
26432 (_G_MMAP64): Likewise.
26433 (_G_FSTAT64): Likewise.
26434 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26435 (_G_LSEEK64): Likewise.
26436 (_G_MMAP64): Likewise.
26437 (_G_FSTAT64): Likewise.
26438 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26439 unconditional. Call __mmap64 directly.
26440 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26441 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26442 __lseek64 directly.
26443 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26444 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26445 __mmap64 directly.
26446 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26447 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26448 __lseek64 directly.
26449 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26450 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26451 __lseek64 directly.
26452 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26453 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26454 __lseek64 directly.
26455 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26456 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26457 __fxstat64 directly.
26458 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26459 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26460 unconditional.
26461 (freopen64) [!_G_OPEN64]: Remove conditional code.
26462 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26463 unconditional.
26464 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26465 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26466 unconditional.
26467 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26468 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26469 unconditional.
26470 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26471 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26472 unconditional.
26473 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26474 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26475 unconditional.
26476 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26477 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26478 unconditional.
26479 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26480 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26481 unconditional.
26482 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26483
b741de23
SP
264842012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26485
26486 [BZ #12140]
26487 * manual/memory.texi (Malloc Tunable Parameters): Add note
26488 about free list pointers overwriting some perturb bytes.
26489 Wording suggested by Roland McGrath.
26490
f9b9d9c9
JM
264912012-10-17 Joseph Myers <joseph@codesourcery.com>
26492
26493 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26494 (lgamma_test): Likewise.
26495 (tgamma_test): Likewise.
26496
172a631a
FW
264972012-10-16 Florian Weimer <fweimer@redhat.com>
26498
26499 [BZ #14700]
26500 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26501 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26502
e9f37252
MK
265032012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26504
26505 * NEWS: Mention BZ #14716.
26506 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26507 when removing AVAILABLE1_USES_J macro.
26508
d394eb74
L
265092012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26510
26511 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26512 (__bswap_64): __uint64_t for unsigned 64-bit int.
26513
ca38dc17
AS
265142012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26515
26516 * include/string.h (memmem): Declare libc hidden alias.
26517 * string/memmem.c (memmem): Define libc hidden alias.
26518 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26519 __read, __close instead of open, read, close.
26520
9a387d1f
L
265212012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26522
ac49ecaf
L
26523 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26524 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26525 global and hidden.
26526 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26527 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26528 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26529 Likewise.
26530 (__rawmemchr_sse2): Likewise.
26531 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26532 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26533 (__strchr_sse2): Likewise.
26534 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26535 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26536 (__strcasecmp_sse2): Likewise.
26537 (__strncasecmp_sse2): Likewise.
26538 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26539 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26540 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26541 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26542 (__strrchr_sse2): Likewise.
26543 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26544 ifunc-impl-list.c.
26545 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26546 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26547 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26548 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26549 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26550 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26551 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26552 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26553 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26554 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26555 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26556 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26557 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26558 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26559 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26560 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26561 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26562 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26563 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26564 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26565 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26566 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26567 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26568 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26569 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26570 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26571 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26572 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26573 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26574 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26575
b090e8ea
L
26576 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26577 global and hidden.
26578 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26579 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26580 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26581 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26582 Likewise.
26583 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26584 Likewise.
26585 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26586 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26587 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26588 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26589 ifunc-impl-list.c.
26590 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26591 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26592 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26593 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26594 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26595 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26596 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26597 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26598 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26599 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26600 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26601 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26602 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26603 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26604 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26605 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26606 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26607 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26608 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26609 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26610 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26611 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26612 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26613 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26615 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26616 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26617 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26618 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26619 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26624 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26631
11dd4af6
L
26632 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26633 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26634 * include/ifunc-impl-list.h: New file.
26635 * misc/ifunc-impl-list.c: Likewise.
26636 * misc/Makefile (routines): Add ifunc-impl-list.
26637 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26638 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26639 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26640 TEST_NAME]: New variables.
11dd4af6
L
26641 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26642 are defined.
26643 (test_init): Call __libc_ifunc_impl_list to initialize
26644 func_list if TEST_IFUNC and TEST_NAME are defined.
26645
9a387d1f
L
26646 * string/Makefile (strop-tests): Add bcopy and bzero.
26647 * string/test-bcopy.c: New file.
26648 * string/test-bzero.c: Likewise.
26649 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26650 defined.
26651 * string/test-memset.c: Support bzero test if TEST_BZERO is
26652 defined.
26653 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26654 __libc_memmove.
26655 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26656 __libc_memset.
26657 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26658 of memset.
26659
472371b9
JM
266602012-10-10 Joseph Myers <joseph@codesourcery.com>
26661
1e4a9536
JM
26662 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26663 * configure: Regenerated.
26664
d173d12e
JM
26665 * Makeconfig (+link-static-before-libc): Don't include
26666 $(link-static-libc).
26667
472371b9
JM
26668 * libio/libio.h (_IO_pos_t): Remove.
26669
89a3ad0b
AO
266702012-10-10 Alexandre Oliva <aoliva@redhat.com>
26671
26672 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26673 McGrath.
26674
e7451425
AO
266752012-10-10 Alexandre Oliva <aoliva@redhat.com>
26676
26677 * crypt/crypt-entry.c: Include fips-private.h.
26678 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26679 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26680 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26681 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26682
4ba74a35
AO
266832012-10-10 Alexandre Oliva <aoliva@redhat.com>
26684
26685 * crypt/crypt-private.h: Include stdbool.h.
26686 (_ufc_setup_salt_r): Return bool.
26687 * crypt/crypt-entry.c: Include errno.h.
26688 (__crypt_r): Return NULL with EINVAL for bad salt.
26689 * crypt/crypt_util.c (bad_for_salt): New.
26690 (_ufc_setup_salt_r): Check that salt is long enough and within
26691 the specified alphabet.
26692 * crypt/badsalttest.c: New file.
26693 * crypt/Makefile (tests): Add it.
26694 ($(objpfx)badsalttest): New.
26695
f96f1242
MK
266962012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26697
26698 * NEWS: Add entry for BZ #14602.
26699
0e8e0c1c
JM
267002012-10-09 Joseph Myers <joseph@codesourcery.com>
26701
26702 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26703 type-generic.
26704 * math/libm-test.inc: Update comment listing what functions and
26705 macros are tested.
26706 (isgreater_test): New function.
26707 (isgreaterequal_test): Likewise.
26708 (isless_test): Likewise.
26709 (islessequal_test): Likewise.
26710 (islessgreater_test): Likewise.
26711 (isunordered_test): Likewise.
26712 (main): Call the new functions.
26713
273edc5e
RM
267142012-10-09 Roland McGrath <roland@hack.frob.com>
26715
b8493de0
RM
26716 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26717 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26718 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26719 * sysdeps/i386/configure: Regenerated.
26720 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26721 * sysdeps/mach/configure: Regenerated.
26722 * sysdeps/mach/hurd/configure: Regenerated.
26723 * sysdeps/powerpc/configure: Regenerated.
26724 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26725 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26726 * sysdeps/s390/s390-32/configure: Regenerated.
26727 * sysdeps/s390/s390-64/configure: Regenerated.
26728 * sysdeps/sh/configure: Regenerated.
26729 * sysdeps/sparc/configure: Regenerated.
26730 * sysdeps/unix/sysv/linux/configure: Regenerated.
26731 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26732 * sysdeps/x86_64/configure: Regenerated.
26733
273edc5e
RM
26734 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26735 defined. Don't check if MAP is NULL.
26736
c8450f70
JM
267372012-10-09 Joseph Myers <joseph@codesourcery.com>
26738
26739 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26740 (_G_stat64): Likewise.
26741 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26742 (_G_stat64): Likewise.
26743 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26744 instead of struct _G_stat64.
26745 * libio/fileops.c (mmap_remap_check): Likewise.
26746 (decide_maybe_mmap): Likewise.
26747 (_IO_new_file_seekoff): Likewise.
26748 (_IO_file_stat): Likewise.
26749 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26750 _G_off64_t.
26751 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26752 instead of struct _G_stat64.
26753 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26754
57e605ba
MK
267552012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26756
26757 [BZ #14602]
26758 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26759 Replace with ...
26760 (CHECK_EOL): New macro.
26761 (two_way_short_needle): Check beginning of haystack for EOL. Use
26762 CHECK_EOL.
26763 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26764 Replace with CHECK_EOL.
26765 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26766 Replace with CHECK_EOL.
26767
ef1bb361
JM
267682012-10-08 Joseph Myers <joseph@codesourcery.com>
26769
26770 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26771 type-generic.
26772 * math/libm-test.inc: Update comment listing what functions and
26773 macros are tested.
26774 (finite_test): New function.
26775 (isinf_test): Likewise.
26776 (isnan_test): Likewise.
26777 (fpclassify_test): Test subnormal input.
26778 (isfinite_test): Likewise.
26779 (isnormal_test): Likewise.
26780 (main): Call the new functions.
26781
55f11534
JN
267822012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26783
26784 [BZ #14660]
26785 * Makerules (%.dynsym): Force C locale when running
26786 $(OBJDUMP) --dynamic-syms.
26787
1ab29350
AS
267882012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26789
26790 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26791 <stdint.h>.
26792
f1ecb7ef
DM
267932012-10-06 David S. Miller <davem@davemloft.net>
26794
26795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26796 upper 32-bits of the length value in %o2 since we use branch-on-register
26797 tests which consider the entire 64-bit register.
26798
5d41d91a
L
267992012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26800
26801 * string/test-strstr.c (check2): Add a test for page boundary.
26802
3baddb72
DM
268032012-10-05 David S. Miller <davem@davemloft.net>
26804
26805 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26806 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26807 file.
26808 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26809 sysdep_routines.
26810 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26811 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26812 and bzero when HWCAP_SPARC_CRYPTO is present.
26813
9cee5585
L
268142012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26815
d7e0dab9
L
26816 [BZ #14602]
26817 * string/test-strstr.c (check2): New function.
26818 (test_main): Call check2.
26819
03759f47
L
26820 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26821 and bug-strchr1.
26822 * string/bug-strcasestr1.c (do_test): Moved to ...
26823 * string/test-strcasestr.c (check1): Here. New function.
26824 (do_one_test): Break out result checking code into ...
26825 (check_result): This. New function.
26826 (do_one_test): Call check_result.
26827 (test_main): Call check1.
26828 * string/bug-strchr1.c (do_test): Moved to ...
26829 * string/test-strchr.c (check1): Here. New function.
26830 (do_one_test): Break out result checking code into ...
26831 (check_result): This. New function.
26832 (do_one_test): Call check_result.
26833 (test_main): Call check1.
26834 * string/bug-strstr1.c (main): Moved to ...
046f153e 26835 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26836 (do_one_test): Break out result checking code into ...
26837 (check_result): This. New function.
26838 (do_one_test): Call check_result.
26839 (test_main): Call check1.
26840 * string/bug-strcasestr1.c: Removed.
26841 * string/bug-strchr1.c: Likewise.
26842 * string/bug-strstr1.c: Likewise.
26843
53cea63e
L
26844 * elf/Makefile (dl-routines): Add hwcaps.
26845 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26846 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26847 (_dl_important_hwcaps): Moved to ...
26848 * elf/dl-hwcaps.c: Here. New file.
26849 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26850
9cee5585 26851 [BZ #14557]
bb859b06
L
26852 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26853 if IS_IN_rtld isn't defined.
26854
9cee5585
L
26855 * elf/dl-support.c (_dl_sysinfo_map): New.
26856 Include "get-dynamic-info.h" and "setup-vdso.h".
26857 (_dl_non_dynamic_init): Call setup_vdso.
26858 * elf/dynamic-link.h: Don't include <assert.h>.
26859 (elf_get_dynamic_info): Moved to ...
26860 * elf/get-dynamic-info.h: Here. New file.
26861 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26862 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26863 * elf/setup-vdso.h: Here. New file.
26864 * elf/rtld.c: Include "setup-vdso.h".
26865 (dl_main): Call setup_vdso.
26866
23c31b76
JM
268672012-10-05 Joseph Myers <joseph@codesourcery.com>
26868
28234b07
JM
26869 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26870 creal in comment listing functions tested. List finite, isinf,
26871 isnan, isless, islessequal, isgreater, isgreaterequal,
26872 islessgreater, isunordered, lgamma_r and pow10 as functions and
26873 macros not tested. Mention which functions not tested are aliases
26874 for other functions. Fix typo. Note that signs of NaNs are not
26875 tested.
26876
23c31b76
JM
26877 * scripts/config.guess: Update from config.git.
26878 * scripts/config.sub: Likewise.
26879
9043e228
RM
268802012-10-04 Roland McGrath <roland@hack.frob.com>
26881
26882 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26883 * misc/madvise.c (madvise): Renamed to __madvise.
26884 Make madvise a weak alias.
26885 * include/sys/mman.h: Declare __madvise.
26886 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26887 * sysdeps/unix/syscalls.list
26888 (madvise): Make __madvise the strong name, and madvise a weak alias.
26889 * sysdeps/unix/sysv/linux/syscalls.list
26890 (madvise, mmap): Remove redundant entries.
26891 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26892 * malloc/malloc.c (mtrim): Likewise.
26893 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26894
f57f8055
RM
268952012-10-03 Roland McGrath <roland@hack.frob.com>
26896
26897 * sysdeps/mach/hurd/dl-cache.c: File removed.
26898 * config.h.in (USE_LDCONFIG): New #undef.
26899 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26900 * configure: Regenerated.
26901 * elf/Makefile (dl-routines): Add dl-cache only under
26902 [$(use-ldconfig) = yes].
26903 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26904 cache on [USE_LDCONFIG].
26905 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26906 [USE_LDCONFIG].
26907 * elf/rtld.c (dl_main): Likewise.
26908
5bb0c10a
PT
269092012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26910
26911 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26912 _SC_LEVEL4_CACHE_LINESIZE.
26913
010188c6
RM
269142012-10-03 Roland McGrath <roland@hack.frob.com>
26915
26916 * sysdeps/unix/bsd/confstr.h: File removed.
26917
b6c5ec07
AO
269182012-10-02 Alexandre Oliva <aoliva@redhat.com>
26919
26920 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26921 sys/sdt-config.h.
26922
408223d4
RM
269232012-10-02 Roland McGrath <roland@hack.frob.com>
26924
26925 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26926 Make 'mapoff' field ElfW(Off) rather than off_t.
26927
bb9510dc
DL
269282012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26929
fc997c6e
DL
26930 * nscd/Makefile: Remove nscd-cflags and all its users.
26931 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26932 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26933
bb9510dc
DL
26934 [BZ #10631]
26935 * malloc.c (malloc_printerr): Clarify error message.
26936
05699367
L
269372012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26938
26939 [BZ #14648]
26940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26941 Set bit_FMA_Usable if FMA is supported.
26942 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26943 macro.
26944 (bit_FMA4_Usable): Updated.
26945 (index_FMA_Usable): New macro.
26946 (CPUID_FMA): Likewise
26947 (HAS_FMA): Defined with bit_FMA_Usable.
26948
51367701
RM
269492012-10-01 Roland McGrath <roland@hack.frob.com>
26950
26951 * bits/types.h (__swblk_t): Type removed.
26952 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26953 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26955 (__SWBLK_T_TYPE): Likewise.
26956 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26957 (__SWBLK_T_TYPE): Likewise.
26958 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26959 (__SWBLK_T_TYPE): Likewise.
26960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26961 (__SWBLK_T_TYPE): Likewise.
26962
4d57bf63 269632012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26964 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26965
26966 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26967 (xdr_mapname): Use YPMAXMAP as maxsize.
26968 (xdr_peername): Use YPMAXPEER as maxsize.
26969 (xdr_keydat): Use YPAXRECORD as maxsize.
26970 (xdr_valdat): Use YPMAXRECORD as maxsize.
26971
93c65d43
RM
269722012-10-01 Roland McGrath <roland@hack.frob.com>
26973
497a03d6
RM
26974 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26975
93c65d43
RM
26976 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26977 * csu/init-first.c: ... here.
26978 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26979 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26980 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26981 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26982 * sysdeps/i386/init-first.c: File removed.
26983 * sysdeps/sh/init-first.c: File removed.
26984
bec749fd
JM
269852012-10-01 Joseph Myers <joseph@codesourcery.com>
26986
26987 [BZ #14645]
26988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26989 if x * y might underflow to zero and z is zero.
26990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26992 * math/libm-test.inc (min_subnorm_value): New variable.
26993 (fma_test): Add more tests.
26994 (fma_test_towardzero): Likewise.
26995 (fma_test_downward): Likewise
26996 (fma_test_upward): Likewise.
26997 (initialize): Set min_subnorm_value.
26998
8ec5b013
JM
269992012-09-29 Joseph Myers <joseph@codesourcery.com>
27000
27001 [BZ #14638]
27002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27003 0 + 0.
27004 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27005 mode for addition resulting in exact zero.
27006 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27008 exact 0 + 0.
27009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27011 * math/libm-test.inc (fma_test): Add more tests.
27012 (fma_test_towardzero): New function.
27013 (fma_test_downward): Likewise.
27014 (fma_test_upward): Likewise.
27015 (main): Call the new functions.
27016
b1fa802e
DM
270172012-09-28 David S. Miller <davem@davemloft.net>
27018
27019 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27020
d3b9fd9e
RM
270212012-09-28 Roland McGrath <roland@hack.frob.com>
27022
ea4d37b3
RM
27023 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27024 instead of SIGALRM.
27025
ac51c949
RM
27026 * sysdeps/gnu/_G_config.h: Moved to ...
27027 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27028 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27029 * sysdeps/generic/_G_config.h: ... here.
27030
28c195f7
RM
27031 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27032
848917f9
RM
27033 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27034
6bacf05b
RM
27035 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27036 Conditionalize target on [libnss_test1.so-version].
27037
91363dbb
RM
27038 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27039
cc87f7d8
RM
27040 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27041 (elfobjdir): Move out of conditionals.
27042
b1c608fe
RM
27043 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27044 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27045 (__nss_lookup_function): Conditionalize label remove_from_tree on
27046 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27047
1d9a6d96
DM
270482012-09-28 David S. Miller <davem@davemloft.net>
27049
27050 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27051 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27052 file.
27053 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27054 sysdep_routines.
27055 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27057 when HWCAP_SPARC_CRYPTO is present.
27058
72581615
PT
270592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27060
27061 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27062
715a900c
JL
270632012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27064
27065 [BZ #6530]
27066 * stdio-common/vfprintf.c (process_string_arg): Revert
27067 2000-07-22 change.
27068
270692011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27070
27071 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27072 for testcase.
27073 * stdio-common/tst-sprintf.c: Include <locale.h>
27074 (main): Test sprintf's handling of incomplete multibyte
27075 characters.
27076
9bac1d86
L
270772012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27078
27079 * elf/dl-runtime.c (VERSYMIDX): Removed.
27080 * elf/dl-version.c (VERSYMIDX): Likewise.
27081 * elf/do-rel.h (VERSYMIDX): Likewise.
27082 (VALIDX): Likewise.
27083 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27084 * elf/rtld.c (VALIDX): Likewise.
27085 (ADDRIDX): Likewise.
9bac1d86
L
27086 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27087 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27088 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27089 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27090 (VALIDX): Likewise.
27091 (ADDRIDX): Likewise.
9bac1d86 27092
b31606c0
PT
270932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27094
27095 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27096
11541177
JL
270972012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27098
27099 [BZ #11438]
27100 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27101 to global scope.
27102 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27103 addresses are in the same scope as 192.0.2/24.
27104 * posix/gai.conf: Document new scope table defaults.
27105
adb26fae
SP
271062012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27107
27108 [BZ #5298]
27109 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27110 for ftell. Compute offsets from write pointers instead.
27111 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27112
4573c6b0
SP
271132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27114
27115 [BZ #14543]
27116 * libio/Makefile (tests): New test case tst-fseek.
27117 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27118 combination works in wide mode.
27119 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27120 state when the external buffer state changes.
27121
aa9bbfe6
DM
271222012-09-27 David S. Miller <davem@davemloft.net>
27123
27124 [BZ #14376]
27125 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27126 pass reloc->r_addend in as the 'high' argument to
27127 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27128
784421e7
DM
27129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27130
c39bc8b8
PT
271312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27132
27133 * rt/tst-aio2.c: Include <pthread.h>.
27134 * rt/tst-aio3.c: Likewise.
27135
1ccc2399
SE
271362012-09-27 Steve Ellcey <sellcey@mips.com>
27137
27138 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27139
31ed4153
L
271402012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27141
25f5f885
L
27142 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27143 contents on [SHARED].
31ed4153 27144
b7bfe116
MP
271452012-09-26 Marek Polacek <polacek@redhat.com>
27146
27147 [BZ #14530]
27148 [BZ #13741]
27149 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27150 for C++ and GCC <4.3 as well as for non GCC compilers.
27151
43c4edba
MT
271522012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27153
27154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27155
6a1bf82f
RM
271562012-09-25 Roland McGrath <roland@hack.frob.com>
27157
27158 * Makefile.in (all, install): Declare with .PHONY.
27159 Reported by Michael Hope <michael.hope@linaro.org>.
27160
8ad11b9a
TMQMF
271612012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27162
27163 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27164 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27165 system header.
27166 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27167 Likewise.
27168 (sydep_routines): Add the new and the internal functions.
27169 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27170 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27172 (GLIBC_2.17): Add the new function.
27173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27174 (GLIBC_2.17): Likewise.
27175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27176 (GLIBC_2.17): Likewise.
27177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27178 (GLIBC_2.17): Likewise.
27179 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27180
7e2fca8d
AM
271812012-09-25 Alan Modra <amodra@gmail.com>
27182
27183 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27184 Add release barrier before setting once_control to say
27185 initialisation is done. Add hints on lwarx. Use macro in
27186 place of isync.
27187 (clear_once_control): Add release barrier.
27188
b87c4b24
JM
271892012-09-25 Joseph Myers <joseph@codesourcery.com>
27190
d032e0d2
JM
27191 [BZ #13629]
27192 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27193 specially.
27194 * math/s_clog10.c (__clog10): Likewise.
27195 * math/s_clog10f.c (__clog10f): Likewise.
27196 * math/s_clog10l.c (__clog10l): Likewise.
27197 * math/s_clogf.c (__clogf): Likewise.
27198 * math/s_clogl.c (__clogl): Likewise.
27199 * math/Makefile (libm-calls): Add x2y2m1.
27200 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27201 (__x2y2m1): Likewise.
27202 (__x2y2m1l): Likewise.
27203 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27204 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27207 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27208 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27209 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27210 * sysdeps/i386/fpu/libm-test-ulps: Update.
27211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27212
b87c4b24
JM
27213 [BZ #14621]
27214 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27215 int as type of variable DEPTH.
27216 (glob): Use size_t instead of int as type of variables NEWCOUNT
27217 and OLD_PATHC.
27218
6d3bf199
LD
272192012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27220
22bf5c17
LD
27221 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27222 Add s_sincosf-sse2.
27223 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27224 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27225 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27226 macros for using routine as __sincosf_ia32.
27227 Use macro for function declaration and weak_alias.
27228 * sysdeps/i386/fpu/libm-test-ulps: Update.
27229
27230 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27232
27233 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
27234 subnormal argument.
27235 * math/s_cexpf.c (__cexpf): Likewise.
27236 * math/s_csinf.c (__csinf): Likewise.
27237 * math/s_csinhf.c (__csinhf): Likewise.
27238 * math/s_ctanf.c (__ctanf): Likewise.
27239 * math/s_ctanhf.c (__ctanhf): Likewise.
27240 * math/s_ccosh.c (__ccoshf): Likewise.
27241 * math/s_cexp.c (__cexpl): Likewise.
27242 * math/s_csin.c (__csin): Likewise.
27243 * math/s_csinh.c (__csinh): Likewise.
27244 * math/s_ctan.c (__ctan): Likewise.
27245 * math/s_ctanh.c (ctanh): Likewise.
27246 * math/s_ccoshl.c (__ccoshl): Likewise.
27247 * math/s_cexpl.c (__cexpl): Likewise.
27248 * math/s_csinl.c (__csinl): Likewise.
27249 * math/s_csinhl.c (__csinhl): Likewise.
27250 * math/s_ctanl.c (__ctanl): Likewise.
27251 * math/s_ctanhl.c (__ctanhl): Likewise.
27252
203e5603
JM
272532012-09-25 Joseph Myers <joseph@codesourcery.com>
27254
27255 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27256 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27257 (_IO_off_t): Define to __off_t, not _G_off_t.
27258 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27259 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27260 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27261 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27262 type of __dummy and __dummy2 fields.
27263 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27264 (_G_ssize_t): Likewise.
27265 (_G_off_t): Likewise.
27266 (_G_pid_t): Likewise.
27267 (_G_uid_t): Likewise.
27268 (_G_wchar_t): Likewise.
27269 (_G_wint_t): Likewise.
27270 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27271 (_G_ssize_t): Likewise.
27272 (_G_off_t): Likewise.
27273 (_G_pid_t): Likewise.
27274 (_G_uid_t): Likewise.
27275 (_G_wchar_t): Likewise.
27276 (_G_wint_t): Likewise.
27277 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27278 (_G_ssize_t): Likewise.
27279 (_G_off_t): Likewise.
27280 (_G_pid_t): Likewise.
27281 (_G_uid_t): Likewise.
27282 (_G_wchar_t): Likewise.
27283 (_G_wint_t): Likewise.
27284
9fab36eb
SP
272852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27286
27287 * malloc/arena.c: Include malloc-sysdep.h.
27288 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27289 is sufficient to shrink the heap or an unmap is needed.
27290 * sysdeps/generic/malloc-sysdep.h: New file. Define
27291 new function check_may_shrink_heap.
27292 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27293 new function check_may_shrink_heap.
27294
2b4f00d1
SP
272952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27296
27297 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27298 comments.
27299
9a9028b1
DL
273002012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27301
57c69bef
DL
27302 * catgets/test-gencat.sh: Add "set -e".
27303 * elf/tst-pathopt.sh: Likewise.
27304 * grp/tst_fgetgrent.sh: Likewise.
27305 * iconvdata/run-iconv-test.sh: Likewise.
27306 * intl/tst-gettext.sh: Likewise.
27307 * intl/tst-gettext2.sh: Likewise.
27308 * intl/tst-gettext4.sh: Likewise.
27309 * intl/tst-gettext6.sh: Likewise.
27310 * intl/tst-translit.sh: Likewise.
27311 * io/ftwtest-sh: Likewise.
27312 * libio/test-freopen.sh: Likewise.
27313 * malloc/tst-mtrace.sh: Likewise.
27314 * posix/globtest.sh: Likewise.
27315 * posix/tst-getconf.sh: Likewise.
27316 * posix/wordexp-tst.sh: Likewise.
27317 * stdio-common/tst-printf.sh: Likewise.
27318 * stdio-common/tst-unbputc.sh: Likewise.
27319 * stdlib/tst-fmtmsg.sh: Likewise.
27320 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27321 * catgets/Makefile: Do not specify -e option when running
27322 testsuite shell scripts.
27323 * elf/Makefile: Likewise.
27324 * grp/Makefile: Likewise.
27325 * iconvdata/Makefile: Likewise.
27326 * intl/Makefile: Likewise.
27327 * io/Makefile: Likewise.
27328 * libio/Makefile: Likewise.
27329 * malloc/Makefile: Likewise.
27330 * posix/Makefile: Likewise.
27331 * stdio-common/Makefile: Likewise.
27332 * stdlib/Makefile: Likewise.
27333 * sysdeps/x86_64/Makefile: Likewise.
27334
9a9028b1
DL
27335 * io/ftwtest-sh: Add copyright header.
27336 * posix/globtest.sh: Likewise.
27337 * posix/tst-getconf.sh: Likewise.
27338 * posix/wordexp-tst.sh: Likewise.
27339 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27340
ced6f16e
L
273412012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27342
94b32c39
L
27343 [BZ #13679]
27344 * Makeconfig (+link): Defined as $(+link-static) if
27345 $(build-shared) isn't yes.
27346 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27347 isn't yes.
27348 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27349
189e935b
L
27350 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27351
ced6f16e
L
27352 [BZ #14562]
27353 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27354 new chunk size with MALLOC_ALIGN_MASK.
27355
a9f8e53a
JM
273562012-09-24 Joseph Myers <joseph@codesourcery.com>
27357
27358 [BZ #5044]
27359 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27360 <rounding-mode.h>.
27361 (__printf_fphex): Determine rounding using get_rounding_mode and
27362 round_away.
27363 * stdio-common/tst-printf-round.c (struct hex_test): New
27364 structure.
27365 (hex_tests): New variable.
27366 (test_hex_in_one_mode): New function.
27367 (do_test): Also run tests for hex float output.
27368
43153109
JM
273692012-09-21 Joseph Myers <joseph@codesourcery.com>
27370
27371 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27372 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27373 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27374 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27375 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27376 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27377 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27378 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27379
8a26625d
JM
273802012-09-20 Joseph Myers <joseph@codesourcery.com>
27381
27382 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27383 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27384 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27385 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27386
f3fd569c
DL
273872012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27388
27389 [BZ #14579]
27390 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27391 mode only.
27392 * elf/tst-rtld-load-self.sh: New test.
27393 * elf/Makefile: Run it.
27394
63bbedd4
JM
273952012-09-18 Joseph Myers <joseph@codesourcery.com>
27396
27397 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27398 (tst-writev-ENV): Remove.
27399 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27400
626f8b6a
CM
274012012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27402
27403 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27404
b7aaa4d6
JM
274052012-09-17 Joseph Myers <joseph@codesourcery.com>
27406
27407 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27408 unconditional.
27409 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27410 Likewise.
27411 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27412 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27414 Likewise.
27415
65513990
L
274162012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27417
27418 [BZ #14587]
27419 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27420 * config.make.in (have-cpp-asm-debuginfo): Removed.
27421 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27422 * configure: Regenerated.
27423
784761be
JM
274242012-09-14 Joseph Myers <joseph@codesourcery.com>
27425
27426 [BZ #5044]
27427 * stdio-common/printf_fp.c: Include <stdbool.h> and
27428 <rounding-mode.h>.
27429 (___printf_fp): Determine rounding using get_rounding_mode and
27430 round_away.
27431 * stdio-common/tst-printf-round.c: New file.
27432 * stdio-common/Makefile (tests): Add tst-printf-round.
27433 (link-libm): New variable.
27434 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27435
9503345f
L
274362012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27437
27438 [BZ #14576]
27439 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27440 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27441 Likewise.
27442 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27443 Likewise.
27444
ad35fc00
JM
274452012-09-13 Joseph Myers <joseph@codesourcery.com>
27446
27447 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27448 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27449 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27450 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27451
6c9b0f68
JM
274522012-09-12 Joseph Myers <joseph@codesourcery.com>
27453
27454 [BZ #14518]
27455 * include/rounding-mode.h: New file.
27456 * sysdeps/generic/get-rounding-mode.h: Likewise.
27457 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27458 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27459 (MAX_VALUE): New macro.
27460 (MIN_VALUE): Likewise.
27461 (overflow_value): New function.
27462 (underflow_value): Likewise.
27463 (round_and_return): Use overflow_value and underflow_value to
27464 determine return values in overflow and underflow cases. Use
27465 round_away to determine rounding depending on rounding mode.
27466 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27467 determine return values in overflow and underflow cases.
27468 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27469 (struct test_results): New structure.
27470 (struct test): Use struct test_results to store expected results
27471 for all rounding modes.
27472 (TEST): Include expected results for all rounding modes.
27473 (test_in_one_mode): New function.
27474 (do_test): Use test_in_one_mode to compute and check results.
27475 Check results for all rounding modes.
27476 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27477 $(link-libm).
27478
19fcedd5
AM
274792012-12-09 Allan McRae <allan@archlinux.org>
27480
1e9d84cd 27481 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27482
8bbfd2f1
JM
274832012-09-11 Joseph Myers <joseph@codesourcery.com>
27484
27485 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27486 (_G_int32_t): Likewise.
27487 (_G_uint16_t): Likewise.
27488 (_G_uint32_t): Likewise.
27489 (_G_HAVE_BOOL): Likewise.
27490 (_G_HAVE_ATEXIT): Likewise.
27491 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27492 (_G_HAVE_IO_FILE_OPEN): Likewise.
27493 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27494 (_G_int32_t): Likewise.
27495 (_G_uint16_t): Likewise.
27496 (_G_uint32_t): Likewise.
27497 (_G_HAVE_BOOL): Likewise.
27498 (_G_HAVE_ATEXIT): Likewise.
27499 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27500 (_G_HAVE_IO_FILE_OPEN): Likewise.
27501 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27502 (_G_int32_t): Likewise.
27503 (_G_uint16_t): Likewise.
27504 (_G_uint32_t): Likewise.
27505 (_G_HAVE_BOOL): Likewise.
27506 (_G_HAVE_ATEXIT): Likewise.
27507 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27508 (_G_HAVE_IO_FILE_OPEN): Likewise.
27509
b1dc5912
L
275102012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27511
27512 * csu/libc-tls.c: Update copyright years.
27513
0e886ef9
JM
275142012-09-10 Joseph Myers <joseph@codesourcery.com>
27515
28361c5e
JM
27516 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27517 [!_G_USING_THUNKS]: Remove conditional code.
27518 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27519 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27520
0e886ef9
JM
27521 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27522 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27523 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27524 (_G_VTABLE_LABEL_PREFIX): Likewise.
27525 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27526 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27527 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27528 (_G_VTABLE_LABEL_PREFIX): Likewise.
27529 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27530 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27531 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27532 (_G_VTABLE_LABEL_PREFIX): Likewise.
27533 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27534
bcba7aa2
L
275352012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27536
27537 * libio/Makefile: Include ../Makeconfig before tests.
27538 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27539 only if $(build-shared) is yes.
27540
06585ee8
L
27541 * iconv/gconv_db.c: Update copyright years.
27542
80ccd52c
LD
275432012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27544
27545 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27546 unwind info if defined PIC. Fix special cases description.
27547 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27548
27549 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27550 DP_HI_MASK entry.
27551 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27552
691bc9c1
L
275532012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27554
3d9b46b3
L
27555 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27556
de2139a9
L
27557 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27558 is NULL.
27559
5ca78dd0
L
27560 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27561 (LDLIBS-tst-chk4): This.
27562 (LDFLAGS-tst-chk5): Renamed to ...
27563 (LDLIBS-tst-chk5): This.
27564 (LDFLAGS-tst-chk6): Renamed to ...
27565 (LDLIBS-tst-chk6): This.
27566 (LDFLAGS-tst-lfschk4): Renamed to ...
27567 (LDLIBS-tst-lfschk4): This.
27568 (LDFLAGS-tst-lfschk5): Renamed to ...
27569 (LDLIBS-tst-lfschk5): This.
27570 (LDFLAGS-tst-lfschk6): Renamed to ...
27571 (LDLIBS-tst-lfschk6): This.
27572
691bc9c1
L
27573 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27574 on $(common-objpfx)soversions.mk.
27575
65cafb1c
JM
275762012-09-07 Joseph Myers <joseph@codesourcery.com>
27577
27578 [BZ #10014]
27579 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27580 example host name.
27581
c78ab094
SP
275822012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27583
27584 * malloc/arena.c (arena_get_retry): New function that gets
27585 another arena for the caller to try its request on.
27586 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27587 current arena cannot fulfill the request.
27588 (__libc_memalign): Likewise.
27589 (__libc_memalign): Likewise.
27590 (__libc_pvalloc): Likewise.
27591 (__libc_calloc): Likewise.
27592
01f49f59
JT
275932012-09-05 John Tobey <john.tobey@gmail.com>
27594
27595 [BZ #13542]
27596 * manual/arith.texi (Operations on Complex): Fix description
27597 of carg branch cut.
27598
4c23fed5
JM
275992012-09-06 Joseph Myers <joseph@codesourcery.com>
27600
1d3c8572
JM
27601 [BZ #10014]
27602 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27603 host name.
27604
4c23fed5
JM
27605 [BZ #10038]
27606 * manual/memory.texi (Memory): Make order of menu items match
27607 order of sections.
27608
04570aaa
L
276092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27610
27611 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27612 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27613 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27614
b80af2f4
L
276152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27616
27617 * csu/libc-tls.c (static_dtv): Renamed to ...
27618 (_dl_static_dtv): This. Make it global.
27619 (_dl_initial_dtv): Removed.
27620 (__libc_setup_tls): Updated.
27621 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27622 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27623 DL_INITIAL_DTV.
27624
2abe9f15
PM
276252012-09-06 Petr Machata <pmachata@redhat.com>
27626
27627 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27628 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27629 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27630 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27631
0948c3af
L
276322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27633
27634 [BZ #14545]
27635 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27636 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27637 freeing dtv[-1].
27638
a5055ad1
L
276392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 [BZ #14544]
27642 * Makeconfig (link-static-before-libc): Replace $(+prector)
27643 with $(+prectorT).
27644 (link-static-after-libc): Replace $(+postctor) with
27645 $(+postctorT).
27646 (link-bounded): Replace $(+prector)/$(+postctor) with
27647 $(+prectorT)/$(+postctorT).
27648 (+prectorT): New macro.
27649 (+postctorT): Likewise.
27650
ed8c2ecd
JM
276512012-09-06 Joseph Myers <joseph@codesourcery.com>
27652
27653 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27654 (round_str): Handle values above the maximum for IBM long double
27655 as inexact.
27656 * stdlib/tst-strtod-round.c (tests): Regenerated.
27657
14c996c8
AK
276582012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27659
27660 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27661 assembler flag.
27662 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27663 zarch_nohighgprs around the zarch optimized routines.
27664 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27665 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27666 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27667 for zarch.
27668
430d6ce6
DM
276692012-09-05 David S. Miller <davem@davemloft.net>
27670
27671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27672
57f41c40
AS
27673 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27674 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27675 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27676 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27677 entries.
27678
24d4e01b
AO
276792012-09-05 Alexandre Oliva <aoliva@redhat.com>
27680
27681 * malloc/arena.c: Fold copyright years.
27682 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27683
61d58174
AO
276842012-09-05 Alexandre Oliva <aoliva@redhat.com>
27685
27686 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27687
20196a5e
AO
276882012-09-05 Alexandre Oliva <aoliva@redhat.com>
27689
27690 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27691
5c447383
AO
276922012-09-05 Alexandre Oliva <aoliva@redhat.com>
27693
27694 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27695 change internal state upon failure.
27696
fad64255
AO
276972012-09-05 Alexandre Oliva <aoliva@redhat.com>
27698
27699 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27700 * malloc/memusage.c (mmap): Likewise.
27701 (mmap64, mremap): Likewise. Adjust name in comment.
27702
1ffb8c90
SP
277032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27704
27705 * libio/fileops.c: Fix typos in comments.
27706 * libio/oldfileops.c: Likewise.
27707 * libio/wfileops.c: Likewise.
27708
6ef9cc37
SP
277092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27710
27711 [BZ #1349]
27712 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27713 (tst-malloc-usable-ENV): Set environment for test case.
27714 * malloc/hooks.c (malloc_check_get_size): New function to get
27715 requested size.
27716 * malloc/malloc.c (musable): Use malloc_check_get_size.
27717 * malloc/tst-malloc-usable.c: New test case.
27718
4d038ae3
AS
277192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27720
27721 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27722
c4e85184
AM
277232012-09-05 Allan McRae <allan@archlinux.org>
27724
b9dafc56 27725 [BZ #13966]
c4e85184
AM
27726 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27727 determine header location.
27728 * configure: Regenerated.
27729
e1343020
AS
277302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27731
27732 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27733 float format.
27734 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27735 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27736 format.
e1343020
AS
27737 (test): Regenerate.
27738
0a9f1987
DM
277392012-09-04 David S. Miller <davem@davemloft.net>
27740
27741 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27742 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27743 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27744
29237804
FW
277452012-09-04 Florian Weimer <fweimer@redhat.com>
27746
27747 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27748 failures.
27749
edb3cb88
FW
27750 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27751
60160d83
JM
277522012-09-04 Joseph Myers <joseph@codesourcery.com>
27753
27754 [BZ #9914]
27755 * libio/iogetdelim.c: Include <limits.h>.
27756 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27757 + len + 1 would overflow.
27758
bcd6c8dc
AJ
277592012-09-03 Andreas Jaeger <aj@suse.de>
27760
27761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27762 * sysdeps/i386/fpu/libm-test-ulps: Update.
27763
4ffffbd2
LD
277642012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27765
27766 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27767 Add s_sinf-sse2, s_conf-sse2.
27768
27769 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27770 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27771 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27772 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27773
27774 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27775 for using routine as __sinf_ia32.
27776 Use macro for function declaration and weak_alias.
27777 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27778 for using routine as __cosf_ia32.
27779 Use macro for function declaration and weak_alias.
27780
27781 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27782 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27783
27784 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27785 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27787
27788 * math/libm-test.inc (cos_test): Add more test cases.
27789 (sin_test): Likewise.
27790 (sincos_test): Likewise.
27791
511fa286
AK
277922012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27793
27794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27795 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27796 hidden.
27797 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27798
5f30cfec
L
277992012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27800
27801 [BZ #14538]
27802 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27803 first element of the GOT.
27804 (elf_machine_load_address): Return the difference between
27805 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27806
0786794f
AM
278072012-09-01 Allan McRae <allan@archlinux.org>
27808
5f30cfec
L
27809 [BZ #13412]
27810 * configure.in (AWK): Require gawk version 3.0 or later.
27811 * configure: Regenerated.
0786794f 27812
26889eac
JM
278132012-09-01 Joseph Myers <joseph@codesourcery.com>
27814
27815 * sysdeps/unix/sysv/linux/kernel-features.h
27816 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27817 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27818 [__NR_clock_getres]: Make code unconditional.
27819 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27820 (clock_getcpuclockid): Remove code left unreachable by removal of
27821 conditionals.
27822 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27823 code unconditional.
27824 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27825 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27826 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27827 Make code unconditional.
27828 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27829 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27830 * sysdeps/unix/sysv/linux/clock_settime.c
27831 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27832 conditional code.
27833 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27834 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27835
d22e28b0
L
278362012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27837
27838 [BZ #14476]
27839 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27840 scripts/test-installation.pl.
27841
27842 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27843 and $ld_so_version if it is set.
27844
050af9c4
SP
278452012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27846
27847 [BZ #14516]
27848 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27849 failure if reading from procfs failed.
27850 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27851
ad845c0b
JM
278522012-08-27 Joseph Myers <joseph@codesourcery.com>
27853
27854 * sysdeps/unix/sysv/linux/kernel-features.h
27855 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27856 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27857 Remove conditional code.
27858 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27859 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27860 Remove conditional code.
27861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27862 * sysdeps/unix/sysv/linux/i386/fxstat.c
27863 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27864 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27865 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27866 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27868 * sysdeps/unix/sysv/linux/i386/lxstat.c
27869 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27871 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27872 Remove conditional code.
27873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27874 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27875 Remove conditional code.
27876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27877 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27878 <kernel-features.h>.
27879 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27880 Remove.
27881 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27882 Remove conditional code.
27883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27884 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27885 Remove conditional.
27886
5dbf56af
MF
278872012-08-27 Mike Frysinger <vapier@gentoo.org>
27888
27889 [BZ #5400]
27890 * NEWS: Add fixed bug number.
27891
d6e70f43
JM
278922012-08-27 Joseph Myers <joseph@codesourcery.com>
27893
7efb4737
JM
27894 [BZ #14519]
27895 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27896 underflowing exponent in case of negative sign.
27897 * stdlib/tst-strtod-round-data: Add more tests.
27898 * stdlib/tst-strtod-round.c (tests): Regenerated.
27899
af92131a
JM
27900 [BZ #3479]
27901 * stdlib/strtod_l.c (NDIG): Remove.
27902 (HEXNDIG): Likewise.
27903 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27904 smallest representable value.
27905 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27906 lie within an exact representation of 1/2 ulp of the result.
27907 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27908 unconditionally.
27909 (TENS_P9_IDX): Define unconditionally.
27910 (TENS_P9_SIZE): Likewise.
27911 (TENS_P10_IDX): Likewise.
27912 (TENS_P10_SIZE): Likewise.
27913 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27914 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27915 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27916 entries for 10^2^13 and 10^2^14.
27917 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27918 (TENS_P13_IDX): Define.
27919 (TENS_P13_SIZE): Likewise.
27920 (TENS_P14_IDX): Likewise.
27921 (TENS_P14_SIZE): Likewise.
27922 (_fpioconst_pow10): Change array size to
27923 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27924 unconditional.
27925 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27926 1024]: Add entries for 10^2^13 and 10^2^14.
27927 [LAST_POW10 > _LAST_POW10]: Remove #error.
27928 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27929 (_fpioconst_pow10): Change array size to
27930 FPIOCONST_POW10_ARRAY_SIZE.
27931 * stdlib/gen-fpioconst.c: New file.
27932 * stdlib/gen-tst-strtod-round.c: Likewise.
27933 * stdlib/tst-strtod-round-data: Likewise.
27934 * stdlib/tst-strtod-round.c: Likewise.
27935 * stdlib/Makefile (tests): Add tst-strtod-round.
27936
d6e70f43
JM
27937 [BZ #14459]
27938 * stdlib/strtod_l.c: Include <stdint.h>.
27939 (NDEBUG): Do not define.
27940 (round_and_return): Change EXPONENT parameter to type intmax_t.
27941 Rearrange calculations to avoid internal overflow possibilities.
27942 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27943 Rearrange calculations to avoid internal overflow possibilities.
27944 Assert that number fits inside MPNSIZE limbs.
27945 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27946 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27947 calculations and add assertions to avoid internal overflow
27948 possibilities. Add casts to avoid signed/unsigned operations.
27949 * stdlib/tst-strtod-overflow.c: New file.
27950 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27951
1f529f7d
MP
279522012-08-25 Marek Polacek <polacek@redhat.com>
27953
27954 * time/time.h: Fix some typos in comments.
27955
59a629f1
RM
279562012-08-23 Roland McGrath <roland@hack.frob.com>
27957
27958 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27959 * posix/tst-rfc3484-2.c: Likewise.
27960 * posix/tst-rfc3484-3.c: Likewise.
27961
d3bafbc9
SM
279622012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27963
27964 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27965 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27966
4efcc022
JM
279672012-08-23 Joseph Myers <joseph@codesourcery.com>
27968
27969 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27970 #include of fxstatat64.c.
27971
3cc3ef96
RM
279722012-08-22 Roland McGrath <roland@hack.frob.com>
27973
f04e2132
RM
27974 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27975 * shadow/getspent_r.c: Likewise.
27976 * shadow/getspnam.c: Likewise.
27977 * shadow/getspnam_r.c: Likewise.
27978 * gshadow/getsgent.c: Likewise.
27979 * gshadow/getsgent_r.c: Likewise.
27980 * gshadow/getsgnam.c: Likewise.
27981 * gshadow/getsgnam_r.c: Likewise.
27982 * inet/getnetbyad.c: Likewise.
27983 * inet/getnetbyad_r.c: Likewise.
27984 * inet/getnetbynm.c: Likewise.
27985 * inet/getnetbynm_r.c: Likewise.
27986 * inet/getnetent.c: Likewise.
27987 * inet/getnetent_r.c: Likewise.
27988 * inet/getproto.c: Likewise.
27989 * inet/getproto_r.c: Likewise.
27990 * inet/getprtent.c: Likewise.
27991 * inet/getprtent_r.c: Likewise.
27992 * inet/getprtname.c: Likewise.
27993 * inet/getprtname_r.c: Likewise.
27994 * inet/getrpcbyname.c: Likewise.
27995 * inet/getrpcbyname_r.c: Likewise.
27996 * inet/getrpcbynumber.c: Likewise.
27997 * inet/getrpcbynumber_r.c: Likewise.
27998 * inet/getrpcent.c: Likewise.
27999 * inet/getrpcent_r.c: Likewise.
28000 * inet/getaliasent.c: Likewise.
28001 * inet/getaliasent_r.c: Likewise.
28002 * inet/getaliasname.c: Likewise.
28003 * inet/getaliasname_r.c: Likewise.
28004 * nscd/getgrgid_r.c: Likewise.
28005 * nscd/getgrnam_r.c: Likewise.
28006 * nscd/gethstbyad_r.c: Likewise.
28007 * nscd/gethstbynm3_r.c: Likewise.
28008 * nscd/getpwnam_r.c: Likewise.
28009 * nscd/getpwuid_r.c: Likewise.
28010 * nscd/getsrvbynm_r.c: Likewise.
28011 * nscd/getsrvbypt_r.c: Likewise.
28012 * nscd/gai.c: Likewise.
28013
c53d909c
RM
28014 * configure.in (build_nscd): New substituted variable, set
28015 by --disable-build-nscd and defaults to $use_nscd.
28016 * configure: Regenerated.
28017 * config.make.in (build-nscd): New substituted variable.
28018 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28019 Change conditional to require [$(build-nscd) = yes] as well.
28020 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28021
3cc3ef96
RM
28022 [BZ# 13696]
28023 * configure.in (use_nscd): New substituted variable, set by
28024 --disable-nscd. If enabled, define USE_NSCD.
28025 * configure: Regenerated.
28026 * config.h.in: Add USE_NSCD.
28027 * config.make.in (use-nscd): New substituted variable.
28028 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28029 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28030 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28031 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28032 (CFLAGS-getgrnam_r.c): Likewise.
28033 (CFLAGS-initgroups.c): Likewise.
28034 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28035 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28036 Variables removed.
28037 * inet/getnetgrent_r.c
28038 (nscd_setnetgrent): New function, broken out of ...
28039 (setnetgrent): ... here. Call it.
28040 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28041 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28042 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28043 * nscd/Makefile (routines, aux): Move definitions after include of
28044 Makeconfig. Conditionalize on [$(use-nscd) != no].
28045 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28046 Conditionalize on [USE_NSCD].
28047 (is_nscd, nscd_init_cb): Likewise.
28048 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28049 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28050 * nss/nss_db/db-init.c: Likewise.
28051 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28052 [USE_NSCD].
28053 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28054 (make_request): Use it.
28055 (cache_valid_p): New function.
28056 (__check_pf): Use it.
28057 * NEWS: Add item for --disable-nscd.
28058
07e51550
DL
280592012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28060
28061 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28062 to support sed >= 4.2.1-20-ga9bf076.
28063 * configure: Regenerated.
28064
35a5b08b
RM
280652012-08-22 Roland McGrath <roland@hack.frob.com>
28066
28067 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28068 Conditionalize whole body on [IREL].
28069
8479f23a
JL
280702012-08-22 Jeff Law <law@redhat.com>
28071
28072 [BZ #14505]
28073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28074 if the family is PF_UNSPEC.
28075
48da0b21
MF
280762012-08-22 Mike Frysinger <vapier@gentoo.org>
28077
28078 * Makerules (lib-version): Rename from V.
28079 (install-lib-nosubdir): Change V to lib-version.
28080
15d0da8c
WS
280812012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28082
28083 [BZ #14252]
28084 * powerpc32/power6/wcschr.c: New file.
28085 * powerpc32/power6/wcscpy.c: New file.
28086 * powerpc32/power6/wcsrchr.c: New file.
28087 * powerpc64/power6/wcschr.c: New file.
28088 * powerpc64/power6/wcscpy.c: New file.
28089 * powerpc64/power6/wcsrchr.c: New file.
28090
bcca0895
MK
280912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28092
28093 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28094 (two_way_short_needle): Use it.
5a4aaa33
RM
28095 * string/strstr.c (AVAILABLE1_USES_J): Define.
28096 * string/strcasestr.c: Likewise.
99677e57
MK
28097
28098 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28099 array references.
28100 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28101
400726de
MK
28102 [BZ #11607]
28103 * NEWS: Add an entry.
28104 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28105 define their defaults.
28106 (two_way_short_needle): Detect end-of-string on-the-fly.
28107 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28108 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28109 * string/bug-strcasestr1.c: New test.
28110 * string/Makefile: Run it.
28111
20a71f2c
MK
281122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28113
28114 [BZ #11607]
28115 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28116 the first character.
28117
21ad0558
RM
281182012-08-21 Roland McGrath <roland@hack.frob.com>
28119
28120 * csu/elf-init.c (__libc_csu_irel): Function removed.
28121 * csu/libc-start.c (apply_irel): New function.
28122 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28123
0e1d9911
JM
281242012-08-21 Joseph Myers <joseph@codesourcery.com>
28125
28126 * sysdeps/unix/sysv/linux/kernel-features.h
28127 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28128 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28129 <kernel-features.h>.
28130 [__NR_fadvise64_64]: Make code unconditional.
28131 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28132 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28133 !__NR_fadvise64_64)]: Likewise.
28134 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28135 !__NR_fadvise64_64))]: Likewise.
28136 [__NR_fadvise64]: Make code unconditional.
28137 [!__NR_fadvise64]: Remove conditional code.
28138 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28139 <kernel-features.h>.
28140 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28141 unconditional.
28142 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28143 conditional code.
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28145 not include <kernel-features.h>.
28146 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28147 unconditional.
28148 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28149 conditional code.
28150 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28151 include <kernel-features.h>.
28152 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28153 unconditional.
28154 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28155 conditional code.
28156
14a50c9d
WS
281572012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28158
28159 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28160 slight instruction rearrangements per scrollpipe analysis.
28161 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28162
c0f4faf0
RM
281632012-08-20 Roland McGrath <roland@hack.frob.com>
28164
696da859
RM
28165 * manual/syslog.texi (syslog; vsyslog, closelog):
28166 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28167 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28168
c0f4faf0
RM
28169 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28170 DSOCAPS to match condition on defining it.
28171
348363b2
JM
281722012-08-20 Joseph Myers <joseph@codesourcery.com>
28173
a35cbf28
JM
28174 * sysdeps/unix/sysv/linux/kernel-features.h
28175 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28177 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28178 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28180 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28181 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28183 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28184 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28185
445f7ecd
JM
28186 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28187 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28188
348363b2
JM
28189 * sysdeps/unix/sysv/linux/kernel-features.h
28190 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28191 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28192 unconditional.
28193 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28194 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28195 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28196 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28197 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28198 Make code unconditional.
28199 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28200 (__mmap64) [!__NR_mmap2]: Likewise.
28201 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28202 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28203 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28204 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28205 [__NR_mmap2]: Make code unconditional.
28206 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28207 (__mmap64) [!__NR_mmap2]: Likewise.
28208
bc5bc0e5
AK
282092012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28210
28211 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28212
88d506de
AJ
282132012-08-18 Andreas Jaeger <aj@suse.de>
28214
28215 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28216
493387d2
MF
282172012-08-18 Mike Frysinger <vapier@gentoo.org>
28218
28219 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28220 * include/unistd.h (__have_sock_cloexec): Likewise.
28221 (__have_pipe2): Likewise.
28222 (__have_dup3): Likewise.
28223
a277af22
MF
282242012-08-18 Mike Frysinger <vapier@gentoo.org>
28225
28226 [BZ #9685]
28227 * include/unistd.h (__have_pipe2): Change define into an extern int.
28228 (__have_dup3): Likewise.
28229 * socket/have_sock_cloexec.c: Include fcntl.h.
28230 (__have_pipe2): New variable.
28231 (__have_dup3): Likewise.
28232
fdab8fd3
MF
282332012-08-17 Mike Frysinger <vapier@gentoo.org>
28234
28235 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28236
31035e80
MP
282372012-08-17 Marek Polacek <polacek@redhat.com>
28238
28239 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28240 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28241
3bd9e993
RM
282422012-08-17 Roland McGrath <roland@hack.frob.com>
28243
c91c505f
RM
28244 * configure.in: Add AC_SUBST for sysheaders.
28245 * configure: Regenerated.
28246 * config.make.in (sysheaders): New substituted variable.
28247
7c6f9d53
RM
28248 * sysdeps/unix/mkfifo.c: Moved ...
28249 * sysdeps/posix/mkfifo.c: ... here.
28250 * sysdeps/unix/mkfifoat.c: Moved ...
28251 * sysdeps/posix/mkfifoat.c: ... here.
28252
28253 * sysdeps/unix/utime.c: Moved ...
28254 * sysdeps/posix/utime.c: ... here.
28255
28256 * sysdeps/unix/time.c: Moved ...
28257 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
28258 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28259 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28260
28261 * sysdeps/unix/nice.c: Moved ...
28262 * sysdeps/posix/nice.c: ... here.
28263
28264 * sysdeps/unix/alarm.c: Moved ...
28265 * sysdeps/posix/alarm.c: ... here.
28266
3bd9e993
RM
28267 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28268
d1f09384
JL
282692012-08-17 Jeff Law <law@redhat.com>
28270
28271 * intl/Makefile (codeset_mo): New variable.
28272 ($(codeset_mo)): New target.
28273 (tst-codeset.out): Depend on that. Remove explicit rule.
28274 (tst-gettext3.out, tst-gettext5.out): Likewise.
28275 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28276 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28277 * intl/tst-codeset.sh: Remove.
28278 * intl/tst-gettext3.sh: Likewise.
28279 * intl/tst-gettext5.sh: Likewise.
28280
2ae1ae5c
RM
282812012-08-17 Roland McGrath <roland@hack.frob.com>
28282
c31fdb83
RM
28283 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28284 * sysdeps/unix/syscalls.list: ... here.
28285
a0844057
RM
28286 * sysdeps/posix/getaddrinfo.c
28287 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28288 (gaiconf_init, gaiconf_reload): Use them.
28289 [!_STATBUF_ST_NSEC]
28290 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28291 Define using time_t rather than struct timespec.
28292
750c1f2a
RM
28293 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28294 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28295 Macros removed.
28296 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28297 [!NO_THREADS].
28298 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28299 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28300 Likewise.
28301
2ae1ae5c
RM
28302 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28303 __libc_cleanup_push argument.
28304
e66a42f5
RM
28305 * bits/param.h: New file.
28306 * misc/sys/param.h: New file.
28307 * include/sys/param.h: New file.
28308 * misc/Makefile (headers): Add bits/param.h.
28309 * sysdeps/generic/sys/param.h: File removed.
28310 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28311 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28312 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 28313 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 28314
b7c08a66
RM
28315 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28316 last change.
28317
b2e1c562
RM
28318 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28319 [_IO_MTSAFE_IO].
28320 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28321 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28322 New macros.
28323
c75ccd4c
RM
28324 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28325 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28326 rather than -D_IO_MTSAFE_IO conditionally.
28327 * stdio-common/Makefile (CPPFLAGS): Likewise.
28328 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28329 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28330 Use $(libio-mtsafe).
28331 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28332 of -D_IO_MTSAFE_IO.
28333 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28334 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28335 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28336 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28337 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28338 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28339 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28340 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28341 (CFLAGS-fread_u_chk.c): Likewise.
28342 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28343 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28344 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28345 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28346 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28347 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28348 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28349 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28350 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28351
28352 * libio/Makefile: Test [$(libc-reentrant) = yes]
28353 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28354
28355 * Makeconfig
28356 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28357 * sysdeps/pthread/configure: File removed.
28358 * sysdeps/pthread/Makeconfig: New file.
28359 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28360 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28361
d9195db8
GB
283622012-08-16 Gary Benson <gbenson@redhat.com>
28363
28364 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28365 unmapping the first object in a namespace.
28366
86466cd9
RM
283672012-08-16 Roland McGrath <roland@hack.frob.com>
28368
28369 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28370 (__internal_setnetgrent): ... this. Add internal_function to
28371 definition. Add libc_hidden_def.
28372 (setnetgrent): Update caller.
28373 (internal_endnetgrent): Renamed to ...
28374 (__internal_endnetgrent): ... this. Add internal_function to
28375 definition. Add libc_hidden_def.
28376 (endnetgrent): Update caller.
28377 (internal_getnetgrent_r): Renamed to ...
28378 (__internal_getnetgrent_r): ... this. Add internal_function to
28379 definition. Add libc_hidden_def.
28380 (__getnetgrent_r): Update caller.
28381 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28382
c3c8283c
JM
283832012-08-16 Joseph Myers <joseph@codesourcery.com>
28384
28385 * stdlib/longlong.h: Update from GCC.
28386
db1ee0a8
RM
283872012-08-16 Roland McGrath <roland@hack.frob.com>
28388
28389 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28390 on _QL, which is set by umul_ppmm but never used.
28391 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28392 variables, which are set by GMP macros but never used.
28393 * stdio-common/_itowa.c (_itowa): Likewise.
28394 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28395 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28396
30f69637
CD
283972012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28398
28399 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28400 struct La_sh_regs is not constant.
28401 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28402 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28403 and struct La_sparc64_regs are not constant.
28404
93a78ac4
JM
284052012-08-16 Joseph Myers <joseph@codesourcery.com>
28406
28407 * sysdeps/unix/sysv/linux/kernel-features.h
28408 (__ASSUME_POSIX_TIMERS): Remove.
28409 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28410 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28411 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28412 Make code unconditional.
28413 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28414 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28415 Make code unconditional.
28416 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28417 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28418 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28419 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28420 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28421 Make code unconditional.
28422 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28423 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28424 (__libc_missing_posix_timers): Remove.
28425
dd924cd7
RM
284262012-08-15 Roland McGrath <roland@hack.frob.com>
28427
4b4f2771
RM
28428 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28429 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28430
601c888b
RM
28431 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28432
176790a7
RM
28433 * elf/dl-sym.c: Include <stdlib.h>.
28434
329bc018
RM
28435 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28436 constants, which avoids warnings in 32-bit builds.
28437
e04e272d
RM
28438 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28439 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28440
952bf94a
RM
28441 * misc/lseek.c: File moved to ...
28442 * io/lseek.c: ... here.
28443
7c99b50a
RM
28444 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28445
dd924cd7
RM
28446 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28447 shifting LEN more than 31 bits at once.
28448
b3f479a8
LD
284492012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28450
28451 [BZ #14195]
8c4ae0d4
RM
28452 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28453 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28454 * string/test-strncasecmp.c (check1): Renamed to...
28455 (bz12205): ...this.
28456 (bz14195): Add new testcase for two empty input strings and N > 0.
28457 (test_main): Call new testcase, adapt for renamed function.
28458
9c55864e
AJ
284592012-08-15 Andreas Jaeger <aj@suse.de>
28460
28461 [BZ #14090]
28462 * crypt/md5test2.c: New test, based on test supplied by Serge
28463 Belyshev <belyshev@depni.sinp.msu.ru>.
28464 * crypt/Makefile (xtests): Add md5test-giant..
28465 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28466
02dcb6c5
PE
284672012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28468
28469 [BZ #14090]
28470 * crypt/md5.c (md5_process_block): Don't assume the buffer
28471 length is less than 2**32.
28472 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28473 length is less than 2**64.
28474
a3f95dcc
RM
284752012-08-15 Roland McGrath <roland@hack.frob.com>
28476
be75d758
RM
28477 * string/str-two-way.h: Include <sys/param.h>.
28478 (MAX): Macro removed.
28479
7312ca90
RM
28480 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28481 Move #define and #undef of memmove to just before and after
28482 including <string.h>.
28483
9a0a5486
RM
28484 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28485 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28486 and after including <string.h>. Move declarations of
28487 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28488 to before #include "string/memmove.c".
28489
67cc348d
RM
28490 * include/dirent.h: Declare __getdirentries.
28491
a3f95dcc
RM
28492 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28493 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28494
ca98e171
MF
284952012-08-14 Mike Frysinger <vapier@gentoo.org>
28496
28497 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28498 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28499 * sysdeps/i386/configure: Regenerated.
28500 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28501 STABS_CURRENT_FILE, and STABS_FUN.
28502 (END): Remove call to STABS_FUN_END.
28503 (STABS_CURRENT_FILE1): Delete.
28504 (STABS_CURRENT_FILE): Likewise.
28505 (STABS_FUN): Likewise.
28506 (STABS_FUN_END): Likewise.
28507 (STABS_FUN2): Likewise.
28508 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28509 * sysdeps/x86_64/configure: Regenerated.
28510
5908bf46
RM
285112012-08-14 Roland McGrath <roland@hack.frob.com>
28512
28513 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 28514 * elf/dl-lookup.c: Likewise.
5908bf46 28515
f2c05b9e
JM
285162012-08-14 Joseph Myers <joseph@codesourcery.com>
28517
28518 * sysdeps/unix/sysv/linux/kernel-features.h
28519 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28520 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28521 unconditionally.
28522 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28523 unconditionally.
28524 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28525 condition on __ASSUME_CLONE_THREAD_FLAGS.
28526
e11f5155
AJ
285272012-08-14 Andreas Jaeger <aj@suse.de>
28528
28529 * sysdeps/i386/fpu/libm-test-ulps: Update.
28530
51a9ba86
MK
285312012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28532
2fdd4f78
AJ
28533 * include/atomic.h (atomic_exchange_and_add): Split into ...
28534 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28535 New atomic macros.
51a9ba86 28536
ba6cba9e
MT
285372012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28538
28539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28540
42443a47
JL
285412012-08-13 Jeff Law <law@redhat.com>
28542
28543 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28544 null byte in the output string.
28545
121dce05
JM
285462012-08-10 Joseph Myers <joseph@codesourcery.com>
28547
28548 * sysdeps/unix/sysv/linux/kernel-features.h
28549 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28550 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28551 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28552 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28553 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28554 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28555 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28556
bf51f568
JL
285572012-08-09 Jeff Law <law@redhat.com>
28558
28559 [BZ #13939]
28560 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28561 When avoid_arena is set, don't retry in the that arena. Pick the
28562 next one, whatever it might be.
28563 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28564 (arena_lock): Pass in new parameter to arena_get2.
28565 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28566 arena_get2.
28567 (__libc_malloc): Unify retrying after main arena failure with
28568 __libc_memalign version.
28569 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28570
f85fa270
L
285712012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28572
28573 [BZ #14166]
28574 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28575 to __redirect_strstr.
28576 (__strstr_sse42): Use typeof __redirect_strstr.
28577 (__strstr_ia32): Likewise.
28578 (__libc_strstr): New prototype.
28579 (strstr): Renamed to ...
28580 (__libc_strstr): This.
28581 (strstr): New strong alias of __libc_strstr.
28582 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28583 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28584 __redirect_time.
28585 Include <time.h>.
28586 (__libc_time): New prototype.
28587 (time_ifunc): Replace time with __libc_time.
28588 (time): New strong alias and hidden definition of __libc_time.
28589 (__GI_time): Remove strong alias.
28590 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28591 Include <stddef.h>.
28592 (memmove): Redefined to __redirect_memmove.
28593 (__memmove_sse2): Use typeof __redirect_memmove.
28594 (__memmove_ssse3): Likewise.
28595 (__memmove_ssse3_back): Likewise.
28596 (__libc_memmove): New prototype.
28597 (memmove): Renamed to ...
28598 (__libc_memmove): This.
28599 (memmove): New strong alias of __libc_memmove.
28600
33b4a91e
MS
286012012-08-08 Mark Salter <msalter@redhat.com>
28602
28603 * elf/elf.h
28604 (R_MN10300_TLS_GD): Define.
28605 (R_MN10300_TLS_LD): Likewise.
28606 (R_MN10300_TLS_LDO): Likewise.
28607 (R_MN10300_TLS_GOTIE): Likewise.
28608 (R_MN10300_TLS_IE): Likewise.
28609 (R_MN10300_TLS_LE): Likewise.
28610 (R_MN10300_TLS_DTPMOD): Likewise.
28611 (R_MN10300_TLS_DTPOFF): Likewise.
28612 (R_MN10300_TLS_TPOFF): Likewise.
28613 (R_MN10300_SYM_DIFF): Likewise.
28614 (R_MN10300_ALIGN): Likewise.
28615 (R_MN10300_NUM): Update.
28616
b36137f1
JM
286172012-08-08 Joseph Myers <joseph@codesourcery.com>
28618
28619 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28620 Remove.
28621
cdd915fd
RM
286222012-08-08 Roland McGrath <roland@hack.frob.com>
28623
a2433aac
RM
28624 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28625
cdd915fd
RM
28626 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28627 sysdeps/unix -> sysdeps/posix move.
28628 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28629
bf9b740a
AM
286302012-08-07 Allan McRae <allan@archlinux.org>
28631
28632 [BZ #14303]
28633 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28634 (SUNOS_CPP): Likewise.
28635 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28636 not found.
28637 (open_input): Call CPP using execvp.
28638
93df14ee
JM
286392012-08-07 Joseph Myers <joseph@codesourcery.com>
28640
28641 * sysdeps/unix/sysv/linux/kernel-features.h
28642 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28643 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28644 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28645 (__ASSUME_WAITID_SYSCALL): Likewise.
28646 * sysdeps/unix/sysv/linux/dl-execstack.c
28647 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28648 code unconditional.
28649 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28650 conditional code.
28651 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28652 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28653 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28654 code.
28655 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28656 unconditional.
28657 [__ASSUME_WAITID_SYSCALL]: Likewise.
28658 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28659
d34689de
RM
286602012-08-07 Roland McGrath <roland@hack.frob.com>
28661
a281decc
RM
28662 * sysdeps/unix/closedir.c: Renamed to ...
28663 * sysdeps/posix/closedir.c: ... here.
28664 * sysdeps/unix/dirfd.c: Renamed to ...
28665 * sysdeps/posix/dirfd.c: ... here.
28666 * sysdeps/unix/dirstream.h: Renamed to ...
28667 * sysdeps/posix/dirstream.h: ... here.
28668 * sysdeps/unix/fdopendir.c: Renamed to ...
28669 * sysdeps/posix/fdopendir.c: ... here.
28670 * sysdeps/unix/opendir.c: Renamed to ...
28671 * sysdeps/posix/opendir.c: ... here.
28672 * sysdeps/unix/readdir.c: Renamed to ...
28673 * sysdeps/posix/readdir.c: ... here.
28674 * sysdeps/unix/readdir_r.c: Renamed to ...
28675 * sysdeps/posix/readdir_r.c: ... here.
28676 * sysdeps/unix/rewinddir.c: Renamed to ...
28677 * sysdeps/posix/rewinddir.c: ... here.
28678 * sysdeps/unix/seekdir.c: Renamed to ...
28679 * sysdeps/posix/seekdir.c: ... here.
28680 * sysdeps/unix/telldir.c: Renamed to ...
28681 * sysdeps/posix/telldir.c: ... here.
28682 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28683 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28684 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28685 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28686
22895b47
RM
28687 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28688 * bits/fcntl.h: ... here.
28689
707a53b6
RM
28690 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28691 not 0.
28692 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28693 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28694 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28695 (struct flock): Move l_start, l_len to the beginning.
28696 Use __pid_t for l_pid.
28697 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28698 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28699 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28700 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28701 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28702 [__USE_LARGEFILE64] (struct flock64): New type.
28703 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28704
f0bd3e25
RM
28705 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28706 * bits/dirent.h: ... here.
28707
d34689de
RM
28708 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28709 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28710
6dad2c06
JM
287112012-08-07 Joseph Myers <joseph@codesourcery.com>
28712
28713 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28714 Change from 2.6.0 to 2.6.16.
28715 * sysdeps/unix/sysv/linux/configure: Regenerated.
28716 * sysdeps/unix/sysv/linux/kernel-features.h
28717 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28718 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28719 version.
28720 (__ASSUME_UTIMES): Likewise.
28721 (__ASSUME_CLONE_STOPPED): Remove.
28722 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28723 architectures, not kernel version.
28724 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28725 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28726 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28727 (__ASSUME_WAITID_SYSCALL): Likewise.
28728 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28729 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28730 * README: State 2.6.16 as minimum Linux kernel version. Do not
28731 refer to older versions.
28732
03af9520
RM
287332012-08-06 Roland McGrath <roland@hack.frob.com>
28734
8e49df1d
RM
28735 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28736 Define alphasort64 as an alias.
28737 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28738 Define versionsort64 as an alias.
28739 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28740 Define scandir64 as an alias.
28741 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28742 Define scandirat64 as an alias.
28743 * dirent/alphasort64.c (alphasort64):
28744 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28745 * dirent/versionsort64.c: Likewise.
28746 * dirent/scandir64.c: Likewise.
28747 * dirent/scandirat64.c: Likewise.
28748 * sysdeps/wordsize-64/alphasort.c: File removed.
28749 * sysdeps/wordsize-64/alphasort64.c: File removed.
28750 * sysdeps/wordsize-64/scandir.c: File removed.
28751 * sysdeps/wordsize-64/scandir64.c: File removed.
28752 * sysdeps/wordsize-64/scandirat.c: File removed.
28753 * sysdeps/wordsize-64/scandirat64.c: File removed.
28754 * sysdeps/wordsize-64/versionsort.c: File removed.
28755 * sysdeps/wordsize-64/versionsort64.c: File removed.
28756 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28757 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28758 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28759 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28760 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28761 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28762 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28763 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28764
28765 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28767 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28769 [defined __arch64__ || defined __sparcv9]
28770 (__INO_T_MATCHES_INO64_T): New macro.
28771 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28772 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28773 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28774 * sysdeps/unix/sysv/linux/bits/dirent.h
28775 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28776 (_DIRENT_MATCHES_DIRENT64): New macro.
28777
03af9520
RM
28778 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28779 Define lockf64 as an alias.
28780 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28781 Define fseeko64 as an alias.
28782 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28783 Define ftello64 as an alias.
28784 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28785 Define _IO_fgetpos64 and fgetpos64 as aliases.
28786 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28787 Define _IO_fsetpos64 and fsetpos64 as aliases.
28788 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28789 Conditionalize body on this.
28790 * libio/fseeko64.c: Likewise.
28791 * libio/ftello64.c: Likewise.
28792 * libio/iofgetpos64.c: Likewise.
28793 * libio/iofsetpos64.c: Likewise.
28794 * sysdeps/wordsize-64/lockf.c: File removed.
28795 * sysdeps/wordsize-64/lockf64.c: File removed.
28796 * sysdeps/wordsize-64/fseeko.c: File removed.
28797 * sysdeps/wordsize-64/fseeko64.c: File removed.
28798 * sysdeps/wordsize-64/ftello.c: File removed.
28799 * sysdeps/wordsize-64/ftello64.c: File removed.
28800 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28801 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28802 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28803 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28806 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28808 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28810 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28811 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28812 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28814
28815 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28817 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28819 [defined __arch64__ || defined __sparcv9]
28820 (__OFF_T_MATCHES_OFF64_T): New macro.
28821 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28822 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28824 (__OFF_T_MATCHES_OFF64_T): New macro.
28825
c5757acd
L
288262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 * stdlib/secure-getenv.c (__secure_getenv): Replace
28829 GLIBC_2_16 with GLIBC_2_17.
28830
3a31811e
L
288312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28835
faa2bccb
DM
288362012-08-03 David S. Miller <davem@davemloft.net>
28837
28838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28839
85fe1997
JM
288402012-08-03 Joseph Myers <joseph@codesourcery.com>
28841
28842 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28843 Remove.
28844 (__ASSUME_CORRECT_SI_PID): Likewise.
28845 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28846 (__ASSUME_TMPFS_NAME): Likewise.
28847 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28848 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28849 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28850 (HAVE_AUX_SECURE): Make definition unconditional.
28851 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28852 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28853
4f75b7a0
RM
288542012-08-03 Roland McGrath <roland@hack.frob.com>
28855
28856 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28857 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28858 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28859 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28860 __eloop_threshold instead of SYMLOOP_MAX.
28861
28862 * sysdeps/generic/eloop-threshold.h: New file.
28863 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28864 of MAXSYMLINKS.
28865 * elf/chroot_canon.c (chroot_canon): Likewise.
28866
7aab07e4
JM
288672012-08-03 Joseph Myers <joseph@codesourcery.com>
28868
28869 [BZ #13717]
28870 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28871 Change to 2.6.0 everywhere.
28872 * sysdeps/unix/sysv/linux/configure: Regenerated.
28873 * sysdeps/unix/sysv/linux/kernel-features.h
28874 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28875 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28876 kernel versions.
28877 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28878 (__ASSUME_FUTEX_REQUEUE): Remove.
28879 (__ASSUME_STATFS64): Define unconditionally.
28880 (__ASSUME_AT_SECURE): Likewise.
28881 (__ASSUME_CORRECT_SI_PID): Likewise.
28882 (__ASSUME_TGKILL): Define without depending on kernel version for
28883 i386.
28884 (__ASSUME_UTIMES): Likewise.
28885 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28886 kernel version.
28887 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28888 (__ASSUME_TMPFS_NAME): Likewise.
28889 * README: Update reference to Linux kernel versions.
28890
b67e9372
MP
288912012-08-02 Marek Polacek <polacek@redhat.com>
28892
1f529f7d 28893 [BZ# 14150]
b67e9372
MP
28894 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28895 libc_cv_asm_type_prefix with %.
28896 * configure: Regenerated.
d2441631
RM
28897 * include/libc-symbols.h: Remove comment about
28898 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28899 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28900 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28901 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28902 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28903 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28904 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28905 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28906 * elf/tst-unique2mod1.c: Likewise.
28907 * elf/tst-unique1mod2.c: Likewise.
28908 * elf/tst-unique1mod1.c: Likewise.
28909 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28910 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28911 Replace ASM_TYPE_DIRECTIVE with .type.
28912 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28913 * sysdeps/i386/sysdep.h: Likewise.
28914 * sysdeps/x86_64/sysdep.h: Likewise.
28915 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28917 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28918 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28919 * sysdeps/powerpc/powerpc32/sysdep.h:
28920 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28921 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28922 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28923 * sysdeps/i386/fpu/e_powf.S: Likewise.
28924 * sysdeps/i386/fpu/e_expl.S: Likewise.
28925 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28926 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28927 * sysdeps/i386/fpu/e_pow.S: Likewise.
28928 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28929 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28930 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28931 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28932 * sysdeps/i386/fpu/e_log2.S: Likewise.
28933 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28934 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28935 * sysdeps/i386/fpu/e_powl.S: Likewise.
28936 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28937 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28938 * sysdeps/i386/fpu/e_logl.S: Likewise.
28939 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28940 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28941 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28942 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28944 * sysdeps/i386/fpu/e_log.S: Likewise.
28945 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28946 * sysdeps/i386/fpu/e_logf.S: Likewise.
28947 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28948 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28949 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28950 * sysdeps/i386/fpu/e_log10.S: Likewise.
28951 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28952 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28953 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28954 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28956 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28957 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28958 * sysdeps/i386/i686/strtok.S: Likewise.
28959 * sysdeps/i386/i386-mcount.S: Likewise.
28960 * sysdeps/i386/strtok.S: Likewise.
28961 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28962 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28963 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28964 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28965 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28966 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28967 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28968 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28969 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28970 * sysdeps/x86_64/_mcount.S: Likewise.
28971 * sysdeps/x86_64/strtok.S: Likewise.
28972 * sysdeps/sh/_mcount.S: Likewise.
28973
2747bf9a
RM
289742012-08-01 Roland McGrath <roland@hack.frob.com>
28975
28976 * libio/iofopen.c: Include <fcntl.h>.
28977 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28978 (_IO_fopen64, fopen64): Define as aliases.
28979 * libio/iofopen64.c: Include <fcntl.h>.
28980 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28981 Conditionalize body on this.
28982 * sysdeps/wordsize-64/iofopen.c: File removed.
28983 * sysdeps/wordsize-64/iofopen64.c: File removed.
28984
3fb791b8
MP
289852012-08-01 Marek Polacek <polacek@redhat.com>
28986
28987 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28988 Use dlfcn directly instead of a variable.
28989 (binfmt-subdir): Do not define.
28990 (dlfcn): Likewise.
28991
a9f1039f
JM
289922012-08-01 Joseph Myers <joseph@codesourcery.com>
28993
23bddc06
JM
28994 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28995 Remove all definitions.
28996 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28997 <kernel-features.h>.
28998 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28999 (miss_F_GETOWN_EX): Remove all definitions.
29000 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29001 macro definition.
29002 [!__ASSUME_FCNTL64]: Remove conditional code.
29003 [__ASSUME_FCNTL64]: Make code unconditional.
29004 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29005 <kernel-features.h>.
29006 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29007 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29008 (lockf64) [__NR_fcntl64]: Make code unconditional.
29009 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29010
a9f1039f
JM
29011 * sysdeps/unix/sysv/linux/kernel-features.h
29012 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29013 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29014 Make code unconditional.
29015 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29016 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29018 [__NR_vfork]: Make code unconditional.
29019 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29020 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29022 [__NR_vfork]: Make code unconditional.
29023 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29024 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29025
09c0ee5f
RM
290262012-08-01 Roland McGrath <roland@hack.frob.com>
29027
48aec5b9
RM
29028 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29029 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29030
cd97c966
RM
29031 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29032 Define mkstemp64 as an alias.
3f55550c
RM
29033 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29034 Define mkstemps64 as an alias.
cd97c966
RM
29035 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29036 Define mkostemp64 as an alias.
b8625cfc
RM
29037 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29038 Define mkostemps64 as an alias.
cd97c966
RM
29039 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29040 Conditionalize body on this.
29041 * misc/mkostemp64.c: Likewise.
b8625cfc 29042 * misc/mkostemps64.c: Likewise.
3f55550c 29043 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29044 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29045 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29046 * sysdeps/wordsize-64/mkostemp.c: File removed.
29047 * sysdeps/wordsize-64/mkstemp.c: File removed.
29048 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29051 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29052
09c0ee5f
RM
29053 [BZ #14138]
29054 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29055 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29056 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29057 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29058
29059 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29060 compat_symbol macros from <shlib-compat.h> rather than the underlying
29061 default_symbol_version and symbol_version macros, so that DEFAULT
29062 lines in shlib-versions are respected.
29063 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29064
7e66ee51
FW
290652012-08-01 Florian Weimer <fweimer@redhat.com>
29066
29067 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29068 Declare with warn_unused_result.
29069 (setgid, setregid, setegid, setresgid): Likewise.
29070 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29071 Likewise.
29072 * WUR-REPORT: Remove set*id functions.
29073
d2a54255
PT
290742012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29075
29076 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29077
7ecdb005
RM
290782012-07-31 Roland McGrath <roland@hack.frob.com>
29079
b4180a5e 29080 [BZ #10191]
789bd351
RM
29081 * include/sys/socket.h (__libc_accept, __libc_accept4):
29082 Add attribute_hidden.
29083 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29084
40ce302d
RM
29085 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29086 use of PTR_MANGLE.
29087 * inet/getnetgrent_r.c (setup): Likewise.
29088
7ecdb005
RM
29089 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29090
e2eabb2c
DM
290912012-07-31 David S. Miller <davem@davemloft.net>
29092
29093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29094
d0419dbf
JM
290952012-07-31 Joseph Myers <joseph@codesourcery.com>
29096
29097 [BZ #13629]
29098 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29099 value between 1.0 and 2.0 and smaller part has absolute value less
29100 than 1.0.
29101 * math/s_clog10.c (__clog10): Likewise.
29102 * math/s_clog10f.c (__clog10f): Likewise.
29103 * math/s_clog10l.c (__clog10l): Likewise.
29104 * math/s_clogf.c (__clogf): Likewise.
29105 * math/s_clogl.c (__clogl): Likewise.
29106 * math/libm-test.inc (clog_test): Add more tests.
29107 (clog10_test): Likewise.
29108 * sysdeps/i386/fpu/libm-test-ulps: Update.
29109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29110
2bc13872
FW
291112012-07-31 Florian Weimer <fweimer@redhat.com>
29112
29113 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29114 Exit with zero in case no suitable GID is found, and write a
29115 message to standard error.
29116
bea9b193
RM
291172012-07-30 Roland McGrath <roland@hack.frob.com>
29118
29119 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29120 rather than to 1.
29121 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29122 (MAXPATHLEN): Removed.
29123 (NOGROUP, NODEV): New macros.
29124 (setbit, clrbit, isset, isclr): New macros.
29125 (howmany, roundup, powerof2): New macros.
29126 (DEV_BSIZE): New macro.
29127
29128 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29129 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29130
29131 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29132 definition on [!__NO_LONG_DOUBLE_MATH].
29133
29134 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29135 PTR_MANGLE and PTR_DEMANGLE.
29136
29137 * socket/accept4.c (accept4): Rename to __libc_accept4.
29138 Define accept4 as a weak alias.
29139
29140 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29141 on [_DIRENT_HAVE_D_TYPE].
29142 * io/ftw.c (ftw_dir): Likewise.
29143
29144 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29145
29146 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29147
29148 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29149 Use the BSD numbers rather than the arbitrary ones we had.
29150 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29151 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29152 (SIGXCPU, SIGXFSZ): New macros.
29153 (_NSIG): Now 32.
29154
29155 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29156 initializer on [_LIBC_REENTRANT].
29157
29158 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29159 definitions inside [_POSIX_MAPPED_FILES].
29160
29161 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29162
29163 * dirent/opendir.c: Include <fcntl.h>.
29164
29165 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29166 (__libc_getspecific): Likewise.
29167 (__libc_key_create): Likewise.
29168
29169 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29170 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29171 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29172 (tmpfile64): Define as alias.
29173 * sysdeps/wordsize-64/tmpfile.c: File removed.
29174 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29175 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29176 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29177
29178 * stdio-common/vfscanf.c: Include <stdbool.h>.
29179 * nss/makedb.c: Likewise.
29180 * stdio-common/_i18n_number.h: Likewise.
29181 * argp/argp-help.c: Likewise.
29182 * posix/wordexp.c: Likewise.
29183 * sysdeps/posix/spawni.c: Likewise.
29184 * nss/nss_files/files-initgroups.c: Likewise.
29185 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29186 * nss/nss_files/files-initgroups.c: Likewise.
29187 * nss/nss_db/db-netgrp.c: Likewise.
29188 * nss/nss_db/db-initgroups.c: Likewise.
29189 * io/fchmodat.c: Include <sys/stat.h>.
29190
29191 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29192 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29193
29194 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29195 [HAVE_MMAP].
29196
29197 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29198 Add multiple inclusion protection.
29199
e5abc686
DM
292002012-07-27 David S. Miller <davem@davemloft.net>
29201
29202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29203
815e6fa3
GB
292042012-07-27 Gary Benson <gbenson@redhat.com>
29205
29206 [BZ #14298]
29207 * elf/rtld.c: Include <stap-probe.h>.
29208 (dl_main): Added static probes "init_start" and "init_complete".
29209 * elf/dl-load.c: Include <stap-probe.h>.
29210 (lose): Take new parameter "nsid".
29211 Added static probe "map_failed".
29212 (_dl_map_object_from_fd): Pass namespace id to lose.
29213 Added static probe "map_start".
29214 (open_verify): Pass namespace id to lose.
29215 * elf/dl-open.c: Include <stap-probe.h>.
29216 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29217 and "reloc_complete".
29218 * elf/dl-close.c: Include <stap-probe.h>.
29219 (_dl_close_worker): Added static probes "unmap_start" and
29220 "unmap_complete".
29221 * elf/rtld-debugger-interface.txt: New file documenting the above.
29222
9f98c16c
RM
292232012-07-26 Roland McGrath <roland@hack.frob.com>
29224
29225 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29226 rather than a string variable.
29227 * sunrpc/rpc_main.c (h_output): Likewise.
29228 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29229
f3c22df3
PT
292302012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29231
29232 * inet/check_native.c: New file.
29233
3129cfc6
JM
292342012-07-26 Joseph Myers <joseph@codesourcery.com>
29235
da865e95
JM
29236 [BZ #13629]
29237 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29238 if larger part has absolute value 1.0.
29239 * math/s_clog10.c (__clog10): Likewise.
29240 * math/s_clog10f.c (__clog10f): Likewise.
29241 * math/s_clog10l.c (__clog10l): Likewise.
29242 * math/s_clogf.c (__clogf): Likewise.
29243 * math/s_clogl.c (__clogl): Likewise.
29244 * math/libm-test.inc (clog_test): Add more tests.
29245 (clog10_test): Likewise.
29246 * sysdeps/i386/fpu/libm-test-ulps: Update.
29247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29248
3129cfc6
JM
29249 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29250 (pltexit): Likewise.
29251 (La_regs): Likewise.
29252 (La_retval): Likewise.
29253 (int_retval): Likewise.
29254 Update #error for removed macros to refer only to definitions in
29255 tst-audit.h.
29256 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29257 macro.
29258 (pltexit): Likewise.
29259 (La_regs): Likewise.
29260 (La_retval): Likewise.
29261 (int_retval): Likewise.
29262 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29263 macro.
29264 (pltexit): Likewise.
29265 (La_regs): Likewise.
29266 (La_retval): Likewise.
29267 (int_retval): Likewise.
29268 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29269 macro.
29270 (pltexit): Likewise.
29271 (La_regs): Likewise.
29272 (La_retval): Likewise.
29273 (int_retval): Likewise.
29274 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29275 macro.
29276 (pltexit): Likewise.
29277 (La_regs): Likewise.
29278 (La_retval): Likewise.
29279 (int_retval): Likewise.
29280 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29281 macro.
29282 (pltexit): Likewise.
29283 (La_regs): Likewise.
29284 (La_retval): Likewise.
29285 (int_retval): Likewise.
29286 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29287 macro.
29288 (pltexit): Likewise.
29289 (La_regs): Likewise.
29290 (La_retval): Likewise.
29291 (int_retval): Likewise.
29292 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29293 macro definitions in tst-audit.h.
29294 * sysdeps/i386/tst-audit.h: New file.
29295 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29296 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29297 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29298 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29299 * sysdeps/sh/tst-audit.h: Likewise.
29300 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29301 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29302 * sysdeps/x86_64/tst-audit.h: Likewise.
29303
bfc07087
AJ
293042012-07-26 Andreas Jaeger <aj@suse.de>
29305
b1b2aaf8
AJ
29306 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29307 ptrace.
29308
29309 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29310 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29311 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29312 PTRACE_O_MASK.
29313 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29314 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29315 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29316
bfc07087
AJ
29317 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29318 value.
29319
29320 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29321 _sigsys.
29322 (si_call_addr, si_syscall, si_arch): Define new macro.
29323 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29324 _sigsys.
29325 (si_call_addr, si_syscall, si_arch): Define new marcro.
29326 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29327 _sigsys.
29328 (si_call_addr, si_syscall, si_arch): Define new macro.
29329 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29330 _sigsys.
29331 (si_call_addr, si_syscall, si_arch): Define new macro.
29332
89b4b02f
JM
293332012-07-25 Joseph Myers <joseph@codesourcery.com>
29334
29335 [BZ #13717]
29336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29337 Change to 2.4.21 where previously 2.4.1.
29338 * sysdeps/unix/sysv/linux/configure: Regenerated.
29339 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29340 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29341 Linux kernel version.
29342 (__ASSUME_STD_AUXV): Remove.
29343 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29344 kernel version.
29345 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29346 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29347 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29348 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29349 (__ASSUME_NETLINK_SUPPORT): Likewise.
29350 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29351 (__no_netlink_support): Remove conditional definition.
29352 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29353 Remove.
29354 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29355 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29356 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29357 (if_nameindex_ioctl): Remove.
29358 (if_nameindex_netlink): Do not handle __no_netlink_support.
29359 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29360 code.
29361 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29362 Remove conditional code.
29363 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29364 code.
29365 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29366 unconditional.
29367 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29368 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29369 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29370 Remove.
29371 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29372 [!__ASSUME_STD_AUXV]: Remove conditional code.
29373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29374 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29375 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29377 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29378 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29379 code.
29380 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29382 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29383 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29384 conditional code.
29385 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29387 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29388 code.
29389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29390 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29391 conditional code.
29392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29393 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29394 code unconditional.
29395 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29396 conditional code.
29397 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29398 unconditional.
29399 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29400 conditional code.
29401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29402 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29403 unconditional.
29404 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29405 conditional code.
29406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29407 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29408 code unconditional.
29409 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29410 conditional code.
29411 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29412 unconditional.
29413 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29414 conditional code.
29415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29416 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29417 code unconditional.
29418 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29419 conditional code.
29420 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29421 unconditional.
29422 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29423 conditional code.
29424
842a39cd
AS
294252012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29426
29427 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29428 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29429 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29430 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29431 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29432 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29433 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29434 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29435 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29436 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29437 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29438 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29439 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29440 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29441 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29442 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29443 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29445 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29447 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29448 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29450
84b3fd84
FW
294512012-07-25 Florian Weimer <fweimer@redhat.com>
29452
29453 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29454 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29455 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29456 Introduce __libc_secure_getenv.
0c7936d5
FW
29457 * stdlib/Versions (2.17): Add secure_getenv
29458 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29459 * stdlib/secure-getenv.c: Rename __secure_getenv to
29460 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29461 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29462 * stdlib/tst-secure-getenv.c: New.
29463 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29464 * manual/startup.texi (Environment Access): Document
29465 secure_getenv.
84b3fd84
FW
29466 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29467 __libc_secure_getenv.
29468 * inet/ruserpass.c (ruserpass): Likewise.
29469 * malloc/mtrace.c (mtrace): Likewise.
29470 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29471 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29472 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29473 * sysdeps/posix/tempname.c: Likewise. Evaluate
29474 HAVE_SECURE_GETENV.
29475 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29476 __secure_getenv to __libc_secure_getenv.
84b3fd84 29477 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29479 Likewise.
29480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29481 Likewise.
29482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29484 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29489
56e49b71
JM
294902012-07-25 Joseph Myers <joseph@codesourcery.com>
29491
29492 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29493 (struct La_i86_retval): Likewise.
29494 (struct La_x86_64_regs): Likewise.
29495 (struct La_x86_64_retval): Likewise.
29496 (struct La_x32_regs): Likewise.
29497 (struct La_x32_retval): Likewise.
29498 (struct La_ppc32_regs): Likewise.
29499 (struct La_ppc32_retval): Likewise.
29500 (struct La_ppc64_regs): Likewise.
29501 (struct La_ppc64_retval): Likewise.
29502 (struct La_sh_regs): Likewise.
29503 (struct La_sh_retval): Likewise.
29504 (struct La_s390_32_regs): Likewise.
29505 (struct La_s390_32_retval): Likewise.
29506 (struct La_s390_64_regs): Likewise.
29507 (struct La_s390_64_retval): Likewise.
29508 (struct La_sparc32_regs): Likewise.
29509 (struct La_sparc32_retval): Likewise.
29510 (struct La_sparc64_regs): Likewise.
29511 (struct La_sparc64_retval): Likewise.
29512 (struct audit_ifaces): Remove architecture-specific pltenter and
29513 pltexit members.
29514 * sysdeps/i386/ldsodefs.h: New file.
29515 * sysdeps/powerpc/ldsodefs.h: Likewise.
29516 * sysdeps/s390/ldsodefs.h: Likewise.
29517 * sysdeps/sh/ldsodefs.h: Likewise.
29518 * sysdeps/sparc/ldsodefs.h: Likewise.
29519 * sysdeps/x86_64/ldsodefs.h: Likewise.
29520
354691b7
MP
295212012-07-25 Marek Polacek <polacek@redhat.com>
29522
29523 [BZ #6808]
29524 * math/libm-test.inc (yn_test): Add another test.
29525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29526 to ERANGE when the result is +-Inf.
29527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29528 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29529 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29530 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29531
bf9e2071
JM
295322012-07-24 Joseph Myers <joseph@codesourcery.com>
29533
29534 * conform/data/time.h-data (NULL): Use macro-constant. Require
29535 equal to 0.
29536 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29537 clock_t.
29538 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29539
57633811
TS
295402012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29541
29542 * configure.in <sysdeps resolving>: Correct printing
29543 Implies_before.
29544 * configure: Regenerate.
29545
c23c33b0
TS
295462012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29547
29548 * math/w_ilogb.c: Include <limits.h>.
29549 * math/w_ilogbl.c: Likewise.
29550
b5982523
JM
295512012-07-20 Joseph Myers <joseph@codesourcery.com>
29552
29553 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29554 va_copy. Document allowing for unavailable va_copy only as
29555 pre-C99 compatibility.
29556 * manual/string.texi (Copying and Concatenation): Use va_copy
29557 instead of __va_copy in concat example.
29558
ac4ea442
PT
295592012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29560
29561 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29562 (__sendto): Use create_address_port. Initialize APORT and deallocate
29563 it if not null.
29564
f98eafbd
PT
29565 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29566 with O_NOLINK passed to __file_name_lookup.
29567
898c7aab
PT
29568 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29569 with O_NOLINK passed to __file_name_lookup.
29570
0ced335a
PT
29571 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29572 negative N or less than NGIDS.
29573
b3404dbd
PT
29574 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29575 type to string_t. Set ERANGE as errno and return it if NAME is not big
29576 enough. Use memcpy instead of strncpy.
29577
0f48659e
JM
295782012-07-20 Joseph Myers <joseph@codesourcery.com>
29579
29580 * elf/Makefile (check-data): Remove.
29581 (localplt.data): New vpath directive.
29582 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29583 instead of $(check-data).
29584 * scripts/data/localplt-generic.data: Move to ...
29585 * sysdeps/generic/localplt.data: ... here.
29586 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29587 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29588 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29590 ... here.
29591 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29593 ... here.
29594 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29596 ... here.
29597 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29599 ... here.
29600 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29602 ... here.
29603 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29605 ... here.
29606
d37cbdaa
AZ
296072012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29608
29609 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29610 PPC32 and PPC64 files.
29611 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29612 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29613
46f85fc2
AK
296142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29615
29616 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29617 __makecontext_ret to ...
29618 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29619 ... here and call exit if uc_link is NULL. New file.
29620 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29621 __makecontext_ret.S.
29622 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29623 __makecontext_ret to ...
29624 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29625 ... here and call exit if uc_link is NULL. New file.
29626 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29627 __makecontext_ret.S.
29628
08f43f9b
AK
296292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29630
29631 * elf/elf.h (R_390_IRELATIVE): New definition.
29632 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29633 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29634 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29635 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29636 (elf_machine_lazy_rel): Likewise.
29637 * sysdeps/s390/dl-irel.h: New file.
29638 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29639 * sysdeps/s390/s390-64/memset.S: New asm code.
29640 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29641 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29642 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29643 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29644 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29645 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29646 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29647 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29648 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29649 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29650 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29651 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29652 * sysdeps/s390/s390-32/memset.S: New asm code.
29653 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29654
3b05db33
MP
296552012-07-17 Marek Polacek <polacek@redhat.com>
29656
29657 [BZ #14349]
29658 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29659 * sysdeps/s390/s390-64/configure.in: Likewise.
29660 * sysdeps/sparc/configure.in: Likewise.
29661 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29662 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29663 * sysdeps/i386/configure.in: Likewise.
29664 * sysdeps/x86_64/configure.in: Likewise.
29665 * sysdeps/sh/configure.in: Likewise.
29666 * sysdeps/s390/s390-32/configure: Regenerated.
29667 * sysdeps/s390/s390-64/configure: Likewise.
29668 * sysdeps/x86_64/configure: Likewise.
29669 * sysdeps/sh/configure: Likewise.
29670 * sysdeps/powerpc/powerpc64/configure: Likewise.
29671 * sysdeps/powerpc/powerpc32/configure: Likewise.
29672 * sysdeps/sparc/configure: Likwise.
29673 * sysdeps/i386/configure: Likewise.
29674
a66877c6
MP
29675 * elf/dl-open.c: Comment fixes.
29676
cfc82fd8
JM
296772012-07-17 Joseph Myers <joseph@codesourcery.com>
29678
bd29910a
JM
29679 * Makefile [CXX] (check-data): Remove.
29680 [CXX] (c++-types.data): New vpath directive.
29681 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29682 vpath. Do not allow for C++ type data being missing.
29683 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29684 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29685 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29686 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29687 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29688 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29689 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29691 ... here.
29692 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29694 ... here.
29695 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29697 ... here.
29698 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29700 ... here.
29701 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29703 ... here.
29704 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29706 ... here.
29707 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29709 ... here.
29710 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29712
cfc82fd8
JM
29713 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29714 definitions to architecture-specific files.
29715 (TLS_IE): Likewise.
29716 (TLS_LD): Likewise.
29717 (TLS_GD): Likewise.
29718 * sysdeps/i386/tls-macros.h: New file.
29719 * sysdeps/powerpc/tls-macros.h: Likewise.
29720 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29721 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29722 * sysdeps/sh/tls-macros.h: Likewise.
29723 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29724 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29725 * sysdeps/x86_64/tls-macros.h: Likewise.
29726
f7db3170
TS
297272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29728
07cbfc23
TS
29729 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29730 zero value for regular exit case.
29731
f7db3170
TS
29732 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29733 (__start_context): Preserve zero value for regular exit case.
29734
dc97c227
TS
297352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29736 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29737
29738 * manual/setjmp.texi (setcontext): Clarify normal process
29739 termination when uc_link is the null pointer.
29740 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29741 exit call.
29742
d0cd7d02
AS
297432012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29744
29745 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29746 preprocessor. Test for each exception mask separately.
29747
dd318934
AJ
297482012-07-16 Andreas Jaeger <aj@suse.de>
29749
29750 * po/ru.po: Update from translation team.
29751
8048311a
JM
297522012-07-15 Joseph Myers <joseph@codesourcery.com>
29753
29754 * conform/data/string.h-data (NULL): Use macro-constant. Require
29755 equal to 0.
29756 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29757 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29758 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29759 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29761
b637d46e
AJ
297622012-07-13 Andreas Jaeger <aj@suse.de>
29763
29764 * po/fr.po: Update from translation team.
29765
541428fe
MP
297662012-07-12 Marek Polacek <polacek@redhat.com>
29767
29768 [BZ #14173]
29769 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29771 loop condition.
29772
ec332e94
JM
297732012-07-12 Joseph Myers <joseph@codesourcery.com>
29774
29775 [BZ #13717]
29776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29777 Change to 2.4.1 where previously 2.4.0.
29778 * sysdeps/unix/sysv/linux/configure: Regenerated.
29779 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29780 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29781 version.
29782 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29783 (__ASSUME_AT_CLKTCK): Remove.
29784 (__ASSUME_AT_PAGESIZE): Likewise.
29785 (__ASSUME_AT_XID): Likewise.
29786 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29787 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29788 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29789 unconditionally.
29790 (HAVE_AUX_PAGESIZE): Likewise.
29791 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29792 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29793 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29794
7b6e99be
JB
297952012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29796
29797 [BZ #14307]
29798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29799 the temporary buffer used to invoke __gethostbyname2_r,
29800 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29801 host_data / struct gaih_addrtuple.
29802 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29803 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29804 header file nss/nsswitch.h.
29805 * nss/nsswitch.h (global scope): Add definition of implementation
29806 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29807 resolv/nss_dns/dns-host.c).
29808
608404eb
AJ
298092012-07-11 Andreas Jaeger <aj@suse.de>
29810
29811 * po/fr.po: Update from translation team.
29812
71220aca
AJ
29813 * po/sv.po: Update from translation team
29814 * po/fr.po: Another update from translation team.
29815
28cfe843
AZ
298162012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29817
29818 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29819 for subnormals or multiply small sinh result by itself.
29820 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29822
6b90f981
DM
298232012-07-11 David S. Miller <davem@davemloft.net>
29824
29825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29826
c6825772
AS
298272012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29828
29829 [BZ #14347]
29830 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29831 (INTERNAL_MARK): Shift it here.
29832
7b8e0d49
MP
298332012-07-10 Marek Polacek <polacek@redhat.com>
29834
29835 [BZ #14151]
29836 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29837 libc_cv_asm_global_directive with .globl.
29838 * configure: Regenerated.
29839 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29840 with .globl.
29841 * sysdeps/i386/configure: Regenerated.
29842 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29843 with .globl.
29844 * sysdeps/x86_64/configure: Regenerated.
29845 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29846 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29847 * elf/tst-unique2mod2.c: Likewise.
29848 * elf/tst-unique2mod1.c: Likewise.
29849 * elf/tst-unique1mod2.c: Likewise.
29850 * elf/tst-unique1mod1.c: Likewise.
29851 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29852 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29854 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29855 * sysdeps/mach/sysdep.h: Likewise.
29856 * sysdeps/i386/sysdep.h: Likewise.
29857 * sysdeps/i386/i386-mcount.S: Likewise.
29858 * sysdeps/x86_64/_mcount.S: Likewise.
29859 * sysdeps/x86_64/sysdep.h: Likewise.
29860 * sysdeps/sh/_mcount.S: Likewise.
29861 * sysdeps/sh/sysdep.h: Likewise.
29862 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29863 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29864 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29865 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29866 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29867 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29868 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29869 * locale/localeinfo.h: Likewise.
29870 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29871 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29872
6c55cda3
RM
298732012-07-09 Roland McGrath <roland@hack.frob.com>
29874
29875 [BZ #14336]
29876 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29877 system".
29878 * manual/message.texi (The Uniforum approach): Likewise.
29879 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29880 (glibc iconv Implementation): Likewise.
29881
638a572e
JM
298822012-07-09 Joseph Myers <joseph@codesourcery.com>
29883
29884 [BZ #14337]
29885 * math/s_clog.c (__clog): Avoid scaling a value down where that
29886 could result in underflow.
29887 * math/s_clog10.c (__clog10): Likewise.
29888 * math/s_clog10f.c (__clog10f): Likewise.
29889 * math/s_clog10l.c (__clog10l): Likewise.
29890 * math/s_clogf.c (__clogf): Likewise.
29891 * math/s_clogl.c (__clogl): Likewise.
29892 * math/libm-test.inc (clog_test): Add more tests.
29893 (clog10_test): Likewise.
29894 * sysdeps/i386/fpu/libm-test-ulps: Update.
29895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29896
261f4859
AS
298972012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29898
0abaf3e4
AS
29899 [BZ #14283]
29900 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29901 by 7 not 8 to examine high bit of fractional part.
29902
261f4859
AS
29903 [BZ #14042]
29904 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29905 for call to __mcount_internal.
29906 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29907 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29908 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29909
f17ac40d
JM
299102012-07-06 Joseph Myers <joseph@codesourcery.com>
29911
9ad63c23
JM
29912 [BZ #14154]
29913 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29914 approximation for values within 0x1p-13f of an odd multiple of
29915 pi/4.
29916 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29917 exception. Add more tests.
29918 * sysdeps/i386/fpu/libm-test-ulps: Update.
29919
f17ac40d
JM
29920 [BZ #6778]
29921 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29922 inputs and return -1 for them. Do not check for +Inf in case not
29923 reachable for +Inf.
29924 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29925 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29926 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29927 and return -1 for them. Do not check for +Inf in case not
29928 reachable for +Inf.
29929 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29930 define.
29931 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29932 and return -1 for them. Do not check for +Inf in case not
29933 reachable for +Inf.
29934 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29935 spurious underflow.
29936 * sysdeps/i386/fpu/libm-test-ulps: Update.
29937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29938
fb21f89b
MF
299392012-07-06 Mike Frysinger <vapier@gentoo.org>
29940
29941 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29942
cdfe2c5e
JM
299432012-07-05 Joseph Myers <joseph@codesourcery.com>
29944
29945 [BZ #14157]
29946 [BZ #14331]
29947 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29948 could result in spurious underflow. Scale down values above
29949 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29950 * math/s_csqrtf.c (__csqrtf): Likewise.
29951 * math/s_csqrtl.c (__csqrtl): Likewise.
29952 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29953 spurious underflow.
29954 * sysdeps/i386/fpu/libm-test-ulps: Update.
29955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29956
70d35b67
AS
299572012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29958
704bc459
AS
29959 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29960 xopen-msg.sed.
29961 * catgets/xopen-msg.awk: New file.
29962 * catgets/xopen-msg.sed: Removed.
29963
70d35b67
AS
29964 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29965 po2text.sed.
29966 * intl/po2test.awk: New file.
29967 * intl/po2test.sed: Removed.
29968
ca61cf32
JM
299692012-07-04 Joseph Myers <joseph@codesourcery.com>
29970
29971 [BZ #14328]
29972 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29973 or multiply small sinh result by itself.
29974 * math/s_ctanf.c (__ctanf): Likewise.
29975 * math/s_ctanh.c (__ctanh): Likewise.
29976 * math/s_ctanhf.c (__ctanhf): Likewise.
29977 * math/s_ctanhl.c (__ctanhl): Likewise.
29978 * math/s_ctanl.c (__ctanl): Likewise.
29979 * math/libm-test.inc (ctan_test_tonearest): New function.
29980 (ctan_test_towardzero): Likewise.
29981 (ctan_test_downward): Likewise.
29982 (ctan_test_upward): Likewise.
29983 (ctanh_test_tonearest): Likewise.
29984 (ctanh_test_towardzero): Likewise.
29985 (ctanh_test_downward): Likewise.
29986 (ctanh_test_upward): Likewise.
29987 (main): Call these new functions.
29988 * sysdeps/i386/fpu/libm-test-ulps: Update.
29989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29990
ca48a46a
MF
299912012-07-03 Mike Frysinger <vapier@gentoo.org>
29992
29993 * .gitignore: Delete /ports entry.
29994
9d63d37d
AJ
299952012-07-03 Andreas Jaeger <aj@suse.de>
29996
29997 * po/bg.po: Update from translation team.
29998 * po/cs.po: Likewise.
29999 * po/de.po: Likewise.
30000 * po/hr.po: Likewise.
30001 * po/nl.pl: Likewise.
30002 * po/pl.po: Likewise.
30003 * po/vi.po: Likewise.
30004
370ca3d2
JM
300052012-07-03 Joseph Myers <joseph@codesourcery.com>
30006
95f5a9a8
JM
30007 * Makeconfig [!+link] (+link-before-libc): New variable.
30008 [!+link] (+link-after-libc): Likewise.
30009 [!+link] (+link-tests): Likewise.
30010 [!+link] (+link): Define in terms of $(+link-before-libc) and
30011 $(+link-after-libc).
30012 [!+link-static] (+link-static-before-libc): New variable.
30013 [!+link-static] (+link-static-after-libc): Likewise.
30014 [!+link-static] (+link-static-tests): Likewise.
30015 [!+link-static] (+link-static): Define in terms of
30016 $(+link-static-before-libc) and $(+link-static-after-libc).
30017 [build-shared] (link-libc-before-gnulib): New variable.
30018 [build-shared] (link-libc-tests): Likewise.
30019 [build-shared] (link-libc): Define in terms of
30020 $(link-libc-before-gnulib).
30021 [!build-shared] (link-libc-tests): New variable.
30022 (link-libc-static-tests): New variable.
30023 [!gnulib] (gnulib-arch): New variable.
30024 [!gnulib] (gnulib-tests): Likewise.
30025 [!gnulib] (static-gnulib-arch): Likewise.
30026 [!gnulib] (static-gnulib-tests): Likewise.
30027 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30028 Define with "=" instead of ":=".
30029 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30030 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30031 * Rules (binaries-all-notests): New variable.
30032 (binaries-all-tests): Likewise.
30033 (binaries-static-notests): Likewise.
30034 (binaries-static-tests): Likewise.
30035 (binaries-all): Define using $(binaries-all-notests) and
30036 $(binaries-all-tests).
30037 (binaries-static): Define using $(binaries-static-notests) and
30038 $(binaries-static-tests).
30039 (binaries-shared-tests): New variable.
30040 (binaries-shared-notests): Likewise.
30041 (binaries-shared): Remove variable.
30042 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30043 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30044 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30045 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30046 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30047 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30048 * elf/Makefile (sln-modules): New variable.
30049 (extra-objs): Add $(sln-modules:=.o).
30050 (ldconfig-modules): Add static-stubs.
30051 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30052 * elf/static-stubs.c: New file.
30053
7a845b2c
JM
30054 [BZ #14283]
30055 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30056 by 7 not 8 to examine high bit of fractional part. Use volatile
30057 variables when splitting into final array of floats if
30058 __FLT_EVAL_METHOD__ != 0.
30059 * math/libm-test.inc (cos_test): Add another test.
30060 (sin_test): Likewise.
30061 * sysdeps/i386/fpu/libm-test-ulps: Update.
30062
e2283f38
JM
30063 [BZ #14273]
30064 * math/libm-test.inc (cosh_test): Add more tests.
30065
370ca3d2
JM
30066 * version.h (RELEASE): Set to "development".
30067 (VERSION): Set to "2.16.90".
30068
ee9247c3
CD
300692012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30070
30071 * NEWS: Update copyright. Remove last-updated date.
30072 Mention math library bug fixes and timezone data changes.
30073 * README: Mention GNU/Hurd, x32, and HPPA support status.
30074
4648c381
TS
300752012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30076
30077 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30078
aac78a43
AJ
300792012-06-27 Andreas Jaeger <aj@suse.de>
30080
30081 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30082
ed3dbfad
AJ
300832012-06-25 Andreas Jaeger <aj@suse.de>
30084
30085 * sysdeps/s390/fpu/libm-test-ulps: Update.
30086
4d0ee855
AS
300872012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30088 Thomas Schwinge <thomas@codesourcery.com>
30089
30090 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30091 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30093 fanotify_mark.
30094
af1bce34
TS
300952012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30096
a9fa33ba
TS
30097 * sysdeps/mach/start.c: Remove file.
30098 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30099 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30100 * sysdeps/sh/init-first.c: Likewise.
30101
58f902b8
TS
30102 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30103 registers for frame unwinding purposes, add CFI directives.
30104 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30105 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30106 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30107 Likewise.
30108
1518f58b
TS
30109 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30110 __fortify_fail returning.
30111 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30112
db9b5059
TS
30113 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30114 sysdeps/sh/____longjmp_chk.S.
30115 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30116 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30117 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30118 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30119
967705fe
TS
30120 * sysdeps/sh/abort-instr.h: New file.
30121 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30122 process in case exit returns.
30123
a9def8c4
TS
30124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30125 initialize the GOT register before use.
30126
2a649725
TS
30127 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30128 calculation of ARGC > 4.
30129
af1bce34
TS
30130 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30131 meaningful names to some local labels.
30132
d230f50a
KK
301332012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30134 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30135
30136 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30137 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30138 (__arch_compare_and_exchange_val_16_acq): Likewise.
30139 (__arch_compare_and_exchange_val_32_acq): Likewise.
30140 (atomic_exchange_and_add): Fix gUSA sequence.
30141 (atomic_add): Likewise.
30142 (atomic_add_negative): Likewise.
30143 (atomic_add_zero): Likewise.
30144 (atomic_bit_test_set): Likewise.
30145
0479b305
AS
301462012-06-22 Andreas Schwab <schwab@redhat.com>
30147
30148 [BZ #13579]
30149 * include/link.h (struct link_map): Add l_free_initfini.
30150 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30151 l_initfini.
30152 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30153 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30154 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30155 set.
30156
0e3933b9
CD
301572012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30158
30159 * configure.in: Use AC_LANG_SOURCE.
30160 * configure: Regenerate.
30161
4248b1b1
RM
301622012-06-22 Roland McGrath <roland@hack.frob.com>
30163
30164 * configure.in (libc_cv_localstatedir): New substituted variable.
30165 * configure: Regenerated.
30166 * config.make.in (localstatedir): New variable, substituted from
30167 libc_cv_localstatedir.
30168 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30169 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30170 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30171 * sysdeps/gnu/configure: Regenerated.
30172
006dd861
JL
301732012-06-21 Jeff Law <law@redhat.com>
30174
30175 [BZ #14277]
30176 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30177 free. Simplify list management for _LIBC case.
30178
79662d42
JM
301792012-06-21 Joseph Myers <joseph@codesourcery.com>
30180
b7abb4bf
JM
30181 [BZ #14273]
30182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30183 Clear sign bit of 64-bit integer value before comparing against
30184 overflow value.
30185
79662d42
JM
30186 * sysdeps/mach/configure: Regenerated.
30187
1f150908
L
301882012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30189
30190 [BZ #14278]
30191 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30192
28363bbf
JL
301932012-06-21 Jeff Law <law@redhat.com>
30194
30195 [BZ #13882]
30196 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30197 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 30198 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
30199 * elf/dl-open.c (dl_open_worker): Likewise.
30200
09615db4
CD
302012012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30202
30203 * scripts/list-sources.sh: Scan PORTS for translations.
30204 * po/libc.pot: Regenerated.
30205
2174c6dd
AJ
302062012-06-21 Andreas Jaeger <aj@suse.de>
30207
30208 [BZ #12194]
30209 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30210 warning.
30211 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30212 * bits/byteswap-16.h (__bswap_16): Likewise.
30213 * bits/byteswap.h (__bswap_constant_16): Likewise.
30214
3ee947b1
L
302152012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30216
30217 [BZ #14117]
a2f34833
L
30218 * sysdeps/i386/fpu_control.h: Removed.
30219 * sysdeps/x86_64/fpu_control.h: Moved to ...
30220 * sysdeps/x86/fpu_control.h: Here.
30221
3ee947b1
L
30222 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30223 (_FPU_SETCW): Likewise.
30224
ed1825f8
L
302252012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30226
25f1282a
L
30227 [BZ #14117]
30228 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30229 * sysdeps/x86/fpu/bits/mathinline.h: This.
30230 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30231
ed1825f8
L
30232 [BZ #14050]
30233 [BZ #14117]
30234 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30235 functions if __x86_64__ is defined.
30236
36d54b74
CLT
302372012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30238
30239 * string/endian.h: Add !__ASSEMBLER__ condition for including
30240 conversion interfaces.
30241
10285c21
JM
302422012-06-15 Joseph Myers <joseph@codesourcery.com>
30243
30244 [BZ #14241]
30245 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30246 of ABS(x) in calculating zero to negative powers other than odd
30247 integers.
30248 * math/libm-test.inc (pow_test): Add more tests.
30249
06c5abbd
AJ
302502012-06-15 Andreas Jaeger <aj@suse.de>
30251
30252 * manual/contrib.texi (Contributors): Update entry of Liubov
30253 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30254 Machado Filho.
30255
a3aeac40
CH
302562012-06-15 Cyril Hrubis <metan@ucw.cz>
30257
30258 * string/string.h: Add __wur to GNU version of strerror_r.
30259
49bdf4c1
L
302602012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 [BZ #14229]
30263 * string/Makefile (tests): Add tst-strtok_r.
30264 * string/tst-strtok_r.c: New file.
30265 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30266 RAX_LP/RDX_LP on SAVE_PTR.
30267
834f9b8d
RM
302682012-06-14 Roland McGrath <roland@hack.frob.com>
30269
30270 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30271
75fa1921
JM
302722012-06-14 Joseph Myers <joseph@codesourcery.com>
30273
30274 * libm_test.inc (csqrt_test): Allow more spurious underflow
30275 exceptions.
30276 (j0_test): Likewise.
30277 (j1_test): Likewise.
30278 (y0_test): Likewise.
30279 (y1_test): Likewise.
30280
771766df
CD
302812012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30282
30283 * po/Makefile (libc.pot): Use UTF-8 charset.
30284
ceb9e56b
PP
302852012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30286
30287 [BZ #14210]
30288 Suppress sign-conversion warning from FD_SET.
30289 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30290 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30291 not unsigned long int.
30292 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30293
ddb28975
L
302942012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30295
30296 [BZ #14050]
30297 [BZ #14117]
30298 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30299 __extern_always_inline instead of __extern_inline.
30300 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30301 (__signbit): Likewise.
30302 (__signbitl): Support C++ namespace.
30303 (lrintf): New inline function.
30304 (lrint): Likewise.
30305 (llrintf): Likewise.
30306 (llrint): Likewise.
30307 (fmaxf): Likewise.
30308 (fmax): Likewise.
30309 (fminf): Likewise.
30310 (fmin): Likewise.
30311 (rint): Likewise.
30312 (rintf): Likewise.
30313 (ceil): Likewise.
30314 (ceilf): Likewise.
30315 (floor): Likewise.
30316 (floorf): Likewise.
30317 (nearbyint): Likewise.
30318 (nearbyintf): Likewise.
30319
d7b4fb26
TS
303202012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30321
30322 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30323 non-default versions.
30324
eb55f5c2
RM
303252012-06-11 Roland McGrath <roland@hack.frob.com>
30326
30327 [BZ #14218]
30328 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30329
366af02c
TS
303302012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30331
99ff6e5c
TS
30332 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30333 (FE_UPWARD, FE_DOWNWARD): Don't define.
30334 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30335 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30336
366af02c
TS
30337 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30338 reading it.
30339 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30340 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30341
793ea851
KK
303422012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30343
30344 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30346 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30347 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30348
a728a38f
L
303492012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30350
30351 [BZ #14117]
c08010c7
L
30352 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30353 * sysdeps/i386/fpu/Implies: New file.
30354 * sysdeps/x86_64/fpu/Implies: Likewise.
30355 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30356 * sysdeps/x86/fpu/bits/fenv.h: This.
30357
a728a38f
L
30358 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30359 __SSE_MATH__.
30360
6e230d11
SP
303612012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30362
30363 [BZ #14134]
30364 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30365 character 0xffff that matches the last element of the
30366 conversion table.
30367
1b671feb
AZ
303682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30369
30370 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30371 fmodl commit.
30372
6043738b
AZ
303732012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30374
30375 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30376 values higher than 25.6283.
30377
34ae0b32
AZ
303782012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30379
30380 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30381 subnormal exponent extraction and add some __builtin_expect.
30382 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30383 Fix for subnormal mantissa calculation.
30384
1214ec8f
MF
303852012-06-04 Mike Frysinger <vapier@gentoo.org>
30386
30387 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30388 cpu2 is -1 and errno is not ENOSYS.
30389
f3d1f93c
L
303902012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 [BZ #14117]
0e4a3cd7
L
30393 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30394 * sysdeps/x86/bits/string.h: This.
30395 * sysdeps/x86_64/bits/string.h: Removed.
30396
6704c645
L
30397 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30398 if not compiling for x86-64, but compiling for >= i486.
30399
48495318
L
30400 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30401 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30402
14adcbfc
L
30403 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30404 New macro from Linux kernel 3.4.0.
30405 (FP_XSTATE_MAGIC2): Likewise.
30406 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30407 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30408 (struct _fpx_sw_bytes): New struct.
30409 (struct _xsave_hdr): Likewise.
30410 (struct _ymmh_state): Likewise.
30411 (struct _xstate): Likewise.
30412
68e408ab
L
30413 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30414 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30415 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30416 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30417 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30418 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30419
f3d1f93c
L
30420 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30421 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30422 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30423 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30424 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30425 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30426
d9dc34cd
TMQMF
304272012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30428
30429 [BZ #13743]
30430 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30431 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30432 (sysdep_headers): Include sys/platform/ppc.h.
30433 * sysdeps/powerpc/test-gettimebase.c: Test for
30434 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30435 * manual/Makefile (appendices): Include platform.texi.
30436 * manual/contrib.texi (Contributors): Update @node pointers.
30437 * manual/maint.texi (Maintenance): Likewise.
30438 (Platform): New node.
30439 * manual/platform.texi: New file. Document the new features.
30440
4af3879c
SP
304412012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30442 Jakub Jelinek <jakub@redhat.com>
30443
30444 [BZ #14188]
30445 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30446 where __builtin_expect is unavailable.
30447
2fd6ff13
DM
304482012-06-03 David S. Miller <davem@davemloft.net>
30449
30450 * stdlib/longlong.h: Updated from GCC.
30451
173f7220
AS
304522012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30453
30454 [BZ #14042]
30455 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30456 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30457 __mcount_internal.
30458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30459 (GLIBC_2.16): Likewise.
30460
f34a1c6f
L
304612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30462
30463 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30464
88a4576f
JM
304652012-06-01 Joseph Myers <joseph@codesourcery.com>
30466
ea32bcdd
JM
30467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30468 (default-abi): New variable.
30469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30470 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30471 variable.
30472 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30473 Likewise.
30474 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30475 Likewise.
30476 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30477 Likewise.
30478
88a4576f
JM
30479 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30480 definition. Document in comment.
30481
402fe938
DM
304822012-06-01 David S. Miller <davem@davemloft.net>
30483
30484 * stdlib/longlong.h: Updated from GCC.
30485
3553723f
L
304862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30487
30488 [BZ #14117]
3bd872c4
L
30489 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30490 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30491 sys/debugreg.h sys/io.h here.
30492 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30493 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30494 sys/io.h.
30495 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30496 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30497 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30498 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30499 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30500 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30501
3553723f
L
30502 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30503 Define only if __x86_64__ is defined.
30504
4842e4fe
JM
305052012-06-01 Joseph Myers <joseph@codesourcery.com>
30506
c5bfe3d5
JM
30507 [BZ #14048]
30508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30509 Use int64_t for variable i.
30510 * math/libm-test.inc (fmod_test): Add more tests.
30511
4842e4fe
JM
30512 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30513 z computation is not scheduled after fetestexcept.
30514 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30515 Use math_force_eval instead of asm to ensure calculation scheduled
30516 before exception test.
30517 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30518 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30519
efb73488
AJ
305202012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30521
30522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30523 computation is not scheduled after fetestexcept.
30524
29bcce7c
L
305252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30526
30527 [BZ #14117]
30528 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30529 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30530
73a68f94
AZ
305312012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30532
30533 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30534 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30535
67b6df78
L
305362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30537
edf2933a 30538 [BZ #14117]
ebc64a18
L
30539 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30540 <bits/wordsize.h>.
30541 (__WCHAR_MIN): Support __WORDSIZE == 64.
30542 (__WCHAR_MAX): Likewise.
30543
edf2933a
L
30544 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30545 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30546
57c6cf40
L
30547 [BZ #14183]
30548 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30549 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30550
67b6df78 30551 [BZ #14117]
8eb6281e
L
30552 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30553 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30554
aac639f4
L
30555 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30556 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30557
67b6df78
L
30558 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30559 Defined to 1 if __x86_64__ isn't defined.
30560 (_STAT_VER_LINUX_OLD): New.
30561 (st_atime): Remove duplicate.
30562 (st_mtime): Likewise.
30563 (st_ctime): Likewise.
30564
1c2cfe81
DM
305652012-05-31 David S. Miller <davem@davemloft.net>
30566
30567 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30568 entries.
30569
5be8418c
AS
305702012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30571
e7725326
AS
30572 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30573 gen-libm-test.pl.
30574
5be8418c
AS
30575 [BZ #14132]
30576 * elf/dl-reloc.c: Include <_itoa.h>.
30577 (_dl_reloc_bad_type): Remove use of INTUSE.
30578 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30579 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30580 * stdio-common/psiginfo.c (psiginfo): Likewise.
30581 * stdio-common/psignal.c (psignal): Likewise.
30582 * string/strsignal.c (strsignal): Likewise.
30583 * include/signal.h (_sys_siglist): Declare hidden proto.
30584 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30585 INTVARDEF with libc_hidden_data_def.
30586 * stdio-common/itoa-udigits.c: Likewise.
30587 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30588 (_itoa_lower_digits_internal): Remove declaration.
30589 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30590 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30591 (_sys_sigabbrev_internal): Remove aliases.
30592 (_sys_siglist): Define hidden alias.
30593
507352f1
MT
305942012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30595
30596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30597 bits/sysctl.h.
30598
42bbb1c3
L
305992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30600
30601 [BZ #14117]
6bd784b6
L
30602 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30603 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30604
8bca20f0
L
30605 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30606 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30607 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30608 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30610 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30611
f9e890a9
L
30612 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30613 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30614 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30615
471101a1
L
30616 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30617 with __addr.
30618 (insw): Likewise.
30619 (insl): Likewise.
30620 (outsb): Likewise.
30621 (outsw): Likewise.
30622 (outsl): Likewise.
30623
6451c862
L
30624 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30625 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30626 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30627
a254b8c9
L
30628 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30629 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30630 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30631 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30632 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30633 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30634
b8dfdd92
L
30635 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30636 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30637
578cd270
L
30638 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30639 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30640
de662f5f
L
30641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30643 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30644
25653439
L
30645 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30646 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30647 to ...
30648 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30649
6bad24a0
L
30650 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30651 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30652 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30653
42bbb1c3
L
30654 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30655 for x86-64.
30656 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30657
2d10d547
JM
306582012-05-31 Joseph Myers <joseph@codesourcery.com>
30659
30660 * math/math.h (M_El): Use two more decimal places.
30661 (M_LOG2El): Likewise.
30662 (M_LOG10El): Likewise.
30663 (M_LN2l): Likewise.
30664 (M_LN10l): Likewise.
30665 (M_PIl): Likewise.
30666 (M_PI_2l): Likewise.
30667 (M_PI_4l): Likewise.
30668 (M_1_PIl): Likewise.
30669 (M_2_PIl): Likewise.
30670 (M_2_SQRTPIl): Likewise.
30671 (M_SQRT2l): Likewise.
30672 (M_SQRT1_2l): Likewise.
30673
f230c29b
DM
306742012-05-31 David S. Miller <davem@davemloft.net>
30675
30676 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30677 values between float registers.
30678 * sysdeps/sparc/sparc64/memset.S: Likewise.
30679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30680
fed806c3
MF
306812012-05-31 Mike Frysinger <vapier@gentoo.org>
30682
30683 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30684 -D_FORTIFY_SOURCE=1.
30685 (CPPFLAGS-tst-longjmp_chk.c): Define.
30686 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30687 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30688 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30689 CFLAGS-tst-wchar-h.c.
30690
30917259
MP
306912012-05-31 Marek Polacek <polacek@redhat.com>
30692
30693 [BZ #14132]
30694 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30695 __endmntent_internal): Remove declaration.
30696 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30697 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30698 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30699
1c58d5dc
DM
307002012-05-30 David S. Miller <davem@davemloft.net>
30701
30702 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30703 (___Q_simulate_exceptions): Use real FP ops rather than writing
30704 into the %fsr.
30705 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30706 Likewise.
30707
7dc00e0d
L
307082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30709
30710 [BZ #14117]
0bd53985
L
30711 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30712 * sysdeps/x86/bits/xtitypes.h: This.
30713
3a257e66
L
30714 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30715 * sysdeps/x86/bits/wordsize.h: This.
30716
62f62904
L
30717 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30718 * sysdeps/x86/bits/huge_vall.h: This.
30719
404fe9d9
L
30720 * sysdeps/i386/bits/select.h: Removed.
30721 * sysdeps/x86_64/bits/select.h: Renamed to ...
30722 * sysdeps/x86/bits/select.h: This.
30723
d48d0446
L
30724 * sysdeps/i386/bits/setjmp.h: Removed.
30725 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30726 * sysdeps/x86/bits/setjmp.h: This.
30727
7dc00e0d
L
30728 * sysdeps/i386/bits/mathdef.h: Removed.
30729 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30730 * sysdeps/x86/bits/mathdef.h: This.
30731
03277f8f
AS
307322012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30733
30734 [BZ #14132]
30735 * include/sys/socket.h (__connect_internal)
30736 (__libc_sa_len_internal): Remove declaration.
30737 (__connect, __libc_sa_len): Declare hidden_proto.
30738 (SA_LEN): Remove use of INTUSE.
30739 * socket/connect.c: Add libc_hidden_def.
30740 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30741 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30742 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30743 alias.
30744 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30745 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30746 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30747 of adding _internal alias.
30748
13764867
L
307492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30750
30751 [BZ #14117]
6bd97696
L
30752 * sysdeps/i386/bits/link.h: Removed.
30753 * sysdeps/i386/bits/linkmap.h: Likewise.
30754 * sysdeps/x86_64/bits/link.h: Renamed to ...
30755 * sysdeps/x86/bits/link.h: This.
30756 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30757 * sysdeps/x86/bits/linkmap.h: This.
30758
f726f0bb
L
30759 * sysdeps/i386/bits/endian.h: Removed.
30760 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30761 * sysdeps/x86/bits/endian.h: This.
30762
13764867
L
30763 * sysdeps/i386/bits/byteswap.h: Removed.
30764 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30765 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30766 * sysdeps/x86/bits/byteswap.h: This.
30767 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30768 * sysdeps/x86/bits/byteswap-16.h: This.
30769 * sysdeps/i386/Implies: Add x86.
30770 * sysdeps/x86_64/Implies: Likewise.
30771
ae251b0b
DM
307722012-05-30 David S. Miller <davem@davemloft.net>
30773
30774 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30775 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30776 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30777 (FP_TRAPPING_EXCEPTIONS): Define.
30778 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30779 (FP_TRAPPING_EXCEPTIONS): Define.
30780 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30781 subnormals only when inexact has been signalled or underflow
30782 exceptions are enabled.
30783 (_FP_PACK_CANONICAL): Likewise.
30784
d5c90867
L
307852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30786
30787 [BZ #14183]
30788 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30789 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30790
63f1549e
RH
307912012-05-30 Richard Henderson <rth@twiddle.net>
30792
8d8f2279
RH
30793 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30794 with #ifndef NOT_IN_libc.
30795
63f1549e
RH
30796 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30797 marked to avoid plt entry.
30798
0ab0291b
L
307992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30800
30801 [BZ #14112]
30802 * Makeconfig (default-abi): New macro.
30803 (abi-includes): Likewise.
30804 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30805 $(abi-$(default-abi)-lib-soname) for soname if defined.
30806 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30807 abi-variants.
30808 * Makefile (installed-stubs): Likewise.
30809 * include/stubs-biarch.h: Removed.
30810 * scripts/lib-names.awk: Only handle one library at a time.
30811 * scripts/soversions.awk: Remove WORDSIZE support.
30812 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30813 entries.
30814 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30815 Removed.
30816 (syscall-list-default-condition): Likewise.
30817 (syscall-list-default-condition): Likewise.
30818 (syscall-list-includes): Likewise.
30819 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30820 syscall-list-* with abi-*. Handle undefined abi-variants.
30821 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30822 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30823 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30824 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30825 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30826 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30827 Removed.
30828 (syscall-list-32-options): Likewise.
30829 (syscall-list-32-condition): Likewise.
30830 (syscall-list-64-options): Likewise.
30831 (syscall-list-64-condition): Likewise.
30832 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30833 macro.
30834 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30835 Renamed to ...
30836 (abi-*): This.
30837 (abi-64-ld-soname): New macro.
30838 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30839 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30840 Renamed to ...
30841 (abi-*): This.
30842 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30843 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30844
4da0431d
JM
308452012-05-30 Joseph Myers <joseph@codesourcery.com>
30846
3a85279c
JM
30847 * sysdeps/unix/sysv/linux/kernel-features.h
30848 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30849 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30850 include <kernel-features.h>.
30851 [!__NR_ftruncate64]: Remove conditional code.
30852 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30853 [__NR_ftruncate64]: Make code unconditional.
30854 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30855 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30856 include <kernel-features.h>.
30857 [!__NR_ftruncate64]: Remove conditional code.
30858 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30859 [__NR_ftruncate64]: Make code unconditional.
30860 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30862 include <kernel-features.h>.
30863 [!__NR_ftruncate64]: Remove conditional code.
30864 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30865 [__NR_ftruncate64]: Make code unconditional.
30866 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30868 include <kernel-features.h>.
30869 [!__NR_ftruncate64]: Remove conditional code.
30870 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30871 [__NR_ftruncate64]: Make code unconditional.
30872 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30873
4da0431d
JM
30874 * configure.in (libc_cv_fpie): Weaken to a compile test using
30875 LIBC_TRY_CC_OPTION.
30876 * configure: Regenerated.
30877
11ef492c
AK
308782012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30879
30880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30884 Refreshed.
30885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30891 Refreshed.
30892
d66ef399
DM
308932012-05-27 David S. Miller <davem@davemloft.net>
30894
30895 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30896 (___Q_zero): New.
30897 (__Q_simulate_exceptions): Return void. Change to simulate
30898 exceptions by writing into the %fsr.
30899 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30900 (__Qp_handle_exceptions): Likewise.
30901 (numbers): Delete.
30902 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30903 __Qp_handle_exceptions.
30904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30905 __Qp_handle_exceptions.
30906 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30907 as unused and give dummy FP_RND_NEAREST initializer.
30908 (FP_INHIBIT_RESULTS): Define.
30909 (___Q_simulate_exceptions): Update declaration.
30910 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30911 formatting.
30912 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30913 as unused and give dummy FP_RND_NEAREST initializer.
30914 (__Qp_handle_exceptions): Update declaration.
30915 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30916 formatting.
30917
04fb54b5
TS
309182012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30919
30920 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30921 the temporary FPU control word.
30922 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30923 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30924 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30925 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30926 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30927 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30928 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30929 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30930 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30931 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30932 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30933
3f99608f
KK
309342012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30935
30936 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30937 fields.
30938
65a4de4e
CLT
309392012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30940
30941 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30942 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30943 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30944 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30945 Likewise.
30946 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30947 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30948 Likewise.
30949
15749d40
UD
309502012-05-27 Ulrich Drepper <drepper@gmail.com>
30951
30952 * po/h.po: Update from translation team.
30953
25dbcb27
AS
309542012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30955
3d3f8e55
AS
30956 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30957
25dbcb27
AS
30958 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30959 handling of denormals.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30961 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30962 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30963 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30967 Likewise.
30968
7ad47a80 309692012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30970
30971 [BZ #14152]
30972 * math/libm-test.inc (fma_test): Don't always expect underflow
30973 exception.
30974
9c6ea9fa
SP
309752012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30976
30977 [BZ #12416]
30978 * elf/tst-execstack.c: Include stackinfo.h.
30979 (do_test): Adjust test case to ensure that pthread_getattr_np
30980 behaviour remains the same after marking stack executable.
30981
a8239222
JM
309822012-05-25 Joseph Myers <joseph@codesourcery.com>
30983
30984 * sysdeps/unix/sysv/linux/kernel-features.h
30985 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30986 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30987 kernel-features.h.
30988 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30989 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30990 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30991 kernel-features.h.
30992 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30993 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30994
918b5606
L
309952012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30996
30997 * configure.in: Define the default includes to being none.
30998 * configure: Regenerated.
30999
3a097cc7
RM
310002012-05-25 Roland McGrath <roland@hack.frob.com>
31001
8422c9a5
RM
31002 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31003 * sysdeps/x86_64/setjmp.S: Likewise.
31004 * sysdeps/i386/bsd-setjmp.S: Likewise.
31005 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31006 * sysdeps/i386/setjmp.S: Likewise.
31007 * sysdeps/i386/__longjmp.S: Likewise.
31008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31009 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31010
3a097cc7
RM
31011 * include/stap-probe.h: New file.
31012 * configure.in: Handle --enable-systemtap.
31013 * configure: Regenerated.
31014 * config.h.in (USE_STAP_PROBE): New #undef.
31015 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31016 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31017 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31018
21708942
JM
310192012-05-25 Joseph Myers <joseph@codesourcery.com>
31020
31021 [BZ #13717]
31022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31023 to 2.4.0 where earlier.
31024 * sysdeps/unix/sysv/linux/configure: Regenerated.
31025 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31026 <kernel-features.h>.
31027 [__ASSUME_32BITUIDS]: Make code unconditional.
31028 [!__ASSUME_32BITUIDS]: Remove conditional code.
31029 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31030 <kernel-features.h>.
31031 [__ASSUME_32BITUIDS]: Make code unconditional.
31032 [!__ASSUME_32BITUIDS]: Remove conditional code.
31033 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31034 [__ASSUME_32BITUIDS]: Make code unconditional.
31035 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31036 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31037 <kernel-features.h>.
31038 [__ASSUME_32BITUIDS]: Make code unconditional.
31039 [!__ASSUME_32BITUIDS]: Remove conditional code.
31040 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31041 <kernel-features.h>.
31042 [__ASSUME_32BITUIDS]: Make code unconditional.
31043 [!__ASSUME_32BITUIDS]: Remove conditional code.
31044 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31045 <kernel-features.h>.
31046 [__ASSUME_32BITUIDS]: Make code unconditional.
31047 [!__ASSUME_32BITUIDS]: Remove conditional code.
31048 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31049 <kernel-features.h>.
31050 [__ASSUME_32BITUIDS]: Make code unconditional.
31051 [!__ASSUME_32BITUIDS]: Remove conditional code.
31052 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31053 <kernel-features.h>.
31054 [__ASSUME_32BITUIDS]: Make code unconditional.
31055 [!__ASSUME_32BITUIDS]: Remove conditional code.
31056 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31057 <kernel-features.h>.
31058 [__ASSUME_32BITUIDS]: Make code unconditional.
31059 [!__ASSUME_32BITUIDS]: Remove conditional code.
31060 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31061 <kernel-features.h>.
31062 [__ASSUME_32BITUIDS]: Make code unconditional.
31063 [!__ASSUME_32BITUIDS]: Remove conditional code.
31064 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31065 <kernel-features.h>.
31066 [__ASSUME_32BITUIDS]: Make code unconditional.
31067 [!__ASSUME_32BITUIDS]: Remove conditional code.
31068 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31069 <kernel-features.h>.
31070 [__ASSUME_32BITUIDS]: Make code unconditional.
31071 [!__ASSUME_32BITUIDS]: Remove conditional code.
31072 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31073 <kernel-features.h>.
31074 [__ASSUME_32BITUIDS]: Make code unconditional.
31075 [!__ASSUME_32BITUIDS]: Remove conditional code.
31076 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31077 <kernel-features.h>.
31078 [__NR_setresgid] (__setresgid): Do not declare.
31079 [__ASSUME_32BITUIDS]: Make code unconditional.
31080 [!__ASSUME_32BITUIDS]: Remove conditional code.
31081 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31082 <kernel-features.h>.
31083 [__NR_setresuid] (__setresuid): Do not declare.
31084 [__ASSUME_32BITUIDS]: Make code unconditional.
31085 [!__ASSUME_32BITUIDS]: Remove conditional code.
31086 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31087 <kernel-features.h>.
31088 [__ASSUME_32BITUIDS]: Make code unconditional.
31089 [!__ASSUME_32BITUIDS]: Remove conditional code.
31090 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31091 <kernel-features.h>.
31092 [__ASSUME_32BITUIDS]: Make code unconditional.
31093 [!__ASSUME_32BITUIDS]: Remove conditional code.
31094 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31095 <kernel-features.h>.
31096 [__ASSUME_32BITUIDS]: Make code unconditional.
31097 [!__ASSUME_32BITUIDS]: Remove conditional code.
31098 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31099 <kernel-features.h>.
31100 [__ASSUME_32BITUIDS]: Make code unconditional.
31101 [!__ASSUME_32BITUIDS]: Remove conditional code.
31102 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31103 <kernel-features.h>.
31104 [__ASSUME_32BITUIDS]: Make code unconditional.
31105 [!__ASSUME_32BITUIDS]: Remove conditional code.
31106 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31107 <kernel-features.h>.
31108 [__ASSUME_32BITUIDS]: Make code unconditional.
31109 [!__ASSUME_32BITUIDS]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31111 <kernel-features.h>.
31112 [__ASSUME_32BITUIDS]: Make code unconditional.
31113 [!__ASSUME_32BITUIDS]: Remove conditional code.
31114 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31115 <kernel-features.h>.
31116 [__ASSUME_32BITUIDS]: Make code unconditional.
31117 [!__ASSUME_32BITUIDS]: Remove conditional code.
31118 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31119 <kernel-features.h>.
31120 [__ASSUME_32BITUIDS]: Make code unconditional.
31121 [!__ASSUME_32BITUIDS]: Remove conditional code.
31122 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31123 <kernel-features.h>.
31124 [__ASSUME_32BITUIDS]: Make code unconditional.
31125 [!__ASSUME_32BITUIDS]: Remove conditional code.
31126 * sysdeps/unix/sysv/linux/kernel-features.h
31127 (__ASSUME_SETRESUID_SYSCALL): Remove.
31128 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31129 (__ASSUME_32BITUIDS): Likewise.
31130 (__ASSUME_LDT_WORKS): Likewise.
31131 (__ASSUME_O_DIRECTORY): Likewise.
31132 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31133 architecture but not kernel version.
31134 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31135 (__ASSUME_MMAP2_SYSCALL): Likewise.
31136 (__ASSUME_STAT64_SYSCALL): Likewise.
31137 (__ASSUME_IPC64): Likewise.
31138 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31139 <kernel-features.h>.
31140 [__ASSUME_32BITUIDS]: Make code unconditional.
31141 [!__ASSUME_32BITUIDS]: Remove conditional code.
31142 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31143 <kernel-features.h>.
31144 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31145 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31146 132096]: Remove conditional code.
31147 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31148 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31149 <kernel-features.h>.
31150 [__ASSUME_32BITUIDS]: Make code unconditional.
31151 [!__ASSUME_32BITUIDS]: Remove conditional code.
31152 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31153 <kernel-features.h>.
31154 [__ASSUME_32BITUIDS]: Make code unconditional.
31155 [!__ASSUME_32BITUIDS]: Remove conditional code.
31156 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31157 <kernel-features.h>.
31158 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31159 unconditional.
31160 (__setresgid): Do not declare.
31161 [__ASSUME_32BITUIDS]: Make code unconditional.
31162 [!__ASSUME_32BITUIDS]: Remove conditional code.
31163 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31164 <kernel-features.h>.
31165 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31166 unconditional.
31167 (__setresuid): Do not declare.
31168 [__ASSUME_32BITUIDS]: Make code unconditional.
31169 [!__ASSUME_32BITUIDS]: Remove conditional code.
31170 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31171 <kernel-features.h>.
31172 [__ASSUME_32BITUIDS]: Make code unconditional.
31173 [!__ASSUME_32BITUIDS]: Remove conditional code.
31174 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31175 <kernel-features.h>.
31176 [__ASSUME_32BITUIDS]: Make code unconditional.
31177 [!__ASSUME_32BITUIDS]: Remove conditional code.
31178
a386f1cc
RH
311792012-05-25 Richard Henderson <rth@twiddle.net>
31180
31181 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31182 dl_hwcap to ifunc resolver.
31183 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31184 elf_ifunc_invoke.
31185 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31186 dl_hwcap to ifunc resolver.
31187 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31188
b6550497
JM
311892012-05-24 Joseph Myers <joseph@codesourcery.com>
31190
31191 [BZ #14153]
31192 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31193 for |x| <= 2**-26, not 2**-57.
31194 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31195 exception.
31196
b0bc23a1
JL
311972012-05-24 Jeff Law <law@redhat.com>
31198
31199 * stdio-common/Makefile (tests): Add bug25.
31200 * stdio-common/bug25.c: New test.
31201
347c92e9
L
312022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31203
31204 [BZ #13576]
31205 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31206 multiple of MALLOC_ALIGNMENT in size.
31207 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31208
6bcc8b3f
JM
312092012-05-24 Joseph Myers <joseph@codesourcery.com>
31210
31211 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31212 Require >= 256.
31213 (FILENAME_MAX): Use macro-int-constant.
31214 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31215 (_IOFBF): Use macro-int-constant.
31216 (_IOLBF): Likewise.
31217 (_IONBF): Likewise.
31218 (SEEK_CUR): Likewise.
31219 (SEEK_END): Likewise.
31220 (SEEK_SET): Likewise.
31221 (TMP_MAX): Likewise.
31222 (EOF): Use macro-int-constant. Require < 0.
31223 (NULL): Use macro-constant. Require == 0.
31224 (stdin): Require type to be FILE *.
31225 (stdout): Likewise.
31226 (stderr): Likewise.
31227 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31228 macro-int-constant.
31229 (EXIT_SUCCESS): Likewise.
31230 (NULL): Use macro-constant. Require == 0.
31231 (RAND_MAX): Use macro-int-constant.
31232 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31233 [C99-based standards] (strtof): Require function.
31234 [C99-based standards] (strtold): Likewise.
31235 [C99-based standards] (strtoll): Likewise.
31236 [C99-based standards] (strtoull): Likewise.
31237 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31238 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31239 [ISO || ISO99 || ISO11] (math.h): Likewise.
31240 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31241 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31243
d18ea0c5
AS
312442012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31245
31246 [BZ #14132]
56d25bb8
AS
31247 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31248 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31249 * intl/dgettext.c (DCGETTEXT): Likewise.
31250 * intl/gettext.c (DCGETTEXT): Likewise.
31251 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31252 * posix/regex_internal.h (gettext): Likewise.
31253 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31254 Remove declaration.
31255 * include/argz.h (__argz_count_internal)
31256 (__argz_stringify_internal): Remove declaration.
31257 (__argz_count, __argz_stringify): Declare hidden proto.
31258 * intl/dcgettext.c: Remove use of INTDEF.
31259 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31260 * string/argz-stringify.c: Likewise.
31261 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31262 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31263 Declare hidden proto.
d18ea0c5
AS
31264 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31265 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31266 Declare hidden proto.
31267 * include/stdio.h (__asprintf_internal): Don't declare.
31268 (__asprintf): Don't define as macro. Declare hidden proto.
31269 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31270 (__fsetlocking): Declare hidden proto.
31271 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31272 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31273 hidden proto.
31274 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31275 (_IO_setlinebuf): Remove use of INTUSE.
31276 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31277 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31278 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31279 Remove declaration.
31280 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31281 (_IO_do_flush): Remove use of INTUSE.
31282 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31283 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31284 (_IO_adjust_column, _IO_least_wmarker)
31285 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31286 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31287 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31288 (_IO_default_doallocate, _IO_wdefault_doallocate)
31289 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31290 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31291 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31292 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31293 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31294 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31295 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31296 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31297 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31298 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31299 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31300 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31301 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31302 proto.
31303 (_IO_flush_all_internal, _IO_adjust_column_internal)
31304 (_IO_default_uflow_internal, _IO_default_finish_internal)
31305 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31306 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31307 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31308 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31309 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31310 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31311 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31312 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31313 (_IO_file_close_internal, _IO_file_close_it_internal)
31314 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31315 (_IO_file_init_internal, _IO_file_attach_internal)
31316 (_IO_file_fopen_internal, _IO_file_read_internal)
31317 (_IO_file_sync_internal, _IO_file_seek_internal)
31318 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31319 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31320 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31321 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31322 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31323 (_IO_list_all_internal, _IO_link_in_internal)
31324 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31325 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31326 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31327 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31328 (_IO_do_write_internal, _IO_padn_internal)
31329 (_IO_getline_info_internal, _IO_getline_internal)
31330 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31331 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31332 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31333 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31334 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31335 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31336 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31337 with libc_hidden_ver, remove use of INTUSE.
31338 * libio/genops.c: Likewise.
31339 * libio/freopen.c: Likewise.
31340 * libio/freopen64.c: Likewise.
31341 * libio/iofclose.c: Likewise.
31342 * libio/iofdopen.c: Likewise.
31343 * libio/iofflush.c: Likewise.
31344 * libio/iofflush_u.c: Likewise.
31345 * libio/iofgets.c: Likewise.
31346 * libio/iofgets_u.c: Likewise.
31347 * libio/iofopen.c: Likewise.
31348 * libio/iofopncook.c: Likewise.
31349 * libio/iofread.c: Likewise.
31350 * libio/iofread_u.c: Likewise.
31351 * libio/ioftell.c: Likewise.
31352 * libio/iofwrite.c: Likewise.
31353 * libio/iogetline.c: Likewise.
31354 * libio/iogets.c: Likewise.
31355 * libio/iogetwline.c: Likewise.
31356 * libio/iopadn.c: Likewise.
31357 * libio/iopopen.c: Likewise.
31358 * libio/ioseekoff.c: Likewise.
31359 * libio/ioseekpos.c: Likewise.
31360 * libio/iosetbuffer.c: Likewise.
31361 * libio/iosetvbuf.c: Likewise.
31362 * libio/ioungetc.c: Likewise.
31363 * libio/ioungetwc.c: Likewise.
31364 * libio/iovdprintf.c: Likewise.
31365 * libio/iovsprintf.c: Likewise.
31366 * libio/iovsscanf.c: Likewise.
31367 * libio/memstream.c: Likewise.
31368 * libio/obprintf.c: Likewise.
31369 * libio/oldfileops.c: Likewise.
31370 * libio/oldiofclose.c: Likewise.
31371 * libio/oldiofdopen.c: Likewise.
31372 * libio/oldiofopen.c: Likewise.
31373 * libio/oldiopopen.c: Likewise.
31374 * libio/oldstdfiles.c: Likewise.
31375 * libio/putc.c: Likewise.
31376 * libio/setbuf.c: Likewise.
31377 * libio/setlinebuf.c: Likewise.
31378 * libio/stdfiles.c: Likewise.
31379 * libio/strops.c: Likewise.
31380 * libio/vasprintf.c: Likewise.
31381 * libio/vscanf.c: Likewise.
31382 * libio/vsnprintf.c: Likewise.
31383 * libio/vswprintf.c: Likewise.
31384 * libio/wfiledoalloc.c: Likewise.
31385 * libio/wfileops.c: Likewise.
31386 * libio/wgenops.c: Likewise.
31387 * libio/wmemstream.c: Likewise.
31388 * libio/wstrops.c: Likewise.
31389 * libio/__fpurge.c: Likewise.
31390 * libio/__fsetlocking.c: Likewise.
31391 * assert/assert.c: Likewise.
31392 * debug/fgets_chk.c: Likewise.
31393 * debug/fgets_u_chk.c: Likewise.
31394 * debug/fread_chk.c: Likewise.
31395 * debug/fread_u_chk.c: Likewise.
31396 * debug/gets_chk.c: Likewise.
31397 * debug/obprintf_chk.c: Likewise.
31398 * debug/vasprintf_chk.c: Likewise.
31399 * debug/vdprintf_chk.c: Likewise.
31400 * debug/vsnprintf_chk.c: Likewise.
31401 * debug/vsprintf_chk.c: Likewise.
31402 * malloc/mtrace.c: Likewise.
31403 * misc/error.c: Likewise.
31404 * misc/syslog.c: Likewise.
31405 * stdio-common/asprintf.c: Likewise.
31406 * stdio-common/fxprintf.c: Likewise.
31407 * stdio-common/getw.c: Likewise.
31408 * stdio-common/isoc99_fscanf.c: Likewise.
31409 * stdio-common/isoc99_scanf.c: Likewise.
31410 * stdio-common/isoc99_vfscanf.c: Likewise.
31411 * stdio-common/isoc99_vscanf.c: Likewise.
31412 * stdio-common/isoc99_vsscanf.c: Likewise.
31413 * stdio-common/printf-prs.c: Likewise.
31414 * stdio-common/printf_fp.c: Likewise.
31415 * stdio-common/printf_fphex.c: Likewise.
31416 * stdio-common/printf_size.c: Likewise.
31417 * stdio-common/putw.c: Likewise.
31418 * stdio-common/scanf.c: Likewise.
31419 * stdio-common/sprintf.c: Likewise.
31420 * stdio-common/tmpfile.c: Likewise.
31421 * stdio-common/vfprintf.c: Likewise.
31422 * stdio-common/vfscanf.c: Likewise.
31423 * stdlib/strfmon_l.c: Likewise.
31424 * sunrpc/openchild.c: Likewise.
31425 * sunrpc/xdr_stdio.c: Likewise.
31426 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31427 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31428
d6c33fda
RM
314292012-05-24 Roland McGrath <roland@hack.frob.com>
31430
c1487492
RM
31431 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31432
31433 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31434 in the third column, to generate for the shared library an IFUNC
31435 that uses _dl_vdso_vsym.
31436 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31437 * Makeconfig (object-suffixes-noshared): New variable.
31438
31439 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31440 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31441 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31442 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31443
d6c33fda
RM
31444 [BZ #14132]
31445 * include/sys/time.h (__gettimeofday): Remove macro.
31446 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31447 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31448 Remove INTDEF.
31449 (__gettimeofday): Add libc_hidden_def.
31450 (gettimeofday): Add libc_hidden_weak.
31451 * sysdeps/mach/gettimeofday.c: Likewise.
31452 * sysdeps/posix/gettimeofday.c: Likewise.
31453 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31454 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31456 (__gettimeofday_internal): Remove strong_alias.
31457 (__gettimeofday): Add libc_hidden_def.
31458 (gettimeofday): Add libc_hidden_weak.
31459 * sysdeps/unix/syscalls.list (gettimeofday):
31460 Remove __gettimeofday_internal alias.
31461
b5a2bbe6
L
314622012-05-24 Daniel Jacobowitz <drow@false.org>
31463 H.J. Lu <hongjiu.lu@intel.com>
31464
31465 [BZ #12495]
31466 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31467 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31468 (largebin_index_32_big): New.
31469 (largebin_index): Use it for 16-byte alignment.
31470 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31471 correction with front_misalign.
31472
cfba4fda
L
314732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31474
7f907421
L
31475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31477 Likewise.
31478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31479 Likewise.
31480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31481 Likewise.
31482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31483 Likewise.
31484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31485 Likewise.
31486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31487 Likewise.
31488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31489 Likewise.
31490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31491 Likewise.
31492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31493 Likewise.
31494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31495 Likewise.
31496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31497 Likewise.
31498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31499 Likewise.
31500
cfba4fda
L
31501 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31502 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31503
80bad0cc
JM
315042012-05-24 Joseph Myers <joseph@codesourcery.com>
31505
7a25eb06
JM
31506 [BZ #10846]
31507 [BZ #14036]
31508 * math/libm-test.inc (exp_test): Add test from bug 14036.
31509 (pow_test): Add test from bug 10846.
31510
795405f9
JM
31511 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31512 and other flags.
31513 (special_function): Do not include flags in test name.
31514 (parse_args): Likewise.
31515 * sysdeps/i386/fpu/libm-test-ulps: Update.
31516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31517 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31518 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31520
80bad0cc
JM
31521 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31522 exceptions.
31523 * math/libm-test.inc ("Philosophy"): Update comment about
31524 exception testing.
31525 (UNDERFLOW_EXCEPTION): New macro.
31526 (UNDERFLOW_EXCEPTION_OK): Likewise.
31527 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31528 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31529 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31530 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31531 (INVALID_EXCEPTION_OK): Update value.
31532 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31533 (OVERFLOW_EXCEPTION_OK): Likewise.
31534 (IGNORE_ZERO_INF_SIGN): Likewise.
31535 (test_exceptions): Handle underflow exceptions.
31536 (acos_test): Update for underflow exception expectations.
31537 (cexp_test): Likewise.
31538 (clog_test): Likewise.
31539 (clog10_test): Likewise.
31540 (csqrt_test): Likewise.
31541 (ctan_test): Likewise.
31542 (ctanh_test): Likewise.
31543 (exp_test): Likewise.
31544 (exp10_test): Likewise.
31545 (exp2_test): Likewise.
31546 (expm1_test): Likewise.
31547 (fma_test): Likewise.
31548 (j0_test): Likewise.
31549 (jn_test): Likewise.
31550 (nexttoward_test): Likewise.
31551 (pow_test): Likewise.
31552 (scalbn_test): Likewise.
31553 (scalbln_test): Likewise.
31554 (tan_test): Likewise.
31555 (y1_test): Likewise.
31556 * sysdeps/i386/fpu/libm-test-ulps: Update.
31557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31558
9e0e3d0b
DM
315592012-05-23 David S. Miller <davem@davemloft.net>
31560
31561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31562 (__libc_sigaction): Remove unused local variables.
31563
ccd0a08f
L
315642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31565
31566 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31567
62bdf9a6
PE
315682012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31569
f8591f80
PE
31570 mktime: avoid signed integer overflow
31571 * time/mktime.c (__mktime_internal): Do not mishandle the case
31572 where diff == INT_MIN.
31573
94c7d826
PE
31574 mktime: simplify computation of average
31575 * time/mktime.c (ranged_convert): Use new time_t_avg function
31576 instead of rolling our own (probably-slower) code.
31577
ce73d683
PE
31578 mktime: do not assume signed right shift propagates sign bit
31579 * time/mktime.c (isdst_differ): New static function.
31580 (__mktime_internal): No need to normalize tm_isdst now.
31581 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31582 tm_isdst values.
31583
72a22e59
PE
31584 mktime: merge another wrapv change from gnulib
31585 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31586 from some compilers.
31587
68605433
PE
31588 mktime: remove incorrect attempt at unusual arithmetics
31589 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31590 The code didn't really work on such machines anyway.
31591 (TYPE_MINIMUM): Assume two's complement.
31592 (twos_complement_arithmetic): Verify that long_int and time_t
31593 are two's complement (or unsigned, in the latter case).
31594
03cf7fe3
PE
31595 mktime: check signed shifts on long_int and time_t, too
31596 * time/mktime.c (SHR): Check that shifts work as desired
31597 on the types long_int and time_t too, as SHR is used on
31598 such types.
31599
f04dfbc2
PE
31600 mktime: do not assume 'long' is wide enough
31601 * time/mktime.c (verify): Move decl up.
31602 (long_int): New type.
31603 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31604 to remove assumption in the code that 'long' is wide enough to
31605 store year values. This assumption is not true on x32 and on
31606 some non-glibc platforms.
31607
62bdf9a6
PE
31608 mktime: merge wrapv change from gnulib
31609 * time/mktime.c (WRAPV): New macro.
31610 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31611 (guess_time_tm, __mktime_internal): Do not assume that signed
31612 integer overflow wraps around; modern compilers generate code
31613 where this assumption is no longer valid.
31614
5e292e4f
L
316152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31616
31617 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31618 Replace "jmp L(pseudo_end)" with "ret".
31619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31620 Likewise.
31621
8caf8c87
AJ
316222012-05-23 Andreas Jaeger <aj@suse.de>
31623
31624 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31625 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31626
1a09dc56
AJ
316272012-05-23 Andreas Jaeger <aj@suse.de>
31628 Maximilian Attems <max@stro.at>
31629
31630 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31631 New macros.
31632
1c87aba0
L
316332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31634
31635 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31636 code so that pseudo_end is just ret and the stack pointer is
31637 correct also for static library in error case.
31638
40e45bd5
JM
316392012-05-23 Joseph Myers <joseph@codesourcery.com>
31640
c2670533
JM
31641 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31642 move to syscalls.list.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31647
40e45bd5
JM
31648 * manual/install.texi (Running make install): Do not mention Linux
31649 kernel version for which pt_chown is not needed.
31650 (Linux): Do not mention problems with nscd with 2.0 kernels.
31651 * INSTALL: Regenerated.
31652
be08eda5
AJ
316532012-05-23 Andreas Jaeger <aj@suse.de>
31654
31655 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31656 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31657 macro.
31658 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31659 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31660 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31661 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31662 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31663 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31665 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31666 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31667 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31668 * sysdeps/unix/sysv/linux/bits/in.h
31669 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31670
a6a056bb
RM
316712012-05-22 Roland McGrath <roland@hack.frob.com>
31672
31673 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31674 (PREPARE_VERSION): Just use assert instead, it will be elided
31675 under [NDEBUG] anyway.
31676
c9009328
L
316772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31678
31679 * sysdeps/unix/sysv/linux/Makefile: Include
31680 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31681 (sysdep_routines): Remove sysctl.
c9009328
L
31682 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31683 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31684 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31685 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31686 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31687
73338355
AJ
316882012-05-22 Andreas Jaeger <aj@suse.de>
31689
31690 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31691 that pseudo_end is just ret and the stack pointer is correct also
31692 for static library in error case.
31693
d44638b0
PP
316942012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31695
31696 [BZ #14122]
31697 * nss/nsswitch.c (defconfig_entries): New variable.
31698 (__nss_database_lookup): Don't leak defconfig entries.
31699 (nss_parse_service_list): Don't leak on error paths.
31700 (free_database_entries): New function.
31701 (free_defconfig): New function.
31702 (free_mem): Move common code to free_database_entries.
31703
31a39bd8
L
317042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31705
da0331a8
L
31706 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31707 Add arch_prctl.
31708 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31709
31a39bd8
L
31710 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31711 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31713 New macro.
31714 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31715 (INTERNAL_SYSCALL_TYPES): Likewise.
31716 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31717 (LOAD_REGS_TYPES_[1-6]): Likewise.
31718 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31719 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31720
45470df3
AZ
317212012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31722
31723 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31724 copysignl for GLIBC_2_0.
31725 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31726 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31728 logbl for GLIBC_2_0.
31729 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31730 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31731
98a61bcb
L
317322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31733
a4f6e481
L
31734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31735 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31736
f63d5db6
L
31737 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31738 Use "neg %eax".
31739
98a61bcb
L
31740 * time/mktime.c: Update copyright years.
31741
95770f14
PE
317422012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31743
6226efbd
PE
31744 mktime: merge comment-quoting-style change from gnulib
31745 * time/mktime.c: Quote 'like this' in comments.
31746 The GNU coding standards suggest that we no longer quote `like this',
31747 as "`" and "'" are typically rendered asymmetrically nowadays.
31748 The typical gnulib style is to quote 'like this' when quoting
31749 code, and "like this" when quoting English.
31750
b99e4f78
PE
31751 * time/mktime.c (compile-command): Add "-I.".
31752
643e01e6
PE
31753 mktime: merge mktime-internal.h change from gnulib
31754 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31755
2554247d
PE
31756 mktime: merge time_r change from gnulib
31757 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31758
826dd0ab
PE
31759 mktime: merge DEBUG change from gnulib
31760 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31761 case system <time.h> has a #define.
31762
bd83aabe
PE
31763 mktime: merge <sys/types.h> change from gnulib
31764 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31765 since <time.t> is now guaranteed to define time_t.
31766
95770f14
PE
31767 mktime: merge HAVE_CONFIG_H change from gnulib
31768 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31769
5e1a27a9
L
317702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31771
0e44a77e
L
31772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31773 Use "neg %eax".
31774
5e1a27a9
L
31775 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31776 __rlim_t cast.
31777 (struct rusage): Use anonymous union to pad each field to
31778 __syscall_slong_t.
31779
46259bec
DM
317802012-05-21 David S. Miller <davem@davemloft.net>
31781
31782 * Makefules (o-iterator): Remove .s cases.
31783 (compile-command.s): Delete.
31784 (COMPILE.s): Delete.
31785 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31786
59f0c22e
JM
317872012-05-21 Joseph Myers <joseph@codesourcery.com>
31788
31789 * configure.in (libc_cv_predef_stack_protector): Only consider
31790 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31791 * configure: Regenerated.
31792
20c07380
L
317932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31794
bbb3154b
L
31795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31796 New macro. Use R*LP on int and pointer.
31797 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31798 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31799 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31800 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31801
20c07380
L
31802 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31803 [__WORDSIZE_TIME64_COMPAT32] instead of
31804 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31805 (struct utmp): Likewise.
31806 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31807 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31808 Renamed to ...
31809 (__WORDSIZE_TIME64_COMPAT32): This.
31810 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31811 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31812 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31813 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31814 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31815 (__WORDSIZE_TIME64_COMPAT32): New macro.
31816
d8d1017e
AJ
318172012-05-21 Andreas Jaeger <aj@suse.de>
31818
31819 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31820 only if [SHARED]. Add prototype for __wcschr_ia32.
31821
6c7fb145
RM
318222012-05-21 Roland McGrath <roland@hack.frob.com>
31823
31824 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31825 of %rbp unmolested in the jmp_buf while mangling the low bits.
31826 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31827 unmolested high bits of %rbp while demangling the low bits.
31828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31829
66274218
AJ
318302012-05-21 Andreas Jaeger <aj@suse.de>
31831
07c58f8f
AJ
31832 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31833 * sunrpc/svc_simple.c: Use it for registerrpc.
31834 * sunrpc/xcrypt.c: Use it for passwd2des.
31835
66274218
AJ
31836 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31837
61f65140
L
318382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31839
31840 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31841 Don't define if [__SYSCALL_WORDSIZE != 32].
31842 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31843 New macro.
31844
5fefb436
AJ
318452012-05-21 Bruno Haible <bruno@clisp.org>
31846 Andreas Jaeger <aj@suse.de>
31847
31848 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31849 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31850 inptr and inend for must_buffer_ch.
31851 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31852 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31853 * stdio-common/Makefile (tests): Remove bug15.
31854 (bug15-ENV): Remove macro.
31855 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31856 anymore.
31857
d8e272ab
AJ
318582012-05-19 Andreas Jaeger <aj@suse.de>
31859 Roland McGrath <roland@hack.frob.com>
31860
31861 * manual/contrib.texi: Completely rewritten. It contains now an
31862 alphabetical list of contributors and their contributions.
31863
4a56a162
RH
318642012-05-21 Richard Henderson <rth@twiddle.net>
31865
31866 * misc/getauxval.c (__getauxval): Use unsigned long int.
31867 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31868 (getauxval): Use unsigned long int.
31869
d024d23c
L
318702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31871
31872 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31873
cbc00a03
RM
318742012-05-21 Roland McGrath <roland@hack.frob.com>
31875
31876 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31877 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31878 __alignof__ (long double).
31879
478143fa
AZ
318802012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31881
31882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31883
c7683a6d
RH
318842012-05-20 Richard Henderson <rth@twiddle.net>
31885
31886 * misc/getauxval.c: New file.
31887 * misc/sys/auxv.h: New file.
31888 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31889 (routines): Add getauxval.
31890 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31891 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31892 * elf/dl-sysdep.c (_dl_auxv): Remove.
31893 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31894 * elf/dl-support.c (_dl_auxv): New variable.
31895 (_dl_aux_init): Initialize it.
31896 * manual/startup.texi (Auxiliary Vector): New node.
31897 * sysdeps/generic/bits/hwcap.h: New file.
31898 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31899 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31900 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31901 * sysdeps/sparc/sysdep.h: ... here. Include it.
31902 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31905 Update.
c7683a6d
RH
31906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31914
a6f1845d
AZ
319152012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31916
31917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31918
cbcbe830
DM
319192012-05-19 David S. Miller <davem@davemloft.net>
31920
31921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31922
e0b16cc2
JM
319232012-05-19 Joseph Myers <joseph@codesourcery.com>
31924
31925 [BZ #14123]
31926 * math/s_ccosh.c: Include <float.h>
31927 (__ccosh): Avoid internal overflow calculating sinh and cosh
31928 values before multiplying by sin and cos values.
31929 * math/s_ccoshf.c: Likewise.
31930 * math/s_ccoshl.c: Likewise.
31931 * math/s_csin.c: Likewise.
31932 * math/s_csinf.c: Likewise.
31933 * math/s_csinl.c: Likewise.
31934 * math/s_csinh.c: Likewise.
31935 * math/s_csinhf.c: Likewise.
31936 * math/s_csinhl.c: Likewise.
31937 * math/libm-test.inc (ccos_test): Add more tests.
31938 (ccosh_test): Likewise.
31939 (csin_test): Likewise.
31940 (csinh_test): Likewise.
31941 * sysdeps/i386/fpu/libm-test-ulps: Update.
31942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31943
6ad13e08
L
319442012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31945
f66f0ce8
L
31946 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31947 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31948
6ad13e08
L
31949 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31950
b1d072a7
JM
319512012-05-19 Joseph Myers <joseph@codesourcery.com>
31952
31953 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31954 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31955 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31956 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31957 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31958 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31959 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31960 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31961 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31962 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31963 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31964 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31965 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31966 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31967 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31968 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31969 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31970 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31971 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31972 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31973 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31974 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31975 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31976 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31977 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31978 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31979 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31980 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31981 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31982 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31983 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31984
9eae47cb
AJ
319852012-05-18 Andreas Jaeger <aj@suse.de>
31986
31987 * csu/.gitignore: Delete.
31988
bb07f69f
L
319892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31990
31991 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31992 (timex): Use __syscall_slong_t.
31993
e6bdb741
AJ
319942012-05-18 Andreas Jaeger <aj@suse.de>
31995 Carlos O'Donell <carlos_odonell@mentor.com>
31996
31997 * manual/install.texi (Configuring and compiling): Update
31998 description about files modified in the source directory.
d6c33fda 31999 * INSTALL: Regenerated.
e6bdb741 32000
1b74487e
L
320012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32002
32003 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32004 value. Use "or" to set return value to -1.
32005 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32006 negate return value.
32007
a88b64b9
TMQMF
320082012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32009
57f41c40
AS
32010 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32011 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
32012 failure if the compiler has Graphite support disabled.
32013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32014 Likewise.
57f41c40
AS
32015 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32016 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
32017 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32018 Likewise.
32019
3707636e
L
320202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32021
610b8622
L
32022 * sysdeps/x86_64/x32/_itoa.h: New file.
32023
7cd195df
L
32024 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32025 getdents system call only if kernel and user dirents have the
32026 same d_ino and d_off.
32027
94b07d20
L
32028 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32029 LLONG_MAX != LONG_MAX.
32030 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32031 (_fitoa_word): Likewise.
32032
18298070
L
32033 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32034 years.
32035 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32036 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32037 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32038
553c7ea4
L
32039 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32040 include <bits/wordsize.h>. Check __x86_64__ instead of
32041 __WORDSIZE.
32042 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32043 if __x86_64__ is defined. Use anonymous union on fpstate.
32044
3707636e
L
32045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32046 anonymous union.
32047
b53ef01a
AS
320482012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32049
37fb1dc0
AS
32050 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32051 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32052 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32053 Refer to _rtld_local_ro instead of _rtld_global_ro.
32054 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32055 Likewise.
32056 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32057 Likewise.
32058 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32059 Likewise.
32060 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32061 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32062 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32063
b53ef01a
AS
32064 * sysdeps/powerpc/powerpc32/dl-machine.c
32065 (__elf_machine_runtime_setup) [PROF]: Don't reference
32066 _dl_prof_resolve.
32067
7a185db2
AJ
320682012-05-18 Andreas Jaeger <aj@suse.de>
32069
32070 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32071 function only available for GCCs before 3.4 since GCC 3.4
32072 introduced a builtin.
32073 (lrint): Likewise.
32074 (llrintf): Likewise.
32075 (llrint): Likewise.
32076 (fmaxf): Likewise.
32077 (fmax): Likewise.
32078 (fminf): Likewise.
32079 (fmin): Likewise.
32080 (rint): Likewise.
32081 (rintf): Likewise.
32082 (nearbyint): Likewise.
32083 (nearbyintf): Likewise.
32084 (ceil): Likewise.
32085 (ceilf): Likewise.
32086 (floor): Likewise.
32087 (floorf): Likewise.
32088
3e5aef87
L
320892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32090
428bd707
L
32091 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32092 on both fields and cast pointer to __syscall_ulong_t.
32093
3e5aef87
L
32094 * bits/types.h (__fsword_t): New type.
32095 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32096 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32098 (__FSWORD_T_TYPE): Likewise.
32099 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32100 (__FSWORD_T_TYPE): Likewise.
32101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32102 (__FSWORD_T_TYPE): Likewise.
32103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32104 (__FSWORD_T_TYPE): Likewise.
32105 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32106 __SWORD_TYPE with __fsword_t.
32107 (statfs64): Likewise.
32108
1ba7c3dc
DM
321092012-05-17 David S. Miller <davem@davemloft.net>
32110
32111 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32112
59910343
AJ
321132012-05-17 Andreas Jaeger <aj@suse.de>
32114
32115 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32116 warning.
32117
2e4c1e9e
L
321182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32119
32120 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32121
de7f5ce7
AJ
321222012-05-17 Andreas Jaeger <aj@suse.de>
32123
32124 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32125 when it is used.
32126
286abc3d
CM
321272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32128
32129 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32130
477cc68e
L
321312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32132
32133 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32134 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32135
1a0994f5
CD
321362012-05-17 Andreas Jaeger <aj@suse.de>
32137 Carlos O'Donell <carlos_odonell@mentor.com>
32138
32139 [BZ #14059]
32140 * sysdeps/x86_64/multiarch/init-arch.h
32141 (bit_YMM_Usable): Rename to...
32142 (bit_AVX_Usable): ... this.
32143 (bit_FMA4_Usable): New macro.
32144 (bit_XMM_state): New macro.
32145 (bit_YMM_state): New macro.
32146 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32147 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32148 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32149 (CPUID_OSXSAVE): New macro.
32150 (CPUID_AVX): New macro.
32151 (CPUID_FMA4): New macro.
32152 (index_YMM_Usable): Rename to...
32153 (index_AVX_Usable): ... this.
32154 (HAS_AVX): Use HAS_ARCH_FEATURE.
32155 (HAS_FMA4): Likewise.
32156 (HAS_YMM_USABLE): Remove.
32157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32158 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32159 are present.
32160 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32161 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32162 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32163 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32164 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32165
0af797de
CM
321662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32167
32168 * math/libm-test.c: Support platforms without multiple rounding modes.
32169 * math/bug-nextafter.c: Support platforms without FP exceptions.
32170 * math/bug-nexttoward.c: Likewise.
32171 * math/test-fenv.c: Likewise.
32172 * math/test-misc.c: Likewise.
32173 * stdlib/bug-getcontext.c: Likewise.
32174
e39745ff
AJ
321752012-05-17 Andreas Jaeger <aj@suse.de>
32176
32177 * manual/examples/search.c (critter_cmp): Change signature to
32178 avoid warnings.
32179 * manual/string.texi (Collation Functions): Likewise.
32180
48970aba
L
321812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32182
32183 * bits/types.h: Fold copyright years.
32184 * bits/typesizes.h: Likewise.
32185 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32189 * time/time.h: Likewise.
32190
bedee953
PP
321912012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32192
32193 [BZ #208]
32194 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32195 in instead of returning them. Return void.
32196 (__libc_mallinfo): Accumulate over all arenas.
32197 (__malloc_stats): Adjust for change in int_mallinfo interface.
32198
61653dfb
RM
321992012-05-16 Roland McGrath <roland@hack.frob.com>
32200
30b99d79
RM
32201 [BZ #10375]
32202 * configure.in (NM): Add AC_CHECK_TOOL for it.
32203 (libc_extra_cflags): New substituted variable.
32204 Check for -fstack-protector being used implicitly.
32205 * configure: Regenerated.
32206 * config.make.in (config-extra-cflags): New variable,
32207 gets @libc_extra_cflags@.
32208 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32209
61653dfb
RM
32210 [BZ #10375]
32211 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32212 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32213 * configure: Regenerated.
32214 * config.make.in (CPPUNDEFS): New substituted variable.
32215 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32216 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32217 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32218
661768bb
L
322192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32220
32221 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32222 (mq_attr): Use __syscall_slong_t.
32223
d4261567
L
322242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32225
32226 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32227 Check __x86_64__ instead of __WORDSIZE.
32228 (_STAT_VER_LINUX): Likewise.
32229 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32230 __syscall_ulong_t and __syscall_slong_t.
32231 (stat64): Likewise.
32232
cf3ff365
L
322332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32234
32235 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32236
76cf3e4d
L
322372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32238
32239 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32240
a637753a
L
322412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32242
32243 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32244 __syscall_ulong_t.
32245
d5e05119
L
32246 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32247 include <bits/wordsize.h>. Check __x86_64__ instead of
32248 __WORDSIZE.
32249 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32250 defined.
32251 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32252
f62ee380
L
32253 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32254 include <bits/wordsize.h>. Check __x86_64__ instead of
32255 __WORDSIZE.
32256 (user_regs_struct): Use "__extension__ unsigned long long"
32257 instead of "unsigned long" if __x86_64__ is defined.
32258 (user): Likewise. Pad after pointer field if __ILP32__ is
32259 defined.
32260
4e124ced
JM
322612012-05-16 Joseph Myers <joseph@codesourcery.com>
32262
6a3951a0
JM
32263 * configure.in (makeinfo): Require version 4.5 or later. Allow
32264 versions 5 to 9.
32265 * configure: Regenerated.
32266 * manual/install.texi (texinfo): Increase version requirement to
32267 4.5 or later.
32268 * INSTALL: Regenerated.
32269
4e124ced
JM
32270 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32271
953ca31a
L
322722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32273
32274 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32275
617aca05
L
32276 * sysdeps/x86_64/x32/ffs.c: New file.
32277
5762f7ae
L
32278 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32279 __syscall_ulong_t.
32280 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32281 defined. Use __syscall_ulong_t.
32282 (shminfo): Use __syscall_ulong_t.
32283 (shm_info): Likewise.
32284
a26b6856
L
32285 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32286 __syscall_ulong_t.
32287
cb2b9ef7
L
32288 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32289 <bits/wordsize.h>.
32290 (msgqnum_t): Use __syscall_ulong_t.
32291 (msglen_t): Likewise.
32292 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32293 __syscall_ulong_t.
32294
34683bb0
L
32295 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32296 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32297
84a68786
L
32298 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32299
48baa5f1
L
32300 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32301 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32302
180be88b
L
32303 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32304 __syscall_slong_t.
32305
5e90c8ad
L
32306 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32307 include <bits/wordsize.h>. Check __x86_64__ instead of
32308 __WORDSIZE.
32309
23dfb58b
L
32310 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32311 "unsigned long long int" if __x86_64__ is defined.
32312 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32313
ce5d54b0
L
32314 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32316 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32317
13dc9eac
L
32318 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32319 <stdint.h>.
32320 (GET_PC): Cast to uintptr_t first.
32321 (GET_FRAME): Likewise.
32322 (GET_STACK): Likewise.
32323
a7895d15
L
32324 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32326 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32328 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32330 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32331 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32332 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32333 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32335 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32337 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32339 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32340 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32341 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32343 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32344 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32346 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32347 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32353
656416c9
AS
323542012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32355
5bd66283
AS
32356 * Makerules (+depfiles): Also collect depfiles from .oS in
32357 $(extra-objs).
32358 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32359 .oS, $(libnldbl-routines)).
32360
656416c9
AS
32361 * Makerules (native-compile-mkdep-flags): Define.
32362 * sunrpc/Makefile (extra-objs): Add $(addprefix
32363 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32364 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32365 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32366 calling $(make-target-directory).
32367
a46f2169
L
323682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32369
32370 * bits/types.h (__snseconds_t): Removed.
32371 * time/time.h (struct timespec): Replace __snseconds_t with
32372 __syscall_slong_t.
32373 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32374 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32375 Likewise.
32376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32377 (__SNSECONDS_T_TYPE): Likewise.
32378 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32379 (__SNSECONDS_T_TYPE): Likewise.
32380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32381 (__SNSECONDS_T_TYPE): Likewise.
32382
6af6528b
L
323832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32384
32385 * sysdeps/mach/hurd/bits/typesizes.h
32386 (__SYSCALL_SLONG_TYPE): New macro.
32387 (__SYSCALL_ULONG_TYPE): Likewise.
32388
de986b56
L
323892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32390
32391 * bits/types.h (__syscall_slong_t): New type.
32392 (__syscall_ulong_t): Likewise.
32393
32394 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32395 (__SYSCALL_ULONG_TYPE): Likewise.
32396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32397 (__SYSCALL_SLONG_TYPE): Likewise.
32398 (__SYSCALL_ULONG_TYPE): Likewise.
32399 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32400 (__SYSCALL_SLONG_TYPE): Likewise.
32401 (__SYSCALL_ULONG_TYPE): Likewise.
32402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32403 (__SYSCALL_SLONG_TYPE): Likewise.
32404 (__SYSCALL_ULONG_TYPE): Likewise.
32405
85736dc7
L
324062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32407
32408 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32409 Add sigaltstack-offsets.sym.
32410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32411 <sigaltstack-offsets.h>.
32412 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32413 longjmp_msg pointer.
32414 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32415 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32416 signal stack.
32417 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32418
cc03b296
JM
324192012-05-15 Joseph Myers <joseph@codesourcery.com>
32420
a9538892
JM
32421 * elf/stackguard-macros.h: Remove file.
32422 * sysdeps/generic/stackguard-macros.h: New file.
32423 * sysdeps/i386/stackguard-macros.h: Likewise.
32424 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32425 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32426 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32427 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32428 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32429 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32430 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32431 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32432 <elf/stackguard-macros.h>.
32433
cc03b296
JM
32434 [BZ #14109]
32435 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32436 __aligned__ in attribute.
32437 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32438 (gregset_t): Likewise.
32439
93171016
L
324402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32441
32442 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32443 * sysdeps/x86_64/64/Implies-after: Here. New file.
32444 * sysdeps/x86_64/x32/Implies-after: New file.
32445
d86813a0
L
324462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32447
32448 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32449 and access return value for _dl_profile_fixup. Use R10_LP to
32450 load frame size.
32451
2953ec75
L
324522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32453
32454 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32455
3b550e9e
L
324562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32457
32458 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32459 * sysdeps/x86_64/x32/sysdep.h: New file.
32460
eda41706
L
324612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32462
32463 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32464 * sysdeps/x86_64/setjmp.S: Likewise.
32465
9ea01d93
AZ
324662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32467
32468 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32470 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32471 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32472 remove unused global constant.
32473
02a91938
CM
324742012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32475
32476 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32477 include of <not-cancel.h>.
32478
6540185f
RM
324792012-05-15 Roland McGrath <roland@hack.frob.com>
32480
32481 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32482
509072a0
AJ
324832012-05-15 Jeff Law <law@redhat.com>
32484 Andreas Jaeger <aj@suse.de>
32485
32486 [BZ #13594]
32487 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32488 out from...
32489 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32490 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32491 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32492 code changing __hst_map_handle.map.
32493
ba75122d
RM
324942012-05-15 Roland McGrath <roland@hack.frob.com>
32495
32496 * configure.in (sysnames): Look for Implies-before and Implies-after
32497 files.
32498 * configure: Regenerated.
32499
890d8bd8
L
325002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32501
32502 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32503 8-byte data alignment with LP_SIZE alignment.
32504
f6ee6623
L
325052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32506
32507 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32508 into R10_LP.
32509
ea2626f6
L
325102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32511
32512 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32513
085f715e
L
325142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32515
32516 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32517 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32518 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32519 Likewise.
32520 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32521
be8498fc
L
325222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32523
32524 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32525 (stackinfo_sub_sp): Likewise.
32526
70bc83b9
L
325272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32528
32529 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32530 RAX_LP.
32531
9bc0b730
L
325322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32533
32534 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32535 into R*_LP.
32536
6d2850e7
L
325372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32538
32539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32540 sizes into R*_LP.
32541
3cb84561
L
325422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32543
32544 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32545
54e2ed81
L
325462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32547
32548 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32549 into R11_LP and load __x86_64_shared_cache_size_half into
32550 R8_LP.
32551
8a17f349
L
325522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32553
32554 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32555 R8_LP.
32556
777b1eea
AZ
325572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32558
32559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32560 logb for POWER7.
32561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32562 logbf for POWER7.
32563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32564 logbl for POWER7.
32565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32566 powerpc32/power7/fpu/s_logb.c via #include.
32567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32568 powerpc32/power7/fpu/s_logbf.c via #include.
32569 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32570 powerpc32/power7/fpu/s_logbl.c via #include.
32571
d20d4ac2
JM
325722012-05-15 Joseph Myers <joseph@codesourcery.com>
32573
32574 * README.libm: Remove file.
32575
6cdef1ab
L
325762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32577
32578 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32579 count for x32. Use R*_LP and omit operand-size suffix.
32580
0b254d8f
L
325812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32582
32583 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32584 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32585 * sysdeps/x86_64/x32/shlib-versions: New file.
32586
ceb809dc
RM
325872012-05-14 Roland McGrath <roland@hack.frob.com>
32588
32589 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32590 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32591 Use _dl_fatal_printf instead.
32592
37f1abd4
JM
325932012-05-14 Joseph Myers <joseph@codesourcery.com>
32594
32595 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32596 set if not set by the user. Do not allow for being unset.
32597 * sysdeps/unix/sysv/linux/configure: Regenerated.
32598
11de3a33
L
325992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32600
32601 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32602 the `q' suffix from lea and replace .quad with ASM_ADDR.
32603
e02f153a
L
326042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32605
32606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32607 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32608 instead of $17.
32609 (PTR_DEMANGLE): Likewise.
32610
520ae0fd
L
326112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32612
32613 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32614 (LP_OP): Likewise.
32615 (ASM_ADDR): Likewise.
32616 (RAX_LP): Likewise.
32617 (RBP_LP): Likewise.
32618 (RBX_LP): Likewise.
32619 (RCX_LP): Likewise.
32620 (RDI_LP): Likewise.
32621 (RSI_LP): Likewise.
32622 (RSP_LP): Likewise.
32623 (R8_LP): Likewise.
32624 (R9_LP): Likewise.
32625 (R10_LP): Likewise.
32626 (R10_LP): Likewise.
32627 (R11_LP): Likewise.
32628 (R12_LP): Likewise.
32629 (R13_LP): Likewise.
32630 (R14_LP): Likewise.
32631 (R15_LP): Likewise.
32632
b985be81
L
326332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32634
32635 * sysdeps/x86_64/x32/dl-machine.h: New file.
32636
6a4888ff
AJ
326372012-05-14 Andreas Jaeger <aj@suse.de>
32638
32639 * manual/Makefile (subdir): Remove export of subdir.
32640 (all): Remove target.
32641 (.PHONY): Remove all from list.
32642 (mkinstalldirs): Remove.
32643 (.PHONY): Remove installdirs from list.
32644 ($(inst_infodir)/libc.info): Use make-target-directory.
32645 (installdirs): Remove.
32646 (subdir_%): Remove.
32647 (glibc-targets): Remove.
32648 (lib): Remove.
32649 (stubs): Remove.
32650 ($(objpfx)stubs ../po/manual.pot): Remove.
32651 ($(objpfx)stamp%): Remove.
32652 (make-target-directory): Remove.
32653 (subdir_install): Remove.
32654 (routines): Remove.
32655 (aux): Remove.
32656 (sources): Remove.
32657 (objects): Remove.
32658 (headers): Remove.
32659
32660 [BZ #13750]
32661 * manual/.gitignore: Remove, it's not needed anymore.
32662 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32663 all files in it.
32664 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32665 directory.
32666 (texis): Renamed to $(objpfx)texis.
32667 (texis-path): New, contains path to generated files.
32668 (chapters.%): Use texis-path for complete path, add extra argument
32669 libc-texinfo.sh.
32670 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32671 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32672 (summary,texi, stamp-summary): Use complete path of
32673 files. Generate files in build dir.
32674 (dir-add.texi): Build in build dir.
32675 (libm-err.texi,stamp-libm-err): Likewise.
32676 (version.texi, stamp-version): Likewise.
32677 (.%c.texi): Likewise.
32678 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32679 (mostlyclean): Remove target.
32680 (realclean): Remove target.
32681 (generated): Add new variable with contents from mostlyclean and
32682 realclean, remove entries duplicated in common-mostlyclean, add
32683 stamp-libm-err and stamp-version.
32684 (generated-dirs): Add libc directory.
32685 ($(inst_infodir)/libc.info): Install files from build dir.
32686
32687 * manual/install.texi (Configuring and compiling): Adjust since
32688 the info files are not part of the tar ball anymore.
32689
7ac77294
AJ
326902012-05-14 Andreas Jaeger <aj@suse.de>
32691
32692 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32693 variable.
32694
ffb7875d
JM
326952012-05-14 Joseph Myers <joseph@codesourcery.com>
32696
32697 [BZ #13717]
32698 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32699 to 2.2.0 where earlier.
32700 * sysdeps/unix/sysv/linux/configure: Regenerated.
32701 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32702 Remove conditional code.
32703 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32704 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32705 Remove conditional code.
32706 [!__NR_lchown]: Likewise.
32707 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32708 [__NR_lchown]: Likewise.
32709 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32710 comment referencing __ASSUME_LCHOWN_SYSCALL.
32711 * sysdeps/unix/sysv/linux/i386/sigaction.c
32712 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32713 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32714 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32715 Remove conditional code.
32716 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32717 (__protocol_available): Remove #if 0 code.
32718 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32719 conditional code.
32720 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32721 * sysdeps/unix/sysv/linux/kernel-features.h
32722 (__ASSUME_GETCWD_SYSCALL): Don't define.
32723 (__ASSUME_REALTIME_SIGNALS): Likewise.
32724 (__ASSUME_PREAD_SYSCALL): Likewise.
32725 (__ASSUME_PWRITE_SYSCALL): Likewise.
32726 (__ASSUME_POLL_SYSCALL): Likewise.
32727 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32728 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32729 non-SPARC.
32730 (__ASSUME_SIOCGIFNAME): Don't define.
32731 (__ASSUME_MSG_NOSIGNAL): Likewise.
32732 (__ASSUME_SENDFILE): Define unconditionally.
32733 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32734 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32735 conditional code.
32736 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32737 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32738 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32739 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32740 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32741 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32742 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32744 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32747 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32750 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32753 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32756 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32759 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32762 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32765 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32767 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32768 Remove conditional code.
32769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32770 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32771 Remove conditional code.
32772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32773 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32774 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32775 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32776 Remove conditional code.
32777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32778 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32779 Remove conditional code.
32780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32781 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32782 Remove conditional code.
32783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32784 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32785 Remove conditional code.
32786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32787 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32788 Remove conditional code.
32789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32790 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32793 * sysdeps/unix/sysv/linux/sigaction.c
32794 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32795 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32796 * sysdeps/unix/sysv/linux/sigpending.c
32797 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32798 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32799 * sysdeps/unix/sysv/linux/sigprocmask.c
32800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32802 * sysdeps/unix/sysv/linux/sigsuspend.c
32803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32805 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32806 (__libc_missing_rt_sigs): Remove.
32807 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32808 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32809 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32810 Remove conditional code.
32811 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32812 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32813 return 1.
32814 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32815 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32817 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32818
1bfb7291
AJ
328192012-05-14 Andreas Jaeger <aj@suse.de>
32820
caae5a81
AJ
32821 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32822 it's not used in glibc.
32823 (__coshm1): Likewise.
32824 (__acosh1p): Likewise.
32825 (__sgn): Likewise.
32826
1bfb7291
AJ
32827 * manual/string.texi (Copying and Concatenation): Add missing
32828 variable in concat example.
32829 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32830
c044d724
L
328312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32832
144c5467 32833 [BZ #14103]
c044d724
L
32834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32835 __builtin_clzl with __builtin_clzll.
32836
2523c62b
L
328372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32838
32839 [BZ #14104]
32840 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32841 libc_freeres_ptr.
32842
d7bb4c42
LD
328432012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32844
32845 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32846 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32847 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32848 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32849
9dc4e1fb
MF
328502012-05-14 Mike Frysinger <vapier@gentoo.org>
32851
32852 * NEWS: Update ia64 info.
32853
c7df0112
AS
328542012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32855
32856 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32857 used as bcopy.
32858
dc70356c
TS
328592012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32860
32861 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32862 * sysdeps/unix/syscalls.list (dup3): Likewise.
32863 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32864 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32865
9fb1a21f
L
328662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32869 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32870
4822a2a5
L
328712012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32872
32873 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32874 thread pointer.
32875 (TLS_IE): Use mov/add instead of movq/addq to load thread
32876 pointer.
32877 (TLS_GD_PREFIX): New.
32878 (TLS_GD): Use it.
32879
842b81d6
DM
328802012-05-11 David S. Miller <davem@davemloft.net>
32881
32882 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32883 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32884 (_FPU_SETCW): Likewise.
32885
1cf463cd
L
328862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32887
32888 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32889 is 32-byte aligned.
32890
60cc4a18
AS
328912012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32892
32893 [BZ #11837]
32894 * iconvdata/gb18030.c: Update tables.
32895 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32896 characters specially.
32897 (BODY for TO_LOOP): Add encoding of missing ranges.
32898
febb44a4
TS
328992012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32900
32901 [BZ #13673]
32902 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32903 * sysdeps/mach/hurd/dup3.c: Likewise.
32904 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32905 * sysdeps/powerpc/memmove.c:: Likewise.
32906
0a10fb9e
L
329072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32908
32909 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32910 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32911
df8a552f
L
329122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32913
32914 * elf/elf.h (R_X86_64_RELATIVE64): New.
32915 (R_X86_64_NUM): Updated.
32916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32917 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32918 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32919 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32920 tst-quad1pie tst-quad2pie
32921 (modules-names): Add tst-quadmod1 tst-quadmod2.
32922 ($(objpfx)tst-quad1): New dependency.
32923 ($(objpfx)tst-quad2): Likewise.
32924 ($(objpfx)tst-quad1pie): Likewise.
32925 ($(objpfx)tst-quad2pie): Likewise.
32926 * sysdeps/x86_64/tst-quad1.c: New file.
32927 * sysdeps/x86_64/tst-quad1pie.c: New file.
32928 * sysdeps/x86_64/tst-quad2.c: Likewise.
32929 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32930 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32931 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32932 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32933 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32934
f34d6f84
ST
329352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32936
f42d41d1
ST
32937 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32938 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32939 * streams/stropts.h (t_scalar_t): Define type.
32940
3c3571fc
ST
32941 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32942 (_PATH_PRESERVE): Set to "/var/lib".
32943 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32944
61f06bd3
ST
32945 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32946 instead of int.
32947
918d4d71
ST
32948 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32949 if __dir_mkfile succeeded.
32950
f34d6f84
ST
32951 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32952 checking for _hurd_dtablesize. Unlock it right after having
32953 finished _hurd_dtable allocation.
32954
10589b4a
TS
329552012-05-10 Thomas Schwinge <thomas@schwinge.name>
32956
674cdbc7
TS
32957 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32958 * sysdeps/mach/hurd/configure: Regenerated.
32959 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32960 special-casing to...
32961 * sysdeps/gnu/configure.in: ... this new file.
32962 * sysdeps/unix/sysv/linux/configure: Regenerated.
32963 * sysdeps/gnu/configure: New generated file.
32964
8e41b99f
TS
32965 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32966 for Linux: use nsec instead of usec, as well as:
32967 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32968 members of type struct timespec.
32969 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32970 New macros.
32971 (struct stat64): Likewise.
32972 (_STATBUF_ST_NSEC): New macro.
32973 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32974
10589b4a
TS
32975 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32976 __strtoul_internal rather than strtoul.
32977
63643c85
PT
329782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32979
32980 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32981 and reject them.
32982
3faebe6a
ST
329832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32984
32985 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32986 which preserves existing values.
32987 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32988
c6474b07
PT
329892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32990
32991 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32992 TIMEOUT values. Return EINVAL for NFDS values either negative or
32993 greater than FD_SETSIZE.
32994
1043890b
ST
329952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32996
32997 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32998 allocated, call __vm_protect to finish enabling the existing space, and
32999 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33000 allocate the remainder.
33001
37ed8b9b
PT
330022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33003
33004 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33005 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33006
db653660
ST
330072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33008
37ed8b9b
PT
33009 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33010 sysdeps/mach/hurd/readlink.c.
b29d4053 33011
db653660
ST
33012 * posix/tst-sysconf.c (posix_options): Only use
33013 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33014 _POSIX_SYNCHRONIZED_IO when they are defined
33015 * sysdeps/mach/hurd/bits/posix_opt.h:
33016 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33017 (_XOPEN_REALTIME): Undefine macro.
33018 (_XOPEN_REALTIME_THREADS): Undefine macro.
33019 (_XOPEN_SHM): Undefine macro.
33020 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33021 macro to -1.
33022 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33023 macro to -1.
33024 (_POSIX_ASYNC_IO): Undefine macro.
33025 (_POSIX_PRIORITIZED_IO): Undefine macro.
33026 (_POSIX_SPIN_LOCKS): Define macro to -1.
33027
ee16e894
ST
33028 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33029 SA_NODEFER, SA_RESETHAND.
33030 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33031 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33032 F_DUPFD_CLOEXEC.
33033
6103ae3b
TS
330342012-05-10 Thomas Schwinge <thomas@schwinge.name>
33035
33036 * elf/Makefile (pldd-modules): Define unconditionally.
33037
80b4e5f3
TS
330382012-05-10 Thomas Schwinge <thomas@schwinge.name>
33039
33040 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33041
edadcbd6
ST
330422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33043
33044 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33045 Return ENOENT when name is empty.
33046 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33047
80694780
TS
330482012-05-10 Thomas Schwinge <thomas@schwinge.name>
33049
1792c087
TS
33050 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33051
80694780
TS
33052 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33053
6b645f0d
ST
330542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33055
80694780
TS
33056 Fix mlock in all cases except non-readable pages.
33057 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33058 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33059
6b645f0d
ST
33060 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33061 (__mkdir): When path is `/', just fail with EEXIST.
33062 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33063
e468f8a3
TS
330642012-05-10 Thomas Schwinge <thomas@schwinge.name>
33065
33066 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33067 <sys/uio.h> (for writev).
33068 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33069 and <sys/param.h> (for MIN).
33070
a4186cff
PT
330712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33072
33073 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33074 REQUESTED_TIME. Properly set the remaining time and return EINTR
33075 if interrupted.
33076
510bbf14
TS
330772012-05-10 Thomas Schwinge <thomas@schwinge.name>
33078
33079 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33080 Depend on against $(link-rpcuserlibs).
33081
5d5722e8
ST
330822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33083
a4186cff
PT
33084 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33085 (__libc_stack_end): Do not use attribute_relro.
33086 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33087 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33088 to libthread-provided value.
a4186cff
PT
33089 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33090 attribute_relro.
5d5722e8 33091
37233df9
TS
330922012-05-10 Thomas Schwinge <thomas@schwinge.name>
33093
be971a2b
TS
33094 [BZ #3748]
33095 * bits/libc-lock.h (__libc_once_get): New macro.
33096 * sysdeps/mach/bits/libc-lock.h: Likewise.
33097 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33098 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33099 instead of using implementation details.
33100
37233df9
TS
33101 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33102 * libio/freopen.c: Likewise.
33103 * libio/freopen64.c: Likewise.
33104 * misc/syslog.c: Likewise.
33105 * nscd/connections.c: Likewise.
33106 * nscd/netgroupcache.c: Likewise.
33107 * sysdeps/posix/getcwd.c: Likewise.
33108
38de94a5
RM
331092012-05-10 Roland McGrath <roland@hack.frob.com>
33110
33111 * math/w_ilogbf.c: Add #include <limits.h>.
33112
67530489
ST
331132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33114
a4186cff 33115 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33116 path instead of returning without unlocking.
33117
67530489
ST
33118 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33119 immediate-write ioctls.
33120 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33121
5aa3a74a
TS
331222012-05-10 Thomas Schwinge <thomas@schwinge.name>
33123
18bad2ae
TS
33124 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33125 __builtin_frame_address instead of making assumptions about the
33126 location of the return address relative to DATA. Force early load of
33127 the return address.
33128 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33129 __builtin_frame_address.
33130
5aa3a74a
TS
33131 dup3 for GNU Hurd.
33132 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33133 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33134 implement dup3 and do some further code clean-ups.
33135 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33136 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33137
ecd0de9a
ST
331382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33139
cd9fa985
ST
33140 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33141
a4186cff
PT
33142 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33143 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33144 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33145 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33146 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33147 d->port.lock.
802ca5a5 33148
a4186cff
PT
33149 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33150 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33151 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33152
bcf55240
TS
331532012-05-10 Thomas Schwinge <thomas@schwinge.name>
33154
6960eb42
TS
33155 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33156 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33157 definitions.
33158
eb43375f
TS
33159 accept4 for GNU Hurd.
33160 * include/sys/socket.h (__libc_accept4): New prototype.
33161 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33162 to implement __libc_accept4.
33163 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33164 __libc_accept4.
33165 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33166
bcf55240
TS
33167 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33168 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33169 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33170 signal-defines.sym.
33171
6178c55b
ST
331722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33173
a4186cff 33174 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33175
6f080c2f
TS
331762012-05-10 Thomas Schwinge <thomas@schwinge.name>
33177
33178 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33179 assertion on O_CLOEXEC flag.
33180 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33181 * hurd/intern-fd.c: Likewise.
33182 * hurd/port2fd.c: Likewise.
33183
bcfe3a54
ST
331842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33185
33186 [BZ #3906]
33187 * bits/in.h (IPV6_PKTINFO): Define new macro.
33188 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33189
89c9aa49
AZ
331902012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33191
33192 [BZ #13954]
33193 [BZ #13955]
33194 [BZ #13956]
33195 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33196 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33197 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33198 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33200 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33201 * math/libm-test.inc (logb_test) : Additional logb tests.
33202
021db4be
AJ
332032012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33204 Andreas Jaeger <aj@suse.de>
33205
33206 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33207 * configure: Regenerated.
33208 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33209 * config.make.in (link-obsolete-rpc): New substituted variable.
33210 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33211 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33212 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33213 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33214 so that libc.a contains the symbols.
33215 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33216 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33217 * sunrpc/auth_none.c: Likewise.
33218 * sunrpc/auth_unix.c: Likewise.
33219 * sunrpc/authdes_prot.c: Likewise.
33220 * sunrpc/authuxprot.c: Likewise.
33221 * sunrpc/clnt_gen.c: Likewise.
33222 * sunrpc/clnt_perr.c: Likewise.
33223 * sunrpc/clnt_raw.c: Likewise.
33224 * sunrpc/clnt_simp.c: Likewise.
33225 * sunrpc/clnt_tcp.c: Likewise.
33226 * sunrpc/clnt_udp.c: Likewise.
33227 * sunrpc/clnt_unix.c: Likewise.
33228 * sunrpc/des_crypt.c: Likewise.
33229 * sunrpc/des_soft.c: Likewise.
33230 * sunrpc/get_myaddr.c: Likewise.
33231 * sunrpc/key_call.c: Likewise.
33232 * sunrpc/key_prot.c: Likewise.
33233 * sunrpc/netname.c: Likewise.
33234 * sunrpc/pm_getmaps.c: Likewise.
33235 * sunrpc/pm_getport.c: Likewise.
33236 * sunrpc/pmap_clnt.c: Likewise.
33237 * sunrpc/pmap_prot.c: Likewise.
33238 * sunrpc/pmap_prot2.c: Likewise.
33239 * sunrpc/pmap_rmt.c: Likewise.
33240 * sunrpc/publickey.c: Likewise.
33241 * sunrpc/rpc_cmsg.c: Likewise.
33242 * sunrpc/rpc_common.c: Likewise.
33243 * sunrpc/rpc_dtable.c: Likewise.
33244 * sunrpc/rpc_prot.c: Likewise.
33245 * sunrpc/rpc_thread.c: Likewise.
33246 * sunrpc/rtime.c: Likewise.
33247 * sunrpc/svc.c: Likewise.
33248 * sunrpc/svc_auth.c: Likewise.
33249 * sunrpc/svc_raw.c: Likewise.
33250 * sunrpc/svc_run.c: Likewise.
33251 * sunrpc/svc_tcp.c: Likewise.
33252 * sunrpc/svc_udp.c: Likewise.
33253 * sunrpc/svc_unix.c: Likewise.
33254 * sunrpc/svcauth_des.c: Likewise.
33255 * sunrpc/xcrypt.c: Likewise.
33256 * sunrpc/xdr.c: Likewise.
33257 * sunrpc/xdr_array.c: Likewise.
33258 * sunrpc/xdr_float.c: Likewise.
33259 * sunrpc/xdr_intXX_t.c: Likewise.
33260 * sunrpc/xdr_mem.c: Likewise.
33261 * sunrpc/xdr_rec.c: Likewise.
33262 * sunrpc/xdr_ref.c: Likewise.
33263 * sunrpc/xdr_sizeof.c: Likewise.
33264 * sunrpc/xdr_stdio.c: Likewise.
33265
b5c086a2
RM
332662012-05-10 Roland McGrath <roland@hack.frob.com>
33267
33268 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33269 change. Update copyright years.
33270
6d74dd09
JM
332712012-05-10 Joseph Myers <joseph@codesourcery.com>
33272
33273 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33274
28e72501
MK
332752012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33276 Joseph Myers <joseph@codesourcery.com>
33277 Paul Pluzhnikov <ppluzhnikov@google.com>
33278
33279 [BZ #14012]
33280 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33281 requiring rpcgen.
33282 [cross-compiling] (extra-libs): Likewise.
33283 [cross-compiling] (extra-libs-others): Likewise.
33284 [cross-compiling] (librpcsvc-routines): Likewise.
33285 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33286 [cross-compiling] (omit-deps): Likewise.
33287 (sunrpc-CPPFLAGS): New variable.
33288 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33289 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33290 (cross-rpcgen-objs): New variable.
33291 (extra-objs): Append $(cross-rpcgen-objs).
33292 ($(cross-rpcgen-objs)): New rule.
33293 ($(objpfx)cross-rpcgen): Likewise.
33294 (rpcgen-cmd): Define to use $(built-program-file). Expand
33295 comment.
33296 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33297 ($(objpfx)x%.stmp): Likewise.
33298 * sunrpc/proto.h [IS_IN_build] (_): Define.
33299 [IS_IN_build] (_libc_intl_domainname): Likewise.
33300
c8c59454
L
333012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33302
33303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33304 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33305 and R_X86_64_TPOFF64.
33306
6f27cd16
JM
333072012-05-10 Joseph Myers <joseph@codesourcery.com>
33308
33309 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33310 sysdeps/unix/sysv/syscalls.list.
33311 (stime): Likewise.
33312 (utime): Likewise.
33313 * sysdeps/unix/sysv/syscalls.list: Remove file.
33314
02467e1c
PE
333152012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33316
33317 [BZ #3440]
33318 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33319 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33320 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33321 (__LC_IDENTIFICATION): Make these macros useful in #if
33322 expressions, as required by C99.
33323
da392631
AS
333242012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33325
33326 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33327 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33328 after this.
33329
8115f29b
L
333302012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33331
33332 * stdlib/longlong.h: Updated from GCC.
33333
bdd74070
AJ
333342012-05-09 Andreas Jaeger <aj@suse.de>
33335
edfe0dbe
AJ
33336 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33337 default is first entry.
33338 (run_mode): Set type.
33339 (main): Remove informal message about syslog.
33340 (options): Fix typo.
33341
bcfe3a54
ST
33342 [BZ #14053]
33343 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 33344 to asm.
bcfe3a54
ST
33345 (lrint): Likewise.
33346 (llrintf): Likewise.
33347 (llrint): Likewise.
33348 (rint): Likewise.
33349 (rintf): Likewise.
33350 (nearbyint): Likewise.
33351 (nearbyintf): Likewise.
bdd74070 33352
91d8d69e
AJ
333532012-05-09 Andreas Jaeger <aj@suse.de>
33354 Pedro Alves <palves@redhat.com>
33355
33356 * nscd/nscd.c (run_mode): Use enum.
33357 (main): Cleanup coding style issue.
33358
bb90b80b
AJ
333592012-05-09 Alexandre Oliva <aoliva@redhat.com>
33360 Andreas Jaeger <aj@suse.de>
33361
bcfe3a54
ST
33362 * nscd/nscd.c (go_background): Replaced with...
33363 (run_mode): ... this.
bb90b80b 33364 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
33365 (options): Add -F --foreground.
33366 (main): Implement it.
33367 (parse_opt): Parse it.
bb90b80b 33368
1a4b75a1
AJ
333692012-05-09 Andreas Jaeger <aj@suse.de>
33370
33371 [BZ #14083]
33372 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33373 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33374 -Wconversion warning.
33375 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33376 Likewise.
33377
b1cc2472
JM
333782012-05-09 Joseph Myers <joseph@codesourcery.com>
33379
33380 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33381 == 0.
33382 (LC_ALL): Use macro-int-constant.
33383 (LC_COLLATE): Likewise.
33384 (LC_CTYPE): Likewise.
33385 (LC_MESSAGES): Likewise.
33386 (LC_MONETARY): Likewise.
33387 (LC_NUMERIC): Likewise.
33388 (LC_TIME): Likewise.
33389 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33390 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33392 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33393 Specify type.
33394 [C99-based standards] (float_t): Expect type.
33395 [C99-based standards] (double_t): Expect type.
33396 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33397 type.
33398 [C99-based standards] (HUGE_VALL): Likewise.
33399 [C99-based standards] (INFINITY): Likewise.
33400 [C99-based standards] (NAN): Likewise.
33401 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33402 [C99-based standards] (FP_NAN): Likewise.
33403 [C99-based standards] (FP_NORMAL): Likewise.
33404 [C99-based standards] (FP_SUBNORMAL): Likewise.
33405 [C99-based standards] (FP_ZERO): Likewise.
33406 [C99-based standards] (FP_FAST_FMA): Use
33407 optional-macro-int-constant. Specify type. Require == 1.
33408 [C99-based standards] (FP_FAST_FMAF): Likewise.
33409 [C99-based standards] (FP_FAST_FMAL): Likewise.
33410 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33411 [C99-based standards] (FP_ILOGBNAN): Likewise.
33412 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33413 Specify type.
33414 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33415 [C99-based standards] (math_errhandling): Specify type.
33416 [ISO99 || ISO11] (signgam): Do not allow.
33417 [non-C99-based standards] (copysignf): Do not allow.
33418 [non-C99-based standards] (exp2f): Likewise.
33419 [non-C99-based standards] (log2f): Likewise.
33420 [non-C99-based standards] (modff): Allow.
33421 [non-C99-based standards] (erff): Do not allow.
33422 [non-C99-based standards] (erfcf): Likewise.
33423 [non-C99-based standards] (gammaf): Likewise.
33424 [non-C99-based standards] (hypotf): Likewise.
33425 [non-C99-based standards] (j0f): Likewise.
33426 [non-C99-based standards] (j1f): Likewise.
33427 [non-C99-based standards] (jnf): Likewise.
33428 [non-C99-based standards] (lgammaf): Likewise.
33429 [non-C99-based standards] (tgammaf): Likewise.
33430 [non-C99-based standards] (y0f): Likewise.
33431 [non-C99-based standards] (y1f): Likewise.
33432 [non-C99-based standards] (ynf): Likewise.
33433 [non-C99-based standards] (isnanf): Likewise.
33434 [non-C99-based standards] (acoshf): Likewise.
33435 [non-C99-based standards] (asinhf): Likewise.
33436 [non-C99-based standards] (atanhf): Likewise.
33437 [non-C99-based standards] (cbrtf): Likewise.
33438 [non-C99-based standards] (expm1f): Likewise.
33439 [non-C99-based standards] (ilogbf): Likewise.
33440 [non-C99-based standards] (log1pf): Likewise.
33441 [non-C99-based standards] (logbf): Likewise.
33442 [non-C99-based standards] (nextafterf): Likewise.
33443 [non-C99-based standards] (remainderf): Likewise.
33444 [non-C99-based standards] (rintf): Likewise.
33445 [non-C99-based standards] (scalbf): Likewise.
33446 [non-C99-based standards] (copysignl): Likewise.
33447 [non-C99-based standards] (exp2l): Likewise.
33448 [non-C99-based standards] (log2l): Likewise.
33449 [non-C99-based standards] (modfl): Allow.
33450 [non-C99-based standards] (erfl): Do not allow.
33451 [non-C99-based standards] (erfcl): Likewise.
33452 [non-C99-based standards] (gammal): Likewise.
33453 [non-C99-based standards] (hypotl): Likewise.
33454 [non-C99-based standards] (j0l): Likewise.
33455 [non-C99-based standards] (j1l): Likewise.
33456 [non-C99-based standards] (jnl): Likewise.
33457 [non-C99-based standards] (lgammal): Likewise.
33458 [non-C99-based standards] (tgammal): Likewise.
33459 [non-C99-based standards] (y0l): Likewise.
33460 [non-C99-based standards] (y1l): Likewise.
33461 [non-C99-based standards] (ynl): Likewise.
33462 [non-C99-based standards] (isnanl): Likewise.
33463 [non-C99-based standards] (acoshl): Likewise.
33464 [non-C99-based standards] (asinhl): Likewise.
33465 [non-C99-based standards] (atanhl): Likewise.
33466 [non-C99-based standards] (cbrtl): Likewise.
33467 [non-C99-based standards] (expm1l): Likewise.
33468 [non-C99-based standards] (ilogbl): Likewise.
33469 [non-C99-based standards] (log1pl): Likewise.
33470 [non-C99-based standards] (logbl): Likewise.
33471 [non-C99-based standards] (nextafterl): Likewise.
33472 [non-C99-based standards] (remainderl): Likewise.
33473 [non-C99-based standards] (rintl): Likewise.
33474 [non-C99-based standards] (scalbl): Likewise.
33475 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33476 [non-C99-based standards] (FP_*): Do not allow.
33477 [C99-based standards] (FP_*): Change to
33478 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33479 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33480 allow.
33481 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33482 (SIG_ERR): Likewise.
33483 [X/Open-based standards] (SIG_HOLD): Likewise.
33484 (SIG_IGN): Likewise.
33485 (SIGABRT): Use macro-int-constant. Specify type. Require
33486 positive value.
33487 (SIGFPE): Likewise.
33488 (SIGILL): Likewise.
33489 (SIGINT): Likewise.
33490 (SIGSEGV): Likewise.
33491 (SIGTER): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33494 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33496 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33497 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33498 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33499 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33500 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33501 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33502 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33503 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33504 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33505 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33506 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33507 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33508 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33509 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33510 [X/Open-based standards] (SIGTRAP): Likewise.
33511 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33512 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33515 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33516 allow.
33517
b9f1922d
IW
335182012-05-08 Ian Wienand <ianw@vmware.com>
33519
33520 [BZ #14080]
33521 * time/tzset.c (__tzset_parse_tz): Update default rules for
33522 daylight time changes in the Energy Policy Act of 2005.
33523
1db86e88
AJ
335242012-05-09 Andreas Jaeger <aj@suse.de>
33525
33526 [BZ #13983]
33527 * elf/ldconfig.c (parse_conf): Change string to make clear that
33528 ldconfig only issued a warning if ld.so.conf does not exist.
33529
dee4a4e3
DM
335302012-05-08 David S. Miller <davem@davemloft.net>
33531
ee0db190
DM
33532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33533 movxtod instead of popping the value on the stack.
33534
dee4a4e3
DM
33535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33536
6a43ec98
CD
335372012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33538
33539 * config.h.in: Add HAVE_ARM_PCS_VFP.
33540
05c2c961
RMG
335412012-05-08 Roland Mc Grath <roland@hack.frob.com>
33542
bcfe3a54
ST
33543 [BZ #13979]
33544 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33545 checking but the checks are disabled for any reason.
05c2c961 33546
4b30f61a
L
335472012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33548
33549 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33550 and ELF64_R_TYPE with ELFW(R_TYPE).
33551
eee2bc67
JM
335522012-05-08 Joseph Myers <joseph@codesourcery.com>
33553
7ea5391a
JM
33554 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33555 (ulimit): Likewise.
33556
eee2bc67
JM
33557 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33558 (settimeofday): Likewise.
33559
abb66a67
MF
335602012-05-08 Mike Frysinger <vapier@gentoo.org>
33561
33562 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33563 a struct th_u2 inside the union, and move tu_block/tu_code into
33564 a new th_u3 union of tu_block/tu_code inside of that. Move
33565 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33566 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33567 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33568 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33569 (th_stuff): Change to th_u1.tu_stuff.
33570 (th_data): Define.
33571 (th_msg): Change to th_u1.th_u2.tu_data.
33572
7f18b530
DM
335732012-05-07 David S. Miller <davem@davemloft.net>
33574
05760585
DM
33575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33576
7f18b530
DM
33577 [BZ #14074]
33578 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33579 (SETUP_PIC_REG): Use it.
33580 (SETUP_PIC_REG_LEAF): Use it.
33581
495fd99f
JM
335822012-05-07 Joseph Myers <joseph@codesourcery.com>
33583
33584 [BZ #13885]
33585 [BZ #13923]
33586 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33587 USE_AS_EXPM1L.
33588 (EXPL_FINITE): Likewise.
33589 (FLDLOG): Likewise.
33590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33591 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33592 e_expl.S.
33593 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33594 USE_AS_EXPM1L.
33595 (EXPL_FINITE): Likewise.
33596 (FLDLOG): Likewise.
33597 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33598 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33599 e_expl.S.
33600 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33601 test of -max_value argument for long double.
33602 * sysdeps/i386/fpu/libm-test-ulps: Update.
33603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33604
6693d694
DM
336052012-05-06 David S. Miller <davem@davemloft.net>
33606
33607 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33608 quad soft-float symbols whose references which are compiler
33609 generated.
33610 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33611
6c23e11c
JM
336122012-05-06 Joseph Myers <joseph@codesourcery.com>
33613
d8b82cad
JM
33614 [BZ #13884]
33615 [BZ #13914]
33616 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33617 USE_AS_EXP10L.
33618 (EXPL_FINITE): Likewise.
33619 (FLDLOG): Likewise.
33620 (c0): Likewise.
33621 (c1): Likewise.
33622 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33623 Adjust comments for base varying.
33624 (__expl_finite): Change alias to EXPL_FINITE.
33625 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33626 e_expl.S.
33627 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33628 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33630 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33631 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33632 USE_AS_EXP10L.
33633 (EXPL_FINITE): Likewise.
33634 (FLDLOG): Likewise.
33635 (c0): Likewise.
33636 (c1): Likewise.
33637 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33638 Adjust comments for base varying.
33639 (__expl_finite): Change alias to EXPL_FINITE.
33640 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33641 tests for bugs.
33642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33643
6c23e11c
JM
33644 [BZ #14064]
33645 * math/libm-test.inc (check_float_internal): Correct ulp
33646 calculation for subnormal expected results.
33647
29ba805c
AJ
336482012-05-06 Andreas Jaeger <aj@suse.de>
33649
33650 * Makeconfig (+math-flags): New, set to -frounding-math.
33651 (+cflags): Add +math-flags so that all of glibc gets compiled with
33652 it.
33653
33654 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33655
7b17aeda
JM
336562012-05-05 Joseph Myers <joseph@codesourcery.com>
33657
5779f134
JM
33658 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33659 Disable one test.
33660
41498f4d
JM
33661 [BZ #13787]
33662 [BZ #13922]
33663 [BZ #14036]
33664 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33665 (__ieee754_expl): Allow for and saturate large arguments.
33666 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33667 (u_threshold): Likewise.
33668 (__exp): Call __ieee754_exp before checking for overflow and
33669 underflow.
33670 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33671 (u_threshold): Likewise.
33672 (__expf): Call __ieee754_expf before checking for overflow and
33673 underflow.
33674 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33675 (u_threshold): Likewise.
33676 (__expl): Call __ieee754_expl before checking for overflow and
33677 underflow.
33678 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33679 (__ieee754_expl): Allow for and saturate large arguments.
33680 * math/libm-test.inc (exp_test): Add another test. Do not allow
33681 missing overflow exception on overflow.
33682 (expm1_test): Do not allow missing overflow exception on overflow.
33683
6698b8bf
JM
33684 * sysdeps/i386/fpu/e_expl.c: Move to ...
33685 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33686 rather than using inline asm.
33687 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33688 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33689 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33690
7b17aeda
JM
33691 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33692 (nice): Likewise.
33693 (poll): Likewise.
33694 (signal): Likewise.
33695 (time): Likewise.
33696 (times): Likewise.
33697
f7c85819
JM
336982012-05-04 Joseph Myers <joseph@codesourcery.com>
33699
33700 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33701 sysdeps/unix/common/syscalls.list.
33702 (fchmod): Likewise.
33703 (fchown): Likewise.
33704 (ftruncate): Likewise.
33705 (getrusage): Likewise.
33706 (gettimeofday): Likewise.
33707 (setpgid): Likewise.
33708 (setregid): Likewise.
33709 (setreuid): Likewise.
33710 (sigaction): Likewise.
33711 (truncate): Likewise.
33712 (vhangup): Likewise.
33713 * sysdeps/unix/common/syscalls.list: Remove file.
33714 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33715 * sysdeps/unix/sysv/linux/Implies: Likewise.
33716
336270d0
L
337172012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33718
33719 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33721 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33722 Moved to ...
33723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33724 Here.
33725 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33726 to ...
33727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33728 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33729 to ...
33730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33731 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33732 to ...
33733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33734 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33735 to ...
33736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33737 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33738 to ...
33739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33740 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33741 to ...
33742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33743 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33744 to ...
33745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33746 Here.
33747 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33748 to ...
33749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33750 Here.
33751 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33752 to ...
33753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33754 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33755 Moved to ...
33756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33757 Here.
33758 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33759 to ...
33760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33761
d128e450
JM
337622012-05-04 Joseph Myers <joseph@codesourcery.com>
33763
fa8ee516
JM
33764 * sysdeps/unix/common/bits/dirent.h: Remove file.
33765 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33766
d128e450
JM
33767 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33768 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33769 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33770 * sysdeps/unix/bsd/isatty.c: Likewise.
33771 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33772 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33773 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33774
ff8faaf0 337752012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33776
62881be4 33777 [BZ #13563]
31dc8730
AZ
33778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33779 long double comparison inaccuracies.
33780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33782
6fef930c
AS
337832012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33784
33785 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33786 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33787
8f203e6c
JM
337882012-05-04 Joseph Myers <joseph@codesourcery.com>
33789
33790 [BZ #14049]
33791 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33792 nonzero digits before rounding a hex value.
33793 * stdlib/tst-strtod.c (tests): Add another test.
33794
5197d9c2
AK
337952012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33796
33797 * sysdeps/s390/fpu/libm-test-ulps: Update.
33798
f0c1dedf
AJ
337992012-05-03 Andreas Jaeger <aj@suse.de>
33800
33801 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33802 does not get optimized out.
33803 (malloc_opt_barrier): New.
33804
a65ef2ae 338052012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33806 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33807
2b942cb7 33808 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33809 intermediate file deletion.
2b942cb7 33810 (generated): Add .symlist files.
a65ef2ae 33811
54b71e02
JM
338122012-05-03 Joseph Myers <joseph@codesourcery.com>
33813
33814 [BZ #13775]
33815 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33816 Redirect under this condition.
33817 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33818 [__USE_GNU] (__dprintf_chk): Not under this condition.
33819 [__USE_GNU] (__vdprintf_chk): Likewise.
33820 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33821 under this condition.
33822 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33823 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33824 [__USE_XOPEN2K8] (vdprintf): Likewise.
33825 [__USE_GNU] (__dprintf_chk): Not under this condition.
33826 [__USE_GNU] (__vdprintf_chk): Likewise.
33827 [__USE_GNU] (dprintf): Likewise.
33828 [__USE_GNU] (vdprintf): Likewise.
33829
d3dfcc41
RM
338302012-05-03 Roland McGrath <roland@hack.frob.com>
33831
33832 * elf/Makefile (common-generated): Set this instead of generated for
33833 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33834 $(all-built-dso)-derived lists.
33835
7ac30cc5
AJ
338362012-05-03 Andreas Jaeger <aj@suse.de>
33837
0c51e550
AJ
33838 * sysdeps/i386/fpu/libm-test-ulps: Update.
33839
7ac30cc5
AJ
33840 * FAQ: Removed.
33841 * FAQ.in: Likewise.
33842 * scripts/gen-FAQ.pl: Likewise.
33843 * manual/install.texi (Installation): Point to online location of
33844 FAQ.
33845 * Makefile (files-for-dist): Remove FAQ.
33846 (FAQ): Remove.
33847
d4c2917f
AM
338482012-05-02 Allan McRae <allan@archlinux.org>
33849
33850 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33851 (LDFLAGS-reldepmod5.so): Likewise.
33852 (LDFLAGS-reldep6mod1.so): Likewise.
33853 (LDFLAGS-reldep6mod4.so): Likewise.
33854 (LDFLAGS-reldep8mod3.so): Likewise.
33855 (LDFLAGS-unload4mod1.so): Likewise.
33856 (LDFLAGS-unload4mod2.so): Likewise.
33857 (LDFLAGS-tst-initorder): Likewise.
33858 (LDFLAGS-tst-initordera2.so): Likewise.
33859 (LDFLAGS-tst-initordera3.so): Likewise.
33860 (LDFLAGS-tst-initordera4.so): Likewise.
33861 (LDFLAGS-tst-initorderb2.so): Likewise.
33862 (LDFLAGS-noload): Likewise.
33863 (LDFLAGS-next): Likewise.
33864 (LDFLAGS-order2mod1.so): Likewise.
33865 (LDFLAGS-order2mod2.so): Likewise.
33866 (LDFLAGS-tst-initorder2): Likewise.
33867 (LDFLAGS-tst-initorder2a.so): Likewise.
33868 (LDFLAGS-tst-initorder2b.so): Likewise.
33869 (LDFLAGS-tst-initorder2c.so): Likewise.
33870 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33871
d77f993f
DM
338722012-05-02 David S. Miller <davem@davemloft.net>
33873
33874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33875
171a70b4
PP
338762012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33877
33878 [BZ #14055]
33879 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33880
0be196ad
AJ
338812012-05-02 Andreas Jaeger <aj@suse.de>
33882
33883 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33884 since we manipulate rounding mode.
33885 (CPPFLAGS-test-idouble.c): Likewise.
33886 (CPPFLAGS-test-ifloat.c): Likewise.
33887 (CFLAGS-test-ldouble.c): Likewise.
33888 (CFLAGS-test-double.c): Likewise.
33889 (CFLAGS-test-float.c): Likewise.
33890 (CFLAGS-test-misc.c): Likewise.
33891 (CFLAGS-test-test-fenv.c): Likewise.
33892
4f9d04aa
AZ
338932012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33894
2b942cb7
RM
33895 [BZ #2550]
33896 [BZ #2570]
33897 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33898 comparisons to determine direction to adjust input.
4f9d04aa 33899
82a79e7d
RM
339002012-05-01 Roland McGrath <roland@hack.frob.com>
33901
f5a01ca9
RM
33902 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33903 output to the target.
33904
90fe4186
RM
33905 * scripts/localplt.awk: New file.
33906 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33907 (check-localplt-CFLAGS): Variable removed.
33908 ($(all-built-dso:=.jmprel)): New static pattern rule.
33909 (generated): Add those targets.
33910 (localplt-built-dso): New variable.
33911 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33912
33913 * elf/check-localplt.c: File removed.
33914
82397ed6
RM
33915 * scripts/check-execstack.awk: New file.
33916 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33917 (check-execstack-CFLAGS): Variable removed.
33918 ($(objpfx)check-execstack.h): Target removed.
33919 ($(objpfx)execstack-default): New target.
33920 (generated): Add that instead of check-execstack.h.
33921 ($(all-built-dso:=.phdr)): New static pattern rule.
33922 (generated): Add those targets.
33923 * elf/check-execstack.c: File removed.
33924
82a79e7d
RM
33925 * scripts/check-textrel.awk: New file.
33926 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33927 (check-textrel-CFLAGS): Variable removed.
33928 (all-built-dso): Use := to define.o
33929 ($(all-built-dso:=.dyn)): New static pattern rule.
33930 (generated): Add those targets.
33931 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33932 * config.make.in (READELF): New substituted variable.
33933 * elf/check-textrel.c: File removed.
33934
62fde54f 339352012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33936
615605c9
JM
33937 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33938 allow.
33939 * conform/data/ctype.h-data [C99-based standards] (isblank):
33940 Expect function.
33941 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33942 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33943 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33944 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33945 Specify type. Require positive value.
33946 (EILSEQ): Likewise.
33947 (ERANGE): Likewise.
33948 [ISO || POSIX] (EILSEQ): Do not expect.
33949 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33950 Specify type. Require positive value.
33951 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33952 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33953 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33954 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33956 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33957 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33963 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33964 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34025 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34026 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34027 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34028 Require >= 2.
34029 (FLT_ROUNDS): Expect as macro, not constant.
34030 (FLT_MANT_DIG): Use macro-int-constant.
34031 (DBL_MANT_DIG): Likewise.
34032 (LDBL_MANT_DIG): Likewise.
34033 (FLT_DIG): Likewise.
34034 (DBL_DIG): Likewise.
34035 (LDBL_DIG): Likewise.
34036 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34037 (DBL_MIN_EXP): Likewise.
34038 (LDBL_MIN_EXP): Likewise.
34039 (FLT_MAX_EXP): Use macro-int-constant.
34040 (DBL_MAX_EXP): Likewise.
34041 (LDBL_MAX_EXP): Likewise.
34042 (FLT_MAX_10_EXP): Likewise.
34043 (DBL_MAX_10_EXP): Likewise.
34044 (LDBL_MAX_10_EXP): Likewise.
34045 (FLT_MAX): Use macro-constant.
34046 (DBL_MAX): Likewise.
34047 (LDBL_MAX): Likewise.
34048 (FLT_EPSILON): Use macro-constant. Give upper bound.
34049 (DBL_EPSILON): Likewise.
34050 (LDBL_EPSILON): Likewise.
34051 (FLT_MIN): Likewise.
34052 (DBL_MIN): Likewise.
34053 (LDBL_MIN): Likewise.
34054 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34055 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34056 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34057 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34058 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34059 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34060 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34061 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34062 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34063 [ISO11] (FLT_TRUE_MIN): Likewise.
34064 [ISO11] (LDBL_TRUE_MIN): Likewise.
34065 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34066 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34067 (SCHAR_MIN): Use macro-int-constant. Specify type.
34068 (SCHAR_MAX): Likewise.
34069 (UCHAR_MAX): Likewise.
34070 (CHAR_MIN): Likewise.
34071 (CHAR_MAX): Likewise.
34072 (MB_LEN_MAX): Use macro-int-constant.
34073 (SHRT_MIN): Use macro-int-constant. Specify type.
34074 (SHRT_MAX): Likewise.
34075 (USHRT_MAX): Likewise.
34076 (INT_MAX): Likewise.
34077 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34078 bound negative.
34079 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34080 bound with "U".
34081 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34082 bound with "L".
34083 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34084 bound negative. Suffix upper bound with "L".
34085 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34086 bound with "UL".
34087 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34088 Specify type.
34089 [C99-based standards] (LLONG_MAX): Likewise.
34090 [C99-based standards] (ULLONG_MAX): Likewise.
34091 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34092 == 0.
34093 [ISO11] (max_align_t): Require type.
34094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34095
c9140a62
JM
34096 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34097 from $CFLAGS, without defining away __attribute__ calls.
34098 (checknamespace): Use $CFLAGS_namespace.
34099
9af0bf29
JM
34100 * conform/conformtest.pl (@keywords): Only include C99 keywords
34101 for standards based on C99 or C11.
34102
343222a2
JM
34103 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34104 Disable tests.
34105 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34106 UNIX98]: Likewise.
34107
661f8cf0
JM
34108 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34109 usability of symbols in #if.
34110
ee74b9cb
JM
34111 * conform/conformtest.pl: If macro or constant types start
34112 "promoted:", expect the symbol to be of the following type
34113 promoted by the integer promotions.
62fde54f 34114
aafc49b3
JM
34115 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34116 in one place. Also handle "macro-constant".
34117
fefdf574
JM
34118 * conform/conformtest.pl: Only accept expected macro values with
34119 "==". Parse all "macro" lines in one place.
34120 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34121
f2d922fe
JM
34122 * conform/conformtest.pl: Handle braced types on "constant" lines
34123 instead of handling "typed-constant".
34124 * conform/data/signal.h-data: Use "constant" instead of
34125 "typed-constant".
34126
d22956c9
JM
34127 * conform/conformtest.pl: Handle "optional-" at start of lines in
34128 one place rather than duplicating several cases. Handle each
34129 format of "macro" line with initial "optional-".
34130
028e2e38
JM
34131 * conform/conformtest.pl: Only accept expected constant or
34132 optional-constant values with "==". Parse all "constant" lines in
34133 one place. Parse all "optional-constant" lines in one place.
34134 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34135 * conform/data/fmtmsg.h-data: Likewise.
34136 * conform/data/netinet/in.h-data: Likewise.
34137 * conform/data/tar.h-data: Likewise.
34138 * conform/data/limits.h-data: Use "==" form on "constant" and
34139 "optional-constant" lines.
34140
1b8f2850
JM
34141 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34142 Use -std=c99 for XOPEN2K.
34143 (@knownproblems): Remove.
34144 (newtoken): Don't check %isknown.
34145
a05a144b
JM
34146 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34147 Do not expect macro.
34148 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34149 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34150 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34151 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34152 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34153 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34154 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34155 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34156 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34159 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34160 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34161 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34162 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34164 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34165 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34166 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34167 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34178 [XPG3] (acosh): Likewise.
34179 [XPG3] (asinh): Likewise.
34180 [XPG3] (atanh): Likewise.
34181 [XPG3] (cbrt): Likewise.
34182 [XPG3] (expm1): Likewise.
34183 [XPG3] (ilogb): Likewise.
34184 [XPG3] (log1p): Likewise.
34185 [XPG3] (logb): Likewise.
34186 [XPG3] (nextafter): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34189 [XPG3] (remainder): Likewise.
34190 [XPG3] (rint): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34198 [UNIX98 || XOPEN2K] (scalb): Expect.
34199 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34200 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34336
73c5ebe3
JM
34337 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34338 _XOPEN_SOURCE_EXTENDED for XPG4.
34339
39c33b6c
JM
34340 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34341
62fde54f
JM
34342 * Makeconfig (localtime): Remove variable.
34343 (inst_localtime-file): Likewise.
34344
0741d64c
AS
343452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34346
34347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34348 Update.
34349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34350 Update.
34351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34352 Update.
34353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34354 Update.
34355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34356 Update.
34357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34358 Update.
34359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34360 Update.
34361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34362 Update.
34363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34364 Update.
34365
7cb029ee
JM
343662012-05-01 Joseph Myers <joseph@codesourcery.com>
34367
34368 [BZ #2550]
34369 [BZ #2570]
34370 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34371 comparisons to determine direction to adjust input.
34372 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34373 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34374 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34375 Likewise.
34376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34377 Likewise.
34378 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34379 Likewise.
34380 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34382 Likewise.
34383 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34384 Likewise.
34385 * math/libm-test.inc (nexttoward_test): Add more tests.
34386
412bd966
AS
343872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34388
34389 [BZ #14040]
34390 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34391 in version GLIBC_2.1, not GLIBC_2.0.
34392 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34393 Likewise.
34394
9568c0c2
JM
343952012-04-30 Joseph Myers <joseph@codesourcery.com>
34396
adfbc8ac
JM
34397 [BZ #13942]
34398 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34399 (1 - x) * (1 + x).
34400 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34401 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34402 * math/libm-test.inc (acos_test): Add more tests.
34403 (asin_test): Likewise.
34404 * sysdeps/i386/fpu/libm-test-ulps: Update.
34405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34406
5ba3cc69
JM
34407 [BZ #14034]
34408 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34409 of square root.
34410 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34411 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34412 * math/libm-test.inc (acos_test_tonearest): New function.
34413 (acos_test_towardzero): Likewise.
34414 (acos_test_downward): Likewise.
34415 (acos_test_upward): Likewise.
34416 (asin_test_tonearest): Likewise.
34417 (asin_test_towardzero): Likewise.
34418 (asin_test_downward): Likewise.
34419 (asin_test_upward): Likewise.
34420 (main): Call the new functions.
34421 * sysdeps/i386/fpu/libm-test-ulps: Update.
34422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34423
9568c0c2
JM
34424 [BZ #13884]
34425 [BZ #13924]
34426 * math/e_exp10.c: Include <float.h>.
34427 (__ieee754_exp10): Handle underflow here rather than multiplying
34428 large negative argument by M_LN10.
34429 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34430 of __ieee754_expf.
34431 * math/e_exp10l.c: Include <float.h>.
34432 (__ieee754_exp10l): Handle underflow here rather than multiplying
34433 large negative argument by M_LN10l.
34434 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34435 spurious overflow exception on underflow.
34436
5ac3ea17
MP
344372012-04-29 Marek Polacek <polacek@redhat.com>
34438
34439 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34440 (__fortify_function): New macro.
34441 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34442 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34443 __extern_always_inline.
34444 * libio/bits/stdio2.h: Likewise.
34445 * libio/bits/stdio.h: Likewise.
34446 * string/string.h: Likewise.
34447 * string/bits/string3.h: Likewise.
34448 * include/stdio.h: Likewise.
34449 * stdlib/bits/stdlib.h: Likewise.
34450 * stdlib/stdlib.h: Likewise.
34451 * rt/bits/mqueue2.h: Likewise.
34452 * rt/mqueue.h: Likewise.
34453 * posix/bits/unistd.h: Likewise.
34454 * posix/unistd.h: Likewise.
34455 * io/bits/poll2.h: Likewise.
34456 * io/bits/fcntl2.h: Likewise.
34457 * io/fcntl.h: Likewise.
34458 * io/sys/poll.h: Likewise.
34459 * misc/bits/syslog.h: Likewise.
34460 * misc/bits/syslog-ldbl.h: Likewise.
34461 * misc/sys/syslog.h: Likewise.
34462 * socket/bits/socket2.h: Likewise.
34463 * socket/sys/socket.h: Likewise.
34464 * debug/tst-chk1.c: Likewise.
34465 * wcsmbs/bits/wchar2.h: Likewise.
34466 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34467 * wcsmbs/wchar.h: Likewise.
34468
ecf0ebfb
AJ
344692012-04-29 Andreas Jaeger <aj@suse.de>
34470
34471 * Makerules (tests): Remove enable-check-abi protection.
34472 (check-abi-warn): Remove.
34473 (check-abi-%): Remove check-abi-warn usage.
34474
34475 * configure.in: Remove check-abi configure option.
34476 * configure: Regenerated.
34477 * config.make.in (enable-check-abi): Remove.
34478
6d5c57fa
AS
344792012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34480
24c5d07e 34481 [BZ #14033]
ded5180a
AS
34482 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34483 double functions to double *_finite functions.
34484
7e0d315d
AS
34485 [BZ #13941]
34486 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34487 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34488 LDBL_MIN_EXP.
34489 * stdio-common/Makefile (tests): Add tst-sprintf3.
34490 * stdio-common/tst-sprintf3.c: New file.
34491
6d5c57fa
AS
34492 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34493 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34494
0749ff8b
JM
344952012-04-28 Joseph Myers <joseph@codesourcery.com>
34496
34497 * conform/conformtest.pl: Remove duplicate typed-constant
34498 handling.
34499
8dbd5d7b
DM
345002012-04-28 David S. Miller <davem@davemloft.net>
34501
34502 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34503 (check-abi-%): Remove AWK script prerequisite and explicit
34504 abilist directory.
34505 (check-abi): Rewrite to just diff the symlist with the abilist.
34506 (config-tls, config-abi-config): Delete, no longer used.
34507 (update-abi-%): Remove AWK script and explicit abilist directory.
34508 (update-abi): Rewrite to simply compare and conditionally copy the
34509 symlist and the sysdep abilist file. Remove update-abi-config
34510 checks.
34511 * abilist/ld.abilist: Remove.
34512 * abilist/libBrokenLocale.abilist: Remove.
34513 * abilist/libanl.abilist: Remove.
34514 * abilist/libcrypt.abilist: Remove.
34515 * abilist/libdl.abilist: Remove.
34516 * abilist/librt.abilist: Remove.
34517 * abilist/libthread_db.abilist: Remove.
34518 * abilist/libutil.abilist: Remove.
34519 * scripts/extract-abilist.awk: Remove.
34520 * scripts/merge-abilist.awk: Remove.
34521 * sysdeps/generic/libcidn.abilist: New file.
34522 * sysdeps/generic/libnss_compat.abilist: New file.
34523 * sysdeps/generic/libnss_db.abilist: New file.
34524 * sysdeps/generic/libnss_dns.abilist: New file.
34525 * sysdeps/generic/libnss_files.abilist: New file.
34526 * sysdeps/generic/libnss_hesiod.abilist: New file.
34527 * sysdeps/generic/libnss_nis.abilist: New file.
34528 * sysdeps/generic/libnss_nisplus.abilist: New file.
34529 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34530 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34531 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34532 file.
34533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34534 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34535 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34536 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34537 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34538 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34539 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34540 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34541 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34542 file.
34543 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34544 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34545 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34546 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34547 file.
34548 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34549 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34550 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34551 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34552 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34553 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34554 file.
34555 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34556 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34557 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34558 file.
34559 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34561 New file.
34562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34563 New file.
34564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34565 New file.
34566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34567 New file.
34568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34569 New file.
34570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34571 New file.
34572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34573 New file.
34574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34575 New file.
34576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34577 New file.
34578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34579 New file.
34580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34581 New file.
34582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34583 New file.
34584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34585 New file.
34586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34587 file.
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34589 New file.
34590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34591 New file.
34592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34593 file.
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34595 New file.
34596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34597 New file.
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34599 file.
34600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34601 New file.
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34603 New file.
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34605 New file.
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34607 New file.
34608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34609 New file.
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34611 New file.
34612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34614 file.
34615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34616 New file.
34617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34618 file.
34619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34620 file.
34621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34622 file.
34623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34624 file.
34625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34626 file.
34627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34628 New file.
34629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34630 file.
34631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34632 file.
34633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34634 New file.
34635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34636 file.
34637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34639 file.
34640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34641 New file.
34642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34643 file.
34644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34645 file.
34646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34647 file.
34648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34649 file.
34650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34651 file.
34652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34653 New file.
34654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34655 file.
34656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34657 file.
34658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34659 New file.
34660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34661 file.
34662 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34663 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34664 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34665 file.
34666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34667 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34668 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34669 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34670 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34671 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34672 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34673 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34674 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34675 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34678 file.
34679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34680 New file.
34681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34682 file.
34683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34684 file.
34685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34686 file.
34687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34688 file.
34689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34690 file.
34691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34692 New file.
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34694 New file.
34695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34696 file.
34697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34698 New file.
34699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34700 file.
34701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34703 file.
34704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34705 New file.
34706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34707 file.
34708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34709 file.
34710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34711 file.
34712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34713 file.
34714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34715 file.
34716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34717 New file.
34718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34719 New file.
34720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34721 file.
34722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34723 New file.
34724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34725 file.
34726
41d73a1b
JM
347272012-04-28 Joseph Myers <joseph@codesourcery.com>
34728
34729 * conform/conformtest.pl: Fix typo in handling typed-constant from
34730 allow-header.
34731
28aeeda4
JM
347322012-04-27 Joseph Myers <joseph@codesourcery.com>
34733
adae8f5e
JM
34734 * README: Cut down references to pre-2.6 Linux kernels and
34735 Linuxthreads. Update lists of configurations in libc and ports
34736 and sort alphabetically. Say "or newer" with Linux kernel version
34737 requirements.
34738
28aeeda4
JM
34739 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34740
a462cb63
RA
347412012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34742
34743 [BZ #887]
34744 * math/libm-test.inc (logb_test_downward): New test to expose
34745 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34746 rounding mode.
34747
6ad3493e
JM
347482012-04-27 Joseph Myers <joseph@codesourcery.com>
34749
34750 [BZ #14027]
34751 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34752 to be done.
34753 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34754 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34755
2ce4f015
JM
347562012-04-26 Joseph Myers <joseph@codesourcery.com>
34757
5aeb141a
JM
34758 * sysdeps/unix/i386/brk.S: Remove file.
34759 * sysdeps/unix/i386/dl-brk.S: Likewise.
34760 * sysdeps/unix/i386/pipe.S: Likewise.
34761 * sysdeps/unix/i386/sigreturn.S: Likewise.
34762 * sysdeps/unix/i386/syscall.S: Likewise.
34763 * sysdeps/unix/i386/vfork.S: Likewise.
34764 * sysdeps/unix/i386/wait.S: Likewise.
34765
7143acae
JM
34766 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34767 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34768
2ce4f015
JM
34769 * configure.in (arm*-none*): Do not allow without
34770 --enable-hacker-mode.
34771 (netbsd*): Remove case setting base_os.
34772 (386bsd*): Likewise.
34773 (freebsd*): Likewise.
34774 (bsdi*): Likewise.
34775 (osf*): Likewise.
34776 (sunos*): Likewise.
34777 (ultrix*): Likewise.
34778 (newsos*): Likewise.
34779 (dynix*): Likewise.
34780 (*bsd*): Likewise.
34781 (sysv*): Likewise.
34782 (isc*): Likewise.
34783 (esix*): Likewise.
34784 (sco*): Likewise.
34785 (minix*): Likewise.
34786 (irix4*): Likewise.
34787 (irix6*): Likewise.
34788 (solaris[2-9]*): Likewise.
34789 (none): Likewise.
34790 * configure: Regenerated.
34791
0ac229c8
AZ
347922012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34793
34794 [BZ #11521]
34795 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34796 overflow or cancellation in calculating denominator.
34797 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34799 down expression to avoid unexpected rounding in newer GCCs.
34800 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34801
33f244f4
DM
348022012-04-26 David S. Miller <davem@davemloft.net>
34803
34804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34805 long-double compat symbols.
34806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34819
cfa1f3e8
DM
348202012-04-25 David S. Miller <davem@davemloft.net>
34821
34822 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34823 HWCAP_* values only after the memory barriers have been defined.
34824 (atomic_full_barrier): Define.
34825 (atomic_read_barrier): Define.
34826 (atomic_write_barrier): Define.
34827
6e236b92
SP
348282012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34829
34830 * shlib-versions: Add libgcc_s version information.
34831 * sysdeps/generic/libgcc_s.h: Remove.
34832 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34833 libgcc_s.h.
34834 * sysdeps/gnu/unwind-resume.c: Likewise.
34835 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34836
aab39a09
DM
348372012-04-25 David S. Miller <davem@davemloft.net>
34838
34839 * sysdeps/unix/sparc/brk.S: Delete.
34840 * sysdeps/unix/sparc/dl-brk.S: Delete.
34841 * sysdeps/unix/sparc/pipe.S: Delete.
34842 * sysdeps/unix/sparc/sysdep.S: Delete.
34843 * sysdeps/unix/sparc/sysdep.h: Delete.
34844 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34845 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34846 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34847 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34848 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34849 (JUMPTARGET): Remove.
34850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34851 sysdeps/unix/sparc/sysdep.h
34852 (ENTRY, END): Remove.
34853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34854
a3cc4f48
JM
348552012-04-25 Joseph Myers <joseph@codesourcery.com>
34856
2ed8cda2
JM
34857 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34858 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34859 -DIS_IN_build.
34860
35d76d59
JM
34861 * timezone/README: Update upstream location and email address for
34862 tzcode and tzdata.
34863 * timezone/zdump.c: Update from tzcode 2012b.
34864 * timezone/zic.c: Likewise.
34865
a3cc4f48
JM
34866 * configure.in (libc_cv_as_needed): Remove test.
34867 * configure: Regenerated.
34868 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34869 conditional definition.
34870 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34871 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34872 * config.make.in (have-as-needed): Remove variable.
34873
ceab42c3
SP
348742012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34875 Paul Pluzhnikov <ppluzhnikov@google.com>
34876
34877 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34878 strings correctly.
34879
3ce2865f
CLT
348802012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34881
34882 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34883 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34884 * sysdeps/sh/strlen.S: Likewise.
34885
f37e0d68
JM
348862012-04-24 Joseph Myers <joseph@codesourcery.com>
34887
ae186e9a
JM
34888 * sysdeps/unix/fork.S: Remove file.
34889 * sysdeps/unix/i386/fork.S: Likewise.
34890 * sysdeps/unix/sparc/fork.S: Likewise.
34891
b96914af
JM
34892 * sysdeps/unix/system.c: Remove file.
34893 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34894
f37e0d68
JM
34895 * sysdeps/unix/getegid.S: Remove file.
34896 * sysdeps/unix/geteuid.S: Likewise.
34897
87ef29ca
RM
348982012-04-24 Roland McGrath <roland@hack.frob.com>
34899
83bcd236
RM
34900 * scripts/check-localplt.awk: New file.
34901 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34902 of diff.
34903 * scripts/data/localplt-generic.data: Add a comment.
34904
87ef29ca
RM
34905 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34906 NODE when __dir_mkfile failed.
34907 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34908 Reported by Ludovic Courtès <ludo@gnu.org>.
34909
e5a6e567
AJ
349102012-04-24 Andreas Jaeger <aj@suse.de>
34911
34912 * Makerules (common-clean): Also remove gen-as-const-headers
34913 files.
34914
c1820385
JM
349152012-04-24 Joseph Myers <joseph@codesourcery.com>
34916
34917 * Makerules (native-compile): Do not change working directory for
34918 build. Use $(OUTPUT_OPTION) in command.
34919 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34920
94e02fc4
AZ
349212012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34922
34923 [BZ #13886]
34924 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34925 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34926 * math/libm-test.inc (floor_test): Add more tests.
34927 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34928
3a533ca3
JM
349292012-04-24 Joseph Myers <joseph@codesourcery.com>
34930
940ab4b3
JM
34931 * sysdeps/unix/getdents.c: Remove file.
34932 * sysdeps/unix/sysv/getdents.c: Likewise.
34933 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34934
90e037bd
JM
34935 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34936 sysdeps/unix/mman/syscalls.list.
34937 (mmap): Likewise.
34938 (mprotect): Likewise.
34939 (msync): Likewise.
34940 (munmap): Likewise.
34941 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34942 * sysdeps/unix/mman/syscalls.list: Remove.
34943 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34944
3a533ca3
JM
34945 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34946 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34947 * configure: Regenerated.
34948 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34949 $(libgcc_s_suffix).
34950 * config.make.in (libgcc_s_suffix): Remove variable.
34951
1ad743de
JM
349522012-04-23 Joseph Myers <joseph@codesourcery.com>
34953
4ad451e2
JM
34954 * sysdeps/unix/sysv/gethostname.c: Move to ...
34955 * sysdeps/posix/gethostname.c: ... here.
34956
5e37ce39
JM
34957 * sysdeps/unix/execve.S: Remove file.
34958
1ad743de
JM
34959 * sysdeps/unix/_exit.S: Remove file.
34960
4e681b5b
AJ
349612012-04-23 Andreas Jaeger <aj@suse.de>
34962
34963 [BZ #13739]
34964 * manual/Makefile: Remove make dist support, there's no
34965 need for a stand-alone documentation tar ball.
34966 (TEXI2DVI): Define always, it's not in Makeconfig.
34967 (dist): Removed.
34968 (tar-it): Removed.
34969 (edition): Removed.
34970 (glibc-doc-$(edition).tar): Removed
34971 (%.Z): Removed.
34972 (%.gz): Removed.
34973 (%.uu): Removed.
34974 (ETAGS): Remove, it's in Makeconfig.
34975 (move-if-change): Remove, it's in Makeconfig.
34976
38686a03 349772012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34978
34979 [BZ #13970]
34980 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34981 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34982 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34983 (strtod_l, strtof_l, strtold_l): Remove __wur.
34984 It is not necessarily an error to ignore strtol's return value.
34985 One can reliably look at the stored endptr to decide whether
34986 the number had valid syntax.
34987
7c0616fa
AJ
349882012-04-21 Andreas Jaeger <aj@suse.de>
34989
803cb6b7 34990 [BZ #13739]
7c0616fa
AJ
34991 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34992
b0fe253f
JM
349932012-04-21 Joseph Myers <joseph@codesourcery.com>
34994
34995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34996 * sysdeps/unix/sysv/Versions: Remove file.
34997
8280f22d
MT
349982012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34999
35000 [BZ #13927]
35001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35002
75ce411f 350032012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
35004
35005 [BZ #7064]
35006 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35007 version from __vm86.
35008
097d59fa
JM
350092012-04-20 Joseph Myers <joseph@codesourcery.com>
35010
a90f3bcb
JM
35011 * sysdeps/unix/common/lxstat.c: Remove file.
35012 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35013
edc7ea78
JM
35014 * sysdeps/unix/sysv/Makefile: Remove file.
35015
cb78c221
JM
35016 * sysdeps/unix/sysv/direct.h: Remove file.
35017
efa6a45f
JM
35018 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35019 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35020 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35021 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35022 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35023 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35024 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35025
9c9f2d0c
JM
35026 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35027
4541c83b
JM
35028 * sysdeps/unix/xmknod.c: Remove file.
35029 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35030
f5d153a0
JM
35031 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35032
aa746595
JM
35033 * sysdeps/unix/sysv/i386/time.S: Remove file.
35034
cce5905e
JM
35035 * sysdeps/unix/fxstat.c: Remove file.
35036 * sysdeps/unix/xstat.c: Likewise.
35037 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35038
37fa3841
JM
35039 * sysdeps/unix/sysv/sigaction.c: Remove file.
35040
ff1962a3
JM
35041 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35042 (sysdep_headers): Remove variable.
35043 [termio.h not in sysdep_headers] (generated): Likewise.
35044 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35045 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35046 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35047 * sysdeps/unix/sysv/tcflow.c: Likewise.
35048 * sysdeps/unix/sysv/tcflush.c: Likewise.
35049 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35050 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35051 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35052 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35053 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35054
e7740d31
JM
35055 * sysdeps/unix/siglist.c: Remove file.
35056
ee06f18b
JM
35057 * sysdeps/unix/getppid.S: Remove file.
35058
097d59fa
JM
35059 * sysdeps/unix/mkdir.c: Remove file.
35060 * sysdeps/unix/rmdir.c: Likewise.
35061
ff3d51ec
AS
350622012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35063
35064 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35065 ERR_MAX value.
35066 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35067 errlist-compat value.
35068
50f81fd7
DM
350692012-04-18 David S. Miller <davem@davemloft.net>
35070
35071 * sysdeps/generic/memcopy.h (reg_char): Delete.
35072 * debug/strcat_chk.c: Use char, not reg_char.
35073 * debug/strcpy_chk.c: Likewise.
35074 * debug/strncat_chk.c: Likewise.
35075 * debug/strncpy_chk.c: Likewise.
35076 * string/memchr.c: Likewise.
35077 * string/memrchr.c: Likewise.
35078 * string/rawmemchr.c: Likewise.
35079 * string/strcat.c: Likewise.
35080 * string/strchr.c: Likewise.
35081 * string/strchrnul.c: Likewise.
35082 * string/strcmp.c: Likewise.
35083 * string/strcpy.c: Likewise.
35084 * string/strncat.c: Likewise.
35085 * string/strncmp.c: Likewise.
35086 * string/strncpy.c: Likewise.
35087
8ff41c46
WS
350882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35089
35090 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35091 __builtin_memcopy is called when src and dest ranges are known to not
35092 overlap.
35093
6b652f46
WS
350942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35095
35096 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35097 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35098 fwd_align_merge macro call.
35099 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35100 bwd_align_merge macro call.
35101 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35102
b282631e
WS
351032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35104
35105 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35106 bwd_align_merge macros.
35107 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35108 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35109 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35110
95aa737c
DM
351112012-04-18 David S. Miller <davem@davemloft.net>
35112
35113 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35114
7a99a614
AJ
351152012-04-18 Andreas Jaeger <aj@suse.de>
35116
35117 [BZ# 6794]
35118 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35119 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35120 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35121
35122 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35123 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35124 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35125
35126 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35127 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35128 Adjust for changed ldbl-128 files.
35129
35130 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35131 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35132 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35133
e5270c23
DM
351342012-04-17 David S. Miller <davem@davemloft.net>
35135
35136 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35137
fb5e92c9
AS
351382012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35139
35140 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35141 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35142 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35143 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35144 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35145 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35146
76da7265
AZ
351472012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35148
35149 [BZ #6794]
35150 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35151 * math/libm-test.inc: Add ilogb errno and exception tests.
35152 * math/w_ilogb.c: New file: ilogb wrapper.
35153 * math/w_ilogbf.c: New file: ilogbf wrapper.
35154 * math/w_ilogbl.c: New file: ilogbl wrapper.
35155 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35156 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35157 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35158 exception being thrown with 0.0 as argument.
35159 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35160 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35161 exception being thrown with 0.0 as argument.
35162 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35163 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35164 exception being thrown with 0.0 as argument.
35165 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35166 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35167 exception being thrown with 0.0 as argument.
35168 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35169 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35170 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35171 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35172 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35173 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35174 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35175 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35176 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35177
0396e69d
PB
351782012-04-17 Petr Baudis <pasky@ucw.cz>
35179
35180 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35181 with altivec.
35182
750b5926
MP
351832012-04-16 Marek Polacek <polacek@redhat.com>
35184
35185 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35186
751728a1
MP
351872012-04-16 Marek Polacek <polacek@redhat.com>
35188
35189 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35190 operands of fdivp instruction.
35191
34a27407
L
351922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35193
35194 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35195 * elf/tst-auditmod3b.c: Likewise.
35196 * elf/tst-auditmod4b.c: Likewise.
35197 * elf/tst-auditmod5b.c: Likewise.
35198 * elf/tst-auditmod6b.c: Likewise.
35199 * elf/tst-auditmod6c.c: Likewise.
35200 * elf/tst-auditmod7b.c: Likewise.
35201 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35202 * sysdeps/x86_64/preconfigure.in: Likewise.
35203 * sysdeps/x86_64/preconfigure: Regenerated.
35204
7e73e17d
L
352052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35206
35207 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35208 __ILP32__.
35209
c7a6ab72
AB
352102012-04-13 Antoine Balestrat <merkil33@gmail.com>
35211
35212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35213 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35214
a9e8e0e0
CL
352152012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35216
35217 [BZ #13973]
35218 * locale/iso-639.def: Fix gl language name. Spotted by
35219 Yaron Shahrabani.
35220
ec98af7d
RM
352212012-04-12 Roland McGrath <roland@hack.frob.com>
35222
35223 [BZ #2074]
35224 * libio/libio.h (__io_write_fn): Update comment.
35225
247c3ede
PB
352262012-04-12 Petr Baudis <pasky@ucw.cz>
35227
35228 [BZ #2074]
35229 * stdio.texi (Hook Functions): The user provided writer function
35230 is not allowed to return -1.
35231
55939d6d
DM
352322012-04-11 David S. Miller <davem@davemloft.net>
35233
35234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35235
90020f5a
MF
352362012-04-11 Mike Frysinger <vapier@gentoo.org>
35237
35238 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35239 Add a leading slash to rtkaio.
35240
288f9098
JM
352412012-04-11 Jim Meyering <meyering@redhat.com>
35242
90020f5a
MF
35243 [BZ #11959]
35244 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35245 It is not necessarily an error to ignore fwrite's return
35246 value. One can reliably use ferror to test for errors after
35247 the fact.
288f9098 35248
4be2b570
L
352492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35250
35251 * bits/types.h (__snseconds_t): New type.
35252 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35253
35254 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35256 (__SNSECONDS_T_TYPE): Likewise.
35257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35258 (__SNSECONDS_T_TYPE): Likewise.
35259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35260 (__SNSECONDS_T_TYPE): Likewise.
35261
288f9098 352622012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
35263
35264 [BZ #2636]
35265 * manual/time.texi (Processor Time): Return type of times is
35266 elapsed real time since an arbitrary point in the past.
35267 (CPU Time): Move CLK_TCK from here...
35268 (Processor Time): ...to here. Correct description.
35269 * manual/conf.texi (Constants for Sysconf): Correct description of
35270 _SC_CLK_TCK.
35271
d7dd4413
DM
352722012-04-10 David S. Miller <davem@davemloft.net>
35273
35274 [BZ #13967]
35275 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35276 where the is a gap between DT_REL(A) and DT_JMPREL.
35277
b46068fc
L
352782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35279
35280 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35281 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35282 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35283
73d65cc3
SP
352842012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35285
35286 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35287 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35288 (dl_main): Handle --inhibit-cache.
35289 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35290 _dl_inhibit_cache.
35291 * elf/dl-load.c (_dl_map_object): Use it.
35292 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35293
bcc8d661
JM
352942012-04-09 Joseph Myers <joseph@codesourcery.com>
35295
8f9a2fae
JM
35296 [BZ #13872]
35297 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35298 (__ieee754_powl): Saturate large exponents rather than testing for
35299 overflow of y*log2(x).
35300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35301 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35302 exceptions.
35303
bcc8d661
JM
35304 [BZ #11521]
35305 * math/s_ctan.c: Include <float.h>.
35306 (__ctan): Avoid internal overflow or cancellation in calculating
35307 denominator.
35308 * math/s_ctanf.c: Likewise.
35309 * math/s_ctanl.c: Likewise.
35310 * math/s_ctanh.c: Likewise.
35311 * math/s_ctanhf.c: Likewise.
35312 * math/s_ctanhl.c: Likewise.
35313 * math/libm-test.inc (ctan_test): Add more tests.
35314 (ctanh_test): Likewise.
35315 * sysdeps/i386/fpu/libm-test-ulps: Update.
35316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35317
823fbbb4
AJ
353182012-04-09 Andreas Jaeger <aj@suse.de>
35319
03879793
AJ
35320 [BZ #6894]
35321 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35322 is an optional BSD extension.
35323
823fbbb4
AJ
35324 [BZ #10254]
35325 * manual/stdio.texi (Opening Streams): Document additional fopen
35326 parameters.
35327
8de131cb
RM
353282012-04-09 Roland McGrath <roland@hack.frob.com>
35329
35330 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35331 %eax without telling the compiler.
35332
c0ed9d7d
CD
353332012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35334
35335 [BZ # 13963]
35336 * manual/install.texi: Use sourceware.org.
35337
c483f6b4
JM
353382012-04-09 Joseph Myers <joseph@codesourcery.com>
35339
d7dd9453
JM
35340 [BZ #13873]
35341 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35342 (__ieee754_pow): Generate overflow and underflow using huge*huge
35343 and tiny*tiny rather than just returning constant infinity or zero
35344 for large exponents.
35345 * math/libm-test.inc (pow_test): Require overflow exceptions for
35346 applicable cases of large exponents.
35347
c483f6b4
JM
35348 [BZ #706]
35349 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35350 (__ieee754_pow): Use iterative multiplication algorithm only for
35351 integer exponents with absolute value below 1024. Check for odd
35352 integer exponents when using algorithm for real exponents.
35353 * math/libm-test.inc (pow_test): Add more tests.
35354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35355
d2de7579
JM
353562012-04-08 Joseph Myers <joseph@codesourcery.com>
35357
35358 [BZ #13705]
35359 * math/libm-test.inc (exp_test): Do not allow overflow exception
35360 on underflow test.
35361
f77f1232
AJ
353622012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35363
35364 [BZ #13705]
35365 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35366 instead of __kernel_standard_f.
35367
3884932b
MF
353682012-04-08 Mike Frysinger <vapier@gentoo.org>
35369
35370 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35371 * sysdeps/x86_64/memset_chk.S: Likewise.
35372
54472e9c
AJ
353732012-04-08 Andreas Jaeger <aj@suse.de>
35374
6ab0fbfc
AJ
35375 [BZ #10153]
35376 * manual/startup.texi (Environment Access): Describe return value
35377 for putenv and setenv.
35378
61efba8c
AJ
35379 [BZ #6895]
35380 * manual/filesys.texi (Directory Entries): Add description for
35381 DT_LNK.
35382
95c3f29a
AJ
35383 [BZ #6890]
35384 * manual/filesys.texi (Directory Entries): Clarify that it's file
35385 system not operating system in the description of DT_UNKNOWN.
35386
54472e9c
AJ
35387 [BZ #6578]
35388 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35389
624254b1
SC
353902012-04-08 Stephen Compall <s11@member.fsf.org>
35391
35392 [BZ #6649]
35393 * manual/llio.texi (Opening and Closing Files): Add cross
35394 reference to explain mode argument.
35395
1e4920e0
MF
353962012-04-07 Mike Frysinger <vapier@gentoo.org>
35397
35398 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35399 * sysdeps/x86_64/memset_chk.S: Likewise.
35400
5ed848f3
DM
354012012-04-07 David S. Miller <davem@davemloft.net>
35402
35403 * elf/elf.h (R_SPARC_WDISP10): Define.
35404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35405 R_SPARC_SIZE32.
35406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35407 R_SPARC_SIZE64 and R_SPARC_H34.
35408
96154cd8
CD
354092012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35410
35411 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35412 conditions and remove no longer applicable assertion.
35413
9904dc47
L
354142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35415
35416 * bits/byteswap.h: Include <features.h>.
35417 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35418 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35419
f8887d0a
L
354202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35421
35422 * bits/byteswap.h (__bswap_16): Removed.
35423 Include <bits/byteswap-16.h> to get __bswap_16.
35424 * sysdeps/i386/bits/byteswap.h: Likewise.
35425 * sysdeps/s390/bits/byteswap.h: Likewise.
35426 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35427 * bits/byteswap-16.h: New file.
35428 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35429 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35430 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35431 * string/Makefile (headers): Add bits/byteswap-16.h.
35432
62470f60
PP
354332012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35434
35435 [BZ #13895]
35436 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35437 extra indirection.
35438 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35439 * nss/tst-nss-static.c: New.
35440
4dad7bab
RM
354412012-04-06 Robert Millan <rmh@gnu.org>
35442
35443 [BZ #6486]
35444 * manual/llio.texi (File Position Primitive): lseek
35445 refers to WHENCE when it really means OFFSET.
35446
e9142a17
AJ
354472012-04-06 Andreas Jaeger <aj@suse.de>
35448
2c040eff
AJ
35449 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35450 strncmp declarations.
35451
e9142a17
AJ
35452 * abilist/libc.abilist: Add __poll and __ppoll.
35453
ff9f1c5f
DM
354542012-04-05 David S. Miller <davem@davemloft.net>
35455
dcd2ae90
DM
35456 * scripts/check-local-headers.sh: Accept a host triplet in the
35457 path matched by the exclude regexp.
35458
993eb054
DM
35459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35460 definition.
35461 * sysdeps/powerpc/powerpc32/dl-machine.h
35462 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35463 * sysdeps/s390/s390-32/dl-machine.h
35464 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35465 * sysdeps/sparc/sparc32/dl-machine.h
35466 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35467 * sysdeps/sparc/sparc64/dl-machine.h
35468 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35469
ff9f1c5f
DM
35470 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35471 lazy binding.
48e2e132 35472 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35473 undefined symbol errors.
35474
48e2e132 35475 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35476 DT_NEEDED entries.
35477
e80d6f94
MM
354782012-04-05 Michael Matz <matz@suse.de>
35479
35480 [BZ #13592]
35481 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35482
349fa79f
AJ
354832012-04-05 Andreas Jaeger <aj@suse.de>
35484
35485 [BZ #13908]
35486 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35487 comment.
35488
f402708f
KK
354892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35490
35491 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35492 which ROUND is no valid rounding mode.
35493
2ecccfc9
KK
354942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35495
35496 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35497 read again.
35498 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35499
8a53f50f
KK
355002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35501
35502 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35503 an exception using FPU order intentionally.
35504
355052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35506
35507 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35508 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35509 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35510 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35511
d653abb7
SJ
355122012-04-05 Simon Josefsson <simon@josefsson.org>
35513
35514 [BZ #12340]
35515 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35516 EINVAL when BUFLEN is too smal.
35517
c3b1bf7d
TS
355182012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35519
35520 [BZ #13553]
35521 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35522 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35523
b1aa60f3
AJ
355242012-04-03 Andreas Jaeger <aj@suse.de>
35525
c3b1bf7d 35526 [BZ #13938]
67f60a26
AJ
35527 * manual/setjmp.texi (System V contexts): Fix sentence.
35528
b1aa60f3
AJ
35529 [BZ #13926]
35530 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35531 New macro for this case.
35532 [!__GNUC__] (__bswap_64): New inline function for this case.
35533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35534 * bits/byteswap.h: Likewise.
35535 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35536 ull, guard with __GLIBC_HAVE_LONG_LONG.
35537
35538 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35539 __GLIBC_HAVE_LONG_LONG.
35540
35541 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35542 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35543
39c59c35
TMQMF
355442012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35545
35546 [BZ #13691]
35547 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35548 inptr and inend, rather than using last_ch.
35549
135ffda8
DM
355502012-04-02 David S. Miller <davem@davemloft.net>
35551
35552 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35553 * stdio-common/printf-parse.h (read_int): Change return type to
35554 'int', return -1 on INT_MAX overflow.
35555 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35556 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35557 overflows INT_MAX. Check for overflow of in-format-string precision
35558 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35559 SIZE_MAX not INT_MAX for integer overflow test.
35560 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35561 skip the construct in the format string but do not record anything.
35562 * stdio-common/bug22.c: Adjust to test both width/prevision
35563 INT_MAX overflow as well as total length INT_MAX overflow. Check
35564 explicitly for proper errno values.
35565
228c019e
TS
355662012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35567
302cadd3
TS
35568 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35569 CHAR_MAX.
35570 * string/test-strcmp.c [! WIDE]: Likewise.
35571 * time/tst-mktime2.c: Likewise for INT_MAX.
35572 * string/test-string.h: #include <sys/param.h> for MIN.
35573
228c019e
TS
35574 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35575 * sysdeps/i386/init-first.c (init): Likewise.
35576 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35577 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35578 * sysdeps/sh/init-first.c (init): Likewise.
35579
cfa633f5
UD
355802012-04-01 Ulrich Drepper <drepper@gmail.com>
35581
35582 * po/ru.po: Update from translation team.
d1635ef8 35583 * po/vi.po: Likewise.
cfa633f5 35584
6cd0a5ea
SP
355852012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35586
35587 * resolv/nss_dns/dns-host.c: Merge copyright years.
35588
4b43400f
LD
355892012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35590
35591 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35592 Optimize memcpy with prefetch if
35593 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35594 src, dst pointers have unequal 16 byte alignments.
35595
48c41d04
SP
355962012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35597
35598 [BZ #13928]
35599 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35600 from a CNAME entry and return the minimum ttl for the query.
35601 (gaih_getanswer_slice): Likewise.
35602
b8dc394d
JL
356032012-03-30 Jeff Law <law@redhat.com>
35604
35605 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35606 due to long keys.
35607 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35608 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35609
2f5a5ed0
JL
35610 * resolv/nss_dns/dns-host.c: Update copyright year.
35611
1d39e359
UD
356122012-03-30 Ulrich Drepper <drepper@gmail.com>
35613
c030f70c 35614 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35615 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35616
1d39e359
UD
35617 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35618 comments for sendmmsg.
35619
356202012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35621
35622 [BZ #13691]
35623 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35624 with only 1 character between 0x0041 and 0x01b0.
35625 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35626 * wcsmbs/tst-mbsnrtowcs.c: New file.
35627
20fde227
DM
356282012-03-29 David S. Miller <davem@davemloft.net>
35629
35630 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35631 small copies by hand.
35632
984a4237
JL
356332012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35634
35635 [BZ #13761]
57f41c40
AS
35636 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35637 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35638 group memberships.
984a4237 35639
18c9d62b
DM
356402012-03-28 David S. Miller <davem@davemloft.net>
35641
88d85d4f
DM
35642 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35643 that branches into memcpy.
35644 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35647 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35649 bits.
35650 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35651 implementation too.
35652 * sysdeps/sparc/mempcpy.S: New file.
35653
e5aa83e1
DM
35654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35655 the IFUNC routine in the libc case.
35656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35657
88570753
DM
35658 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35659 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35660 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35661 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35662 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35663 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35664 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35665 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35666
249d7567
DM
35667 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35668 loop to 256 bytes instead of 64 bytes and fix test signedness.
35669
18c9d62b
DM
35670 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35671 * sysdeps/sparc/sparc32/Makefile: rather than here...
35672 * sysdeps/sparc/sparc64/Makefile: and here.
35673
05f3d1f6
UD
356742012-03-28 Ulrich Drepper <drepper@gmail.com>
35675
35676 * malloc/mallocbug.c: Avoid warnings about unused variables.
35677
86ae07a8
JL
356782012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35679
35680 [BZ #13760]
35681 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35682 in the right place. Discard and retry query if response is
35683 larger than input buffer size.
35684
41bf21a1
JM
356852012-03-28 Joseph Myers <joseph@codesourcery.com>
35686
d6270972
JM
35687 [BZ #369]
35688 [BZ #2678]
35689 [BZ #3866]
35690 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35691 x for large integer exponent.
35692 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35693 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35694 sign of result as needed afterwards.
35695 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35696 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35697 result for underflowing pow the same as for overflow.
35698 (__kernel_standard_l): Handle powl overflow and underflow here
35699 rather than calling __kernel_standard.
35700 * math/libm-test.inc (pow_test): Add more tests.
35701
414fca03 35702 [BZ #3868]
41bf21a1
JM
35703 [BZ #13879]
35704 [BZ #13910]
35705 [BZ #13911]
35706 [BZ #13912]
35707 [BZ #13913]
35708 [BZ #13915]
35709 [BZ #13916]
35710 [BZ #13917]
35711 [BZ #13918]
35712 [BZ #13919]
35713 [BZ #13920]
35714 [BZ #13921]
35715 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35716 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35717 (__kernel_standard_l): New function.
35718 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35719 __kernel_standard.
35720 * math/w_acosl.c (__acosl): Likewise.
35721 * math/w_asinl.c (__asinl): Likewise.
35722 * math/w_atan2l.c (__atan2l): Likewise.
35723 * math/w_atanhl.c (__atanhl): Likewise.
35724 * math/w_coshl.c (__coshl): Likewise.
35725 * math/w_exp10l.c (__exp10l): Likewise.
35726 * math/w_exp2l.c (__exp2l): Likewise.
35727 * math/w_fmodl.c (__fmodl): Likewise.
35728 * math/w_hypotl.c (__hypotl): Likewise.
35729 * math/w_j0l.c (__j0l, __y0l): Likewise.
35730 * math/w_j1l.c (__j1l, __y1l): Likewise.
35731 * math/w_jnl.c (__jnl, __ynl): Likewise.
35732 * math/w_lgammal.c (__lgammal): Likewise.
35733 * math/w_log10l.c (__log10l): Likewise.
35734 * math/w_log2l.c (__log2l): Likewise.
35735 * math/w_logl.c (__logl): Likewise.
35736 * math/w_powl.c (__powl): Likewise.
35737 * math/w_remainderl.c (__remainderl): Likewise.
35738 * math/w_scalbl.c (sysv_scalbl): Likewise.
35739 * math/w_sinhl.c (__sinhl): Likewise.
35740 * math/w_sqrtl.c (__sqrtl): Likewise.
35741 * math/w_tgammal.c (__tgammal): Likewise.
35742 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35743 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35744 * math/libm-test.inc (acos_test): Add more tests.
35745 (acosh_test): Likewise.
35746 (asin_test): Likewise.
35747 (atanh_test): Likewise.
35748 (exp_test): Likewise.
35749 (exp10_test): Likewise.
35750 (exp2_test): Likewise.
35751 (expm1_test): Likewise.
35752 (lgamma_test): Likewise.
35753 (log_test): Likewise.
35754 (log10_test): Likewise.
35755 (log1p_test): Likewise.
35756 (log2_test): Likewise.
35757 (pow_test): Do not allow some spurious overflow exceptions.
35758 (sqrt_test): Add more tests.
35759 (tgamma_test): Likewise.
35760 (y0_test): Likewise.
35761 (y1_test): Likewise.
35762 (yn_test): Likewise.
35763
dd62fda6
AB
357642012-03-27 Anton Blanchard <anton@samba.org>
35765
35766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35767 MAP_HUGETLB.
35768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35769 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35771
1e3cdfda
AJ
357722012-03-27 David S. Miller <davem@davemloft.net>
35773
b855ab85
DM
35774 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35775
1e3cdfda
AJ
35776 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35777 have-as-vis3 check.
35778
357792012-03-27 Andreas Jaeger <aj@suse.de>
35780
35781 * sysdeps/x86_64/elf/configure.in: Moved to ...
35782 * sysdeps/x86_64/configure.in: ... here.
35783 * sysdeps/x86_64/elf/start.S: Moved to ...
35784 * sysdeps/x86_64/start.S: ... here.
35785 * sysdeps/x86_64/elf/configure: Delete.
35786
35787 * sysdeps/x86_64/configure.in: Merge contents from
35788 sysdeps/i386/configure.in (without i686 check).
35789
35790 * sysdeps/i386/elf/Versions: Merge into ...
35791 * sysdeps/i386/Versions: ... this.
35792 * sysdeps/i386/elf/Versions: Delete file.
35793 * sysdeps/i386/elf/start.S: Moved to ...
35794 * sysdeps/i386/start.S: ...here.
35795 * sysdeps/i386/elf/configure.in: Merge into...
35796 * sysdeps/i386/configure.in: ...here.
35797 * sysdeps/i386/elf/configure.in: Delete file.
35798 * sysdeps/i386/elf/configure: Delete file.
35799
35800 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35801 * debug/backtracesyms.c: ... here.
35802 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35803 * debug/backtracesymsfd.c: ... here.
35804 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35805 * sysdeps/generic/ifunc-sel.h: ... here.
35806
35807 * sysdeps/unix/i386/start.c: Delete file.
35808 * sysdeps/unix/sparc/start.c: Delete file.
35809 * sysdeps/unix/start.c: Delete file.
35810
35811 * sysdeps/sh/elf/configure.in: Moved to ...
35812 * sysdeps/sh/configure.in: ... here.
35813 * sysdeps/sh/elf/start.S: Moved to ...
35814 * sysdeps/sh/start.S: ... here.
35815 * sysdeps/sh/elf/configure: Delete file.
35816
35817 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35818 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35819 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35820 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35821 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35822 * sysdeps/powerpc/powerpc64/start.S: here.
35823 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35824 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35825 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35826 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35827 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35828
35829 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35830 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35831 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35832 * sysdeps/powerpc/powerpc32/start.S: ... here.
35833 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35834 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35835 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35836
35837 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35838 * sysdeps/powerpc/ifunc-sel.h: ... here.
35839 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35840 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35841
35842 * sysdeps/sparc/elf/configure.in: Moved to ...
35843 * sysdeps/sparc/configure.in: ... here.
35844 * sysdeps/sparc/elf/configure: Delete file.
35845 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35846 * sysdeps/sparc/sparc32/start.S: ... here.
35847 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35848 * sysdeps/sparc/sparc64/start.S: ... here.
35849 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35850 * sysdeps/sparc/sparc32/Makefile: ... this.
35851 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35852 * sysdeps/sparc/sparc64/Makefile: ... this.
35853
35854 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35855 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35856 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35857 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35858 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35859 * sysdeps/s390/s390-32/setjmp.S: ... here.
35860 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35861 * sysdeps/s390/s390-32/configure.in: ... here.
35862 * sysdeps/s390/s390-32/elf/configure: Delete file.
35863 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35864 * sysdeps/s390/s390-32/start.S: ... here.
35865
35866 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35867 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35868 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35869 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35870 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35871 * sysdeps/s390/s390-64/setjmp.S: ... here.
35872 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35873 * sysdeps/s390/s390-64/configure.in: ... here
35874 * sysdeps/s390/s390-64/elf/configure: Delete file.
35875 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35876 * sysdeps/s390/s390-64/start.S: ... here.
35877 * sysdeps/s390/s390-64/elf/configure: Delete.
35878
35879 * configure.in: Remove support for elf directories in sysdeps.
35880
35881 * configure: Regenerated.
35882 * sysdeps/i386/configure: Regenerated.
35883 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35884 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35885 * sysdeps/s390/s390-32/configure: Regenerated.
35886 * sysdeps/s390/s390-64/configure: Regenerated.
35887 * sysdeps/sh/configure: Regenerated.
35888 * sysdeps/sparc/configure: Regenerated.
35889 * sysdeps/x86_64/configure: Regenerated.
35890
a3f61311
AS
358912012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35892
c876e002
AS
35893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35894
a3f61311
AS
35895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35896 denormal result into account.
35897
ac4c54f0
RM
358982012-03-25 Roland McGrath <roland@hack.frob.com>
35899
35900 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35901 Reported by Allan McRae <allan@archlinux.org>.
35902
6a9b9c02
JL
359032012-03-23 Jeff Law <law@redhat.com>
35904
35905 * nss/getnssent.c (__nss_getent): Fix typo.
35906
4c42a0c1
DM
359072012-03-23 David S. Miller <davem@davemloft.net>
35908
35909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35910
1532c7ac
L
359112012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35912
35913 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35914 to pad to uint64_t for each field.
35915 (dl_tls_index): Replace unsigned long with uint64_t.
35916
3ff42526
PP
359172012-03-23 Daniel Jacobowitz <dmj@google.com>
35918 Paul Pluzhnikov <ppluzhnikov@google.com>
35919
35920 [BZ #6528]
35921 * grp/Makefile (otherlibs): Don't set it.
35922 * inet/Makefile (otherlibs): Likewise.
35923 * login/Makefile (otherlibs): Likewise.
35924 * nscd/Makefile (otherlibs): Likewise.
35925 * posix/Makefile (otherlibs): Likewise.
35926 * pwd/Makefile (otherlibs): Likewise.
35927 * rt/Makefile (otherlibs): Likewise.
35928 * sunrpc/Makefile (otherlibs): Likewise.
35929 * nss/Makefile (otherlibs): Likewise.
35930 Add libnss_files to routines and static-only-routines.
35931 ($(objpfx)getent): Remove rule.
35932 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35933 static-only-routines.
35934
7c69cd14
JM
359352012-03-22 Joseph Myers <joseph@codesourcery.com>
35936
35937 [BZ #13892]
35938 * math/s_cexp.c: Include <float.h>.
35939 (__cexp): Handle exp result overflowing not necessarily
35940 overflowing both real and imaginary parts of result.
35941 * math/s_cexpf.c: Likewise.
35942 * math/s_cexpl.c: Likewise.
35943 * math/libm-test.inc (cexp_test): Add more tests.
35944 * sysdeps/i386/fpu/libm-test-ulps: Update.
35945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35946
81b035fe
L
359472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35948
35949 * include/link.h (ELFW): New macro.
35950 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35951 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35952
1da7940c
L
359532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35954
35955 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35956 with uint64_t.
35957
b749dbb9
L
359582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35959
35960 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35961 declaration.
35962 (struct La_x32_retval): Likewise.
35963
2ff87f3f
L
359642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35965
35966 * sysdeps/x86_64/preconfigure.in: New file.
35967 * sysdeps/x86_64/preconfigure: New generated file.
35968
c0df8e69
JM
359692012-03-22 Joseph Myers <joseph@codesourcery.com>
35970
48e44791
JM
35971 [BZ #13824]
35972 * math/e_exp2l.c: Include <float.h>.
35973 (__ieee754_exp2l): Handle overflow and underflow cases
35974 separately. Only pass fractional part of argument to
35975 __ieee754_expl.
35976 * math/libm-test.inc (exp2_test): Add more tests.
35977
c0df8e69
JM
35978 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35979 negating x to take absolute value.
35980 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35981 Likewise.
35982 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35983 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35984 Likewise.
35985 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35986 computing low part if x was negated.
35987 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35988
c8e43ba7
L
359892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35990
35991 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35992 la_x32_gnu_pltexit.
35993 (pltexit): Cast int_retval to ptrdiff_t.
35994 * elf/tst-auditmod3b.c: Likewise.
35995 * elf/tst-auditmod4b.c: Likewise.
35996 * elf/tst-auditmod5b.c: Likewise.
35997 * elf/tst-auditmod6b.c: Likewise.
35998 * elf/tst-auditmod6c.c: Likewise.
35999 * elf/tst-auditmod7b.c: Likewise.
36000
36001 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36002 and x32_gnu_pltexit.
36003
36004 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36005 __ELF_NATIVE_CLASS.
36006 (La_x32_regs): New macro.
36007 (La_x32_retval): Likewise.
36008 (la_x32_gnu_pltenter): New function prototype.
36009 (la_x32_gnu_pltexit): Likewise.
36010
7998fa78
AS
360112012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36012
dcb33988
AS
36013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36014 exponent.
36015
233fc563
AS
36016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36017
7998fa78
AS
36018 * configure.in (libc_cv_cc_nofma): Check for option to disable
36019 generation of FMA instructions.
36020 * configure: Regenerate.
36021 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36022 * sysdeps/ieee754/dbl-64/Makefile: New file.
36023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36024 Remove brandred-fma4.
36025 (CFLAGS-brandred-fma4.c): Remove.
36026 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36027 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36028 define.
36029 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36030 define.
36031
8e95c99a
L
360322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36033
36034 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36035 LLONG_MAX != LONG_MAX.
36036 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36037 (_fitoa_word): Likewise.
36038 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36039 LLONG_MAX != LONG_MAX.
36040 * stdio-common/_itowa.h: Include <_itoa.h>.
36041 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36042 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36043 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36044 only if not defined.
36045 (_ITOA_WORD_TYPE): Likewise.
36046 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36047 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36048
6f4db457
DM
360492012-03-21 David S. Miller <davem@davemloft.net>
36050
36051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36052
7785fe5a
L
360532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36054
36055 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36056 of x86_64 when setting libc_cv_slibdir, libdir and
36057 libc_cv_localedir.
36058 * sysdeps/unix/sysv/linux/configure: Regenerated.
36059
4535cd55
JM
360602012-03-21 Joseph Myers <joseph@codesourcery.com>
36061
36062 * manual/lang.texi (Old Varargs): Remove section.
36063 (How Variadic): Update menu.
36064 (va_start): Do not mention varargs.h.
36065
17228132
TS
360662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36067 Joseph Myers <joseph@codesourcery.com>
36068
36069 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36070 link test.
36071 * configure: Regenerated.
36072
8149f976
TS
360732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36074
05f3d1f6
UD
36075 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36076 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36077 conformtest.pl
8149f976 36078
1a4ac776
JM
360792012-03-21 Joseph Myers <joseph@codesourcery.com>
36080
be22ce65
JM
36081 * NOTES: Remove.
36082 * Makefile (files-for-dist): Remove NOTES.
36083 (NOTES): Remove rule.
36084 * README: Don't refer to NOTES.
36085 * manual/creature.texi: Don't include macros.texi.
36086 * manual/intro.texi (creature.texi): Remove comment referring to
36087 NOTES.
36088
40b601fb
JM
36089 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36090 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36091 * configure: Regenerated.
36092 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36093 LIBC_TRY_CC_OPTION.
36094 (libc_cv_as_i686): Likewise.
36095 (libc_cv_cc_avx): Likewise.
36096 (libc_cv_cc_sse2avx): Likewise.
36097 (libc_cv_cc_fma4): Likewise.
36098 (libc_cv_cc_novzeroupper): Likewise.
36099 * sysdeps/i386/configure: Regenerated.
36100
1a4ac776
JM
36101 [BZ #13883]
36102 * sysdeps/i386/fpu/s_cexp.S: Remove.
36103 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36104 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36105 * math/libm-test.inc (cexp_test): Add more tests.
36106 * sysdeps/i386/fpu/libm-test-ulps: Update.
36107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36108
a458e7fe
AM
361092012-03-21 Allan McRae <allan@archlinux.org>
36110
36111 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36112
0cb7efc5
JM
361132012-03-21 Joseph Myers <joseph@codesourcery.com>
36114
36115 [BZ #13871]
36116 * math/w_exp2.c: Do not include <float.h>.
36117 (o_threshold, u_threshold): Remove.
36118 (__exp2): Calculate result before checking finiteness and calling
36119 __kernel_standard.
36120 * math/w_exp2f.c: Likewise.
36121 * math/w_exp2l.c: Likewise.
36122 * math/libm-test.inc (exp2_test): Require overflow exception for
36123 1e6 input.
2460d3aa
JM
36124
36125 [BZ #3866]
36126 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36127 range of signed 64-bit integers before using fistpll. Remove
36128 checks for whether integers fit in mantissa bits.
36129 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36130 the range of signed 32-bit integers before using fistpl. Remove
36131 checks for whether integers fit in mantissa bits.
36132 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36133 (__ieee754_powl): Test for y outside the range of signed 64-bit
36134 integers before using fistpll. Reduce 64-bit values to 63-bit
36135 ones as needed.
36136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36137 divide-by-zero is raised for zero to large negative powers.
36138 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36139 (__ieee754_powl): Test for y outside the range of signed 64-bit
36140 integers before using fistpll. Reduce 64-bit values to 63-bit
36141 ones as needed.
36142 * math/libm-test.inc (pow_test): Add more tests.
36143
eb96ffb0
L
361442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36145
36146 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36147 <stdio-common/_itoa.h>.
36148 * debug/segfault.c: Likewise.
36149 * elf/dl-cache.c: Likewise.
36150 * elf/dl-minimal.c: Likewise.
36151 * elf/dl-misc.c: Likewise.
36152 * elf/dl-sysdep.c: Likewise.
36153 * elf/dl-version.c: Likewise.
36154 * elf/rtld.c: Likewise.
36155 * hurd/hurdsock.c: Likewise.
36156 * hurd/lookup-retry.c: Likewise.
36157 * malloc/malloc.c: Likewise.
36158 * malloc/mtrace.c: Likewise.
36159 * nscd/nscd_getgr_r.c: Likewise.
36160 * nscd/nscd_getpw_r.c: Likewise.
36161 * nscd/nscd_getserv_r.c: Likewise.
36162 * posix/getopt_init.c: Likewise.
36163 * posix/wordexp.c: Likewise.
36164 * stdio-common/_itoa.c: Likewise.
36165 * stdio-common/printf_fphex.c: Likewise.
36166 * stdio-common/vfprintf.c: Likewise.
36167 * string/_strerror.c: Likewise.
36168 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36169 * sysdeps/i386/i686/hp-timing.h: Likewise.
36170 * sysdeps/mach/_strerror.c: Likewise.
36171 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36172 * sysdeps/mach/hurd/sethostid.c: Likewise.
36173 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36174 * sysdeps/mach/xpg-strerror.c: Likewise.
36175 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36176 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36177 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36178 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36179 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36180 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36181 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36182 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36183 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36184 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36185 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36186 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36187 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36188 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36189 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36190 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36191 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36192 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36193 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36194 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36195 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36196
36197 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36198
36199 * stdio-common/_itoa.h: Moved to ...
36200 * sysdeps/generic/_itoa.h: Here.
36201
36202 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36203
36204 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36205 instead of "_itoa.h" and "_itowa.h".
36206 * stdio-common/vfprintf.: Likewise.
36207
d1af992d
L
362082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36209
36210 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36211 <bits/wordsize.h>.
36212 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36213 (__signbit): Likwise.
36214 (llrintf): Likwise.
36215 (llrint): Likwise.
36216
114883e0
L
362172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36218
36219 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36220 __WORDSIZE != 64.
36221
c135cc1b
JM
362222012-03-20 Joseph Myers <joseph@codesourcery.com>
36223
36224 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36225 OVERFLOW_EXCEPTION_OK.
36226 * math/libm-test.inc ("Philosophy"): Update comment about
36227 exception testing.
36228 (OVERFLOW_EXCEPTION): Define.
36229 (OVERFLOW_EXCEPTION_OK): Likewise.
36230 (INVALID_EXCEPTION_OK): Renumber.
36231 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36232 (IGNORE_ZERO_INF_SIGN): Likewise.
36233 (test_exceptions): Handle FE_OVERFLOW.
36234 (exp10_test): Expect overflow exceptions.
36235 (exp2_test): Likewise.
36236 (expm1_test): Likewise.
36237 (nextafter_test): Likewise.
36238 (pow_test): Likewise.
36239 (scalbn_test): Likewise.
36240 (scalbln_test): Likewise.
36241
95443d88
L
362422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36243
36244 * sysdeps/x86_64/bits/atomic.h
36245 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36246 64bit integer.
36247 (atomic_exchange_acq): Likewise.
36248 (__arch_exchange_and_add_body): Likewise.
36249 (__arch_add_body): Likewise.
36250 (atomic_add_negative): Likewise.
36251 (atomic_add_zero): Likewise.
36252
490df6c4
L
362532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36254
c2722551 36255 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
36256 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36257
5e52b189
L
362582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36259
36260 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36261 Check __x86_64__ instead of __WORDSIZE.
36262
a9879d4c
L
362632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36264
36265 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36266
5df98260
DM
362672012-03-19 David S. Miller <davem@davemloft.net>
36268
e1497744
DM
36269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36270
5df98260
DM
36271 * sysdeps/sparc/fpu/fenv_private.h: New file.
36272 * sysdeps/sparc/fpu/math_private.h: Use it.
36273 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36274 Remove.
57f41c40 36275 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
36276 (libc_feholdexcept_setroundl): Remove.
36277 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36278 Remove.
36279 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36280 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36281
b4c35121
L
362822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36283
36284 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36285 int64_t instead of long int.
36286 (INSERT_WORDS64): Likwise.
36287
56965fd7
L
362882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36289
36290 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36291 _Unwind_GetCFA return to _Unwind_Ptr first.
36292
83d1aec8
JM
362932012-03-19 Joseph Myers <joseph@codesourcery.com>
36294
1897ad44
JM
36295 [BZ #13629]
36296 * math/s_clog.c: Include <float.h>.
36297 (__clog): Scale large or subnormal inputs.
36298 * math/s_clogf.c: Likewise.
36299 * math/s_clogl.c: Likewise.
36300 * math/s_clog10.c: Include <float.h>.
36301 (M_LOG10_2): Define.
36302 (__clog10): Scale large or subnormal inputs.
36303 * math/s_clog10f.c: Likewise.
36304 * math/s_clog10l.c: Likewise.
36305 * math/libm-test.inc (clog_test): Add more tests.
36306 (clog10_test): Likewise.
36307 * sysdeps/i386/fpu/libm-test-ulps: Update.
36308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36309
7726d6a9
JM
36310 [BZ #11451]
36311 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36312 x and y.
36313 * math/libm-test.inc (atan2_test): Add another test.
36314
83d1aec8
JM
36315 * Makerules (common-objdir-compile): Remove.
36316 * sysdeps/unix/Makefile (config-generated): Do not add
36317 $(unix-generated) to variable.
36318 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36319 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36320 Remove rule.
36321 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36322 Likewise.
36323 [generic bits/local_lim.h] (before-compile): Do not append to
36324 variable.
36325 [generic bits/local_lim.h] (common-generated): Likewise.
36326 [generic sys/param.h] (before-compile): Do not append to variable.
36327 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36328 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36329 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36330 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36331 include.
36332 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36333 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36334 [generic sys/param.h] ($(addprefix
36335 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36336 [generic sys/param.h] (common-generated): Do not append to
36337 variable.
36338 [generic sys/param.h] (sysdep_headers): Likewise.
36339 [generic bits/errno.h] (before-compile): Do not append to
36340 variable.
36341 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36342 rule.
36343 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36344 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36345 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36346 [generic bits/errno.h] (common-generated): Do not append to
36347 variable.
36348 [generic bits/ioctls.h] (before-compile): Do not append to
36349 variable.
36350 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36351 rule.
36352 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36353 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36354 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36355 rule.
36356 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36357 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36358 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36359 [generic bits/ioctls.h] (common-generated): Do not append to
36360 variable.
36361 [generic sys/syscall.h] (syscall.h): Remove variable.
36362 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36363 rule.
36364 [generic sys/syscall.h] (before-compile): Do not append to
36365 variable.
36366 [generic sys/syscall.h] (common-generated): Likewise.
36367 * sysdeps/unix/errnos-tmpl.c: Remove file.
36368 * sysdeps/unix/errnos.awk: Likewise.
36369 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36370 * sysdeps/unix/ioctls.awk: Likewise.
36371 * sysdeps/unix/mk-local_lim.c: Likewise.
36372 * sysdeps/unix/snarf-ioctls: Likewise.
36373
4851a949
RH
363742012-03-19 Richard Henderson <rth@twiddle.net>
36375
bd37f2ee
RH
36376 * sysdeps/i386/fpu/fenv_private.h: New file.
36377 * sysdeps/i386/fpu/math_private.h: Use it.
36378 (math_opt_barrier, math_force_eval): Remove.
36379 (libc_feholdexcept_setround_53bit): Remove.
36380 (libc_feupdateenv_53bit): Remove.
36381 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36382 (math_opt_barrier, math_force_eval): Remove.
36383 (libc_feholdexcept): Remove.
36384 (libc_feholdexcept_setround): Remove.
36385 (libc_fetestexcept, libc_fesetenv): Remove.
36386 (libc_feupdateenv_test): Remove.
36387 (libc_feupdateenv, libc_feholdsetround): Remove.
36388 (libc_feresetround): Remove.
36389
d0adc922
RH
36390 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36391 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36392
0fe0f1f8
RH
36393 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36394 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36395 (libc_feupdateenv_testl): New.
36396 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36397 (libc_feupdateenv_testf): New.
36398 (libc_feupdateenv): Use libc_feupdateenv_test.
36399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36401
eb92c487
RH
36402 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36403 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36404 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36405 (libc_feresetround_noex): New.
36406 (libc_feresetround_noexf): New.
36407 (libc_feresetround_noexl): New.
36408 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36409 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36410 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36411 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36412 SET_RESTORE_ROUND.
36413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36415 (__cos): Likewise.
36416 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36417 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36418 SET_RESTORE_ROUND_NOEX.
36419 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36420 SET_RESTORE_ROUND_NOEXF.
36421 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36422 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36423 (libc_feholdsetroundf): New.
36424 (libc_feresetround, libc_feresetroundf): New.
36425
7d2e8012
RH
36426 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36427 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36428 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36429
b4dabbb4
RH
36430 * sysdeps/generic/math_private.h: Include <fenv.h>.
36431 (default_libc_feholdexcept): New.
36432 (default_libc_feholdexcept_setround): New.
36433 (default_libc_fesetenv, default_libc_feupdateenv): New.
36434 (libc_feholdexcept): Only define if undefined.
36435 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36436 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36437 (libc_feholdexcept_setroundl): Likewise.
36438 (libc_feholdexcept_setround_53bit): Likewise.
36439 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36440 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36441 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36442 (libc_feupdateenv_53bit): Likewise.
36443 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36444 (libc_feholdexcept): Convert from macro to inline function.
36445 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36446 (libc_fesetenv, libc_feupdateenv): Likewise.
36447
4851a949
RH
36448 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36449 not previously defined.
36450 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36451 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36452 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36453 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36454 * sysdeps/ieee754/flt-32/math_private.h: New file.
36455 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36456 math_private.h below SET_FLOAT_WORD.
36457 (__isnan, __isinf_ns, __finite): Remove.
36458 (__isnanf, __isinf_nsf, __finitef): Remove.
36459
e79d442e
AS
364602012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36461
36462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36463
90b80344
DM
364642012-03-17 David S. Miller <davem@davemloft.net>
36465
36466 [BZ #6471]
36467 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36468 for 2.16.
36469
edc21804
DM
364702012-03-16 David S. Miller <davem@davemloft.net>
36471
77e927af
DM
36472 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36473 warnings.
36474
374976dd
DM
36475 [BZ #6471]
36476 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36477 properly.
36478 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36479 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36480 sysdep_routines when subdir is sysvipc.
36481 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36482 __getshmlba helper.
36483
edc21804
DM
36484 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36485
473c3ef3
L
364862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36487
36488 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36489 [__LP64__].
36490
eb0f39b6
L
364912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36492
36493 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36494 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36495 (__lround): Renamed to ...
36496 (__llround): This. Replace long int with long long int.
36497 Define lround functions as aliases of llround functions.
36498 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36499
6b6cd74b
L
365002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36501
36502 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36503 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36504 adresses to uintptr_t. Replace "long int" and "unsigned long
36505 int" with "greg_t" on va_arg.
36506
f1a77b01
L
365072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36508
36509 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36510 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36511
36512 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36513 Move e_machine check before EI_CLASS check. Handle x32
36514 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36515 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36516 SKIP_EM_IA_64 and include
36517 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36518
36519 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36520 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36521 (add_system_dir): New macro.
36522
36523 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36524 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36525
11b90b9f
JM
365262012-03-16 Joseph Myers <joseph@codesourcery.com>
36527
c36e1d23
JM
36528 [BZ #2551]
36529 [BZ #2552]
36530 [BZ #2553]
36531 [BZ #2554]
36532 [BZ #2562]
36533 [BZ #2563]
36534 [BZ #2565]
36535 [BZ #2566]
36536 [BZ #2576]
36537 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36538 (y0): Likewise.
36539 * math/w_j0f.c (j0f): Likewise.
36540 (y0f): Likewise.
36541 * math/w_j0l.c (__j0l): Likewise.
36542 (__y0l): Likewise.
36543 * math/w_j1.c (j1): Likewise.
36544 (y1): Likewise.
36545 * math/w_j1f.c (j1f): Likewise.
36546 (y1f): Likewise.
36547 * math/w_j1l.c (__j1l): Likewise.
36548 (__y1l): Likewise.
36549 * math/w_jn.c (jn): Likewise.
36550 (yn): Likewise.
36551 * math/w_jnf.c (jnf): Likewise.
36552 (ynf): Likewise.
36553 * math/w_jnl.c (__jnl): Likewise.
36554 (__ynl): Likewise.
36555 * math/libm-test.inc (j0_test): Add more tests.
36556 (j1_test): Likewise.
36557 (jn_test): Likewise. Add trailing semicolon to existing test.
36558 (y0_test): Likewise.
36559 (y1_test): Likewise.
36560 * sysdeps/i386/fpu/libm-test-ulps: Update.
36561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36562
11b90b9f
JM
36563 [BZ #13851]
36564 [BZ #13854]
36565 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36566 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36567 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36568 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36569 (__tanl): Set errno for infinite argument.
36570 * sysdeps/i386/fpu/mptan.c: Remove.
36571 * sysdeps/i386/fpu/s_tan.S: Likewise.
36572 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36573 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36574 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36575 * math/libm-test.inc (tan_test): Add more tests and enable more
36576 tests for double and long double.
36577 * sysdeps/i386/fpu/libm-test-ulps: Update.
36578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36579
6a1bd2a1
JK
365802012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36581
36582 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36583 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36584
10a803e0
RM
365852012-03-16 Roland McGrath <roland@hack.frob.com>
36586
36587 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36588 * configure.in: Use it for both main tree and add-ons.
36589 * configure: Regenerated.
36590
f196c7f7
L
365912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36592
36593 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36594
8848d99d
JM
365952012-03-16 Joseph Myers <joseph@codesourcery.com>
36596
96cbe7f4
JM
36597 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36598 in comment.
36599
8848d99d
JM
36600 [BZ #13851]
36601 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36602 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36603 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36604 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36605 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36606 infinite argument.
36607 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36609 != 0 for prec == 2.
36610 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36611 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36612 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36613 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36614 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36615 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36616 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36617 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36618 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36619 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36620 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36621 * math/libm-test.inc (cos_test): Add more tests and enable more
36622 tests for long double.
36623 (sin_test): Likewise.
36624 (sincos_test): Likewise.
36625 * sysdeps/i386/fpu/libm-test-ulps: Update.
36626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36627
dd7f4703
DM
366282012-03-16 David S. Miller <davem@davemloft.net>
36629
36630 * sysdeps/sparc/fpu/math_private.h: New file.
36631
006f1daa
DM
366322012-03-15 David S. Miller <davem@davemloft.net>
36633
c0c83bc8
DM
36634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36635 file.
e6a62e18 36636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36638 file.
e6a62e18
DM
36639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36645 sysdep routines.
36646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36647
88cb87d9
DM
36648 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36649 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36650
006f1daa 36651 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36653 sparc-ifunc.h
006f1daa 36654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36656 Likewise.
36657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36658 Likewise.
006f1daa
DM
36659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36663 Likewise.
006f1daa
DM
36664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36669 Likewise.
36670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36671 Likewise.
006f1daa
DM
36672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36692 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36696
11e0098e
AS
366972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36698
36699 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36700 scaling.
36701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36702
e85b09d0
AJ
367032012-03-15 Andreas Jaeger <aj@suse.de>
36704
36705 [BZ #13852]
36706 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36707 ieee754/flt-32 implementation for sin, cos and sincos.
36708 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36709 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36710 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36711 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36712 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36713 ieee754/flt-32 implementation for tan.
36714
36715 * math/libm-test.inc (cos_test): Enable some large input tests for
36716 float as well
36717 (sin_test): Likewise.
36718 (sincos_test): Likewise.
36719 (tan_test): Add tests for large input.
36720
36721 * sysdeps/i386/fpu/libm-test-ulps: Update.
36722
81c64153
AJ
367232012-03-15 Andreas Jaeger <aj@suse.de>
36724
36725 [BZ #13658]
36726 * math/libm-test.inc (cos_test): Add more test cases.
36727 (sin_test): Likewise.
36728 (sincos_test): Likewise.
36729
7bbfa5c6
AJ
367302012-03-15 Andreas Jaeger <aj@suse.de>
36731
36732 [BZ #13837]
36733 * math/libm-test.inc (cos_test): Add a test case for large input
36734 value.
36735 (sin_test): Likewise.
36736 (sincos_test): Likewise.
36737
57f41c40
AS
367382012-03-15 Andreas Jaeger <aj@suse.de>
36739 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36740
36741 [BZ #13658]
0671f479 36742 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36743 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36744 * sysdeps/i386/fpu/branred.c: Likewise.
36745 * sysdeps/i386/fpu/dosincos.c: Likewise.
36746 * sysdeps/i386/fpu/mpa.c: Likewise.
36747 * sysdeps/i386/fpu/s_cos.S: Likewise.
36748 * sysdeps/i386/fpu/s_sin.S: Likewise.
36749 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36750 * sysdeps/i386/fpu/sincos32.c: Likewise.
36751
36752 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36753 Define.
36754 (libc_feupdateenv_53bit): Define.
36755 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36756 Define.
36757 (libc_feupdateenv_53bit): Define.
36758
36759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36760 53 bit (without extend i386 double precision).
36761
36762 * math/libm-test.inc (sincos_test): Add tests for large input.
36763 (sin): Likewise.
36764 (cos): Likewise.
36765
36766 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36767
9cad04ea
AS
367682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36769
36770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36771
f7062b9a
DM
367722012-03-15 David S. Miller <davem@davemloft.net>
36773
36774 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36775 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36776 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36777 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36790 file.
f7062b9a 36791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36793 file.
f7062b9a 36794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36796 file.
f7062b9a 36797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36799 file.
f7062b9a
DM
36800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36802 fmin/fmax sysdep routines.
36803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36804
7bd951ff
DM
368052012-03-14 David S. Miller <davem@davemloft.net>
36806
559398ab
DM
36807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36836 routines.
36837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36838 file.
559398ab 36839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36841 file.
559398ab 36842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36844 file.
559398ab 36845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36847 file.
559398ab 36848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36850 file.
559398ab 36851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36853 file.
36854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36855 file.
36856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36857 file.
36858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36859 file.
36860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36861 New file.
36862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36863 file.
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36865 file.
559398ab 36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36868 file.
559398ab 36869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36871 file.
559398ab 36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36874 file.
559398ab 36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36877 VIS3 routines.
559398ab
DM
36878
36879 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36880 New file.
36881
5a1c1e32
DM
36882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36883
eae47a36
DM
36884 * sysdeps/sparc/configure.in: New file.
36885 * sysdeps/sparc/configure: Generate.
36886 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36887 * configure: Regenerate.
36888 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36889 * config.make.in (have-as-vis3): New.
36890 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36891 available use -Av9d instead of -Av9a.
36892 * sysdeps/sparc/sparc64/Makefile: Likewise.
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36895 New file.
36896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36897 file.
36898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36899 New file.
36900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36901 file.
eae47a36
DM
36902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36907
c0c83bc8
DM
36908 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36909 fzeros/fnegs to load 0x80000000 into a float register instead of
36910 using the stack.
7bd951ff
DM
36911 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36912
bd951ccb
JM
369132012-03-14 Joseph Myers <joseph@codesourcery.com>
36914
36915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36916 bits/syscall.h.
36917 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36918 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36919 ($(inst_includedir)/bits/syscall.h): Remove rule.
36920 ($(objpfx)bits/syscall.d): Include instead of
36921 $(objpfx)syscall-list.d.
36922 (generated): Change syscall-list.h and syscall-list.d to
36923 bits/syscall.h and bits/syscall.d.
36924
bb4e6db2
RM
369252012-03-14 Roland McGrath <roland@hack.frob.com>
36926
36927 [BZ #13846]
36928 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36929
aa4a2ae1
JM
369302012-03-14 Joseph Myers <joseph@codesourcery.com>
36931
e456826d
JM
36932 [BZ #13841]
36933 * math/s_csqrt.c: Include <float.h>.
36934 (__csqrt): Scale large or subnormal inputs.
36935 * math/s_csqrtf.c: Likewise.
36936 * math/s_csqrtl.c: Likewise.
36937 * math/libm-test.inc (csqrt_test): Add more tests.
36938 * sysdeps/i386/fpu/libm-test-ulps: Update.
36939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36940
aa4a2ae1
JM
36941 [BZ #13840]
36942 * math/libm-test.inc (hypot_test): Add more tests.
36943
7c10fd35
DM
369442012-03-13 David S. Miller <davem@davemloft.net>
36945
36946 [BZ #13840]
36947 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36948 double-precision for the calculation instead of scaling.
36949
f453b98b
JM
369502012-03-13 Joseph Myers <joseph@codesourcery.com>
36951
36952 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36953 manipulate bits before adding and subtracting TWO52[sx].
36954 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36955 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36956 Likewise.
36957 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36958
09a3453f
DM
369592012-03-13 David S. Miller <davem@davemloft.net>
36960
8e59da90
DM
36961 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36962 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36964 rtld-global-offsets.h
36965 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36966
2a8ab7f2
DM
36967 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36968 large parameters.
36969
10f62770
DM
36970 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36971
5f0bdb18
DM
36972 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36973 'err' in the ifdef scope in which it is actually used.
36974
09a3453f
DM
36975 * nss/nss_db/db-init.c: Include string.h
36976
b4b2eb5e
DM
369772012-03-12 David S. Miller <davem@davemloft.net>
36978
98bb2f1c
DM
36979 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36980 masking out of the most significant byte of random value used.
36981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36982 Fix coding style in previous change.
36983
b4b2eb5e
DM
36984 * sysdeps/unix/sysv/linux/kernel-features.h
36985 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36986 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36987 expression.
36988 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36989 later.
36990
6e226b09
DM
369912012-03-11 David S. Miller <davem@davemloft.net>
36992
a1bcbd40
DM
36993 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36994 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36996 for 'resultvar' otherwise things get truncated on 64-bit.
36997
cb9d6174
DM
36998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36999 Fix masking out of the most significant byte of random value used.
37000
6e226b09
DM
37001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37002
058c132d
AS
370032012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37004
37005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37006
2d2cd515
DM
370072012-03-09 David S. Miller <davem@davemloft.net>
37008
37009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37010 variables with appropriate CPP guards.
57f41c40
AS
37011 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37012 from the frame pointer, not the stack pointer. Correct layout
37013 comments. Fix test on resulting framesize and the management of
37014 the outregs buffer for pltexit. Preserve floating point return
37015 values across _dl_call_pltexit call.
2d2cd515
DM
37016 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37017 framesize and the management of the outregs buffer for pltexit.
37018 Preserve floating point return values across _dl_call_pltexit
37019 call.
57f41c40
AS
37020 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37021 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37022 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37023 (print_exit): Fix format string for return register value.
37024
9a07f9d0
JM
370252012-03-10 Joseph Myers <joseph@codesourcery.com>
37026
37027 * sunrpc/Makefile (others): Add rpcgen.
37028 ($(objpfx)rpcgen): Remove special build rule and dependency on
37029 libc.
37030 * sunrpc/rpcgen.c: New file.
37031
547b5e30
PE
370322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37033
c524201a
PE
37034 [BZ #13673]
37035 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37036 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37037 * sysdeps/i386/crti.S: Likewise.
37038 * sysdeps/i386/crtn.S: Likewise.
37039 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37040 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37041 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37042 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37043 * sysdeps/sh/crti.S: Likewise.
37044 * sysdeps/sh/crtn.S: Likewise.
37045 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37046
7b6235f2
PE
37047 [BZ #13673]
37048 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37049 with URL.
37050 * locale/programs/locfile-kw.gperf: Likewise.
37051 * locale/programs/charmap-kw.h: Regenerated.
37052 * locale/programs/locfile-kw.h: Likewise.
37053
547b5e30
PE
37054 [BZ #13673]
37055 * intl/plural.y: Replace FSF snail mail address with URL.
37056 * intl/plural.c: Regenerated.
37057
5f0a5dae
RH
370582012-03-09 Richard Henderson <rth@twiddle.net>
37059
37060 * include/math_private.h: Remove file.
37061 * math/math_private.h: Move file ...
37062 * sysdeps/generic/math_private.h: ... here.
37063
b8c03620
RH
37064 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37065 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37066 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37067
4e234f5d 37068 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37069 and <math_private.h>.
37070 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37071 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37072 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37073 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37074 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37158 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37159 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37161 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37163 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37164 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37165 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37166 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37167 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37168 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37169 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37170 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37171 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37172 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37173 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37174 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37175 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37176 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37177 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37178 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37180 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37181 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37182 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37186 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37187 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37189 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37190 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37191 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37192 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37196 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37204 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37219 * sysdeps/ieee754/k_standard.c: Likewise.
37220 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37339 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37340 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37342 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37347 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37380 * sysdeps/ieee754/s_lib_version.c: Likewise.
37381 * sysdeps/ieee754/s_matherr.c: Likewise.
37382 * sysdeps/ieee754/s_signgam.c: Likewise.
37383 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37385 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37386 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37387 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37388 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37389 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37390 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37391 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37392 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37393 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37394 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37395 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37396 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37397 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37398 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37399 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37400 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37401 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 37404
1991fa03
JM
374052012-03-09 Joseph Myers <joseph@codesourcery.com>
37406
37407 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37408 * sunrpc/rpc_main.c: Likewise.
37409 * sunrpc/rpc_svcout.c: Likewise.
37410
60d6f5a6
DM
374112012-03-09 David S. Miller <davem@davemloft.net>
37412
37413 * include/math_private.h: New file.
37414
4962050e
JM
374152012-03-09 Joseph Myers <joseph@codesourcery.com>
37416
02a6f887
JM
37417 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37418 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37419 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37420 from <bits/socket_type.h>.
37421 (enum __socket_type): Don't define here.
37422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37424 bits/socket_type.h.
37425
c6e013c1
JM
37426 [BZ #13566]
37427 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37428 checking __USE_GNU.
37429
4962050e
JM
37430 * Makerules ($(inst_includedir)/%.h): New rule.
37431 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37432 (install-others): Remove variable setting.
37433 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37434
38842f45
RH
374352012-03-08 Richard Henderson <rth@twiddle.net>
37436
67bb6da6
RH
37437 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37438 from macro to inline function; merge with the
37439 !__LIBC_INTERNAL_MATH_INLINES version.
37440 (__ieee754_sqrtf): Likewise.
37441
15194b4b
RH
37442 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37443 to inline function.
37444 (__rintf, __floor, __floorf): Likewise.
37445
64e21ede
RH
37446 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37447 macro to inline function.
37448 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37449
38842f45
RH
37450 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37451 not <math/math_private.h>.
37452
c64bf5fe
DM
374532012-03-08 David S. Miller <davem@davemloft.net>
37454
37455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37456 copyright year.
37457 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37458
82d86f28
TS
374592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37460
37461 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37462 normalization.
37463 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37464 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37465
aea5d727
UD
374662012-03-08 Ulrich Drepper <drepper@gmail.com>
37467
37468 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37469 be defined individually, they must be defined as a block. Define
37470 S for printing a string instead of hidint the different by using a
37471 macro for adding the 'l'.
37472 * stdio-common/tst-fphex-wide.c: Adjust.
37473
70bca0a3
MP
374742012-03-07 Marek Polacek <polacek@redhat.com>
37475
37476 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37477
65b81130
MP
374782012-03-08 Marek Polacek <polacek@redhat.com>
37479
37480 [BZ #13806]
37481 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37482 * stdio-common/tst-fphex.c: Define a few macros to make the
37483 test reusable. Use them.
37484 * stdio-common/tst-fphex-wide.c: New file.
37485
07037eeb
JM
374862012-03-08 Joseph Myers <joseph@codesourcery.com>
37487
a7a93d50
JM
37488 [BZ #6911]
37489 * manual/macros.texi (gnusystems): New macro.
37490 (nongnusystems): Likewise.
37491 (gnulinuxhurdsystems): Likewise.
37492 (gnuhurdsystems): Likewise..
37493 (gnulinuxsystems): Likewise.
37494 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37495 variants of the GNU system, not "GNU system".
37496 * manual/conf.texi: Likewise.
37497 * manual/errno.texi: Likewise. Update example of errno macro
37498 expansion.
37499 * manual/filesys.texi: Likewise.
37500 (getumask): Document as specific to GNU/Hurd.
37501 * manual/install.texi: Likewise. Reword some references to
37502 GNU/Linux.
37503 * manual/intro.texi: Likewise.
37504 * manual/io.texi: Likewise.
37505 (File Name Portability): Detail which constraints are inapplicable
37506 to all GNU systems and which are only inapplicable to GNU/Hurd.
37507 * manual/job.texi: Likewise.
37508 * manual/llio.texi: Likewise.
37509 (O_NOCTTY): Document as present on GNU/Linux.
37510 * manual/maint.texi: Likewise.
37511 * manual/memory.texi: Likewise.
37512 * manual/pattern.texi: Likewise.
37513 * manual/pipe.texi: Likewise.
37514 * manual/process.texi: Likewise.
37515 * manual/resource.texi: Likewise.
37516 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37517 child on GNU/Hurd.
37518 * manual/setjmp.texi: Likewise.
37519 * manual/signal.texi: Likewise.
37520 * manual/startup.texi: Likewise.
37521 * manual/stdio.texi: Likewise.
37522 * manual/terminal.texi: Likewise.
37523 (ONLCR): Document as POSIX.
37524 (OXTABS): Document availability on GNU/Linux as XTABS.
37525 (ONOEOT): Document availability separately from other bits.
37526 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37527 * manual/time.texi: Likewise.
37528 * manual/users.texi: Likewise.
37529 * INSTALL: Regenerated.
37530 * sysdeps/gnu/errlist.c: Regenerated.
37531
07037eeb
JM
37532 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37533 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37534 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37535 puts.
37536 * configure: Regenerated.
37537
d1d3431a
JM
375382012-03-07 Joseph Myers <joseph@codesourcery.com>
37539
af6a1e37
JM
37540 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37541 default includes instead of AC_HEADER_CHECK.
37542 * sysdeps/i386/configure: Regenerated.
37543
d1d3431a
JM
37544 [BZ #10716]
37545 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37546 * math/s_cacoshf.c (__cacoshf): Likewise.
37547 * math/s_cacoshl.c (__cacoshl): Likewise.
37548 * math/s_casinh.c (__casinh): Set signs of result from argument.
37549 * math/s_casinhf.c (__casinhf): Likewise.
37550 * math/s_casinhl.c (__casinhl): Likewise.
37551 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37552 (casinh_test): Add more tests.
37553 * sysdeps/i386/fpu/libm-test-ulps: Update.
37554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37555
482ff4da
UD
375562012-03-07 Ulrich Drepper <drepper@gmail.com>
37557
872fda05
UD
37558 * po/zh_TW.po: Update from translation team.
37559
a4300c7a
UD
37560 * login/Makefile (distribute): Remove variable.
37561 * catgets/Makefile: Likewise.
37562 * mach/Makefile: Likewise.
37563 * malloc/Makefile: Likewise.
37564 * misc/Makefile: Likewise.
37565 * iconv/Makefile: Likewise.
37566 * nscd/Makefile: Likewise.
37567 * hurd/Makefile: Likewise.
37568 * manual/Makefile: Likewise.
37569 * locale/Makefile: Likewise.
37570 * intl/Makefile: Likewise.
37571 * conform/Makefile: Likewise.
37572 * nss/Makefile: Likewise.
37573 * time/Makefile: Likewise.
37574 * soft-fp/Makefile: Likewise.
37575 * dirent/Makefile: Likewise.
37576 * gmon/Makefile: Likewise.
37577 * po/Makefile: Likewise.
37578 * rt/Makefile: Likewise.
37579 * socket/Makefile: Likewise.
37580 * math/Makefile: Likewise.
37581 * signal/Makefile: Likewise.
37582 * debug/Makefile: Likewise.
37583 * elf/Makefile: Likewise.
37584 * timezone/Makefile: Likewise.
37585 * stdlib/Makefile: Likewise.
37586 * iconvdata/Makefile: Likewise.
37587 * sunrpc/Makefile: Likewise.
37588 * io/Makefile: Likewise.
37589 * argp/Makefile: Likewise.
37590 * inet/Makefile: Likewise.
37591 * hesiod/Makefile: Likewise.
37592 * grp/Makefile: Likewise.
37593 * csu/Makefile: Likewise.
37594 * wctype/Makefile: Likewise.
37595 * crypt/Makefile: Likewise.
37596 * libio/Makefile: Likewise.
37597 * string/Makefile: Likewise.
37598 * nis/Makefile: Likewise.
37599 * resolv/Makefile: Likewise.
37600 * stdio-common/Makefile: Likewise.
37601 * wcsmbs/Makefile: Likewise.
37602 * dlfcn/Makefile: Likewise.
37603 * posix/Makefile: Likewise.
37604
3b7c4e74 37605 [BZ #6959]
482ff4da
UD
37606 * timezone/Makefile: Don't install timezone files, just the programs
37607 and scripts.
37608
f72ed77d
UD
376092012-03-06 Ulrich Drepper <drepper@gmail.com>
37610
a000466f
UD
37611 * nss/databases.def: Add missing gshadow entry.
37612
f72ed77d
UD
37613 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37614
a53b7a4e
MP
376152012-03-06 Marek Polacek <polacek@redhat.com>
37616
37617 [BZ #13726]
37618 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37619 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37620 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37621 * stdio-common/tst-long-dbl-fphex.c: New file.
37622
e9258400
DM
376232012-03-06 David S. Miller <davem@davemloft.net>
37624
37625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37626 (set_obp_int): New function.
37627 (get_obp_int): New function.
37628 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37630 Avoid unused variable warnings on 'val' and use builtin_expect.
37631 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37632 __builtin_expect.
e9258400
DM
37633 (INLINE_CLONE_SYSCALL): Likewise.
37634
3bd2c723
DM
376352012-03-05 David S. Miller <davem@davemloft.net>
37636
37637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37638
bbb78d03
AS
376392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37640
884c5db4
AS
37641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37642
bbb78d03
AS
37643 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37644 only for |x| >= 40.
37645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37646
1c9f702a 376472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37648
37649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37650 Replace gettimeofday with __vdso_gettimeofday.
37651
7be16f82
RM
37652 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37653 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37654 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37655
37656 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37657 time with __vdso_time.
37658
ed58a00f
JM
376592012-03-05 Joseph Myers <joseph@codesourcery.com>
37660
37661 * manual/lang.texi (size_t): Note types to which size_t may be
37662 equivalent with the GNU C Library, but do not describe when
37663 differences between them are significant.
37664
30ee4ced
AJ
376652012-03-05 Andreas Jaeger <aj@suse.de>
37666
37667 * sysdeps/i386/fpu/libm-test-ulps: Update.
37668
b7cd39e8
JM
376692012-03-05 Joseph Myers <joseph@codesourcery.com>
37670
37671 [BZ #3976]
37672 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37673 (__ieee754_pow): Save and restore rounding mode and use
37674 round-to-nearest for main computations.
37675 * math/libm-test.inc (pow_test_tonearest): New function.
37676 (pow_test_towardzero): Likewise.
37677 (pow_test_downward): Likewise.
37678 (pow_test_upward): Likewise.
37679 (main): Call the new functions.
37680 * sysdeps/i386/fpu/libm-test-ulps: Update.
37681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37682
37683 [BZ #3976]
37684 * math/libm-test.inc (cosh_test_tonearest): New function.
37685 (cosh_test_towardzero): Likewise.
37686 (cosh_test_downward): Likewise.
37687 (cosh_test_upward): Likewise.
37688 (sinh_test_tonearest): Likewise.
37689 (sinh_test_towardzero): Likewise.
37690 (sinh_test_downward): Likewise.
37691 (sinh_test_upward): Likewise.
37692 (main): Call the new functions.
37693 * sysdeps/i386/fpu/libm-test-ulps: Update.
37694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37695
6c6a98c9
TV
376962012-03-05 Tom de Vries <tom@codesourcery.com>
37697
37698 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37699 default stack guard is set in last bytes.
37700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37701
21bb2d2e 377022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37703
21bb2d2e 37704 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37705
21bb2d2e
AJ
37706 [BZ #13656]
37707 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37708 possibly allocate from heap instead of stack.
37709 * stdio-common/bug-vfprintf-nargs.c: New file.
37710 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37711
c6922934
AS
377122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37713
37714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37715
bc957d53
MP
377162012-03-03 Marek Polacek <polacek@redhat.com>
37717
37718 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37719 * math/math_private.h: Likewise.
37720 * stdlib/tst-strtod.c: Likewise.
37721 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37722 * sysdeps/x86_64/bits/atomic.h: Likewise.
37723
6358490d
DM
377242012-03-02 David S. Miller <davem@davemloft.net>
37725
37726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37730 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37731 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37732 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37733 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37734
01ae168d
RM
377352012-03-02 Roland McGrath <roland@hack.frob.com>
37736
d9a17c07
RM
37737 [BZ #13792]
37738 * manual/examples/README: New file, says the example source files
37739 can be used under GPL>=2.
37740 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37741 line containing just "*/".
37742 * manual/examples/add.c: Add copyright header (GPL>=2).
37743 * manual/examples/argp-ex1.c: Likewise.
37744 * manual/examples/argp-ex2.c: Likewise.
37745 * manual/examples/argp-ex3.c: Likewise.
37746 * manual/examples/argp-ex4.c: Likewise.
37747 * manual/examples/atexit.c: Likewise.
37748 * manual/examples/db.c: Likewise.
37749 * manual/examples/dir.c: Likewise.
37750 * manual/examples/dir2.c: Likewise.
37751 * manual/examples/execinfo.c: Likewise.
37752 * manual/examples/filecli.c: Likewise.
37753 * manual/examples/filesrv.c: Likewise.
37754 * manual/examples/fmtmsgexpl.c: Likewise.
37755 * manual/examples/genpass.c: Likewise.
37756 * manual/examples/inetcli.c: Likewise.
37757 * manual/examples/inetsrv.c: Likewise.
37758 * manual/examples/isockad.c: Likewise.
37759 * manual/examples/longopt.c: Likewise.
37760 * manual/examples/memopen.c: Likewise.
37761 * manual/examples/memstrm.c: Likewise.
37762 * manual/examples/mkfsock.c: Likewise.
37763 * manual/examples/mkisock.c: Likewise.
37764 * manual/examples/mygetpass.c: Likewise.
37765 * manual/examples/pipe.c: Likewise.
37766 * manual/examples/popen.c: Likewise.
37767 * manual/examples/rprintf.c: Likewise.
37768 * manual/examples/search.c: Likewise.
37769 * manual/examples/select.c: Likewise.
37770 * manual/examples/setjmp.c: Likewise.
37771 * manual/examples/sigh1.c: Likewise.
37772 * manual/examples/sigusr.c: Likewise.
37773 * manual/examples/stpcpy.c: Likewise.
37774 * manual/examples/strdupa.c: Likewise.
37775 * manual/examples/strftim.c: Likewise.
37776 * manual/examples/strncat.c: Likewise.
37777 * manual/examples/subopt.c: Likewise.
37778 * manual/examples/swapcontext.c: Likewise.
37779 * manual/examples/termios.c: Likewise.
37780 * manual/examples/testopt.c: Likewise.
37781 * manual/examples/testpass.c: Likewise.
37782 * manual/examples/timeval_subtract.c: Likewise.
37783
01ae168d
RM
37784 [BZ #13792]
37785 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37786 function to ...
37787 * manual/timeval_subtract.c.texi: ... here, new file.
37788
49efa33d
DM
377892012-03-02 David S. Miller <davem@davemloft.net>
37790
37791 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37792
28afd92d
JM
377932012-03-02 Joseph Myers <joseph@codesourcery.com>
37794
804360ed
JM
37795 [BZ #3976]
37796 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37797 (__sin): Save and restore rounding mode and use round-to-nearest
37798 for all computations.
37799 (__cos): Save and restore rounding mode and use round-to-nearest
37800 for all computations.
37801 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37802 <fenv.h>.
37803 (tan): Save and restore rounding mode and use round-to-nearest for
37804 all computations.
37805 * math/libm-test.inc (cos_test_tonearest): New function.
37806 (cos_test_towardzero): Likewise.
37807 (cos_test_downward): Likewise.
37808 (cos_test_upward): Likewise.
37809 (sin_test_tonearest): Likewise.
37810 (sin_test_towardzero): Likewise.
37811 (sin_test_downward): Likewise.
37812 (sin_test_upward): Likewise.
37813 (tan_test_tonearest): Likewise.
37814 (tan_test_towardzero): Likewise.
37815 (tan_test_downward): Likewise.
37816 (tan_test_upward): Likewise.
37817 (main): Call the new functions.
37818 * sysdeps/i386/fpu/libm-test-ulps: Update.
37819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37820
a6d06d7b
JM
37821 [BZ #10135]
37822 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37823 small n, then large n, before computing and testing k+n.
37824 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37825 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37826 Likewise.
37827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37828 Likewise.
37829 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37830 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37832 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37836 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37837 * math/libm-test.inc (scalbn_test): Add more tests.
37838 (scalbln_test): Likewise.
37839
07e12bb3
JM
37840 * manual/filesys.texi (mode_t): Describe constraints on size and
37841 signedness, not exact equivalence to a particular type.
37842 (ino_t): Likewise.
37843 (ino64_t): Likewise.
37844 (dev_t): Likewise.
37845 (nlink_t): Likewise.
37846 (blkcnt_t): Likewise.
37847 (blkcnt64_t): Likewise.
37848 * manual/llio.texi (off_t): Likewise.
37849
28afd92d
JM
37850 [BZ #3976]
37851 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37852 (__ieee754_exp): Save and restore rounding mode and use
37853 round-to-nearest for all computations.
37854 * math/libm-test.inc (exp_test_tonearest): New function.
37855 (exp_test_towardzero): Likewise.
37856 (exp_test_downward): Likewise.
37857 (exp_test_upward): Likewise.
37858 (main): Call the new functions.
37859 * sysdeps/i386/fpu/libm-test-ulps: Update.
37860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37861
b1eeb65d
CD
378622012-03-01 Chris Demetriou <cgd@google.com>
37863
37864 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37865 have predictable order.
37866
53362a4b
DM
378672012-03-01 David S. Miller <davem@davemloft.net>
37868
3c969083
DM
37869 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37870
759707de
DM
37871 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37872 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37873 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37874 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37875
dfdb8ff2
DM
37876 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37877 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37878 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37880 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37881 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37882 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37883 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37884 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37885
ead89f96
DM
37886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37887
7f66bd07
DM
37888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37889 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37891
53362a4b
DM
37892 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37893 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37894 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37895 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37896 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37900 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37901 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37902 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37903 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37905 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37906 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37908 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37909 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37910 * sysdeps/sparc/elf/configure: Regenerated.
37911
7b1902cb
JM
379122012-03-01 Joseph Myers <joseph@codesourcery.com>
37913
bec039bc
JM
37914 * configure.in (AS, LD): Require binutils 2.20 or later.
37915 * configure: Regenerated.
37916 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37917 as required minimum version.
37918 * INSTALL: Regenerated.
37919
7b1902cb
JM
37920 [BZ #2541]
37921 [BZ #4108]
37922 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37923 before squaring exponent.
37924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37925 bottom long double and 27 bits of top long double before squaring
37926 exponent.
37927 * math/libm-test.inc (erfc_test): Add more tests.
37928 * sysdeps/i386/fpu/libm-test-ulps: Update.
37929 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37931
f775c276
KT
379322012-03-01 Kai Tietz <ktietz@redhat.com>
37933
37934 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37935 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37936 containing bit-fields.
37937 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37938 * soft-fp/single.h (_FP_UNION_S): Likewise.
37939 * soft-fp/double.h (_FP_UNION_D): Likewise.
37940
5b8a4d4a
JM
379412012-02-29 Joseph Myers <joseph@codesourcery.com>
37942
0bab47b6
JM
37943 [BZ #13786]
37944 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37945 not include ../strcmp.S.
37946 [USE_AS_STRNCASECMP_L]: Likewise.
37947 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37948 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37949 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37950 (__strncasecmp_l_ia32): Define as alias to
37951 __strncasecmp_l_nonascii.
37952
0fcad3e2
JM
37953 [BZ #5794]
37954 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37955 * sysdeps/i386/fpu/libm-test-ulps: Update.
37956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37957
5b8a4d4a
JM
37958 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37960
8fdceb2e
JL
379612012-02-29 Jeff Law <law@redhat.com>
37962
37963 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37964 out of bounds read.
37965
1f393a11
MP
379662012-02-29 Marek Polacek <polacek@redhat.com>
37967
37968 [BZ #13706]
37969 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37970 * elf/Makefile: Add rules to run tst-unused-dep.out.
37971
8847f037
DM
379722012-02-28 David S. Miller <davem@davemloft.net>
37973
37974 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37975 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37978 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37979 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37980
169d7f11
JM
379812012-02-29 Joseph Myers <joseph@codesourcery.com>
37982
37983 * math/libm-test.inc (llround_test): Move one test from
37984 lround_test. Use TEST_f_L in moved test.
37985 (lround_test): Move misplaced test to llround_test. Add testcase
37986 from bug 2561.
37987
39adf059
UD
379882012-02-28 Ulrich Drepper <drepper@gmail.com>
37989
37990 * sysdeps/x86_64/fpu/e_expf.S: New file.
37991 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37992
71b5d1c5
SB
379932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37994
37995 [BZ #13637]
37996 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37997 of remain_len that may cause incomplete multi-byte character and
37998 false match.
37999 * posix/bug-regex33.c: New file.
38000 * posix/Makefile (tests): Add bug-regex33.
38001
1f77f049
JM
380022012-02-28 Joseph Myers <joseph@codesourcery.com>
38003
38004 * manual/macros.texi: New file.
38005 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38006 * manual/libc.texinfo: Include macros.texi.
38007 * manual/creatute.texi: Likewise.
38008 * manual/install.texi: Likewise.
38009 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38010 @glibcadj{} in references to the GNU C Library.
38011 * manual/charset.texi: Likewise.
38012 * manual/conf.texi: Likewise.
38013 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38014 when not using those macros.
38015 * manual/creature.texi: Likewise.
38016 * manual/crypt.texi: Likewise.
38017 * manual/errno.texi: Likewise.
38018 * manual/filesys.texi: Likewise.
38019 * manual/header.texi: Likewise.
38020 * manual/install.texi: Likewise.
38021 * manual/intro.texi: Likewise.
38022 * manual/io.texi: Likewise.
38023 * manual/job.texi: Likewise.
38024 * manual/lang.texi: Likewise.
38025 * manual/libc.texiinfo: Likewise.
38026 * manual/llio.texi: Likewise.
38027 * manual/locale.texi: Likewise.
38028 * manual/maint.texi: Likewise.
38029 * manual/math.texi: Likewise.
38030 * manual/memory.texi: Likewise.
38031 * manual/message.texi: Likewise.
38032 * manual/nss.texi: Likewise.
38033 * manual/pattern.texi: Likewise.
38034 * manual/process.texi: Likewise.
38035 * manual/resource.texi: Likewise.
38036 * manual/search.texi: Likewise.
38037 * manual/setjmp.texi: Likewise.
38038 * manual/signal.texi: Likewise.
38039 * manual/socket.texi: Likewise.
38040 * manual/startup.texi: Likewise.
38041 * manual/stdio.texi: Likewise.
38042 * manual/string.texi: Likewise.
38043 * manual/sysinfo.texi: Likewise.
38044 * manual/syslog.texi: Likewise.
38045 * manual/terminal.texi: Likewise.
38046 * manual/time.texi: Likewise.
38047 * manual/users.texi: Likewise.
38048 * INSTALL: Regenerated.
38049 * NOTES: Regenerated.
d40c5d54 38050 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38051
450bf206
AS
380522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38053
38054 * include/dirent.h: Include <dirstream.h> before
38055 <dirent/dirent.h>.
38056
741a235b
DM
380572012-02-28 David S. Miller <davem@davemloft.net>
38058
38059 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38060 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38061 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38062 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38063
d6b5aa58
DM
380642012-02-27 David S. Miller <davem@davemloft.net>
38065
1aff59a3
DM
38066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38068 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38069 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38070
d6b5aa58
DM
38071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38072 frame pointer instead of stack pointer relative arg slot.
38073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38076
433f48bf
CD
380772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38078
38079 [BZ #3992]
38080 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38081
d674b76d
DM
380822012-02-27 David S. Miller <davem@davemloft.net>
38083
38084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38090 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38091 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38092
0e7727f7
JM
380932012-02-27 Joseph Myers <joseph@codesourcery.com>
38094
38095 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38096 later. Allow versions 5-9.
43be4ca2 38097 * configure: Regenerated.
0e7727f7
JM
38098 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38099 required minimum version and 4.6 as recommended version. Do not
38100 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38101 * INSTALL: Regenerated.
0e7727f7 38102
a78bc654
DM
381032012-02-27 David S. Miller <davem@davemloft.net>
38104
428d5830
DM
38105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38109 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38110 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38111 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38112 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38113
a78bc654
DM
38114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38115 manipulate bits before adding and subtracting TWO112[sx].
38116 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38117
4579f81c
RM
381182012-02-27 Roland McGrath <roland@hack.frob.com>
38119
36c8acb4
RM
38120 [BZ #13775]
38121 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38122 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38123 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38124 being in POSIX, because they are in 1003.1-2008.
38125
84ad622b
RM
38126 * rt/tst-aio.c: Include <fcntl.h>.
38127 * rt/tst-aio7.c: Likewise.
38128 * rt/tst-aio64.c: Likewise.
38129
4579f81c
RM
38130 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38131
abd923db
JM
381322012-02-27 Joseph Myers <joseph@codesourcery.com>
38133
38134 * manual/install.texi (--with-headers): Describe headers as
38135 interface headers, not private headers.
38136 (Specific advice for GNU/Linux systems): Describe use of headers
38137 from "make headers_install", not private headers from older
38138 kernels.
43be4ca2 38139 * INSTALL: Regenerated.
abd923db
JM
38140 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38141 Change to 2.6.19.
38142 * sysdeps/unix/sysv/linux/configure: Regenerated.
38143
6664049b
JM
38144 * manual/llio.texi (fclean): Remove documentation.
38145
bb8b6697
JM
38146 * manual/Makefile (libc-texi-generated): New variable. Include
38147 version.texi.
38148 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38149 $(libc-texi-generated), not duplicated list of files.
38150 (version.texi, stamp-version): New rules.
38151 (realclean): Remove $(libc-texi-generated), not individual files
38152 from that list. Do not remove dir-add.texinfo.
38153 * manual/libc.texinfo: Comment out uses of edition numbers and
38154 references to printed manual. Remove last-updated dates.
38155 (EDITION): Comment out.
38156 (ISBN): Likewise.
38157 (VERSION, UPDATED): Remove.
38158 (version.texi): Include.
38159
12e5c3b9
AS
381602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38161
38162 * sysdeps/posix/spawni.c: Include <signal.h>.
38163 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38164 * sysdeps/pthread/aio_fsync.c: Likewise.
38165
4efeffc1 381662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38167
ba63ba08
UD
38168 * conform/Makefile (tests): Run only when not cross-compiling and
38169 when fast-check is not defined.
38170
d94a4670
UD
38171 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38172 * conform/data/limits.h-data: Fixes for POSIX2008.
38173 * conform/run-conformtest.sh: Run all tests.
38174 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38175 headers.
38176 * include/bits/dlfcn.h: Likewise.
38177 * include/langinfo.h: Likewise.
38178 * include/monetary.h: Likewise.
38179 * include/sys/poll.h: Likewise.
38180
38181 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38182 for __USE_GNU.
38183 * posix/spawn.h: Define __need_sigset_t.
38184 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38185 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38186 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38187 to get sigevent_t only.
38188 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38189 only for __USE_GNU.
38190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38191 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38192 process_vm_writev only for __USE_GNU.
38193 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38194
38195 * conform/Makefile: For now ignore errors from run-conformtest.
38196 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38197 POSIX to avoid namespace pollution. Don't prepend headers.
38198 * conform/data/aio.h-data: Fixes for POSIX testing.
38199 * conform/data/fcntl.h-data: Likewise.
38200 * conform/data/glob.h-data: Likewise.
38201 * conform/data/grp.h-data: Likewise.
38202 * conform/data/pthread.h-data: Likewise.
38203 * conform/data/pwd.h-data: Likewise.
38204 * conform/data/signal.h-data: Likewise.
38205 * conform/data/spawn.h-data: Likewise.
38206 * conform/data/stdio.h-data: Likewise.
38207 * conform/data/stdlib.h-data: Likewise.
38208 * conform/data/stropts.h-data: Likewise.
38209 * conform/data/sys/mman.h-data: Likewise.
38210 * conform/data/sys/stat.h-data: Likewise.
38211 * conform/data/sys/types.h-data: Likewise.
38212 * conform/data/sys/wait.h-data: Likewise.
38213 * conform/data/time.h-data: Likewise.
38214 * conform/data/unistd.h-data: Likewise.
38215 * conform/data/utime.h-data: Likewise.
38216
38217 * io/sys/stat.h: fchmod was always in POSIX.
38218 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38219 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38220 * rt/aio.h: Define __need_timespec before including <time.h>.
38221 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38222 struct. Add forward declaration of pthread_attr_t and use it in
38223 sigevent.
38224 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38225 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38226 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38227 always remove CLK_TCK definition.
38228
c20105c3
AS
382292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38230
38231 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38232
7a270350
UD
382332012-02-25 Ulrich Drepper <drepper@gmail.com>
38234
31341567
UD
38235 * conform/run-conformtest.sh: New file.
38236 * conform/Makefile: Run run-conformtest for tests.
38237 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38238 support.
38239
38240 * conform/data/uchar.h-data: New file.
38241 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38242 * conform/data/arpa/inet.h-data: Likewise.
38243 * conform/data/assert.h-data: Likewise.
38244 * conform/data/complex.h-data: Likewise.
38245 * conform/data/cpio.h-data: Likewise.
38246 * conform/data/ctype.h-data: Likewise.
38247 * conform/data/dirent.h-data: Likewise.
38248 * conform/data/dlfcn.h-data: Likewise.
38249 * conform/data/errno.h-data: Likewise.
38250 * conform/data/fcntl.h-data: Likewise.
38251 * conform/data/float.h-data: Likewise.
38252 * conform/data/fmtmsg.h-data: Likewise.
38253 * conform/data/fnmatch.h-data: Likewise.
38254 * conform/data/ftw.h-data: Likewise.
38255 * conform/data/glob.h-data: Likewise.
38256 * conform/data/grp.h-data: Likewise.
38257 * conform/data/iconv.h-data: Likewise.
38258 * conform/data/inttypes.h-data: Likewise.
38259 * conform/data/langinfo.h-data: Likewise.
38260 * conform/data/libgen.h-data: Likewise.
38261 * conform/data/limits.h-data: Likewise.
38262 * conform/data/locale.h-data: Likewise.
38263 * conform/data/math.h-data: Likewise.
38264 * conform/data/monetary.h-data: Likewise.
38265 * conform/data/mqueue.h-data: Likewise.
38266 * conform/data/ndbm.h-data: Likewise.
38267 * conform/data/net/if.h-data: Likewise.
38268 * conform/data/netdb.h-data: Likewise.
38269 * conform/data/netinet/in.h-data: Likewise.
38270 * conform/data/nl_types.h-data: Likewise.
38271 * conform/data/poll.h-data: Likewise.
38272 * conform/data/pthread.h-data: Likewise.
38273 * conform/data/pwd.h-data: Likewise.
38274 * conform/data/regex.h-data: Likewise.
38275 * conform/data/sched.h-data: Likewise.
38276 * conform/data/search.h-data: Likewise.
38277 * conform/data/semaphore.h-data: Likewise.
38278 * conform/data/setjmp.h-data: Likewise.
38279 * conform/data/signal.h-data: Likewise.
38280 * conform/data/spawn.h-data: Likewise.
38281 * conform/data/stdarg.h-data: Likewise.
38282 * conform/data/stdio.h-data: Likewise.
38283 * conform/data/stdlib.h-data: Likewise.
38284 * conform/data/string.h-data: Likewise.
38285 * conform/data/strings.h-data: Likewise.
38286 * conform/data/stropts.h-data: Likewise.
38287 * conform/data/sys/ipc.h-data: Likewise.
38288 * conform/data/sys/mman.h-data: Likewise.
38289 * conform/data/sys/msg.h-data: Likewise.
38290 * conform/data/sys/resource.h-data: Likewise.
38291 * conform/data/sys/select.h-data: Likewise.
38292 * conform/data/sys/sem.h-data: Likewise.
38293 * conform/data/sys/shm.h-data: Likewise.
38294 * conform/data/sys/socket.h-data: Likewise.
38295 * conform/data/sys/stat.h-data: Likewise.
38296 * conform/data/sys/statvfs.h-data: Likewise.
38297 * conform/data/sys/time.h-data: Likewise.
38298 * conform/data/sys/timeb.h-data: Likewise.
38299 * conform/data/sys/times.h-data: Likewise.
38300 * conform/data/sys/types.h-data: Likewise.
38301 * conform/data/sys/uio.h-data: Likewise.
38302 * conform/data/sys/un.h-data: Likewise.
38303 * conform/data/sys/utsname.h-data: Likewise.
38304 * conform/data/sys/wait.h-data: Likewise.
38305 * conform/data/syslog.h-data: Likewise.
38306 * conform/data/tar.h-data: Likewise.
38307 * conform/data/termios.h-data: Likewise.
38308 * conform/data/utime.h-data: Likewise.
38309 * conform/data/utmpx.h-data: Likewise.
38310 * conform/data/varargs.h-data: Likewise.
38311 * conform/data/wchar.h-data: Likewise.
38312 * conform/data/wctype.h-data: Likewise.
38313 * conform/data/wordexp.h-data: Likewise.
38314
38315 * include/stropts.h: New file.
38316 * include/uchar.h: New file.
38317 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38318 * include/assert.h: Likewise.
38319 * include/ctype.h: Likewise.
38320 * include/dirent.h: Likewise.
38321 * include/dlfcn.h: Likewise.
38322 * include/fcntl.h: Likewise.
38323 * include/fnmatch.h: Likewise.
38324 * include/glob.h: Likewise.
38325 * include/grp.h: Likewise.
38326 * include/libio.h: Likewise.
38327 * include/locale.h: Likewise.
38328 * include/math.h: Likewise.
38329 * include/net/if.h: Likewise.
38330 * include/netdb.h: Likewise.
38331 * include/netinet/in.h: Likewise.
38332 * include/pthread.h: Likewise.
38333 * include/pwd.h: Likewise.
38334 * include/regex.h: Likewise.
38335 * include/sched.h: Likewise.
38336 * include/search.h: Likewise.
38337 * include/setjmp.h: Likewise.
38338 * include/signal.h: Likewise.
38339 * include/stdio.h: Likewise.
38340 * include/stdlib.h: Likewise.
38341 * include/string.h: Likewise.
38342 * include/sys/cdefs.h: Likewise.
38343 * include/sys/mman.h: Likewise.
38344 * include/sys/msg.h: Likewise.
38345 * include/sys/resource.h: Likewise.
38346 * include/sys/select.h: Likewise.
38347 * include/sys/socket.h: Likewise.
38348 * include/sys/stat.h: Likewise.
38349 * include/sys/statvfs.h: Likewise.
38350 * include/sys/time.h: Likewise.
38351 * include/sys/times.h: Likewise.
38352 * include/sys/uio.h: Likewise.
38353 * include/sys/utsname.h: Likewise.
38354 * include/sys/wait.h: Likewise.
38355 * include/termios.h: Likewise.
38356 * include/time.h: Likewise.
38357 * include/ulimit.h: Likewise.
38358 * include/unistd.h: Likewise.
38359 * include/utime.h: Likewise.
38360 * include/wchar.h: Likewise.
38361 * include/wctype.h: Likewise.
38362 * include/wordexp.h: Likewise.
38363
38364 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38365
7a270350
UD
38366 * time/time.h: TIME_UTC must be a macro.
38367 Make timespec_get available for ISO C11 only as well.
38368
7724defc
UD
383692012-02-24 Ulrich Drepper <drepper@gmail.com>
38370
38371 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38372 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38373
6b1d1d46
JM
383742012-02-24 Joseph Myers <joseph@codesourcery.com>
38375
38376 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 38377
0f8bbd69
JM
383782012-02-24 Joseph Myers <joseph@codesourcery.com>
38379
38380 * manual/texinfo.tex: Update to version 2012-01-19.16.
38381
66ab80bc
JM
383822012-02-24 Joseph Myers <joseph@codesourcery.com>
38383
38384 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38385
74981cc5
RM
383862012-02-24 Roland McGrath <roland@hack.frob.com>
38387
ee968201
RM
38388 [BZ #13738]
38389 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38390 * manual/fdl-1.3.texi: New file.
38391 * manual/fdl-1.1.texi: File removed.
38392
74981cc5
RM
38393 [BZ #13738]
38394 * manual/libc.texinfo (FDL_VERSION): New @set.
38395 Use it for mention of FDL in cover text.
38396 (Documentation License): Use it in @include file name.
38397
7bb764bc
JM
383982012-02-22 Joseph Myers <joseph@codesourcery.com>
38399 Roland McGrath <roland@hack.frob.com>
38400
38401 [BZ #5461]
57f41c40
AS
38402 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38403 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
38404 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38405 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38406 name.
38407 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38408
6cbeae47
JM
384092012-02-22 Joseph Myers <joseph@codesourcery.com>
38410
38411 [BZ #2547]
38412 [BZ #11365]
38413 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38414 manipulate bits before adding and subtracting TWO23[sx].
38415 * math/libm-test.inc (nearbyint_test): Add more tests.
38416
fe45ce09
JM
384172012-02-22 Joseph Myers <joseph@codesourcery.com>
38418
38419 [BZ #2548]
38420 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38421 bits before adding and subtracting TWO23[sx].
38422 * math/libm-test.inc (rint_test): Add more tests.
38423 (rint_test_tonearest): Likewise.
38424 (rint_test_towardzero): Likewise.
38425 (rint_test_downward): Likewise.
38426 (rint_test_upward: Likewise.
38427
ff3b3d82
JM
384282012-02-22 Joseph Myers <joseph@codesourcery.com>
38429
38430 [BZ #10110]
38431 * include/stdc-predef.h: New file. Extracted from features.h.
38432 * include/features.h: Include stdc-predef.h.
38433 * Makefile (headers): Add stdc-predef.h.
38434 * CONFORMANCE (Compiler limitations): Update.
38435
ef0aab35
JM
384362012-02-22 Joseph Myers <joseph@codesourcery.com>
38437
38438 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38439
58639409
DM
384402012-02-21 David S. Miller <davem@davemloft.net>
38441
38442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38444
c0e70b25
DM
384452012-02-20 David S. Miller <davem@davemloft.net>
38446
38447 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38448 using a normal save/restore sequence, rather than allocating a
38449 dummy stack frame just to store a frame pointer and restore.
38450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38451
fb06851d
JM
384522012-02-21 Joseph Myers <joseph@codesourcery.com>
38453
38454 * manual/install.texi: Fix stray word in line-wrapped comment.
38455
7a8b71c3
DM
384562012-02-20 David S. Miller <davem@davemloft.net>
38457
d510c123
DM
38458 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38459 both binutils and gcc support GOTDATA.
38460
0722d7c2
DM
38461 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38462 "rd %pc" in the PIC register setup sequences.
38463
3d2b3019
DM
38464 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38465 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38466 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38467 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38468 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38470 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38473 (SYSCALL_ERROR_HANDLER): Likewise.
38474 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38475 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38477 (SYSCALL_ERROR_HANDLER): Likewise.
38478
c80098a9
DM
38479 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38480 (HAVE_GCC_GOTDATA): New.
38481 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38482 relocation support in both binutils and gcc.
38483 * sysdeps/sparc/elf/configure: Regenerate.
38484
3a2545a0
DM
38485 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38486 * sysdeps/sparc/sparc32/elf/configure: Delete.
38487 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38488 * sysdeps/sparc/sparc64/elf/configure: Delete.
38489 * sysdeps/sparc/elf/configure.in: New file.
38490 * sysdeps/sparc/elf/configure: Generate.
38491
7a8b71c3
DM
38492 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38493 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38494 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38495 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38496 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38497
f1e86fca
JM
384982012-02-21 Joseph Myers <joseph@codesourcery.com>
38499
38500 * manual/install.texi: Do not mention specific glibc version
38501 numbers.
38502 * manual/libc.texinfo (VERSION, UPDATED): Update.
38503 (@copying): Use @copyright{} and range of years.
38504
0e7dfaef
JM
385052012-02-21 Joseph Myers <joseph@codesourcery.com>
38506
38507 [BZ #13695]
38508 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38509 [crti.S not in sysdirs] (generated): Do not append.
38510 [crti.S not in sysdirs] (omit-deps): Likewise.
38511 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38512 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38513 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38514 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38515 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38516 Likewise.
38517 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38518 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38519 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38520 * csu/defs.awk: Remove file.
38521 * sysdeps/generic/initfini.c: Likewise.
38522 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38523 variable.
38524 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38525 Likewise.
38526
599af3ca
JM
385272012-02-20 Joseph Myers <joseph@codesourcery.com>
38528
38529 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38530 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38531 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38533 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38534 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38535 <bits/epoll.h>.
38536 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38537 (__EPOLL_PACKED): Define to empty if not defined by
38538 <bits/epoll.h>.
38539 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38541 bits/epoll.h.
38542
0e499750
JM
385432012-02-20 Joseph Myers <joseph@codesourcery.com>
38544
38545 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38546 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38547 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38548 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38549 <bits/timerfd.h>.
38550 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38552 bits/timerfd.h.
38553
5ad91f6e
JM
385542012-02-20 Joseph Myers <joseph@codesourcery.com>
38555
38556 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38557 in C locale.
38558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38559 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38560 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38562
06b99b02
AJ
385632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38564
38565 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38566 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38567
7638c0fd
AS
385682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38569
38570 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38571 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38572 defined.
38573 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38574 Likewise.
38575 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38576 entry for 2.16.
38577
92221550
AJ
385782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38579
38580 * math/w_acos.c: Use non-signaling floating-point comparisons.
38581 * math/w_acosf.c: Likewise.
38582 * math/w_acosh.c: Likewise.
38583 * math/w_acoshf.c: Likewise.
38584 * math/w_acoshl.c: Likewise.
38585 * math/w_acosl.c: Likewise.
38586 * math/w_asin.c: Likewise.
38587 * math/w_asinf.c: Likewise.
38588 * math/w_asinl.c: Likewise.
38589 * math/w_atanh.c: Likewise.
38590 * math/w_atanhf.c: Likewise.
38591 * math/w_atanhl.c: Likewise.
38592 * math/w_exp2.c: Likewise.
38593 * math/w_exp2f.c: Likewise.
38594 * math/w_exp2l.c: Likewise.
38595 * math/w_j0.c: Likewise.
38596 * math/w_j0f.c: Likewise.
38597 * math/w_j0l.c: Likewise.
38598 * math/w_j1.c: Likewise.
38599 * math/w_j1f.c: Likewise.
38600 * math/w_j1l.c: Likewise.
38601 * math/w_jn.c: Likewise.
38602 * math/w_jnf.c: Likewise.
38603 * math/w_log.c: Likewise.
38604 * math/w_log10.c: Likewise.
38605 * math/w_log10f.c: Likewise.
38606 * math/w_log10l.c: Likewise.
38607 * math/w_log2.c: Likewise.
38608 * math/w_log2f.c: Likewise.
38609 * math/w_log2l.c: Likewise.
38610 * math/w_logf.c: Likewise.
38611 * math/w_logl.c: Likewise.
38612 * math/w_sqrt.c: Likewise.
38613 * math/w_sqrtf.c: Likewise.
38614 * math/w_sqrtl.c: Likewise.
38615 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38616 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38618 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38619 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38620
ebaf36eb
JM
386212012-02-19 Joseph Myers <joseph@codesourcery.com>
38622
38623 [BZ #9739]
38624 * manual/string.texi (strnlen): Use correct parameter name in
38625 equivalent expression.
38626
71c254a6
JM
386272012-02-19 Joseph Myers <joseph@codesourcery.com>
38628
38629 [BZ #11174]
38630 * manual/users.texi (seteuid): Consistently use neweuid for
38631 argument name.
38632
16d2c631
JM
386332012-02-19 Joseph Myers <joseph@codesourcery.com>
38634
38635 [BZ #13704]
38636 * manual/nss.texi (Services in the NSS configuration): Correct
38637 list of services in example configuration file.
38638
cd837b09
NB
386392012-02-19 Nick Bowler <nbowler@draconx.ca>
38640
38641 [BZ #11322]
38642 * manual/arith.texi: Remove statements about negative zero
38643 behaving identically to zero.
38644
02c4bbad
JM
386452012-02-18 Joseph Myers <joseph@codesourcery.com>
38646
38647 [BZ #5993]
38648 * manual/install.texi: Do not document upgrading from libc5.
38649
366842e7
JM
386502012-02-18 Joseph Myers <joseph@codesourcery.com>
38651
38652 [BZ #4596]
38653 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38654
dd54084d
DM
386552012-02-18 David S. Miller <davem@davemloft.net>
38656
38657 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38658 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38659 %o7 across the call.
38660 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38661 instead.
38662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38663 SETUP_PIC_REG_LEAF.
38664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38665 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38666 * sysdeps/sparc/crtn.S: Likewise.
38667
2bcc53a3
UD
386682012-02-17 Ulrich Drepper <drepper@gmail.com>
38669
38670 * aout/Makefile: Remove.
38671
09c093b5
RK
386722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38673
38674 [BZ #13058]
38675 * manual/examples/argp-ex1.c (main): Format definition in GNU
38676 style.
38677 * manual/examples/argp-ex2.c (main): Likewise.
38678 * manual/examples/argp-ex3.c (main): Likewise.
38679 * manual/examples/argp-ex4.c (main): Likewise.
38680 * manual/examples/longopt.c (main): Use new-style prototype
38681 definition.
38682 * manual/examples/strncat.c (main): Specify return type and use
38683 (void) for arguments.
38684 * manual/examples/subopt.c (main): Use char **argv argument.
38685
2ee633a2
JM
386862012-02-17 Joseph Myers <joseph@codesourcery.com>
38687
38688 [BZ #5077]
38689 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38690 rounding modes.
38691
0520adde
FB
386922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38693
38694 [BZ #6907]
38695 * manual/string.texi (strchr): Change when strchrnul is
38696 recommended.
38697
3f4081cd
DGM
386982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38699
38700 [BZ #174]
38701 * manual/locale.texi (setlocale): Document LOCPATH.
38702
d1b10e78
JM
387032012-02-17 Joseph Myers <joseph@codesourcery.com>
38704
38705 [BZ #10210]
38706 * manual/process.texi (execle): Move @dots{} before last argument.
38707
79c6869c
PB
387082012-02-17 Paul Bolle <pebolle@tiscali.nl>
38709
38710 [BZ #12047]
38711 * manual/charset.texi (Generic Charset Conversion): Fix typo
38712 (LC_TYPE -> LC_CTYPE).
38713
cc6e48bc
NB
387142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38715
38716 [BZ #5805]
38717 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38718 (scalbnf): Likewise.
38719 (scalbnl): Likewise.
38720 (scalbln): Likewise.
38721 (scalblnf): Likewise.
38722 (scalblnl): Likewise.
38723 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38724 (vwarnx): Likewise.
38725 (verr): Likewise.
38726 (verrx): Likewise.
38727 * manual/filesys.texi (telldir): Use braces around return type.
38728 * manual/llio.texi (mmap): Add space after comma.
38729 (mmap64): Likewise.
38730 * manual/math.texi (jn): Use @var{} on parameter names.
38731 (jnf): Likewise.
38732 (jnl): Likewise.
38733 (yn): Likewise.
38734 (ynf): Likewise.
38735 (ynl): Likewise.
38736 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38737 line.
38738 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38739 "...".
38740 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38741 (sched_get_priority_max): Likewise.
38742 * manual/signal.texi (sigvec): Add space after comma.
38743 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38744 names.
38745 (if_indextoname): Likewise.
38746 (if_freenameindex): Likewise.
38747 (sendto): Use ',' instead of '.' in prototype.
38748 * manual/startup.texi (syscall): Use @dots{} instead of literal
38749 "...".
38750 * manual/stdio.texi (__fpending): Separate initial words of
38751 paragraph from @deftypefun line.
38752 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38753 "...".
38754 (vsyslog): Use @var{} on parameter names.
38755 * manual/terminal.texi (stty): Use @var{} on parameter names.
38756 * manual/users.texi (getutmp): Use @var{} on parameter names.
38757 (getutmpx): Likewise.
38758
5b23062f
JM
387592012-02-17 Joseph Myers <joseph@codesourcery.com>
38760
38761 [BZ #6884]
38762 * manual/stdio.texi (fopen): Fix typos in description of
38763 ",ccs=STRING".
38764
8dee4833
AJ
387652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38766
38767 [BZ #4026]
38768 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38769 get clock_id definition.
38770
9078ce93
TS
387712012-02-17 Thomas Schwinge <thomas@schwinge.name>
38772
38773 [BZ #4822]
38774 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38775 (madvise): Cast every argument to void on its own.
38776
3835c55f
JM
387772012-02-17 Joseph Myers <joseph@codesourcery.com>
38778
38779 [BZ #9902]
38780 * manual/startup.texi (Exit Status): Fix typo.
38781
35c47e37
JM
387822012-02-17 Joseph Myers <joseph@codesourcery.com>
38783
38784 [BZ #10140]
38785 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38786 * manual/examples/argp-ex2.c: Likewise.
38787 * manual/examples/argp-ex3.c: Likewise.
38788
e3b69ca7
RH
387892012-02-16 Richard Henderson <rth@redhat.com>
38790
38791 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38792 * sysdeps/s390/s390-32/initfini.c: Remove.
38793 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38794 * sysdeps/s390/s390-64/initfini.c: Remove.
38795
df83af67
KK
387962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38797
38798 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38799 compiler output for sysdeps/generic/initfini.c.
38800 * sysdeps/sh/elf/initfini.c: Remove file.
38801
f63f3380
DM
388022012-02-16 David S. Miller <davem@davemloft.net>
38803
fb59b3a4
DM
38804 [BZ #11494]
38805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38806
f63f3380
DM
38807 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38808 * sysdeps/sparc/crti.S: New file.
38809 * sysdeps/sparc/crtn.S: New file.
38810 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38811 * sysdeps/sparc/sparc64/Makefile: Likewise.
38812
df6a4a4a
MF
388132012-02-15 Mike Frysinger <vapier@gentoo.org>
38814
6dd8f3dc 38815 [BZ #3335]
df6a4a4a
MF
38816 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38817
1cac7236
RM
388182012-02-15 Roland McGrath <roland@hack.frob.com>
38819
d2c736f8
RM
38820 [BZ #4822]
38821 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38822
1cac7236
RM
38823 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38824 (write, read, close): Likewise.
38825 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38826
8e475601
JM
388272012-02-15 Joseph Myers <joseph@codesourcery.com>
38828
38829 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38830 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38831 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38832 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38833 <bits/signalfd.h>.
38834 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38836 bits/signalfd.h.
38837
ed656b40
MP
388382012-02-14 Marek Polacek <polacek@redhat.com>
38839
38840 * sysdeps/x86_64/crti.S: New file.
38841 * sysdeps/x86_64/crtn.S: New file.
38842 * sysdeps/x86_64/elf/initfini.c: Remove file.
38843
2a979d3a
JM
388442012-02-13 Joseph Myers <joseph@codesourcery.com>
38845
38846 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38847 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38848 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38849 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38850 <bits/inotify.h>.
38851 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38853 bits/inotify.h.
38854
2a418ac3
JM
388552012-02-13 Joseph Myers <joseph@codesourcery.com>
38856
38857 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38858 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38859 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38860 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38861 <bits/eventfd.h>.
38862 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38864 bits/eventfd.h.
38865
fb779be7
TS
388662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38867
e19e83c5
RM
38868 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38869 __feraiseexcept instead of feraiseexcept.
7c35ffed 38870
fb779be7
TS
38871 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38872 nanosleep invocations.
38873 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38874 strings, and add error checking for a nanosleep invocations.
38875
59ba27a6
PE
388762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38877
38878 Replace FSF snail mail address with URLs, as per GNU coding standards.
38879 Most of the snail mail addresses were wrong anyway, and omitting
38880 them makes the source code easier to maintain. Almost all of the
38881 changes are to license notices and to locale LC_IDENTIFICATION
38882 addresses, except for this one:
38883 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38884 not its snail mail address.
38885
57b957eb
RH
388862012-02-09 Richard Henderson <rth@twiddle.net>
38887
af850b1c
RH
38888 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38889 of kernel-features.h.
38890
57b957eb
RH
38891 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38892
6b73181a
MP
388932012-02-08 Marek Polacek <polacek@redhat.com>
38894
38895 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38896 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38897 * sysdeps/gnu/_G_config.h: Likewise.
38898 * sysdeps/generic/_G_config.h: Likewise.
38899
26ecc33a
AS
389002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38901
6c6dbc63
AS
38902 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38903 tests.
38904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38905
e216c012
AS
38906 * sysdeps/powerpc/powerpc32/crti.S: New file.
38907 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38908 * sysdeps/powerpc/powerpc64/crti.S: New file.
38909 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38910
26ecc33a
AS
38911 * Makeconfig (have-initfini): Don't set.
38912 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38913 * configure.in (nopic_initfini): Don't substitute.
38914 * config.h.in (HAVE_INITFINI): Don't #undef.
38915 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38916 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38917
3add8e13
JM
389182012-02-08 Joseph Myers <joseph@codesourcery.com>
38919
38920 Support crti.S and crtn.S provided directly by architectures.
38921 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38922 [crti.S in sysdirs] (omit-deps): Likewise.
38923 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38924 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38925 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38926 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38927 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38928 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38929 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38930 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38931 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38932 compiler output for sysdeps/generic/initfini.c.
38933 * sysdeps/i386/elf/Makefile: Remove file.
38934 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38935
a22f12b4
MP
389362012-02-07 Marek Polacek <polacek@redhat.com>
38937
38938 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38939 * sysdeps/gnu/_G_config.h: Likewise.
38940 * sysdeps/mach/hurd/_G_config.h: Likewise.
38941
148cf100
MP
389422012-02-07 Marek Polacek <polacek@redhat.com>
38943
38944 * math/Makefile (tests): Add tst-CMPLX2.
38945 * math/tst-CMPLX2.c: New file.
38946
cfdc0dd7
AS
389472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38948
84ba42c4
AS
38949 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38950
cfdc0dd7
AS
38951 * math/libm-test.inc (jn_test): Add missing L suffix.
38952
622c86f4
MP
389532012-02-06 Marek Polacek <polacek@redhat.com>
38954
38955 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38956 * sysdeps/i386/fpu/e_powf.S: Likewise.
38957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38958 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38959 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38960 * sysdeps/i386/fpu/e_pow.S: Likewise.
38961 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38962 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38963 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38964 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38965 * sysdeps/i386/fpu/e_log2.S: Likewise.
38966 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38967 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38968 * sysdeps/i386/fpu/e_powl.S: Likewise.
38969 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38970 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38971 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38972 * sysdeps/i386/fpu/e_logl.S: Likewise.
38973 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38974 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38979 * sysdeps/i386/fpu/e_log.S: Likewise.
38980 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38982 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38983 * sysdeps/i386/fpu/e_logf.S: Likewise.
38984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38986 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38987 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38988 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38989 * sysdeps/i386/fpu/e_log10.S: Likewise.
38990 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38991 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38992 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38993 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38994 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38995 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38996 * sysdeps/i386/asm-syntax.h: Likewise.
38997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39000 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39001 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39002 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39003 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39004 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39005 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39006 * sysdeps/powerpc/sysdep.h: Likewise.
39007 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39008 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39009
d4a54ac6
JM
390102012-02-06 Joseph Myers <joseph@codesourcery.com>
39011
39012 [BZ #411]
39013 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39014
314054ea
JM
390152012-02-06 Joseph Myers <joseph@codesourcery.com>
39016
39017 * sysdeps/i386/sysdep.h: Include <features.h>.
39018 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39019 version.
39020
d8e0ca50
JM
390212012-02-05 Joseph Myers <joseph@codesourcery.com>
39022
39023 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39024 Define.
39025 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39026 LOAD_PIC_REG_STR.
39027
b1da7dd9
JM
390282012-02-03 Joseph Myers <joseph@codesourcery.com>
39029
39030 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39031 (SETUP_PIC_REG): Use GET_PC_THUNK.
39032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39033 macro.
39034
9a1d9254
JM
390352012-02-03 Joseph Myers <joseph@codesourcery.com>
39036
39037 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39038 for non-PIC compilation.
39039 (SETUP_PIC_REG): Add .p2align directive.
39040 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39041 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39042 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39043 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39044 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39045 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39048 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39049 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39050 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39051 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39052 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39053 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39054 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39055 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39056 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39057 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39058 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39059 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39062 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39063 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39066 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39067 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39081
65dc3b75
JM
390822012-02-03 Joseph Myers <joseph@codesourcery.com>
39083
39084 * math/tst-CMPLX.c: Include <stdio.h>.
39085
d55bf177
JM
390862012-01-31 Joseph Myers <joseph@codesourcery.com>
39087
39088 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39089 float.
39090 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39091 * sysdeps/sparc/bits/mathdef.h: Likewise.
39092
69db4f8f
MP
390932012-01-31 Marek Polacek <polacek@redhat.com>
39094
39095 * libio/libio.h: Don't define _PARAMS.
39096 * locale/programs/config.h: Don't define PARAMS.
39097 * stdlib/strtol_l.c: Likewise.
39098 (__strtol_l): Remove PARAMS from the prototype.
39099
41b81892
UD
391002012-01-31 Ulrich Drepper <drepper@gmail.com>
39101
3b49edc0
UD
39102 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39103 names. Just use the correct names. Remove unnecessary wrapper
39104 functions.
39105 * malloc/arena.c: Likewise.
39106 * malloc/hooks.c: Likewise.
39107
41b81892
UD
39108 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39109 ARENA_TEST says not to. Simplify test for creation of a new arena.
39110 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39111
27a25b6e
UD
391122012-01-30 Ulrich Drepper <drepper@gmail.com>
39113
39114 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39115 into tail calls.
39116 (update_get_addr): New function.
39117 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39118 GET_ADDR_MODULE parameter.
39119
c8a89e7d
JM
391202012-01-30 Joseph Myers <joseph@codesourcery.com>
39121
39122 * crypt/cert.c: Remove __STDC__ conditionals.
39123 * crypt/crypt-entry.c: Likewise.
39124 * crypt/crypt_util.c: Likewise.
39125 * libio/filedoalloc.c: Likewise.
39126 * libio/fileops.c: Likewise.
39127 * libio/genops.c: Likewise.
39128 * libio/iofclose.c: Likewise.
39129 * libio/iofdopen.c: Likewise.
39130 * libio/iofopen.c: Likewise.
39131 * libio/iofopen64.c: Likewise.
39132 * libio/iogetdelim.c: Likewise.
39133 * libio/iopopen.c: Likewise.
39134 * libio/obprintf.c: Likewise.
39135 * libio/oldfileops.c: Likewise.
39136 * libio/oldiofclose.c: Likewise.
39137 * libio/oldiofdopen.c: Likewise.
39138 * libio/oldiofopen.c: Likewise.
39139 * libio/oldiopopen.c: Likewise.
39140 * libio/wfiledoalloc.c: Likewise.
39141 * libio/wgenops.c: Likewise.
39142 * locale/programs/xmalloc.c: Likewise.
39143 * misc/syslog.c: Likewise.
39144 * stdio-common/xbug.c: Likewise.
39145 * string/memchr.c: Likewise.
39146 * string/memcmp.c: Likewise.
39147 * string/memrchr.c: Likewise.
39148 * string/rawmemchr.c: Likewise.
39149 * sysdeps/posix/getcwd.c: Likewise.
39150 * time/strftime_l.c: Likewise.
39151
3b100462
JM
391522012-01-30 Joseph Myers <joseph@codesourcery.com>
39153
39154 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39155 * config.make.in (config-cflags-sse2avx): Define.
39156 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39157 Fix typo.
39158
607998af
CM
391592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39160
39161 * scripts/config.guess: Update from upstream config git repository.
39162 * scripts/config.sub: Likewise.
39163
3601428f
CM
391642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39165
3ac8b282
CM
39166 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39167 (EM_NUM): Update.
39168 (R_TILEPRO_*, R_TILEGX_*): New macros.
39169
e034841e
CM
39170 * scripts/firstversions.awk: Fix bug in version range handling.
39171
540d7568
CM
39172 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39173
3601428f
CM
39174 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39175
463de862
CM
39176 * include/sys/epoll.h: New file.
39177 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39178 libc_hidden_def.
39179
73139a76
UD
391802012-01-28 Ulrich Drepper <drepper@gmail.com>
39181
96bc5b45
UD
39182 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39183 Avoid unnecessary __WORDSIZE == 64 test.
39184 (fmaxf): Use VEX format if possible.
39185 (fmax): Likewise.
39186 (fminf): Likewise.
39187 (fmin): Likewise.
39188
56f6f6a2
UD
39189 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39190 * math/math_private.h: Remove libc_fegetround* and
39191 libc_fesetround*.
39192 * sysdeps/i386/configure.in: Check for -msse2avx.
39193 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39194 also if SSE2AVX is defined.
39195 Remove libc_fegetround* and libc_fesetround*.
39196 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39197 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39198 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39199 of HAS_YMM_USABLE.
39200 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39201 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39202 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39203 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39204 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39205
73139a76
UD
39206 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39207
d73f93a4
AZ
392082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39209
39210 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39211 size is not set.
39212 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39213
6ee65ed6
UD
392142012-01-27 Ulrich Drepper <drepper@gmail.com>
39215
39216 [BZ #13618]
39217 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39218 relocation.
39219 * Makeconfig (libm): Define.
39220 * elf/Makefile: Add rules to build and run tst-relsort1.
39221 * elf/tst-relsort1.c: New file.
39222 * elf/tst-relsort1mod1.c: New file.
39223 * elf/tst-relsort1mod2.c: New file.
39224
8db21882
JM
392252012-01-27 Joseph Myers <joseph@codesourcery.com>
39226
39227 * math/s_ldexp.c: Remove __STDC__ conditionals.
39228 * math/s_ldexpf.c: Likewise.
39229 * math/s_ldexpl.c: Likewise.
39230 * math/s_nextafter.c: Likewise.
39231 * math/s_nexttowardf.c: Likewise.
39232 * math/s_significand.c: Likewise.
39233 * math/s_significandf.c: Likewise.
39234 * math/s_significandl.c: Likewise.
39235 * math/w_jnl.c: Likewise.
39236 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39237 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39238 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39239 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39240 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39243 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39245 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39248 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39249 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39250 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39251 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39252 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39255 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39256 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39257 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39258 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39260 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39261 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39262 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39263 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39264 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39265 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39266 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39267 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39268 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39269 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39270 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39271 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39272 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39273 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39274 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39275 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39276 * sysdeps/ieee754/k_standard.c: Likewise.
39277 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39279 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39280 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39281 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39287 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39289 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39290 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39338 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39343 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39351 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39352 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39355 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39356 * sysdeps/ieee754/s_matherr.c: Likewise.
39357 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39358 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39361
965a54a4
JM
393622012-01-26 Joseph Myers <joseph@codesourcery.com>
39363
39364 * crypt/md5.h: Remove __STDC__ conditionals.
39365 * libio/libioP.h: Likewise.
39366 * locale/programs/config.h: Likewise.
39367 * sysdeps/generic/sysdep.h: Likewise.
39368 * sysdeps/i386/asm-syntax.h: Likewise.
39369 * sysdeps/s390/asm-syntax.h: Likewise.
39370 * sysdeps/unix/sysdep.h: Likewise.
39371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39373
7071ad79
JM
393742012-01-26 Joseph Myers <joseph@codesourcery.com>
39375
39376 * libio/libio.h: Remove __STDC__ conditionals.
39377 * malloc/obstack.h: Likewise.
39378 * math/complex.h: Likewise.
39379 * math/math.h: Likewise.
39380 * sysdeps/generic/_G_config.h: Likewise.
39381 * sysdeps/gnu/_G_config.h: Likewise.
39382 * sysdeps/mach/hurd/_G_config.h: Likewise.
39383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39384 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39385 * sysdeps/sparc/bits/mathdef.h: Likewise.
39386
afc5ed09
UD
393872012-01-26 Ulrich Drepper <drepper@gmail.com>
39388
39389 [BZ #13583]
39390 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 39391 Clean up HAS_* macros.
afc5ed09 39392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
39393 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39394 possible.
39395 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39396 HAS_AVX.
39397 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39398 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39399 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39400 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39401 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 39402
bdb6de1d
JM
394032012-01-25 Joseph Myers <joseph@codesourcery.com>
39404
39405 * elf/tst-unique3.cc (gets): Remove declaration.
39406 * elf/tst-unique3lib.cc (gets): Likewise.
39407 * elf/tst-unique3lib2.cc (gets): Likewise.
39408 * elf/tst-unique4.cc (gets): Likewise.
39409
b15549e6
UD
394102012-01-24 Ulrich Drepper <drepper@gmail.com>
39411
39412 * include/stdio.h: Add C++ protection. Add gets declarations and
39413 definitions.
39414 * debug/tst-chk1.c: Don't declare gets here.
39415 * stdio-common/tst-gets.c: Likewise.
39416
a037381f
JM
394172012-01-24 Joseph Myers <joseph@codesourcery.com>
39418
39419 * posix/glob: Remove directory.
39420
f1d4aa75
JM
394212012-01-24 Joseph Myers <joseph@codesourcery.com>
39422
39423 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39424
81c0c964
PT
394252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39426
39427 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39428 of the non-standard EPFNOSUPPORT.
39429
0ea698ae
ST
394302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39431
39432 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39433 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39434 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39435
d220b117
UD
394362012-01-21 Ulrich Drepper <drepper@gmail.com>
39437
39438 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39439
3e1aa84e
UD
394402012-01-20 Ulrich Drepper <drepper@gmail.com>
39441
39442 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39443 transient errors.
39444 * nscd/grpcache.c (cache_addgr): Likewise.
39445 * nscd/hstcache.c (cache_addhst): Likewise.
39446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39447 * nscd/pwdcache.c (cache_addpw): Likewise.
39448 * nscd/servicescache.c (cache_addserv): Likewise.
39449
400aa020
UD
394502012-01-16 Ulrich Drepper <drepper@gmail.com>
39451
d77e7869
UD
39452 * malloc/malloc.c: Various cleanups.
39453 * malloc/hooks.c: Likewise.
39454
400aa020
UD
39455 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39456 * stdlib/bug-fmtmsg1.c: New file.
39457
39458 * stdlib/fmtmsg.c (init): Add missing unlock.
39459 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39460
e0a309cf
MP
394612012-01-12 Marek Polacek <polacek@redhat.com>
39462
39463 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39464 and _GNU_SOURCE.
39465
929d11c7
WS
394662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39467
39468 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39469 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39470 macro to ensure uniqueness of label name.
39471 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39472 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39473
41d0e869
UD
394742012-01-11 Ulrich Drepper <drepper@gmail.com>
39475
0cc5ed3b
UD
39476 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39477
41d0e869
UD
39478 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39479 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39480 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39482
a47a831a
UD
394832012-01-10 Ulrich Drepper <drepper@gmail.com>
39484
daa891c0
UD
39485 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39486
39487 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39488 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39489 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39490
e58ef0f2
UD
39491 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39492
a47a831a 39493 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39494 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39495 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39497
39498 * math/bits/math-finite.h: Add ldexp support.
39499
a0bfc9c7
MP
395002012-01-10 Marek Polacek <polacek@redhat.com>
39501
39502 * locale/programs/localedef.h (show_archive_content): Add noreturn
39503 attribute.
39504
d6e97a1d
UD
395052012-01-09 Ulrich Drepper <drepper@gmail.com>
39506
39507 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39508
d5835c26
UD
395092012-01-08 Ulrich Drepper <drepper@gmail.com>
39510
e5f484c6
UD
39511 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39512
d5835c26
UD
39513 * io/Makefile (headers): Add bits/poll2.h.
39514
d1f741e9
WS
395152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39516
39517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39518 typo #include statement.
39519
ec09c1c4
UD
395202012-01-08 Ulrich Drepper <drepper@gmail.com>
39521
39522 * include/sys/cdefs.h: Define __attribute_alloc_size.
39523 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39524 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39525 * elf/pldd.c: Likewise.
39526 * iconv/iconv_charmap.c: Likewise.
39527 * iconv/iconvconfig.c: Likewise.
39528 * iconv/strtab.c: Likewise.
39529 * locale/programs/locale.c: Likewise.
39530 * locale/programs/localedef.h: Likewise.
39531 * locale/programs/simple-hash.c: Likewise.
39532 * nscd/nscd.h: Likewise.
39533 * nss/makedb.c: Likewise.
39534 * sysdeps/generic/ldconfig.h: Likewise.
39535 * locale/programs/localedef.c: Remove xmalloc prototype.
39536 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39537
20b38e03
PP
395382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39539
39540 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39541 appropriate.
39542
a0da5fe1
UD
395432012-01-08 Ulrich Drepper <drepper@gmail.com>
39544
1d5a644a 39545 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39546 * math/tst-CMPLX.c: New file.
1d5a644a 39547
8784a6db
UD
39548 * math/complex.h (CMPLXL): Fix typo.
39549
d9a216c0
UD
39550 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39551 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39552 GLIBC_2.16.
39553 * debug/tst-chk1.c: Add poll and ppoll tests.
39554 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39555 * include/sys/poll.h: Add hidden proto for ppoll.
39556 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39557 * sysdeps/mach/hurd/ppoll.c: Likewise.
39558 * io/ppoll.c: Likewise.
39559 * debug/poll_chk.c: New file.
39560 * debug/ppoll_chk.c: New file.
39561 * include/bits/poll2.h: New file.
39562 * io/bits/poll2.h: New file.
39563
ac097f5c
UD
39564 [BZ #1350]
39565 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39566
2119dcfa
UD
39567 * configure.in: static is always set to yes. Remove.
39568 * config.make.in: Don't set build-static.
39569 * Makeconfig: Remove use of build-static.
39570 * dlfcn/Makefile: Likewise.
39571 * elf/Makefile: Likewise.
39572 * math/Makefile: Likewise.
39573 * misc/Makefile: Likewise.
39574 * nptl/Makefile: Likewise.
39575 * sysdeps/mach/hurd/Makefile: Likewise.
39576
121766a9
UD
39577 * configure.in: PWD_P is not used anymore.
39578 * config.make.in: Remove PWD_P entry.
39579
51a1d39c 39580 * configure.in: Remove last remnants of RANLIB.
8720d066 39581 No need to check for signed size_t anymore.
215f4bdc
UD
39582 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39583 and IA-64.
3857022a 39584 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39585 * aclocal.m4: Likewise.
39586
d3ed7225
UD
39587 * wcsmbs/mbrtoc16.c: Implement using towc function.
39588 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39589 * wcsmbs/wcsmbsload.c: Likewise.
39590 * iconv/gconv_simple.c: Likewise.
39591 * iconv/gconv_int.h: Likewise.
39592 * iconv/gconv_builtin.h: Likewise.
39593 * iconv/iconv_prog.c: Remove CHAR16 handling.
39594
39595 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39596
39597 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39598
a0da5fe1
UD
39599 * configure.in: Remove --with-elf and --enable-bounded options.
39600 Dont set base_machine for ia64. More non-ELF conditions removed.
39601 Remove testing and setting of leading underscore information.
39602 * config.make.in (build-bounded): Set to no.
39603 * config.h.in: Remove NO_UNDERSCORES entry.
39604 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39605 them.
39606 * csu/start.c: Remove !NO_UNDERSCORE code.
39607 * locale/localeinfo.h: Likewise.
39608 * sysdeps/generic/machine-gmon.h: Likewise.
39609 * sysdeps/generic/sysdep.h: Likewise.
39610 * sysdeps/i386/sysdep.h: Likewise.
39611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39612 * sysdeps/mach/sysdep.h: Likewise.
39613 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39615 * sysdeps/sh/sysdep.h: Likewise.
39616 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39617 * sysdeps/unix/i386/sysdep.S: Likewise.
39618 * sysdeps/unix/sparc/start.c: Likewise.
39619 * sysdeps/unix/sparc/sysdep.S: Likewise.
39620 * sysdeps/unix/sparc/sysdep.h: Likewise.
39621 * sysdeps/unix/start.c: Likewise.
39622 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39623 * sysdeps/x86_64/sysdep.h: Likewise.
39624
df78418a
UD
396252012-01-07 Ulrich Drepper <drepper@gmail.com>
39626
a784e502
UD
39627 [BZ #13553]
39628 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39629 for non-gcc.
39630 * argp/argp-fmtstream.h: Use const instead __const.
39631 * argp/argp.h: Likewise.
39632 * assert/assert.h: Likewise.
39633 * bits/fenv.h: Likewise.
39634 * bits/sched.h: Likewise.
39635 * bits/sigset.h: Likewise.
39636 * bits/sigthread.h: Likewise.
39637 * catgets/nl_types.h: Likewise.
39638 * conform/data/pthread.h-data: Likewise.
39639 * crypt/crypt-private.h: Likewise.
39640 * crypt/crypt.h: Likewise.
39641 * crypt/crypt_util.c: Likewise.
39642 * ctype/ctype.h: Likewise.
39643 * debug/execinfo.h: Likewise.
39644 * debug/mbsnrtowcs_chk.c: Likewise.
39645 * debug/mbsrtowcs_chk.c: Likewise.
39646 * debug/wcsnrtombs_chk.c: Likewise.
39647 * debug/wcsrtombs_chk.c: Likewise.
39648 * debug/wcstombs_chk.c: Likewise.
39649 * dirent/dirent.h: Likewise.
39650 * dlfcn/dlfcn.h: Likewise.
39651 * elf/neededtest4.c: Likewise.
39652 * grp/grp.h: Likewise.
39653 * gshadow/gshadow.h: Likewise.
39654 * iconv/gconv.h: Likewise.
39655 * iconv/gconv_int.h: Likewise.
39656 * iconv/gconv_simple.c: Likewise.
39657 * iconv/iconv.h: Likewise.
39658 * iconv/loop.c: Likewise.
39659 * iconv/skeleton.c: Likewise.
39660 * include/aio.h: Likewise.
39661 * include/aliases.h: Likewise.
39662 * include/argz.h: Likewise.
39663 * include/arpa/inet.h: Likewise.
39664 * include/assert.h: Likewise.
39665 * include/dirent.h: Likewise.
39666 * include/dlfcn.h: Likewise.
39667 * include/execinfo.h: Likewise.
39668 * include/fcntl.h: Likewise.
39669 * include/fenv.h: Likewise.
39670 * include/glob.h: Likewise.
39671 * include/grp.h: Likewise.
39672 * include/libintl.h: Likewise.
39673 * include/mntent.h: Likewise.
39674 * include/netdb.h: Likewise.
39675 * include/pwd.h: Likewise.
39676 * include/rpc/netdb.h: Likewise.
39677 * include/sched.h: Likewise.
39678 * include/search.h: Likewise.
39679 * include/shadow.h: Likewise.
39680 * include/signal.h: Likewise.
39681 * include/stdio.h: Likewise.
39682 * include/stdlib.h: Likewise.
39683 * include/string.h: Likewise.
39684 * include/sys/socket.h: Likewise.
39685 * include/sys/stat.h: Likewise.
39686 * include/sys/statfs.h: Likewise.
39687 * include/sys/statvfs.h: Likewise.
39688 * include/sys/syslog.h: Likewise.
39689 * include/sys/time.h: Likewise.
39690 * include/sys/uio.h: Likewise.
39691 * include/time.h: Likewise.
39692 * include/unistd.h: Likewise.
39693 * include/utmp.h: Likewise.
39694 * include/wchar.h: Likewise.
39695 * include/wctype.h: Likewise.
39696 * inet/aliases.h: Likewise.
39697 * inet/arpa/inet.h: Likewise.
39698 * inet/netinet/ether.h: Likewise.
39699 * inet/netinet/in.h: Likewise.
39700 * intl/libintl.h: Likewise.
39701 * io/bits/fcntl2.h: Likewise.
39702 * io/fcntl.h: Likewise.
39703 * io/ftw.h: Likewise.
39704 * io/sys/poll.h: Likewise.
39705 * io/sys/stat.h: Likewise.
39706 * io/sys/statfs.h: Likewise.
39707 * io/sys/statvfs.h: Likewise.
39708 * io/utime.h: Likewise.
39709 * libio/bits/stdio.h: Likewise.
39710 * libio/bits/stdio2.h: Likewise.
39711 * libio/libio.h: Likewise.
39712 * libio/libioP.h: Likewise.
39713 * libio/stdio.h: Likewise.
39714 * locale/lc-ctype.c: Likewise.
39715 * locale/locale.h: Likewise.
39716 * login/utmp.h: Likewise.
39717 * malloc/arena.c: Likewise.
39718 * malloc/malloc.c: Likewise.
39719 * malloc/malloc.h: Likewise.
39720 * malloc/mcheck.c: Likewise.
39721 * malloc/mtrace.c: Likewise.
39722 * math/bits/mathcalls.h: Likewise.
39723 * math/fenv.h: Likewise.
39724 * math/math_private.h: Likewise.
39725 * misc/bits/error.h: Likewise.
39726 * misc/bits/syslog.h: Likewise.
39727 * misc/err.h: Likewise.
39728 * misc/error.h: Likewise.
39729 * misc/fstab.h: Likewise.
39730 * misc/mntent.h: Likewise.
39731 * misc/regexp.h: Likewise.
39732 * misc/search.h: Likewise.
39733 * misc/sgtty.h: Likewise.
39734 * misc/sys/mman.h: Likewise.
39735 * misc/sys/syslog.h: Likewise.
39736 * misc/sys/uio.h: Likewise.
39737 * misc/sys/xattr.h: Likewise.
39738 * misc/ttyent.h: Likewise.
39739 * nis/rpcsvc/ypclnt.h: Likewise.
39740 * nss/nss.h: Likewise.
39741 * posix/bits/unistd.h: Likewise.
39742 * posix/fnmatch.h: Likewise.
39743 * posix/glob.h: Likewise.
39744 * posix/sched.h: Likewise.
39745 * posix/spawn.h: Likewise.
39746 * posix/sys/wait.h: Likewise.
39747 * posix/unistd.h: Likewise.
39748 * posix/wordexp.h: Likewise.
39749 * pwd/pwd.h: Likewise.
39750 * resolv/netdb.h: Likewise.
39751 * resource/sys/resource.h: Likewise.
39752 * rt/aio.h: Likewise.
39753 * rt/bits/mqueue2.h: Likewise.
39754 * rt/mqueue.h: Likewise.
39755 * shadow/shadow.h: Likewise.
39756 * signal/signal.h: Likewise.
39757 * socket/send.c: Likewise.
39758 * socket/sendto.c: Likewise.
39759 * socket/sys/socket.h: Likewise.
39760 * stdio-common/printf.h: Likewise.
39761 * stdlib/bits/stdlib.h: Likewise.
39762 * stdlib/fmtmsg.h: Likewise.
39763 * stdlib/monetary.h: Likewise.
39764 * stdlib/stdlib.h: Likewise.
39765 * stdlib/ucontext.h: Likewise.
39766 * streams/stropts.h: Likewise.
39767 * string/argz.h: Likewise.
39768 * string/bits/string2.h: Likewise.
39769 * string/string.h: Likewise.
39770 * string/strings.h: Likewise.
39771 * sunrpc/rpc/auth.h: Likewise.
39772 * sunrpc/rpc/auth_des.h: Likewise.
39773 * sunrpc/rpc/clnt.h: Likewise.
39774 * sunrpc/rpc/netdb.h: Likewise.
39775 * sunrpc/rpc/pmap_clnt.h: Likewise.
39776 * sunrpc/rpc/xdr.h: Likewise.
39777 * sysdeps/generic/inttypes.h: Likewise.
39778 * sysdeps/generic/net/if.h: Likewise.
39779 * sysdeps/generic/sys/swap.h: Likewise.
39780 * sysdeps/gnu/net/if.h: Likewise.
39781 * sysdeps/gnu/utmpx.h: Likewise.
39782 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39783 * sysdeps/i386/i486/bits/string.h: Likewise.
39784 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39785 * sysdeps/s390/bits/string.h: Likewise.
39786 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39787 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39788 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39789 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39790 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39791 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39792 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39793 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39794 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39795 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39796 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39797 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39798 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39799 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39800 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39801 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39802 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39804 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39807 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39808 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39809 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39810 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39811 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39812 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39813 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39814 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39816 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39817 * sysvipc/sys/ipc.h: Likewise.
39818 * sysvipc/sys/msg.h: Likewise.
39819 * sysvipc/sys/sem.h: Likewise.
39820 * sysvipc/sys/shm.h: Likewise.
39821 * termios/termios.h: Likewise.
39822 * time/sys/time.h: Likewise.
39823 * time/time.h: Likewise.
39824 * wcsmbs/bits/wchar2.h: Likewise.
39825 * wcsmbs/uchar.h: Likewise.
39826 * wcsmbs/wchar.h: Likewise.
39827 * wctype/wctype.h: Likewise.
39828
0269750c
UD
39829 [BZ #13551]
39830 * Makeconfig: Remove all but ELF support including AIX support.
39831 * Makerules: Likewise.
39832 * config.h.in: Likewise.
39833 * config.make.in: Likewise.
39834 * configure: Likewise.
39835 * configure.in: Likewise.
39836 * csu/Makefile: Likewise.
39837 * csu/version.c: Likewise.
39838 * debug/Makefile: Likewise.
39839 * dlfcn/Makefile: Likewise.
39840 * elf/Makefile: Likewise.
39841 * extra-lib.mk: Likewise.
39842 * iconv/Makefile: Likewise.
39843 * include/libc-symbols.h: Likewise.
39844 * include/shlib-compat.h: Likewise.
39845 * resolv/Makefile: Likewise.
39846 * resolv/res_libc.c: Likewise.
39847 * rt/Makefile: Likewise.
39848 * sysdeps/i386/asm-syntax.h: Likewise.
39849 * sysdeps/i386/sysdep.h: Likewise.
39850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39851 * sysdeps/mach/sysdep.h: Likewise.
39852 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39853 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39854 * sysdeps/s390/asm-syntax.h: Likewise.
39855 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39857 * sysdeps/sh/sysdep.h: Likewise.
39858 * sysdeps/unix/sparc/sysdep.h: Likewise.
39859 * sysdeps/wordsize-32/divdi3.c: Likewise.
39860 * sysdeps/x86_64/sysdep.h: Likewise.
39861
00bbd29b
UD
39862 * argp/Versions: Remove _argp_unlock_xxx.
39863
39864 [BZ #13559]
39865 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39866 * abilist/libBrokenLocale.abilist: Likewise.
39867 * abilist/libanl.abilist: Likewise.
39868 * abilist/libc.abilist: Likewise.
39869 * abilist/libcrypt.abilist: Likewise.
39870 * abilist/libdl.abilist: Likewise.
39871 * abilist/libm.abilist: Likewise.
39872 * abilist/libnsl.abilist: Likewise.
39873 * abilist/libpthread.abilist: Likewise.
39874 * abilist/libresolv.abilist: Likewise.
39875 * abilist/librt.abilist: Likewise.
39876 * abilist/libthread_db.abilist: Likewise.
39877 * abilist/libutil.abilist: Likewise.
39878 * abilist/libnss_db.abilist: New file.
39879
39880 * scripts/abilist.awk: Add support for indirect functions.
39881
a2693a0e
UD
39882 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39883
3f05895f
UD
39884 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39885
ecb6fb48
UD
39886 * shlib-versions: Remove entries for ports architectures.
39887
664f8cb9
UD
39888 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39889 files in ports.
39890 * elf/stackguard-macros.h: Remove support for IA-64.
39891 * elf/tst-auditmod1.c: Likewise.
39892 * sysdeps/generic/ldsodefs.h: Likewise.
39893
7ae81d88
UD
39894 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39895 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39896 configure files.
39897
bdeba135
UD
39898 [BZ #13552]
39899 * configure.in: Remove --enable-omitfp support.
39900 * FAQ.in: Adjust.
39901 * config.make.in: Likewise.
39902 * Makeconfig: Likewise.
39903 * manual/install.texi: Likewise.
39904
d75a0a62
UD
39905 In case anyone cares, the IA-64 architecture could move to ports.
39906 * sysdeps/ia64/*: Removed.
39907 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39908 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39909
dcc9756b
UD
39910 [BZ #13555]
39911 * configure.in: Remove entries for unsupported architectures.
39912
d3761ebc 39913 [BZ #13533]
9954432e
UD
39914 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39915 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39916 routines.
39917 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39918 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39919 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39920 fall back to using wcrtomb.
39921 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39922 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39923 renaming.
39924 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39925 * wcsmbs/tst-c16c32-1.c: New file.
39926
39927 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39928 local variable.
39929
c3a87236
UD
39930 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39931
28926a1b
UD
39932 * elf/tst-unique3.cc: Add explicit declaration of gets.
39933 * elf/tst-unique3lib.cc: Likewise.
39934 * elf/tst-unique3lib2.cc: Likewise.
39935 * elf/tst-unique4.cc: Likewise.
39936
df78418a
UD
39937 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39938
8ecd6b2a
JM
399392012-01-06 Joseph Myers <joseph@codesourcery.com>
39940
39941 [BZ #13566]
39942 * assert/assert.h (static_assert): Don't define for C++.
39943 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39944 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39945
9f115170
UD
399462012-01-03 Ulrich Drepper <drepper@gmail.com>
39947
5e0d0300
UD
39948 * iconv/loop.c (single loop): Fix assertion in storing of
39949 remaining bytes.
39950
9f115170
UD
39951 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39952
81fb02b0
UD
399532012-01-01 Ulrich Drepper <drepper@gmail.com>
39954
39955 * posix/getconf.c: Update copyright year.
39956 * nss/getent.c: Likewise.
a316c1f6 39957 * nss/makedb.c: Likewise.
81fb02b0
UD
39958 * iconv/iconvconfig.c: Likewise.
39959 * iconv/iconv_prog.c: Likewise.
39960 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39961 * elf/pldd.c: Likewise.
39962 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39963 * catgets/gencat.c: Likewise.
39964 * csu/version.c: Likewise.
39965 * elf/ldd.bash.in: Likewise.
39966 * elf/sprof.c (print_version): Likewise.
39967 * locale/programs/locale.c: Likewise.
39968 * locale/programs/localedef.c: Likewise.
a316c1f6 39969 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39970 * nscd/nscd.c (print_version): Likewise.
39971 * debug/xtrace.sh: Likewise.
39972 * malloc/memusage.sh: Likewise.
39973 * malloc/mtrace.pl: Likewise.
39974 * debug/catchsegv.sh: Likewise.
39975
2ba92745
JJ
399762011-12-30 Jakub Jelinek <jakub@redhat.com>
39977
39978 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39979 pure attribute.
39980
dadebdae
UD
399812011-12-24 Ulrich Drepper <drepper@gmail.com>
39982
d3761ebc 39983 [BZ #13533]
db6af3eb
UD
39984 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39985 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39986 transformations.
39987 * iconv/gconv_int.h: Likewise.
39988 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39989 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39990 from libc for GLIBC_2.16.
39991 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39992 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39993 * wcsmbs/uchar.h: Really define mbstate_t.
39994 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39995 * wcsmbs/c16rtomb.c: New file.
39996 * wcsmbs/mbrtoc16.c: New file.
39997 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39998 for C/POSIX locale.
39999 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40000 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40001
dadebdae
UD
40002 * wcsmbs/wchar.h: Add missing __restrict.
40003
67371b56
UD
400042011-12-23 Ulrich Drepper <drepper@gmail.com>
40005
74033a25
UD
40006 [BZ #13532]
40007 * time/Makefile (routines): Add timespec_get.
40008 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40009 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40010 timespec for ISO C11.
40011 * time/timespec_get.c: New file.
40012 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40013 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40014
380d7e87
UD
40015 [BZ #13531]
40016 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40017 * stdlib/stdlib.h: Declare aligned_alloc.
40018 * Versions.def: Add GLIBC_2.16 for libc.
40019 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40020
4e9e7a35
UD
40021 [BZ 13527]
40022 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40023 ISO C11.
40024
380d7e87 40025 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40026 code.
40027
03a71829
UD
40028 [BZ #13528]
40029 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40030
839e283e
UD
40031 [BZ #13529]
40032 * assert/assert.h (static_assert): Define.
40033
ce5294e2 40034 * version.h: Update for 2.16 development version.
90fa7312 40035
8d44e150 40036 [BZ #13526]
d7809905
UD
40037 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40038 _ISOC11_SOURCE.
40039
c0da14cd
UD
40040 * version.h (RELEASE): Bump for 2.15 release.
40041 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40042
530a3249
MP
40043 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40044 Patch by Marek Polacek <mpolacek@redhat.com>.
40045
67371b56
UD
40046 * bits/byteswap.h: Protect long long constants with __extension__.
40047 * sysdeps/i386/bits/byteswap.h: Likewise.
40048 * sysdeps/ia64/bits/byteswap.h: Likewise.
40049 * sysdeps/s390/bits/byteswap.h: Likewise.
40050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40051
15db4de1
LD
400522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40053
40054 [BZ #13540]
bbe315ea
LD
40055 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40056 destination buffer.
15db4de1
LD
40057 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40058
2b2596b1
MP
400592011-12-23 Marek Polacek <polacek@redhat.com>
40060
40061 * elf/dl-addr.c (determine_info): Add inline keyword.
40062 * elf/tst-auditmod4b.c (check_avx): Likewise.
40063 * elf/tst-auditmod6b.c (check_avx): Likewise.
40064 * elf/tst-auditmod6c.c (check_avx): Likewise.
40065 * elf/tst-auditmod7b.c (check_avx): Likewise.
40066
70c6c246
UD
400672011-12-23 Ulrich Drepper <drepper@gmail.com>
40068
40069 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40070 !__SSE_MATH__.
40071
c044cf14
LD
400722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40073
15db4de1 40074 [BZ #13540]
c044cf14
LD
40075 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40076 processing for last bytes.
40077
6b13d9d9
BH
400782011-08-06 Bruno Haible <bruno@clisp.org>
40079
d455f537
BH
40080 [BZ #13061]
40081 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40082 U+0385, not to U+1FEE.
40083
6b13d9d9
BH
40084 [BZ #13062]
40085 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40086 entry for U+00A5 U+0301.
40087
db910efd
UD
400882011-12-22 Ulrich Drepper <drepper@gmail.com>
40089
27deeafc
UD
40090 [BZ #13166]
40091 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40092 buffer for the output is too small.
40093
aed9d171
UD
40094 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40095 optimization.
40096
db910efd
UD
40097 [BZ #13185]
40098 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40099 SSE flags if possible.
40100
2bd779ae
LD
401012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40102
e7f9dac3 40103 [BZ #13540]
2bd779ae
LD
40104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40105 processing for last bytes.
40106
154bfc16
JM
401072011-12-22 Joseph Myers <joseph@codesourcery.com>
40108
40109 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40110 (syscall-list-default-options, syscall-list-default-condition)
40111 (syscall-list-includes): Define.
40112 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40113 list of ABIs and options and #if conditions for each ABI. Do not
40114 handle common syscalls between ABIs specially.
40115 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40116 Remove.
40117 (syscall-list-variants, syscall-list-32bit-options)
40118 (syscall-list-32bit-condition, syscall-list-64bit-options)
40119 (syscall-list-64bit-condition): Define.
40120 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40121 (syscall-list-variants, syscall-list-32bit-options)
40122 (syscall-list-32bit-condition, syscall-list-64bit-options)
40123 (syscall-list-64bit-condition): Define.
40124 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40125 Remove.
40126 (syscall-list-variants, syscall-list-32bit-options)
40127 (syscall-list-32bit-condition, syscall-list-64bit-options)
40128 (syscall-list-64bit-condition): Define.
40129 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40130 Remove.
40131 (syscall-list-variants, syscall-list-32bit-options)
40132 (syscall-list-32bit-condition, syscall-list-64bit-options)
40133 (syscall-list-64bit-condition): Define.
40134
21eaf3a5
UD
401352011-12-22 Ulrich Drepper <drepper@gmail.com>
40136
16c6f992
UD
40137 * locale/iso-639.def: Add brx entry.
40138
41043168
UD
40139 [BZ #13328]
40140 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40141 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40142
21eaf3a5
UD
40143 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40144 __feraiseexcept_renamed.
40145
e3a851a2
UD
401462011-12-21 Ulrich Drepper <drepper@gmail.com>
40147
4920765e
UD
40148 [BZ #13538]
40149 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40150 EPOLLET with unsigned values.
40151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40153
e3a851a2
UD
40154 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40155 to large cancellation.
40156 * math/s_cacoshf.c: Likewise.
40157 * math/s_cacoshl.c: Likewise.
40158
b27e24b8
RK
401592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40160
40161 [BZ #13305]
aebefeee 40162 [BZ #12786]
b27e24b8
RK
40163 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40164 * math/s_cacoshf.c: Likewise.
40165 * math/s_cacoshl.c: Likewise.
40166
ee190f67
UD
401672011-12-21 Ulrich Drepper <drepper@gmail.com>
40168
40169 [BZ #13439]
40170 * iconv/gconv.h: Define __GCONV_SWAP.
40171 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40172 * iconvdata/utf-16.c: Likewise.
40173 * iconvdata/utf-32.c: Likewise.
40174
707f25df
AS
401752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40176
40177 [BZ #13524]
40178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40179 numerator after shifting it by one limb.
40180
d2daaa1e
RÁE
401812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40182
40183 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40184 under [__USE_EXTERN_INLINES].
40185
a4647e72
UD
401862011-12-17 Ulrich Drepper <drepper@gmail.com>
40187
40188 [BZ #13446]
40189 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40190
f0b264f1
AZ
401912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40192
40193 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40194 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40195 optimized code.
40196 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40197 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40198 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40199 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40200 for strncasecmp/strncasecmp_l compilation.
40201 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40202 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40203
8ef4f244
MP
402042011-12-08 Marek Polacek <mpolacek@redhat.com>
40205
40206 [BZ #13484]
40207 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40208 of __asm__.
40209
97ac2654
UD
402102011-12-17 Ulrich Drepper <drepper@gmail.com>
40211
40212 [BZ #13506]
40213 * time/tzfile.c (__tzfile_read): Check values from file header.
40214
91d2a845
WS
402152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40216
40217 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40218 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40219 * powerpc/powerpc32/dl-start.S: Likewise.
40220 * powerpc/powerpc32/elf/start.S: Likewise.
40221 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40222 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40223 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40224 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40225 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40226 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40227 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40228 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40229 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40230 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40231 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40232 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40233 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40234 * powerpc/powerpc32/memset.S: Likewise.
40235 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40236 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40237 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40238 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40239 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40240 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40241 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40242 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40243 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40244 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40245 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40246 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40247 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40248
a1267ba1
AZ
402492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40250
40251 * math/libm-test.inc: Added more nearbyint tests.
40252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40253 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40255 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40256
ad8ac1bd
RL
402572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40258
40259 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40260 FD_CLOEXEC.
40261
1d3e4b61
UD
402622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40263
40264 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40265 Add wcscpy-ssse3 wcscpy-c.
40266 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40267 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40268 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40269 * sysdeps/x86_64/wcschr.S: New file.
40270 * sysdeps/x86_64/wcsrchr.S: New file.
40271 * string/test-strcmp.c: Remove checking of wcscmp function for
40272 wrong alignments.
40273 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40274 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40275 wcsrchr-sse2 wcsrchr-c.
40276 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40277 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40278 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40279 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40280 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40281 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40282 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40283 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40284 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40285 * wcsmbc/wcschr.c (WCSCHR): New macro.
40286
5b330a2d
UD
402872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40288
40289 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40290 * wcsmbs/test-wcsrchr.c: New file.
40291 * string/test-strrchr.c: Add wcsrchr support.
40292 (WIDE): New macro.
40293 * wcsmbs/test-wcscpy.c: New file.
40294 * string/test-strcpy.c: Add wcscpy support.
40295 (WIDE): New macro.
26428b7c 40296
f039c043
UD
402972011-12-10 Ulrich Drepper <drepper@gmail.com>
40298
40299 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40300 the inner loop.
40301
850fb039
AS
403022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40303
40304 [BZ #13472]
40305 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40306
4efbd5cb
UD
403072011-12-04 Ulrich Drepper <drepper@gmail.com>
40308
52ff5dd0 40309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 40310 Minor optimizations.
52ff5dd0 40311
4efbd5cb
UD
40312 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40313 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40314 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40315
8a426e12
UD
403162011-12-03 Ulrich Drepper <drepper@gmail.com>
40317
aff2453d
UD
40318 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40319 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40320 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40321 for gcc to avoid warnings.
40322 * inet/Makefile (tests): Add tst-checks.
40323 * inet/tst-checks.c: New file.
40324
40325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40326 warning.
40327
40328 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40329 __wmemcmp_sse2.
40330
40331 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40332 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40333
8a426e12
UD
40334 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40335
9bea3473
UD
403362011-12-02 Ulrich Drepper <drepper@gmail.com>
40337
3a965496
UD
40338 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40339 problem.
40340
9bea3473
UD
40341 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40342
f101631b
UD
403432011-11-29 Joseph Myers <joseph@codesourcery.com>
40344
40345 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40346 conditional on GCC version.
40347 (__arch_compare_and_exchange_val_8_acq)
40348 (__arch_compare_and_exchange_val_16_acq)
40349 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40350 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40351 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40352
a98275aa
UD
403532011-12-02 Joseph Myers <joseph@codesourcery.com>
40354
40355 * sysdeps/sh/backtrace.c: New file.
40356
d4cc29a2
AS
403572011-12-02 Andreas Schwab <schwab@redhat.com>
40358
40359 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40360 parenthesis.
40361
6257af2d
AS
403622011-12-01 Andreas Schwab <schwab@redhat.com>
40363
40364 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40365 falling back to utime.
40366
b5f44c1a
AS
403672011-11-30 Andreas Schwab <schwab@redhat.com>
40368
40369 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40370 expectations for float.
40371
f3a6cc0a
AS
403722011-11-29 Andreas Schwab <schwab@redhat.com>
40373
40374 * locale/weight.h (findidx): Add parameter len.
40375 * locale/weightwc.h (findidx): Likewise.
40376 * posix/fnmatch_loop.c (FCT): Adjust caller.
40377 * posix/regcomp.c (build_equiv_class): Likewise.
40378 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40379 * posix/regexec.c (check_node_accept_bytes): Likewise.
40380 * string/strcoll_l.c (STRCOLL): Likewise.
40381 * string/strxfrm_l.c (STRXFRM): Likewise.
40382
9d65ea3a
UD
403832011-11-17 Ulrich Drepper <drepper@gmail.com>
40384
40385 * Makefile.in: Remove CVSOPT handling.
40386 * configure.in: Remove use of AC_REVISION.
40387 * iconvdata/Makefile (distribute): No need to filter out CVS.
40388 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40389 handling.
40390
5583a086
AS
403912011-11-16 Andreas Schwab <schwab@redhat.com>
40392
40393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40394 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40395 [USE_AS_STRNCASECMP_L]: Likewise.
40396 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40397 NO_TLS_DIRECT_SEG_REFS.
40398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40399 Fix argument offsets for non-PIC.
40400 [USE_AS_STRNCASECMP_L]: Likewise.
40401 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40402 NO_TLS_DIRECT_SEG_REFS.
40403
d62a8200
UD
404042011-11-15 Ulrich Drepper <drepper@gmail.com>
40405
9d65ea3a 40406 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
40407 O_CLOEXEC.
40408 * locale/loadlocale.c (_nl_load_locale): Likewise.
40409
09f93bd3
AS
404102011-11-15 Andreas Schwab <schwab@redhat.com>
40411
446514f9
AS
40412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40413 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40414 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40415 (SYSCALL_GETTIME): Set errno on error.
40416
09f93bd3
AS
40417 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40418 count references to noai6ai_cached.
40419
312be3f9
UD
404202011-11-15 Ulrich Drepper <drepper@gmail.com>
40421
40422 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40423
40424 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40425 FD_CLOEXEC for /proc/self/maps.
40426
40427 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40428 FD_CLOEXEC for /proc/meminfo.
40429
40430 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40431 gai.conf.
40432
40433 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40434 FD_CLOEXEC for given file.
40435
40436 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40437
40438 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40439 FD_CLOEXEC for /etc/hosts.
40440 (_gethtent): Likewise.
40441
40442 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40443
40444 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40445 cancellation and set FD_CLOEXEC for /etc/netgroup.
40446
40447 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40448 reading /etc/publickey.
40449
40450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40451 allow cancellation when reading /etc/group.
40452
40453 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40454 cancellation.
40455 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40456
40457 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40458 when using data file.
40459
40460 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40461
40462 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40463 (write_nis_obj): Use "c" and "e" in fopen.
40464
40465 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40466
40467 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40468
40469 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40470
40471 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40472
40473 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40474 locale.alias.
40475
40476 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40477
40478 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40479
40480 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40481
40482 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40483 file parsing and set FD_CLOEXEC.
40484
82af0fa8
UD
404852011-11-14 Ulrich Drepper <drepper@gmail.com>
40486
40487 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40488
a5fb313c
AS
404892011-11-14 Andreas Schwab <schwab@redhat.com>
40490
40491 * malloc/arena.c (arena_get2): Don't call reused_arena when
40492 _int_new_arena failed.
40493
6abf3465
UD
404942011-11-14 Ulrich Drepper <drepper@gmail.com>
40495
40496 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40497 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40498 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40499 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40502 to compile strcasecmp and strncasecmp.
40503 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40504 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40505
40506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40507
76e3966e
UD
405082011-11-13 Ulrich Drepper <drepper@gmail.com>
40509
40510 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40511 locale-defines.sym to gen-as-const-headers.
40512 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40513 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40515 to compile strcasecmp and strncasecmp.
40516 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40517 strcasecmp_l and strncasecmp_l.
40518 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40519 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40520 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40521 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40522 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40523 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40524 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40525 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40526 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40527 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40528 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40529
ab26144e
UD
405302011-11-12 Ulrich Drepper <drepper@gmail.com>
40531
7edb22ef
UD
40532 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40533 result of SYSDEP_GETTIME_CPU to retval.
40534 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40535 parameter list to macro. Remove trailing semicolon. Adjust users.
40536
9694fc44
UD
40537 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40538 variable.
40539
8ad89ef8
UD
40540 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40541 mantissa words.
40542 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40543
0c822ef9
UD
40544 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40545 from unused variable.
40546
874e0564
UD
40547 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40548 DWARF definitions.
40549 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40550 for assembling.
40551
3a2edc79
UD
40552 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40553 over namespaces.
40554
f3c2577f
UD
40555 * sunrpc/rpc_prot.c (rejected): Fix case value.
40556
294ce126
UD
40557 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40558 unsigned long long int to avoid warnings in shift.
40559
5e2b63c6
UD
40560 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40561 of use of trans.
40562 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40563 variable tmp.
40564
e7f4b08e
UD
40565 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40566 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40567 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40568
ab26144e
UD
40569 * nis/nis_table.c (nis_list): Use variable of correct type for
40570 result of __follow_path call.
40571
8a6d5255
AZ
405722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40573
40574 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40575 of math functions ceil, trunc, floor, round, and sqrt, when
40576 avaliable on the platform.
40577 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40578 name clash.
40579 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40580 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40581 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40582
aaddc98c
MP
405832011-10-30 Marek Polacek <mpolacek@redhat.com>
40584
40585 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40586 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40587
95b7042b
RM
405882011-11-11 Roland McGrath <roland@hack.frob.com>
40589
40590 * include/unistd.h: Fix __readlink return type.
40591 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40592
57769839
UD
405932011-11-11 Ulrich Drepper <drepper@gmail.com>
40594
40595 * stdlib/ucontext.h: Undo last change for makecontext.
40596
edc5984d
AS
405972011-11-11 Andreas Schwab <schwab@redhat.com>
40598
98591e58
AS
40599 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40600
edc5984d
AS
40601 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40602 * setjmp/setjmp.h: Mark functions as non-leaf.
40603 * setjmp/bits/setjmp2.h: Likewise.
40604 * stdlib/ucontext.h: Likewise.
40605
77cdc054
AS
406062011-11-10 Andreas Schwab <schwab@redhat.com>
40607
40608 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40609 (reused_arena): Don't check arena limit.
40610 (arena_get2): Atomically check arena limit.
40611
fe72eebd
UD
406122011-11-08 Ulrich Drepper <drepper@gmail.com>
40613
5f078c32
UD
40614 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40615 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40616
fe72eebd
UD
40617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40618 instructions.
40619
ae1bc2fa
AS
406202011-11-07 Andreas Schwab <schwab@redhat.com>
40621
7583a88d
AS
40622 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40623 handler when locking.
40624
ae1bc2fa
AS
40625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40626 Fix size of allocated buffer.
40627
10fb0bfa
AS
406282011-11-04 Andreas Schwab <schwab@redhat.com>
40629
998832a4
AS
40630 [BZ #10103]
40631 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40632 declarations for long double functions.
40633 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40634
10fb0bfa
AS
40635 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40636
3d7ba52b
AS
406372011-11-03 Andreas Schwab <schwab@redhat.com>
40638
a9ae54a1
AS
40639 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40640 installed.
40641
3d7ba52b
AS
40642 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40643 is disabled.
40644
bc8db248
ST
406452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40646
40647 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40648
45b96dd6
AS
406492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40650
647776f6
AS
40651 * include/alloca.h (stackinfo_alloca_round): Define.
40652 (extend_alloca): Use it.
40653 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40654 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40655 here.
40656
d91a8b93
AS
40657 * scripts/check-local-headers.sh: Ignore libaudit.h.
40658
45b96dd6
AS
40659 * nscd/Makefile (extra-objs): Make recursively expanded.
40660
432d41ce
UD
406612011-11-01 Ulrich Drepper <drepper@gmail.com>
40662
34372fc6
UD
40663 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40665
fadb59f8
UD
40666 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40667 * posix/tst-rfc3484-2.c: Likewise.
40668 * posix/tst-rfc3484-3.c: Likewise.
40669
78239589
UD
40670 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40671 process_vm_writev.
40672 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40673 process_vm_writev.
40674 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40675 process_vm_writev from libc using GLIBC_2.15 version.
40676
432d41ce
UD
40677 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40678
02f9c6cf
PP
406792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40680
40681 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40682 stack usage.
40683
3a2c0242
UD
406842011-10-31 Ulrich Drepper <drepper@gmail.com>
40685
f4ec4833
UD
40686 [BZ #13367]
40687 * nss/getent.c (initgroups_keys): Show error message in case no group
40688 names are given.
40689
3a2c0242
UD
40690 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40691 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40692 __bump_nl_timestamp.
40693 * nscd/connections (nscd_init): When host database is served open
40694 netlink socket and request notification about configuration changes.
40695 (main_loop_poll): Track netlink file descriptor and bump timestamp
40696 in case data becomes available.
40697 (main_loop_epoll): Likewise.
40698 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40699 (database_pers_head): Add extra_data fileds.
40700 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40701 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40702 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40703 Adjust caller.
40704 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40705 in6ai data, call __free_in6ai.
40706 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40707 Add -DHAVE_NETLINK.
40708 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40709 interface information. Reuse previous data if netlink timestamp
40710 is not changed.
40711 (__bump_nl_timestamp): New function.
40712 (__free_in6ai): New function.
40713
636064eb
UD
407142011-10-30 Ulrich Drepper <drepper@gmail.com>
40715
40716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40717 close_not_cancel_no_status here.
40718 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40719
9beb2334
UD
407202011-10-29 Ulrich Drepper <drepper@gmail.com>
40721
6ef76f3b
UD
40722 [BZ #13276]
40723 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40724 return value.
40725
0ffc4f3e 40726 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40727 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40728 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40729
cb95113e
UD
407302011-07-03 Andreas Jaeger <aj@suse.de>
40731
40732 [BZ #10709]
40733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40734 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40735 * math/libm-test.inc (sin_test): Add test case.
40736
a1b560ff
UD
407372011-10-29 Ulrich Drepper <drepper@gmail.com>
40738
c9aaface
UD
40739 [BZ #13337]
40740 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40741 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40742
d272e7f1
UD
40743 * elf/chroot_canon.c (chroot_canon): Cleanups.
40744
1bc33071
UD
40745 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40746
1760874d
TJ
40747 [BZ #13335]
40748 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40749 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40750
51d91b18
UD
40751 * string/test-strchr.c: Make usable for strchrnul testing.
40752 * string/test-strchrnul.c: New file.
40753 * string/Makefile (strop-tests): Add strchrnul.
40754
a1b560ff 40755 * po/it.po: Update from translation team.
b611fb81 40756 * po/es.po: Likewise.
a1b560ff 40757
a5b81e1f
UD
407582011-10-28 Ulrich Drepper <drepper@gmail.com>
40759
fd52bc6d
UD
40760 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40761 the three constants needed as parameters. Drop the others.
40762 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40763 __m128i_strloadu_tolower.
52e4b9eb
UD
40764 Create and initialize variable zero and use it in all the places
40765 where _mm_setzero_si128 was used.
fd52bc6d 40766
a5b81e1f
UD
40767 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40768 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40769 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40770 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40771 anymore.
40772 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40773 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40774 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40775 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40776 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40777 __mpranred, __mptan.
40778 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40779 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40780 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40781 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40782 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40783 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40785 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40786 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40787
b4343346
AS
407882011-10-28 Andreas Schwab <schwab@redhat.com>
40789
0c92d8a8
AS
40790 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40791 redefine if SHARED.
40792 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40793
b4343346
AS
40794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40795 wide char related routines to wcsmbs subdir.
40796
3871f58f
AS
407972011-10-27 Andreas Schwab <schwab@redhat.com>
40798
40799 [BZ #13344]
40800 * misc/sys/cdefs.h (__THROWNL): Define.
40801 * posix/unistd.h: Use __THREADNL instead of __THREAD
40802 for memory synchronization functions.
40803
94d44d9f
RM
408042011-10-26 Roland McGrath <roland@hack.frob.com>
40805
21b64b15 40806 [BZ #13349]
94d44d9f
RM
40807 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40808 doesn't exist.
40809 * manual/stdio.texi (Obstack Streams): Node removed.
40810
f6ce9294
AS
408112011-10-26 Andreas Schwab <schwab@redhat.com>
40812
80479147
AS
40813 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40815 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40816
f6ce9294
AS
40817 * math/math_private.h (math_force_eval): Allow non-addressable
40818 arguments.
40819 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40820
618280a1
UD
408212011-10-25 Ulrich Drepper <drepper@gmail.com>
40822
e0016b11
UD
40823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40824 file is not needed.
40825
40826 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40827 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40828 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40829 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40830 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40831 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40832 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40833 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40834 Add AVX variants.
40835 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40836 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40837 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40838 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40839 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40840 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40841 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40843 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40844 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40845 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40846 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40848 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40849 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40850 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40851 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40852 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40853 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40854
40855 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40856 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40857
618280a1
UD
40858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40859 place. Use VEX encoding when compiling for AVX.
40860
37822576
AS
408612011-10-25 Andreas Schwab <schwab@redhat.com>
40862
1f1e1947
AS
40863 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40865
37822576
AS
40866 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40867
31ea014d
UD
408682011-10-25 Ulrich Drepper <drepper@gmail.com>
40869
d7826aa1 40870 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40871 useless if() expression.
d7826aa1
UD
40872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40873 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40874 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40875 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40876 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40877 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40882 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40883 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40884 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40885 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40886 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40887 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40890 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40891
31ea014d
UD
40892 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40893
16437fec
AS
408942011-10-25 Andreas Schwab <schwab@redhat.com>
40895
40896 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40897 condition.
40898 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40899
31d3cc00
UD
409002011-10-25 Ulrich Drepper <drepper@gmail.com>
40901
40902 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40903 .text section. Avoid duplicate constants.
40904 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40913 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40914 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40915 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40916 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40920 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40921 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40922 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40927 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40928 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40929 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40930 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40931 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40932 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40933 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40934 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40935 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40937 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40938 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40939 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40940 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40941 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40942 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40943 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40944 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40945 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40946 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40948 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40949
58985aa9
UD
409502011-10-24 Ulrich Drepper <drepper@gmail.com>
40951
202c9deb
UD
40952 * sysdeps/x86_64/dla.h: Move to ...
40953 * sysdeps/x86_64/fpu/dla.h: ...here.
40954 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40955 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40956
af968f62
UD
40957 * config.make.in: Add have-mfma4 entry.
40958 * configure.in: Substitute libc_cv_cc_fma4.
40959 * math/Makefile (dbl-only-routines): Add sincostab.
40960 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40961 Use __sincostab not sincos.
40962 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40963 name is a macro.
40964 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40968 using __copysign.
40969 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40970 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40971 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40972 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40973 and __inv.
40974 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40975 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40976 __copysign.
40977 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40978 define aliases when function name is a macro.
40979 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40980 sysdeps/ieee754/dbl-64/sincos.tbl.
40981 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40982 fma4-enabled routines.
40983 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40984 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40985 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40986 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40987 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40988 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40992 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40993 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40994 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40995 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40996 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40997 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40998 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40999 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41000 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41001 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41002 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41003 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41004 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41005 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41006 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41008 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41010 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41011 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41012 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41013
58985aa9
UD
41014 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41015 rename.
41016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41023 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41024
a201fbcf
AS
410252011-10-24 Andreas Schwab <schwab@redhat.com>
41026
41027 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41028
fc2ee42a
LD
410292011-10-23 Ulrich Drepper <drepper@gmail.com>
41030
bb3129bd
UD
41031 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41032
0275fff8
UD
41033 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41034 prediction.
41035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41036
2fa2ae85
UD
41037 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41038 Remove unused variable magic_bits.
41039 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41040
fc2ee42a
LD
41041 * string/strnlen.c: Define and use STRNLEN macro.
41042 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41043 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41045 * wcsmbs/wcslen.c: Define and use WCSLEN.
41046 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41047 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41048 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41049 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41050 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41051 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41053
ce7dd29f
LD
410542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41055
41056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41057 strnlen-sse2-no-bsf.
41058 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41060 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41061 Add strnlen support.
41062 (USE_AS_STRNLEN): New macro.
41063 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41064 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41065 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41066 * sysdeps/x86_64/wcslen.S: New file.
41067
979c70a3
MZ
410682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41069
41070 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41071 XMM-moves are used for copying on small sizes.
41072
2d09f82f
LD
410732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41074
41075 * wcsmbs/Makefile (strop-tests): Add wcschr.
41076 * wcsmbs/test-wcschr.c: New file.
41077 * string/test-strchr.c: Update.
41078 Add wcschr support.
41079 (WIDE): New macro.
41080
619fccca
LD
410812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41082
2d09f82f 41083 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41084 * wcsmbs/test-wcslen.c: New file.
41085 * string/test-strlen.c: Update.
41086 Add wcslen support.
41087 (WIDE): New macro.
41088
09f699ea
UD
410892011-10-23 Ulrich Drepper <drepper@gmail.com>
41090
41091 * po/it.po: Update from translation team.
41092
95584d3b
LD
410932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41094
41095 * sysdeps/x86_64/wcscmp.S: Update.
41096 Fix wrong comparison semantics.
41097 wcscmp shall use signed comparison not unsigned.
41098 Don't use substraction to avoid overflow bug.
41099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41100 * wcsmbc/wcscmp.c: Likewise.
41101 * string/test-strcmp.c: Likewise.
41102 Add new tests to check cases with negative values.
41103
c8b3296b
UD
411042011-10-23 Ulrich Drepper <drepper@gmail.com>
41105
41106 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41107 * sysdeps/x86_64/dla.h: ...here. New file.
41108 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41113 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41117
246ad57a
AS
411182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41119
41120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41121 __ynl_finite aliases.
41122
a1a87169
UD
411232011-10-22 Ulrich Drepper <drepper@gmail.com>
41124
0d355eb7
UD
41125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41126
a1a87169
UD
41127 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41128 define DLA_FMA.
41129 [DLA_FMA] (EMULV): Use DLA_FMA.
41130 [DLA_FMA] (MUL12): Use EMULV.
41131 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41132 that are not needed.
41133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41140
ee2aafe0
AS
411412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41142
41143 * math/s_nan.c: Undef __nan.
41144 * math/s_nanf.c: Undef __nanf.
41145 * math/s_nanl.c: Undef __nanl.
41146 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41147 "math_private.h".
41148
bc62c2fb
UD
411492011-10-22 Ulrich Drepper <drepper@gmail.com>
41150
77425c63
UD
41151 * math/s_catan.c: Add branch predictions.
41152 * math/s_catanf.c: Likewise.
41153 * math/s_catanh.c: Likewise.
41154 * math/s_catanhf.c: Likewise.
41155 * math/s_catanhl.c: Likewise.
41156 * math/s_catanl.c: Likewise.
41157 * math/s_cexp.c: Likewise.
41158 * math/s_cexpf.c: Likewise.
41159 * math/s_cexpl.c: Likewise.
41160 * math/s_clog.c: Likewise.
41161 * math/s_clog10.c: Likewise.
41162 * math/s_clog10f.c: Likewise.
41163 * math/s_clog10l.c: Likewise.
41164 * math/s_clogf.c: Likewise.
41165 * math/s_clogl.c: Likewise.
41166 * math/s_csqrt.c: Likewise.
41167 * math/s_csqrtf.c: Likewise.
41168 * math/s_csqrtl.c: Likewise.
41169 * math/s_ctanf.c: Likewise.
41170 * math/s_ctanh.c: Likewise.
41171 * math/s_ctanhf.c: Likewise.
41172 * math/s_ctanhl.c: Likewise.
41173 * math/s_ctanl.c: Likewise.
41174
bc62c2fb
UD
41175 * math/math_private.h: Define __nan, __nanf, __nanl.
41176 * math/s_cacosh.c: Include <math_private.h>.
41177 * math/s_cacoshl.c: Likewise.
41178 * math/s_casinh.c: Likewise.
41179 * math/s_casinhf.c: Likewise.
41180 * math/s_casinhl.c: Likewise.
41181 * math/s_ccos.c: Rely entire on ccosh.
41182 * math/s_ccosf.c: Rely entire on ccoshf.
41183 * math/s_ccosl.c: Rely entirely on ccoshl.
41184 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41185 Remove tests for FE_INVALID.
41186 * math/s_ccoshf.c: Likewise.
41187 * math/s_ccoshl.c: Likewise.
41188 * math/s_csin.c: Likewise.
41189 * math/s_csinf.c: Likewise.
41190 * math/s_csinh.c Likewise.
41191 * math/s_csinhf.c: Likewise.
41192 * math/s_csinhl.c: Likewise.
41193 * math/s_csinl.c: Likewise.
41194 * math/s_ctan.c: Likewise.
41195 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41196 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41197 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41198
8ec250a4
UD
411992011-10-21 Ulrich Drepper <drepper@gmail.com>
41200
c196fed8
UD
41201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41202 compilation problems.
41203
8ec250a4
UD
41204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41205 __builtin_expect.
41206
8d4f46c6
UD
412072011-10-20 Ulrich Drepper <drepper@gmail.com>
41208
ed72b654
UD
41209 * sysdeps/i386/configure.in: Test for -mfma4 option.
41210 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41211 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41212 COMMON_CPUID_INDEX_80000001.
41213 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41214 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41215 use it if FMA3 is not supported.
41216 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41217
8d4f46c6
UD
41218 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41219 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41220
d45c60c2
AS
412212011-10-20 Andreas Schwab <schwab@redhat.com>
41222
41223 [BZ #12892]
41224 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41225 it would create a cycle with a link time dependency.
41226
d9a4d2ab
UD
412272011-10-19 Ulrich Drepper <drepper@gmail.com>
41228
855d1560
UD
41229 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41230 instruction.
41231 * string/Makefile (strop-tests): Add rawmemchr.
41232 * string/test-rawmemchr.c: New file.
41233
d9a4d2ab
UD
41234 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41236 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41237 when compiling str{,n}casecmp and when AVX is available. Hook up
41238 new optimized code in initializers.
41239
8f3b1ffe
AS
412402011-10-19 Andreas Schwab <schwab@redhat.com>
41241
41242 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41243 __feraiseexcept instead of feraiseexcept.
41244
d38f1dba
UD
412452011-10-18 Ulrich Drepper <drepper@gmail.com>
41246
d9a8d0ab
UD
41247 * math/math_private.h: Define defaults for libc_fetestexcept and
41248 libc_feupdateenv.
41249 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41250 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41251 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41252 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41253 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41254 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41255 libc_fetestexcept and libc_feupdateenv.
41256
4855e3dd
UD
41257 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41258 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41259 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41260 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41261 libc_feholdexcept_setround.
41262
581d30e3
UD
41263 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41264 Add s_nearbyint-c and s_nearbyintf-c.
41265 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41266 nearbyintf inlines.
41267 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41270 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41271
d38f1dba
UD
41272 * math/math_private.h: Define defaults for libc_fegetround,
41273 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41274 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41275 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41277 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41278 standard functions.
41279 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41280 Remove comments and hacks for old compiler versions.
41281 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41282 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41283 libc_feholdexceptl.
41284
caa6c9d8
AS
412852011-10-18 Andreas Schwab <schwab@redhat.com>
41286
41287 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
41288 (__feraiseexcept_renamed): Add __NTH.
41289 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
41290 namespace violations.
41291
97c066e6
UD
412922011-10-17 Ulrich Drepper <drepper@gmail.com>
41293
99ce7b04
UD
41294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41295
1004d182
UD
41296 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41297
228a984d
UD
41298 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41299 recently added interfaces.
41300 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41301
c8553a6a
UD
41302 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41303 about macro parameter expansion.
41304
ed22dcf6
UD
41305 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41306 __NO_MATH_INLINES is defined. Cleanups.
41307
41308 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41309 and __floorf is target has SSE4.1.
41310 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41311 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41312 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41313 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41314
b171c137
UD
41315 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41316 name.
41317 (floorf): Likewise.
41318
97c066e6
UD
41319 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41320
629f62ef
AS
413212011-10-17 Andreas Schwab <schwab@redhat.com>
41322
49a43d80
AS
41323 * misc/sys/cdefs.h: Fix last change.
41324
629f62ef
AS
41325 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41326 database lookup.
41327
e453f6cd
UD
413282011-10-16 Ulrich Drepper <drepper@gmail.com>
41329
aa78043a
UD
41330 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41331
ad0f5cad
UD
41332 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41334 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41335 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41337 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41338 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41339 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41340 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41341 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41342 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41343 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41344 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41345 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41346 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41347 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41348 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41349 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41350 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41351 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41352 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41353 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41354
41355 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41356 ceil, ceilf, floor, floorf.
41357
41358 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41359 Perform IRELATIVE relocations last.
41360
e453f6cd
UD
41361 * elf/do-rel.h: Add another parameter nrelative, replacing the
41362 local variable with the same name. Change name of the function
41363 to end in Rel or Rela (uppercase).
41364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41365 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41366 elf_dynamic_do_##reloc function.
41367
fd5bdc09
UD
413682011-10-15 Ulrich Drepper <drepper@gmail.com>
41369
79b195b5
UD
41370 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41371 is sufficient, at least on modern CPUs.
41372
d4a28569
UD
41373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41374
b61099b5
UD
41375 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41376 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41377
bcf01e6d
UD
41378 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41379 __expl_finite.
41380 * math/bits/math-finite.h: Add entries for exp.
41381 * math/e_expl.c: Add __*_finite alias.
41382 * sysdeps/i386/fpu/e_exp.S: Likewise.
41383 * sysdeps/i386/fpu/e_expf.S: Likewise.
41384 * sysdeps/i386/fpu/e_expl.c: Likewise.
41385 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41386 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41387 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41389 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41390 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41391 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41392
ba1a0d59
UD
41393 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41394 is sufficient, at least on modern CPUs.
41395
fd5bdc09
UD
41396 * ctype/ctype-info.c (__ctype_init): Define.
41397 * include/ctype.h (__ctype_init): Declare.
41398 (__ctype_b_loc): The variable is always initialized.
41399 (__ctype_toupper_loc): Likewise.
41400 (__ctype_tolower_loc): Likewise.
41401 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41402 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41403
7872cfb0
AS
414042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41405
b468825a
AS
41406 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41407
7872cfb0
AS
41408 * configure.in: Also look in $cxxmachine/include for C++ system
41409 headers.
41410
be13f7bf
LD
414112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41412
41413 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41414 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41415 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41416 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41417 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41418 (USE_AS_WMEMCMP): New macro.
41419 Fixing indents.
41420 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41421 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41422 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41423 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41425 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41426 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41427 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41428 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41429 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41430 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41431 (USE_AS_WMEMCMP): New macro.
41432 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41433 * sysdeps/string/test-memcmp.c: Update.
41434 Fix simple_wmemcmp.
41435 Add new tests.
41436 * wcsmbs/wmemcmp.c: Update.
41437 (WMEMCMP): New macro.
41438 Fix overflow bug.
41439
556a2007
AJ
414402011-10-12 Andreas Jaeger <aj@suse.de>
41441
41442 [BZ #13268]
41443 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41444
538faaa7
UD
414452011-10-15 Ulrich Drepper <drepper@gmail.com>
41446
ab6737ff
UD
41447 * libio/iofwide.c (do_length): Avoid warning.
41448
538faaa7
UD
41449 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41450
396a21b1
UD
414512011-10-14 Ulrich Drepper <drepper@gmail.com>
41452
cdf2901f
UD
41453 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41454
38ad40ce
UD
41455 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41456 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41457 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41458 * sysdeps/i386/i686/fpu/e_log.S: New file.
41459 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41460 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41461
396a21b1
UD
41462 * ctype/ctype.h: Add support for inlined isXXX functions when
41463 compiling C++ code.
41464
6b1f68c9
AS
414652011-10-14 Andreas Schwab <schwab@redhat.com>
41466
349290c0
AS
41467 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41468
6b1f68c9
AS
41469 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41470
f2282d42
RM
414712011-10-13 Roland McGrath <roland@hack.frob.com>
41472
41473 [BZ #13291]
41474 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41475
5298ffa8
AS
414762011-10-13 Andreas Schwab <schwab@redhat.com>
41477
714fad23
AS
41478 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41479 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41480 feraiseexcept.
41481
81dcc7fb
AS
41482 * sysdeps/x86_64/memrchr.S: Check for zero size.
41483
5298ffa8
AS
41484 * string/stratcliff.c: Add memrchr tests.
41485
951fbcec
LD
414862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41487
41488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41489 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41490 rawmemchr-sse2 rawmemchr-sse2-bsf.
41491 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41492 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41493 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41494 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41495 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41496 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41497 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41498 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41499 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41500 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41501 * string/memrchr.c (MEMRCHR): New macro.
41502
0ac5ae23
UD
415032011-10-12 Ulrich Drepper <drepper@gmail.com>
41504
41505 Add integration with gcc's -ffinite-math-only and optimize wrapper
41506 functions in libm.
41507 * Versions.def: Define GLIBC_2.15 version for libm.
41508 * math/Makefile (headers): Add bits/math-finite.h.
41509 * math/bits/math-finite.h: New file.
41510 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41511 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41512 * math/e_acoshl.c: Add __*_finite alias.
41513 * math/e_acosl.c: Likewise.
41514 * math/e_asinl.c: Likewise.
41515 * math/e_atan2l.c: Likewise.
41516 * math/e_atanhl.c: Likewise.
41517 * math/e_coshl.c: Likewise.
41518 * math/e_exp10.c: Likewise.
41519 * math/e_exp10f.c: Likewise.
41520 * math/e_exp10l.c: Likewise.
41521 * math/e_exp2l.c: Likewise.
41522 * math/e_fmodl.c: Likewise.
41523 * math/e_gammal_r.c: Likewise.
41524 * math/e_hypotl.c: Likewise.
41525 * math/e_j0l.c: Likewise.
41526 * math/e_j1l.c: Likewise.
41527 * math/e_jnl.c: Likewise.
41528 * math/e_lgammal_r.c: Likewise.
41529 * math/e_log10l.c: Likewise.
41530 * math/e_log2l.c: Likewise.
41531 * math/e_logl.c: Likewise.
41532 * math/e_powl.c: Likewise.
41533 * math/e_sinhl.c: Likewise.
41534 * math/e_sqrtl.c: Likewise.
41535 * math/e_scalb.c: Completely rewritten and optimized.
41536 * math/e_scalbf.c: Likewise.
41537 * math/e_scalbl.c: Likewise.
41538 * math/w_acos.c: Likewise.
41539 * math/w_acosf.c: Likewise.
41540 * math/w_acosl.c: Likewise.
41541 * math/w_acosh.c: Likewise.
41542 * math/w_acoshf.c: Likewise.
41543 * math/w_acoshl.c: Likewise.
41544 * math/w_asin.c: Likewise.
41545 * math/w_asinf.c: Likewise.
41546 * math/w_asinl.c: Likewise.
41547 * math/w_atan2.c: Likewise.
41548 * math/w_atan2f.c: Likewise.
41549 * math/w_atan2l.c: Likewise.
41550 * math/w_atanh.c: Likewise.
41551 * math/w_atanhf.c: Likewise.
41552 * math/w_atanhl.c: Likewise.
41553 * math/w_exp10.c: Likewise.
41554 * math/w_exp10f.c: Likewise.
41555 * math/w_exp10l.c: Likewise.
41556 * math/w_fmod.c: Likewise.
41557 * math/w_fmodf.c: Likewise.
41558 * math/w_fmodl.c: Likewise.
41559 * math/w_j0.c: Likewise.
41560 * math/w_j0f.c: Likewise.
41561 * math/w_j0l.c: Likewise.
41562 * math/w_j1.c: Likewise.
41563 * math/w_j1f.c: Likewise.
41564 * math/w_j1l.c: Likewise.
41565 * math/w_jn.c: Likewise.
41566 * math/w_jnf.c: Likewise.
41567 * math/w_log.c: Likewise.
41568 * math/w_logf.c: Likewise.
41569 * math/w_logl.c: Likewise.
41570 * math/w_log10.c: Likewise.
41571 * math/w_log10f.c: Likewise.
41572 * math/w_log10l.c: Likewise.
41573 * math/w_log2.c: Likewise.
41574 * math/w_log2f.c: Likewise.
41575 * math/w_log2l.c: Likewise.
41576 * math/w_pow.c: Likewise.
41577 * math/w_powf.c: Likewise.
41578 * math/w_powl.c: Likewise.
41579 * math/w_remainder.c: Likewise.
41580 * math/w_remainderf.c: Likewise.
41581 * math/w_remainderl.c: Likewise.
41582 * math/w_scalb.c: Likewise.
41583 * math/w_scalbf.c: Likewise.
41584 * math/w_scalbl.c: Likewise.
41585 * math/w_sqrt.c: Likewise.
41586 * math/w_sqrtf.c: Likewise.
41587 * math/w_sqrtl.c: Likewise.
41588 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41589 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41590 used.
41591 * math/math_private.h: Declare __kernel_standard_f.
41592 * math/w_cosh.c: Remove cruft and optimize a bit.
41593 * math/w_coshf.c: Likewise.
41594 * math/w_coshl.c: Likewise.
41595 * math/w_exp2.c: Likewise.
41596 * math/w_exp2f.c: Likewise.
41597 * math/w_exp2l.c: Likewise.
41598 * math/w_hypot.c: Likewise.
41599 * math/w_hypotf.c: Likewise.
41600 * math/w_hypotl.c: Likewise.
41601 * math/w_lgamma.c: Likewise.
41602 * math/w_lgamma_r.c: Likewise.
41603 * math/w_lgammaf.c: Likewise.
41604 * math/w_lgammaf_r.c: Likewise.
41605 * math/w_lgammal.c: Likewise.
41606 * math/w_lgammal_r.c: Likewise.
41607 * math/w_sinh.c: Likewise.
41608 * math/w_sinhf.c: Likewise.
41609 * math/w_sinhl.c: Likewise.
41610 * math/w_tgamma.c: Likewise.
41611 * math/w_tgammaf.c: Likewise.
41612 * math/w_tgammal.c: Likewise.
41613 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41615 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41616 Minor optimizations. Pretty printing. Remove cruft.
41617 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41618 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41619 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41620 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41621 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41622 * sysdeps/i386/fpu/e_asin.S: Likewise.
41623 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41624 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41625 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41626 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41627 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41629 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41630 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41631 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41632 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41633 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41634 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41635 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41636 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41637 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41638 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41639 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41640 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41641 * sysdeps/i386/fpu/e_log.S: Likewise.
41642 * sysdeps/i386/fpu/e_log10.S: Likewise.
41643 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41644 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41645 * sysdeps/i386/fpu/e_log2.S: Likewise.
41646 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41647 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41648 * sysdeps/i386/fpu/e_logf.S: Likewise.
41649 * sysdeps/i386/fpu/e_logl.S: Likewise.
41650 * sysdeps/i386/fpu/e_pow.S: Likewise.
41651 * sysdeps/i386/fpu/e_powf.S: Likewise.
41652 * sysdeps/i386/fpu/e_powl.S: Likewise.
41653 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41654 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41655 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41656 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41657 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41659 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41660 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41661 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41662 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41667 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41669 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41670 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41671 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41672 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41673 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41683 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41686 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41687 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41688 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41689 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41690 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41691 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41692 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41693 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41694 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41695 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41696 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41697 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41698 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41699 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41700 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41701 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41702 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41703 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41704 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41708 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41712 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41715 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41742 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41743 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41745 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41747 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41748 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41750 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41753 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41754 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41755 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41756 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41757 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41758 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41759 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41760 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41761 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41762 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41763 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41764 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41765 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41766 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41767 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41770 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41771 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41772 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41773 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41774 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41775 (__isnanf): Likewise.
41776 (__isinf_ns): Likewise.
41777 (__isinf_nsf): Likewise.
41778 (__finite): Likewise.
41779 (__finitef): Likewise.
41780 (__ieee754_sqrt): Define as macro.
41781 (__ieee754_sqrtf): Define as macro.
41782 (__ieee754_sqrtl): Define as macro.
41783 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41784 inlined copy.
41785 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41786 __FINITE_MATH_ONLY__ consistent.
41787 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41788
12cc2fcd
AS
417892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41790
a843a204
AS
41791 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41792 of rawmemchr.
41793
12cc2fcd
AS
41794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41795
c853acd5
UD
417962011-10-09 Ulrich Drepper <drepper@gmail.com>
41797
41798 * po/ja.po: Update from translation team.
41799
c658d255
RM
418002011-10-08 Roland McGrath <roland@hack.frob.com>
41801
110946e4
RM
41802 * locale/programs/locarchive.c (prepare_address_space): New function.
41803 (create_archive, enlarge_archive, open_archive): Use it.
41804
50604220
RM
41805 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41806 inside [SHARED], where it is used.
41807
c658d255
RM
41808 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41809
41810 * nss/getent.c (netgroup_keys): Remove unused variable.
41811 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41812
6a621eb7
UD
418132011-10-08 Ulrich Drepper <drepper@gmail.com>
41814
7edb55ce
UD
41815 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41816 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41817 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41818 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41819 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41820 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41821 * math/Makefile (libm-calls): Add s_isinf_ns.
41822 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41823 * math/multc3.c: Likewise.
41824 * math/s_casin.c: Likewise.
41825 * math/s_casinf.c: Likewise.
41826 * math/s_casinl.c: Likewise.
41827 * math/s_ccos.c: Likewise.
41828 * math/s_ccosf.c: Likewise.
41829 * math/s_ccosl.c: Likewise.
41830 * math/s_ctan.c: Likewise.
41831 * math/s_ctanf.c: Likewise.
41832 * math/s_ctanh.c: Likewise.
41833 * math/s_ctanhf.c: Likewise.
41834 * math/s_ctanhl.c: Likewise.
41835 * math/s_ctanl.c: Likewise.
41836 * math/w_fmod.c: Likewise.
41837 * math/w_fmodf.c: Likewise.
41838 * math/w_fmodl.c: Likewise.
41839 * math/w_remainder.c: Likewise.
41840 * math/w_remainderf.c: Likewise.
41841 * math/w_remainderl.c: Likewise.
41842 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41843 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41846 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41847 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41848 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41849 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41850
187da0ae
UD
41851 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41852 of the number.
41853 * stdio-common/printf_fphex.c: Likewise.
41854 * stdio-common/printf_size.c: Likewise.
41855
9277c064
UD
41856 * math/e_exp10.c: Include math_private.h using <...> not "...".
41857 * math/e_exp10f.c: Likewise.
41858 * math/e_exp10l.c: Likewise.
41859 * math/e_exp2l.c: Likewise.
41860 * math/e_j0l.c: Likewise.
41861 * math/e_j1l.c: Likewise.
41862 * math/e_jnl.c: Likewise.
41863 * math/e_lgammal_r.c: Likewise.
41864 * math/e_rem_pio2l.c: Likewise.
41865 * math/e_scalb.c: Likewise.
41866 * math/e_scalbf.c: Likewise.
41867 * math/e_scalbl.c: Likewise.
41868 * math/k_cosl.c: Likewise.
41869 * math/k_sinl.c: Likewise.
41870 * math/k_tanl.c: Likewise.
41871 * math/s_cacoshf.c: Likewise.
41872 * math/s_catan.c: Likewise.
41873 * math/s_catanf.c: Likewise.
41874 * math/s_catanh.c: Likewise.
41875 * math/s_catanhf.c: Likewise.
41876 * math/s_catanhl.c: Likewise.
41877 * math/s_catanl.c: Likewise.
41878 * math/s_ccosh.c: Likewise.
41879 * math/s_ccoshf.c: Likewise.
41880 * math/s_ccoshl.c: Likewise.
41881 * math/s_cexp.c: Likewise.
41882 * math/s_cexpf.c: Likewise.
41883 * math/s_cexpl.c: Likewise.
41884 * math/s_clog.c: Likewise.
41885 * math/s_clog10.c: Likewise.
41886 * math/s_clog10f.c: Likewise.
41887 * math/s_clog10l.c: Likewise.
41888 * math/s_clogf.c: Likewise.
41889 * math/s_clogl.c: Likewise.
41890 * math/s_csin.c: Likewise.
41891 * math/s_csinf.c: Likewise.
41892 * math/s_csinh.c: Likewise.
41893 * math/s_csinhf.c: Likewise.
41894 * math/s_csinhl.c: Likewise.
41895 * math/s_csinl.c: Likewise.
41896 * math/s_csqrt.c: Likewise.
41897 * math/s_csqrtf.c: Likewise.
41898 * math/s_csqrtl.c: Likewise.
41899 * math/s_ctan.c: Likewise.
41900 * math/s_ctanf.c: Likewise.
41901 * math/s_ctanh.c: Likewise.
41902 * math/s_ctanhf.c: Likewise.
41903 * math/s_ctanhl.c: Likewise.
41904 * math/s_ctanl.c: Likewise.
41905 * math/s_ldexp.c: Likewise.
41906 * math/s_ldexpf.c: Likewise.
41907 * math/s_ldexpl.c: Likewise.
41908 * math/s_significand.c: Likewise.
41909 * math/s_significandf.c: Likewise.
41910 * math/s_significandl.c: Likewise.
41911 * math/w_acos.c: Likewise.
41912 * math/w_acosf.c: Likewise.
41913 * math/w_acosh.c: Likewise.
41914 * math/w_acoshf.c: Likewise.
41915 * math/w_acoshl.c: Likewise.
41916 * math/w_acosl.c: Likewise.
41917 * math/w_asin.c: Likewise.
41918 * math/w_asinf.c: Likewise.
41919 * math/w_asinl.c: Likewise.
41920 * math/w_atan2.c: Likewise.
41921 * math/w_atan2f.c: Likewise.
41922 * math/w_atan2l.c: Likewise.
41923 * math/w_atanh.c: Likewise.
41924 * math/w_atanhf.c: Likewise.
41925 * math/w_atanhl.c: Likewise.
41926 * math/w_cosh.c: Likewise.
41927 * math/w_coshf.c: Likewise.
41928 * math/w_coshl.c: Likewise.
41929 * math/w_dremf.c: Likewise.
41930 * math/w_exp10.c: Likewise.
41931 * math/w_exp10f.c: Likewise.
41932 * math/w_exp10l.c: Likewise.
41933 * math/w_exp2.c: Likewise.
41934 * math/w_exp2f.c: Likewise.
41935 * math/w_fmod.c: Likewise.
41936 * math/w_fmodf.c: Likewise.
41937 * math/w_fmodl.c: Likewise.
41938 * math/w_hypot.c: Likewise.
41939 * math/w_hypotf.c: Likewise.
41940 * math/w_hypotl.c: Likewise.
41941 * math/w_j0.c: Likewise.
41942 * math/w_j0f.c: Likewise.
41943 * math/w_j0l.c: Likewise.
41944 * math/w_j1.c: Likewise.
41945 * math/w_j1f.c: Likewise.
41946 * math/w_j1l.c: Likewise.
41947 * math/w_jn.c: Likewise.
41948 * math/w_jnf.c: Likewise.
41949 * math/w_jnl.c: Likewise.
41950 * math/w_lgamma.c: Likewise.
41951 * math/w_lgamma_r.c: Likewise.
41952 * math/w_lgammaf.c: Likewise.
41953 * math/w_lgammaf_r.c: Likewise.
41954 * math/w_lgammal.c: Likewise.
41955 * math/w_lgammal_r.c: Likewise.
41956 * math/w_log.c: Likewise.
41957 * math/w_log10.c: Likewise.
41958 * math/w_log10f.c: Likewise.
41959 * math/w_log10l.c: Likewise.
41960 * math/w_log2.c: Likewise.
41961 * math/w_log2f.c: Likewise.
41962 * math/w_log2l.c: Likewise.
41963 * math/w_logf.c: Likewise.
41964 * math/w_logl.c: Likewise.
41965 * math/w_pow.c: Likewise.
41966 * math/w_powf.c: Likewise.
41967 * math/w_powl.c: Likewise.
41968 * math/w_remainder.c: Likewise.
41969 * math/w_remainderf.c: Likewise.
41970 * math/w_remainderl.c: Likewise.
41971 * math/w_scalb.c: Likewise.
41972 * math/w_scalbf.c: Likewise.
41973 * math/w_scalbl.c: Likewise.
41974 * math/w_sinh.c: Likewise.
41975 * math/w_sinhf.c: Likewise.
41976 * math/w_sinhl.c: Likewise.
41977 * math/w_sqrt.c: Likewise.
41978 * math/w_sqrtf.c: Likewise.
41979 * math/w_sqrtl.c: Likewise.
41980 * math/w_tgamma.c: Likewise.
41981 * math/w_tgammaf.c: Likewise.
41982 * math/w_tgammal.c: Likewise.
41983
6a621eb7
UD
41984 * po/ja.po: Update from translation team.
41985
bf582445
AJ
419862011-09-29 Andreas Jaeger <aj@suse.de>
41987
f9efbf3a
AJ
41988 [BZ #13179]
41989 * sunrpc/netname.c (netname2host): Fix logic.
41990
bf582445
AJ
41991 [BZ #6779]
41992 [BZ #6783]
41993 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41994 correctly.
41995 * math/w_remainder.c (__remainder): Likewise.
41996 * math/w_remainderf.c (__remainderf): Likewise.
41997 * math/libm-test.inc (remainder_test): Add test cases.
41998
48693bea
AK
419992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42000
42001 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42002 sdiv_qrnnd.
42003
42622229
LD
420042011-10-07 Ulrich Drepper <drepper@gmail.com>
42005
42006 * string/test-memcmp.c: Avoid unncessary #defines.
42007 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42008
093ecf92
LD
420092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42010
42011 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42012 Use new sse2 version for core i3 - i7 as it's faster
42013 than sse42 version.
42014 (bit_Prefer_PMINUB_for_stringop): New.
42015 * sysdeps/x86_64/rawmemchr.S: Update.
42016 Replace with faster SSE2 version.
42017 * sysdeps/x86_64/memrchr.S: New file.
42018 * sysdeps/x86_64/memchr.S: Update.
42019 Replace with faster SSE2 version.
42020
fde56e5c
MP
420212011-09-12 Marek Polacek <mpolacek@redhat.com>
42022
42023 * elf/dl-load.c (lose): Add cast to avoid warning.
42024
21fd49a9
UD
420252011-10-07 Ulrich Drepper <drepper@gmail.com>
42026
5a06e643
UD
42027 * po/ca.po: Update from translation team.
42028
684ae515
UD
42029 * inet/getnetgrent_r.c: Hook up nscd.
42030 * nscd/Makefile (routines): Add nscd_netgroup.
42031 (nscd-modules): Add netgroupcache.
42032 (CFLAGS-netgroupcache.c): Define.
42033 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42034 (cache_search): Add const to second parameter.
42035 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42036 INNETGR.
42037 (dbs): Add netgrdb entry.
42038 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42039 (verify_persistent_db): Handle netgrdb.
42040 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42041 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42042 GETFDNETGR.
42043 (netgroup_response_header): Define.
42044 (innetgroup_response_header): Define.
42045 (datahead): Add netgroup_response_header and innetgroup_response_header
42046 elements.
42047 * nscd/nscd.conf: Add entries for netgroup cache.
42048 * nscd/nscd.h (dbtype): Add netgrdb.
42049 (_PATH_NSCD_NETGROUP_DB): Define.
42050 (netgroup_iov_disabled): Declare.
42051 (xmalloc, xcalloc, xrealloc): Move declarations here.
42052 (cache_search): Adjust prototype.
42053 Add netgroup-related prototypes.
42054 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42055 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42056 (__nscd_innetgr): Declare.
42057 * nscd/selinux.c (perms): Use access_vector_t as element type and
42058 add netgroup-related initializers.
42059 * nscd/netgroupcache.c: New file.
42060 * nscd/nscd_netgroup.c: New file.
42061 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42062 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42063 For four parameters use innetgr.
42064 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42065 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42066 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42067 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42068
21fd49a9
UD
42069 * nscd/connections.c (register_traced_file): Don't register file
42070 for disabled databases.
42071
054c0457
UD
420722011-10-06 Ulrich Drepper <drepper@gmail.com>
42073
32b63198
UD
42074 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42075
054c0457
UD
42076 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42077 from tree and freeing node.
42078
64031225
JO
420792011-09-25 Jiri Olsa <jolsa@redhat.com>
42080
42081 * nss/nsswitch.c (__nss_database_lookup): Handle
42082 nss_parse_service_list out of memory case.
42083
0490345c
JO
420842011-09-15 Jiri Olsa <jolsa@redhat.com>
42085
42086 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42087 out of memory case.
42088
3a62d00d
AS
420892011-10-04 Andreas Schwab <schwab@redhat.com>
42090
42091 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42092 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42093 pass it down.
42094 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42095 elf_machine_rela, elf_machine_lazy_rel.
42096 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42097 (ELF_DYNAMIC_DO_REL): Likewise.
42098 (ELF_DYNAMIC_DO_RELA): Likewise.
42099 (ELF_DYNAMIC_RELOCATE): Likewise.
42100 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42101 to ELF_DYNAMIC_DO_REL.
42102 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42103 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42104 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42105 elf_machine_rela.
42106 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42107 skip_ifunc, don't call ifunc function if non-zero.
42108 (elf_machine_rela): Likewise.
42109 (elf_machine_lazy_rel): Likewise.
42110 (elf_machine_lazy_rela): Likewise.
42111 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42112 (elf_machine_lazy_rel): Likewise.
42113 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42114 Likewise.
42115 (elf_machine_lazy_rel): Likewise.
42116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42117 Likewise.
42118 (elf_machine_lazy_rel): Likewise.
42119 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42120 (elf_machine_lazy_rel): Likewise.
42121 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42122 (elf_machine_lazy_rel): Likewise.
42123 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42124 (elf_machine_lazy_rel): Likewise.
42125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42126 (elf_machine_lazy_rel): Likewise.
42127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42128 (elf_machine_lazy_rel): Likewise.
42129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42130 (elf_machine_lazy_rel): Likewise.
42131
68577918
UD
421322011-09-28 Ulrich Drepper <drepper@gmail.com>
42133
42134 * nss/nss_files/files-init.c (_nss_files_init): Use static
42135 initialization for all the *_traced_file variables.
42136
68822d74
AS
421372011-09-28 Andreas Schwab <schwab@redhat.com>
42138
42139 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42140
2056100b
RM
421412011-09-27 Roland McGrath <roland@hack.frob.com>
42142
42143 [BZ #13226]
42144 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42145
32c76b63
AS
421462011-09-27 Andreas Schwab <schwab@redhat.com>
42147
42148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42149 Reread the line before reparsing it.
42150
bf972c9d
AS
421512011-09-26 Andreas Schwab <schwab@redhat.com>
42152
42153 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42154
e057a1b5
JM
421552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42156 Maxim Kuvyrkov <maxim@codesourcery.com>
42157 Joseph Myers <joseph@codesourcery.com>
42158
42159 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42160 if needed for __stack_chk_guard.
42161
bc7e1c36
RM
421622011-09-19 Roland McGrath <roland@hack.frob.com>
42163
ecb1482f
RM
42164 * sysdeps/posix/spawni.c (script_execute): Always define it.
42165 It will be optimized away if unused.
42166 (maybe_script_execute): New function.
42167 (__spawni): Call it.
42168
bc7e1c36
RM
42169 * Makerules: Don't include tls.make.
42170 (config-tls): Always set to thread.
42171 * tls.make.c: File removed.
42172
1c3b002b
MF
421732011-09-19 Mike Frysinger <vapier@gentoo.org>
42174
42175 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42176 * config.make.in (CPPFLAGS-config): New substituted variable.
42177
2840865d
UD
421782011-09-15 Ulrich Drepper <drepper@gmail.com>
42179
88738eb6
UD
42180 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42181
cbf645a6 42182 [BZ #13192]
2840865d
UD
42183 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42184 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42185
b402e91a
RM
421862011-09-15 Roland McGrath <roland@hack.frob.com>
42187
42188 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42189 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42191 (CALL_FAIL): Likewise.
42192 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42193 (CALL_FAIL): Macro removed.
42194 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42195
4c1a1f71
UD
421962011-09-15 Ulrich Drepper <drepper@gmail.com>
42197
42198 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42199 for __FINITE_MATH_ONLY__ == 1.
42200
edc121be
AS
422012011-09-15 Andreas Schwab <schwab@redhat.com>
42202
42203 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42204 __ieee754_sqrt instead of sqrt.
42205 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42206 __ieee754_sqrtf instead of sqrtf.
42207 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42208 __floorf instead of floorf.
42209 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42210 __floorf, __truncf instead of floorf, truncf.
42211
cd205654
UD
422122011-09-14 Ulrich Drepper <drepper@gmail.com>
42213
ee4d0315
UD
42214 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42215
cd205654
UD
42216 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42217 __extern_always_inline.
42218 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42219 32-bit.
42220
48b67d71
AS
422212011-09-14 Andreas Schwab <schwab@redhat.com>
42222
42223 * elf/rtld.c (dl_main): Also relocate in dependency order when
42224 doing symbol dependency testing.
42225
1ae12c75
AS
422262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42227
42228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42229 Always define `refsym'.
42230
995a80df
AS
422312011-09-13 Andreas Schwab <schwab@redhat.com>
42232
e529793b
AS
42233 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42234 (__FD_ELT): Renamed from __FDELT.
42235 * misc/bits/select2.h (__FD_ELT): Likewise.
42236 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42237 __FD_MASK instead of __FDELT, __FDMASK.
42238 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42239 Likewise.
42240 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42241 Likewise.
42242
52d4fef8
AS
42243 * elf/Makefile (gen-ldd): Fix pattern.
42244
995a80df
AS
42245 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42246 (init_tls): Likewise.
42247
8682f8b0
UD
422482011-09-12 Ulrich Drepper <drepper@gmail.com>
42249
42250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42251
de82006d
AS
422522011-09-12 Andreas Schwab <schwab@redhat.com>
42253
a7c8e6a1
AS
42254 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42255 `struct cmsghdr *' instead of `void *'.
42256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42257 Likewise.
42258
0f31fe77
AS
422592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42260
42261 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42262 if non-absolute.
42263 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42264 ldd_rewrite_script.
0f31fe77 42265
32b4c839
UD
422662011-09-11 Ulrich Drepper <drepper@gmail.com>
42267
83cd1420
UD
42268 * configure.in: Remove --with-tls option.
42269 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42270 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42271 out in case it is missing.
42272 * sysdeps/ia64/elf/configure.in: Likewise.
42273 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42274 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42275 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42276 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42277 * sysdeps/sh/elf/configure.in: Likewise.
42278 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42279 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42280 * sysdeps/x86_64/elf/configure.in: Likewise.
42281 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42282 * sysdeps/mach/hurd/tls.h: Likewise.
42283
633f745d
UD
42284 [BZ #13067]
42285 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42286
f318beb8
UD
42287 [BZ #13090]
42288 * configure.in: Fix use of AC_INIT.
42289
32b4c839
UD
42290 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42291
3ce1f295
UD
422922011-09-10 Ulrich Drepper <drepper@gmail.com>
42293
bb016596
UD
42294 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42295 __set_errno.
8e58439c
UD
42296 * malloc/hooks.c: Likewise.
42297
aebae053 42298 [BZ #11929]
02d46fc4
UD
42299 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42300 variables statically.
42301 (narenas): Initialize.
42302 (list_lock): Initialize.
bb016596
UD
42303 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42304 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
42305 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42306 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42307 Add initializers to main_arena and mp_.
42308 (malloc_state): Remove pagesize member. Change all users to use
42309 GLRO(dl_pagesize).
42310
42311 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42312 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42313 is always initialized.
42314
22a89187
UD
42315 * malloc/malloc.c: Removed unused configurations and dead code.
42316 * malloc/arena.c: Likewise.
42317 * malloc/hooks.c: Likewise.
02d46fc4 42318 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 42319
d063d164
UD
42320 * include/tls.h: Removed. USE___THREAD must always be defined.
42321 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42322 * elf/dl-libc.c: Likewise.
42323 * elf/dl-tsd.c: Likewise.
42324 * include/errno.h: Likewise.
42325 * include/netdb.h: Likewise.
42326 * include/resolv.h: Likewise.
42327 * inet/herrno-loc.c: Likewise.
42328 * inet/herrno.c: Likewise.
42329 * malloc/arena.c: Likewise.
42330 * malloc/hooks.c: Likewise.
42331 * malloc/malloc.c: Likewise.
42332 * resolv/res-state.c: Likewise.
42333 * resolv/res_libc.c: Likewise.
42334 * sysdeps/i386/dl-machine.h: Likewise.
42335 * sysdeps/ia64/dl-machine.h: Likewise.
42336 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42337 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42338 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42339 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42340 * sysdeps/sh/dl-machine.h: Likewise.
42341 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42342 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42343 * sysdeps/unix/i386/sysdep.S: Likewise.
42344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42345 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42350 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42354 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42355 * sysdeps/x86_64/dl-machine.h: Likewise.
42356 * tls.make.c: Likewise.
42357
3ce1f295
UD
42358 * configure.in: Remove --with-__thread option. Make tests for
42359 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42360 tls_model attribute fail if no support is available. Remove
42361 USE_IN_LIBIO.
42362 * Makeconfig: Adjust for dropped configure option. All features are
42363 now mandatory.
42364 * Makerules: Likewise.
42365 * Versions.def: Likewise.
42366 * argp/argp-fmtstream.c: Likewise.
42367 * argp/argp-fmtstream.h: Likewise.
42368 * argp/argp-help.c: Likewise.
42369 * assert/assert.c: Likewise.
42370 * config.h.in: Likewise.
42371 * config.make.in: Likewise.
42372 * configure: Likewise.
42373 * configure.in: Likewise.
42374 * csu/Versions: Likewise.
42375 * csu/init.c: Likewise.
42376 * elf/tst-audit2.c: Likewise.
42377 * elf/tst-tls10.c: Likewise.
42378 * elf/tst-tls10.h: Likewise.
42379 * elf/tst-tls11.c: Likewise.
42380 * elf/tst-tls12.c: Likewise.
42381 * elf/tst-tls14.c: Likewise.
42382 * elf/tst-tlsmod11.c: Likewise.
42383 * elf/tst-tlsmod12.c: Likewise.
42384 * elf/tst-tlsmod13.c: Likewise.
42385 * elf/tst-tlsmod13a.c: Likewise.
42386 * elf/tst-tlsmod14a.c: Likewise.
42387 * elf/tst-tlsmod15b.c: Likewise.
42388 * elf/tst-tlsmod16a.c: Likewise.
42389 * elf/tst-tlsmod16b.c: Likewise.
42390 * elf/tst-tlsmod7.c: Likewise.
42391 * elf/tst-tlsmod8.c: Likewise.
42392 * elf/tst-tlsmod9.c: Likewise.
42393 * gmon/gmon.c: Likewise.
42394 * grp/fgetgrent_r.c: Likewise.
42395 * grp/putgrent.c: Likewise.
42396 * hurd/fopenport.c: Likewise.
42397 * include/libc-symbols.h: Likewise.
42398 * include/tls.h: Likewise.
42399 * intl/gettextP.h: Likewise.
42400 * intl/loadinfo.h: Likewise.
42401 * locale/global-locale.c: Likewise.
42402 * locale/localeinfo.h: Likewise.
42403 * mach/devstream.c: Likewise.
42404 * malloc/arena.c: Likewise.
42405 * malloc/set-freeres.c: Likewise.
42406 * misc/err.c: Likewise.
42407 * misc/getttyent.c: Likewise.
42408 * misc/mntent_r.c: Likewise.
42409 * posix/getopt.c: Likewise.
42410 * posix/wordexp.c: Likewise.
42411 * pwd/fgetpwent_r.c: Likewise.
42412 * resolv/Versions: Likewise.
42413 * resolv/res_hconf.c: Likewise.
42414 * shadow/fgetspent_r.c: Likewise.
42415 * shadow/putspent.c: Likewise.
42416 * stdio-common/printf_fphex.c: Likewise.
42417 * stdio-common/tmpfile.c: Likewise.
42418 * stdlib/abort.c: Likewise.
42419 * stdlib/fmtmsg.c: Likewise.
42420 * sunrpc/auth_unix.c: Likewise.
42421 * sunrpc/clnt_perr.c: Likewise.
42422 * sunrpc/clnt_tcp.c: Likewise.
42423 * sunrpc/clnt_udp.c: Likewise.
42424 * sunrpc/clnt_unix.c: Likewise.
42425 * sunrpc/openchild.c: Likewise.
42426 * sunrpc/svc_simple.c: Likewise.
42427 * sunrpc/svc_tcp.c: Likewise.
42428 * sunrpc/svc_udp.c: Likewise.
42429 * sunrpc/svc_unix.c: Likewise.
42430 * sunrpc/xdr.c: Likewise.
42431 * sunrpc/xdr_array.c: Likewise.
42432 * sunrpc/xdr_rec.c: Likewise.
42433 * sunrpc/xdr_ref.c: Likewise.
42434 * sunrpc/xdr_stdio.c: Likewise.
42435
1248c1c4
PB
424362011-09-09 Ulrich Drepper <drepper@gmail.com>
42437
42438 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42439
424402011-07-03 Andreas Jaeger <aj@suse.de>
42441
42442 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42443 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42444 regenerate with gen-libm-tests.pl.
42445
424462010-05-12 Petr Baudis <pasky@suse.cz>
42447
42448 [BZ #11589]
42449 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42450 around j0() zero points by switching to j1().
42451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42453 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42455
f22e1074
UD
424562011-09-09 Ulrich Drepper <drepper@gmail.com>
42457
f19009c1
UD
42458 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42459 instead of 0.
42460 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42461 instead of 0.
f19009c1
UD
42462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42463 Patch in part by Pavel Roskin <proski@gnu.org>.
42464
3f8cc204
UD
42465 [BZ #13138]
42466 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42467 realloc.
42468 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42469 Free memory block if necessary.
42470
f22e1074
UD
42471 [BZ #12847]
42472 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42473 be NULL. Don't lock in this case.
42474
0a2349f9
RM
424752011-09-09 Roland McGrath <roland@hack.frob.com>
42476
42477 * elf/elf.h (ELFOSABI_GNU): New macro.
42478 (ELFOSABI_LINUX): Define to that.
42479
f3cdd467
DZ
424802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42481
42482 * string/strncat.c (strncat): Undef the symbol in case it has been
42483 defined in bits/string.h.
42484
74718d13
UD
424852011-09-09 Ulrich Drepper <drepper@gmail.com>
42486
633e9e0f
UD
42487 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42488
0a2349f9 42489 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42490 link map.
42491
f9924780
AJ
424922011-08-17 Andreas Jaeger <aj@suse.de>
42493
42494 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42495
7f5517aa
PP
424962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42497 Ian Lance Taylor <iant@google.com>
42498
42499 * math/libm-test.inc (lround_test): New testcase.
42500 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42501
762011fe
UD
425022011-09-08 Ulrich Drepper <drepper@gmail.com>
42503
92963737
UD
42504 * Makefile: Remove support for automatic cvs check-ins.
42505 * Makerules: Likewise.
42506 * config.make.in: Likewise.
42507 * configure.in: Likewise.
42508 * intl/Makefile: Likewise.
42509 * locale/Makefile: Likewise.
42510 * po/Makefile: Likewise.
42511 * posix/Makefile: Likewise.
42512 * sysdeps/gnu/Makefile: Likewise.
42513 * sysdeps/mach/hurd/Makefile: Likewise.
42514 * sysdeps/sparc/sparc32/Makefile: Likewise.
42515
b0727fd8
JS
42516 [BZ #13118]
42517 * posix/Makefile (bug-regex32-ENV): Define.
42518 Patch by John Stanley <jpsinthemix@verizon.net>.
42519
a0f33f99
UD
42520 * misc/Makefile (headers): Add bits/select2.h.
42521 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42522 * misc/bits/select2.h: New file.
42523 * include/bits/select2.h: New file.
42524 * debug/Makefile (routines): Add fdelt_chk.
42525 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42526 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42527 FD_ISSET.
42528 * debug/fdelt_chk.c: New file.
42529
762011fe
UD
42530 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42531 * wcsmbs/test-wmemcmp.c: Likewise.
42532 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42533 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42534
425352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42536
42537 * string/Makefile (strop-tests): Add memcmp.
42538 * string/test-wmemcmp.c: New file.
42539 * string/test-memcmp.c: Add wmemcmp support.
42540
7f513ec8
RM
425412011-09-08 Roland McGrath <roland@hack.frob.com>
42542
0442afb4
RM
42543 [BZ #13153]
42544 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42545 2011-07-19 change.
42546
7f513ec8
RM
42547 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42548 garbage value in a __mach_port_mod_refs call in the cases of the
42549 task-self and thread-self ports.
42550
a12b2239
ST
425512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42552
42553 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42554
610f9ab4
AS
425552011-09-08 Andreas Schwab <schwab@redhat.com>
42556
7f513ec8 42557 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42558
48882a1a
LD
425592011-09-07 Ulrich Drepper <drepper@gmail.com>
42560
b49865be
UD
42561 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42562
fdc86bc9
UD
42563 * elf/dl-libc.c (dlerror_run): Pass back error code from
42564 dl_catch_error.
42565
c966526a
UD
42566 [BZ #13123]
42567 * elf/dl-load.c (lose): Free l_origin if it is valid.
42568
48882a1a
LD
42569 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42570 names.
42571 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42574 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42575 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42576 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42577
77a2a8b4
AZ
425782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42579
42580 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42581 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42582 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42583 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42584 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42585 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42586 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42587 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42588 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42589 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42590
24f579d8
AM
425912011-08-15 Alan Modra <amodra@gmail.com>
42592
42593 [BZ #13092]
42594 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42595 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42596 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42597 ppc_mcount to static-only-routines.
42598 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42599 __mcount_internal.
42600 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42601 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42602
3d4837df
UD
426032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42604
42605 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42606 for finite and infinity parameters.
42607
22700377
WS
426082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42609
42610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42611 and add nop instructions for throughput optimization.
42612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42613
5025581e
WS
426142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42615
42616 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42617 aligned copy for power7 with vector-scalar instructions.
42618 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42619
08a300c9
L
426202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42621
42622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42623 AVX check.
42624
59178ef9
AS
426252011-09-07 Andreas Schwab <schwab@redhat.com>
42626
42627 [BZ #13144]
42628 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42629 last change.
42630
e38ba7ab
UD
426312011-09-07 Ulrich Drepper <drepper@gmail.com>
42632
42633 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42634 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42635 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42636 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42637 clock_gettime.
42638
d53a73ac
UD
426392011-09-06 Ulrich Drepper <drepper@gmail.com>
42640
fc8bffcc
UD
42641 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42642 Forgot to demangle the pointer.
42643
ceaa0c5d
UD
42644 * sysdeps/i386/sysdep.h: Define atom_text_section.
42645 * sysdeps/x86_64/sysdep.h: Likewise.
42646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42647 section with atom_text_section.
42648 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42649 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42650 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42652 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42653
a77d3c17
UD
42654 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42655 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42656 already be defined. Change to take two parameters and don't assign
42657 result to variable. Adjust all users.
42658 Define INTERNAL_GETTIME if not already defined.
42659 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42660 call.
42661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42662 HAVE_CLOCK_GETTIME_VSYSCALL.
42663 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42664
d53a73ac
UD
42665 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42666 gettimeofday vsyscall, just use time.
42667
a8f84144
AS
426682011-09-06 Andreas Schwab <schwab@redhat.com>
42669
42670 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42671 <errno.h>.
42672
ef606249
UD
426732011-09-06 Ulrich Drepper <drepper@gmail.com>
42674
42675 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42676 syscall on x86-64.
42677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42678 syscall.
42679 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42680 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42681 syscall if possible.
42682
6585cb60
UD
426832011-09-05 Ulrich Drepper <drepper@gmail.com>
42684
42685 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42686 e_ident. Don't pass to find_mapsXX.
42687 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42688
a5f524e4
LD
426892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42690
42691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42692 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42693 * sysdeps/x86_64/multiarch/strchr.S: Update.
42694 Check bit_slow_BSF bit.
42695 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42696 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42698
554881ef
UD
426992011-09-05 Ulrich Drepper <drepper@gmail.com>
42700
d96de963
UD
42701 [BZ #13134]
42702 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42703 before glibc 2.15.
42704 (tryshell): Define.
42705 (__spawni): Change last parameter to be flag. Test
42706 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42707 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42708 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42709 * posix/spawni.c: Likewise.
42710 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42711 * posix/spawnp.c: Likewise. Change normal version to use
42712 SPAWN_XFLAGS_USE_PATH.
42713 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42714 SPAWN_XFLAGS_TRY_SHELL.
42715
d48e5868
UD
42716 [BZ #13150]
42717 * posix/glob.h: Remove gcc 1.x support.
42718
554881ef
UD
42719 [BZ #13068]
42720 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42721
693fb948
LD
427222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42723
42724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42725 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42726 strrchr-sse2-bsf
42727 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42728 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42729 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42731 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42732 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42733
1b48c537
UD
427342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42735
49d42c37
UD
42736 * sysdeps/x86_64/wcscmp.S: New file.
42737
1b48c537
UD
42738 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42739 wcscmp-c wcscmp-sse2
42740 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42741 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42742 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42743 * wcsmbs/wcscmp.c: Allow renaming.
42744
15c95c5d
DM
427452011-09-05 David S. Miller <davem@davemloft.net>
42746
42747 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42748 stack slot, rather than the struct return pointer slot.
42749 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42750 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42752 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42753
2f0ad8f3
UD
427542011-09-05 Ulrich Drepper <drepper@gmail.com>
42755
d88ae418
UD
42756 * po/ja.po: Update from translation team.
42757
2f0ad8f3
UD
42758 [BZ #13144]
42759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42760 kernel in 64-bit binaries.
42761
5f4318d1
DM
427622011-09-01 David S. Miller <davem@davemloft.net>
42763
42764 * elf/elf.h (HWCAP_SPARC_*): Move to..
42765 * sysdeps/sparc/sysdep.h: this new file and add new values.
42766 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42767 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42768 _DL_HWCAP_COUNT to 24.
42769 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42770 entries.
42771 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42772 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42773 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42775 instead of magic constants.
42776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42777
3ba57516
DM
427782011-08-31 David S. Miller <davem@davemloft.net>
42779
42780 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42782 Reimplement to do errno handling inline.
42783 (SYSCALL_ERROR_HANDLER): New macro.
42784 (__SYSCALL_STRING): Do not do errno handling in asm.
42785 (__CLONE_SYSCALL_STRING): Delete.
42786 (__INTERNAL_SYSCALL_STRING): Delete.
42787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42788 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42789 (PSEUDO): Reimplement to do errno handling inline.
42790 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42791 (SYSCALL_ERROR_HANDLER): New macro.
42792 (__SYSCALL_STRING): Do not do errno handling in asm.
42793 (__CLONE_SYSCALL_STRING): Delete.
42794 (__INTERNAL_SYSCALL_STRING): Delete.
42795 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42796 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42797 i386.
42798 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42799 (inline_syscall*): Add 'err' argument.
42800 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42801 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42802 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42803 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42804
42805 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42806 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42807
2bc17433
AS
428082011-08-30 Andreas Schwab <schwab@redhat.com>
42809
42810 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42811
fbeb5f4d
JO
428122011-08-29 Jiri Olsa <jolsa@redhat.com>
42813
42814 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42815 directive.
42816
ad69cc26
DM
428172011-08-24 David S. Miller <davem@davemloft.net>
42818
42819 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42820
39dd69df
AS
428212011-08-24 Andreas Schwab <schwab@redhat.com>
42822
42823 * elf/Makefile: Add rules to build and run unload8 test.
42824 * elf/unload8.c: New file.
42825 * elf/unload8mod1.c: New file.
42826 * elf/unload8mod1x.c: New file.
42827 * elf/unload8mod2.c: New file.
42828 * elf/unload8mod3.c: New file.
42829
42830 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42831 it wasn't used.
42832
2c0b250a
DM
428332011-08-23 David S. Miller <davem@davemloft.net>
42834
42835 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42836 subtract stack bias.
42837 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42838 %sp not %fp in calculations.
42839 (_JMPBUF_UNWINDS_ADJ): Likewise.
42840
22044b48
DM
42841 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42842 (aio_suspend): Call it to force an exception region around the
42843 AIO_MISC_WAIT() invocation.
42844
2cae4995
AS
428452011-08-23 Andreas Schwab <schwab@redhat.com>
42846
42847 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42848 backslash.
42849
873a772e
AJ
428502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42851
42852 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42853 protection macro.
42854 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42855 and <dl-machine.h>.
42856 (Elf64_FuncDesc): Remove.
42857
25ad0df1
DM
428582011-08-22 David S. Miller <davem@davemloft.net>
42859
42860 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42861 sigaltstack check, add missing cfi directives.
42862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42863 missing cfi directives, and sigaltstack handling.
42864
e888bcbe
AS
428652011-08-16 Andreas Schwab <schwab@redhat.com>
42866
42867 [BZ #11724]
42868 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42869 object is seen twice.
42870 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42871
42872 * elf/Makefile (distribute): Add tst-initorder2.c.
42873 (tests): Add tst-initorder2.
42874 (modules-names): Add tst-initorder2a tst-initorder2b
42875 tst-initorder2c tst-initorder2d. Add rules to build them.
42876 ($(objpfx)tst-initorder2.out): New rule.
42877 * elf/tst-initorder2.c: New file.
42878 * elf/tst-initorder2.exp: New file.
42879
87162f46
AS
428802011-08-22 Andreas Schwab <schwab@redhat.com>
42881
70538b7f
AS
42882 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42883
f55ffe58
AS
42884 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42885 dependencies back to end of function.
42886
87162f46
AS
42887 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42888 $(elfobjdir)/ld.so.
42889
91b392a4
UD
428902011-08-21 Ulrich Drepper <drepper@gmail.com>
42891
42892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42893 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42895 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42896 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42897 of __vdso_gettimeofday.
42898 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42899 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42900 attribute_hidden.
42901 (_libc_vdso_platform_setup): Remove initialization of
42902 __vdso_gettimeofday and __vdso_time.
42903
5c43483f
UD
429042011-08-20 Ulrich Drepper <drepper@gmail.com>
42905
775a77e7
UD
42906 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42907 and fgetc_unlocked.
42908 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42909 getc_unlocked.
89f447ed 42910
49c74ba9
UD
42911 * elf/dl-open.c (add_to_global): Report additions to the global scope
42912 for LD_DEBUG=scopes.
42913 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42914 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42915
5c43483f
UD
42916 [BZ #13114]
42917 * stdio-common/Makefile (tests): Add bug24.
42918 * stdio-common/bug24.c: New file.
42919
a101b025
AJ
429202011-08-19 Andreas Jaeger <aj@suse.de>
42921
42922 [BZ #13114]
42923 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42924 non-existant file when using close-on-exec mode.
42925
c88f1766
UD
429262011-08-20 Ulrich Drepper <drepper@gmail.com>
42927
0276a718
UD
42928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42929 the very first instruction.
42930
c88f1766
UD
42931 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42932 the CFI state in the end.
42933 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42934 inclusion of dl-trampoline.h.
42935 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42936
51ccffa0
AS
429372011-08-19 Andreas Schwab <schwab@redhat.com>
42938
94d7165f
AS
42939 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42940 expectations for long double.
42941
51ccffa0
AS
42942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42943 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42944
fd708658 429452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42946
42947 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42948 artificual limit depends upon the system page size.
42949
44f0a71e
UD
429502011-08-17 Ulrich Drepper <drepper@gmail.com>
42951
42952 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42953 * resolv/Makefile: Define CFLAGS-libresolv.
42954
8de79a24
AS
429552011-08-17 Andreas Schwab <schwab@redhat.com>
42956
42957 * nss/makedb.c (compute_tables): Make variables used in nested
42958 function static.
42959
27724598
UD
429602011-08-17 Ulrich Drepper <drepper@gmail.com>
42961
c5305d88
UD
42962 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42963 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42964 if buffer was too small.
42965
27724598
UD
42966 * elf/pldd.c (main): Attach to all threads in the process.
42967 Rewrite /proc handling to use *at functions.
42968
076fe015
UD
429692011-08-16 Ulrich Drepper <drepper@gmail.com>
42970
174baab3
UD
42971 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42972 specifies first scope to show.
42973 (dl_open_worker): Update callers. Move printing scope of new
42974 object to before the relocation.
44f0a71e 42975 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42976 * sysdeps/generic/ldsodefs.h: Update declaration.
42977
076fe015
UD
42978 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42979 string for the scope number.
42980
a60df2c3
UD
429812011-08-14 Ulrich Drepper <drepper@gmail.com>
42982
42983 * nscd/servicescache.c (cache_addserv): Make sure written is always
42984 initialized.
42985
5e4287d1
RM
429862011-08-14 Roland McGrath <roland@hack.frob.com>
42987
85ae0589
RM
42988 * sysdeps/i386/i486/bits/atomic.h
42989 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42990 statement expression, so as to suppress "set but not used" warning.
42991 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42992
69f63097
RM
42993 * string/strncat.c (STRNCAT): Use prototype definition.
42994
675456ef
RM
42995 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42996 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42997 -Iprograms here.
42998 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42999 (localedef-modules): Add localedef.
43000 (locale-modules): Add locale.
43001
5e4287d1
RM
43002 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43003 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43004 to avoid a warning.
43005
9c96ff23
DM
430062011-08-14 David S. Miller <davem@davemloft.net>
43007
43008 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43009 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43010
f9ddf089
UD
430112011-08-13 Ulrich Drepper <drepper@gmail.com>
43012
44f0a71e 43013 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
43014 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43015 * elf/rtld.c (dl_main): Set l_name of vDSO.
43016 Call _dl_show_scope when DL_DEBUG_SCOPES.
43017 (process_dl_debug): Recognize scopes flag and also set it for all.
43018 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43019 Declare _dl_show_scope.
43020
1dc27704
UD
43021 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43022 (do_dlopen): Pass caller_dlopen to dl_open.
43023 (__libc_dlopen_mode): Initialize caller_dlopen.
43024
f9ddf089
UD
43025 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43026 of libc. Make tolower call locale-independent. Optimize a bit by
43027 using isdigit instead of isalnum.
43028 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43029
9ac533d3
UD
430302011-08-12 Ulrich Drepper <drepper@gmail.com>
43031
43032 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43033 was a dependency or dynamically loaded.
43034
89edf2e9
UD
430352011-08-11 Ulrich Drepper <drepper@gmail.com>
43036
8e999d29
UD
43037 * intl/l10nflist.c: Allow architecture-specific pop function.
43038 * sysdeps/x86_64/l10nflist.c: New file.
43039
89edf2e9
UD
43040 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43041 classification.
43042
14d96785
AS
430432011-08-10 Andreas Schwab <schwab@redhat.com>
43044
43045 * include/dirent.h: Add libc_hidden_proto for scandirat and
43046 scandirat64. Don't declare __scandirat64.
43047 * dirent/scandirat.c: Add libc_hidden_def.
43048 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43049 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43050
6761ac04
DM
430512011-08-10 David S. Miller <davem@davemloft.net>
43052
43053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43054 enum.
43055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43057 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43058
c55fbd1e
UD
430592011-08-09 Ulrich Drepper <drepper@gmail.com>
43060
43061 * Versions.def [libc]: Add GLIBC_2.15.
43062 * dirent/Makefile (routines): Add scandirat and scandirat64.
43063 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43064 GLIBC_2.15.
43065 * dirent/dirent.h: Declare scandirat and scandirat64.
43066 * dirent/scandirat.c: New file.
43067 * dirent/scandirat64.c: New file.
43068 * sysdeps/wordsize-64/scandirat.c: New file.
43069 * sysdeps/wordsize-64/scandirat64.c: New file.
43070 * dirent/opendir.c: Define opendirat.
43071 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43072 using scandirat.
43073 * dirent/scandir64.c: Adjust for scandir.c change.
43074 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43075 __scandirat64, and __scandir_cancel_handler.
43076 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43077 additional parameter and use openat instead of open (outside of ld.so).
43078 Add new __opendir as wrapper around __opendirat.
43079 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43080 here without requiring old scandirat implementation.
43081
879165f2
UD
430822011-08-08 Ulrich Drepper <drepper@gmail.com>
43083
43084 * dirent/scandir.c (cancel_handler): Renamed to
43085 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43086 defined. Adjust users.
43087 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43088 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43089
cb7e923b
UD
430902011-08-04 Ulrich Drepper <drepper@gmail.com>
43091
16292edd
UD
43092 * string/test-string.h (IMPL): Use __STRING to expand name and then
43093 stringify it.
43094
cb7e923b
UD
43095 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43096 of cleanups.
43097
cff82933
LD
430982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43099
43100 * string/Makefile: Update.
43101 (strop-tests): Append strncat.
43102 * string/test-wcscmp.c: New file.
43103 New comprehensive test for wcscmp.
43104 * string/test-strcmp.c: Update.
43105 (WIDE): New define.
43106
9be9bfcc
AS
431072011-07-22 Andreas Schwab <schwab@redhat.com>
43108
43109 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43110 line.
43111
2e96f1c7
AS
431122011-07-26 Andreas Schwab <schwab@redhat.com>
43113
43114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43115 encoding to ACE if AI_IDN.
43116
85188888
JJ
431172011-08-01 Jakub Jelinek <jakub@redhat.com>
43118
43119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43120 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43121
5fa16e9b
LD
431222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43123
43124 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43125 Fix overflow bug in strncat.
43126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43127
43128 * string/test-strncat.c: Update.
43129 Add new tests for checking overflow bugs.
43130
431312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43132
43133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43134 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43135 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43136 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43137 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43138 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43139 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43140 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43141 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43142
43143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43144 (USE_AS_STRCAT): Define.
43145 Add strcat and strncat support.
43146 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43147
8c1a459f
AS
431482011-07-25 Andreas Schwab <schwab@redhat.com>
43149
43150 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43151 __n bigger than INT_MAX+1.
43152 (__strncmp_g): Likewise.
43153
bba33c28
UD
431542011-07-23 Ulrich Drepper <drepper@gmail.com>
43155
798be72d
UD
43156 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43157 * libio/stido.h: Likewise.
43158
8accd4dc
UD
43159 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43160 (AF_NFC): Define.
43161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43162 (AF_NFC): Define.
43163
cbff0d96
UD
43164 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43165 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43167 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43169
9191c04a
UD
43170 [BZ #13021]
43171 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43172 installed.
43173
bba33c28
UD
43174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43175 typo.
43176 (_dl_x86_64_save_sse): Likewise.
43177
90f139dd
UD
431782011-07-22 Ulrich Drepper <drepper@gmail.com>
43179
1aae088a
UD
43180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43181 OSXSAVE.
43182 (_dl_x86_64_save_sse): Likewise.
43183
8e2045f5
UD
43184 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43185
90f139dd
UD
43186 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43187
1d002f25
AS
431882011-07-21 Andreas Schwab <schwab@redhat.com>
43189
43190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43191 change.
43192 (_dl_x86_64_save_sse): Use correct AVX check.
43193
21137f89
UD
431942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43195
43196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43197 bug in strncpy/strncat.
43198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43199
a65c0b7a
UD
432002011-07-21 Ulrich Drepper <drepper@gmail.com>
43201
43202 * string/tester.c (test_strcat): Add tests for different alignments
43203 of source and destination.
43204 (test_strncat): Likewise.
43205
6986b98a
UD
432062011-07-20 Ulrich Drepper <drepper@gmail.com>
43207
90bb2039
UD
43208 [BZ #12852]
43209 * posix/glob.c (glob): Check passed in values before using them in
43210 expressions to avoid some overflows.
43211 (glob_in_dir): Likewise.
43212
5644ef54
UD
43213 [BZ #13007]
43214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43215 check for AVX enablement so that we don't crash with old kernels and
43216 new hardware.
43217 * elf/tst-audit4.c: Add same checks here.
43218 * elf/tst-audit6.c: Likewise.
43219
43220 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 43221
bfc9dc9b
AS
432222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43223
43224 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43225
702e64bb
UD
432262011-07-20 Ulrich Drepper <drepper@gmail.com>
43227
43228 * po/cs.po: Update from translation team.
43229 * po/bg.po: Likewise.
43230
295e904f
MP
432312011-07-12 Marek Polacek <mpolacek@redhat.com>
43232
43233 * misc/sys/cdefs.h: Add support for const attribute.
43234 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43235 to gnu_dev_{major,minor,makedev} functions.
43236
3ff94596
MP
432372011-07-20 Marek Polacek <mpolacek@redhat.com>
43238
43239 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43240
28b59fca
AS
432412011-07-20 Andreas Schwab <schwab@redhat.com>
43242
43243 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43244 strlen results.
43245
19df733e
AK
432462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43247
43248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43249 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43250 register in order to avoid conflicts with the soft frame pointer
43251 being held in r11 when necessary.
43252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43253 (INTERNAL_VSYSCALL_NCS): Likewise.
43254
c8835729
MP
432552011-07-14 Marek Polacek <mpolacek@redhat.com>
43256
43257 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43258 * elf/dl-fini.c (_dl_fini): Adjust caller.
43259 * elf/dl-close.c (_dl_close_worker): Likewise.
43260 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43261
b902330c
MP
432622011-07-15 Marek Polacek <mpolacek@redhat.com>
43263
8991e135
MP
43264 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43265 "aux_cache->nlibs < 0".
43266
b902330c
MP
43267 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43268 in the reload-count case.
43269
99710781
LD
432702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43271
43272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43273 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43274 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43275 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43276 * sysdeps/x86_64/multiarch/strcat.S: New file.
43277 * sysdeps/x86_64/multiarch/strncat.S: New file.
43278 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43279 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43280 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43281 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43283 (USE_AS_STRCAT): Define.
43284 Add strcat and strncat support.
43285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43287 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43288 * string/strncat.c: Update.
43289 (USE_AS_STRNCAT): Define.
43290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43291 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43292 and i7.
43293 * sysdeps/x86_64/multiarch/init-arch.h
43294 (bit_Prefer_PMINUB_for_stringop): New.
43295 (index_Prefer_PMINUB_for_stringop): Likewise.
43296 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43297 bit_Prefer_PMINUB_for_stringop.
43298
7dc6bd90
UD
432992011-07-19 Ulrich Drepper <drepper@gmail.com>
43300
43301 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43302 buffer64.
43303 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43304 of casting of buffer.
43305 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43306 buffer32 and buffer64.
43307 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43308 writes instead of casting of buffer.
43309 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43310 buffer32.
43311 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43312 casting of buffer.
43313
e0e72284
AS
433142011-07-19 Andreas Schwab <schwab@redhat.com>
43315
43316 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43317
feb1eb0b
UD
433182011-07-19 Ulrich Drepper <drepper@gmail.com>
43319
43320 * nscd/nscd.c (termination_handler): Don't do anything for a database
43321 if it has not yet been initialized.
43322
298711ff
UD
433232011-07-18 Ulrich Drepper <drepper@gmail.com>
43324
43325 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43326
433272011-07-15 Marek Polacek <mpolacek@redhat.com>
43328
43329 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43330
f9d68389
UD
433312011-07-18 Ulrich Drepper <drepper@gmail.com>
43332
43333 * po/nl.po: Update from translation team.
43334 * po/sv.po: Likewise.
43335
db290cf5
RM
433362011-07-16 Roland McGrath <roland@hack.frob.com>
43337
43338 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43339 now disallowed by GCC.
5c550700 43340
fd5e21c7
RM
43341 * configure.in (use-default-link): Default to yes if a test -shared
43342 link meets our qualifications.
43343 * configure: Regenerated.
43344
5c550700
RM
43345 * config.make.in (output-format): New variable.
43346 * configure.in: Check for ld --print-output-format support.
43347 * configure: Regenerated.
43348 * Makerules ($(common-objpfx)format.lds)
43349 [$(output-format) != unknown]: Just use $(output-format),
43350 instead of the linker-script munging.
43351
9fa2c032
RM
433522011-07-14 Roland McGrath <roland@hack.frob.com>
43353
a6928d51
RM
43354 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43355 of $(common-objpfx)shlib.lds.
43356 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43357
661607b3
RM
43358 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43359 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43360
9fa2c032
RM
43361 * configure.in (-z relro check): Adjust test code to add a large
43362 writable data section after it.
43363 * configure: Regenerated.
43364
defe9061
RM
433652011-07-11 Roland McGrath <roland@hack.frob.com>
43366
43367 * configure.in (-z relro check): Fix test code to make the variable
43368 truly const.
43369 * configure: Regenerated.
43370
319b9ad4
UD
433712011-07-11 Ulrich Drepper <drepper@gmail.com>
43372
43373 * nscd/nscd.h (struct traced_file): Define.
43374 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43375 elements. Add traced_files.
43376 (inotify_fd): Declare.
43377 (register_traced_file): Declare.
43378 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43379 (inotify_fd): Export.
43380 (resolv_conf_descr): Remove.
43381 (nscd_init): Move inotify descriptor creation to main.
43382 Don't register files for notification here.
43383 (register_traced_file): New function.
43384 (invalidate_cache): Don't use reset_res to determine whether to call
43385 res_init, go through the list of registered files.
43386 (main_loop_poll): The inotify descriptors are now stored in the
43387 structures for the traced files.
43388 (main_loop_epoll): Likewise
43389 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43390 to __nss_disable_nscd.
43391 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43392 for a database anymore. Check the records for all the registered
43393 files instead.
43394 * nss/Makefile (libnss_files-routines): Add files-init.
43395 (libnss_db-routines): Add db-init.
43396 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43397 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43398 * nss/nss_db/db-init.c: New file.
43399 * nss/nss_files/files-init.c: New file.
43400 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43401 __nss_lookup_function.
43402 (__nss_lookup_function): Call nss_load_library.
43403 (nss_load_all_libraries): New function.
43404 (__nss_disable_nscd): Take parameter with callback function for files
43405 to register. Set is_nscd. Load all the DSOs for the NSS modules
43406 used for the cached services.
43407 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43408 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43409 options for features to all the files in nscd.
43410
43411 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43412
23bee3e8
RM
434132011-07-10 Roland McGrath <roland@hack.frob.com>
43414
43415 * csu/elf-init.c (__libc_csu_init): Comment typo.
43416
46a5b7f0
UD
434172011-07-09 Ulrich Drepper <drepper@gmail.com>
43418
43419 * po/pl.po: Update from translation team.
43420 * po/ja.po: Likewise.
43421 * po/ru.po: Likewise.
43422 * po/ko.po: Likewise.
43423 * po/fr.po: Likewise.
43424
d30cf5bb
RM
434252011-07-09 Roland McGrath <roland@hack.frob.com>
43426
113ddea4
RM
43427 * configure.in (.ctors/.dtors header and trailer check):
43428 Use an empirical test on a built program.
43429 * configure: Regenerated.
43430
574920b4
RM
43431 * configure.in (-z relro check): Use an empirical test on a built DSO.
43432 Detect, but do not require, on ia64.
43433 * configure: Regenerated.
43434
d30cf5bb
RM
43435 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43436 Update tests that use readelf to use $READELF instead.
43437 * configure: Regenerated.
43438
8538fdb3
UD
434392011-07-08 Ulrich Drepper <drepper@gmail.com>
43440
43441 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43442 if the result is not used.
43443
04d08991
AJ
434442011-07-05 Andreas Jaeger <aj@suse.de>
43445
43446 [BZ#9696]
43447 * stdlib/tst-strtod.c: Add testcase.
43448
de283087
AD
434492011-07-07 Ulrich Drepper <drepper@gmail.com>
43450
4e5f31c8 43451 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43452 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43453 The latter has a higher limit. Take additional parameter to pass to
43454 the new function.
43455 (__pathconf): Pass file to __statfs_link_max.
43456 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43457 __statfs_link_max.
43458 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43459 __statfs_link_max.
43460
de283087
AD
43461 [BZ #12868]
43462 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43463 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43464 Handle Lustre.
43465 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43466 (__statfs_filesize_max): Likewise.
43467 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43468
c75fa153
AJ
434692011-07-05 Andreas Jaeger <aj@suse.de>
43470
43471 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43472
1a544854
UD
434732011-07-06 Marek Polacek <mpolacek@redhat.com>
43474
43475 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43476 `status' variable.
43477 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43478 Likewise.
43479
6f0eec67
UD
434802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43481
43482 * Makefile (strop-tests): Add strncat.
43483 * string/test-strncat.c: New file.
43484
aae30307
UD
434852011-06-30 Marek Polacek <mpolacek@redhat.com>
43486
43487 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43488
c0cfb5eb
UD
434892011-06-21 Andreas Jaeger <aj@suse.de>
43490
43491 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43492 Copy rule from iconvdata/Makefile.
43493
01636b21
UD
434942011-07-06 Ulrich Drepper <drepper@gmail.com>
43495
43496 [BZ #12922]
43497 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43498 but no long options are defined, just return 'W'.
43499
9895c8bc
UD
435002011-06-22 Marek Polacek <mpolacek@redhat.com>
43501
43502 [BZ #9696]
43503 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43504
5d4cf042
UD
435052011-07-06 Ulrich Drepper <drepper@gmail.com>
43506
43507 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43508 netgroups to read.
960e5535 43509 (innetgr): Likewise.
5d4cf042 43510
751eb97e
RM
435112011-07-05 Roland McGrath <roland@hack.frob.com>
43512
43513 * config.make.in (install_root): Default to $(DESTDIR).
43514
f15f1e45
UD
435152011-07-05 Ulrich Drepper <drepper@gmail.com>
43516
43517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43518
4e34ac6a
RM
435192011-07-02 Roland McGrath <roland@hack.frob.com>
43520
5e9b6af4
RM
43521 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43522
84f9ea0f
RM
43523 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43524 containing directory rather than embedding absolute directory names.
43525
ea5ee9f7
RM
43526 * scripts/check-local-headers.sh: Rewritten using awk.
43527 Match by word, not by line. Print error messages for matches.
43528 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43529
1b74661a
RM
43530 * Makerules [shlib-lds-flags empty]:
43531 ($(common-objpfx)libc_pic.opts): New target.
43532 ($(common-objpfx)libc_pic.os.clean): New target.
43533 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43534
43535 * config.make.in (OBJCOPY): New variable.
43536 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43537 * configure: Regenerated.
43538
f781ef40
RM
43539 * config.make.in (use-default-link): New variable.
43540 * configure.in (use_default_link): Grok --with-default-link to set it.
43541 * configure: Regenerated.
43542 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43543 (shlib-lds, shlib-lds-flags): Define to empty.
43544
2d4fa81e
RM
43545 * Makerules (shlib-lds): New variable.
43546 (shlib-lds-flags): New variable.
43547 (build-shlib, build-moduile, build-module-asneeded): Use it.
43548 ($(common-objpfx)libc.so): Use $(shlib-lds).
43549 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43550 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43551
31fffa6b
RM
43552 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43553 DT_FLAGS/DT_FLAGS_1 with zero flags.
43554
4e34ac6a
RM
43555 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43556 linker script munging.
43557
fcfc776b
UD
435582011-07-02 Ulrich Drepper <drepper@gmail.com>
43559
43560 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43561 as 128-bit value.
43562 * crypt/sha512.c (sha512_process_block): Perform total addition using
43563 128-bit if possible.
43564 (__sha512_finish_ctx): Likewise.
43565 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43566 as 64-bit value.
43567 * crypt/sha256.c (SWAP64): Define.
43568 (sha256_process_block): Perform total addition using 64-bit if
43569 possible.
43570 (__sha256_finish_ctx): Likewise.
43571
99231d9a
UD
435722011-07-01 Ulrich Drepper <drepper@gmail.com>
43573
43574 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43576 * nscd/hstcache.c (cache_addhst): Likewise.
43577 * nscd/grpcache.c (cache_addgr): Likewise.
43578 * nscd/aicache.c (addhstaiX): Likewise
43579 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43580
445b4a53
TK
435812011-07-01 Thorsten Kukuk <kukuk@suse.de>
43582
43583 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43584 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43585 * nscd/hstcache.c (cache_addhst): Likewise.
43586 * nscd/grpcache.c (cache_addgr): Likewise.
43587 * nscd/aicache.c (addhstaiX): Likewise
43588
6d4d8e8e
AS
435892011-07-01 Andreas Schwab <schwab@redhat.com>
43590
43591 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43592 domain only when needed.
43593
89f654c5
AS
435942011-06-30 Andreas Schwab <schwab@redhat.com>
43595
43596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43597 is always restored.
43598
cf3b23ff
UD
435992011-06-29 Ulrich Drepper <drepper@gmail.com>
43600
43601 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43602 are re-adding the entry.
43603 * nscd/servicescache.c (cache_addserv): Likewise.
43604
751626f9
AJ
436052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43606
43607 * sysdeps/generic/dl-irel.h: fix protection against multiple
43608 inclusions.
43609 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43610
9113ea1f
UD
436112011-06-28 Ulrich Drepper <drepper@gmail.com>
43612
5c0b8d90
UD
43613 [BZ #12935]
43614 * malloc/memusage.sh: Fix quoting in message.
43615 * debug/xtrace.sh: Likewise.
43616
9113ea1f
UD
43617 * configure.in: Remove support for --experimental-malloc option, make
43618 it the default.
43619 * config.make.in: Likewise.
43620 * malloc/Makefile: Likewise.
43621
a4172181
AS
436222011-06-27 Andreas Schwab <schwab@redhat.com>
43623
43624 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43625 two-byte characters.
43626
78a7eee7
RM
436272011-06-27 Roland McGrath <roland@hack.frob.com>
43628
62bede13
RM
43629 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43630 AC_CACHE_CHECK invocation.
43631 * configure: Regenerated.
43632
78a7eee7
RM
43633 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43634
5ce33a62
UD
436352011-06-27 Ulrich Drepper <drepper@gmail.com>
43636
034807a9
UD
43637 [BZ #12350]
43638 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43639 bit from old_res_options.
43640
4902da17
UD
43641 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43642
5ce33a62
UD
43643 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43644 value type for setfct.
43645
c2344f56
L
436462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43647
43648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43649 __gettimeofday instead of gettimeofday.
43650
68468076
UD
436512011-06-26 Ulrich Drepper <drepper@gmail.com>
43652
43653 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43654
acb0d739
L
436552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43656
43657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43658
43659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43660 info.
43661
8912479f
L
436622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43663
43664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43665 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43666 strcpy-sse2-unaligned strncpy-sse2-unaligned
43667 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43668 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43669 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43670 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43671 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43674 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43675 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43676 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43677 (STRCPY): Support SSE2 and SSSE3 versions.
43678
d5495a11
UD
436792011-06-24 Ulrich Drepper <drepper@gmail.com>
43680
43681 [BZ #12874]
43682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43683 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43684 kernels which artificially limit size of requests.
43685
0b1cbaae
L
436862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43687
43688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43689 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43690 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43691 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43692 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43693 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43694 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43695 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43698 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43699 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43700 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43701 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43702 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43704 Enable unaligned load optimization for Intel Core i3, i5 and i7
43705 processors.
43706 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43707 Define.
43708 (index_Fast_Unaligned_Load): Define.
43709 (HAS_FAST_UNALIGNED_LOAD): Define.
43710
07f494a0
MP
437112011-06-23 Marek Polacek <mpolacek@redhat.com>
43712
43713 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43714
fa3fc0fe
UD
437152011-06-22 Ulrich Drepper <drepper@gmail.com>
43716
43717 [BZ #12907]
43718 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43719 until it is clear that the information is realy needed.
43720 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43721
e12df166
AS
437222011-06-22 Andreas Schwab <schwab@redhat.com>
43723
43724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43725
852eb34d
UD
437262011-06-22 Ulrich Drepper <drepper@gmail.com>
43727
84e2a551
UD
43728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43729 /sys/devices/system/cpu/online if it is usable.
43730
852eb34d
UD
43731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43732 reading the information from the /proc filesystem to once a second.
43733
6e502e19
UD
437342011-06-21 Andreas Jaeger <aj@suse.de>
43735
43736 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43737 NULL after inclusion of kernel headers.
43738
75d39ff2
UD
437392011-06-21 Ulrich Drepper <drepper@gmail.com>
43740
51f9aa6a
UD
43741 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43742 calls to internal_setent.
43743
c0244a9d
UD
43744 [BZ #12885]
43745 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43746 addresses using gethostbyname4_r ignore IPv4 addresses.
43747
c5e3c2ae
UD
43748 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43749 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43750
75d39ff2
UD
43751 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43752
42675c6f
DM
437532011-06-20 David S. Miller <davem@davemloft.net>
43754
43755 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43756 inclusions.
43757 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43758
43759 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43760 (elf_irel): Use it.
43761 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43762 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43763 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43764 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43765 * sysdeps/x86_64/dl-irel.h: Likewise.
43766
43767 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43768 * elf/dl-sym.c: Likewise.
43769
57912a71
UD
437702011-06-15 Ulrich Drepper <drepper@gmail.com>
43771
43772 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43773 need to dereference resplen2.
43774
ee22793d
AS
437752011-06-14 Andreas Schwab <schwab@redhat.com>
43776
43777 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43778
a9e836b0
UD
437792011-06-15 Ulrich Drepper <drepper@gmail.com>
43780
77fb9117
UD
43781 * Makeconfig: Define vardbdir and inst_vardbdir.
43782 * nss/Makefile: Add rules to install db-Makefile.
43783
40c1b22c
UD
43784 * nss/nss_db/db-XXX.c: Cleanup.
43785
9f2da732
UD
43786 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43787 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43788 GLIBC_PRIVATE.
43789 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43790 * nss/makedb.c: Implement -g option to specify that value strings
43791 are generated and should not be added to table iterated over for
43792 get*ent calls.
43793 * nss/nss_db/db-initgroups.c: New file.
43794
82e9a1f7
UD
43795 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43796 interface.
43797
c41af17e
UD
43798 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43799 (internal_getgrouplist): Adjust to name change.
43800 Update use_initgroups_entry if this is not the first call.
43801 * nss/databases.def: Add initgroups entry.
43802
a9e836b0
UD
43803 * nss/makedb.c (compute_tables): Check result of multiple hash table
43804 sizes to minimize maximum chain length.
43805
2666d441
UD
438062011-06-14 Ulrich Drepper <drepper@gmail.com>
43807
43808 * Versions.def: Add entry for libnss_db.
43809 * shlib-versions: Likewise.
43810 * nss/Makefile: Add rules to build libnss_db.
43811 * nss/Versions: Add libnss_db information. Organize libnss_files
43812 entries better.
43813 * nss/db-Makefile: Add gshadow support. Change rules for the new
43814 makedb progra. Some minor improvements to generate smaller files.
43815 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43816 here from...
43817 * nss/makedb.c: ...here.
43818 Improve database format to be smaller and require less memory at
43819 runtime.
43820 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43821 db anymore.
43822 * nss/nss_db/db-netgrp.c: Likewise.
43823 * nss/nss_db/db-open.c: Likewise.
43824 * nss/nss_files/flies-XXX.x: Adjust comments.
43825 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43826 * nss/nss_files/files-grp.c: Likewise.
43827 * nss/nss_files/files-hosts.c: Likewise.
43828 * nss/nss_files/files-network.c: Likewise.
43829 * nss/nss_files/files-proto.c: Likewise.
43830 * nss/nss_files/files-pwd.c: Likewise.
43831 * nss/nss_files/files-rpc.c: Likewise.
43832 * nss/nss_files/files-service.c: Likewise.
43833 * nss/nss_files/files-sgrp.c: Likewise.
43834 * nss/nss_files/files-spwd.c: Likewise.
43835 * nss/nss_db/db-alias.c: Removed.
43836 * nss/nss_db/dummy-db.h: Removed.
43837
9ee76b5a
UD
438382011-06-02 Ulrich Drepper <drepper@gmail.com>
43839
43840 * nss/makedb.c: Rewritten to not use database library.
43841 * nss/Makefile: Update to build new makedb program.
43842
c71ca1f8
AJ
438432011-06-14 Andreas Jaeger <aj@suse.de>
43844
43845 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43846 memset declaration.
43847
3154bfb8
UD
438482011-06-10 Andreas Schwab <schwab@redhat.com>
43849
43850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43851 tmpbuf.
43852
b350afab
RM
438532011-06-10 Roland McGrath <roland@hack.frob.com>
43854
decd4e50
RM
43855 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43856 * elf/Makefile ($(objpfx)ld.so): Likewise.
43857
5615eaf2
RM
43858 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43859 Don't list ld.so twice in dependencies.
43860
43861 * posix/bug-regex31.c: Include <stdlib.h>.
43862
43863 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43864
43865 * nis/nss_compat/compat-spwd.c
43866 (getspent_next_nss_netgr): Remove unused variable.
43867 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43868
43869 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43870 nonmembers" output to use the right array.
43871
43872 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43873
43874 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43875
43876 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43877 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43878 * catgets/gencat.c (read_input_file): Likewise.
43879 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43880
43881 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43882 variable definition inside #if's controlling its use.
43883
43884 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43885
43886 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43887
43888 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43889
43890 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43891 unreachable code.
43892
43893 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43894
b68e08db
RM
43895 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43896 * configure: Regenerated.
43897
b350afab
RM
43898 * Makerules: Revert last change.
43899 * elf/Makefile: Likewise.
43900
28368601
RM
439012011-06-09 Roland McGrath <roland@hack.frob.com>
43902
43903 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43904 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43905 (reloc-link): Likewise.
43906
11988f8f
UD
439072011-06-09 Ulrich Drepper <drepper@gmail.com>
43908
43909 * elf/Makefile: Add rules to build pldd.
43910 * elf/pldd.c: New file.
43911 * elf/pldd-xx.c: New file.
43912
e80fab37
UD
439132011-06-07 Ulrich Drepper <drepper@gmail.com>
43914
43915 * version.h: Update for 2.15 development version.
43916
9b849836
DM
439172011-06-07 David S. Miller <davem@davemloft.net>
43918
43919 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43920 ifuncs.
43921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43922 elf_machine_lazy_rel): Likewise.
43923 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43925 elf_machine_lazy_rel): Likewise.
43926 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43927 dl_hwcap via passed in argument.
43928 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43929 Likewise.
43930
5a31b283
AK
439312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43932
43933 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43934
069e52f8
RM
439352011-06-06 Roland McGrath <roland@hack.frob.com>
43936
43937 [BZ #12849]
43938 * manual/fdl-1.1.texi: New file, verbatim from:
43939 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43940 * manual/lgpl-2.1.texi: New file, verbatim from:
43941 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43942 * manual/Makefile (licenses): New variable, list those new file names.
43943 (texis): Use it.
43944 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43945
43946 * manual/fdl.texi: File removed.
43947 * manual/lesser.texi: File removed.
43948 * manual/libc.texinfo (Copying, Documentation License):
43949 Use new @include file names, put @appendix directive before @include.
43950
f16846a5
JJ
439512011-06-04 Jakub Jelinek <jakub@redhat.com>
43952
43953 [BZ #12841]
43954 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43955 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43956 (mq_open): Add __NTH.
43957
3d29045b
L
439582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43959
43960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43961 Assume Intel Core i3/i5/i7 processor if AVX is available.
43962
8c297311
UD
439632011-05-31 Ulrich Drepper <drepper@gmail.com>
43964
43965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43966 typo.
43967
c8fc0c91
UD
439682011-05-31 Andreas Schwab <schwab@redhat.com>
43969
43970 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43971 memory. Use alloca_account. Fix memory leak when retrying.
43972
5b27a807
UD
439732011-05-31 Ulrich Drepper <drepper@gmail.com>
43974
356f8bc6
UD
43975 * version.h (RELEASE): Bump for 2.14 release.
43976 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43977
5b27a807
UD
43978 * config.make.in (RANLIB): Remove entry.
43979
01f16ab0
UD
439802011-05-30 Ulrich Drepper <drepper@gmail.com>
43981
41fce8bd
UD
43982 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43983 (libc.pot): Work around missing support for .ksh extension in xgettext.
43984
4769ae77
UD
43985 [BZ #12684]
43986 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43987 if both request failed.
43988 (send_dg): In case of server errors clear resplen or *resplen2.
43989
6b1e7d19
UD
43990 [BZ #12454]
43991 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43992 when there are multiple maps.
43993 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43994 (_dl_fini): Remove test here.
43995
01f16ab0
UD
43996 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43997
b1ebd700
UD
439982011-05-29 Ulrich Drepper <drepper@gmail.com>
43999
7ae22829
UD
44000 [BZ #12350]
44001 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44002 bit from old_res_options.
44003 (gaih_inet): Likewise.
44004
553149f6 44005 [BZ #11099]
18a84741 44006 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
44007 as signed.
44008
652ffab1
UD
44009 * resolv/res_init.c (res_setoptions): Make the code more compact.
44010
16985fd0
UD
44011 [BZ #11558]
44012 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44013 set RES_USEVC.
44014
0464f746
UD
44015 [BZ #11634]
44016 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44017
7d17596c
UD
44018 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44019
cf6bbbd7
UD
44020 [BZ #11781]
44021 * malloc/malloc.h: Declare malloc hook variables as volatile.
44022
13f1ab36
UD
44023 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44024 in last patch.
44025
b1ebd700
UD
44026 [BZ #11799]
44027 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44028 raise in the comment.
80e2212d
UD
44029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44031 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44032
ce67228d
UD
440332011-05-28 Ulrich Drepper <drepper@gmail.com>
44034
8887a920
UD
44035 [BZ #12811]
44036 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44037 grow the buffers more if it already has to be sufficient.
44038 (build_wcs_upper_buffer): Likewise.
44039 * posix/regexec.c (check_matching): Likewise.
44040 (clean_state_log_if_needed): Likewise.
44041 (extend_buffers): Don't enlarge buffers beyond size of the input
44042 buffer.
44043 Patches mostly by Emil Wojak <emil@wojak.eu>.
44044 * posix/bug-regex32.c: New file.
44045 * posix/Makefile (tests): Add bug-regex32.
44046
4f031072
UD
44047 * locale/findlocale.c (_nl_find_locale): Return right away if
44048 _nl_explode_name failed.
44049 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44050
d0478f0c
UD
44051 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44052
de81b246
UD
44053 * debug/xtrace.sh: Unify messages.
44054 * malloc/memusage.sh: Likewise.
44055
c738465a
UD
44056 [BZ #12813]
44057 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44058 time symbol from vDSO. Substitute with vsyscall if not available.
44059 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44060 __vdso_time.
44061
f1f929d7
UD
44062 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44063 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44064 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44065 Add sendmmsg and internal_sendmmsg.
44066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44067 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44068 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44069
ce67228d
UD
44070 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44071 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44073
e57420c6
UD
440742011-05-27 Ulrich Drepper <drepper@gmail.com>
44075
a8509ca5
UD
44076 [BZ #12813]
44077 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44078 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44079 available.
44080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44081 __vdso_getcpu.
44082
e57420c6
UD
44083 [BZ #12814]
44084 * iconvdata/Makefile (tests): Add bug-iconv9.
44085 * iconvdata/bug-iconv9.c: New file.
44086
4d07db15
AS
440872011-05-27 Andreas Schwab <schwab@redhat.com>
44088
44089 [BZ #12814]
44090 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44091
ea486f69
JJ
440922011-05-25 Jakub Jelinek <jakub@redhat.com>
44093
44094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44095 (struct user_regs_struct): Change intcs field back to cs.
44096
6f038433
UD
440972011-05-25 Ulrich Drepper <drepper@gmail.com>
44098
44099 * po/ja.po: Update from translation team.
44100
67f86a25
UD
441012011-05-23 Ulrich Drepper <drepper@gmail.com>
44102
44103 [BZ #12795]
44104 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44105 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44106
def7fbd6
AS
441072011-05-20 Andreas Schwab <schwab@redhat.com>
44108
44109 * stdlib/longlong.h: Update from GCC.
44110
f50ef8f1
AS
441112011-05-23 Andreas Schwab <schwab@redhat.com>
44112
44113 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44114 parameter name.
44115 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44116 Add parameter name.
44117 (__sysconf): Pass it down.
44118
de7ce8f1
UD
441192011-05-22 Ulrich Drepper <drepper@gmail.com>
44120
f2962a71
UD
44121 [BZ #12671]
44122 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44123 some situations.
44124 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44125 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44126 add in in __libc_use_alloca calls. Adjust callers.
44127 (glob): Use malloc in some situations.
44128
de7ce8f1
UD
44129 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44130 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44131 pltexit.
44132
aec84f53
UD
441332011-05-21 Ulrich Drepper <drepper@gmail.com>
44134
05bb4a68
UD
44135 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44136 and CLOCK_BOOTTIME_ALARM.
44137
7ea72f99
UD
44138 [BZ #12782]
44139 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44140 is returned.
44141
7e4afad5
UD
44142 * string/_strerror.c (__strerror_r): Print negative errors as signed
44143 numbers.
44144
8e211fec
UD
44145 [BZ #12777]
44146 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44147 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44148 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44149
f7d82dc9
UD
44150 * configure.in: Fix typo in redirection and correct removal of test
44151 files in two cases.
44152
cc9e536d
UD
44153 [BZ #12788]
44154 * locale/setlocale.c (new_composite_name): Fix test to check for
44155 identical name of all categories.
44156
aec84f53
UD
44157 [BZ #12792]
44158 * libio/filedoalloc.c (local_isatty): New function.
44159 (_IO_file_doallocate): Use local_isatty.
44160 * stdio-common/perror.c (perror): In case a new stream is used
44161 forward the stream error.
44162 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44163 error flag.
44164
78e64fdc
RT
441652011-05-20 Ulrich Drepper <drepper@gmail.com>
44166
34a9094f
UD
44167 [BZ #11869]
44168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44169 alloca.
44170 * include/alloca.h (extend_alloca_account): Define.
44171
78e64fdc
RT
44172 [BZ #11857]
44173 * posix/regex.h: Fix comments with documentation of user-accessible
44174 fields after compilation and describe correct free'ing of pattern
44175 after re_compile_pattern.
44176 Patch by Reuben Thomas <rrt@sc3d.org>.
44177
457bddfc
RA
441782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44179
44180 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44181 and -mno-altivec to prevent the compiler from using Altivec and/or
44182 VSX instructions when the corresponding registers are not available.
44183
a4527b51
AS
441842011-05-19 Andreas Schwab <schwab@redhat.com>
44185
44186 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44187
ed690b2f
UD
441882011-05-19 Ulrich Drepper <drepper@gmail.com>
44189
44190 * libio/freopen.c (freopen): Use __dup2, not dup2.
44191 * libio/freopen64.c (freopen64): Likewise.
44192
8db73634
L
441932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44194
44195 [BZ #12775]
44196 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44197 * math/Makefile (tests): Add test-powl.
44198 (CFLAGS-test-powl.c): Define.
44199 * math/test-powl.c: New file.
44200
0a197a9d
L
442012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44202
44203 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44204
ee30c380
UD
442052011-05-17 Ulrich Drepper <drepper@gmail.com>
44206
44207 [BZ #11837]
44208 * iconvdata/gb18030.c: Update to GB18020-2005.
44209
6ce75379
UD
442102011-05-16 Ulrich Drepper <drepper@gmail.com>
44211
a4b89fd8
AR
44212 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44213 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44214 Patch by Aharon Robbins <arnold@skeeve.com>.
44215
ea389b12
UD
44216 [BZ #11892]
44217 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44218 on the stack.
44219
68a3f91f
UD
44220 [BZ #11895]
44221 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44222 through underflows.
44223
15cc7dd1
UD
44224 [BZ #12766]
44225 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44226 point to strings before performing equality test for error_one_per_line
44227 mode.
44228
f3799213
UD
44229 [BZ #11697]
44230 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44231
d79a9c94
UD
44232 [BZ #11820]
44233 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44234 (struct user_fpregs_struct): Avoid __uint*_t types.
44235
56e5eb46
UD
44236 [BZ #6420]
44237 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44238 symbol info. Use it instead of calling _dl_addr locally.
44239 (lock_and_info): New function.
44240 (tr_freehook): Call lock_and_info and pass symbol info as additional
44241 parameter to tr_where.
44242 (tr_mallochook): Likewise.
44243 (tr_reallochook): Likewise.
44244 (tr_memalignhook): Likewise.
44245
6ce75379
UD
44246 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44247 used and couldn't be at all thread-safe.
44248
f8a3b5bf
UD
442492011-05-15 Ulrich Drepper <drepper@gmail.com>
44250
94b7cc37
UD
44251 * libio/freopen.c (freopen): Don't close old file descriptor
44252 before the new one is opened. Instead dup the new file descriptor
44253 to the old one after the new stream is created.
44254 * libio/freopen64.c (freopen64): Likewise.
44255 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44256 * libio/fileops.c (_IO_new_file_close_it): Handle new
44257 _IO_FLAGS2_NOCLOSE flag.
44258 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44259 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44260 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44261 _IO_FLAGS2_NOCLOSE flag.
44262 * include/unistd.h: Add hidden_proto for dup3.
44263 Define __have_dup3.
44264 * io/dup3.c: Define hidden symbol.
44265 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44266
bd25564e
UD
44267 [BZ #7101]
44268 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44269 when an incomplete long option is used.
44270 * posix/tst-getopt_long1.c: New file.
44271 * posix/Makefile (tests): Add tst-getopt_long1.
44272
c84cfef4
UD
44273 [BZ #10138]
44274 * scripts/config.guess: Update from autoconf-2.68.
44275 * scripts/config.sub: Likewise.
44276
3b85df27
UD
44277 [BZ #10157]
44278 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44279 tests into ...
44280 (has_cpuclock): ...this. New function.
44281 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44282 macro here based on has_cpuclock code.
44283
15a856b1
UD
44284 [BZ #10149]
44285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44286 First byte (not low byte) is now always NUL.
44287 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44288
05f399e6
UD
44289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44290 Use non-cancelable interfaces.
44291
10a52685 44292 [BZ #9809]
94ecc67d
UD
44293 * locale/iso-639.def: Add entry for Sorani.
44294
f8a3b5bf
UD
44295 [BZ #11901]
44296 * include/stdlib.h: Move include protection to the right place.
44297 Define abort_msg_s. Declare __abort_msg with it.
44298 * stdlib/abort.c (__abort_msg): Adjust type.
44299 * assert/assert.c (__assert_fail_base): New function. Majority
44300 of code from __assert_fail. Allocate memory for __abort_msg with
44301 mmap.
44302 (__assert_fail): Now call __assert_fail_base.
44303 * assert/assert-perr.c: Remove bulk of implementation. Use
44304 __assert_fail_base.
44305 * include/assert.hL Declare __assert_fail_base.
44306 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44307 mmap.
44308 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44309
1af4e298
UD
443102011-05-14 Ulrich Drepper <drepper@gmail.com>
44311
f8a3b5bf 44312 [BZ #11952]
d26dfc60
MG
44313 [BZ #12453]
44314 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44315 until all modules are registered in the DTV.
44316 * elf/Makefile: Add rules to build and run tst-tls19.
44317 * elf/tst-tls19.c: New file.
44318 * elf/tst-tls19mod1.c: New file.
44319 * elf/tst-tls19mod2.c: New file.
44320 * elf/tst-tls19mod3.c: New file.
44321 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44322
2fc54d6f
UD
44323 [BZ #12083]
44324 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44325 correctly.
44326
98d76b46
UD
44327 [BZ #12601]
44328 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44329 two-byte sequence errors.
44330 * iconvdata/Makefile (tests): Add bug-iconv8.
44331 * iconvdata/bug-iconv8.c: New file.
44332
da3c19ef
UD
44333 [BZ #12626]
44334 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44335 buf2 definition.
44336
ca408c15
UD
44337 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44338
d6f67f7d
UD
44339 [BZ #12432]
44340 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44341 (dummy_getcfa): New function.
44342 (init): Get _Unwind_GetCFA address, use dummy if not found.
44343 (backtrace_helper): In recursion check, also check whether CFA changes.
44344 (__backtrace): Completely initialize arg.
44345
1af4e298 44346 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
44347 storing incomplete byte sequence in state object. Avoid testing for
44348 guaranteed too small input if we know there is enough data available.
1af4e298 44349
da62f81b
AS
443502011-05-11 Andreas Schwab <schwab@redhat.com>
44351
44352 * Makeconfig (+link-pie): Indent.
44353 * Rules (binaries-pie): Define if $(have-fpie) and
44354 $(build-shared).
44355 (binaries-shared): Also filter out $(binaries-pie).
44356 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44357 * nscd/Makefile (others-pie): Add nscd.
44358 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44359 ($(objpfx)nscd): Remove command override.
44360 * login/Makefile (others-pie): Add pt_chown.
44361 ($(objpfx)pt_chown): Remove command override.
44362 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44363 remove command overrides.
44364
fcabc0f8
UD
443652011-05-13 Ulrich Drepper <drepper@gmail.com>
44366
20030ae6
UD
44367 * libio/tst_putwc.c: Fix error messages.
44368
fcabc0f8
UD
44369 [BZ #12724]
44370 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44371 currently writing and seek to current position when not.
44372 * libio/Makefile (tests): Add bug-fclose1.
44373 * libio/bug-fclose1.c: New file.
44374
320a5dc0
PB
443752011-05-12 Ulrich Drepper <drepper@gmail.com>
44376
44377 [BZ #12511]
44378 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44379 don't set DF_1_NODELETE here.
44380 (do_lookup_x): When entering new entry test for copy relocation
44381 and if necessary set DF_1_NODELETE flag.
44382 * elf/tst-unique4.cc: New file.
44383 * elf/tst-unique4.h: New file.
44384 * elf/tst-unique4lib.cc: New file.
44385 * elf/Makefile: Add rules to build and run tst-unique4.
44386 Patch by Piotr Bury <pbury@goahead.com>.
44387
22836f52
UD
443882011-05-11 Ulrich Drepper <drepper@gmail.com>
44389
f574184a
UD
44390 [BZ #12052]
44391 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44392
e1fb097f
UD
44393 [BZ #12625]
44394 * misc/mntent_r.c (addmntent): Flush the stream after the output
44395
22836f52
UD
44396 [BZ #12393]
44397 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44398 (is_trusted_path_normalize): Skip initial colon. Append slash
44399 to empty buffer. Duplicate is_trusted_path code but allow
44400 constructed patch to be prefix.
44401 (is_dst): Allow $ORIGIN followed by /.
44402 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44403 Correct testing of result of is_trusted_path_normalize
44404 (decompose_rpath): Fix warning.
44405
7b3b0b2a
UD
444062011-05-10 Ulrich Drepper <drepper@gmail.com>
44407
44408 [BZ #11257]
44409 * grp/initgroups.c (internal_getgrouplist): When we found the service
44410 list through the initgroups entry in nsswitch.conf do not always
44411 continue on a successful lookup. Don't always use the
eac80ce2 44412 __nss_group_database value if it is set.
7b3b0b2a
UD
44413 * nss/nsswitch.conf (initgroups): Change action for successful db
44414 lookup to continue for compatibility.
44415
2a81eaa5
UD
444162011-05-09 Ulrich Drepper <drepper@gmail.com>
44417
be97a69e
UD
44418 [BZ #11532]
44419 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44420 and CP774 modules.
44421 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44422 and CP774 modules.
44423 * iconvdata/tst-tables.sh: Likewise.
44424 * iconvdata/cp770.c: New file.
44425 * iconvdata/cp771.c: New file.
44426 * iconvdata/cp772.c: New file.
44427 * iconvdata/cp773.c: New file.
44428 * iconvdata/cp774.c: New file.
44429 * iconvdata/testdata/CP770: New file.
44430 * iconvdata/testdata/CP770..UTF8: New file.
44431 * iconvdata/testdata/CP771: New file.
44432 * iconvdata/testdata/CP771..UTF8: New file.
44433 * iconvdata/testdata/CP772: New file.
44434 * iconvdata/testdata/CP772..UTF8: New file.
44435 * iconvdata/testdata/CP773: New file.
44436 * iconvdata/testdata/CP773..UTF8: New file.
44437 * iconvdata/testdata/CP774: New file.
44438 * iconvdata/testdata/CP774..UTF8: New file.
44439
44440 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44441 END CHARMAP line.
44442 * iconvdata/gen-8bit-gap.sh: Likewise.
44443 * iconvdata/gen-8bit.sh: Likewise.
44444
c1e9e399
UD
44445 * locale/iso-639.def: Add ary entry.
44446
24c55fb3 44447 [BZ #11258]
96b4b1b0
UD
44448 * locale/C-translit.h.in: Add U20A1 transliteration.
44449
bdc2f971
KB
44450 [BZ #12178]
44451 * locale/iso-639.def: Add wae entry.
44452 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44453
2952b117
UD
44454 [BZ #12545]
44455 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44456 for n.
44457
2a81eaa5
UD
44458 [BZ #12711]
44459 * locale/C-translit.h.in: Add entry for U20B9.
44460 Patch by pravin.d.s@gmail.com.
44461
28377d1b
UD
444622011-05-08 Ulrich Drepper <drepper@gmail.com>
44463
7fb90fb8
UD
44464 [BZ #12713]
44465 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44466 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44467 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44468 in rtld. Use *stat64.
7fb90fb8 44469 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44470 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44471 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44472 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44473 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44474 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44475 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44476 __fstatat64 macros.
7fb90fb8
UD
44477 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44478 * dirent/rewinddir.c: Add libc_hidden_def.
44479 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44480 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44481
28377d1b
UD
44482 * include/dirent.h (__alloc_dir): Add flags parameter.
44483 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44484 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44485 __alloc_dir.
44486 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44487 from fdopendir if O_CLOEXEC is already set.
44488
66bdbaa4
AM
444892011-03-15 Alan Modra <amodra@gmail.com>
44490
44491 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44492 l_tls_firstbyte_offset non-zero. Save padding offset in
44493 l_tls_firstbyte_offset for later use.
44494 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44495 freeing static tls block.
44496
95721191
JN
444972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44498
44499 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44500 where #ifdef was intended. The intent is to prevent ARG_MAX from
44501 being defined by the kernel headers.
44502
f87dfb1f
UD
445032011-05-07 Ulrich Drepper <drepper@gmail.com>
44504
44505 [BZ #12734]
44506 * resolv/resolv.h: Define RES_NOTLDQUERY.
44507 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44508 no-tld-query and set RES_NOTLDQUERY.
44509 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44510 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44511 modern BIND to search name as TLD unless forbidden.
44512
47c3cd7a
UD
445132011-05-07 Petr Baudis <pasky@suse.cz>
44514 Ulrich Drepper <drepper@gmail.com>
44515
44516 [BZ #12393]
44517 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44518 (is_trusted_path): ...to here.
c1e9ea35 44519 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 44520 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 44521 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 44522
8a35c912
PP
445232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44524
44525 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44526 __BEGIN/__END_DECLS.
44527
acd41f47
UD
445282011-05-06 Ulrich Drepper <drepper@gmail.com>
44529
44530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44531 NSS_STATUS_NOTFOUND if no record was found.
44532
597df647
AS
445332011-05-05 Andreas Schwab <schwab@redhat.com>
44534
44535 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44536 (headers-not-in-tirpc): Remove rpc/netdb.h
44537 * resolv/netdb.h: Revert last change.
44538
b9af1301
PP
445392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44540
44541 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44542 circular dependency between libgcc.a and libc.a.
44543
4e34d5f5
AS
445442011-05-05 Andreas Schwab <schwab@redhat.com>
44545
44546 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44547 * nis/Makefile: Don't install rpcsvc/*.
44548 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44549 instead of <rpc/types.h>.
44550 (MAXHOSTNAMELEN): Define.
44551
00ee369c
AS
445522011-05-03 Andreas Schwab <schwab@redhat.com>
44553
44554 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44555
0b592a30
MB
445562011-04-28 Maciej Babinski <mbabinski@google.com>
44557
44558 [BZ #12714]
44559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44560 gethostbyname4_r when IPv6 results are possible.
44561
6e04cbbe
UD
445622011-05-02 Ulrich Drepper <drepper@gmail.com>
44563
44564 [BZ #12723]
44565 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44566 _PC_PIPE_BUF handling.
44567
e4ecafe0
BH
445682011-04-30 Bruno Haible <bruno@clisp.org>
44569
44570 [BZ #12717]
44571 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44572 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44573 to 'int'.
44574 * inet/getnameinfo.c (getnameinfo): Likewise.
44575
125ee683
UD
445762011-04-29 Ulrich Drepper <drepper@gmail.com>
44577
44578 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44579 to groups setting in database lookup.
44580 * nss/nsswitch.conf: Add initgroups entry.
44581
b722481a
EB
445822011-04-22 Ulrich Drepper <drepper@gmail.com>
44583
44584 [BZ #12685]
44585 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44586 mode string.
44587 Patch by Eric Blake <eblake@redhat.com>.
44588
4df46dbd
L
445892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44590
44591 * sunrpc/Makefile (need-export-routines): Add svc_run.
44592 (routines): Remove svc_run.
44593 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44594 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44595 * sunrpc/svc_run.c (svc_run): Likewise.
44596 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44597
e84142d2
UD
445982011-04-21 Ulrich Drepper <drepper@gmail.com>
44599
44600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44601 problem in reallocation in last patch.
44602
877175d8
UD
446032011-04-20 Ulrich Drepper <drepper@gmail.com>
44604
44605 * sunrpc/Makefile: Move inclusion of Rules.
44606
ab8eed78
UD
446072011-04-19 Ulrich Drepper <drepper@gmail.com>
44608
44609 * nss/nss_files/files-initgroups.c: New file.
44610 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44611 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44612 _nss_files_initgroups_dyn.
44613
e3d8f584
RS
446142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44615
44616 * elf/elf.h (R_ARM_IRELATIVE): Define.
44617
af190f45
UD
446182011-04-19 Ulrich Drepper <drepper@gmail.com>
44619
44620 * po/ru.po: Update from translation team.
44621
53cf59ef
UD
446222011-04-17 Ulrich Drepper <drepper@gmail.com>
44623
44624 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44625 dependencies.
44626
4c559bcd
MF
446272011-02-06 Mike Frysinger <vapier@gentoo.org>
44628
44629 [BZ #12653]
44630 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44631 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44633 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44635
4420675c
AS
446362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44637
44638 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44639 differing bytes.
44640 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44643
75ea32ab
UD
446442011-04-17 Ulrich Drepper <drepper@gmail.com>
44645
44646 [BZ #12420]
44647 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44648 storing it.
44649 * stdlib/bug-getcontext.c: New file.
44650 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44651
27390476
AK
446522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44653
44654 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44655 instructions into .machine "z9-109".
44656 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44657 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44658
10442705
AK
446592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44660
44661 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44662 between environment variables and auxiliary vector.
44663
7b57bfe5
UD
446642011-04-16 Ulrich Drepper <drepper@gmail.com>
44665
44666 * Makefile: Add rules to build linkobj/libc.so.
44667 * include/libc-symbols.h: Define libc_hidden_nolink.
44668 * include/rpc/auth.h: Mark functions which are to be hidden.
44669 * include/rpc/auth_des.h: Likewise.
44670 * include/rpc/auth_unix.h: Likewise.
44671 * include/rpc/clnt.h: Likewise.
44672 * include/rpc/des_crypt.h: Likewise.
44673 * include/rpc/key_prot.h: Likewise.
44674 * include/rpc/pmap_clnt.h: Likewise.
44675 * include/rpc/pmap_prot.h: Likewise.
44676 * include/rpc/pmap_rmt.h: Likewise.
44677 * include/rpc/rpc_msg.h: Likewise.
44678 * include/rpc/svc.h: Likewise.
44679 * include/rpc/svc_auth.h: Likewise.
44680 * include/rpc/xdr.h: Likewise.
44681 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44682 * nss/Makefile: Likewise.
44683 * sunrpc/Makefile: Don't install headers. Build library with normal
44684 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44685 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44686 for the compat linking library. Remove use of INTDEF/INTUSE.
44687 * sunrpc/auth_none.c: Likewise.
44688 * sunrpc/auth_unix.c: Likewise.
44689 * sunrpc/authdes_prot.c: Likewise.
44690 * sunrpc/authuxprot.c: Likewise.
44691 * sunrpc/clnt_gen.c: Likewise.
44692 * sunrpc/clnt_perr.c: Likewise.
44693 * sunrpc/clnt_raw.c: Likewise.
44694 * sunrpc/clnt_simp.c: Likewise.
44695 * sunrpc/clnt_tcp.c: Likewise.
44696 * sunrpc/clnt_udp.c: Likewise.
44697 * sunrpc/clnt_unix.c: Likewise.
44698 * sunrpc/des_crypt.c: Likewise.
44699 * sunrpc/des_soft.c: Likewise.
44700 * sunrpc/get_myaddr.c: Likewise.
44701 * sunrpc/key_call.c: Likewise.
44702 * sunrpc/key_prot.c: Likewise.
44703 * sunrpc/netname.c: Likewise.
44704 * sunrpc/pm_getmaps.c: Likewise.
44705 * sunrpc/pm_getport.c: Likewise.
44706 * sunrpc/pmap_clnt.c: Likewise.
44707 * sunrpc/pmap_prot.c: Likewise.
44708 * sunrpc/pmap_prot2.c: Likewise.
44709 * sunrpc/pmap_rmt.c: Likewise.
44710 * sunrpc/publickey.c: Likewise.
44711 * sunrpc/rpc_cmsg.c: Likewise.
44712 * sunrpc/rpc_common.c: Likewise.
44713 * sunrpc/rpc_dtable.c: Likewise.
44714 * sunrpc/rpc_prot.c: Likewise.
44715 * sunrpc/rpc_thread.c: Likewise.
44716 * sunrpc/rtime.c: Likewise.
44717 * sunrpc/svc.c: Likewise.
44718 * sunrpc/svc_auth.c: Likewise.
44719 * sunrpc/svc_authux.c: Likewise.
44720 * sunrpc/svc_raw.c: Likewise.
44721 * sunrpc/svc_run.c: Likewise.
44722 * sunrpc/svc_simple.c: Likewise.
44723 * sunrpc/svc_tcp.c: Likewise.
44724 * sunrpc/svc_udp.c: Likewise.
44725 * sunrpc/svc_unix.c: Likewise.
44726 * sunrpc/svcauth_des.c: Likewise.
44727 * sunrpc/xcrypt.c: Likewise.
44728 * sunrpc/xdr.c: Likewise.
44729 * sunrpc/xdr_array.c: Likewise.
44730 * sunrpc/xdr_float.c: Likewise.
44731 * sunrpc/xdr_intXX_t.c: Likewise.
44732 * sunrpc/xdr_mem.c: Likewise.
44733 * sunrpc/xdr_rec.c: Likewise.
44734 * sunrpc/xdr_ref.c: Likewise.
44735 * sunrpc/xdr_sizeof.c: Likewise.
44736 * sunrpc/xdr_stdio.c: Likewise.
44737
e6c61494
UD
447382011-04-10 Ulrich Drepper <drepper@gmail.com>
44739
44740 [BZ #12650]
44741 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44742 * sysdeps/ia64/dl-tls.h: Likewise.
44743 * sysdeps/powerpc/dl-tls.h: Likewise.
44744 * sysdeps/s390/dl-tls.h: Likewise.
44745 * sysdeps/sh/dl-tls.h: Likewise.
44746 * sysdeps/sparc/dl-tls.h: Likewise.
44747 * sysdeps/x86_64/dl-tls.h: Likewise.
44748 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44749
34fe483e
AS
447502011-03-14 Andreas Schwab <schwab@redhat.com>
44751
44752 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44753 rpath element also skip the following colon.
44754 (expand_dynamic_string_token): Add is_path parameter and pass
44755 down to DL_DST_REQUIRED and _dl_dst_substitute.
44756 (decompose_rpath): Call expand_dynamic_string_token with
44757 non-zero is_path. Ignore empty rpaths.
44758 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44759 with zero is_path.
44760
f12a32e6
AS
447612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44762
44763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44764 Make cancelable.
44765
38a7d692
UD
447662011-04-09 Ulrich Drepper <drepper@gmail.com>
44767
44768 [BZ #12655]
44769 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44770 Patch by Filipe David Manana <fdmanana@apache.org>.
44771
e451d22b
AS
447722011-04-07 Andreas Schwab <schwab@redhat.com>
44773
44774 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44775 Maintain aligned stack.
44776 (CHECK_RSP): Remove unused macro.
44777
dedc7c7b
UD
447782011-04-03 Ulrich Drepper <drepper@gmail.com>
44779
44780 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44781 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44782
94521213
UD
447832011-04-02 Ulrich Drepper <drepper@gmail.com>
44784
44785 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44786
8cb700c0 44787 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44788
0354e355
L
447892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44790
44791 [BZ #12518]
44792 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44793 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44794 * sysdeps/x86_64/memmove.c: New file.
44795 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44796 (memcpy): Renamed to ...
44797 (__new_memcpy): This.
44798 (memcpy): Provide GLIBC_2_14 memcpy.
44799 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44800 (memcpy): Provide GLIBC_2_2_5 memcpy.
44801
8593482f
UD
448022011-04-01 Ulrich Drepper <drepper@gmail.com>
44803
44804 [BZ #12631]
44805 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44806
81a5726b
AS
448072011-03-30 Andreas Schwab <schwab@redhat.com>
44808
44809 * misc/syncfs.c: New file.
44810 * misc/Makefile (routines): Add syncfs.
44811 * posix/unistd.h: Declare syncfs.
44812 * sysdeps/unix/syscalls.list: Add syncfs.
44813
00e5419f
AS
448142011-04-01 Andreas Schwab <schwab@redhat.com>
44815
44816 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44817 open_by_handle_at.
44818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44819 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44823 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44825
748876bf
UD
448262011-04-01 Ulrich Drepper <drepper@gmail.com>
44827
658e451d
UD
44828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44829 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44830 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44832 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44835
748876bf
UD
44836 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44837 sync_file_range.c with -fexceptions.
44838 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44839 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44840 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44841 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44842 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44843 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44845 sync_file_range as cancellation point
44846 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44847 now a wrapper around __call_sync_file_range with cancellation handling.
44848 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44849 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44850 function name to __call_sync_file_range.
44851 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44852 Add call_sync_file_range.
748876bf 44853
6e63d5e1
AS
448542011-04-01 Andreas Schwab <schwab@redhat.com>
44855
44856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44857 bits/timex.h.
6e63d5e1 44858
46998f74
UD
448592011-04-01 Ulrich Drepper <drepper@gmail.com>
44860
4c1423ed
UD
44861 * iconv/iconv.h: Fix typo in comment.
44862 * io/fcntl.h: Likewise.
44863 * libio/stdio.h: Likewise.
44864 * posix/spawn.h: Likewise.
44865 * posix/unistd.h: Likewise.
44866 * stdlib/stdlib.h: Likewise.
44867 * time/time.h: Likewise.
44868 * wcsmbs/wchar.h: Likewise.
44869
158648c0
UD
44870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44871 open_by_handle): Add.
44872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44873 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44874 Augment a few comments.
44875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44880 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44881 open_by_handle.
44882
46998f74
UD
44883 * io/fcntl.h (AT_EMPTY_PATH): Define.
44884
83fe108b
UD
448852011-03-30 Ulrich Drepper <drepper@gmail.com>
44886
44887 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44888 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44889 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44890 to...
44891 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44892 * Versions.def: Add GLIBC_2.14.
44893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44894 Export.
83fe108b 44895
bb242059
UD
448962011-03-22 Ulrich Drepper <drepper@gmail.com>
44897
44898 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44899 round counter.
44900 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44901
c97a1282
L
449022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44903
44904 [BZ #12597]
44905 * string/test-strncmp.c (do_page_test): New function.
44906 (check2): Likewise.
44907 (test_main): Call check2.
44908 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44909
2a115601
UD
449102011-03-20 Ulrich Drepper <drepper@gmail.com>
44911
44912 [BZ #12587]
44913 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44914 Handle cache information in CPU leaf 4.
44915 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44916
8126d904
UD
449172011-03-18 Ulrich Drepper <drepper@gmail.com>
44918
042c49c6 44919 [BZ #12583]
8126d904
UD
44920 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44921 character representation.
44922 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44923
ccfe366e
RA
449242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44925
44926 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44927 END(__isnan) to END(__isnanf) to match function entry point/label
44928 EALIGN(__isnanf,...).
44929
c6e13027
JJ
449302011-03-10 Jakub Jelinek <jakub@redhat.com>
44931
44932 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44933
33f85a3f
UD
449342011-03-10 Ulrich Drepper <drepper@gmail.com>
44935
028478fa
UD
44936 [BZ #12510]
44937 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44938 copy from the symbol referenced in the relocation to initialize the
44939 used variable.
44940 Patch by Piotr Bury <pbury@goahead.com>.
44941 * elf/Makefile: Add rules to build and tst-unique3.
44942 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44943 * elf/tst-unique3.cc: New file.
44944 * elf/tst-unique3.h: New file.
44945 * elf/tst-unique3lib.cc: New file.
44946 * elf/tst-unique3lib2.cc: New file.
44947
33f85a3f
UD
44948 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44949
03592fc7
MF
449502011-03-10 Mike Frysinger <vapier@gentoo.org>
44951
44952 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44953 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44954 to _start.
03592fc7 44955
6a5ee102
UD
449562011-03-06 Ulrich Drepper <drepper@gmail.com>
44957
44958 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44959 to-be-loaded object along a path to loader is ld.so.
44960
7e4ba49c
HJ
449612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44962 Ulrich Drepper <drepper@gmail.com>
44963
44964 * sysdeps/x86_64/memset.S: After aligning destination, code
44965 branches to different locations depending on the value of
44966 misalignment, when multiarch is enabled. Fix this.
44967
449682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44969
44970 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44971 Set _x86_64_preferred_memory_instruction for AMD processsors.
44972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44973 Set bit_Prefer_SSE_for_memop for AMD processors.
44974
13a804de
UD
449752011-03-04 Ulrich Drepper <drepper@gmail.com>
44976
44977 * libio/fmemopen.c (fmemopen): Optimize a bit.
44978
9d25c392
AS
449792011-03-03 Andreas Schwab <schwab@redhat.com>
44980
44981 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44982
a5543c6a
RM
449832011-03-03 Roland McGrath <roland@redhat.com>
44984
44985 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44986
012d35f7
DM
449872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44988
7e4ba49c 44989 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44990 __bzero_ultra1 instead of __memset_ultra1.
44991
4bff6e01
AS
449922011-02-23 Andreas Schwab <schwab@redhat.com>
44993 Ulrich Drepper <drepper@gmail.com>
44994
44995 [BZ #12509]
44996 * include/link.h (struct link_map): Add l_orig_initfini.
44997 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44998 returning unsuccessfully.
44999 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45000 close of a file loaded at startup, restore the original l_initfini
45001 list.
45002 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45003 list, store the pointer.
45004 * elf/Makefile ($(objpfx)noload-mem): New rule.
45005 (noload-ENV): Define.
45006 (tests): Add $(objpfx)noload-mem.
45007 * elf/noload.c: Include <memcheck.h>.
45008 (main): Call mtrace. Close all opened handles.
45009
f2092faf
AS
450102011-02-17 Andreas Schwab <schwab@redhat.com>
45011
45012 [BZ #12454]
45013 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45014 dependencies are missing.
45015
6c8a2e88
ST
450162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45017
f2092faf 45018 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45019 Hurd needs munmap.
45020 * sysdeps/mach/hurd/ifreq.h: New file.
45021
84a42118
PB
450222011-01-27 Petr Baudis <pasky@suse.cz>
45023 Ulrich Drepper <drepper@gmail.com>
45024
071f805e 45025 [BZ 12445]#
84a42118
PB
45026 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45027 to extend_alloca().
45028 * stdio-common/bug23.c: New file.
45029 * stdio-common/Makefile (tests): Add bug23.
45030
e23fe25b
AS
450312010-09-28 Andreas Schwab <schwab@redhat.com>
45032 Ulrich Drepper <drepper@gmail.com>
45033
45034 [BZ #12489]
45035 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45036 before performing relro protection. At old place add assertion
45037 to make sure nothing changed.
45038
d3f02e10
NS
450392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45040 Glauber de Oliveira Costa <glommer@gmail.com>
45041
45042 * elf/elf.h: Add new ARM TLS relocs.
45043
d55fd7a5
RA
450442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45045
45046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45047 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45048 cast from r3.
45049 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45050 'tests' variable.
45051 * sysdeps/wordsize-64/tst-writev.c: New file.
45052
2206397e
RA
450532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45054
45055 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45056 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45057 insns in _dl_start to prevent a TOC reference before relocs are
45058 resolved.
45059
e9433893
UD
450602011-02-15 Ulrich Drepper <drepper@gmail.com>
45061
45062 [BZ #12469]
45063 * Makeconfig: Remove RANLIB definition.
45064 * Makerules: Don't use RANLIB.
45065 * aclocal.m4: Remove ranlib test.
45066 * configure.in: No need to check for ranlib.
45067 * elf/rtld-Rules: Don't use RANLIB.
45068
f75286c6
ST
450692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45070
8e31c82d
ST
45071 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45072 protection macro.
45073 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45074 inclusion protection macro.
45075
f75286c6
ST
45076 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45077 SIGRTMIN and SIGRTMAX and print information in that case only when
45078 SIGRTMIN is defined.
45079
c1d0e639
JJ
450802011-02-11 Jakub Jelinek <jakub@redhat.com>
45081
45082 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45083 arginfo fn returning -1.
45084
45085 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45086 and thousands string is zero terminated.
45087
edf9294e
AS
450882011-02-03 Andreas Schwab <schwab@redhat.com>
45089
45090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45091 sysdeps/unix/sysv/linux/bits/socket.h.
45092
2b7e92df
ST
450932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45094
edf9294e
AS
45095 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45096 (__CPU_COUNT): Remove old macros.
45097 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45098 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45099 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45100 (__sched_cpualloc, __sched_cpufree): Add declarations.
45101
a4c7ea7b
UD
451022011-02-05 Ulrich Drepper <drepper@gmail.com>
45103
45104 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45105 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45106 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45107 (readdhstai): Return value of addhstaiX call.
45108 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45109 (addgrbyX): Return value returned by cache_addgr.
45110 (readdgrbyname): Return value returned by addgrbyX.
45111 (readdgrbygid): Likewise.
45112 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45113 (addpwbyX): Return value returned by cache_addpw.
45114 (readdpwbyname): Return value returned by addhstbyX.
45115 (readdpwbyuid): Likewise.
45116 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45117 (addservbyX): Return value returned by cache_addserv.
45118 (readdservbyname): Return value returned by addservbyX:
45119 (readdservbyport): Likewise.
45120 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45121 (addhstbyX): Return value returned by cache_addhst.
45122 (readdhstbyname): Return value returned by addhstbyX.
45123 (readdhstbyaddr): Likewise.
45124 (readdhstbynamev6): Likewise.
45125 (readdhstbyaddrv6): Likewise.
45126 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45127 (readdinitgroups): Return value returned by addinitgroupsX.
45128 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45129 (prune_cache): Keep track of timeout value of re-added entries.
45130 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45131 * nscd/nscd.h: Adjust prototypes of readd* functions.
45132
a0bf67cc
RM
451332011-02-04 Roland McGrath <roland@redhat.com>
45134
45135 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45136 (nis_stats): Likewise.
45137 * nis/nis_modify.c (nis_modify): Likewise.
45138 * nis/nis_remove.c (nis_remove): Likewise.
45139 * nis/nis_add.c (nis_add): Likewise.
45140
45141 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45142
45143 * posix/fnmatch_loop.c: Add some consts.
45144
45145 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45146
435b95eb
L
451472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45148
45149 [BZ #12460]
45150 * config.make.in (config-cflags-novzeroupper): Define.
45151 * configure.in: Substitute libc_cv_cc_novzeroupper.
45152 * elf/Makefile (AVX-CFLAGS): Define.
45153 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45154 (CFLAGS-tst-auditmod4a.c): Likewise.
45155 (CFLAGS-tst-auditmod4b.c): Likewise.
45156 (CFLAGS-tst-auditmod6b.c): Likewise.
45157 (CFLAGS-tst-auditmod6c.c): Likewise.
45158 (CFLAGS-tst-auditmod7b.c): Likewise.
45159 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45160
8517b15e
UD
451612011-02-02 Ulrich Drepper <drepper@gmail.com>
45162
45163 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45164 function to the callback.
45165 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45166
10a656fe
AS
451672011-02-02 Andreas Schwab <schwab@redhat.com>
45168
45169 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45170 of errno.
45171
968dad0a
UD
451722011-01-19 Ulrich Drepper <drepper@gmail.com>
45173
9f94d2ea 45174 [BZ #11724]
968dad0a
UD
45175 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45176 of constructors.
45177 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45178 of destructors.
45179 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45180
45181 [BZ #11724]
45182 * elf/Makefile: Add rules to build and run new test.
45183 * elf/tst-initorder.c: New file.
45184 * elf/tst-initorder.exp: New file.
45185 * elf/tst-initordera1.c: New file.
45186 * elf/tst-initordera2.c: New file.
45187 * elf/tst-initordera3.c: New file.
45188 * elf/tst-initordera4.c: New file.
45189 * elf/tst-initorderb1.c: New file.
45190 * elf/tst-initorderb2.c: New file.
45191 * elf/tst-order-a1.c: New file.
45192 * elf/tst-order-a2.c: New file.
45193 * elf/tst-order-a3.c: New file.
45194 * elf/tst-order-a4.c: New file.
45195 * elf/tst-order-b1.c: New file.
45196 * elf/tst-order-b2.c: New file.
45197 * elf/tst-order-main.c: New file.
45198 New test case by George Gensure <werkt0@gmail.com>.
45199
86e92359
UD
452002010-10-01 Andreas Schwab <schwab@redhat.com>
45201
45202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45203 decoding ACE if AI_CANONIDN.
45204
5d5732b0
UD
452052011-01-18 Ulrich Drepper <drepper@gmail.com>
45206
45207 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45208
a77e8cbc
UD
452092011-01-17 Ulrich Drepper <drepper@gmail.com>
45210
6392473f
UD
45211 * version.h (RELEASE): Bump for 2.13 release.
45212 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45213
620a0529
UD
45214 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45215
18ba70a5
UD
45216 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45217 MADV_NOHUGEPAGE.
32465c3e
UD
45218 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45219 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45223 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45224
c0dafcf1
UD
45225 * posix/getconf.c: Update copyright year.
45226 * catgets/gencat.c: Likewise.
45227 * csu/version.c: Likewise.
45228 * debug/catchsegv.sh: Likewise.
45229 * debug/xtrace.sh: Likewise.
45230 * elf/ldconfig.c: Likewise.
45231 * elf/ldd.bash.in: Likewise.
45232 * elf/sprof.c (print_version): Likewise.
45233 * iconv/iconv_prog.c: Likewise.
45234 * iconv/iconvconfig.c: Likewise.
45235 * locale/programs/locale.c: Likewise.
45236 * locale/programs/localedef.c: Likewise.
45237 * malloc/memusage.sh: Likewise.
45238 * malloc/mtrace.pl: Likewise.
45239 * nscd/nscd.c (print_version): Likewise.
45240 * nss/getent.c: Likewise.
45241
a77e8cbc
UD
45242 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45243 PF_CAIF, and PF_ALG.
45244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45245
77e8bddf
AS
452462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45247
1f20b93a
AS
45248 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45249 (modules-names): Use them.
45250 (ifunc-test-modules, ifunc-pie-tests): Define.
45251 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45252 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45253 (test-extras): Likewise.
45254 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45255 $(compile-command.c).
45256 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45257 (all-built-dso): Define.
45258 (check-textrel.out, check-execstack.out): Depend on it.
45259
77e8bddf
AS
45260 * configure.in: Don't override --enable-multi-arch.
45261
bc425b33
UD
452622011-01-15 Ulrich Drepper <drepper@gmail.com>
45263
45264 [BZ #6812]
45265 * nscd/hstcache.c (tryagain): Define.
45266 (cache_addhst): Return tryagain not notfound for temporary errors.
45267 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45268 failed.
45269
794c3ad3
UD
452702011-01-14 Ulrich Drepper <drepper@gmail.com>
45271
70181fdd
UD
45272 [BZ #10563]
45273 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45274 to make the syscall.
45275 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45276
794c3ad3
UD
45277 [BZ #12378]
45278 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45279 and fall back to matching as normal character if the string ends before
45280 the matching ']' is found. This is what POSIX requires.
45281 * posix/testfnm.c: Adjust test result.
45282 * posix/globtest.sh: Adjust test result. Add new test.
45283 * posix/tst-fnmatch.input: Likewise.
45284 * posix/tst-fnmatch2.c: Add new test.
45285
68dc9497
AS
452862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45287
45288 * elf/Makefile (check-execstack): Revert last change. Depend on
45289 check-execstack.h.
45290 (check-execstack.h): New target.
45291 (generated): Add check-execstack.h.
45292 * elf/check-execstack.c: Include "check-execstack.h".
45293 (main): Revert last change.
45294 (handle_file): Return zero if GNU_STACK is absent and
45295 DEFAULT_STACK_PERMS doesn't include PF_X.
45296
451f001b
UD
452972011-01-13 Ulrich Drepper <drepper@gmail.com>
45298
cfa28e56
UD
45299 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45300 in child fails because the descriptor is already closed.
8cf8ce17
UD
45301 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45302 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45303 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 45304
1086d70d
UD
45305 [BZ #12397]
45306 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45307 syscall.
45308
451f001b
UD
45309 [BZ #10484]
45310 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45311 temporary buffer used to handle multi lookups locally.
a85b5cb4 45312 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 45313
08769175
UD
453142011-01-12 Ulrich Drepper <drepper@gmail.com>
45315
45316 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45317 loader is ld.so.
45318
5e49c52e
UD
453192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45320
45321 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45322 alignment for SSE2.
45323
60522a5f
UD
453242011-01-12 Ulrich Drepper <drepper@gmail.com>
45325
45326 [BZ #12394]
45327 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45328 characters. When rounding increased number of integer digits recompute
45329 number of groups.
45330 * stdio-common/tst-grouping.c: New file.
45331 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45332
f257bbd7
UD
453332011-01-09 Ulrich Drepper <drepper@gmail.com>
45334
45335 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45336 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45337
45338 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45339 void.
45340 * bits/select.h: Likewise.
45341
fa9c15cb
UD
453422011-01-08 Ulrich Drepper <drepper@gmail.com>
45343
45344 * po/ja.po: Update from translation team.
45345
16c2895f
DM
453462011-01-04 David S. Miller <davem@sunset.davemloft.net>
45347
45348 [BZ #11155]
45349 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45350 implementation just like for lxstat, fxstatat, et al.
45351
2543fef2
JM
453522010-12-27 Jim Meyering <meyering@redhat.com>
45353
45354 [BZ #12348]
45355 * posix/regexec.c (build_trtable): Return failure indication upon
45356 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45357
98727dbe
UD
453582010-12-25 Ulrich Drepper <drepper@gmail.com>
45359
5bd6dc5c
UD
45360 [BZ #12201]
45361 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45362 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45363 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45364 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45365
97983464
UD
45366 [BZ #12207]
45367 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45368
98727dbe
UD
45369 [BZ #12204]
45370 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45371 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45372
4a531bb0
L
453732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45374
45375 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45376 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45377 script has SORT_BY_INIT_PRIORITY.
45378 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45379 NO_CTORS_DTORS_SECTIONS is defined.
45380 * elf/soinit.c: Likewise.
45381 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45382 NO_CTORS_DTORS_SECTIONS is defined.
45383 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45384 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45385 * sysdeps/sh/init-first.c: Likewise.
45386 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45387
07eb4b71
UD
453882010-12-24 Ulrich Drepper <drepper@gmail.com>
45389
45390 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45391 always use the slow path.
45392
30950a5f
RA
453932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45394
45395 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45396 similar rule which adds the sysdep directories to the header search in
45397 order to pick up the correct platform stackinfo.h.
45398 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45399 perform test if it is, otherwise return successfully without testing.
45400 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45401 DEFAULT_STACK_PERMS define in stackinfo.h.
45402 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45403 defined in stackinfo.h.
45404 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45405 DEFAULT_STACK_PERMS defined in stackinfo.h.
45406 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45407 * sysdeps/ia64/stackinfo.h: Likewise.
45408 * sysdeps/s390/stackinfo.h: Likewise.
45409 * sysdeps/sh/stackinfo.h: Likewise.
45410 * sysdeps/sparc/stackinfo.h: Likewise.
45411 * sysdeps/x86_64/stackinfo.h: Likewise.
45412 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45413 PF_X for powerpc64. Retain PF_X for powerpc32.
45414
db753e2c
UD
454152010-12-19 Ulrich Drepper <drepper@gmail.com>
45416
14b697f7
UD
45417 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45418 accurately.
db753e2c
UD
45419 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45420 GETDENTS_64BIT_ALIGNED.
45421
28300719
UD
454222010-12-14 Ulrich Drepper <dreper@gmail.com>
45423
14b697f7 45424 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 45425
4f197237
AS
454262010-12-10 Andreas Schwab <schwab@redhat.com>
45427
dbb0472f
AS
45428 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45429 _GNU_SOURCE.
45430
4f197237
AS
45431 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45432 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45433 Remove __restrict.
45434 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45435 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45436
fb88ac72
UD
454372010-12-09 Ulrich Drepper <drepper@gmail.com>
45438
45439 [BZ #11655]
45440 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45441 are initialized.
45442
42acbb92
JJ
454432010-12-09 Jakub Jelinek <jakub@redhat.com>
45444
45445 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45446
c038d98d
UD
454472010-12-03 Ulrich Drepper <drepper@gmail.com>
45448
45449 * po/it.po: Update from translation team.
45450
3a4a2499
L
454512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45452
45453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45454 unused codes.
45455
1e24cf6e
UD
454562010-11-30 Ulrich Drepper <drepper@gmail.com>
45457
45458 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45459
a7690819
AS
454602010-11-24 Andreas Schwab <schwab@redhat.com>
45461
45462 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45463 specially.
45464 (gaih_getanswer_slice): Likewise.
45465
3bf8d1b1
JJ
454662010-10-20 Jakub Jelinek <jakub@redhat.com>
45467
45468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45469
6db52fbb
PB
454702010-05-31 Petr Baudis <pasky@suse.cz>
45471
45472 [BZ #11149]
45473 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45474 silently even in the chroot mode.
45475
eaca7569
UD
454762010-11-22 Ulrich Drepper <drepper@gmail.com>
45477
45478 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45479 last patch a bit. Pretty printing
45480
3056dcdb
UD
454812010-05-31 Petr Baudis <pasky@suse.cz>
45482
45483 [BZ #10085]
45484 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45485 initialization of skip_initgroups_dyn.
45486
cf7c9078
UD
454872010-11-19 Ulrich Drepper <drepper@gmail.com>
45488
45489 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45491
a1fb5e3e
UD
454922010-11-16 Ulrich Drepper <drepper@gmail.com>
45493
45494 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45495
3540d66b
AS
454962010-11-11 Andreas Schwab <schwab@redhat.com>
45497
45498 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45499 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45500 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45501 ($(objpfx)tst-fnmatch-mem): New rule.
45502 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45503 * posix/tst-fnmatch.c (main): Call mtrace.
45504
13b69574
L
455052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45506
45507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45508 Support Intel processor model 6 and model 0x2c.
45509
da93d214
LM
455102010-11-10 Luis Machado <luisgpm@br.ibm.com>
45511
45512 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45513 signed comparison.
45514
8ca52c6e
L
455152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45516
45517 [BZ #12205]
45518 * string/test-strncasecmp.c (check_result): New function.
45519 (do_one_test): Use it.
45520 (check1): New function.
45521 (test_main): Use it.
45522 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45523 Support strcasecmp and strncasecmp.
45524
69da074d
UD
455252010-11-08 Ulrich Drepper <drepper@gmail.com>
45526
45527 [BZ #12194]
45528 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45529 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45530
ff02d528
L
455312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45532
45533 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45534 IFUNC support.
45535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45536 memset-x86-64.
45537 * sysdeps/x86_64/multiarch/bzero.S: New file.
45538 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45539 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45540 * sysdeps/x86_64/multiarch/memset.S: New file.
45541 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45543 Set bit_Prefer_SSE_for_memop for Intel processors.
45544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45545 Define.
45546 (index_Prefer_SSE_for_memop): Define.
45547 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45548
344d0b54
LM
455492010-11-04 Luis Machado <luisgpm@br.ibm.com>
45550
45551 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45552 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45553
c0dde15b
UD
455542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45555
45556 [BZ #12191]
45557 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45558 (__x86_64_raw_data_cache_size_half): Likewise.
45559 (__x86_64_raw_shared_cache_size): Likewise.
45560 (__x86_64_raw_shared_cache_size_half): Likewise.
45561
45562 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45563 (__x86_64_raw_data_cache_size_half): Likewise.
45564 (__x86_64_raw_shared_cache_size): Likewise.
45565 (__x86_64_raw_shared_cache_size_half): Likewise.
45566 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45567 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45568 and __x86_64_raw_shared_cache_size_half. Round
45569 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45570 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45571 to multiple of 256 bytes.
45572
0e516e0e
MS
455732010-11-03 Ulrich Drepper <drepper@gmail.com>
45574
45575 [BZ #12167]
45576 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45577 of inacessible symlinks. Verify result of symlink before returning it.
45578 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45579 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45580
0e012e87
ER
455812010-10-28 Erich Ritz <erichritz@gmail.com>
45582
45583 * math/math.h (isinf): Fix typo in comment.
45584
de0ff7bc
UD
455852010-11-01 Ulrich Drepper <drepper@gmail.com>
45586
45587 * po/da.po: Update from translation team.
45588
fa41c84d
UD
455892010-10-26 Ulrich Drepper <drepper@gmail.com>
45590
45591 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45592 is added to the list.
45593
f0967738
AK
455942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45595 Ulrich Drepper <drepper@gmail.com>
45596
45597 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45598 the global list here. Move code to...
45599 (_dl_add_to_namespace_list): ...here. New function.
45600 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45601 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45602 * elf/dl-load.c (lose): Don't remove the element from the list.
45603 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45604 (_dl_map_object): Likewise.
45605
456062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45607
45608 [BZ #12159]
45609 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45610 into all bytes of SSE register.
45611 Patch by Richard Li <richardpku@gmail.com>.
45612
f0967738 456132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45614
45615 [BZ #12140]
45616 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45617 perturbing.
45618
d0b9e94f
MB
456192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45620
45621 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45622 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45623 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45624 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45626 submachine.
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45628
8e9f92e9
AS
456292010-10-22 Andreas Schwab <schwab@redhat.com>
45630
45631 * include/dlfcn.h (__RTLD_SECURE): Define.
45632 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45633 mode & __RTLD_SECURE instead.
45634 (open_path): Rename preloaded parameter to secure.
45635 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45636 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45637 * elf/dl-deps.c (openaux): Likewise.
45638 * elf/rtld.c (struct map_args): Remove is_preloaded.
45639 (map_doit): Don't use it.
45640 (dl_main): Likewise.
45641 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45642 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45643
bc96fbda
AS
456442010-09-09 Andreas Schwab <schwab@redhat.com>
45645
45646 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45647 (sysd-rules-targets): Remove duplicates.
45648 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45649 rtld-%.$o dependency.
45650
22cd1c9b
AS
456512010-10-18 Andreas Schwab <schwab@redhat.com>
45652
45653 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45654 _dl_map_object do it.
45655
18edac48
UD
456562010-10-19 Ulrich Drepper <drepper@gmail.com>
45657
45658 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45659 fast fma builtins, define the macros in the C99 standard.
45660 (FP_FAST_FMAF): Likewise.
45661 (FP_FAST_FMAL): Likewise.
45662 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45663
45664 * bits/mathdef.h: Update copyright year.
45665 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45666
d2050124
MM
456672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45668
45669 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45670 builtins, define the macros in the C99 standard.
45671 (FP_FAST_FMAF): Likewise.
45672 (FP_FAST_FMAL): Likewise.
45673 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45674 multiply/add.
45675 (FP_FAST_FMAF): Likewise.
45676
475facd1
JJ
456772010-10-15 Jakub Jelinek <jakub@redhat.com>
45678
45679 [BZ #3268]
45680 * math/libm-test.inc (fma_test): Some new testcases.
45681 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45682 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45683 y and infinite z. Do multiplication by C already in long double.
45684 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45686 y and infinite z. Do bitwise or of inexact bit into u.d.
45687 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45688 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45689 * sysdeps/i386/fpu/s_fma.S: Removed.
45690 * sysdeps/i386/fpu/s_fmal.S: Removed.
45691
7c08a05c
JJ
456922010-10-16 Jakub Jelinek <jakub@redhat.com>
45693
45694 [BZ #3268]
45695 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45697 computation is not scheduled after fetestexcept. Fix value
45698 of minimum denormal long double.
45699
f3f7372d
JJ
457002010-10-14 Jakub Jelinek <jakub@redhat.com>
45701
45702 [BZ #3268]
45703 * math/libm-test.inc (fma_test): Add some more tests.
45704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45705 correctly.
45706
14d43591
AS
457072010-10-15 Andreas Schwab <schwab@redhat.com>
45708
45709 * scripts/data/localplt-s390-linux-gnu.data: New file.
45710 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45711
5e908464
JJ
457122010-10-13 Jakub Jelinek <jakub@redhat.com>
45713
45714 [BZ #3268]
45715 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45716 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45717 instead of dbl-64.
45718 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45719 inlines.
45720 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45722 if one of x and y is very large and the other is subnormal.
45723 * sysdeps/s390/fpu/s_fmaf.c: New file.
45724 * sysdeps/s390/fpu/s_fma.c: New file.
45725 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45726 * sysdeps/powerpc/fpu/s_fma.S: New file.
45727 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45728 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45729 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45730
457312010-10-12 Jakub Jelinek <jakub@redhat.com>
45732
45733 [BZ #3268]
45734 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45735 fma tests.
45736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45737 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45738 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45739 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45740 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45741 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45742 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45743
b833d51f
UD
457442010-10-12 Ulrich Drepper <drepper@redhat.com>
45745
45746 [BZ #12078]
45747 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45748 * posix/bug-regex31.input: Add test case.
45749
1751705d
UD
457502010-10-11 Ulrich Drepper <drepper@gmail.com>
45751
e9b9cbf5
UD
45752 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45753 * posix/bug-regex31.input: New file.
45754
45755 [BZ #12078]
45756 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45757 (parse_sub_exp): Fix last change, use postorder.
45758
ef06edbe
UD
45759 * posix/bug-regex31.c: New file.
45760 * posix/Makefile: Add rules to build and run bug-regex31.
45761
a129c80d
UD
45762 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45763
45764 [BZ #12078]
45765 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45766
b76b818e
UD
45767 [BZ #12108]
45768 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45769 to have entries in sys_siglist.
45770
1751705d
UD
45771 [BZ #12093]
45772 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45773 be NULL.
45774
9ff8d36f
JJ
457752010-10-07 Jakub Jelinek <jakub@redhat.com>
45776
45777 [BZ #3268]
45778 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45779 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45780 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45781 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45782 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45783 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45784 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45785 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45786 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45787 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45788 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45789 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45790 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45791 * math/ftestexcept.c (fetestexcept): Likewise.
45792 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45793 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45794 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45795 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45796 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45797 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45798 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45799
af325969
UD
458002010-10-11 Ulrich Drepper <drepper@gmail.com>
45801
c579b202 45802 [BZ #12107]
af325969
UD
45803 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45804 newline.
45805
67a67b95
UD
458062010-10-06 Ulrich Drepper <drepper@gmail.com>
45807
45808 * string/bug-strstr1.c: New file.
45809 * string/Makefile: Add rules to build and run bug-strstr1.
45810
5fb308bc
EB
458112010-10-05 Eric Blake <eblake@redhat.com>
45812
45813 [BZ #12092]
45814 * string/str-two-way.h (two_way_long_needle): Always clear memory
45815 when skipping input due to the shift table.
45816
45db99c7
UD
458172010-10-03 Ulrich Drepper <drepper@gmail.com>
45818
3b111893
UD
45819 [BZ #12005]
45820 * malloc/mcheck.c: Handle large requests.
45821
45db99c7
UD
45822 [BZ #12077]
45823 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45824 for strncmp and strncasecmp.
45825 * string/stratcliff.c: Add tests for strcmp and strncmp.
45826 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45827
cf7a1eb8
NI
458282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45829
45830 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45831 __set_fpscr.
45832
6484ba5e
AJ
458332010-09-30 Andreas Jaeger <aj@suse.de>
45834
45835 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45836 (CGROUP_SUPER_MAGIC): Define.
45837 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45838 Handle btrfs and cgroup file systems.
45839 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45840 Likewise.
45841
91c42559
LM
458422010-09-27 Luis Machado <luisgpm@br.ibm.com>
45843
45844 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45845 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45846
87a97932
AK
458472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45848
45849 [BZ #12067]
45850 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45851 trying to locate the ELF header.
45852
c21cc9bc
AS
458532010-09-27 Andreas Schwab <schwab@redhat.com>
45854
45855 [BZ #11611]
45856 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45857 Mask out sign-bit copies when constructing f_fsid.
45858
315970f6
PB
458592010-09-24 Petr Baudis <pasky@suse.cz>
45860
45861 * debug/stack_chk_fail_local.c: Add missing licence exception.
45862 * debug/warning-nop.c: Likewise.
45863
1ac7a2c7
JM
458642010-09-15 Joseph Myers <joseph@codesourcery.com>
45865
45866 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45867 implementing getdents64 using getdents syscall, set d_type if
45868 __ASSUME_GETDENTS32_D_TYPE.
45869
56801c50
AS
458702010-09-16 Andreas Schwab <schwab@redhat.com>
45871
45872 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45873 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45874
dda51327
UD
458752010-09-21 Ulrich Drepper <drepper@redhat.com>
45876
45877 [BZ #12037]
45878 * posix/unistd.h: Undo change of feature selection for ftruncate from
45879 2010-01-11.
45880
8ffcee4a
UD
458812010-09-20 Ulrich Drepper <drepper@redhat.com>
45882
a545ecd9 45883 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45884 detection.
45885
e24f0a8b
AS
458862010-09-20 Andreas Schwab <schwab@redhat.com>
45887
45888 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45889 fanotify_mark.
45890 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45891
7291c56f
AS
458922010-09-14 Andreas Schwab <schwab@redhat.com>
45893
45894 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45895 variables after CHECK_SP call.
45896 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45897
bc5fb037
AS
458982010-09-13 Andreas Schwab <schwab@redhat.com>
45899 Ulrich Drepper <drepper@redhat.com>
45900
45901 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45902 re-relocationg ld.so.
45903 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45904 _dl_init_paths call.
45905 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45906 here anymore.
45907
e66e7419
UD
459082010-09-14 Ulrich Drepper <drepper@redhat.com>
45909
45910 * resolv/res_init.c (__res_vinit): Count the default server we added.
45911
c044aa75
CLT
459122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45913 Ulrich Drepper <drepper@redhat.com>
45914
45915 [BZ #11968]
45916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45917 (____longjmp_chk): Use %ebx for saving value across system call.
45918 Add unwind info.
45919
32cf4069
AS
459202010-09-06 Andreas Schwab <schwab@redhat.com>
45921
45922 * manual/Makefile: Don't mix pattern rules with normal rules.
45923
817328ee
AS
459242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45925
45926 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45927 operation.
45928 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45929 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45930 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45931 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45933 Likewise.
45934
29fddf61
UD
459352010-09-04 Ulrich Drepper <drepper@redhat.com>
45936
45937 [BZ #11979]
45938 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45939 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45940
0959ffc9
UD
459412010-09-02 Ulrich Drepper <drepper@redhat.com>
45942
45943 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45944 * sysdeps/x86_64/addmul_1.S: Likewise.
45945 * sysdeps/x86_64/lshift.S: Likewise.
45946 * sysdeps/x86_64/mul_1.S: Likewise.
45947 * sysdeps/x86_64/rshift.S: Likewise.
45948 * sysdeps/x86_64/sub_n.S: Likewise.
45949 * sysdeps/x86_64/submul_1.S: Likewise.
45950
ece29840
ST
459512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45952
0959ffc9
UD
45953 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45954 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45955 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45956 * bits/sched.h [__need_schedparam]
ece29840 45957 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45958 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45959 (__defined_schedparam): Define to 1.
ece29840
ST
45960 (__sched_param): New structure, identical to sched_param.
45961 (__need_schedparam): Undefine.
45962
e53a31fe
MF
459632010-08-31 Mike Frysinger <vapier@gentoo.org>
45964
fdc0c10d
MF
45965 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45966 (epoll_create1): Declare.
45967
e53a31fe
MF
45968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45969
a726d796
AS
459702010-08-31 Andreas Schwab <schwab@redhat.com>
45971
45972 [BZ #7066]
45973 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45974 shifting retval into place.
45975
2f3e3dc7
UD
459762010-09-01 Ulrich Drepper <drepper@redhat.com>
45977
f2933da9
UD
45978 * nis/rpcsvc/nis.h: Update copyright notice.
45979 * nis/rpcsvc/nis.x: Likewise.
45980 * nis/rpcsvc/nis_callback.h: Likewise.
45981 * nis/rpcsvc/nis_callback.x: Likewise.
45982 * nis/rpcsvc/nis_object.x: Likewise.
45983 * nis/rpcsvc/nis_tags.h: Likewise.
45984 * nis/rpcsvc/yp.h: Likewise.
45985 * nis/rpcsvc/yp.x: Likewise.
45986 * nis/rpcsvc/ypupd.h: Likewise.
45987 * nis/yp_xdr.c: Likewise.
45988 * nis/ypupdate_xdr.c: Likewise.
45989
2f3e3dc7
UD
45990 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45991 mainly the body of pmap_getport. Add parameters to specify timeouts.
45992 (pmap_getport): Use __libc_rpc_getport.
45993 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45994 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45995 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45996
f3dcc2f9
AS
459972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45998
45999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46000 fanotify_mark.
46001
6d34eb5b
RM
460022010-08-27 Roland McGrath <roland@redhat.com>
46003
46004 * sysdeps/i386/i686/multiarch/Makefile
46005 (CFLAGS-varshift.c): New variable.
46006
9ea3de11
UD
460072010-08-27 Ulrich Drepper <drepper@redhat.com>
46008
c96d23fc
UD
46009 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46010 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46011
9ea3de11
UD
46012 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46013
46014 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46015
623aac7f
L
460162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46017
46018 * sysdeps/x86_64/strlen.S: Unroll the loop.
46019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46020 strlen-sse2 strlen-sse2-bsf.
46021 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46022 __strlen_no_bsf if bit_Slow_BSF is set.
46023 (__strlen_sse42): Removed.
46024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46025 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46026
8b2b7715
RM
460272010-08-25 Roland McGrath <roland@redhat.com>
46028
46029 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46030 * sysdeps/x86_64/multiarch/varshift.c: New file.
46031 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46032 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46033 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46034 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46035
e73015f2
L
460362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46037
46038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46039 strlen-sse2 strlen-sse2-bsf.
46040 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46041 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46042 (__strlen_sse2): Removed.
46043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46046 bit_Slow_BSF for Atom.
46047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46048 (index_Slow_BSF): Define.
46049 (HAS_SLOW_BSF): Define.
46050
df24a73e
UD
460512010-08-25 Ulrich Drepper <drepper@redhat.com>
46052
46053 [BZ #10851]
46054 * resolv/res_init.c (__res_vinit): When no server address at all
46055 is given default to loopback.
46056
f2ac4868
RM
460572010-08-24 Roland McGrath <roland@redhat.com>
46058
09055553
RM
46059 * configure.in: Remove config-name.h generation.
46060 * configure: Regenerated.
46061 * config-name.in: File removed.
46062 * scripts/config-uname.sh: New file.
46063 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46064 ($(objdir)config-name.h): New target.
46065
f2ac4868
RM
46066 * sunrpc/rpc_parse.h: Avoid nested comment.
46067
73f27d5e
RH
460682010-08-24 Richard Henderson <rth@redhat.com>
46069 Ulrich Drepper <drepper@redhat.com>
46070 H.J. Lu <hongjiu.lu@intel.com>
46071
46072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46074 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46075 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46076 _mm_alignr_epi8 with _mm_loadu_si128.
46077 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46078 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46079 (__m128i_shift_right): Removed.
46080 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46081 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46082 * sysdeps/x86_64/multiarch/varshift.h: New file.
46083 * sysdeps/x86_64/multiarch/varshift.S: New file.
46084
84b9230c
MF
460852010-08-21 Mike Frysinger <vapier@gentoo.org>
46086
46087 * configure.in: Move assembler checks to before sysdep dir checking.
46088
9bbd0ddc
PB
460892010-08-20 Petr Baudis <pasky@suse.cz>
46090
46091 * LICENSES: Sync the sunrpc license.
46092
9da4bb31
UD
460932010-08-19 Ulrich Drepper <drepper@redhat.com>
46094
a7ab6ec8
UD
46095 * sunrpc/auth_des.c: Update copyright notice once again.
46096 * sunrpc/auth_none.c: Likewise.
46097 * sunrpc/auth_unix.c: Likewise.
46098 * sunrpc/authdes_prot.c: Likewise.
46099 * sunrpc/authuxprot.c: Likewise.
46100 * sunrpc/bindrsvprt.c: Likewise.
46101 * sunrpc/clnt_gen.c: Likewise.
46102 * sunrpc/clnt_perr.c: Likewise.
46103 * sunrpc/clnt_raw.c: Likewise.
46104 * sunrpc/clnt_simp.c: Likewise.
46105 * sunrpc/clnt_tcp.c: Likewise.
46106 * sunrpc/clnt_udp.c: Likewise.
46107 * sunrpc/clnt_unix.c: Likewise.
46108 * sunrpc/des_crypt.c: Likewise.
46109 * sunrpc/des_soft.c: Likewise.
46110 * sunrpc/get_myaddr.c: Likewise.
46111 * sunrpc/getrpcport.c: Likewise.
46112 * sunrpc/key_call.c: Likewise.
46113 * sunrpc/key_prot.c: Likewise.
46114 * sunrpc/openchild.c: Likewise.
46115 * sunrpc/pm_getmaps.c: Likewise.
46116 * sunrpc/pm_getport.c: Likewise.
46117 * sunrpc/pmap_clnt.c: Likewise.
46118 * sunrpc/pmap_prot.c: Likewise.
46119 * sunrpc/pmap_prot2.c: Likewise.
46120 * sunrpc/pmap_rmt.c: Likewise.
46121 * sunrpc/rpc/auth.h: Likewise.
46122 * sunrpc/rpc/auth_unix.h: Likewise.
46123 * sunrpc/rpc/clnt.h: Likewise.
46124 * sunrpc/rpc/des_crypt.h: Likewise.
46125 * sunrpc/rpc/key_prot.h: Likewise.
46126 * sunrpc/rpc/netdb.h: Likewise.
46127 * sunrpc/rpc/pmap_clnt.h: Likewise.
46128 * sunrpc/rpc/pmap_prot.h: Likewise.
46129 * sunrpc/rpc/pmap_rmt.h: Likewise.
46130 * sunrpc/rpc/rpc.h: Likewise.
46131 * sunrpc/rpc/rpc_des.h: Likewise.
46132 * sunrpc/rpc/rpc_msg.h: Likewise.
46133 * sunrpc/rpc/svc.h: Likewise.
46134 * sunrpc/rpc/svc_auth.h: Likewise.
46135 * sunrpc/rpc/types.h: Likewise.
46136 * sunrpc/rpc/xdr.h: Likewise.
46137 * sunrpc/rpc_clntout.c: Likewise.
46138 * sunrpc/rpc_cmsg.c: Likewise.
46139 * sunrpc/rpc_common.c: Likewise.
46140 * sunrpc/rpc_cout.c: Likewise.
46141 * sunrpc/rpc_dtable.c: Likewise.
46142 * sunrpc/rpc_hout.c: Likewise.
46143 * sunrpc/rpc_main.c: Likewise.
46144 * sunrpc/rpc_parse.c: Likewise.
46145 * sunrpc/rpc_parse.h: Likewise.
46146 * sunrpc/rpc_prot.c: Likewise.
46147 * sunrpc/rpc_sample.c: Likewise.
46148 * sunrpc/rpc_scan.c: Likewise.
46149 * sunrpc/rpc_scan.h: Likewise.
46150 * sunrpc/rpc_svcout.c: Likewise.
46151 * sunrpc/rpc_tblout.c: Likewise.
46152 * sunrpc/rpc_util.c: Likewise.
46153 * sunrpc/rpc_util.h: Likewise.
46154 * sunrpc/rpcinfo.c: Likewise.
46155 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46156 * sunrpc/rpcsvc/key_prot.x: Likewise.
46157 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46158 * sunrpc/rpcsvc/mount.x: Likewise.
46159 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46160 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46161 * sunrpc/rpcsvc/rex.x: Likewise.
46162 * sunrpc/rpcsvc/rstat.x: Likewise.
46163 * sunrpc/rpcsvc/rusers.x: Likewise.
46164 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46165 * sunrpc/rpcsvc/spray.x: Likewise.
46166 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46167 * sunrpc/rtime.c: Likewise.
46168 * sunrpc/svc.c: Likewise.
46169 * sunrpc/svc_auth.c: Likewise.
46170 * sunrpc/svc_authux.c: Likewise.
46171 * sunrpc/svc_raw.c: Likewise.
46172 * sunrpc/svc_run.c: Likewise.
46173 * sunrpc/svc_simple.c: Likewise.
46174 * sunrpc/svc_tcp.c: Likewise.
46175 * sunrpc/svc_udp.c: Likewise.
46176 * sunrpc/svc_unix.c: Likewise.
46177 * sunrpc/svcauth_des.c: Likewise.
46178 * sunrpc/xcrypt.c: Likewise.
46179 * sunrpc/xdr.c: Likewise.
46180 * sunrpc/xdr_array.c: Likewise.
46181 * sunrpc/xdr_float.c: Likewise.
46182 * sunrpc/xdr_mem.c: Likewise.
46183 * sunrpc/xdr_rec.c: Likewise.
46184 * sunrpc/xdr_ref.c: Likewise.
46185 * sunrpc/xdr_sizeof.c: Likewise.
46186 * sunrpc/xdr_stdio.c: Likewise.
46187
9da4bb31
UD
46188 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46189 handling.
46190
bdaa77bc
AS
461912010-08-19 Andreas Schwab <schwab@redhat.com>
46192
46193 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46194
fe2f79db
LM
461952010-08-19 Luis Machado <luisgpm@br.ibm.com>
46196
46197 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46198 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46199 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46200 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46201 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46202 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46203 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46204 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46205 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46206 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46207 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46208 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46209 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46210 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46211
b9b42ee0
AB
462122010-07-26 Anton Blanchard <anton@samba.org>
46213
46214 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46215 * malloc/arena.c (heap_trim): Likewise.
46216
1c06ba31
UD
462172010-08-16 Ulrich Drepper <drepper@redhat.com>
46218
46219 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46220 here. Not...
46221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46222 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46223
f8392f40
L
462242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46225
46226 * sysdeps/i386/elf/Makefile: New file.
46227
3162f12e
AS
462282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46229
46230 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46231 from fanotify_init.
46232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46234
28c90b2c
UD
462352010-08-15 Ulrich Drepper <drepper@redhat.com>
46236
46237 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46238 of strncasecmp_l.
1feccb6c 46239 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 46240
ca6bb004
UD
462412010-08-14 Ulrich Drepper <drepper@redhat.com>
46242
e9f82e0d
UD
46243 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46244 strncase_l-nonascii.
46245 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46246 Add strncase_l-ssse3.
46247 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46248 * sysdeps/x86_64/strcmp.S: Likewise.
46249 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46250 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46251 * sysdeps/x86_64/strncase.S: New file.
46252 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46253 * sysdeps/x86_64/strncase_l.S: New file.
46254 * string/Makefile (strop-tests): Add strncasecmp.
46255 * string/test-strncasecmp.c: New file.
46256
46257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46258 warning.
46259
ca6bb004
UD
46260 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46261 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46262
052fa7b3
AS
462632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46264
46265 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46266
962dba78
UD
462672010-08-12 Ulrich Drepper <drepper@redhat.com>
46268
46269 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46270 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46271 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46272
bebff237
AM
462732010-05-01 Alan Modra <amodra@gmail.com>
46274
46275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46276 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46277 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46278 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46279 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46280 tidying. Don't tail-call __sigjmp_save for static lib.
46281 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46282 save location.
46283 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46284 (CALL_MCOUNT): Add eh info, and nop after bl.
46285 (TAIL_CALL_SYSCALL_ERROR): New macro.
46286 (PSEUDO_RET): Use it.
46287 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46288 Correct save location of integer regs and cr.
46289 (_dl_profile_resolve): Correct cr save location. Delete nops
46290 after bl when SHARED. Reduce cfi size a little by better
46291 placement of cfi directives.
46292 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46293 make a stack frame. Instead use parm save area as a temp.
46294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46295 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46297 Don't make a stack frame for parent, use parm save area.
46298 Increase child stack frame to 112 bytes. Don't save unused reg,
46299 and adjust reg usage. Set up cfi on error recovery and
46300 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46302 (__makecontext): Add dummy nop after jump to exit.
46303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46304 Use correct parm save area and cr save, reduce stack frame.
46305 Correct cfi for possible PSEUDO_RET frame setup.
46306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46307 Branch to local label emitted by PSEUDO_RET rather than
46308 __syscall_error.
46309
02637374
AS
463102010-08-12 Andreas Schwab <schwab@redhat.com>
46311
46312 [BZ #11904]
46313 * locale/programs/locale.c (print_assignment): New function.
46314 (show_locale_vars): Use it.
46315
c3e2f19b
UD
463162010-08-11 Ulrich Drepper <drepper@redhat.com>
46317
3cdaa6ad
UD
46318 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46319 field.
46320 (struct statfs64): Likewise.
46321 (_STATFS_F_FLAGS): Define.
46322 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46324 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46325 (ST_VALID): Define locally.
46326 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46327 __statvfs_getflags, use the provided value.
46328 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46329 __ASSUME_STATFS_F_FLAGS.
46330
754f7da3
UD
46331 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46332
10b3bedc
UD
46333 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46334 Add sys/fanotify.h.
46335 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46336 fanotify_mask for GLIBC_2.13.
46337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46338 fanotify_init and fanotify_mark.
46339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46340 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46341
c08fb0d7
UD
46342 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46343 Add prlimit.
46344 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46345 prlimit64 for GLIBC_2.13.
46346 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46347 prlimit64.
46348 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46349 syscall.
46350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46351 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46352 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46355 add prlimit alias.
46356 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46357
15bac72b
UD
46358 [BZ #11903]
46359 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46360 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46361
c3e2f19b
UD
46362 * nss/Makefile: Add rules to build and run tst-nss-test1.
46363 * shlib-versions: Add entry for libnss_test1.
46364 * nss/nss_test1.c: New file.
46365 * nss/tst-nss-test1.c: New file.
46366
46367 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46368 (__nss_configure_lookup): Set appropriate entry in
46369 __nss_configure_lookup to true.
46370 * nss/nsswitch.h: Define enum with indeces of databases in
46371 databases and __nss_database_custom arrays. Declare
46372 __nss_database_custom.
46373 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46374 to avoid using nscd when custom rules are installed.
46375 * nss/getXXbyYY_r.c: Likewise.
46376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46377
46378 * nss/nss_files/files-parse.c: Whitespace fixes.
46379
f15ce4d8
UD
463802010-08-09 Ulrich Drepper <drepper@redhat.com>
46381
46382 [BZ #11883]
46383 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46384 * posix/fnmatch_loop.c: Likewise.
46385
d22e4cc9
AK
463862010-07-17 Andi Kleen <ak@linux.intel.com>
46387
46388 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46389 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46390 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46391 * Versions.def [GLIBC_2.13]: Add.
46392
805bc17d
UD
463932010-08-06 Ulrich Drepper <drepper@redhat.com>
46394
46395 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46396 Also fail if tpwd after pwuid call is NULL.
46397
5a42321d
ST
463982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46399
46400 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46401 when converting to ms.
46402
fd3ebeda
ST
464032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46404
46405 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46406 EOPNOTSUPP errors with ENOTTY.
46407 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46408 EOPNOTSUPP errors with ENOTTY.
46409
73507d3a
UD
464102010-07-31 Ulrich Drepper <drepper@redhat.com>
46411
46412 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46413 Add strcasecmp_l-ssse3.
46414 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46415 strcasecmp.
46416 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46417 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46418 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46419
fe36dd02
UD
464202010-07-30 Ulrich Drepper <drepper@redhat.com>
46421
66f6765a
UD
46422 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46423
42e08a54
UD
46424 * string/Makefile (strop-tests): Add strcasecmp.
46425 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46426 strcasecmp_l-nonascii.
46427 (gen-as-const-headers): Add locale-defines.sym.
46428 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46429 * sysdeps/x86_64/strcasecmp.S: New file.
46430 * sysdeps/x86_64/strcasecmp_l.S: New file.
46431 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46432 * sysdeps/x86_64/locale-defines.sym: New file.
46433 * string/test-strcasecmp.c: New file.
46434
fe36dd02
UD
46435 * string/test-strcasestr.c: Test both ends of the range of characters.
46436 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46437
48cbc0d6
RM
464382010-07-29 Roland McGrath <roland@redhat.com>
46439
76e6d6bc 46440 [BZ #11856]
48cbc0d6
RM
46441 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46442
880113d9
UD
464432010-07-27 Ulrich Drepper <drepper@redhat.com>
46444
46445 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46446 for ld.so.
46447
deb9cabb
AS
464482010-07-27 Andreas Schwab <schwab@redhat.com>
46449
46450 * manual/memory.texi (Malloc Tunable Parameters): Document
46451 M_PERTURB.
46452
1c7570ff
RM
464532010-07-26 Roland McGrath <roland@redhat.com>
46454
46455 [BZ #11840]
46456 * configure.in (-fgnu89-inline check): Set and substitute
46457 gnu89_inline, not libc_cv_gnu89_inline.
46458 * configure: Regenerated.
46459 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46460
24fb0f88
UD
464612010-07-26 Ulrich Drepper <drepper@redhat.com>
46462
46463 * string/test-strnlen.c: New file.
46464 * string/Makefile (strop-tests): Add strnlen.
46465 * string/tester.c (test_strnlen): Add a few more test cases.
46466 * string/tst-strlen.c: Better error reporting.
46467
46468 * sysdeps/x86_64/strnlen.S: New file.
46469
8e96b93a
UD
464702010-07-24 Ulrich Drepper <drepper@redhat.com>
46471
46472 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46473 lower-latency instructions.
46474
dbc676d4
UD
464752010-07-23 Ulrich Drepper <drepper@redhat.com>
46476
46477 * string/test-strcasestr.c: New file.
46478 * string/test-strstr.c: New file.
46479 * string/Makefile (strop-tests): Add strstr and strcasestr.
46480 * string/str-two-way.h: Don't undefine MAX.
46481 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46482
f6a31e0e
AS
464832010-07-21 Andreas Schwab <schwab@redhat.com>
46484
46485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46486 strcasestr-nonascii.
46487 (CFLAGS-strcasestr-nonascii.c): Define.
46488 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46490 Remove unused attribute.
46491
5dbc3b6c
RM
464922010-07-20 Roland McGrath <roland@redhat.com>
46493
46494 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46495 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46496 ld.so.cache was broken. With it, there is no way to disable dsocaps
46497 like LD_HWCAP_MASK can disable hwcaps.
46498
23d101d8
EPM
464992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46500
46501 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46502
cc9f2e47
UD
465032010-07-16 Ulrich Drepper <drepper@redhat.com>
46504
46505 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46506 call in strcasestr.
46507 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46508 __strcasestr_sse42_nonascii.
46509 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46510 strcasestr-nonascii.c.
46511 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46512
77c1b069
LM
465132010-06-15 Luis Machado <luisgpm@br.ibm.com>
46514
46515 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46516 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46519
440566c3
UD
465202010-07-09 Ulrich Drepper <drepper@redhat.com>
46521
46522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46523 fcntl.
46524
5be9d05d
AS
465252010-07-06 Andreas Schwab <schwab@redhat.com>
46526
c30b7ee2 46527 [BZ #11577]
5be9d05d
AS
46528 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46529 dl_signal_cerror.
46530
8a492a67
UD
465312010-07-06 Ulrich Drepper <drepper@redhat.com>
46532
46533 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46534 _PC_PIPE_BUF using F_GETPIPE_SZ.
46535
713df3d5
RM
465362010-07-05 Roland McGrath <roland@redhat.com>
46537
46538 * manual/arith.texi (Rounding Functions): Fix rint description
46539 implicit in round description.
46540
702e8f14
UD
465412010-07-02 Ulrich Drepper <drepper@redhat.com>
46542
46543 * elf/Makefile: Fix linking for a few tests to make recent linker
46544 happy.
46545
52ed8be9
AS
465462010-06-30 Andreas Schwab <schwab@redhat.com>
46547
46548 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46549 $(common-objpfx)libc_nonshared.a.
46550
f47c9a11
LM
465512010-06-21 Luis Machado <luisgpm@br.ibm.com>
46552
46553 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46554 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46555 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46556 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46557 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46558 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46559 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46560 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46575 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46576 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46577 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46578 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46579 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46580 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46581 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46582 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46583 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46584 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46585 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46586 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46601
6fb8cbcb
L
466022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46603
46604 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46605 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46606 * string/memmove.c (memmove): Renamed to ...
46607 (MEMMOVE): ...this. Default to memmove.
46608 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46609 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46610 (END_CHK): Define.
46611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46612 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46613 mempcpy-ssse3-back memmove-ssse3-back.
46614 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46615 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46617 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46618 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46619 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46620 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46621 * sysdeps/x86_64/multiarch/memmove.c: New file.
46622 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46623 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46624 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46625 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46626 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46628 Define.
46629 (index_Fast_Copy_Backward): Define.
46630 (HAS_ARCH_FEATURE): Define.
46631 (HAS_FAST_REP_STRING): Define.
46632 (HAS_FAST_COPY_BACKWARD): Define.
46633
4e733bac 466342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46635
46636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46637 Restore proper fallback handling.
46638
63c4ed22
UD
466392010-06-19 Ulrich Drepper <drepper@redhat.com>
46640
ac2b484c
UD
46641 [BZ #11701]
46642 * posix/group_member.c (__group_member): Correct checking loop.
46643
63c4ed22
UD
46644 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46645 OOM in getpwuid_r correctly. Return error number when the caller
46646 should return, otherwise -1.
46647 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46648 call returning > 0 value.
46649 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46650
765ade4b
AS
466512010-06-07 Andreas Schwab <schwab@redhat.com>
46652
46653 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46654 libc_nonshared.a from targets in modules-names.
46655
80da2e09
KS
466562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46657
46658 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46659 requires it.
46660
158db122
LM
466612010-06-10 Luis Machado <luisgpm@br.ibm.com>
46662
46663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46664 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46667
caa78cf8
AS
466682010-06-02 Andreas Schwab <schwab@redhat.com>
46669
46670 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46671
b2ef2c01
UD
466722010-06-14 Ulrich Drepper <drepper@redhat.com>
46673
46674 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46675 and F_GETPIPE_SZ.
46676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46680 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46682
fbd643b6
RM
466832010-06-14 Roland McGrath <roland@redhat.com>
46684
46685 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46686
f32f2869
JJ
466872010-06-07 Jakub Jelinek <jakub@redhat.com>
46688
46689 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46690 __REDIRECT followed by __THROW.
46691 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46692 * posix/getopt.h (getopt): Likewise.
46693
2a50c078
EPM
466942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46695
46696 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46697 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46698 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46699 in AT_FLAGS.
46700 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46701 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46702
eb5ad2eb
LM
467032010-05-28 Luis Machado <luisgpm@br.ibm.com>
46704
46705 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46706
3c88fe1e
L
467072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46708
46709 [BZ #11640]
46710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46711 Properly check family and model.
46712
d2f73151
TY
467132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46714
46715 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46716
ebd2e13d
LM
467172010-05-24 Luis Machado <luisgpm@br.ibm.com>
46718
46719 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46720
b32b8b45
UD
467212010-05-21 Ulrich Drepper <drepper@redhat.com>
46722
46723 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46724 symbol reference.
46725
9acbe24d
AS
467262010-05-19 Andreas Schwab <schwab@redhat.com>
46727
46728 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46729 symbol reference.
46730
f0ccf6ea
AS
467312010-05-21 Andreas Schwab <schwab@redhat.com>
46732
3d04ff3a
AS
46733 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46734 and internal_recvmmsg.
46735 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46736 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46737 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46738 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46739
f0ccf6ea
AS
46740 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46741 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46742 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46743
5b08ac57
AS
467442010-05-20 Andreas Schwab <schwab@redhat.com>
46745
46746 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46747
4828935d
LM
467482010-05-17 Luis Machado <luisgpm@br.ibm.com>
46749
46750 POWER7 optimizations.
46751 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46752 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46753
373d545e
UD
467542010-05-19 Ulrich Drepper <drepper@redhat.com>
46755
46756 * version.h: Update for 2.13 development version.
46757
21a2b1ae
AS
467582010-05-12 Andrew Stubbs <ams@codesourcery.com>
46759
46760 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46761 exceptions. Return 0.
46762
3f7dcb2b
RM
467632010-05-07 Roland McGrath <roland@redhat.com>
46764
46765 * elf/ldconfig.c (main): Add a const.
46766
5f24d53a 467672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46768
a160f8d8
UD
46769 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46770 (args_options): Add no-idn option.
46771 (ahosts_keys_int): Add idn_flags to ai_flags.
46772 (parse_option): Handle 'i' option to clear idn_flags.
46773
5f24d53a
UD
46774 * malloc/malloc.c (_int_free): Possible race in the most recently
46775 added check. Only act on the data if no current modification
46776 happened.
265bb1ce
UD
46777
46778See ChangeLog.17 for earlier changes.